@byteluck-fe/model-driven-upgrade 2.7.0-alpha.21 → 2.7.0-alpha.24

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(qr,no){typeof exports=="object"&&typeof module!="undefined"?no(exports):typeof define=="function"&&define.amd?define(["exports"],no):(qr=typeof globalThis!="undefined"?globalThis:qr||self,no(qr.modelDrivenUpgrade={}))})(this,function(qr){"use strict";var no="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",UT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",WT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",KT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",GT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",XT="{caption}\u5FC5\u586B",JT="\u8BF7\u8F93\u5165\u6807\u9898",QT="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",ZT="\u8BF7\u8F93\u5165\u884C\u6807\u9898",YT="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",e1="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",t1="\u8BF7\u7ED1\u5B9A\u8868\u5355",r1="\u8BF7\u7ED1\u5B9A\u5217\u8868",n1="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",o1="\u8BF7\u8F93\u5165\u663E\u793A\u503C",i1="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",u1="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",c1="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",l1="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",a1="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",f1="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",s1="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",p1="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",_1="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",y1="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",d1="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",v1="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",h1="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",b1="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",g1="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",m1="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",O1="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",w1="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",$1="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",P1="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",R1="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",S1="\u8BF7\u7ED1\u5B9A\u670D\u52A1",E1="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",T1="\u8BF7\u9009\u62E9\u7701",I1="\u8BF7\u9009\u62E9\u5E02",B1="\u8BF7\u9009\u62E9\u533A",A1="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",x1="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",k1="\u8BF7\u8F93\u5165\u5217\u5BBD",D1="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",N1="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",F1="\u8BF7\u9009\u62E9\u63A7\u4EF6",j1="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",M1="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",L1="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",V1="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",C1="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",z1="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",H1="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",q1="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",U1="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",W1="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",K1="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",G1="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",X1="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",J1="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Q1="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Z1="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Y1="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",e3="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",t3="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",r3="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",n3="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",o3="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",i3="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",u3="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",c3="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",l3="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",a3={isNotNumber:no,isNotString:UT,isNotObject:WT,isNotArray:KT,isNotBoolean:GT,runtimeRequired:XT,pleaseEnterCaption:JT,pleaseEnterCaptionTip:QT,pleaseEnterRowCaption:ZT,pleaseEnterPlaceholder:YT,pleaseEnterFieldCode:e1,pleaseEnterForm:t1,pleaseEnterList:r1,pleaseEnterProcess:n1,pleaseEnterLabel:o1,pleaseEnterValue:i1,bizKeyNotBindFiled:u1,pleaseSelectOneField:c1,pleaseEnterNumberRange:l1,pleaseEnterAValueGreaterThanMin:a1,pleaseEnterAValueLessThanMax:f1,numberRangeSetError:s1,stringRangeError:p1,attachmentMaxSize:_1,pleaseEnterTotalScoreSetting:y1,theTotalScoreMustNotBeLessThan1:d1,scoreDefaultValueRange:v1,attachmentLimitError:h1,PleaseReselectTheOptionalQuantity:b1,TheMaximumLengthIsGreaterThanTheMinimumLength:g1,TheMinimumLengthIsGreaterThanTheMaximumLength:m1,PleaseSelectTheCorrectOptionSettings:O1,optionIdIsRepeat:w1,optionIsRequired:$1,pleaseEnterDataCode:P1,pleaseEnterValueFieldCode:R1,pleaseEnterSvcCode:S1,pleaseBindAtLeastOneDisplayValue:E1,pleaseSelectProvince:T1,pleaseSelectCity:I1,pleaseSelectDistrict:B1,limitRowsCannotBeLessThan0:A1,TheNumberOfRowsCannotBeLessThanMinRows:x1,pleaseEnterColumnWidth:k1,pleaseSetTheLogicalRelationshipOfAllRuleConditions:D1,pleaseCompleteAllRulesAndConditions:N1,pleaseSelectControl:F1,pleaseSelectAtLeastOneColumn:j1,pleaseSelectFillBackMode:M1,pleaseSelectDashboard:L1,rootNodeIsRequired:V1,theViewNameCannotBeEmpty:C1,pleaseSelectOcrType:z1,pleaseSelectAtLeastOneFieldToFillIn:H1,pleaseChooseAtLeastOne:q1,pleaseEnterButtonContent:U1,pleaseEnterDataCodeInDataSetting:W1,pleaseEnterValueFieldCodeInDataSetting:K1,pleaseEnterSvcCodeInDataSetting:G1,pleaseBindAtLeastOneDisplayValueInDataSetting:X1,rootNodeIsRequiredInDataSetting:J1,pleaseEnterMaxHeight:Q1,pleaseEnter:Z1,pleaseEnterWatermark:Y1,pleaseEnterFileName:e3,pleaseUploadAtLeastOnePrintTemplate:t3,pleaseAssignBusiness:r3,pleaseAssignExternal:n3,pleaseEnterAliasCode:o3,pleaseSelectDataCode:i3,pleaseSelectSvcCode:u3,pleaseSelectJoinFieldCode:c3,pleaseSelectMainFieldCode:l3},f3="Please enter a number",s3="Please enter a string",p3="Please enter an object",_3="Please enter an array",y3="Please enter a boolean",d3="{caption} Required",v3="Please enter the title",h3="Please enter the bubble prompt",b3="Please enter the row title",g3="Please enter the prompt text",m3="Please bind data items",O3="Please bind the form",w3="Please bind the list",$3="Please bind the process",P3="Please enter the displayed value",R3="Please enter the stored value",S3="The document number is not bound to the data item",E3="Please select at least one display field",T3="Please enter a value greater than or equal to {min} and less than or equal to {max}",I3="Please enter a value greater than or equal to {min}",B3="Please enter a value less than or equal to {max}",A3="The value range is set incorrectly",x3="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",k3="The attachment size must be between 0MB and 1000MB",D3="Please fill in the total score setting",N3="The total score cannot be less than 1",F3="The default value must be between {min} and {max}",j3="The number of attachments uploaded must be between {min} and {max}",M3="Please re-select the optional quantity",L3="The maximum length of the control must be greater than the minimum length",V3="The minimum length of the control must be less than the maximum length",C3="Please select the correct option setting",z3="Option ID cannot be repeated",H3="Please enter at least one option",q3="Please bind the data source",U3="Please bind the stored value",W3="Please bind the service",K3="At least one display value must be bound",G3="Please select a province",X3="Please select a city",J3="Please select a district",Q3="The minimum number of lines to fill in cannot be less than 0",Z3="The number of rows cannot be less than {min} rows",Y3="Please enter the column width",eI="Please set the logical relationship of all rule conditions",tI="Please complete all rules and conditions",rI="please select control",nI="Please select the dashboard",oI="View name cannot be empty",iI="Please select recognition type",uI="Please select at least one field to fill in",cI="Please select at least one",lI="Please enter the button title",aI="Please bind the business model in the data settings",fI="Please bind storage values in data settings",sI="Please bind the service in the data settings",pI="Please bind at least one display value in the data settings",_I="Please select the root node in the data settings",yI="Please enter the maximum height",dI="The input content cannot be empty",vI="Watermark cannot be empty",hI="File name cannot be empty",bI="Please upload at least one printing template!\uFF01",gI="Please select a specific business department",mI="Please select a specified external organization",OI="Please enter a sub table alias",wI="Please select the associated table to set the business model",$I="Please select the association table to set the binding service",PI="Select associated sub table fields",RI="Please select the associated main table field",SI={isNotNumber:f3,isNotString:s3,isNotObject:p3,isNotArray:_3,isNotBoolean:y3,runtimeRequired:d3,pleaseEnterCaption:v3,pleaseEnterCaptionTip:h3,pleaseEnterRowCaption:b3,pleaseEnterPlaceholder:g3,pleaseEnterFieldCode:m3,pleaseEnterForm:O3,pleaseEnterList:w3,pleaseEnterProcess:$3,pleaseEnterLabel:P3,pleaseEnterValue:R3,bizKeyNotBindFiled:S3,pleaseSelectOneField:E3,pleaseEnterNumberRange:T3,pleaseEnterAValueGreaterThanMin:I3,pleaseEnterAValueLessThanMax:B3,numberRangeSetError:A3,stringRangeError:x3,attachmentMaxSize:k3,pleaseEnterTotalScoreSetting:D3,theTotalScoreMustNotBeLessThan1:N3,scoreDefaultValueRange:F3,attachmentLimitError:j3,PleaseReselectTheOptionalQuantity:M3,TheMaximumLengthIsGreaterThanTheMinimumLength:L3,TheMinimumLengthIsGreaterThanTheMaximumLength:V3,PleaseSelectTheCorrectOptionSettings:C3,optionIdIsRepeat:z3,optionIsRequired:H3,pleaseEnterDataCode:q3,pleaseEnterValueFieldCode:U3,pleaseEnterSvcCode:W3,pleaseBindAtLeastOneDisplayValue:K3,pleaseSelectProvince:G3,pleaseSelectCity:X3,pleaseSelectDistrict:J3,limitRowsCannotBeLessThan0:Q3,TheNumberOfRowsCannotBeLessThanMinRows:Z3,pleaseEnterColumnWidth:Y3,pleaseSetTheLogicalRelationshipOfAllRuleConditions:eI,pleaseCompleteAllRulesAndConditions:tI,pleaseSelectControl:rI,pleaseSelectDashboard:nI,theViewNameCannotBeEmpty:oI,pleaseSelectOcrType:iI,pleaseSelectAtLeastOneFieldToFillIn:uI,pleaseChooseAtLeastOne:cI,pleaseEnterButtonContent:lI,pleaseEnterDataCodeInDataSetting:aI,pleaseEnterValueFieldCodeInDataSetting:fI,pleaseEnterSvcCodeInDataSetting:sI,pleaseBindAtLeastOneDisplayValueInDataSetting:pI,rootNodeIsRequiredInDataSetting:_I,pleaseEnterMaxHeight:yI,pleaseEnter:dI,pleaseEnterWatermark:vI,pleaseEnterFileName:hI,pleaseUploadAtLeastOnePrintTemplate:bI,pleaseAssignBusiness:gI,pleaseAssignExternal:mI,pleaseEnterAliasCode:OI,pleaseSelectDataCode:wI,pleaseSelectSvcCode:$I,pleaseSelectJoinFieldCode:PI,pleaseSelectMainFieldCode:RI},EI="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",TI="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",II="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",BI="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",AI="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",xI="{caption}\u5FC5\u9808",kI="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",DI="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",NI="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",FI="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jI="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",MI="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",LI="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",VI="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",CI="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",zI="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",HI="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",qI="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",UI="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",WI="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",KI="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",GI="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",XI="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",JI="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",QI="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ZI="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",YI="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",eB="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",tB="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",rB="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5927\u5024\u306F\u6700\u5C0F\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",nB="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5C0F\u5024\u306F\u6700\u5927\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",oB="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",iB="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",uB="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",cB="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",lB="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",aB="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",fB="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",sB="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",pB="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",_B="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",yB="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",dB="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",vB="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",hB="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",bB="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",gB="please select control",mB="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",OB="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",wB="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",$B="\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",PB="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",RB="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",SB="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",EB="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",TB="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",IB="\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",BB="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",AB="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",xB="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",kB="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",DB="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",NB="\u5370\u5237\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u5C11\u306A\u304F\u3068\u30821\u3064\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\uFF01\uFF01",FB="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",jB="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",MB="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",LB="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",VB="\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",CB="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",zB="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",HB={isNotNumber:EI,isNotString:TI,isNotObject:II,isNotArray:BI,isNotBoolean:AI,runtimeRequired:xI,pleaseEnterCaption:kI,pleaseEnterCaptionTip:DI,pleaseEnterRowCaption:NI,pleaseEnterPlaceholder:FI,pleaseEnterFieldCode:jI,pleaseEnterForm:MI,pleaseEnterList:LI,pleaseEnterProcess:VI,pleaseEnterLabel:CI,pleaseEnterValue:zI,bizKeyNotBindFiled:HI,pleaseSelectOneField:qI,pleaseEnterNumberRange:UI,pleaseEnterAValueGreaterThanMin:WI,pleaseEnterAValueLessThanMax:KI,numberRangeSetError:GI,stringRangeError:XI,attachmentMaxSize:JI,pleaseEnterTotalScoreSetting:QI,theTotalScoreMustNotBeLessThan1:ZI,scoreDefaultValueRange:YI,attachmentLimitError:eB,PleaseReselectTheOptionalQuantity:tB,TheMaximumLengthIsGreaterThanTheMinimumLength:rB,TheMinimumLengthIsGreaterThanTheMaximumLength:nB,PleaseSelectTheCorrectOptionSettings:oB,optionIdIsRepeat:iB,optionIsRequired:uB,pleaseEnterDataCode:cB,pleaseEnterValueFieldCode:lB,pleaseEnterSvcCode:aB,pleaseBindAtLeastOneDisplayValue:fB,pleaseSelectProvince:sB,pleaseSelectCity:pB,pleaseSelectDistrict:_B,limitRowsCannotBeLessThan0:yB,TheNumberOfRowsCannotBeLessThanMinRows:dB,pleaseEnterColumnWidth:vB,pleaseSetTheLogicalRelationshipOfAllRuleConditions:hB,pleaseCompleteAllRulesAndConditions:bB,pleaseSelectControl:gB,pleaseSelectDashboard:mB,theViewNameCannotBeEmpty:OB,pleaseSelectOcrType:wB,pleaseSelectAtLeastOneFieldToFillIn:$B,pleaseChooseAtLeastOne:PB,pleaseEnterButtonContent:RB,pleaseEnterDataCodeInDataSetting:SB,pleaseEnterValueFieldCodeInDataSetting:EB,pleaseEnterSvcCodeInDataSetting:TB,pleaseBindAtLeastOneDisplayValueInDataSetting:IB,rootNodeIsRequiredInDataSetting:BB,pleaseEnterMaxHeight:AB,pleaseEnter:xB,pleaseEnterWatermark:kB,pleaseEnterFileName:DB,pleaseUploadAtLeastOnePrintTemplate:NB,pleaseAssignBusiness:FB,pleaseAssignExternal:jB,pleaseEnterAliasCode:MB,pleaseSelectDataCode:LB,pleaseSelectSvcCode:VB,pleaseSelectJoinFieldCode:CB,pleaseSelectMainFieldCode:zB},qB={zhCN:a3,enUS:SI,jaJP:HB},og;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(og||(og={}));var ig;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(ig||(ig={}));var UB="zh-CN";function We(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ur;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(Ur||(Ur={}));var m;(function(e){e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.ORGANIZATION_SELECTION="organization-selection",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.EMPLOYEE_COLUMN="employee-column",e.Approval_Status_Column="approval-status-column",e.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.GRID_LAYOUT_CONTAINER="grid-layout-container",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.ACTION_BAR="action-bar",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2",e.GRID_LAYOUT_WRAP="grid-layout-wrap"})(m||(m={}));var S;(function(e){e.VARCHAR="varchar",e.TEXT="text",e.ARRAY="array",e.ADDRESS="location",e.DECIMAL="decimal",e.DECIMAL_RANGE="decimal_range",e.TIMESTAMP="timestamp",e.EMPLOYEES="people",e.DEPARTMENTS="department",e.MONEY="money",e.TIMESCOPE="timescope",e.FILE="file",e.IMAGE="image",e.AUTO_NUMBER="auto_number",e.CALC="calc",e.RELATION="relation",e.LIST="list",e.RELATION_FIELD="relation-field",e.REFERENCE_FIELD="reference-field",e.CALC_FIELD="calc",e.JSON="json",e.BIGINT="bigint",e.ANY="ANY",e.ENCRYPTED_FIELD="encrypted_field"})(S||(S={}));var Be;Be={},We(Be,S.ARRAY,m.ARRAY_COLUMN),We(Be,S.AUTO_NUMBER,m.AUTO_NUMBER_COLUMN),We(Be,S.DECIMAL,m.DECIMAL_COLUMN),We(Be,S.DEPARTMENTS,m.DEPARTMENT_COLUMN),We(Be,S.FILE,m.FILE_COLUMN),We(Be,S.IMAGE,m.IMAGE_COLUMN),We(Be,S.ADDRESS,m.LOCATION_COLUMN),We(Be,S.EMPLOYEES,m.EMPLOYEE_COLUMN),We(Be,S.TEXT,m.TEXT_COLUMN),We(Be,S.TIMESCOPE,m.TIMESCOPE_COLUMN),We(Be,S.TIMESTAMP,m.TIMESTAMP_COLUMN),We(Be,S.VARCHAR,m.VARCHAR_COLUMN),We(Be,S.RELATION,m.VARCHAR_COLUMN);var Zt;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"})(Zt||(Zt={}));var ug="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",WB=ug+"0123456789";function Dt(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",r=0;r<e;r++){var n=r===0?ug:WB,o=Math.random()*n.length;t+=n[parseInt(String(o),10)]}return t}function as(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function KB(e){if(Array.isArray(e))return as(e)}function GB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mo(e,t,r){return fg()?Mo=Reflect.construct:Mo=function(o,i,u){var c=[null];c.push.apply(c,i);var l=Function.bind.apply(o,c),a=new l;return u&&io(a,u.prototype),a},Mo.apply(null,arguments)}function oo(e){return oo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oo(e)}function 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&&io(e,t)}function XB(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function JB(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function QB(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ZB(e,t){return t&&(YB(t)==="object"||typeof t=="function")?t:GB(e)}function io(e,t){return io=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},io(e,t)}function ag(e){return KB(e)||JB(e)||e2(e)||QB()}function YB(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function e2(e,t){if(!!e){if(typeof e=="string")return as(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return as(e,t)}}function fs(e){var t=typeof Map=="function"?new Map:void 0;return fs=function(n){if(n===null||!XB(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return Mo(n,arguments,oo(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),io(o,n)},fs(e)}function fg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sg(e){var t=fg();return function(){var n=oo(e),o;if(t){var i=oo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZB(this,o)}}var ss=console;function ps(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o=t.slice(1);(n=ss).warn.apply(n,["\u{1F9D0} Driven Warning:"+t[0]].concat(ag(o)))}function Lo(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o=t.slice(1);(n=ss).log.apply(n,["\u{1F680} Driven Log:"+t[0]].concat(ag(o)))}function t2(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var _s=function(e){lg(r,e);var t=sg(r);function r(n){cg(this,r);var o;return o=t.call(this,n),o.name="\u{1F4A5} Driven Error",o.message=n?t2(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return r}(fs(Error)),r2=function(e){lg(r,e);var t=sg(r);function r(n){cg(this,r);var o;return o=t.call(this,n),o.name="\u{1F6A8} Driven Reference Error",o}return r}(_s);function uo(e){throw new _s(e)}function pg(e){throw new r2(e)}function n2(e){ss.error(new _s(e))}var o2=Object.prototype.toString;function _g(e,t){return o2.call(e)==="[object "+t+"]"}function i2(e){return _g(e,"String")}function u2(e){return _g(e,"Promise")}var c2=function(){function e(t){var r,n;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((n=(r=t.messages)!==null&&r!==void 0?r:this.getPreImport(t.locale))!==null&&n!==void 0?n:{}),t.variableRegExp&&(this.variableRegExp=t.variableRegExp),this.setLocale(t.locale)}return e.prototype.setLocale=function(t){var r=this;this.locale=t,this._messageCache.clear();var n=this.getMessageData();u2(n)?n.then(function(o){r._messageCache.clear(),r.messages[r.localeInMessageKey]=o}):this.messages[this.localeInMessageKey]=n},e.prototype.getMessageData=function(){var t=this._messages[this.localeInMessageKey];return typeof t=="function"?t():t},e.prototype.translate=function(t,r,n){var o=this.getMessage(t);return o?this.formatMessage(o,n):this.formatMessage(r,n)},e.prototype.getMessage=function(t){if(this._messageCache.has(t))return this._messageCache.get(t);var r=this.getPathArray(t),n=r.reduce(function(o,i,u,c){if(o!==void 0){var l=o[i];if(!(u===c.length-1&&!i2(l)))return l}},this.message);return this._messageCache.set(t,n),n},e.prototype.formatMessage=function(t,r){return r?t.replace(this.variableRegExp,function(n,o){var i=r[o];return i!==void 0?String(i):n}):t},e.prototype.getPreImport=function(t){var r;if(window.okI18nPreImport){var n=this.getLocaleInMessageKey(t);return window.okI18nPreImport.hasOwnProperty(n)?window.okI18nPreImport:(r={},r[n]=window.okI18nPreImport,r)}},e.prototype.getPathArray=function(t){return t.split(".")},e.prototype.getLocaleInMessageKey=function(t){return t.replace(/-/g,"")},Object.defineProperty(e.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"message",{get:function(){var t;return(t=this.messages[this.localeInMessageKey])!==null&&t!==void 0?t:{}},enumerable:!1,configurable:!0}),e}();function l2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a2(e,t,r){return t&&yg(e.prototype,t),r&&yg(e,r),e}function f2(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var $=function(){function e(){l2(this,e)}return a2(e,null,[{key:"getMessage",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(r,"",n)}},{key:"resetI18n",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:UB;return new c2({locale:r,messages:qB})}},{key:"setLocale",value:function(r){return this.$i18n.setLocale(r)}}]),e}();f2($,"$i18n",$.resetI18n());function s2(e,t,r){var n=t.replace(/\[(\d)]/g,function(i,u){return"."+u}).split("."),o=!1;return n.reduce(function(i,u,c,l){var a=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,u)){ps("Can not set ".concat(t,"'s ").concat(u," property in current %o, Because there is no ").concat(u," property on the %o"),i,i);return}return c===l.length-1&&!Object.is(a[u],r)&&(a[u]=r,o=!0),a[u]}},e),o}var p2=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ys={exports:{}};(function(e){(function(t){var r=function(y,g,O){if(!a(g)||s(g)||p(g)||_(g)||l(g))return g;var w,P=0,E=0;if(f(g))for(w=[],E=g.length;P<E;P++)w.push(r(y,g[P],O));else{w={};for(var T in g)Object.prototype.hasOwnProperty.call(g,T)&&(w[y(T,O)]=r(y,g[T],O))}return w},n=function(y,g){g=g||{};var O=g.separator||"_",w=g.split||/(?=[A-Z])/;return y.split(w).join(O)},o=function(y){return h(y)?y:(y=y.replace(/[\-_\s]+(.)?/g,function(g,O){return O?O.toUpperCase():""}),y.substr(0,1).toLowerCase()+y.substr(1))},i=function(y){var g=o(y);return g.substr(0,1).toUpperCase()+g.substr(1)},u=function(y,g){return n(y,g).toLowerCase()},c=Object.prototype.toString,l=function(y){return typeof y=="function"},a=function(y){return y===Object(y)},f=function(y){return c.call(y)=="[object Array]"},s=function(y){return c.call(y)=="[object Date]"},p=function(y){return c.call(y)=="[object RegExp]"},_=function(y){return c.call(y)=="[object Boolean]"},h=function(y){return y=y-0,y===y},d=function(y,g){var O=g&&"process"in g?g.process:g;return typeof O!="function"?y:function(w,P){return O(w,y,P)}},b={camelize:o,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(y,g){return r(d(o,g),y)},decamelizeKeys:function(y,g){return r(d(u,g),y,g)},pascalizeKeys:function(y,g){return r(d(i,g),y)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=b:t.humps=b})(p2)})(ys);var dg={};Object.defineProperty(dg,"__esModule",{value:!0});function ds(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:ds(t));{const t={};for(const r in e){const n=e[r];t[r]=typeof n!="object"||n===null?n:ds(n)}return t}}var _2=dg.default=ds;function Yt(e){if(e!==void 0)return typeof e=="object"?_2(e):e}function Ae(e){return vg(e)&&"zh"in e}function vg(e){return Object.prototype.toString.call(e)==="[object Object]"}function vs(e){return Array.isArray(e)}function Wr(e){return isNaN(parseFloat(e))?"":Number(e)}function y2(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function xe(e,t){var r=[];return Array.isArray(e)&&(r=e.map(function(n){var o,i,u=n;return Array.isArray((o=n)===null||o===void 0?void 0:o.children)&&(u.children=xe(n.children,t)),Array.isArray((i=n)===null||i===void 0?void 0:i.footers)&&(u.footers=xe(n.footers,t)),t(u)})),r}function d2(e){return ys.exports.camelizeKeys(e)}function Kr(e){return ys.exports.decamelizeKeys(e)}function hs(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function v2(e){if(Array.isArray(e))return hs(e)}function hg(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(a){r(a);return}c.done?t(l):Promise.resolve(l).then(n,o)}function h2(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){hg(i,n,o,u,c,"next",l)}function c(l){hg(i,n,o,u,c,"throw",l)}u(void 0)})}}function b2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function g2(e,t,r){return t&&bg(e.prototype,t),r&&bg(e,r),e}function gg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m2(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function O2(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function bs(e){return v2(e)||m2(e)||w2(e)||O2()}function w2(e,t){if(!!e){if(typeof e=="string")return hs(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return hs(e,t)}}function $2(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(a){return function(f){return l([a,f])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(f){a=[6,f],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var P2=function(){function e(){b2(this,e),gg(this,"_events",new Map),gg(this,"debug",!1)}return g2(e,[{key:"emit",value:function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];var u=this;return h2(function(){var c,l,a,f,s,p,_,h,d,b,y,g;return $2(this,function(O){switch(O.label){case 0:if(c=u._events.get(r),l=[],!c)return[3,10];a=c.slice(),f=!0,s=!1,p=void 0,O.label=1;case 1:O.trys.push([1,8,9,10]),_=a[Symbol.iterator](),O.label=2;case 2:if(f=(h=_.next()).done)return[3,7];if(d=h.value,!c.includes(d))return[3,6];O.label=3;case 3:return O.trys.push([3,5,,6]),u.debug&&Lo.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(d.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+d.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"\u3002")].concat(bs(o))),[4,d.apply(null,bs(o))];case 4:return b=O.sent(),u.debug&&Lo.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(d.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+d.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(bs(o),[b])),l.push(b),b===!1?[3,7]:[3,6];case 5:return y=O.sent(),n2(String(y)+":"+String(y.stack)),[3,6];case 6:return f=!0,[3,2];case 7:return[3,10];case 8:return g=O.sent(),s=!0,p=g,[3,10];case 9:try{!f&&_.return!=null&&_.return()}finally{if(s)throw p}return[7];case 10:return[2,l]}})})()}},{key:"on",value:function(r,n){if(this._events.has(r)){var o;(o=this._events.get(r))===null||o===void 0||o.push(n)}else this._events.set(r,[n])}},{key:"off",value:function(r,n){if(this._events.has(r)){var o,i,u=this._events.get(r),c=(o=u)===null||o===void 0?void 0:o.indexOf(n);(i=u)===null||i===void 0||i.splice(c,1)}}},{key:"delete",value:function(r){this._events.has(r)&&this._events.delete(r)}},{key:"clear",value:function(){this._events=new Map}}]),e}();function R2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function S2(e,t,r){return t&&mg(e.prototype,t),r&&mg(e,r),e}function E2(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var T2=[{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"}],I2=function(){function e(){R2(this,e)}return S2(e,[{key:"getEventsFromKeys",value:function(r){var n=typeof r=="string"?[r]:r;return e.events.filter(function(o){return n.includes(o.key)})}}]),e}();E2(I2,"events",T2);function B2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Og(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function A2(e,t,r){return t&&Og(e.prototype,t),r&&Og(e,r),e}function $r(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var wg=[],gs=function(){function e(t){B2(this,e),$r(this,"registeredControlTypes",new Set),$r(this,"controlConfigMap",new Map),$r(this,"_controls",[]),$r(this,"_type",void 0),this._type=t,this._initControls(t)}return A2(e,[{key:"registerControlConfig",value:function(r,n){return this.controlConfigMap.set(r,n),this}},{key:"getControlConfig",value:function(r){return this.controlConfigMap.get(r)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(r){r.__is_control__||uo("".concat(r.name," is not a Control"));var n=this._controls.findIndex(function(o){return o.controlType===r.controlType});return n>-1&&(ps("The ".concat(r.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(n,1)),this.registeredControlTypes.add(r.controlType),this._controls.push(r),this}},{key:"isLayoutControl",value:function(r){return r.controlType===Ur.LAYOUT}},{key:"isFormControl",value:function(r){return r.controlType===Ur.FORM}},{key:"isListControl",value:function(r){return r.controlType===Ur.LIST}},{key:"isColumnControl",value:function(r){return r.controlType===Ur.COLUMN}},{key:"createControl",value:function(r,n){var o=this;if(Array.isArray(r))return r.map(function(f){return o.createControl(f,n)});if(r.children&&(r.children=r.children.map(function(f){return o.createControl(f,n)})),this.isListControl(r)){var i=r.props;i.headers&&(i.headers=i.headers.map(function(f){return o.createControl(f,n)})),i.footers&&(i.footers=i.footers.map(function(f){var s;return f&&(s=o.createControl(f,n)),s}))}var u=this.getControlFormType(r.type);if(u){var c=r;if(typeof n=="function"){var l=n(c);l&&(c=l)}var a=new u(c);return a}else uo("The constructor of ".concat(r.type," could not be found, please confirm that the constructor has been registered"))}},{key:"createControlInstance",value:function(r,n){var o=this.getControlFormType(r);if(o)return new o(n)}},{key:"getControlFormType",value:function(r){return this._controls.find(function(n){return n.controlType===r})}},{key:"_initControls",value:function(r){var n=this;this.constructor.staticControls.forEach(function(o){n.register(o[r])})}}],[{key:"register",value:function(r){var n=r.Designer,o=r.Runtime;(!n||!o||!n.__is_control__||!o.__is_control__)&&uo("".concat(r," is can't register as a Control"));var i=this.staticControls.findIndex(function(u){return u.Designer.controlType===n.controlType});return i>-1&&(ps("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(i,1)),this.staticRegisteredTypes.add(n.controlType),this.staticControls.push(r),this}}]),e}();$r(gs,"staticControls",wg),$r(gs,"staticRegisteredTypes",new Set(wg.map(function(e){return e.Designer.controlType}))),$r(gs,"staticRegisteredConfigs",new Map);function U(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vo(e){return Vo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vo(e)}function lt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ms(e,t)}function x2(e,t){return t&&(k2(t)==="object"||typeof t=="function")?t:U(e)}function ms(e,t){return ms=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ms(e,t)}function k2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function D2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function at(e){var t=D2();return function(){var n=Vo(e),o;if(t){var i=Vo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return x2(this,o)}}var ft=function e(t){F(this,e);var r,n,o,i;R(this,"dataCode",void 0),R(this,"fieldCode",void 0),R(this,"fieldType",void 0),R(this,"aliasCode",void 0);var u;this.dataCode=(u=(r=t)===null||r===void 0?void 0:r.dataCode)!==null&&u!==void 0?u:"";var c;this.fieldCode=(c=(n=t)===null||n===void 0?void 0:n.fieldCode)!==null&&c!==void 0?c:"";var l;this.fieldType=(l=(o=t)===null||o===void 0?void 0:o.fieldType)!==null&&l!==void 0?l:"",this.aliasCode=(i=t)===null||i===void 0?void 0:i.aliasCode},$g=function e(t){F(this,e);var r,n,o;R(this,"minWidth",void 0),R(this,"maxWidth",void 0),R(this,"flex",void 0);var i;this.minWidth=(i=(r=t)===null||r===void 0?void 0:r.minWidth)!==null&&i!==void 0?i:150,this.maxWidth=(n=t)===null||n===void 0?void 0:n.maxWidth;var u;this.flex=(u=(o=t)===null||o===void 0?void 0:o.flex)!==null&&u!==void 0?u:1},Os=function(e){lt(r,e);var t=at(r);function r(n){F(this,r);var o,i,u;o=t.call(this,n),R(U(o),"width",void 0),R(U(o),"widthType",void 0);var c;o.width=(c=(i=n)===null||i===void 0?void 0:i.width)!==null&&c!==void 0?c:240;var l;return o.widthType=(l=(u=n)===null||u===void 0?void 0:u.widthType)!==null&&l!==void 0?l:"auto",o}return r}($g),N2=function e(t){F(this,e);var r,n,o;R(this,"pc",void 0),R(this,"mobile",void 0),this.pc=new Os((r=t)===null||r===void 0?void 0:r.pc),this.mobile=!((n=t)===null||n===void 0)&&n.mobile?new Os((o=t)===null||o===void 0?void 0:o.mobile):new Os({width:130,minWidth:180})},F2=function e(t){F(this,e);var r,n;R(this,"type",void 0),R(this,"customOptions",void 0);var o;this.type=(o=(r=t)===null||r===void 0?void 0:r.type)!==null&&o!==void 0?o:"firstThree";var i;this.customOptions=(i=(n=t)===null||n===void 0?void 0:n.customOptions)!==null&&i!==void 0?i:[]},Gr=function e(t){F(this,e);var r,n,o;R(this,"dataCode",void 0),R(this,"formKey",void 0),R(this,"appId",void 0);var i;this.dataCode=(i=(r=t)===null||r===void 0?void 0:r.dataCode)!==null&&i!==void 0?i:"";var u;this.formKey=(u=(n=t)===null||n===void 0?void 0:n.formKey)!==null&&u!==void 0?u:"";var c;this.appId=(c=(o=t)===null||o===void 0?void 0:o.appId)!==null&&c!==void 0?c:""},j2=function(e){lt(r,e);var t=at(r);function r(n){F(this,r);var o,i;o=t.call(this,n),R(U(o),"primaryControlId",void 0);var u;return o.primaryControlId=(u=(i=n)===null||i===void 0?void 0:i.primaryControlId)!==null&&u!==void 0?u:"",o}return r}(Gr),Pg=function e(t){F(this,e);var r;R(this,"fieldCode",void 0);var n;this.fieldCode=(n=(r=t)===null||r===void 0?void 0:r.fieldCode)!==null&&n!==void 0?n:""},ws=function e(t){F(this,e);var r,n,o,i;R(this,"appId",void 0),R(this,"formKey",void 0),R(this,"headers",void 0);var u;this.appId=(u=(r=t)===null||r===void 0?void 0:r.appId)!==null&&u!==void 0?u:"";var c;this.formKey=(c=(n=t)===null||n===void 0?void 0:n.formKey)!==null&&c!==void 0?c:"";var l;this.headers=(l=(i=t)===null||i===void 0||(o=i.headers)===null||o===void 0?void 0:o.map(function(a){return new Pg(a)}))!==null&&l!==void 0?l:[]},M2=function e(t){F(this,e);var r,n,o;R(this,"fieldName",void 0),R(this,"fieldCode",void 0),R(this,"fieldType",void 0);var i;this.fieldName=(i=(r=t)===null||r===void 0?void 0:r.fieldName)!==null&&i!==void 0?i:"";var u;this.fieldCode=(u=(n=t)===null||n===void 0?void 0:n.fieldCode)!==null&&u!==void 0?u:"";var c;this.fieldType=(c=(o=t)===null||o===void 0?void 0:o.fieldType)!==null&&c!==void 0?c:S.VARCHAR},L2=function(e){lt(r,e);var t=at(r);function r(n){F(this,r);var o,i,u,c,l;o=t.call(this,n),R(U(o),"title",void 0),R(U(o),"svcCode",void 0),R(U(o),"isOpenFilter",void 0),R(U(o),"filters",void 0);var a;o.title=(a=(i=n)===null||i===void 0?void 0:i.title)!==null&&a!==void 0?a:"";var f;o.svcCode=(f=(u=n)===null||u===void 0?void 0:u.svcCode)!==null&&f!==void 0?f:"";var s;o.isOpenFilter=(s=(c=n)===null||c===void 0?void 0:c.isOpenFilter)!==null&&s!==void 0?s:!1;var p;return o.filters=(p=(l=n)===null||l===void 0?void 0:l.filters)!==null&&p!==void 0?p:[],o}return r}(Gr),V2=function e(t){F(this,e);var r,n,o,i,u;R(this,"type","sublist-page"),R(this,"formBind",void 0),R(this,"displayFields",void 0),R(this,"sublists",void 0),this.formBind=new Gr((r=t)===null||r===void 0?void 0:r.formBind);var c;this.displayFields=(c=(o=t)===null||o===void 0||(n=o.displayFields)===null||n===void 0?void 0:n.map(function(a){return new M2(a)}))!==null&&c!==void 0?c:[];var l;this.sublists=(l=(u=t)===null||u===void 0||(i=u.sublists)===null||i===void 0?void 0:i.map(function(a){return new L2(a)}))!==null&&l!==void 0?l:[]},C2=function e(t){F(this,e);var r,n;R(this,"type",void 0),R(this,"value",void 0),this.type=(r=t)===null||r===void 0?void 0:r.type,this.value=(n=t)===null||n===void 0?void 0:n.value},co=function e(t){F(this,e);var r,n,o;R(this,"type",void 0),R(this,"value",void 0),R(this,"displayBos",void 0);var i;this.type=(i=(r=t)===null||r===void 0?void 0:r.type)!==null&&i!==void 0?i:"custom";var u;this.value=(u=(n=t)===null||n===void 0?void 0:n.value)!==null&&u!==void 0?u:[];var c;this.displayBos=(c=(o=t)===null||o===void 0?void 0:o.displayBos)!==null&&c!==void 0?c:[]},Rg=function e(t){var r=this;F(this,e);var n,o,i,u,c;R(this,"id",void 0),R(this,"ruleId",void 0),R(this,"type","conditions"),R(this,"level",void 0),R(this,"value",void 0),R(this,"children",void 0);var l;this.id=(l=(n=t)===null||n===void 0?void 0:n.id)!==null&&l!==void 0?l:Dt();var a;this.ruleId=(a=(o=t)===null||o===void 0?void 0:o.ruleId)!==null&&a!==void 0?a:new Date().valueOf();var f;this.level=(f=(i=t)===null||i===void 0?void 0:i.level)!==null&&f!==void 0?f:0;var s;if(this.value=(s=(u=t)===null||u===void 0?void 0:u.value)!==null&&s!==void 0?s:"and",this.children=[],Array.isArray((c=t)===null||c===void 0?void 0:c.children)){var p;(p=t)===null||p===void 0||p.children.map(function(_){if(_.children!==void 0){var h,d=new e(_);(h=r.children)===null||h===void 0||h.push(d)}else{var b,y=new $s(_);(b=r.children)===null||b===void 0||b.push(y)}})}},$s=function e(t){F(this,e);var r,n,o,i,u,c,l;R(this,"id",void 0),R(this,"ruleId",void 0),R(this,"type","condition"),R(this,"symbol",void 0),R(this,"checked",void 0),R(this,"describe",void 0),R(this,"leftVariableBo",void 0),R(this,"rightVariableBo",void 0);var a;this.id=(a=(r=t)===null||r===void 0?void 0:r.id)!==null&&a!==void 0?a:Dt();var f;this.ruleId=(f=(n=t)===null||n===void 0?void 0:n.ruleId)!==null&&f!==void 0?f:new Date().valueOf();var s;this.symbol=(s=(o=t)===null||o===void 0?void 0:o.symbol)!==null&&s!==void 0?s:"";var p;this.checked=(p=(i=t)===null||i===void 0?void 0:i.checked)!==null&&p!==void 0?p:!1;var _;this.describe=(_=(u=t)===null||u===void 0?void 0:u.describe)!==null&&_!==void 0?_:"",this.leftVariableBo=new C2((c=t)===null||c===void 0?void 0:c.leftVariableBo),this.rightVariableBo=new co((l=t)===null||l===void 0?void 0:l.rightVariableBo)},z2=function e(t){F(this,e);var r,n,o;R(this,"aliasCode",void 0),R(this,"datasourceBind",void 0),R(this,"relationFields",void 0);var i;this.aliasCode=(i=(r=t)===null||r===void 0?void 0:r.aliasCode)!==null&&i!==void 0?i:"",this.datasourceBind=new se((n=t)===null||n===void 0?void 0:n.datasourceBind);var u;this.relationFields=(u=(o=t)===null||o===void 0?void 0:o.relationFields)!==null&&u!==void 0?u:[]},je=function e(t){F(this,e);var r,n,o,i;R(this,"controlId",void 0),R(this,"fieldCode",void 0),R(this,"fieldType",void 0),R(this,"propName",void 0);var u;this.controlId=(u=(r=t)===null||r===void 0?void 0:r.controlId)!==null&&u!==void 0?u:"";var c;this.fieldCode=(c=(n=t)===null||n===void 0?void 0:n.fieldCode)!==null&&c!==void 0?c:"";var l;this.fieldType=(l=(o=t)===null||o===void 0?void 0:o.fieldType)!==null&&l!==void 0?l:"";var a;this.propName=(a=(i=t)===null||i===void 0?void 0:i.propName)!==null&&a!==void 0?a:""},Ps=function e(t){F(this,e);var r,n,o;R(this,"type",void 0),R(this,"value",void 0),R(this,"fieldType",void 0);var i;this.type=(i=(r=t)===null||r===void 0?void 0:r.type)!==null&&i!==void 0?i:"FIELD";var u;this.value=(u=(n=t)===null||n===void 0?void 0:n.value)!==null&&u!==void 0?u:"",this.fieldType=(o=t)===null||o===void 0?void 0:o.fieldType},H2=function e(t){F(this,e),R(this,"columnName",void 0),R(this,"desc",void 0);var r;this.columnName=(r=t.columnName)!==null&&r!==void 0?r:"";var n;this.desc=(n=t.desc)!==null&&n!==void 0?n:!1};function Rs(e){var t,r,n,o,i,u,c;this.filters=(c=(r=e)===null||r===void 0||(t=r.filters)===null||t===void 0?void 0:t.map(function(f){return f.children!==void 0?new Rg(f):new $s(f)}))!==null&&c!==void 0?c:[];var l;this.viewFilters=(l=(o=e)===null||o===void 0||(n=o.viewFilters)===null||n===void 0?void 0:n.map(function(f){return f.children!==void 0?new Rg(f):new $s(f)}))!==null&&l!==void 0?l:[];var a;this.orders=(a=(u=e)===null||u===void 0||(i=u.orders)===null||i===void 0?void 0:i.map(function(f){return new H2(f)}))!==null&&a!==void 0?a:[]}var se=function e(t){var r=this;F(this,e);var n,o,i,u,c,l,a,f;R(this,"dataCode",void 0),R(this,"valueFieldCode",void 0),R(this,"displayBoList",void 0),R(this,"keywordMapping",void 0),R(this,"svcCode",void 0),R(this,"appId",void 0),R(this,"filters",void 0),R(this,"viewFilters",void 0),R(this,"isOpenViewFilters",void 0),R(this,"orders",void 0),R(this,"showOrder",void 0);var s;this.dataCode=(s=(n=t)===null||n===void 0?void 0:n.dataCode)!==null&&s!==void 0?s:"";var p;this.appId=(p=(o=t)===null||o===void 0?void 0:o.appId)!==null&&p!==void 0?p:"";var _;this.valueFieldCode=(_=(i=t)===null||i===void 0?void 0:i.valueFieldCode)!==null&&_!==void 0?_:"",this.displayBoList=[];var h;if(this.isOpenViewFilters=(h=(u=t)===null||u===void 0?void 0:u.isOpenViewFilters)!==null&&h!==void 0?h:0,Array.isArray((c=t)===null||c===void 0?void 0:c.displayBoList)){var d;(d=t)===null||d===void 0||d.displayBoList.map(function(O){var w;(w=r.displayBoList)===null||w===void 0||w.push(new Ps(O))})}var b;this.keywordMapping=(b=(l=t)===null||l===void 0?void 0:l.keywordMapping)!==null&&b!==void 0?b:"";var y;this.showOrder=(y=(a=t)===null||a===void 0?void 0:a.showOrder)!==null&&y!==void 0?y:!0;var g;this.svcCode=(g=(f=t)===null||f===void 0?void 0:f.svcCode)!==null&&g!==void 0?g:"",Rs.call(this,t)},Ss=function e(t){F(this,e);var r,n;R(this,"dataCode",void 0),R(this,"displayBoList",void 0);var o;this.dataCode=(o=(r=t)===null||r===void 0?void 0:r.dataCode)!==null&&o!==void 0?o:"";var i;this.displayBoList=(i=(n=t)===null||n===void 0?void 0:n.displayBoList)!==null&&i!==void 0?i:[]},er=function e(t){F(this,e);var r,n,o,i,u,c,l,a,f,s;R(this,"code",void 0),R(this,"color",void 0),R(this,"command",void 0),R(this,"confirmMessage",void 0),R(this,"defaultState",void 0),R(this,"formKey",void 0),R(this,"icon",void 0),R(this,"needConfirm",void 0),R(this,"openType",void 0),R(this,"priorityProcess",void 0);var p;this.code=(p=(r=t)===null||r===void 0?void 0:r.code)!==null&&p!==void 0?p:"view";var _;this.color=(_=(n=t)===null||n===void 0?void 0:n.color)!==null&&_!==void 0?_:"primary";var h;this.command=(h=(o=t)===null||o===void 0?void 0:o.command)!==null&&h!==void 0?h:"view";var d;this.confirmMessage=(d=(i=t)===null||i===void 0?void 0:i.confirmMessage)!==null&&d!==void 0?d:void 0;var b;this.defaultState=(b=(u=t)===null||u===void 0?void 0:u.defaultState)!==null&&b!==void 0?b:"default";var y;this.formKey=(y=(c=t)===null||c===void 0?void 0:c.formKey)!==null&&y!==void 0?y:void 0;var g;this.icon=(g=(l=t)===null||l===void 0?void 0:l.icon)!==null&&g!==void 0?g:"iconliulan1";var O;this.needConfirm=(O=(a=t)===null||a===void 0?void 0:a.needConfirm)!==null&&O!==void 0?O:!1;var w;this.openType=(w=(f=t)===null||f===void 0?void 0:f.openType)!==null&&w!==void 0?w:"modal";var P;this.priorityProcess=(P=(s=t)===null||s===void 0?void 0:s.priorityProcess)!==null&&P!==void 0?P:!0},Sg=function e(t){F(this,e);var r,n,o,i;R(this,"name",void 0),R(this,"key",void 0),R(this,"value",void 0);var u;this.name=(u=(r=t)===null||r===void 0?void 0:r.name)!==null&&u!==void 0?u:"";var c;this.key=(c=(n=t)===null||n===void 0?void 0:n.key)!==null&&c!==void 0?c:"";var l;this.value=(l=(i=t)===null||i===void 0||(o=i.value)===null||o===void 0?void 0:o.map(function(a){return new Ps(a)}))!==null&&l!==void 0?l:[]},Co=function(e){lt(r,e);var t=at(r);function r(n){F(this,r);var o,i,u;o=t.call(this,n),R(U(o),"attributes",void 0);var c;return o.attributes=(c=(u=n)===null||u===void 0||(i=u.attributes)===null||i===void 0?void 0:i.map(function(l){return new Sg(l)}))!==null&&c!==void 0?c:[],o}return r}(se),q2=function(e){lt(r,e);var t=at(r);function r(n){F(this,r);var o,i,u,c;o=t.call(this,n),R(U(o),"attributes",void 0),R(U(o),"formCode",void 0);var l;o.attributes=(l=(u=n)===null||u===void 0||(i=u.attributes)===null||i===void 0?void 0:i.map(function(f){return new Sg(f)}))!==null&&l!==void 0?l:[];var a;return o.formCode=(a=(c=n)===null||c===void 0?void 0:c.formCode)!==null&&a!==void 0?a:"",o}return r}(se),Eg=function(e){lt(r,e);var t=at(r);function r(n){F(this,r);var o,i,u;o=t.call(this,n),R(U(o),"rootNode",void 0),R(U(o),"filterCode",void 0),o.rootNode=new co((i=n)===null||i===void 0?void 0:i.rootNode);var c;return o.filterCode=(c=(u=n)===null||u===void 0?void 0:u.filterCode)!==null&&c!==void 0?c:"",o}return r}(Co),Tg=function e(t){F(this,e);var r,n,o,i;R(this,"dataCode",void 0),R(this,"appId",void 0),R(this,"fillList",void 0);var u;this.dataCode=(u=(r=t)===null||r===void 0?void 0:r.dataCode)!==null&&u!==void 0?u:"";var c;this.appId=(c=(n=t)===null||n===void 0?void 0:n.appId)!==null&&c!==void 0?c:"";var l;this.fillList=(l=(i=t)===null||i===void 0||(o=i.fillList)===null||o===void 0?void 0:o.map(function(a){return new je(a)}))!==null&&l!==void 0?l:[]},Ig=function(e){lt(r,e);var t=at(r);function r(n){F(this,r);var o;return o=t.call(this,n),R(U(o),"filters",void 0),R(U(o),"viewFilters",void 0),R(U(o),"orders",void 0),Rs.call(U(o),n),o}return r}(Tg),Bg=function(e){lt(r,e);var t=at(r);function r(n){F(this,r);var o,i,u;o=t.call(this,n),R(U(o),"mode",void 0),R(U(o),"multiple",void 0);var c;o.mode=(c=(i=n)===null||i===void 0?void 0:i.mode)!==null&&c!==void 0?c:"current";var l;return o.multiple=(l=(u=n)===null||u===void 0?void 0:u.multiple)!==null&&l!==void 0?l:!1,o}return r}(Tg),Ag=function e(t){F(this,e);var r,n,o;R(this,"stencilName",void 0),R(this,"expression",void 0),R(this,"errMessage",void 0);var i;this.stencilName=(i=(r=t)===null||r===void 0?void 0:r.stencilName)!==null&&i!==void 0?i:"";var u;this.expression=(u=(n=t)===null||n===void 0?void 0:n.expression)!==null&&u!==void 0?u:"";var c;this.errMessage=(c=(o=t)===null||o===void 0?void 0:o.errMessage)!==null&&c!==void 0?c:""},U2=function e(t){F(this,e);var r,n,o;R(this,"id",void 0),R(this,"label",void 0),R(this,"value",void 0);var i;this.id=(i=(r=t)===null||r===void 0?void 0:r.id)!==null&&i!==void 0?i:Dt(8);var u;this.label=(u=(n=t)===null||n===void 0?void 0:n.label)!==null&&u!==void 0?u:"";var c;this.value=(c=(o=t)===null||o===void 0?void 0:o.value)!==null&&c!==void 0?c:this.label};function Nt(e){var t,r;return(r=(t=e)===null||t===void 0?void 0:t.map(function(n){return new U2(n)}))!==null&&r!==void 0?r:[]}var Es=function e(){F(this,e)},W2=function(e){lt(r,e);var t=at(r);function r(n){F(this,r);var o,i,u;return o=t.call(this),R(U(o),"amount",void 0),R(U(o),"currency",void 0),o.amount=new ft((i=n)===null||i===void 0?void 0:i.amount),o.currency=new ft((u=n)===null||u===void 0?void 0:u.currency),o}return r}(Es),K2=function e(t){F(this,e);var r,n;R(this,"amount",void 0),R(this,"currency",void 0);var o;this.amount=(o=(r=t)===null||r===void 0?void 0:r.amount)!==null&&o!==void 0?o:"";var i;this.currency=(i=(n=t)===null||n===void 0?void 0:n.currency)!==null&&i!==void 0?i:zo.CNY},G2=function(e){lt(r,e);var t=at(r);function r(n){F(this,r);var o,i,u;return o=t.call(this),R(U(o),"min",void 0),R(U(o),"max",void 0),o.min=new ft((i=n)===null||i===void 0?void 0:i.min),o.max=new ft((u=n)===null||u===void 0?void 0:u.max),o}return r}(Es),X2=function e(t){F(this,e);var r,n;R(this,"min",void 0),R(this,"max",void 0);var o;this.min=(o=(r=t)===null||r===void 0?void 0:r.min)!==null&&o!==void 0?o:"";var i;this.max=(i=(n=t)===null||n===void 0?void 0:n.max)!==null&&i!==void 0?i:""},J2=function e(t){F(this,e);var r,n,o,i,u,c;R(this,"city",void 0),R(this,"cityDisplay",void 0),R(this,"district",void 0),R(this,"districtDisplay",void 0),R(this,"province",void 0),R(this,"provinceDisplay",void 0);var l;this.city=(l=(r=t)===null||r===void 0?void 0:r.city)!==null&&l!==void 0?l:"";var a;this.cityDisplay=(a=(n=t)===null||n===void 0?void 0:n.cityDisplay)!==null&&a!==void 0?a:"";var f;this.district=(f=(o=t)===null||o===void 0?void 0:o.district)!==null&&f!==void 0?f:"";var s;this.districtDisplay=(s=(i=t)===null||i===void 0?void 0:i.districtDisplay)!==null&&s!==void 0?s:"";var p;this.province=(p=(u=t)===null||u===void 0?void 0:u.province)!==null&&p!==void 0?p:"";var _;this.provinceDisplay=(_=(c=t)===null||c===void 0?void 0:c.provinceDisplay)!==null&&_!==void 0?_:""},Q2=function(e){lt(r,e);var t=at(r);function r(n){F(this,r);var o,i,u;return o=t.call(this),R(U(o),"result",void 0),R(U(o),"unit",void 0),o.result=new ft((i=n)===null||i===void 0?void 0:i.result),o.unit=new ft((u=n)===null||u===void 0?void 0:u.unit),o}return r}(Es),Z2=function e(t){F(this,e);var r,n;R(this,"result",void 0),R(this,"unit",void 0);var o;this.result=(o=(r=t)===null||r===void 0?void 0:r.result)!==null&&o!==void 0?o:0;var i;this.unit=(i=(n=t)===null||n===void 0?void 0:n.unit)!==null&&i!==void 0?i:""},zo;(function(e){e.CNY="CNY",e.USD="USD",e.JPY="JPY",e.EUR="EUR",e.INR="INR",e.IDR="IDR",e.BRL="BRL",e.AED="AED",e.AUD="AUD",e.CAD="CAD",e.EGP="EGP",e.GBP="GBP",e.ZAR="ZAR",e.KRW="KRW",e.MAD="MAD",e.MXN="MXN",e.MYR="MYR",e.PHP="PHP",e.PLN="PLN",e.RUB="RUB",e.SGD="SGD",e.THB="THB",e.TRY="TRY",e.TWD="TWD",e.VND="VND",e.HKD="HKD",e.IEP="IEP"})(zo||(zo={}));var v;(function(e){e.DEFAULT_DISPLAY="defaultDisplay",e.REQUIRED="required",e.IS_HIDE="isHide",e.IS_SHOW_UNIT="isShowUnit",e.IMD_SEARCH="immediatelySearch",e.MULTIPLE="multiple",e.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",e.CAPTION="caption",e.IS_HIDE_CAPTION="isHideCaption",e.DEFAULT_SHOW_OPTIONS="defaultShowOptions",e.CAN_SEARCH="canSearch",e.CAN_CHECK="canCheck",e.CAN_EDIT="canEdit",e.CAN_DELETE="canDelete",e.SHOW_UPPER_CASE="showUpperCase",e.MICROMETER="micrometer",e.PRECISION="precision",e.PERCENTAGE="percentage",e.OPTIONAL_LEVEL="optionalLevel",e.CONTAINS_SUB_NODE="containsSubNode",e.DEFAULT_COLLAPSE="defaultCollapse",e.CAN_VIEW_FORM="canViewForm",e.VIEW_FORM_MODEL_TYPE="viewFormModelType",e.SERVER_PAGINATION="serverPagination",e.IS_SHOW_CAPTION_TIP="isShowCaptionTip",e.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions",e.IS_PASTE="isPaste"})(v||(v={}));var Ts;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"})(Ts||(Ts={}));var tr=function e(t){F(this,e);var r,n,o,i,u,c;R(this,"isShow",void 0),R(this,"priorityProcess",void 0),R(this,"formKey",void 0),R(this,"content",void 0),R(this,"openType",void 0),R(this,"type",void 0);var l;this.isShow=(l=(r=t)===null||r===void 0?void 0:r.isShow)!==null&&l!==void 0?l:!0;var a;this.content=(a=(n=t)===null||n===void 0?void 0:n.content)!==null&&a!==void 0?a:"";var f;this.formKey=(f=(o=t)===null||o===void 0?void 0:o.formKey)!==null&&f!==void 0?f:"";var s;this.openType=(s=(i=t)===null||i===void 0?void 0:i.openType)!==null&&s!==void 0?s:"modal";var p;this.type=(p=(u=t)===null||u===void 0?void 0:u.type)!==null&&p!==void 0?p:"";var _;this.priorityProcess=(_=(c=t)===null||c===void 0?void 0:c.priorityProcess)!==null&&_!==void 0?_:!1},Y2=function e(t){F(this,e);var r,n,o,i;R(this,"id",void 0),R(this,"title",void 0),R(this,"filters",void 0),R(this,"viewFilters",void 0),R(this,"headers",void 0);var u;this.id=(u=(r=t)===null||r===void 0?void 0:r.id)!==null&&u!==void 0?u:Dt(8);var c;this.title=(c=(n=t)===null||n===void 0?void 0:n.title)!==null&&c!==void 0?c:"";var l;this.headers=(l=(i=t)===null||i===void 0||(o=i.headers)===null||o===void 0?void 0:o.map(function(a){return new Pg(a)}))!==null&&l!==void 0?l:[],Rs.call(this,t)},eA=function e(t){F(this,e);var r,n,o,i;R(this,"width",void 0),R(this,"height",void 0),R(this,"widthConfig",void 0),R(this,"heightConfig",void 0);var u;this.width=(u=(r=t)===null||r===void 0?void 0:r.width)!==null&&u!==void 0?u:"";var c;this.height=(c=(n=t)===null||n===void 0?void 0:n.height)!==null&&c!==void 0?c:"";var l;this.widthConfig=(l=(o=t)===null||o===void 0?void 0:o.widthConfig)!==null&&l!==void 0?l:"fill";var a;this.heightConfig=(a=(i=t)===null||i===void 0?void 0:i.heightConfig)!==null&&a!==void 0?a:"fill"},tA=function e(t){F(this,e);var r,n;R(this,"optCode",void 0),R(this,"optType",void 0);var o;this.optCode=(o=(r=t)===null||r===void 0?void 0:r.optCode)!==null&&o!==void 0?o:"";var i;this.optType=(i=(n=t)===null||n===void 0?void 0:n.optType)!==null&&i!==void 0?i:""};function rA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Is(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ho(e,t,r){return xg()?Ho=Reflect.construct:Ho=function(o,i,u){var c=[null];c.push.apply(c,i);var l=Function.bind.apply(o,c),a=new l;return u&&ao(a,u.prototype),a},Ho.apply(null,arguments)}function Pr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lo(e){return lo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lo(e)}function nA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ao(e,t)}function oA(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function iA(e,t){return t&&(uA(t)==="object"||typeof t=="function")?t:rA(e)}function ao(e,t){return ao=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ao(e,t)}function uA(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bs(e){var t=typeof Map=="function"?new Map:void 0;return Bs=function(n){if(n===null||!oA(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return Ho(n,arguments,lo(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),ao(o,n)},Bs(e)}function xg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cA(e){var t=xg();return function(){var n=lo(e),o;if(t){var i=lo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iA(this,o)}}var le=function e(t){Is(this,e),Pr(this,"isHide",{type:"boolean"})},Rr=function(e){nA(r,e);var t=cA(r);function r(n){return Is(this,r),t.call(this)}return r}(Bs(Array)),pe=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Is(this,e);var n,o,i;Pr(this,"isHide",void 0),Pr(this,"className",void 0),Pr(this,"style",void 0),Pr(this,"caption",void 0);var u;this.isHide=(u=(n=t)===null||n===void 0?void 0:n.isHide)!==null&&u!==void 0?u:!1,this.style=new eA((o=t)===null||o===void 0?void 0:o.style);var c;this.caption=(c=(i=t)===null||i===void 0?void 0:i.caption)!==null&&c!==void 0?c:r};Pr(pe,"Rules",le),Pr(pe,"RuntimeRules",Rr);function Pt(){return Pt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Pt.apply(this,arguments)}function lA(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function As(e){return As=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},As(e)}function qo(e,t){return qo=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qo(e,t)}function aA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function Uo(e,t,r){return aA()?Uo=Reflect.construct:Uo=function(o,i,u){var c=[null];c.push.apply(c,i);var l=Function.bind.apply(o,c),a=new l;return u&&qo(a,u.prototype),a},Uo.apply(null,arguments)}function fA(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function xs(e){var t=typeof Map=="function"?new Map:void 0;return xs=function(n){if(n===null||!fA(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return Uo(n,arguments,As(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),qo(o,n)},xs(e)}var sA=/%[sdj%]/g,kg=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(kg=function(t,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function ks(e){if(!e||!e.length)return null;var t={};return e.forEach(function(r){var n=r.field;t[n]=t[n]||[],t[n].push(r)}),t}function Ke(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=1,o=t[0],i=t.length;if(typeof o=="function")return o.apply(null,t.slice(1));if(typeof o=="string"){var u=String(o).replace(sA,function(c){if(c==="%%")return"%";if(n>=i)return c;switch(c){case"%s":return String(t[n++]);case"%d":return Number(t[n++]);case"%j":try{return JSON.stringify(t[n++])}catch(l){return"[Circular]"}break;default:return c}});return u}return o}function pA(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function ae(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||pA(t)&&typeof e=="string"&&!e)}function _A(e,t,r){var n=[],o=0,i=e.length;function u(c){n.push.apply(n,c),o++,o===i&&r(n)}e.forEach(function(c){t(c,u)})}function Dg(e,t,r){var n=0,o=e.length;function i(u){if(u&&u.length){r(u);return}var c=n;n=n+1,c<o?t(e[c],i):r([])}i([])}function yA(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var Ng=function(e){lA(t,e);function t(r,n){var o;return o=e.call(this,"Async Validation Error")||this,o.errors=r,o.fields=n,o}return t}(xs(Error));function dA(e,t,r,n){if(t.first){var o=new Promise(function(s,p){var _=function(b){return n(b),b.length?p(new Ng(b,ks(b))):s()},h=yA(e);Dg(h,r,_)});return o.catch(function(s){return s}),o}var i=t.firstFields||[];i===!0&&(i=Object.keys(e));var u=Object.keys(e),c=u.length,l=0,a=[],f=new Promise(function(s,p){var _=function(d){if(a.push.apply(a,d),l++,l===c)return n(a),a.length?p(new Ng(a,ks(a))):s()};u.length||(n(a),s()),u.forEach(function(h){var d=e[h];i.indexOf(h)!==-1?Dg(d,r,_):_A(d,r,_)})});return f.catch(function(s){return s}),f}function Fg(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 jg(e,t){if(t){for(var r in t)if(t.hasOwnProperty(r)){var n=t[r];typeof n=="object"&&typeof e[r]=="object"?e[r]=Pt(Pt({},e[r]),n):e[r]=n}}return e}function Mg(e,t,r,n,o,i){e.required&&(!r.hasOwnProperty(e.field)||ae(t,i||e.type))&&n.push(Ke(o.messages.required,e.fullField))}function vA(e,t,r,n,o){(/^\s+$/.test(t)||t==="")&&n.push(Ke(o.messages.whitespace,e.fullField))}var Ds={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},fo={integer:function(t){return fo.number(t)&&parseInt(t,10)===t},float:function(t){return fo.number(t)&&!fo.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(r){return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!fo.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(Ds.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(Ds.url)},hex:function(t){return typeof t=="string"&&!!t.match(Ds.hex)}};function hA(e,t,r,n,o){if(e.required&&t===void 0){Mg(e,t,r,n,o);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],u=e.type;i.indexOf(u)>-1?fo[u](t)||n.push(Ke(o.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&n.push(Ke(o.messages.types[u],e.fullField,e.type))}function bA(e,t,r,n,o){var i=typeof e.len=="number",u=typeof e.min=="number",c=typeof e.max=="number",l=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,a=t,f=null,s=typeof t=="number",p=typeof t=="string",_=Array.isArray(t);if(s?f="number":p?f="string":_&&(f="array"),!f)return!1;_&&(a=t.length),p&&(a=t.replace(l,"_").length),i?a!==e.len&&n.push(Ke(o.messages[f].len,e.fullField,e.len)):u&&!c&&a<e.min?n.push(Ke(o.messages[f].min,e.fullField,e.min)):c&&!u&&a>e.max?n.push(Ke(o.messages[f].max,e.fullField,e.max)):u&&c&&(a<e.min||a>e.max)&&n.push(Ke(o.messages[f].range,e.fullField,e.min,e.max))}var Xr="enum";function gA(e,t,r,n,o){e[Xr]=Array.isArray(e[Xr])?e[Xr]:[],e[Xr].indexOf(t)===-1&&n.push(Ke(o.messages[Xr],e.fullField,e[Xr].join(", ")))}function mA(e,t,r,n,o){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(Ke(o.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var i=new RegExp(e.pattern);i.test(t)||n.push(Ke(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var V={required:Mg,whitespace:vA,type:hA,range:bA,enum:gA,pattern:mA};function OA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ae(t,"string")&&!e.required)return r();V.required(e,t,n,i,o,"string"),ae(t,"string")||(V.type(e,t,n,i,o),V.range(e,t,n,i,o),V.pattern(e,t,n,i,o),e.whitespace===!0&&V.whitespace(e,t,n,i,o))}r(i)}function wA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ae(t)&&!e.required)return r();V.required(e,t,n,i,o),t!==void 0&&V.type(e,t,n,i,o)}r(i)}function $A(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t===""&&(t=void 0),ae(t)&&!e.required)return r();V.required(e,t,n,i,o),t!==void 0&&(V.type(e,t,n,i,o),V.range(e,t,n,i,o))}r(i)}function PA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ae(t)&&!e.required)return r();V.required(e,t,n,i,o),t!==void 0&&V.type(e,t,n,i,o)}r(i)}function RA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ae(t)&&!e.required)return r();V.required(e,t,n,i,o),ae(t)||V.type(e,t,n,i,o)}r(i)}function SA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ae(t)&&!e.required)return r();V.required(e,t,n,i,o),t!==void 0&&(V.type(e,t,n,i,o),V.range(e,t,n,i,o))}r(i)}function EA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ae(t)&&!e.required)return r();V.required(e,t,n,i,o),t!==void 0&&(V.type(e,t,n,i,o),V.range(e,t,n,i,o))}r(i)}function TA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t==null&&!e.required)return r();V.required(e,t,n,i,o,"array"),t!=null&&(V.type(e,t,n,i,o),V.range(e,t,n,i,o))}r(i)}function IA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ae(t)&&!e.required)return r();V.required(e,t,n,i,o),t!==void 0&&V.type(e,t,n,i,o)}r(i)}var BA="enum";function AA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ae(t)&&!e.required)return r();V.required(e,t,n,i,o),t!==void 0&&V[BA](e,t,n,i,o)}r(i)}function xA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ae(t,"string")&&!e.required)return r();V.required(e,t,n,i,o),ae(t,"string")||V.pattern(e,t,n,i,o)}r(i)}function kA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ae(t,"date")&&!e.required)return r();if(V.required(e,t,n,i,o),!ae(t,"date")){var c;t instanceof Date?c=t:c=new Date(t),V.type(e,c,n,i,o),c&&V.range(e,c.getTime(),n,i,o)}}r(i)}function DA(e,t,r,n,o){var i=[],u=Array.isArray(t)?"array":typeof t;V.required(e,t,n,i,o,u),r(i)}function Ns(e,t,r,n,o){var i=e.type,u=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(ae(t,i)&&!e.required)return r();V.required(e,t,n,u,o,i),ae(t,i)||V.type(e,t,n,u,o)}r(u)}function NA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ae(t)&&!e.required)return r();V.required(e,t,n,i,o)}r(i)}var so={string:OA,method:wA,number:$A,boolean:PA,regexp:RA,integer:SA,float:EA,array:TA,object:IA,enum:AA,pattern:xA,date:kA,url:Ns,hex:Ns,email:Ns,required:DA,any:NA};function Fs(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var js=Fs();function rr(e){this.rules=null,this._messages=js,this.define(e)}rr.prototype={messages:function(t){return t&&(this._messages=jg(Fs(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if(typeof t!="object"||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var r,n;for(r in t)t.hasOwnProperty(r)&&(n=t[r],this.rules[r]=Array.isArray(n)?n:[n])},validate:function(t,r,n){var o=this;r===void 0&&(r={}),n===void 0&&(n=function(){});var i=t,u=r,c=n;if(typeof u=="function"&&(c=u,u={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(),Promise.resolve();function l(d){var b,y=[],g={};function O(w){if(Array.isArray(w)){var P;y=(P=y).concat.apply(P,w)}else y.push(w)}for(b=0;b<d.length;b++)O(d[b]);y.length?g=ks(y):(y=null,g=null),c(y,g)}if(u.messages){var a=this.messages();a===js&&(a=Fs()),jg(a,u.messages),u.messages=a}else u.messages=this.messages();var f,s,p={},_=u.keys||Object.keys(this.rules);_.forEach(function(d){f=o.rules[d],s=i[d],f.forEach(function(b){var y=b;typeof y.transform=="function"&&(i===t&&(i=Pt({},i)),s=i[d]=y.transform(s)),typeof y=="function"?y={validator:y}:y=Pt({},y),y.validator=o.getValidationMethod(y),y.field=d,y.fullField=y.fullField||d,y.type=o.getType(y),y.validator&&(p[d]=p[d]||[],p[d].push({rule:y,value:s,source:i,field:d}))})});var h={};return dA(p,u,function(d,b){var y=d.rule,g=(y.type==="object"||y.type==="array")&&(typeof y.fields=="object"||typeof y.defaultField=="object");g=g&&(y.required||!y.required&&d.value),y.field=d.field;function O(E,T){return Pt(Pt({},T),{},{fullField:y.fullField+"."+E})}function w(E){E===void 0&&(E=[]);var T=E;if(Array.isArray(T)||(T=[T]),!u.suppressWarning&&T.length&&rr.warning("async-validator:",T),T.length&&y.message!==void 0&&(T=[].concat(y.message)),T=T.map(Fg(y)),u.first&&T.length)return h[y.field]=1,b(T);if(!g)b(T);else{if(y.required&&!d.value)return y.message!==void 0?T=[].concat(y.message).map(Fg(y)):u.error&&(T=[u.error(y,Ke(u.messages.required,y.field))]),b(T);var B={};if(y.defaultField)for(var I in d.value)d.value.hasOwnProperty(I)&&(B[I]=y.defaultField);B=Pt(Pt({},B),d.rule.fields);for(var A in B)if(B.hasOwnProperty(A)){var x=Array.isArray(B[A])?B[A]:[B[A]];B[A]=x.map(O.bind(null,A))}var k=new rr(B);k.messages(u.messages),d.rule.options&&(d.rule.options.messages=u.messages,d.rule.options.error=u.error),k.validate(d.value,d.rule.options||u,function(N){var D=[];T&&T.length&&D.push.apply(D,T),N&&N.length&&D.push.apply(D,N),b(D.length?D:null)})}}var P;y.asyncValidator?P=y.asyncValidator(y,d.value,w,d.source,u):y.validator&&(P=y.validator(y,d.value,w,d.source,u),P===!0?w():P===!1?w(y.message||y.field+" fails"):P instanceof Array?w(P):P instanceof Error&&w(P.message)),P&&P.then&&P.then(function(){return w()},function(E){return w(E)})},function(d){l(d)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!so.hasOwnProperty(t.type))throw new Error(Ke("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if(typeof t.validator=="function")return t.validator;var r=Object.keys(t),n=r.indexOf("message");return n!==-1&&r.splice(n,1),r.length===1&&r[0]==="required"?so.required:so[this.getType(t)]||!1}},rr.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");so[t]=r},rr.warning=kg,rr.messages=js,rr.validators=so;var FA={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 jA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new rr(e);return r.messages(Object.assign(FA,t)),r}var MA=new P2;function Ms(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function LA(e){if(Array.isArray(e))return e}function VA(e){if(Array.isArray(e))return Ms(e)}function Lg(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(a){r(a);return}c.done?t(l):Promise.resolve(l).then(n,o)}function Vg(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){Lg(i,n,o,u,c,"next",l)}function c(l){Lg(i,n,o,u,c,"throw",l)}u(void 0)})}}function CA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zA(e,t,r){return t&&Cg(e.prototype,t),r&&Cg(e,r),e}function W(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zg(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Hg(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function HA(){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 qA(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function qg(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){W(e,o,r[o])})}return e}function UA(e){return LA(e)||Hg(e)||Ug(e)||HA()}function Ls(e){return VA(e)||Hg(e)||Ug(e)||qA()}function Ug(e,t){if(!!e){if(typeof e=="string")return Ms(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ms(e,t)}}function Wg(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(a){return function(f){return l([a,f])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(f){a=[6,f],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var K=function(){function t(r){var n=this;CA(this,t);var o,i,u,c,l;W(this,"id",void 0),W(this,"name",void 0),W(this,"icon",void 0),W(this,"type",void 0),W(this,"controlType",void 0),W(this,"props",void 0),W(this,"setting",[]),W(this,"fieldType",void 0),W(this,"eventKeys",[]),W(this,"customEvents",[]),W(this,"parent",null),W(this,"updateSetting",Gg),W(this,"removeSetting",Kg),this._callControlHooks("preInstance",r);var a=zg(this,t)?this.constructor:void 0,f=a.controlName,s=a.controlIcon,p=a.controlType,_=a.controlFieldType,h=a.controlEventKeys,d=a.controlCustomEvents,b=a.name,y=a.setting;f&&s&&p||pg("The ".concat(b," controlName,controlIcon,controlType is not define"));var g;this.id=(g=(o=r)===null||o===void 0?void 0:o.id)!==null&&g!==void 0?g:Dt(10),this.name=f,this.icon=s;var O;this.type=(O=(i=r)===null||i===void 0?void 0:i.type)!==null&&O!==void 0?O:p,this.props=new pe((u=r)===null||u===void 0?void 0:u.props,(zg(this,t)?this.constructor:void 0).controlName);var w;this.controlType=(w=(c=r)===null||c===void 0?void 0:c.controlType)!==null&&w!==void 0?w:"base",this.setting=Yt(y);var P;this.fieldType=(P=(l=r)===null||l===void 0?void 0:l.fieldType)!==null&&P!==void 0?P:_,this.eventKeys=Yt(h),this.customEvents=Yt(d),Promise.resolve().then(function(){n._callControlHooks("postInstance",r)})}return zA(t,[{key:"rules",get:function(){var n=this.props.constructor.Rules;return n?new n(this.props):{}}},{key:"_callControlHooks",value:function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];var u,c=UA(o),l=c[0],a=c.slice(1);return(u=MA).emit.apply(u,[l,this].concat(Ls(a)))}},{key:"preUpdate",value:function(n,o){this._callControlHooks("preUpdateProps",n,o)}},{key:"postUpdate",value:function(n,o){this._callControlHooks("postUpdateProps",n,o)}},{key:"updateProps",value:function(n,o){this.preUpdate(n,o),s2(this.props,n,o),this.postUpdate(n,o)}},{key:"preValidate",value:function(){var n=this;return Vg(function(){var o,i,u;return Wg(this,function(c){switch(c.label){case 0:return o=qg({},n.rules),[4,n._callControlHooks("preValidate",o)];case 1:return i=c.sent(),u=i[i.length-1],[2,u===!1?void 0:u]}})})()}},{key:"validate",value:function(n,o){var i=this;return Vg(function(){var u,c,l,a;return Wg(this,function(f){switch(f.label){case 0:return[4,i.preValidate()];case 1:u=f.sent(),c=u!==void 0?u:qg({},i.rules),Array.isArray(o)&&o.forEach(function(s){c.hasOwnProperty(s)&&delete c[s]}),l=jA(c,n),f.label=2;case 2:return f.trys.push([2,4,,5]),[4,l.validate(i.props)];case 3:return f.sent(),[2,!0];case 4:throw a=f.sent(),a.control||(a.control=i),a;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,o=this.fieldType,i=this.id,u=this.type,c=this.props,l=c.dataBind,a=c.datasourceBind,f=c.optionConfig,s=c.caption,p=c.required,_=c.maxLength,h=c.options,d=c.encrypted,b=c.encryptedMode;if(!(!o&&!l&&!a)){var y={parentId:n,fieldType:o,controlId:i,caption:s,type:u,props:{}};switch(l&&(y.dataBind=l),f){case"datasource":case void 0:a&&(y.datasourceBind=a);break;case"custom":y.props.options=h;break}return p!==void 0&&(y.required=p),_!==void 0&&(y.maxLength=_),d!==void 0&&(y.encrypted=d),b!==void 0&&(y.encryptedMode=b),y}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Yt(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(n,o){if(n==="setting"){if(o.add){var i;(i=this.setting).push.apply(i,Ls(o.add))}o.remove&&this.removeSettingItem(o.remove),o.update}}}]),t}();W(K,"controlName","\u63A7\u4EF6"),W(K,"controlIcon","icon"),W(K,"controlType","control"),W(K,"controlFieldType",void 0),W(K,"controlEventKeys",[]),W(K,"controlCustomEvents",[]),W(K,"setting",[]),W(K,"__is_control__",!0),W(K,"removeSettingItem",Kg),W(K,"updateSettingItem",Gg);function Kg(e){var t=this,r=Array.isArray(e)?e:[e];r.forEach(function(n){var o,i=typeof n!="string",u=(o=t.setting)===null||o===void 0?void 0:o.findIndex(function(a){return a.key===(i?n.key:n)});if(u!==-1){var c,l;i?t.setting[u].showItems=(c=t.setting[u].showItems)===null||c===void 0?void 0:c.filter(function(a){return!n.hideItems.includes(a)}):t.setting.splice(u,1),i&&!(!((l=t.setting[u].showItems)===null||l===void 0)&&l.length)&&t.setting.splice(u,1)}})}function Gg(e,t){var r=this,n=typeof e=="string"?[e]:e;n.forEach(function(o){var i=r.setting.find(function(a){return a.key===o});if(i){if(typeof t=="boolean")i.visible=t;else if(typeof t=="object"){var u,c=(u=t.type)!==null&&u!==void 0?u:"replace";if(c==="replace")i.showItems=t.showItems;else{var l;(l=i.showItems).push.apply(l,Ls(t.showItems))}}}})}function WA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function KA(e,t,r){return t&&Xg(e.prototype,t),r&&Xg(e,r),e}function Ye(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function GA(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var nr=function(){function t(r){WA(this,t);var n,o,i,u,c,l;Ye(this,"id",void 0),Ye(this,"type",void 0),Ye(this,"controlType",void 0),Ye(this,"props",void 0),Ye(this,"fieldType",void 0),Ye(this,"customEvents",[]),Ye(this,"pageStatus",void 0),Ye(this,"parent",null);var a=GA(this,t)?this.constructor:void 0,f=a.controlType,s=a.controlFieldType,p=a.name,_=a.controlCustomEvents;f||pg("The ".concat(p," controlType is not define"));var h;this.id=(h=(n=r)===null||n===void 0?void 0:n.id)!==null&&h!==void 0?h:Dt(10);var d;this.type=(d=(o=r)===null||o===void 0?void 0:o.type)!==null&&d!==void 0?d:f,this.props=new pe((i=r)===null||i===void 0?void 0:i.props),this.customEvents=_;var b;this.controlType=(b=(u=r)===null||u===void 0?void 0:u.controlType)!==null&&b!==void 0?b:"base";var y;this.fieldType=(y=(c=r)===null||c===void 0?void 0:c.fieldType)!==null&&y!==void 0?y:s;var g;this.pageStatus=(g=(l=r)===null||l===void 0?void 0:l.pageStatus)!==null&&g!==void 0?g:Ts.UNKNOWN}return KA(t,[{key:"rules",get:function(){var n=this.props.constructor.RuntimeRules;if(n){var o=new n(this.props);return Array.from(o)}return[]}}]),t}();Ye(nr,"controlType","control"),Ye(nr,"controlFieldType",void 0),Ye(nr,"__is_control__",!0),Ye(nr,"controlCustomEvents",[]);function Vs(e){e.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),e.hasOwnProperty("options")||(this.options={type:"any"}),e.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),e.hasOwnProperty("options")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="custom")?this.options=[{type:"array",message:$.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:$.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:$.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(r,n,o){n.length===0&&o($.getMessage("optionIsRequired")),o()}},{type:"array",validator:function(r,n,o){var i=n.map(function(c){return c.value}),u=y2(i);i.length!==u.length?o($.getMessage("optionIdIsRepeat")):o()},message:$.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:$.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:$.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:$.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:$.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:$.getMessage("isNotArray")},{type:"array",validator:function(r,n,o){n.length===0&&o($.getMessage("pleaseBindAtLeastOneDisplayValue")),o()},message:$.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:$.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:$.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:$.getMessage("isNotBoolean")}}}}]}}])}function Wo(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:$.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:$.getMessage(r?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:$.getMessage(r?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:$.getMessage(r?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:$.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:$.getMessage("isNotString")},key:{type:"string",required:!0,message:$.getMessage("isNotString")},value:[{type:"array",message:$.getMessage("isNotArray")},{type:"array",validator:function(o,i,u){i.length===0&&u($.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),u()},message:$.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:$.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:$.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:$.getMessage("isNotBoolean")}}}}]}}]}function XA(e){var t,r;return((t=e)===null||t===void 0?void 0:t.dataCode)!==void 0&&((r=e)===null||r===void 0?void 0:r.fieldCode)!==void 0}function G(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ko(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function X(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Go(e){return Go=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Go(e)}function Xo(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cs(e,t)}function JA(e,t){return t&&(QA(t)==="object"||typeof t=="function")?t:G(e)}function Cs(e,t){return Cs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cs(e,t)}function QA(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jo(e){var t=ZA();return function(){var n=Go(e),o;if(t){var i=Go(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JA(this,o)}}var Pe=function(e){Xo(r,e);var t=Jo(r);function r(n){Ko(this,r);var o;o=t.call(this,n),X(G(o),"dataBind",{}),X(G(o),"caption",{type:"string",required:!0,message:$.getMessage("pleaseEnterCaption")}),X(G(o),"isHideCaption",{type:"boolean"}),X(G(o),"labelPosition",{type:"enum",enum:["top","left"]}),X(G(o),"defaultState",{type:"enum",enum:["default","readonly"]}),X(G(o),"required",{type:"boolean"}),X(G(o),"captionTip",{type:"string",required:!1,message:$.getMessage("pleaseEnterCaptionTip")});var i={fieldCode:{type:"string",required:!0,message:$.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:$.getMessage("pleaseEnterFieldCode")}};if(XA(n.dataBind))o.dataBind={type:"object",required:!0,fields:Yt(i),message:$.getMessage("pleaseEnterFieldCode")};else{var u={type:"object",required:!0,fields:{},message:$.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(c){u.fields[c]={type:"object",required:!0,fields:Yt(i),message:$.getMessage("pleaseEnterFieldCode")}}),o.dataBind=u}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(le),J=function(e){Xo(r,e);var t=Jo(r);function r(n){Ko(this,r);var o;return o=t.call(this,n),o.push({type:"string",required:n.isHide?!1:n.required,message:n.requiredMessage!==""?n.requiredMessage:$.getMessage("runtimeRequired",{caption:n.caption})}),o}return r}(Rr),C=function(e){Xo(r,e);var t=Jo(r);function r(n){Ko(this,r);var o,i,u,c,l,a,f,s,p,_,h,d;o=t.call(this,n),X(G(o),"caption",void 0),X(G(o),"isHideCaption",void 0),X(G(o),"isShowCaptionTip",void 0),X(G(o),"captionTip",void 0),X(G(o),"labelPosition",void 0),X(G(o),"dataBind",void 0),X(G(o),"defaultValue",void 0),X(G(o),"placeholder",void 0),X(G(o),"defaultState",void 0),X(G(o),"required",void 0),X(G(o),"requiredMessage",void 0);var b;o.caption=(b=(i=n)===null||i===void 0?void 0:i.caption)!==null&&b!==void 0?b:"";var y;o.isHideCaption=(y=(u=n)===null||u===void 0?void 0:u.isHideCaption)!==null&&y!==void 0?y:!1;var g;o.isShowCaptionTip=(g=(c=n)===null||c===void 0?void 0:c.isShowCaptionTip)!==null&&g!==void 0?g:!1;var O;o.captionTip=(O=(l=n)===null||l===void 0?void 0:l.captionTip)!==null&&O!==void 0?O:"";var w;o.defaultState=(w=(a=n)===null||a===void 0?void 0:a.defaultState)!==null&&w!==void 0?w:"default";var P;o.labelPosition=(P=(f=n)===null||f===void 0?void 0:f.labelPosition)!==null&&P!==void 0?P:"top";var E;o.placeholder=(E=(s=n)===null||s===void 0?void 0:s.placeholder)!==null&&E!==void 0?E:"";var T;o.required=(T=(p=n)===null||p===void 0?void 0:p.required)!==null&&T!==void 0?T:!1;var B;o.requiredMessage=(B=(_=n)===null||_===void 0?void 0:_.requiredMessage)!==null&&B!==void 0?B:"",o.dataBind=new ft((h=n)===null||h===void 0?void 0:h.dataBind);var I;return o.defaultValue=(I=(d=n)===null||d===void 0?void 0:d.defaultValue)!==null&&I!==void 0?I:"",o}return r}(pe);X(C,"Rules",Pe),X(C,"RuntimeRules",J);var Jr=function(e){Xo(r,e);var t=Jo(r);function r(n){Ko(this,r);var o;return o=t.call(this,n),X(G(o),"optionConfig",{type:"enum",enum:["custom","datasource"],message:$.getMessage("PleaseSelectTheCorrectOptionSettings")}),X(G(o),"options",[{type:"array",message:$.getMessage("isNotArray")}]),X(G(o),"datasourceBind",[{type:"object",message:$.getMessage("isNotObject")}]),Vs.call(G(o),n),o}return r}(Pe);function zs(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zo(e){return Zo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zo(e)}function ex(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hs(e,t)}function tx(e,t){return t&&(rx(t)==="object"||typeof t=="function")?t:zs(e)}function Hs(e,t){return Hs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hs(e,t)}function rx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ox(e){var t=nx();return function(){var n=Zo(e),o;if(t){var i=Zo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tx(this,o)}}var H=function(e){ex(r,e);var t=ox(r);function r(n){YA(this,r);var o,i;return o=t.call(this,n),Qo(zs(o),"controlType","form"),Qo(zs(o),"props",void 0),o.props=new C((i=n)===null||i===void 0?void 0:i.props),o}return r}(K);Qo(H,"controlEventKeys",["on_change","on_focus","on_blur"]),Qo(H,"controlCustomAttributes",void 0);function Yo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ix(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qs(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ei(e){return ei=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ei(e)}function ux(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Us(e,t)}function cx(e,t){return t&&(lx(t)==="object"||typeof t=="function")?t:Yo(e)}function Us(e,t){return Us=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Us(e,t)}function lx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ax(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fx(e){var t=ax();return function(){var n=ei(e),o;if(t){var i=ei(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cx(this,o)}}var q=function(e){ux(r,e);var t=fx(r);function r(n){ix(this,r);var o,i;return o=t.call(this,n),qs(Yo(o),"controlType","form"),qs(Yo(o),"props",void 0),qs(Yo(o),"value",void 0),o.props=new C((i=n)===null||i===void 0?void 0:i.props),o}return r}(nr);function sx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function px(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ti(e){return ti=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ti(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&&Ws(e,t)}function yx(e,t){return t&&(dx(t)==="object"||typeof t=="function")?t:sx(e)}function Ws(e,t){return Ws=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ws(e,t)}function dx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hx(e){var t=vx();return function(){var n=ti(e),o;if(t){var i=ti(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yx(this,o)}}var de=function(e){_x(r,e);var t=hx(r);function r(n){return px(this,r),t.call(this,n)}return r}(pe);function Ks(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function bx(e){if(Array.isArray(e))return Ks(e)}function gx(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function mx(){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 Jg(e){return bx(e)||gx(e)||Ox(e)||mx()}function Ox(e,t){if(!!e){if(typeof e=="string")return Ks(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ks(e,t)}}function wx(e,t){var r;!((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0)&&r.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function Qg(e,t){e.parent=t,wx(e,"parent")}function $x(e,t){e.forEach(function(r){Qg(r,t)})}var Zg=Symbol("targetKey");function Yg(e){var t;return(t=e[Zg])!==null&&t!==void 0?t:e}function em(e,t){return $x(e,t),new Proxy(e,{get:function(n,o){for(var i=arguments.length,u=new Array(i>2?i-2:0),c=2;c<i;c++)u[c-2]=arguments[c];var l;return o===Zg?n:(l=Reflect).get.apply(l,[n,o].concat(Jg(u)))},set:function(n,o,i){for(var u=arguments.length,c=new Array(u>3?u-3:0),l=3;l<u;l++)c[l-3]=arguments[l];var a;if(vs(e)&&o==="length"&&i===e.length)return!0;var f=(a=Reflect).set.apply(a,[n,o,i].concat(Jg(c)));return vg(i)&&Qg(i,t),f}})}function Ft(e,t,r,n){var o=n!=null?n:e,i=em(Yg(r!=null?r:[]),o);Object.defineProperty(e,t,{get:function(){return i},set:function(c){i=em(Yg(c),o)},enumerable:!0})}function Gs(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Px(e){if(Array.isArray(e))return Gs(e)}function Sr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tm(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(a){r(a);return}c.done?t(l):Promise.resolve(l).then(n,o)}function Rx(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){tm(i,n,o,u,c,"next",l)}function c(l){tm(i,n,o,u,c,"throw",l)}u(void 0)})}}function Sx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ex(e,t,r){return t&&rm(e.prototype,t),r&&rm(e,r),e}function or(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qr(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Qr=Reflect.get:Qr=function(o,i,u){var c=Fx(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Qr(e,t,r||e)}function ir(e){return ir=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ir(e)}function Tx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xs(e,t)}function Ix(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Bx(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ax(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function xx(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){or(e,o,r[o])})}return e}function kx(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Dx(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):kx(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Nx(e,t){return t&&(jx(t)==="object"||typeof t=="function")?t:Sr(e)}function Xs(e,t){return Xs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xs(e,t)}function Fx(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ir(e),e!==null););return e}function nm(e){return Px(e)||Bx(e)||Mx(e)||Ax()}function jx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Mx(e,t){if(!!e){if(typeof e=="string")return Gs(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Gs(e,t)}}function Lx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vx(e){var t=Lx();return function(){var n=ir(e),o;if(t){var i=ir(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Nx(this,o)}}function Cx(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(a){return function(f){return l([a,f])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(f){a=[6,f],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var zx=1e4,ve=function(t){Tx(n,t);var r=Vx(n);function n(o){Sx(this,n);var i,u,c;i=r.call(this,o),or(Sr(i),"controlType","layout"),or(Sr(i),"children",void 0),or(Sr(i),"excludes",void 0),or(Sr(i),"childrenMaxLength",void 0),or(Sr(i),"props",void 0);var l=Ix(this,n)?this.constructor:void 0,a=l.excludes,f=l.childrenMaxLength;return i.props=new de((u=o)===null||u===void 0?void 0:u.props),Ft(Sr(i),"children",(c=o)===null||c===void 0?void 0:c.children),i.excludes=Yt(a),i.childrenMaxLength=f,i}return Ex(n,[{key:"judgeExcludesChildren",value:function(i){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i)}},{key:"judgeJoinChildren",value:function(i){var u=this.judgeExcludesChildren(i);return u&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(i,u){var c=this,l=this,a=function(){return Qr(ir(n.prototype),"validate",c)};return Rx(function(){return Cx(this,function(f){switch(f.label){case 0:return[4,a().call(l,i,u)];case 1:return f.sent(),[4,Promise.all(l.children.map(function(s){return s.validate(i,u)}))];case 2:return f.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=Qr(ir(n.prototype),"toDataBindModel",this).call(this),c=u?[u]:[];return this.children.reduce(function(l,a){var f=a.toDataBindModel(i);if(Array.isArray(f)){var s=f.filter(function(p){return!!p});return nm(l).concat(nm(s))}return f&&l.push(f),l},c)}},{key:"toSchema",value:function(){var i=Qr(ir(n.prototype),"toSchema",this).call(this),u=this.children.map(function(c){var l=c.toSchema();return l});return Dx(xx({},i),{children:u})}}]),n}(K);or(ve,"excludes",!1),or(ve,"childrenMaxLength",zx);function po(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Js(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ri(e){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ri(e)}function 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&&Qs(e,t)}function Ux(e,t){return t&&(Wx(t)==="object"||typeof t=="function")?t:po(e)}function Qs(e,t){return Qs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qs(e,t)}function Wx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Kx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gx(e){var t=Kx();return function(){var n=ri(e),o;if(t){var i=ri(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ux(this,o)}}var Er=function(e){qx(r,e);var t=Gx(r);function r(n){Hx(this,r);var o,i,u;return o=t.call(this,n),Js(po(o),"controlType","layout"),Js(po(o),"children",void 0),Js(po(o),"props",void 0),o.props=new de((i=n)===null||i===void 0?void 0:i.props),Ft(po(o),"children",(u=n)===null||u===void 0?void 0:u.children),o}return r}(nr);function _o(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function om(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ni(e){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ni(e)}function Jx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zs(e,t)}function Qx(e,t){return t&&(Zx(t)==="object"||typeof t=="function")?t:_o(e)}function Zs(e,t){return Zs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zs(e,t)}function Zx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ek(e){var t=Yx();return function(){var n=ni(e),o;if(t){var i=ni(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Qx(this,o)}}var Ys=function(e){Jx(r,e);var t=ek(r);function r(n,o){Xx(this,r);var i,u,c;return i=t.call(this,o),om(_o(i),"headers",void 0),om(_o(i),"footers",void 0),Ft(_o(i),"headers",(u=o)===null||u===void 0?void 0:u.headers,n),Ft(_o(i),"footers",(c=o)===null||c===void 0?void 0:c.footers,n),i}return r}(pe);function ep(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function tk(e){if(Array.isArray(e))return ep(e)}function oi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function im(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(a){r(a);return}c.done?t(l):Promise.resolve(l).then(n,o)}function rk(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){im(i,n,o,u,c,"next",l)}function c(l){im(i,n,o,u,c,"throw",l)}u(void 0)})}}function nk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function um(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ok(e,t,r){return t&&um(e.prototype,t),r&&um(e,r),e}function ii(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zr(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Zr=Reflect.get:Zr=function(o,i,u){var c=fk(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Zr(e,t,r||e)}function ur(e){return ur=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ur(e)}function 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&&tp(e,t)}function uk(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ck(){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 cm(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){ii(e,o,r[o])})}return e}function lk(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function lm(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):lk(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function ak(e,t){return t&&(sk(t)==="object"||typeof t=="function")?t:oi(e)}function tp(e,t){return tp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tp(e,t)}function fk(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ur(e),e!==null););return e}function am(e){return tk(e)||uk(e)||pk(e)||ck()}function sk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pk(e,t){if(!!e){if(typeof e=="string")return ep(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ep(e,t)}}function _k(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yk(e){var t=_k();return function(){var n=ur(e),o;if(t){var i=ur(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ak(this,o)}}function dk(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(a){return function(f){return l([a,f])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(f){a=[6,f],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var rp=function(e){ik(r,e);var t=yk(r);function r(n){nk(this,r);var o,i;return o=t.call(this,n),ii(oi(o),"controlType","list"),ii(oi(o),"props",void 0),o.props=new Ys(oi(o),(i=n)===null||i===void 0?void 0:i.props),o}return ok(r,[{key:"validate",value:function(o,i){var u=this,c=this,l=function(){return Zr(ur(r.prototype),"validate",u)};return rk(function(){return dk(this,function(a){switch(a.label){case 0:return[4,l().call(c,o)];case 1:return a.sent(),[4,Promise.all(c.props.headers.map(function(f){return f.validate(o,i)}))];case 2:return a.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var o=Zr(ur(r.prototype),"toDataBindModel",this).call(this),i=o?[o]:[],u=this.id;return this.props.headers.reduce(function(c,l){var a=l.toDataBindModel(u);if(Array.isArray(a)){var f=a.filter(function(s){return!!s});return am(c).concat(am(f))}return a&&c.push(a),c},i)}},{key:"toSchema",value:function(){var o,i,u=Zr(ur(r.prototype),"toSchema",this).call(this),c=this.props.headers.map(function(a){return a.toSchema()}),l=(i=this.props)===null||i===void 0||(o=i.footers)===null||o===void 0?void 0:o.map(function(a){if(a)return a.toSchema()});return lm(cm({},u),{props:lm(cm({},this.props),{headers:c,footers:l})})}}]),r}(K);ii(rp,"controlFieldType",S.LIST);function he(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function np(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Re(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ui(e){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ui(e)}function op(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ip(e,t)}function vk(e,t){return t&&(hk(t)==="object"||typeof t=="function")?t:he(e)}function ip(e,t){return ip=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ip(e,t)}function hk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function up(e){var t=bk();return function(){var n=ui(e),o;if(t){var i=ui(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vk(this,o)}}var jt=function(e){op(r,e);var t=up(r);function r(n){np(this,r);var o;return o=t.call(this,n),Re(he(o),"caption",{type:"string",required:!0,message:$.getMessage("pleaseEnterCaption")}),Re(he(o),"width",{type:"number",required:!1,message:$.getMessage("pleaseEnterColumnWidth")}),o.width.required=n.widthType==="px",o}return r}(le),ie=function(e){op(r,e);var t=up(r);function r(n){np(this,r);var o,i,u,c,l,a,f,s,p,_,h;o=t.call(this,n),Re(he(o),"widthType",void 0),Re(he(o),"width",void 0),Re(he(o),"caption",void 0),Re(he(o),"dataBind",void 0),Re(he(o),"autoWidth",void 0),Re(he(o),"fixed",void 0),Re(he(o),"sort",void 0),Re(he(o),"align",void 0),Re(he(o),"colSpan",void 0),Re(he(o),"autoHeight",void 0);var d;o.width=(d=(i=n)===null||i===void 0?void 0:i.width)!==null&&d!==void 0?d:150,o.widthType=((u=n)===null||u===void 0?void 0:u.widthType)||"auto";var b;o.caption=(b=(c=n)===null||c===void 0?void 0:c.caption)!==null&&b!==void 0?b:"";var y;o.fixed=(y=(l=n)===null||l===void 0?void 0:l.fixed)!==null&&y!==void 0?y:"none",o.autoWidth=new $g((a=n)===null||a===void 0?void 0:a.autoWidth),o.dataBind=new ft((f=n)===null||f===void 0?void 0:f.dataBind);var g;o.sort=(g=(s=n)===null||s===void 0?void 0:s.sort)!==null&&g!==void 0?g:!0,o.align=(p=n)===null||p===void 0?void 0:p.align,o.colSpan=(_=n)===null||_===void 0?void 0:_.colSpan;var O;return o.autoHeight=(O=(h=n)===null||h===void 0?void 0:h.autoHeight)!==null&&O!==void 0?O:!1,o}return r}(pe);Re(ie,"Rules",jt);var fm=function(e){op(r,e);var t=up(r);function r(n){np(this,r);var o;return o=t.call(this,n),Re(he(o),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:$.getMessage("PleaseSelectTheCorrectOptionSettings")}),Re(he(o),"options",[{type:"array",message:$.getMessage("isNotArray")}]),Re(he(o),"datasourceBind",[{type:"object",message:$.getMessage("isNotObject")}]),Vs.call(he(o),n),o}return r}(jt);function cp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ci(e){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ci(e)}function mk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lp(e,t)}function Ok(e,t){return t&&(wk(t)==="object"||typeof t=="function")?t:cp(e)}function lp(e,t){return lp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lp(e,t)}function wk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $k(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pk(e){var t=$k();return function(){var n=ci(e),o;if(t){var i=ci(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ok(this,o)}}var be=function(e){mk(r,e);var t=Pk(r);function r(n){gk(this,r);var o,i;return o=t.call(this,n),sm(cp(o),"controlType","column"),sm(cp(o),"props",void 0),o.props=new ie((i=n)===null||i===void 0?void 0:i.props),o}return r}(K);function ap(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function li(e){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},li(e)}function Sk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fp(e,t)}function Ek(e,t){return t&&(Tk(t)==="object"||typeof t=="function")?t:ap(e)}function fp(e,t){return fp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fp(e,t)}function Tk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ik(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bk(e){var t=Ik();return function(){var n=li(e),o;if(t){var i=li(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ek(this,o)}}var ge=function(e){Sk(r,e);var t=Bk(r);function r(n){Rk(this,r);var o,i;return o=t.call(this,n),pm(ap(o),"controlType","column"),pm(ap(o),"props",void 0),o.props=new ie((i=n)===null||i===void 0?void 0:i.props),o}return r}(nr);function _m(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ak(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xk(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ai(e){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ai(e)}function 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&&sp(e,t)}function Dk(e,t){return t&&(Nk(t)==="object"||typeof t=="function")?t:_m(e)}function sp(e,t){return sp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sp(e,t)}function Nk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jk(e){var t=Fk();return function(){var n=ai(e),o;if(t){var i=ai(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Dk(this,o)}}var pp=function(e){kk(r,e);var t=jk(r);function r(n){Ak(this,r);var o,i;return o=t.call(this,n),xk(_m(o),"dataBind",void 0),o.dataBind=new ft((i=n)===null||i===void 0?void 0:i.dataBind),o}return r}(de);function _p(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ym(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fi(e){return fi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fi(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&&yp(e,t)}function Vk(e,t){return t&&(Ck(t)==="object"||typeof t=="function")?t:_p(e)}function yp(e,t){return yp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yp(e,t)}function Ck(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hk(e){var t=zk();return function(){var n=fi(e),o;if(t){var i=fi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vk(this,o)}}var qk=function(e){Lk(r,e);var t=Hk(r);function r(n){Mk(this,r);var o,i;return o=t.call(this,n),ym(_p(o),"controlType","search"),ym(_p(o),"props",void 0),o.props=new pp((i=n)===null||i===void 0?void 0:i.props),o}return r}(ve);function dp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function si(e){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},si(e)}function 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&&vp(e,t)}function Kk(e,t){return t&&(Gk(t)==="object"||typeof t=="function")?t:dp(e)}function vp(e,t){return vp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vp(e,t)}function Gk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jk(e){var t=Xk();return function(){var n=si(e),o;if(t){var i=si(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kk(this,o)}}var Qk=function(e){Wk(r,e);var t=Jk(r);function r(n){Uk(this,r);var o,i;return o=t.call(this,n),dm(dp(o),"controlType","search"),dm(dp(o),"props",void 0),o.props=new pp((i=n)===null||i===void 0?void 0:i.props),o}return r}(Er);function Tr(e){e.hasOwnProperty("linkOperationOption")&&e.hasOwnProperty("showLinkOperation")&&e.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:$.getMessage("pleaseEnterForm")}}}])}function Yr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pi(e){return pi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pi(e)}function Yk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hp(e,t)}function eD(e,t){return t&&(tD(t)==="object"||typeof t=="function")?t:Yr(e)}function hp(e,t){return hp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hp(e,t)}function tD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nD(e){var t=rD();return function(){var n=pi(e),o;if(t){var i=pi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eD(this,o)}}var oD=function(e){Yk(r,e);var t=nD(r);function r(n){Zk(this,r);var o,i,u,c,l,a;o=t.call(this,n),yo(Yr(o),"content",void 0),yo(Yr(o),"fontSize",void 0),yo(Yr(o),"color",void 0),yo(Yr(o),"icon",void 0),yo(Yr(o),"showState",void 0);var f;o.fontSize=(f=(i=n)===null||i===void 0?void 0:i.fontSize)!==null&&f!==void 0?f:"14px";var s;o.color=(s=(u=n)===null||u===void 0?void 0:u.color)!==null&&s!==void 0?s:"#646A73";var p;o.icon=(p=(c=n)===null||c===void 0?void 0:c.icon)!==null&&p!==void 0?p:"page-hint";var _;o.showState=(_=(l=n)===null||l===void 0?void 0:l.showState)!==null&&_!==void 0?_:"text";var h;return o.content=(h=(a=n)===null||a===void 0?void 0:a.content)!==null&&h!==void 0?h:"\u8BF4\u660E\u6587\u5B57",o}return r}(pe);function vm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uD(e,t,r){return t&&hm(e.prototype,t),r&&hm(e,r),e}function bm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _i(e){return _i=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_i(e)}function cD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bp(e,t)}function lD(e,t){return t&&(aD(t)==="object"||typeof t=="function")?t:vm(e)}function bp(e,t){return bp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bp(e,t)}function aD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sD(e){var t=fD();return function(){var n=_i(e),o;if(t){var i=_i(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lD(this,o)}}var pD=function(e){cD(r,e);var t=sD(r);function r(n){iD(this,r);var o,i;return o=t.call(this,n),bm(vm(o),"props",void 0),o.props=new oD((i=n)===null||i===void 0?void 0:i.props),o}return uD(r,null,[{key:"controlName",get:function(){return"\u8BF4\u660E\u6587\u5B57"}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),r}(K);bm(pD,"setting",[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}]);function yi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _D(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function di(e){return di=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},di(e)}function yD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mp(e,t)}function dD(e,t){return t&&(vD(t)==="object"||typeof t=="function")?t:yi(e)}function mp(e,t){return mp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mp(e,t)}function vD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bD(e){var t=hD();return function(){var n=di(e),o;if(t){var i=di(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dD(this,o)}}var gD=function(e){yD(r,e);var t=bD(r);function r(n){_D(this,r);var o,i,u,c;o=t.call(this,n),gp(yi(o),"content",void 0),gp(yi(o),"url",void 0),gp(yi(o),"openMode",void 0);var l;o.content=(l=(i=n)===null||i===void 0?void 0:i.content)!==null&&l!==void 0?l:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5";var a;o.url=(a=(u=n)===null||u===void 0?void 0:u.url)!==null&&a!==void 0?a:"";var f;return o.openMode=(f=(c=n)===null||c===void 0?void 0:c.openMode)!==null&&f!==void 0?f:"new",o}return r}(pe);function gm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function OD(e,t,r){return t&&mm(e.prototype,t),r&&mm(e,r),e}function Op(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vi(e){return vi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vi(e)}function wD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $D(e,t){return t&&(PD(t)==="object"||typeof t=="function")?t:gm(e)}function wp(e,t){return wp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wp(e,t)}function PD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SD(e){var t=RD();return function(){var n=vi(e),o;if(t){var i=vi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $D(this,o)}}var Om=function(e){wD(r,e);var t=SD(r);function r(n){mD(this,r);var o,i;return o=t.call(this,n),Op(gm(o),"props",void 0),o.props=new gD((i=n)===null||i===void 0?void 0:i.props),o}return OD(r,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),r}(K);Op(Om,"controlEventKeys",["on_click"]),Op(Om,"setting",[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}]);function Rt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ED(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hi(e){return hi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hi(e)}function TD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$p(e,t)}function ID(e,t){return t&&(BD(t)==="object"||typeof t=="function")?t:Rt(e)}function $p(e,t){return $p=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$p(e,t)}function BD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xD(e){var t=AD();return function(){var n=hi(e),o;if(t){var i=hi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ID(this,o)}}var Ge=function(e){TD(r,e);var t=xD(r);function r(n){ED(this,r);var o,i,u,c,l,a,f,s,p,_;o=t.call(this,n),Mt(Rt(o),"content",void 0),Mt(Rt(o),"buttonType",void 0),Mt(Rt(o),"showType",void 0),Mt(Rt(o),"color",void 0),Mt(Rt(o),"icon",void 0),Mt(Rt(o),"defaultState",void 0),Mt(Rt(o),"command",void 0),Mt(Rt(o),"isLoading",void 0),Mt(Rt(o),"optObj",void 0);var h;o.content=(h=(i=n)===null||i===void 0?void 0:i.content)!==null&&h!==void 0?h:"\u6309\u94AE";var d;o.buttonType=(d=(u=n)===null||u===void 0?void 0:u.buttonType)!==null&&d!==void 0?d:"primary";var b;o.showType=(b=(c=n)===null||c===void 0?void 0:c.showType)!==null&&b!==void 0?b:"text";var y;o.color=(y=(l=n)===null||l===void 0?void 0:l.color)!==null&&y!==void 0?y:"primary";var g;o.icon=(g=(a=n)===null||a===void 0?void 0:a.icon)!==null&&g!==void 0?g:"iconfenlei2";var O;o.defaultState=(O=(f=n)===null||f===void 0?void 0:f.defaultState)!==null&&O!==void 0?O:"default";var w;o.command=(w=(s=n)===null||s===void 0?void 0:s.command)!==null&&w!==void 0?w:"custom";var P;o.isLoading=(P=(p=n)===null||p===void 0?void 0:p.isLoading)!==null&&P!==void 0?P:!1;var E;return o.optObj=new tA((E=(_=n)===null||_===void 0?void 0:_.optObj)!==null&&E!==void 0?E:{}),o}return r}(pe);function wm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $m(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function DD(e,t,r){return t&&$m(e.prototype,t),r&&$m(e,r),e}function Pp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bi(e){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bi(e)}function ND(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rp(e,t)}function FD(e,t){return t&&(jD(t)==="object"||typeof t=="function")?t:wm(e)}function Rp(e,t){return Rp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rp(e,t)}function jD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LD(e){var t=MD();return function(){var n=bi(e),o;if(t){var i=bi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FD(this,o)}}var Me=function(e){ND(r,e);var t=LD(r);function r(n){kD(this,r);var o,i;return o=t.call(this,n),Pp(wm(o),"props",void 0),o.props=new Ge((i=n)===null||i===void 0?void 0:i.props),o}return DD(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}(K);Pp(Me,"controlEventKeys",["on_click","on_click_finish"]),Pp(Me,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE]},{key:"super-setting",visible:!0}]);function cr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function M(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Lt;(function(e){e.ShowBizKey="is_show_biz_key",e.ShowSubmitUser="is_show_submit_user",e.ShowSubmitTime="is_show_submit_time",e.ShowSubmitDept="is_show_submit_dept",e.ShowCurrentApprovar="is_show_current_approvar",e.ShowTitle="is_show_title"})(Lt||(Lt={}));var Sp;(function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"})(Sp||(Sp={}));var Ep;(function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"})(Ep||(Ep={}));var Tp=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:Sp.UN_SELECT_ABLE_INTERVAL,dateLimitType:Ep.FILE_IN_TIME,id:Dt(8),value:["",""]};cr(this,e),M(this,"dateConfigType",void 0),M(this,"dateLimitType",void 0),M(this,"id",void 0),M(this,"value",void 0),this.id=t.id,this.dateConfigType=t.dateConfigType,this.dateLimitType=t.dateLimitType,this.value=t.value},Ip;(function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"})(Ip||(Ip={}));var Bp=function e(t){cr(this,e);var r,n;M(this,"id",void 0),M(this,"text",void 0);var o;this.id=(o=(r=t)===null||r===void 0?void 0:r.id)!==null&&o!==void 0?o:Dt();var i;this.text=(i=(n=t)===null||n===void 0?void 0:n.text)!==null&&i!==void 0?i:""},Ap;(function(e){e.SOLID="solid-line",e.DASHED="dashed-line",e.BOLD_SOLID="bold-solid-line",e.BOLD_DASHED="bold-dashed-line",e.DOUBLE_SOLID="double-solid-line",e.DOUBLE_DASHED="double-dashed-line"})(Ap||(Ap={}));var Pm=function e(t){cr(this,e);var r,n,o,i,u,c,l,a;M(this,"type",void 0),M(this,"person",void 0),M(this,"signatureType",void 0),M(this,"telephone",void 0),M(this,"company",void 0),M(this,"remark",void 0);var f;this.type=(f=(r=t)===null||r===void 0?void 0:r.type)!==null&&f!==void 0?f:"private";var s;this.person=new co((s=(n=t)===null||n===void 0?void 0:n.person)!==null&&s!==void 0?s:{type:"form"});var p;this.signatureType=(p=(o=t)===null||o===void 0?void 0:o.signatureType)!==null&&p!==void 0?p:[];var _,h;this.telephone=(h=(i=t)===null||i===void 0?void 0:i.telephone)!==null&&h!==void 0?h:new co((_=(u=t)===null||u===void 0?void 0:u.telephone)!==null&&_!==void 0?_:{type:"form"});var d,b;this.company=(b=(c=t)===null||c===void 0?void 0:c.company)!==null&&b!==void 0?b:new co((d=(l=t)===null||l===void 0?void 0:l.company)!==null&&d!==void 0?d:{type:"form"});var y;this.remark=(y=(a=t)===null||a===void 0?void 0:a.remark)!==null&&y!==void 0?y:""},VD=function e(t){cr(this,e);var r,n,o,i,u,c;M(this,"fileControl",void 0),M(this,"undersignedList",void 0),M(this,"statusControl",void 0),M(this,"completeControl",void 0),M(this,"completeTimeControl",void 0);var l;this.fileControl=(l=(r=t)===null||r===void 0?void 0:r.fileControl)!==null&&l!==void 0?l:"";var a;this.undersignedList=(a=(o=t)===null||o===void 0||(n=o.undersignedList)===null||n===void 0?void 0:n.map(function(_){return new Pm(_)}))!==null&&a!==void 0?a:[new Pm];var f;this.statusControl=(f=(i=t)===null||i===void 0?void 0:i.statusControl)!==null&&f!==void 0?f:"";var s;this.completeControl=(s=(u=t)===null||u===void 0?void 0:u.completeControl)!==null&&s!==void 0?s:"";var p;this.completeTimeControl=(p=(c=t)===null||c===void 0?void 0:c.completeTimeControl)!==null&&p!==void 0?p:""},Rm=function e(t){cr(this,e);var r,n,o,i,u,c,l;M(this,"id",void 0),M(this,"appId",void 0),M(this,"dataCode",void 0),M(this,"svcCode",void 0),M(this,"name",void 0),M(this,"fieldList",void 0),M(this,"active",void 0);var a;this.id=(a=(r=t)===null||r===void 0?void 0:r.id)!==null&&a!==void 0?a:Dt(8);var f;this.appId=(f=(n=t)===null||n===void 0?void 0:n.appId)!==null&&f!==void 0?f:"";var s;this.dataCode=(s=(o=t)===null||o===void 0?void 0:o.dataCode)!==null&&s!==void 0?s:"";var p;this.svcCode=(p=(i=t)===null||i===void 0?void 0:i.svcCode)!==null&&p!==void 0?p:"";var _;this.name=(_=(u=t)===null||u===void 0?void 0:u.name)!==null&&_!==void 0?_:"";var h;this.fieldList=(h=(c=t)===null||c===void 0?void 0:c.fieldList)!==null&&h!==void 0?h:[];var d;this.active=(d=(l=t)===null||l===void 0?void 0:l.active)!==null&&d!==void 0?d:!1},Sm=function e(t){cr(this,e);var r,n;M(this,"active",void 0),M(this,"text",void 0);var o;this.active=(o=(r=t)===null||r===void 0?void 0:r.active)!==null&&o!==void 0?o:!1;var i;this.text=(i=(n=t)===null||n===void 0?void 0:n.text)!==null&&i!==void 0?i:""},CD=function e(t){cr(this,e);var r,n,o,i,u,c;M(this,"types",void 0),M(this,"history",void 0),M(this,"collaborativeRecord",void 0),M(this,"logicToDelete",void 0),M(this,"watermark",void 0),M(this,"autoRename",void 0);var l;this.types=(l=(r=t)===null||r===void 0?void 0:r.types)!==null&&l!==void 0?l:["word","ppt","excel"];var a;this.history=(a=(n=t)===null||n===void 0?void 0:n.history)!==null&&a!==void 0?a:!1;var f;this.collaborativeRecord=(f=(o=t)===null||o===void 0?void 0:o.collaborativeRecord)!==null&&f!==void 0?f:!1;var s;this.logicToDelete=(s=(i=t)===null||i===void 0?void 0:i.logicToDelete)!==null&&s!==void 0?s:!0,this.watermark=new Sm((u=t)===null||u===void 0?void 0:u.watermark),this.autoRename=new Sm((c=t)===null||c===void 0?void 0:c.autoRename)},zD=480;function gi(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var HD=function e(t){cr(this,e);var r,n,o;M(this,"fileId",void 0),M(this,"fileName",void 0),M(this,"ruleName",void 0),M(this,"isDefault",void 0),M(this,"rules",void 0);var i;this.fileId=(i=(r=t)===null||r===void 0?void 0:r.fileId)!==null&&i!==void 0?i:"";var u;this.fileName=(u=(n=t)===null||n===void 0?void 0:n.fileName)!==null&&u!==void 0?u:"";var c;this.ruleName=(c=(o=t)===null||o===void 0?void 0:o.ruleName)!==null&&c!==void 0?c:"";var l;this.isDefault=(l=t.isDefault)!==null&&l!==void 0?l:!1;var a;this.rules=(a=t.rules)!==null&&a!==void 0?a:[]},Em;(function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"})(Em||(Em={}));var xp;(function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"})(xp||(xp={}));var mi;(function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"})(mi||(mi={}));var lr;(function(e){e.ALL="all",e.ASSIGN="assign"})(lr||(lr={}));var kp;(function(e){e.ALL="all",e.ADMIN="admin"})(kp||(kp={}));function Dp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Oi(e){return Oi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oi(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&&Np(e,t)}function WD(e,t){return t&&(KD(t)==="object"||typeof t=="function")?t:Dp(e)}function Np(e,t){return Np=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Np(e,t)}function KD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XD(e){var t=GD();return function(){var n=Oi(e),o;if(t){var i=Oi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WD(this,o)}}var JD=function(e){UD(r,e);var t=XD(r);function r(n){qD(this,r);var o,i,u;o=t.call(this,n),Tm(Dp(o),"color",void 0),Tm(Dp(o),"lineStyle",void 0);var c;o.color=(c=(i=n)===null||i===void 0?void 0:i.color)!==null&&c!==void 0?c:"#000";var l;return o.lineStyle=(l=(u=n)===null||u===void 0?void 0:u.lineStyle)!==null&&l!==void 0?l:Ap.SOLID,o}return r}(pe);function Im(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ZD(e,t,r){return t&&Bm(e.prototype,t),r&&Bm(e,r),e}function Am(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wi(e){return wi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wi(e)}function YD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fp(e,t)}function eN(e,t){return t&&(tN(t)==="object"||typeof t=="function")?t:Im(e)}function Fp(e,t){return Fp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fp(e,t)}function tN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nN(e){var t=rN();return function(){var n=wi(e),o;if(t){var i=wi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eN(this,o)}}var oN=function(e){YD(r,e);var t=nN(r);function r(n){QD(this,r);var o,i;return o=t.call(this,n),Am(Im(o),"props",void 0),o.props=new JD((i=n)===null||i===void 0?void 0:i.props),o}return ZD(r,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),r}(K);Am(oN,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE]}]);function ar(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $i(e){return $i=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$i(e)}function km(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jp(e,t)}function iN(e,t){return t&&(uN(t)==="object"||typeof t=="function")?t:ar(e)}function jp(e,t){return jp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jp(e,t)}function uN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dm(e){var t=cN();return function(){var n=$i(e),o;if(t){var i=$i(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iN(this,o)}}var lN=function(e){km(r,e);var t=Dm(r);function r(n){xm(this,r);var o;return o=t.call(this,n),fr(ar(o),"caption",{type:"string",required:!0,message:$.getMessage("pleaseEnterCaption")}),fr(ar(o),"dataBind",{type:"any"}),fr(ar(o),"config",{type:"array"}),n.config.includes(Lt.ShowBizKey)&&(o.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:$.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:$.getMessage("bizKeyNotBindFiled")}},message:$.getMessage("bizKeyNotBindFiled")}),!n.isHide&&n.config.length===0&&(o.config={type:"array",min:1,required:!0,message:$.getMessage("pleaseSelectOneField")}),o}return r}(le),Nm=function(e){km(r,e);var t=Dm(r);function r(n){xm(this,r);var o,i,u,c,l,a;o=t.call(this,n),fr(ar(o),"dataBind",void 0),fr(ar(o),"caption",void 0),fr(ar(o),"config",void 0),fr(ar(o),"position",void 0),o.dataBind=new ft((i=n)===null||i===void 0?void 0:i.dataBind);var f;o.config=(f=(u=n)===null||u===void 0?void 0:u.config)!==null&&f!==void 0?f:[Lt.ShowSubmitUser,Lt.ShowSubmitDept,Lt.ShowSubmitTime,Lt.ShowCurrentApprovar,Lt.ShowTitle];var s,p;o.caption=(p=(s=(c=n)===null||c===void 0?void 0:c.caption)!==null&&s!==void 0?s:(l=Vp)===null||l===void 0?void 0:l.controlName)!==null&&p!==void 0?p:"";var _;return o.position=(_=(a=n)===null||a===void 0?void 0:a.position)!==null&&_!==void 0?_:"top",o}return r}(pe);fr(Nm,"Rules",lN);function Fm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fN(e,t,r){return t&&jm(e.prototype,t),r&&jm(e,r),e}function Mp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pi(e){return Pi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pi(e)}function 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&&Lp(e,t)}function pN(e,t){return t&&(_N(t)==="object"||typeof t=="function")?t:Fm(e)}function Lp(e,t){return Lp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lp(e,t)}function _N(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dN(e){var t=yN();return function(){var n=Pi(e),o;if(t){var i=Pi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pN(this,o)}}var Vp=function(e){sN(r,e);var t=dN(r);function r(n){aN(this,r);var o,i;return o=t.call(this,n),Mp(Fm(o),"props",void 0),o.props=new Nm((i=n)===null||i===void 0?void 0:i.props),o}return fN(r,null,[{key:"controlName",get:function(){return"\u6807\u9898\u7EC4\u4EF6"}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),r}(K);Mp(Vp,"controlFieldType",S.AUTO_NUMBER),Mp(Vp,"setting",[{key:"common-setting",visible:!0,showItems:[v.IS_HIDE]},{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}]);function Ri(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Si(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ei(e){return Ei=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ei(e)}function 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&&Cp(e,t)}function vN(e,t){return t&&(hN(t)==="object"||typeof t=="function")?t:Ri(e)}function Cp(e,t){return Cp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cp(e,t)}function hN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vm(e){var t=bN();return function(){var n=Ei(e),o;if(t){var i=Ei(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vN(this,o)}}var gN=function(e){Lm(r,e);var t=Vm(r);function r(n){Mm(this,r);var o;return o=t.call(this,n),Si(Ri(o),"formKey",{type:"string",required:!0,message:$.getMessage("pleaseEnterForm")}),o}return r}(le),Cm=function(e){Lm(r,e);var t=Vm(r);function r(n){Mm(this,r);var o,i,u,c,l;o=t.call(this,n),Si(Ri(o),"formKey",void 0),Si(Ri(o),"openType",void 0);var a;o.icon=(a=(i=n)===null||i===void 0?void 0:i.icon)!==null&&a!==void 0?a:Ii.controlIcon;var f;o.content=(f=(u=n)===null||u===void 0?void 0:u.content)!==null&&f!==void 0?f:Ii.controlName;var s;o.formKey=(s=(c=n)===null||c===void 0?void 0:c.formKey)!==null&&s!==void 0?s:"";var p;return o.openType=(p=(l=n)===null||l===void 0?void 0:l.openType)!==null&&p!==void 0?p:"modal",o}return r}(Ge);Si(Cm,"Rules",gN);function zm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ON(e,t,r){return t&&Hm(e.prototype,t),r&&Hm(e,r),e}function zp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ti(e){return Ti=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ti(e)}function wN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hp(e,t)}function $N(e,t){return t&&(PN(t)==="object"||typeof t=="function")?t:zm(e)}function Hp(e,t){return Hp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hp(e,t)}function PN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SN(e){var t=RN();return function(){var n=Ti(e),o;if(t){var i=Ti(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $N(this,o)}}var Ii=function(e){wN(r,e);var t=SN(r);function r(n){mN(this,r);var o,i;return o=t.call(this,n),zp(zm(o),"props",void 0),o.props=new Cm((i=n)===null||i===void 0?void 0:i.props),o}return ON(r,null,[{key:"controlName",get:function(){return"\u521B\u5EFA\u5355\u636E"}},{key:"controlIcon",get:function(){return"iconchuangjiandanju"}},{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),r}(Me);zp(Ii,"controlEventKeys",["on_click","on_click_finish"]),zp(Ii,"setting",[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function en(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bi(e){return Bi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bi(e)}function Um(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qp(e,t)}function EN(e,t){return t&&(TN(t)==="object"||typeof t=="function")?t:en(e)}function qp(e,t){return qp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qp(e,t)}function TN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wm(e){var t=IN();return function(){var n=Bi(e),o;if(t){var i=Bi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return EN(this,o)}}var BN=function(e){Um(r,e);var t=Wm(r);function r(n){qm(this,r);var o;return o=t.call(this,n),tn(en(o),"processKey",[{type:"string",message:$.getMessage("isNotString")},{type:"string",required:!0,message:$.getMessage("pleaseEnterProcess")}]),o}return r}(le),Km=function(e){Um(r,e);var t=Wm(r);function r(n){qm(this,r);var o,i,u,c,l,a,f;o=t.call(this,n),tn(en(o),"processKey",void 0),tn(en(o),"initiatorMode",void 0),tn(en(o),"fieldCode",void 0),tn(en(o),"employeeId",void 0);var s;o.icon=(s=(i=n)===null||i===void 0?void 0:i.icon)!==null&&s!==void 0?s:xi.controlIcon;var p;o.content=(p=(u=n)===null||u===void 0?void 0:u.content)!==null&&p!==void 0?p:xi.controlName;var _;o.initiatorMode=(_=(c=n)===null||c===void 0?void 0:c.initiatorMode)!==null&&_!==void 0?_:"currentInitiator";var h;o.processKey=(h=(l=n)===null||l===void 0?void 0:l.processKey)!==null&&h!==void 0?h:"";var d;o.fieldCode=(d=(a=n)===null||a===void 0?void 0:a.fieldCode)!==null&&d!==void 0?d:"";var b;return o.employeeId=(b=(f=n)===null||f===void 0?void 0:f.employeeId)!==null&&b!==void 0?b:"",o}return r}(Ge);tn(Km,"Rules",BN);function Gm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xN(e,t,r){return t&&Xm(e.prototype,t),r&&Xm(e,r),e}function Up(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ai(e){return Ai=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ai(e)}function kN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wp(e,t)}function DN(e,t){return t&&(NN(t)==="object"||typeof t=="function")?t:Gm(e)}function Wp(e,t){return Wp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wp(e,t)}function NN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jN(e){var t=FN();return function(){var n=Ai(e),o;if(t){var i=Ai(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DN(this,o)}}var xi=function(e){kN(r,e);var t=jN(r);function r(n){AN(this,r);var o,i;return o=t.call(this,n),Up(Gm(o),"props",void 0),o.props=new Km((i=n)===null||i===void 0?void 0:i.props),o}return xN(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u63D0\u4EA4"}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),r}(Me);Up(xi,"controlEventKeys",["on_click","on_click_finish"]),Up(xi,"setting",[{key:"button-content",visible:!0},{key:"select-process",visible:!0},{key:"initiator-mode",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function MN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ki(e){return ki=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ki(e)}function VN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kp(e,t)}function CN(e,t){return t&&(zN(t)==="object"||typeof t=="function")?t:MN(e)}function Kp(e,t){return Kp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kp(e,t)}function zN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qN(e){var t=HN();return function(){var n=ki(e),o;if(t){var i=ki(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return CN(this,o)}}var UN=function(e){VN(r,e);var t=qN(r);function r(n){LN(this,r);var o,i,u;o=t.call(this,n);var c;o.content=(c=(i=n)===null||i===void 0?void 0:i.content)!==null&&c!==void 0?c:Ni.controlName;var l;return o.icon=(l=(u=n)===null||u===void 0?void 0:u.icon)!==null&&l!==void 0?l:Ni.controlIcon,o}return r}(Ge);function Jm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function KN(e,t,r){return t&&Qm(e.prototype,t),r&&Qm(e,r),e}function Gp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Di(e){return Di=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Di(e)}function 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&&Xp(e,t)}function XN(e,t){return t&&(JN(t)==="object"||typeof t=="function")?t:Jm(e)}function Xp(e,t){return Xp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xp(e,t)}function JN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZN(e){var t=QN();return function(){var n=Di(e),o;if(t){var i=Di(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XN(this,o)}}var Ni=function(e){GN(r,e);var t=ZN(r);function r(n){WN(this,r);var o,i;return o=t.call(this,n),Gp(Jm(o),"props",void 0),o.props=new UN((i=n)===null||i===void 0?void 0:i.props),o}return KN(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),r}(Me);Gp(Ni,"controlEventKeys",["on_click"]),Gp(Ni,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function Jp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fi(e){return Fi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fi(e)}function eF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qp(e,t)}function tF(e,t){return t&&(rF(t)==="object"||typeof t=="function")?t:Jp(e)}function Qp(e,t){return Qp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qp(e,t)}function rF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oF(e){var t=nF();return function(){var n=Fi(e),o;if(t){var i=Fi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tF(this,o)}}var iF=function(e){eF(r,e);var t=oF(r);function r(n){YN(this,r);var o,i,u,c,l,a;o=t.call(this,n),Zm(Jp(o),"templateList",void 0),Zm(Jp(o),"templateType",void 0);var f;o.icon=(f=(i=n)===null||i===void 0?void 0:i.icon)!==null&&f!==void 0?f:Mi.controlIcon;var s;o.content=(s=(u=n)===null||u===void 0?void 0:u.content)!==null&&s!==void 0?s:Mi.controlName;var p;o.templateType=(p=(c=n)===null||c===void 0?void 0:c.templateType)!==null&&p!==void 0?p:"system";var _;return o.templateList=(_=(a=n)===null||a===void 0||(l=a.templateList)===null||l===void 0?void 0:l.map(function(h){return new Rm(h)}))!==null&&_!==void 0?_:[new Rm({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return r}(Ge);function Ym(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cF(e,t,r){return t&&eO(e.prototype,t),r&&eO(e,r),e}function Zp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ji(e){return ji=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ji(e)}function 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&&Yp(e,t)}function aF(e,t){return t&&(fF(t)==="object"||typeof t=="function")?t:Ym(e)}function Yp(e,t){return Yp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yp(e,t)}function fF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pF(e){var t=sF();return function(){var n=ji(e),o;if(t){var i=ji(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aF(this,o)}}var Mi=function(e){lF(r,e);var t=pF(r);function r(n){uF(this,r);var o,i;return o=t.call(this,n),Zp(Ym(o),"props",void 0),o.props=new iF((i=n)===null||i===void 0?void 0:i.props),o}return cF(r,null,[{key:"controlName",get:function(){return"\u5BFC\u51FA"}},{key:"controlIcon",get:function(){return"iconxiazai1"}},{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),r}(Me);Zp(Mi,"controlEventKeys",["on_click","on_click_finish"]),Zp(Mi,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function _F(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Li(e){return Li=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Li(e)}function dF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&e_(e,t)}function vF(e,t){return t&&(hF(t)==="object"||typeof t=="function")?t:_F(e)}function e_(e,t){return e_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},e_(e,t)}function hF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gF(e){var t=bF();return function(){var n=Li(e),o;if(t){var i=Li(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vF(this,o)}}var mF=function(e){dF(r,e);var t=gF(r);function r(n){yF(this,r);var o,i,u;o=t.call(this,n);var c;o.content=(c=(i=n)===null||i===void 0?void 0:i.content)!==null&&c!==void 0?c:Ci.controlName;var l;return o.icon=(l=(u=n)===null||u===void 0?void 0:u.icon)!==null&&l!==void 0?l:Ci.controlIcon,o}return r}(Ge);function tO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function wF(e,t,r){return t&&rO(e.prototype,t),r&&rO(e,r),e}function t_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vi(e){return Vi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vi(e)}function $F(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r_(e,t)}function PF(e,t){return t&&(RF(t)==="object"||typeof t=="function")?t:tO(e)}function r_(e,t){return r_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},r_(e,t)}function RF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EF(e){var t=SF();return function(){var n=Vi(e),o;if(t){var i=Vi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PF(this,o)}}var Ci=function(e){$F(r,e);var t=EF(r);function r(n){OF(this,r);var o,i;return o=t.call(this,n),t_(tO(o),"props",void 0),o.props=new mF((i=n)===null||i===void 0?void 0:i.props),o}return wF(r,null,[{key:"controlName",get:function(){return"\u5BFC\u51FA\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"icondaochujilu"}},{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),r}(Me);t_(Ci,"controlEventKeys",["on_click"]),t_(Ci,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function n_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zi(e){return zi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zi(e)}function TF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i_(e,t)}function IF(e,t){return t&&(BF(t)==="object"||typeof t=="function")?t:n_(e)}function i_(e,t){return i_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},i_(e,t)}function BF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xF(e){var t=AF();return function(){var n=zi(e),o;if(t){var i=zi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return IF(this,o)}}var kF=function e(t){nO(this,e),o_(this,"dataCode",void 0),this.dataCode=t.dataCode},DF=function(e){TF(r,e);var t=xF(r);function r(n){nO(this,r);var o,i,u,c,l,a;o=t.call(this,n),o_(n_(o),"canImportList",void 0),o_(n_(o),"templateType",void 0);var f;o.content=(f=(i=n)===null||i===void 0?void 0:i.content)!==null&&f!==void 0?f:qi.controlName;var s;o.icon=(s=(u=n)===null||u===void 0?void 0:u.icon)!==null&&s!==void 0?s:qi.controlIcon;var p;o.canImportList=(p=(l=n)===null||l===void 0||(c=l.canImportList)===null||c===void 0?void 0:c.map(function(h){return new kF(h)}))!==null&&p!==void 0?p:[];var _;return o.templateType=(_=(a=n)===null||a===void 0?void 0:a.templateType)!==null&&_!==void 0?_:"system",o}return r}(Ge);function oO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function FF(e,t,r){return t&&iO(e.prototype,t),r&&iO(e,r),e}function u_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hi(e){return Hi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hi(e)}function 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&&c_(e,t)}function MF(e,t){return t&&(LF(t)==="object"||typeof t=="function")?t:oO(e)}function c_(e,t){return c_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},c_(e,t)}function LF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CF(e){var t=VF();return function(){var n=Hi(e),o;if(t){var i=Hi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return MF(this,o)}}var qi=function(e){jF(r,e);var t=CF(r);function r(n){NF(this,r);var o,i;return o=t.call(this,n),u_(oO(o),"props",void 0),o.props=new DF((i=n)===null||i===void 0?void 0:i.props),o}return FF(r,null,[{key:"controlName",get:function(){return"\u5BFC\u5165"}},{key:"controlIcon",get:function(){return"iconshangchuan3"}},{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),r}(Me);u_(qi,"controlEventKeys",["on_click","on_click_finish"]),u_(qi,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}]);function Ui(){return{dataCode:{type:"string",required:!0,message:$.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:$.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:$.getMessage("pleaseSelectControl")}}}}}}function sr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wi(e){return Wi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wi(e)}function cO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l_(e,t)}function lO(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Vt(e,o,r[o])})}return e}function zF(e,t){return t&&(HF(t)==="object"||typeof t=="function")?t:sr(e)}function l_(e,t){return l_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},l_(e,t)}function HF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aO(e){var t=qF();return function(){var n=Wi(e),o;if(t){var i=Wi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zF(this,o)}}var UF=function(e){cO(r,e);var t=aO(r);function r(n){uO(this,r);var o;return o=t.call(this,n),Vt(sr(o),"fillPayload",{type:"object",fields:lO({},Ui())}),Vt(sr(o),"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:$.getMessage("pleaseEnterList")}}}),Vt(sr(o),"fillBack",{type:"object",fields:lO({mode:{type:"string",required:!0,message:$.getMessage("pleaseSelectFillBackMode")}},Ui())}),(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:$.getMessage("pleaseSelectControl")}),o}return r}(le),fO=function(e){cO(r,e);var t=aO(r);function r(n){uO(this,r);var o,i,u,c,l,a,f;o=t.call(this,n),Vt(sr(o),"fillPayload",void 0),Vt(sr(o),"formBind",void 0),Vt(sr(o),"fillBack",void 0),Vt(sr(o),"command",void 0);var s;o.content=(s=(i=n)===null||i===void 0?void 0:i.content)!==null&&s!==void 0?s:Gi.controlName;var p;o.icon=(p=(u=n)===null||u===void 0?void 0:u.icon)!==null&&p!==void 0?p:Gi.controlIcon;var _;return o.command=(_=(c=n)===null||c===void 0?void 0:c.command)!==null&&_!==void 0?_:"create",o.fillPayload=new Ig((l=n)===null||l===void 0?void 0:l.fillPayload),o.formBind=new j2((a=n)===null||a===void 0?void 0:a.formBind),o.fillBack=new Bg((f=n)===null||f===void 0?void 0:f.fillBack),o}return r}(Ge);Vt(fO,"Rules",UF);function sO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function KF(e,t,r){return t&&pO(e.prototype,t),r&&pO(e,r),e}function a_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ki(e){return Ki=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ki(e)}function GF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 XF(e,t){return t&&(JF(t)==="object"||typeof t=="function")?t:sO(e)}function f_(e,t){return f_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},f_(e,t)}function JF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZF(e){var t=QF();return function(){var n=Ki(e),o;if(t){var i=Ki(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XF(this,o)}}var Gi=function(e){GF(r,e);var t=ZF(r);function r(n){WF(this,r);var o,i;return o=t.call(this,n),a_(sO(o),"props",void 0),o.props=new fO((i=n)===null||i===void 0?void 0:i.props),o}return KF(r,null,[{key:"controlName",get:function(){return"\u8868\u5355\u64CD\u4F5C"}},{key:"controlIcon",get:function(){return"iconbiaodancaozuo"}},{key:"controlType",get:function(){return"form-select-button"}}]),r}(Me);a_(Gi,"controlEventKeys",["on_click","on_click_finish"]),a_(Gi,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function Ct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _O(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function St(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xi(e){return Xi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xi(e)}function yO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s_(e,t)}function dO(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){St(e,o,r[o])})}return e}function YF(e,t){return t&&(ej(t)==="object"||typeof t=="function")?t:Ct(e)}function s_(e,t){return s_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},s_(e,t)}function ej(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vO(e){var t=tj();return function(){var n=Xi(e),o;if(t){var i=Xi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YF(this,o)}}var rj=function(e){yO(r,e);var t=vO(r);function r(n){_O(this,r);var o;return o=t.call(this,n),St(Ct(o),"fillPayload",{type:"object",fields:dO({},Ui())}),St(Ct(o),"listPageBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:$.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:$.getMessage("pleaseSelectAtLeastOneColumn")}}}),St(Ct(o),"fillBack",{type:"object",fields:dO({mode:{type:"string",required:!0,message:$.getMessage("pleaseSelectFillBackMode")}},Ui())}),o}return r}(le),hO=function(e){yO(r,e);var t=vO(r);function r(n){_O(this,r);var o,i,u,c,l,a,f,s;o=t.call(this,n),St(Ct(o),"fillPayload",void 0),St(Ct(o),"listPageBind",void 0),St(Ct(o),"fillBack",void 0),St(Ct(o),"showSelectedDetail",void 0),St(Ct(o),"selectedContentConfig",void 0);var p;o.content=(p=(i=n)===null||i===void 0?void 0:i.content)!==null&&p!==void 0?p:Qi.controlName;var _;o.icon=(_=(u=n)===null||u===void 0?void 0:u.icon)!==null&&_!==void 0?_:Qi.controlIcon,o.fillPayload=new Ig((c=n)===null||c===void 0?void 0:c.fillPayload),o.listPageBind=new ws((l=n)===null||l===void 0?void 0:l.listPageBind),o.fillBack=new Bg((a=n)===null||a===void 0?void 0:a.fillBack);var h;return o.showSelectedDetail=(h=(f=n)===null||f===void 0?void 0:f.showSelectedDetail)!==null&&h!==void 0?h:!1,o.selectedContentConfig=new Ss((s=n)===null||s===void 0?void 0:s.selectedContentConfig),o}return r}(Ge);St(hO,"Rules",rj);function bO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function oj(e,t,r){return t&&gO(e.prototype,t),r&&gO(e,r),e}function p_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ji(e){return Ji=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ji(e)}function ij(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&__(e,t)}function uj(e,t){return t&&(cj(t)==="object"||typeof t=="function")?t:bO(e)}function __(e,t){return __=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},__(e,t)}function cj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aj(e){var t=lj();return function(){var n=Ji(e),o;if(t){var i=Ji(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uj(this,o)}}var Qi=function(e){ij(r,e);var t=aj(r);function r(n){nj(this,r);var o,i;return o=t.call(this,n),p_(bO(o),"props",void 0),o.props=new hO((i=n)===null||i===void 0?void 0:i.props),o}return oj(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u9009\u62E9"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-select-button"}}]),r}(Me);p_(Qi,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),p_(Qi,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function fj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zi(e){return Zi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zi(e)}function d_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v_(e,t)}function sj(e,t){return t&&(pj(t)==="object"||typeof t=="function")?t:fj(e)}function v_(e,t){return v_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},v_(e,t)}function pj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _j(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function h_(e){var t=_j();return function(){var n=Zi(e),o;if(t){var i=Zi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sj(this,o)}}var yj=function(e){d_(r,e);var t=h_(r);function r(n){return y_(this,r),t.call(this,n)}return r}(le),dj=function(e){d_(r,e);var t=h_(r);function r(n){return y_(this,r),t.call(this,n)}return r}(Rr),b_=function(e){d_(r,e);var t=h_(r);function r(n){return y_(this,r),t.call(this,n)}return r}(pe);mO(b_,"Rules",yj),mO(b_,"RuntimeRules",dj);function OO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hj(e,t,r){return t&&wO(e.prototype,t),r&&wO(e,r),e}function $O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yi(e){return Yi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yi(e)}function bj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 gj(e,t){return t&&(mj(t)==="object"||typeof t=="function")?t:OO(e)}function g_(e,t){return g_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},g_(e,t)}function mj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Oj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wj(e){var t=Oj();return function(){var n=Yi(e),o;if(t){var i=Yi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gj(this,o)}}var $j=function(e){bj(r,e);var t=wj(r);function r(n){vj(this,r);var o,i;return o=t.call(this,n),$O(OO(o),"props",void 0),o.props=new b_((i=n)===null||i===void 0?void 0:i.props),o}return hj(r,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),r}(K);$O($j,"setting",[]);function et(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function eu(e){return eu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},eu(e)}function RO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m_(e,t)}function Pj(e,t){return t&&(Rj(t)==="object"||typeof t=="function")?t:et(e)}function m_(e,t){return m_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},m_(e,t)}function Rj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Sj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SO(e){var t=Sj();return function(){var n=eu(e),o;if(t){var i=eu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Pj(this,o)}}var Ej=function(e){RO(r,e);var t=SO(r);function r(n){PO(this,r);var o;return o=t.call(this,n),tt(et(o),"dashboardKey",{type:"string",required:!0,message:$.getMessage("pleaseSelectDashboard")}),tt(et(o),"caption",{type:"string",required:!0,message:$.getMessage("pleaseEnterCaption")}),tt(et(o),"isHideCaption",{type:"boolean"}),tt(et(o),"labelPosition",{type:"enum",enum:["top","left"]}),tt(et(o),"captionTip",{type:"string",required:!1,message:$.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(le),EO=function(e){RO(r,e);var t=SO(r);function r(n){PO(this,r);var o,i,u,c,l,a,f;o=t.call(this,n),tt(et(o),"dashboardKey",void 0),tt(et(o),"caption",void 0),tt(et(o),"isHideCaption",void 0),tt(et(o),"isShowCaptionTip",void 0),tt(et(o),"captionTip",void 0),tt(et(o),"labelPosition",void 0);var s;o.dashboardKey=(s=(i=n)===null||i===void 0?void 0:i.dashboardKey)!==null&&s!==void 0?s:"";var p;o.caption=(p=(u=n)===null||u===void 0?void 0:u.caption)!==null&&p!==void 0?p:"";var _;o.isHideCaption=(_=(c=n)===null||c===void 0?void 0:c.isHideCaption)!==null&&_!==void 0?_:!1;var h;o.isShowCaptionTip=(h=(l=n)===null||l===void 0?void 0:l.isShowCaptionTip)!==null&&h!==void 0?h:!1;var d;o.captionTip=(d=(a=n)===null||a===void 0?void 0:a.captionTip)!==null&&d!==void 0?d:"";var b;return o.labelPosition=(b=(f=n)===null||f===void 0?void 0:f.labelPosition)!==null&&b!==void 0?b:"top",o}return r}(pe);tt(EO,"Rules",Ej);function TO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ij(e,t,r){return t&&IO(e.prototype,t),r&&IO(e,r),e}function BO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tu(e){return tu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tu(e)}function Bj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Aj(e,t){return t&&(xj(t)==="object"||typeof t=="function")?t:TO(e)}function O_(e,t){return O_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},O_(e,t)}function xj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dj(e){var t=kj();return function(){var n=tu(e),o;if(t){var i=tu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Aj(this,o)}}var Nj=function(e){Bj(r,e);var t=Dj(r);function r(n){Tj(this,r);var o,i;return o=t.call(this,n),BO(TO(o),"props",void 0),o.props=new EO((i=n)===null||i===void 0?void 0:i.props),o}return Ij(r,null,[{key:"controlName",get:function(){return"\u4EEA\u8868\u76D8"}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),r}(K);BO(Nj,"setting",[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE,v.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function vo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ho(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ru(e){return ru=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ru(e)}function xO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w_(e,t)}function Fj(e,t){return t&&(jj(t)==="object"||typeof t=="function")?t:vo(e)}function w_(e,t){return w_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},w_(e,t)}function jj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Mj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kO(e){var t=Mj();return function(){var n=ru(e),o;if(t){var i=ru(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Fj(this,o)}}var Lj=function(e){xO(r,e);var t=kO(r);function r(n){AO(this,r);var o;return o=t.call(this,n),ho(vo(o),"showType",{type:"enum",enum:["select","tabs"]}),ho(vo(o),"viewList",{type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:$.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:$.getMessage("pleaseSelectAtLeastOneColumn")}}}}),o}return r}(le),DO=function(e){xO(r,e);var t=kO(r);function r(n){AO(this,r);var o,i,u,c;o=t.call(this,n),ho(vo(o),"showType",void 0),ho(vo(o),"viewList",void 0);var l;o.showType=(l=(i=n)===null||i===void 0?void 0:i.showType)!==null&&l!==void 0?l:"select";var a;return o.viewList=(a=(c=n)===null||c===void 0||(u=c.viewList)===null||u===void 0?void 0:u.map(function(f){return new Y2(f)}))!==null&&a!==void 0?a:[],o}return r}(pe);ho(DO,"Rules",Lj);function NO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Cj(e,t,r){return t&&FO(e.prototype,t),r&&FO(e,r),e}function jO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nu(e){return nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nu(e)}function zj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$_(e,t)}function Hj(e,t){return t&&(qj(t)==="object"||typeof t=="function")?t:NO(e)}function $_(e,t){return $_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$_(e,t)}function qj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Uj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wj(e){var t=Uj();return function(){var n=nu(e),o;if(t){var i=nu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Hj(this,o)}}var Kj=function(e){zj(r,e);var t=Wj(r);function r(n){Vj(this,r);var o,i;return o=t.call(this,n),jO(NO(o),"props",void 0),o.props=new DO((i=n)===null||i===void 0?void 0:i.props),o}return Cj(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u89C6\u56FE"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-view-select"}}]),r}(K);jO(Kj,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}]);function Le(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ve(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ou(e){return ou=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ou(e)}function 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&&P_(e,t)}function Gj(e,t){return t&&(Xj(t)==="object"||typeof t=="function")?t:Le(e)}function P_(e,t){return P_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},P_(e,t)}function Xj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VO(e){var t=Jj();return function(){var n=ou(e),o;if(t){var i=ou(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Gj(this,o)}}var Qj=function(e){LO(r,e);var t=VO(r);function r(n){MO(this,r);var o;return o=t.call(this,n),Ve(Le(o),"caption",{type:"string",required:!0,message:$.getMessage("pleaseEnterCaption")}),Ve(Le(o),"isHideCaption",{type:"boolean"}),Ve(Le(o),"labelPosition",{type:"enum",enum:["top","left"]}),Ve(Le(o),"ocrType",{type:"string",required:!0,message:$.getMessage("pleaseSelectOcrType")}),Ve(Le(o),"fillList",{type:"array",validator:function(u,c,l){var a=c.every(function(f){return!f.controlId});if(a){l($.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}l()}}),Ve(Le(o),"captionTip",{type:"string",required:!1,message:$.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(le),CO=function(e){LO(r,e);var t=VO(r);function r(n){MO(this,r);var o,i,u,c,l,a,f,s,p,_,h;o=t.call(this,n),Ve(Le(o),"caption",void 0),Ve(Le(o),"isHideCaption",void 0),Ve(Le(o),"isShowCaptionTip",void 0),Ve(Le(o),"captionTip",void 0),Ve(Le(o),"labelPosition",void 0),Ve(Le(o),"ocrType",void 0),Ve(Le(o),"fillList",void 0);var d;o.caption=(d=(i=n)===null||i===void 0?void 0:i.caption)!==null&&d!==void 0?d:bo.controlName;var b;o.isHideCaption=(b=(u=n)===null||u===void 0?void 0:u.isHideCaption)!==null&&b!==void 0?b:!1;var y;o.isShowCaptionTip=(y=(c=n)===null||c===void 0?void 0:c.isShowCaptionTip)!==null&&y!==void 0?y:!1;var g;o.captionTip=(g=(l=n)===null||l===void 0?void 0:l.captionTip)!==null&&g!==void 0?g:"";var O;o.labelPosition=(O=(a=n)===null||a===void 0?void 0:a.labelPosition)!==null&&O!==void 0?O:"top";var w;o.content=(w=(f=n)===null||f===void 0?void 0:f.content)!==null&&w!==void 0?w:bo.controlName;var P;o.icon=(P=(s=n)===null||s===void 0?void 0:s.icon)!==null&&P!==void 0?P:bo.controlIcon;var E;o.ocrType=(E=(p=n)===null||p===void 0?void 0:p.ocrType)!==null&&E!==void 0?E:"";var T;return o.fillList=(T=(h=n)===null||h===void 0||(_=h.fillList)===null||_===void 0?void 0:_.map(function(B){return new je(B)}))!==null&&T!==void 0?T:[],o}return r}(Ge);Ve(CO,"Rules",Qj);function zO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Yj(e,t,r){return t&&HO(e.prototype,t),r&&HO(e,r),e}function R_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function iu(e){return iu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},iu(e)}function eM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&S_(e,t)}function tM(e,t){return t&&(rM(t)==="object"||typeof t=="function")?t:zO(e)}function S_(e,t){return S_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},S_(e,t)}function rM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oM(e){var t=nM();return function(){var n=iu(e),o;if(t){var i=iu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tM(this,o)}}var bo=function(e){eM(r,e);var t=oM(r);function r(n){Zj(this,r);var o,i;return o=t.call(this,n),R_(zO(o),"props",void 0),o.props=new CO((i=n)===null||i===void 0?void 0:i.props),o}return Yj(r,null,[{key:"controlName",get:function(){return"\u6587\u5B57\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconwenzishibie"}},{key:"controlType",get:function(){return"text-ocr-button"}}]),r}(Me);R_(bo,"controlEventKeys",["on_click","on_click_finish"]),R_(bo,"setting",[{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE,v.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function Ce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ze(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uu(e){return uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uu(e)}function UO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&E_(e,t)}function iM(e,t){return t&&(uM(t)==="object"||typeof t=="function")?t:Ce(e)}function E_(e,t){return E_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},E_(e,t)}function uM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WO(e){var t=cM();return function(){var n=uu(e),o;if(t){var i=uu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iM(this,o)}}var lM=function(e){UO(r,e);var t=WO(r);function r(n){qO(this,r);var o;return o=t.call(this,n),ze(Ce(o),"caption",{type:"string",required:!0,message:$.getMessage("pleaseEnterCaption")}),ze(Ce(o),"isHideCaption",{type:"boolean"}),ze(Ce(o),"labelPosition",{type:"enum",enum:["top","left"]}),ze(Ce(o),"invoiceCheck",{type:"boolean"}),ze(Ce(o),"fillList",{type:"array",validator:function(u,c,l){var a=c.every(function(f){return!f.controlId});if(a){l($.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}l()}}),ze(Ce(o),"captionTip",{type:"string",required:!1,message:$.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(le),KO=function(e){UO(r,e);var t=WO(r);function r(n){qO(this,r);var o,i,u,c,l,a,f,s,p,_,h;o=t.call(this,n),ze(Ce(o),"caption",void 0),ze(Ce(o),"isHideCaption",void 0),ze(Ce(o),"isShowCaptionTip",void 0),ze(Ce(o),"captionTip",void 0),ze(Ce(o),"labelPosition",void 0),ze(Ce(o),"invoiceCheck",void 0),ze(Ce(o),"fillList",void 0);var d;o.caption=(d=(i=n)===null||i===void 0?void 0:i.caption)!==null&&d!==void 0?d:go.controlName;var b;o.isHideCaption=(b=(u=n)===null||u===void 0?void 0:u.isHideCaption)!==null&&b!==void 0?b:!1;var y;o.isShowCaptionTip=(y=(c=n)===null||c===void 0?void 0:c.isShowCaptionTip)!==null&&y!==void 0?y:!1;var g;o.captionTip=(g=(l=n)===null||l===void 0?void 0:l.captionTip)!==null&&g!==void 0?g:"";var O;o.labelPosition=(O=(a=n)===null||a===void 0?void 0:a.labelPosition)!==null&&O!==void 0?O:"top";var w;o.content=(w=(f=n)===null||f===void 0?void 0:f.content)!==null&&w!==void 0?w:go.controlName;var P;o.icon=(P=(s=n)===null||s===void 0?void 0:s.icon)!==null&&P!==void 0?P:go.controlIcon;var E;o.invoiceCheck=(E=(p=n)===null||p===void 0?void 0:p.invoiceCheck)!==null&&E!==void 0?E:!0;var T;return o.fillList=(T=(h=n)===null||h===void 0||(_=h.fillList)===null||_===void 0?void 0:_.map(function(B){return new je(B)}))!==null&&T!==void 0?T:[],o}return r}(Ge);ze(KO,"Rules",lM);function GO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fM(e,t,r){return t&&XO(e.prototype,t),r&&XO(e,r),e}function T_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cu(e){return cu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cu(e)}function sM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 pM(e,t){return t&&(_M(t)==="object"||typeof t=="function")?t:GO(e)}function I_(e,t){return I_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},I_(e,t)}function _M(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dM(e){var t=yM();return function(){var n=cu(e),o;if(t){var i=cu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pM(this,o)}}var go=function(e){sM(r,e);var t=dM(r);function r(n){aM(this,r);var o,i;return o=t.call(this,n),T_(GO(o),"props",void 0),o.props=new KO((i=n)===null||i===void 0?void 0:i.props),o}return fM(r,null,[{key:"controlName",get:function(){return"\u53D1\u7968\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconfabiaoshibie1"}},{key:"controlType",get:function(){return"invoice-check-button"}}]),r}(Me);T_(go,"controlEventKeys",["on_click","on_click_finish"]),T_(go,"setting",[{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE,v.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function lu(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function au(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fu(e){return fu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fu(e)}function QO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&B_(e,t)}function vM(e,t){return t&&(hM(t)==="object"||typeof t=="function")?t:lu(e)}function B_(e,t){return B_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},B_(e,t)}function hM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZO(e){var t=bM();return function(){var n=fu(e),o;if(t){var i=fu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vM(this,o)}}var gM=function(e){QO(r,e);var t=ZO(r);function r(){JO(this,r);var n;return n=t.apply(this,arguments),au(lu(n),"printTemplates",{type:"array",min:1,required:!0,message:$.getMessage("pleaseUploadAtLeastOnePrintTemplate")}),n}return r}(le),YO=function(e){QO(r,e);var t=ZO(r);function r(n){JO(this,r);var o,i,u,c,l,a;o=t.call(this,n),au(lu(o),"printTemplates",void 0),au(lu(o),"autoSelectTemplate",void 0);var f;o.icon=(f=(i=n)===null||i===void 0?void 0:i.icon)!==null&&f!==void 0?f:pu.controlIcon;var s;o.content=(s=(u=n)===null||u===void 0?void 0:u.content)!==null&&s!==void 0?s:pu.controlName;var p;o.printTemplates=(p=(l=n)===null||l===void 0||(c=l.printTemplates)===null||c===void 0?void 0:c.map(function(h){return new HD(h)}))!==null&&p!==void 0?p:[];var _;return o.autoSelectTemplate=(_=(a=n)===null||a===void 0?void 0:a.autoSelectTemplate)!==null&&_!==void 0?_:!1,o}return r}(Ge);au(YO,"Rules",gM);function ew(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function OM(e,t,r){return t&&tw(e.prototype,t),r&&tw(e,r),e}function A_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function su(e){return su=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},su(e)}function 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&&x_(e,t)}function $M(e,t){return t&&(PM(t)==="object"||typeof t=="function")?t:ew(e)}function x_(e,t){return x_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},x_(e,t)}function PM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SM(e){var t=RM();return function(){var n=su(e),o;if(t){var i=su(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $M(this,o)}}var pu=function(e){wM(r,e);var t=SM(r);function r(n){mM(this,r);var o,i;return o=t.call(this,n),A_(ew(o),"props",void 0),o.props=new YO((i=n)===null||i===void 0?void 0:i.props),o}return OM(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u6253\u5370"}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),r}(Me);A_(pu,"controlEventKeys",["on_click","on_click_finish"]),A_(pu,"setting",[{key:"button-content",visible:!0},{key:"batch-print-setting",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function EM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _u(e){return _u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_u(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&&k_(e,t)}function BM(e,t){return t&&(AM(t)==="object"||typeof t=="function")?t:EM(e)}function k_(e,t){return k_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},k_(e,t)}function AM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kM(e){var t=xM();return function(){var n=_u(e),o;if(t){var i=_u(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BM(this,o)}}var DM=function(e){IM(r,e);var t=kM(r);function r(n){TM(this,r);var o,i,u;o=t.call(this,n);var c;o.content=(c=(i=n)===null||i===void 0?void 0:i.content)!==null&&c!==void 0?c:du.controlName;var l;return o.icon=(l=(u=n)===null||u===void 0?void 0:u.icon)!==null&&l!==void 0?l:du.controlIcon,o}return r}(Ge);function rw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function FM(e,t,r){return t&&nw(e.prototype,t),r&&nw(e,r),e}function D_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yu(e){return yu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yu(e)}function jM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&N_(e,t)}function MM(e,t){return t&&(LM(t)==="object"||typeof t=="function")?t:rw(e)}function N_(e,t){return N_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},N_(e,t)}function LM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CM(e){var t=VM();return function(){var n=yu(e),o;if(t){var i=yu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return MM(this,o)}}var du=function(e){jM(r,e);var t=CM(r);function r(n){NM(this,r);var o,i;return o=t.call(this,n),D_(rw(o),"props",void 0),o.props=new DM((i=n)===null||i===void 0?void 0:i.props),o}return FM(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u6253\u5370\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),r}(Me);D_(du,"controlEventKeys",["on_click"]),D_(du,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function ke(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ow(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function De(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vu(e){return vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vu(e)}function iw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&F_(e,t)}function zM(e,t){return t&&(HM(t)==="object"||typeof t=="function")?t:ke(e)}function F_(e,t){return F_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},F_(e,t)}function HM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uw(e){var t=qM();return function(){var n=vu(e),o;if(t){var i=vu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zM(this,o)}}var UM=function(e){iw(r,e);var t=uw(r);function r(n){ow(this,r);var o;return o=t.call(this,n),De(ke(o),"formKey",{type:"string",required:!1}),(n.command==="edit"||n.command==="view")&&(o.formKey={type:"string",required:!0,message:$.getMessage("pleaseEnterForm")}),o}return r}(le),hu=function(e){iw(r,e);var t=uw(r);function r(n){ow(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y;o=t.call(this,n),De(ke(o),"content",void 0),De(ke(o),"code",void 0),De(ke(o),"command",void 0),De(ke(o),"color",void 0),De(ke(o),"icon",void 0),De(ke(o),"formKey",void 0),De(ke(o),"openType",void 0),De(ke(o),"needConfirm",void 0),De(ke(o),"confirmMessage",void 0),De(ke(o),"options",void 0),De(ke(o),"defaultState",void 0),De(ke(o),"priorityProcess",void 0),De(ke(o),"isLoading",void 0);var g;o.content=(g=(i=n)===null||i===void 0?void 0:i.content)!==null&&g!==void 0?g:"\u6309\u94AE",o.code=(u=n)===null||u===void 0?void 0:u.code;var O;o.command=(O=(c=n)===null||c===void 0?void 0:c.command)!==null&&O!==void 0?O:"custom";var w;o.color=(w=(l=n)===null||l===void 0?void 0:l.color)!==null&&w!==void 0?w:"primary",o.icon=(a=n)===null||a===void 0?void 0:a.icon,o.formKey=(f=n)===null||f===void 0?void 0:f.formKey,o.openType=(s=n)===null||s===void 0?void 0:s.openType,o.needConfirm=(p=n)===null||p===void 0?void 0:p.needConfirm,o.confirmMessage=(_=n)===null||_===void 0?void 0:_.confirmMessage,o.options=(h=n)===null||h===void 0?void 0:h.options;var P;o.defaultState=(P=(d=n)===null||d===void 0?void 0:d.defaultState)!==null&&P!==void 0?P:"default",o.priorityProcess=(b=n)===null||b===void 0?void 0:b.priorityProcess;var E;return o.isLoading=(E=(y=n)===null||y===void 0?void 0:y.isLoading)!==null&&E!==void 0?E:!1,o}return r}(pe);De(hu,"Rules",UM);function cw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function KM(e,t,r){return t&&lw(e.prototype,t),r&&lw(e,r),e}function j_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bu(e){return bu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bu(e)}function 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&&M_(e,t)}function XM(e,t){return t&&(JM(t)==="object"||typeof t=="function")?t:cw(e)}function M_(e,t){return M_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},M_(e,t)}function JM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZM(e){var t=QM();return function(){var n=bu(e),o;if(t){var i=bu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XM(this,o)}}var gu=function(e){GM(r,e);var t=ZM(r);function r(n){WM(this,r);var o,i;return o=t.call(this,n),j_(cw(o),"props",void 0),o.props=new hu((i=n)===null||i===void 0?void 0:i.props),o}return KM(r,null,[{key:"controlName",get:function(){return"\u64CD\u4F5C\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"operation-button"}}]),r}(K);j_(gu,"controlEventKeys",["on_click"]),j_(gu,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE]},{key:"super-setting",visible:!0}]);function aw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function eL(e,t,r){return t&&fw(e.prototype,t),r&&fw(e,r),e}function tL(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mu(e){return mu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mu(e)}function rL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 nL(e,t){return t&&(oL(t)==="object"||typeof t=="function")?t:aw(e)}function L_(e,t){return L_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},L_(e,t)}function oL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uL(e){var t=iL();return function(){var n=mu(e),o;if(t){var i=mu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nL(this,o)}}var cL=function(e){rL(r,e);var t=uL(r);function r(n){YM(this,r);var o,i;return o=t.call(this,n),tL(aw(o),"props",void 0),o.props=new hu((i=n)===null||i===void 0?void 0:i.props),o}return eL(r,null,[{key:"controlType",get:function(){return"operation-button"}}]),r}(nr),V_={Designer:gu,Runtime:cL,Property:hu};function zt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ou(e){return Ou=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ou(e)}function aL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 fL(e,t){return t&&(sL(t)==="object"||typeof t=="function")?t:zt(e)}function C_(e,t){return C_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},C_(e,t)}function sL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _L(e){var t=pL();return function(){var n=Ou(e),o;if(t){var i=Ou(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fL(this,o)}}var yL=function(e){aL(r,e);var t=_L(r);function r(n){lL(this,r);var o,i,u,c,l,a,f,s,p,_;o=t.call(this,n),pr(zt(o),"content",void 0),pr(zt(o),"buttonType",void 0),pr(zt(o),"showType",void 0),pr(zt(o),"color",void 0),pr(zt(o),"icon",void 0),pr(zt(o),"defaultState",void 0),pr(zt(o),"command",void 0),pr(zt(o),"isLoading",void 0);var h;o.content=(h=(i=n)===null||i===void 0?void 0:i.content)!==null&&h!==void 0?h:$u.controlName;var d;o.icon=(d=(u=n)===null||u===void 0?void 0:u.icon)!==null&&d!==void 0?d:$u.controlIcon;var b;o.buttonType=(b=(c=n)===null||c===void 0?void 0:c.buttonType)!==null&&b!==void 0?b:"primary";var y;o.showType=(y=(l=n)===null||l===void 0?void 0:l.showType)!==null&&y!==void 0?y:"iconText";var g;o.color=(g=(a=n)===null||a===void 0?void 0:a.color)!==null&&g!==void 0?g:"danger";var O;o.isHide=(O=(f=n)===null||f===void 0?void 0:f.isHide)!==null&&O!==void 0?O:!1;var w;o.defaultState=(w=(s=n)===null||s===void 0?void 0:s.defaultState)!==null&&w!==void 0?w:"default";var P;o.command=(P=(p=n)===null||p===void 0?void 0:p.command)!==null&&P!==void 0?P:"custom";var E;return o.isLoading=(E=(_=n)===null||_===void 0?void 0:_.isLoading)!==null&&E!==void 0?E:!1,o}return r}(pe);function sw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vL(e,t,r){return t&&pw(e.prototype,t),r&&pw(e,r),e}function z_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wu(e){return wu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wu(e)}function hL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&H_(e,t)}function bL(e,t){return t&&(gL(t)==="object"||typeof t=="function")?t:sw(e)}function H_(e,t){return H_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},H_(e,t)}function gL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OL(e){var t=mL();return function(){var n=wu(e),o;if(t){var i=wu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bL(this,o)}}var $u=function(e){hL(r,e);var t=OL(r);function r(n){dL(this,r);var o,i;return o=t.call(this,n),z_(sw(o),"props",void 0),o.props=new yL((i=n)===null||i===void 0?void 0:i.props),o}return vL(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u5220\u9664"}},{key:"controlIcon",get:function(){return"iconlajitong"}},{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),r}(K);z_($u,"controlEventKeys",["on_click"]),z_($u,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE]},{key:"super-setting",visible:!0}]);function Et(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function st(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pu(e){return Pu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pu(e)}function U_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&W_(e,t)}function wL(e,t){return t&&($L(t)==="object"||typeof t=="function")?t:Et(e)}function W_(e,t){return W_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},W_(e,t)}function $L(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function K_(e){var t=PL();return function(){var n=Pu(e),o;if(t){var i=Pu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wL(this,o)}}var RL=function(e){U_(r,e);var t=K_(r);function r(n){q_(this,r);var o;return o=t.call(this,n),st(Et(o),"maxLength",{type:"number",min:0,message:$.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),st(Et(o),"minLength",{type:"number",max:200,message:$.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),st(Et(o),"defaultValue",[{type:"string",max:200,min:0,message:$.getMessage("stringRangeError")},{pattern:"",message:""}]),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue[0].max=n.maxLength,o.defaultValue[0].min=n.minLength,o.defaultValue[0].message=$.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o.defaultValue[1].pattern=gi(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(Pe),SL=function(e){U_(r,e);var t=K_(r);function r(n){q_(this,r);var o;return o=t.call(this,n),o.push({type:"string",message:$.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:$.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:gi(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(J),mo=function(e){U_(r,e);var t=K_(r);function r(n){q_(this,r);var o,i,u,c,l,a,f,s,p;o=t.call(this,n),st(Et(o),"maxLength",void 0),st(Et(o),"minLength",void 0),st(Et(o),"regularRules",void 0),st(Et(o),"defaultValue",void 0),st(Et(o),"encrypted",void 0),st(Et(o),"encryptedMode",void 0);var _;o.maxLength=(_=(i=n)===null||i===void 0?void 0:i.maxLength)!==null&&_!==void 0?_:200;var h;o.minLength=(h=(u=n)===null||u===void 0?void 0:u.minLength)!==null&&h!==void 0?h:0,o.regularRules=new Ag((c=n)===null||c===void 0?void 0:c.regularRules);var d;o.defaultValue=(d=(l=n)===null||l===void 0?void 0:l.defaultValue)!==null&&d!==void 0?d:"";var b;o.caption=(b=(a=n)===null||a===void 0?void 0:a.caption)!==null&&b!==void 0?b:Oo.controlName;var y;o.placeholder=(y=(f=n)===null||f===void 0?void 0:f.placeholder)!==null&&y!==void 0?y:"\u8BF7\u8F93\u5165";var g;o.encrypted=(g=(s=n)===null||s===void 0?void 0:s.encrypted)!==null&&g!==void 0?g:!1;var O;return o.encryptedMode=(O=(p=n)===null||p===void 0?void 0:p.encryptedMode)!==null&&O!==void 0?O:"",o}return r}(C);st(mo,"Rules",RL),st(mo,"RuntimeRules",SL);function _w(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function TL(e,t,r){return t&&yw(e.prototype,t),r&&yw(e,r),e}function Ru(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Su(e){return Su=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Su(e)}function IL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&G_(e,t)}function BL(e,t){return t&&(AL(t)==="object"||typeof t=="function")?t:_w(e)}function G_(e,t){return G_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},G_(e,t)}function AL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kL(e){var t=xL();return function(){var n=Su(e),o;if(t){var i=Su(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BL(this,o)}}var Oo=function(e){IL(r,e);var t=kL(r);function r(n){EL(this,r);var o,i;return o=t.call(this,n),Ru(_w(o),"props",void 0),o.props=new mo((i=n)===null||i===void 0?void 0:i.props),o}return TL(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconSingleline_new1"}},{key:"controlType",get:function(){return"input"}}]),r}(H);Ru(Oo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Ru(Oo,"controlFieldType",S.VARCHAR),Ru(Oo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.IS_SHOW_CAPTION_TIP,v.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function dw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function NL(e,t,r){return t&&vw(e.prototype,t),r&&vw(e,r),e}function hw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Eu(e){return Eu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Eu(e)}function FL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&X_(e,t)}function jL(e,t){return t&&(ML(t)==="object"||typeof t=="function")?t:dw(e)}function X_(e,t){return X_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},X_(e,t)}function ML(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VL(e){var t=LL();return function(){var n=Eu(e),o;if(t){var i=Eu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jL(this,o)}}var CL=function(e){FL(r,e);var t=VL(r);function r(n){DL(this,r);var o,i;return o=t.call(this,n),hw(dw(o),"props",void 0),o.props=new mo((i=n)===null||i===void 0?void 0:i.props),o}return NL(r,null,[{key:"controlType",get:function(){return"input"}}]),r}(q);hw(CL,"controlFieldType",S.VARCHAR);function Se(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function J_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function me(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tu(e){return Tu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tu(e)}function Q_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Z_(e,t)}function zL(e,t){return t&&(HL(t)==="object"||typeof t=="function")?t:Se(e)}function Z_(e,t){return Z_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Z_(e,t)}function HL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Y_(e){var t=qL();return function(){var n=Tu(e),o;if(t){var i=Tu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zL(this,o)}}var UL=function(e){Q_(r,e);var t=Y_(r);function r(n){J_(this,r);var o;o=t.call(this,n),me(Se(o),"limitMax",{type:"number",min:void 0,message:$.getMessage("PleaseReselectTheOptionalQuantity")});var i=n.limitMax==="unlimited";i&&(o.limitMax.type="string");var u=function(c){return c==="unlimited"?void 0:c};return o.limitMax.min=u(n.limitMin),o}return r}(Jr),WL=function(e){Q_(r,e);var t=Y_(r);function r(n){J_(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({type:"array",max:typeof n.limitMax=="number"?n.limitMax:void 0,min:typeof n.limitMin=="number"?n.limitMin:void 0}),o}return r}(J),Iu=function(e){Q_(r,e);var t=Y_(r);function r(n){J_(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y,g,O;o=t.call(this,n),me(Se(o),"checkboxMode",void 0),me(Se(o),"options",void 0),me(Se(o),"optionsOrder",void 0),me(Se(o),"limitMax",void 0),me(Se(o),"limitMin",void 0),me(Se(o),"otherOption",void 0),me(Se(o),"optionConfig",void 0),me(Se(o),"optionsFormat",void 0),me(Se(o),"defaultShowOptions",void 0),me(Se(o),"datasourceBind",void 0),me(Se(o),"multistageFilling",void 0),me(Se(o),"interreaction",void 0),me(Se(o),"defaultValue",void 0),me(Se(o),"openMultistageFilling",void 0);var w;o.options=Nt((w=(i=n)===null||i===void 0?void 0:i.options)!==null&&w!==void 0?w:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var P;o.checkboxMode=(P=(u=n)===null||u===void 0?void 0:u.checkboxMode)!==null&&P!==void 0?P:"horizontal";var E;o.optionConfig=(E=(c=n)===null||c===void 0?void 0:c.optionConfig)!==null&&E!==void 0?E:"custom";var T;o.optionsOrder=(T=(l=n)===null||l===void 0?void 0:l.optionsOrder)!==null&&T!==void 0?T:!1;var B;o.otherOption=(B=(a=n)===null||a===void 0?void 0:a.otherOption)!==null&&B!==void 0?B:!1;var I;o.limitMin=(I=(f=n)===null||f===void 0?void 0:f.limitMin)!==null&&I!==void 0?I:"unlimited";var A;o.limitMax=(A=(s=n)===null||s===void 0?void 0:s.limitMax)!==null&&A!==void 0?A:"unlimited",o.datasourceBind=new se((p=n)===null||p===void 0?void 0:p.datasourceBind);var x;o.interreaction=(x=(_=n)===null||_===void 0?void 0:_.interreaction)!==null&&x!==void 0?x:[];var k;o.caption=(k=(h=n)===null||h===void 0?void 0:h.caption)!==null&&k!==void 0?k:xu.controlName;var N;o.defaultValue=(N=(d=n)===null||d===void 0?void 0:d.defaultValue)!==null&&N!==void 0?N:[];var D;o.optionsFormat=(D=(b=n)===null||b===void 0?void 0:b.optionsFormat)!==null&&D!==void 0?D:"horizontal";var z;o.defaultShowOptions=(z=(y=n)===null||y===void 0?void 0:y.defaultShowOptions)!==null&&z!==void 0?z:!0;var Y;if(o.openMultistageFilling=(Y=(g=n)===null||g===void 0?void 0:g.openMultistageFilling)!==null&&Y!==void 0?Y:!1,o.multistageFilling=[],Array.isArray((O=n)===null||O===void 0?void 0:O.multistageFilling)){var ee;(ee=n)===null||ee===void 0||ee.multistageFilling.map(function(ne){var oe;(oe=o.multistageFilling)===null||oe===void 0||oe.push(new je(ne))})}return o}return r}(C);me(Iu,"Rules",UL),me(Iu,"RuntimeRules",WL);function bw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function GL(e,t,r){return t&&gw(e.prototype,t),r&&gw(e,r),e}function Bu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Au(e){return Au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Au(e)}function 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&&ey(e,t)}function JL(e,t){return t&&(QL(t)==="object"||typeof t=="function")?t:bw(e)}function ey(e,t){return ey=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ey(e,t)}function QL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YL(e){var t=ZL();return function(){var n=Au(e),o;if(t){var i=Au(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JL(this,o)}}var xu=function(e){XL(r,e);var t=YL(r);function r(n){KL(this,r);var o,i;return o=t.call(this,n),Bu(bw(o),"props",void 0),o.props=new Iu((i=n)===null||i===void 0?void 0:i.props),o}return GL(r,null,[{key:"controlName",get:function(){return"\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),r}(H);Bu(xu,"controlEventKeys",["on_change","on_click"]),Bu(xu,"controlFieldType",S.ARRAY),Bu(xu,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}]);function mw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ow(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function t5(e,t,r){return t&&Ow(e.prototype,t),r&&Ow(e,r),e}function ww(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ku(e){return ku=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ku(e)}function r5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ty(e,t)}function n5(e,t){return t&&(o5(t)==="object"||typeof t=="function")?t:mw(e)}function ty(e,t){return ty=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ty(e,t)}function o5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function i5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function u5(e){var t=i5();return function(){var n=ku(e),o;if(t){var i=ku(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return n5(this,o)}}var c5=function(e){r5(r,e);var t=u5(r);function r(n){e5(this,r);var o,i;return o=t.call(this,n),ww(mw(o),"props",void 0),o.props=new Iu((i=n)===null||i===void 0?void 0:i.props),o}return t5(r,null,[{key:"controlType",get:function(){return"checkbox"}}]),r}(q);ww(c5,"controlFieldType",S.ARRAY);function Xe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $w(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Je(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Du(e){return Du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Du(e)}function Pw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ry(e,t)}function l5(e,t){return t&&(a5(t)==="object"||typeof t=="function")?t:Xe(e)}function ry(e,t){return ry=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ry(e,t)}function a5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function f5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Rw(e){var t=f5();return function(){var n=Du(e),o;if(t){var i=Du(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return l5(this,o)}}var s5=function(e){Pw(r,e);var t=Rw(r);function r(n){return $w(this,r),t.call(this,n)}return r}(Jr),ny=function(e){Pw(r,e);var t=Rw(r);function r(n){$w(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y;o=t.call(this,n),Je(Xe(o),"radioMode",void 0),Je(Xe(o),"options",void 0),Je(Xe(o),"optionConfig",void 0),Je(Xe(o),"optionsFormat",void 0),Je(Xe(o),"defaultShowOptions",void 0),Je(Xe(o),"otherOption",void 0),Je(Xe(o),"optionsOrder",void 0),Je(Xe(o),"datasourceBind",void 0),Je(Xe(o),"multistageFilling",void 0),Je(Xe(o),"interreaction",void 0),Je(Xe(o),"defaultValue",void 0),Je(Xe(o),"openMultistageFilling",void 0);var g;o.options=Nt((g=(i=n)===null||i===void 0?void 0:i.options)!==null&&g!==void 0?g:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var O;o.radioMode=(O=(u=n)===null||u===void 0?void 0:u.radioMode)!==null&&O!==void 0?O:"horizontal";var w;o.optionConfig=(w=(c=n)===null||c===void 0?void 0:c.optionConfig)!==null&&w!==void 0?w:"custom";var P;o.otherOption=(P=(l=n)===null||l===void 0?void 0:l.otherOption)!==null&&P!==void 0?P:!1;var E;o.optionsOrder=(E=(a=n)===null||a===void 0?void 0:a.optionsOrder)!==null&&E!==void 0?E:!1;var T;o.defaultShowOptions=(T=(f=n)===null||f===void 0?void 0:f.defaultShowOptions)!==null&&T!==void 0?T:!0;var B;o.optionsFormat=(B=(s=n)===null||s===void 0?void 0:s.optionsFormat)!==null&&B!==void 0?B:"horizontal",o.datasourceBind=new se((p=n)===null||p===void 0?void 0:p.datasourceBind);var I;o.interreaction=(I=(_=n)===null||_===void 0?void 0:_.interreaction)!==null&&I!==void 0?I:[];var A;o.caption=(A=(h=n)===null||h===void 0?void 0:h.caption)!==null&&A!==void 0?A:ju.controlName;var x;o.defaultValue=(x=(d=n)===null||d===void 0?void 0:d.defaultValue)!==null&&x!==void 0?x:"";var k;if(o.openMultistageFilling=(k=(b=n)===null||b===void 0?void 0:b.openMultistageFilling)!==null&&k!==void 0?k:!1,o.multistageFilling=[],Array.isArray((y=n)===null||y===void 0?void 0:y.multistageFilling)){var N;(N=n)===null||N===void 0||N.multistageFilling.map(function(D){var z;(z=o.multistageFilling)===null||z===void 0||z.push(new je(D))})}return o}return r}(C);Je(ny,"Rules",s5);function Sw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ew(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _5(e,t,r){return t&&Ew(e.prototype,t),r&&Ew(e,r),e}function Nu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fu(e){return Fu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fu(e)}function 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&&oy(e,t)}function d5(e,t){return t&&(v5(t)==="object"||typeof t=="function")?t:Sw(e)}function oy(e,t){return oy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oy(e,t)}function v5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function h5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function b5(e){var t=h5();return function(){var n=Fu(e),o;if(t){var i=Fu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return d5(this,o)}}var ju=function(e){y5(r,e);var t=b5(r);function r(n){p5(this,r);var o,i;return o=t.call(this,n),Nu(Sw(o),"props",void 0),o.props=new ny((i=n)===null||i===void 0?void 0:i.props),o}return _5(r,null,[{key:"controlName",get:function(){return"\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),r}(H);Nu(ju,"controlEventKeys",["on_change","on_click"]),Nu(ju,"controlFieldType",S.VARCHAR),Nu(ju,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}]);function Tw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Iw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function m5(e,t,r){return t&&Iw(e.prototype,t),r&&Iw(e,r),e}function Bw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mu(e){return Mu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mu(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&&iy(e,t)}function w5(e,t){return t&&($5(t)==="object"||typeof t=="function")?t:Tw(e)}function iy(e,t){return iy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iy(e,t)}function $5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function P5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function R5(e){var t=P5();return function(){var n=Mu(e),o;if(t){var i=Mu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return w5(this,o)}}var S5=function(e){O5(r,e);var t=R5(r);function r(n){g5(this,r);var o,i;return o=t.call(this,n),Bw(Tw(o),"props",void 0),o.props=new ny((i=n)===null||i===void 0?void 0:i.props),o}return m5(r,null,[{key:"controlType",get:function(){return"radio"}}]),r}(q);Bw(S5,"controlFieldType",S.VARCHAR);function Ne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ee(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lu(e){return Lu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lu(e)}function cy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ly(e,t)}function E5(e,t){return t&&(T5(t)==="object"||typeof t=="function")?t:Ne(e)}function ly(e,t){return ly=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ly(e,t)}function T5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function I5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ay(e){var t=I5();return function(){var n=Lu(e),o;if(t){var i=Lu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return E5(this,o)}}var B5=function(e){cy(r,e);var t=ay(r);function r(n){uy(this,r);var o;o=t.call(this,n),Ee(Ne(o),"defaultValue",[{type:"number",min:0,max:200,message:$.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}]),Ee(Ne(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue[0].max=i,o.defaultValue[0].min=u,o.defaultValue[0].message=$.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:$.getMessage("numberRangeSetError")}),o.defaultValue[1].pattern=gi(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(Pe),A5=function(e){cy(r,e);var t=ay(r);function r(n){uy(this,r);var o;o=t.call(this,n),o[0].type="number";var i=n.rangeMax!==""?n.rangeMax:void 0,u=n.rangeMin!==""?n.rangeMin:void 0;return o.push({type:"number",max:i,min:u,message:$.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:gi(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(J),Vu=function(e){cy(r,e);var t=ay(r);function r(n){uy(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y,g;o=t.call(this,n),Ee(Ne(o),"rangeMin",void 0),Ee(Ne(o),"rangeMax",void 0),Ee(Ne(o),"numberType",void 0),Ee(Ne(o),"percentageFormat",void 0),Ee(Ne(o),"micrometer",void 0),Ee(Ne(o),"precision",void 0),Ee(Ne(o),"showUpperCase",void 0),Ee(Ne(o),"isShowUnit",void 0),Ee(Ne(o),"unitPosition",void 0),Ee(Ne(o),"unit",void 0),Ee(Ne(o),"defaultValue",void 0),Ee(Ne(o),"regularRules",void 0);var O;o.rangeMin=(O=(i=n)===null||i===void 0?void 0:i.rangeMin)!==null&&O!==void 0?O:"";var w;o.rangeMax=(w=(u=n)===null||u===void 0?void 0:u.rangeMax)!==null&&w!==void 0?w:"";var P;o.numberType=(P=(c=n)===null||c===void 0?void 0:c.numberType)!==null&&P!==void 0?P:"number";var E;o.percentageFormat=(E=(l=n)===null||l===void 0?void 0:l.percentageFormat)!==null&&E!==void 0?E:!1;var T;o.micrometer=(T=(a=n)===null||a===void 0?void 0:a.micrometer)!==null&&T!==void 0?T:!1;var B;o.precision=(B=(f=n)===null||f===void 0?void 0:f.precision)!==null&&B!==void 0?B:0;var I;o.showUpperCase=(I=(s=n)===null||s===void 0?void 0:s.showUpperCase)!==null&&I!==void 0?I:!1;var A;o.isShowUnit=(A=(p=n)===null||p===void 0?void 0:p.isShowUnit)!==null&&A!==void 0?A:!1;var x;o.unitPosition=(x=(_=n)===null||_===void 0?void 0:_.unitPosition)!==null&&x!==void 0?x:"right";var k;o.unit=(k=(h=n)===null||h===void 0?void 0:h.unit)!==null&&k!==void 0?k:"";var N;o.caption=(N=(d=n)===null||d===void 0?void 0:d.caption)!==null&&N!==void 0?N:Hu.controlName;var D;o.placeholder=(D=(b=n)===null||b===void 0?void 0:b.placeholder)!==null&&D!==void 0?D:"\u8BF7\u8F93\u5165";var z;return o.defaultValue=(z=(y=n)===null||y===void 0?void 0:y.defaultValue)!==null&&z!==void 0?z:"",o.regularRules=new Ag((g=n)===null||g===void 0?void 0:g.regularRules),o}return r}(C);Ee(Vu,"Rules",B5),Ee(Vu,"RuntimeRules",A5);function Aw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function k5(e,t,r){return t&&xw(e.prototype,t),r&&xw(e,r),e}function Cu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zu(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?zu=Reflect.get:zu=function(o,i,u){var c=F5(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},zu(e,t,r||e)}function rn(e){return rn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rn(e)}function 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&&fy(e,t)}function N5(e,t){return t&&(j5(t)==="object"||typeof t=="function")?t:Aw(e)}function fy(e,t){return fy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fy(e,t)}function F5(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=rn(e),e!==null););return e}function j5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function M5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function L5(e){var t=M5();return function(){var n=rn(e),o;if(t){var i=rn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return N5(this,o)}}var Hu=function(e){D5(r,e);var t=L5(r);function r(n){x5(this,r);var o,i;return o=t.call(this,n),Cu(Aw(o),"props",void 0),o.props=new Vu((i=n)===null||i===void 0?void 0:i.props),o}return k5(r,[{key:"toDataBindModel",value:function(o){var i=zu(rn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,l=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=l}return i}}],[{key:"controlName",get:function(){return"\u6570\u5B57"}},{key:"controlIcon",get:function(){return"iconnuminput_new"}},{key:"controlType",get:function(){return"number"}}]),r}(H);Cu(Hu,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Cu(Hu,"controlFieldType",S.DECIMAL),Cu(Hu,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.IS_SHOW_UNIT,v.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[v.SHOW_UPPER_CASE,v.MICROMETER,v.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function kw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function C5(e,t,r){return t&&Dw(e.prototype,t),r&&Dw(e,r),e}function Nw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qu(e){return qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qu(e)}function z5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sy(e,t)}function H5(e,t){return t&&(q5(t)==="object"||typeof t=="function")?t:kw(e)}function sy(e,t){return sy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sy(e,t)}function q5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function U5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function W5(e){var t=U5();return function(){var n=qu(e),o;if(t){var i=qu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return H5(this,o)}}var K5=function(e){z5(r,e);var t=W5(r);function r(n){V5(this,r);var o,i;return o=t.call(this,n),Nw(kw(o),"props",void 0),o.props=new Vu((i=n)===null||i===void 0?void 0:i.props),o}return C5(r,null,[{key:"controlType",get:function(){return"number"}}]),r}(q);Nw(K5,"controlFieldType",S.DECIMAL);function Ht(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function G5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _r(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Uu(e){return Uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uu(e)}function X5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&py(e,t)}function J5(e,t){return t&&(Q5(t)==="object"||typeof t=="function")?t:Ht(e)}function py(e,t){return py=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},py(e,t)}function Q5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Z5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Y5(e){var t=Z5();return function(){var n=Uu(e),o;if(t){var i=Uu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return J5(this,o)}}var Fw=function(e){X5(r,e);var t=Y5(r);function r(n){G5(this,r);var o,i,u,c,l,a,f,s,p,_,h,d;o=t.call(this,n),_r(Ht(o),"dateType",void 0),_r(Ht(o),"dateFormat",void 0),_r(Ht(o),"commonTimeSetting",void 0),_r(Ht(o),"setValueType",void 0),_r(Ht(o),"defaultValue",void 0),_r(Ht(o),"limitDateList",void 0),_r(Ht(o),"allowDateRange",void 0),_r(Ht(o),"filterWeekend",void 0);var b;o.dateType=(b=(i=n)===null||i===void 0?void 0:i.dateType)!==null&&b!==void 0?b:Zt.DATE;var y;o.dateFormat=(y=(u=n)===null||u===void 0?void 0:u.dateFormat)!==null&&y!==void 0?y:"";var g;o.commonTimeSetting=(g=(c=n)===null||c===void 0?void 0:c.commonTimeSetting)!==null&&g!==void 0?g:[];var O;o.setValueType=(O=(l=n)===null||l===void 0?void 0:l.setValueType)!==null&&O!==void 0?O:"custom";var w;o.caption=(w=(a=n)===null||a===void 0?void 0:a.caption)!==null&&w!==void 0?w:dy.controlName;var P;o.placeholder=(P=(f=n)===null||f===void 0?void 0:f.placeholder)!==null&&P!==void 0?P:"\u8BF7\u8F93\u5165\u65E5\u671F";var E;o.defaultValue=(E=(s=n)===null||s===void 0?void 0:s.defaultValue)!==null&&E!==void 0?E:"";var T;o.limitDateList=(T=(_=n)===null||_===void 0||(p=_.limitDateList)===null||p===void 0?void 0:p.map(function(A){return new Tp(A)}))!==null&&T!==void 0?T:[];var B;o.allowDateRange=(B=(h=n)===null||h===void 0?void 0:h.allowDateRange)!==null&&B!==void 0?B:["",""];var I;return o.filterWeekend=(I=(d=n)===null||d===void 0?void 0:d.filterWeekend)!==null&&I!==void 0?I:!1,o}return r}(C);function jw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function t6(e,t,r){return t&&Mw(e.prototype,t),r&&Mw(e,r),e}function _y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wu(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Wu=Reflect.get:Wu=function(o,i,u){var c=o6(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Wu(e,t,r||e)}function nn(e){return nn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nn(e)}function r6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yy(e,t)}function n6(e,t){return t&&(i6(t)==="object"||typeof t=="function")?t:jw(e)}function yy(e,t){return yy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yy(e,t)}function o6(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=nn(e),e!==null););return e}function i6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function u6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function c6(e){var t=u6();return function(){var n=nn(e),o;if(t){var i=nn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return n6(this,o)}}var dy=function(e){r6(r,e);var t=c6(r);function r(n){e6(this,r);var o,i;return o=t.call(this,n),_y(jw(o),"props",void 0),o.props=new Fw((i=n)===null||i===void 0?void 0:i.props),o}return t6(r,[{key:"toDataBindModel",value:function(o){var i=Wu(nn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props.dateType;i.props.dateType=u}return i}}],[{key:"controlName",get:function(){return"\u65E5\u671F"}},{key:"controlIcon",get:function(){return"iconriqi1"}},{key:"controlType",get:function(){return"date-picker"}}]),r}(H);_y(dy,"controlFieldType",S.TIMESTAMP),_y(dy,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function Lw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a6(e,t,r){return t&&Vw(e.prototype,t),r&&Vw(e,r),e}function Cw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ku(e){return Ku=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ku(e)}function f6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vy(e,t)}function s6(e,t){return t&&(p6(t)==="object"||typeof t=="function")?t:Lw(e)}function vy(e,t){return vy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vy(e,t)}function p6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function y6(e){var t=_6();return function(){var n=Ku(e),o;if(t){var i=Ku(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return s6(this,o)}}var d6=function(e){f6(r,e);var t=y6(r);function r(n){l6(this,r);var o,i;return o=t.call(this,n),Cw(Lw(o),"props",void 0),o.props=new Fw((i=n)===null||i===void 0?void 0:i.props),o}return a6(r,null,[{key:"controlType",get:function(){return"date-picker"}}]),r}(q);Cw(d6,"controlFieldType",S.TIMESTAMP);function rt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gu(e){return Gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gu(e)}function 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&&hy(e,t)}function v6(e,t){return t&&(h6(t)==="object"||typeof t=="function")?t:rt(e)}function hy(e,t){return hy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hy(e,t)}function h6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function b6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qw(e){var t=b6();return function(){var n=Gu(e),o;if(t){var i=Gu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return v6(this,o)}}var g6=function(e){Hw(r,e);var t=qw(r);function r(n){zw(this,r);var o;return o=t.call(this,n),o[0].type="object",n.isHide||o.push({type:"object",fields:{max:{type:"string",required:n.required,message:o[0].message},min:{type:"string",required:n.required,message:o[0].message}}}),o}return r}(J),by=function(e){Hw(r,e);var t=qw(r);function r(n){zw(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y;o=t.call(this,n),nt(rt(o),"dataBind",void 0),nt(rt(o),"rangeMin",void 0),nt(rt(o),"rangeMax",void 0),nt(rt(o),"placeholderStart",void 0),nt(rt(o),"placeholderEnd",void 0),nt(rt(o),"dateFormat",void 0),nt(rt(o),"commonTimeSetting",void 0),nt(rt(o),"dateType",void 0),nt(rt(o),"setValueType",void 0),nt(rt(o),"defaultValue",void 0),nt(rt(o),"limitDateList",void 0),o.dataBind=new G2((i=n)===null||i===void 0?void 0:i.dataBind),o.defaultValue=new X2((u=n)===null||u===void 0?void 0:u.defaultValue);var g;o.dateType=(g=(c=n)===null||c===void 0?void 0:c.dateType)!==null&&g!==void 0?g:Zt.DATE;var O;o.dateFormat=(O=(l=n)===null||l===void 0?void 0:l.dateFormat)!==null&&O!==void 0?O:"";var w;o.commonTimeSetting=(w=(a=n)===null||a===void 0?void 0:a.commonTimeSetting)!==null&&w!==void 0?w:[];var P;o.setValueType=(P=(f=n)===null||f===void 0?void 0:f.setValueType)!==null&&P!==void 0?P:"custom";var E;o.rangeMin=(E=(s=n)===null||s===void 0?void 0:s.rangeMin)!==null&&E!==void 0?E:"";var T;o.rangeMax=(T=(p=n)===null||p===void 0?void 0:p.rangeMax)!==null&&T!==void 0?T:"";var B;o.placeholderStart=(B=(_=n)===null||_===void 0?void 0:_.placeholderStart)!==null&&B!==void 0?B:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F";var I;o.placeholderEnd=(I=(h=n)===null||h===void 0?void 0:h.placeholderEnd)!==null&&I!==void 0?I:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F";var A;o.caption=(A=(d=n)===null||d===void 0?void 0:d.caption)!==null&&A!==void 0?A:Oy.controlName;var x;return o.limitDateList=(x=(y=n)===null||y===void 0||(b=y.limitDateList)===null||b===void 0?void 0:b.map(function(k){return new Tp(k)}))!==null&&x!==void 0?x:[],o}return r}(C);nt(by,"RuntimeRules",g6);function Uw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ww(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function O6(e,t,r){return t&&Ww(e.prototype,t),r&&Ww(e,r),e}function gy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xu(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Xu=Reflect.get:Xu=function(o,i,u){var c=P6(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Xu(e,t,r||e)}function on(e){return on=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},on(e)}function w6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&my(e,t)}function $6(e,t){return t&&(R6(t)==="object"||typeof t=="function")?t:Uw(e)}function my(e,t){return my=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},my(e,t)}function P6(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=on(e),e!==null););return e}function R6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function S6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function E6(e){var t=S6();return function(){var n=on(e),o;if(t){var i=on(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $6(this,o)}}var Oy=function(e){w6(r,e);var t=E6(r);function r(n){m6(this,r);var o,i;return o=t.call(this,n),gy(Uw(o),"props",void 0),o.props=new by((i=n)===null||i===void 0?void 0:i.props),o}return O6(r,[{key:"toDataBindModel",value:function(o){var i=Xu(on(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props.dateType;i.props.dateType=u}return i}}],[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"date-range"}}]),r}(H);gy(Oy,"controlFieldType",S.TIMESCOPE),gy(Oy,"setting",[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function Kw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function I6(e,t,r){return t&&Gw(e.prototype,t),r&&Gw(e,r),e}function Xw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ju(e){return Ju=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ju(e)}function B6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wy(e,t)}function A6(e,t){return t&&(x6(t)==="object"||typeof t=="function")?t:Kw(e)}function wy(e,t){return wy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wy(e,t)}function x6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function k6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function D6(e){var t=k6();return function(){var n=Ju(e),o;if(t){var i=Ju(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return A6(this,o)}}var N6=function(e){B6(r,e);var t=D6(r);function r(n){T6(this,r);var o,i;return o=t.call(this,n),Xw(Kw(o),"props",void 0),o.props=new by((i=n)===null||i===void 0?void 0:i.props),o}return I6(r,null,[{key:"controlType",get:function(){return"date-range"}}]),r}(q);Xw(N6,"controlFieldType",S.TIMESCOPE);function yr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qu(e){return Qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qu(e)}function Py(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ry(e,t)}function F6(e,t){return t&&(j6(t)==="object"||typeof t=="function")?t:yr(e)}function Ry(e,t){return Ry=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ry(e,t)}function j6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function M6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sy(e){var t=M6();return function(){var n=Qu(e),o;if(t){var i=Qu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return F6(this,o)}}var L6=function(e){Py(r,e);var t=Sy(r);function r(n){$y(this,r);var o;return o=t.call(this,n),qt(yr(o),"maxLength",{type:"number",min:0,message:$.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),qt(yr(o),"minLength",{type:"number",max:1e6,message:$.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),qt(yr(o),"defaultValue",{type:"string",max:200,min:0,message:$.getMessage("stringRangeError")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=$.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(Pe),V6=function(e){Py(r,e);var t=Sy(r);function r(n){$y(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:$.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(J),Zu=function(e){Py(r,e);var t=Sy(r);function r(n){$y(this,r);var o,i,u,c,l,a,f;o=t.call(this,n),qt(yr(o),"maxLength",void 0),qt(yr(o),"minLength",void 0),qt(yr(o),"defaultValue",void 0),qt(yr(o),"lineEllipsis",void 0);var s;o.maxLength=(s=(i=n)===null||i===void 0?void 0:i.maxLength)!==null&&s!==void 0?s:5e4;var p;o.minLength=(p=(u=n)===null||u===void 0?void 0:u.minLength)!==null&&p!==void 0?p:0;var _;o.defaultValue=(_=(c=n)===null||c===void 0?void 0:c.defaultValue)!==null&&_!==void 0?_:"";var h;o.caption=(h=(l=n)===null||l===void 0?void 0:l.caption)!==null&&h!==void 0?h:tc.controlName;var d;o.placeholder=(d=(a=n)===null||a===void 0?void 0:a.placeholder)!==null&&d!==void 0?d:"\u8BF7\u8F93\u5165";var b;return o.lineEllipsis=(b=(f=n)===null||f===void 0?void 0:f.lineEllipsis)!==null&&b!==void 0?b:4,o}return r}(C);qt(Zu,"Rules",L6),qt(Zu,"RuntimeRules",V6);function Jw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function z6(e,t,r){return t&&Qw(e.prototype,t),r&&Qw(e,r),e}function Yu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ec(e){return ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ec(e)}function H6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ey(e,t)}function q6(e,t){return t&&(U6(t)==="object"||typeof t=="function")?t:Jw(e)}function Ey(e,t){return Ey=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ey(e,t)}function U6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function W6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function K6(e){var t=W6();return function(){var n=ec(e),o;if(t){var i=ec(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return q6(this,o)}}var tc=function(e){H6(r,e);var t=K6(r);function r(n){C6(this,r);var o,i;return o=t.call(this,n),Yu(Jw(o),"props",void 0),o.props=new Zu((i=n)===null||i===void 0?void 0:i.props),o}return z6(r,null,[{key:"controlName",get:function(){return"\u591A\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconMultilineline_new1"}},{key:"controlType",get:function(){return"textarea"}}]),r}(H);Yu(tc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Yu(tc,"controlFieldType",S.TEXT),Yu(tc,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}]);function Zw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function G6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function X6(e,t,r){return t&&Yw(e.prototype,t),r&&Yw(e,r),e}function e$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rc(e){return rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rc(e)}function J6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ty(e,t)}function Q6(e,t){return t&&(Z6(t)==="object"||typeof t=="function")?t:Zw(e)}function Ty(e,t){return Ty=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ty(e,t)}function Z6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Y6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function e4(e){var t=Y6();return function(){var n=rc(e),o;if(t){var i=rc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Q6(this,o)}}var t4=function(e){J6(r,e);var t=e4(r);function r(n){G6(this,r);var o,i;return o=t.call(this,n),e$(Zw(o),"props",void 0),o.props=new Zu((i=n)===null||i===void 0?void 0:i.props),o}return X6(r,null,[{key:"controlType",get:function(){return"textarea"}}]),r}(q);e$(t4,"controlFieldType",S.TEXT);function Ir(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Iy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nc(e){return nc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nc(e)}function By(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ay(e,t)}function r4(e,t){return t&&(n4(t)==="object"||typeof t=="function")?t:Ir(e)}function Ay(e,t){return Ay=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ay(e,t)}function n4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function o4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xy(e){var t=o4();return function(){var n=nc(e),o;if(t){var i=nc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return r4(this,o)}}var i4=function(e){By(r,e);var t=xy(r);function r(n){Iy(this,r);var o;return o=t.call(this,n),dr(Ir(o),"maxLength",{type:"number",min:0,message:$.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),dr(Ir(o),"minLength",{type:"number",max:1e6,message:$.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),dr(Ir(o),"defaultValue",{type:"string",max:200,min:0,message:$.getMessage("stringRangeError")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=$.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(Pe),u4=function(e){By(r,e);var t=xy(r);function r(n){Iy(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:$.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(J),oc=function(e){By(r,e);var t=xy(r);function r(n){Iy(this,r);var o,i,u,c,l,a;o=t.call(this,n),dr(Ir(o),"maxLength",void 0),dr(Ir(o),"minLength",void 0),dr(Ir(o),"defaultValue",void 0);var f;o.maxLength=(f=(i=n)===null||i===void 0?void 0:i.maxLength)!==null&&f!==void 0?f:5e4;var s;o.minLength=(s=(u=n)===null||u===void 0?void 0:u.minLength)!==null&&s!==void 0?s:0;var p;o.defaultValue=(p=(c=n)===null||c===void 0?void 0:c.defaultValue)!==null&&p!==void 0?p:"";var _;o.caption=(_=(l=n)===null||l===void 0?void 0:l.caption)!==null&&_!==void 0?_:cc.controlName;var h;return o.placeholder=(h=(a=n)===null||a===void 0?void 0:a.placeholder)!==null&&h!==void 0?h:"\u8BF7\u8F93\u5165",o}return r}(C);dr(oc,"Rules",i4),dr(oc,"RuntimeRules",u4);function t$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l4(e,t,r){return t&&r$(e.prototype,t),r&&r$(e,r),e}function ic(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uc(e){return uc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uc(e)}function a4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 f4(e,t){return t&&(s4(t)==="object"||typeof t=="function")?t:t$(e)}function ky(e,t){return ky=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ky(e,t)}function s4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function p4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _4(e){var t=p4();return function(){var n=uc(e),o;if(t){var i=uc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return f4(this,o)}}var cc=function(e){a4(r,e);var t=_4(r);function r(n){c4(this,r);var o,i;return o=t.call(this,n),ic(t$(o),"props",void 0),o.props=new oc((i=n)===null||i===void 0?void 0:i.props),o}return l4(r,null,[{key:"controlName",get:function(){return"\u5BCC\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconRichtextbox_new"}},{key:"controlType",get:function(){return"rich-text"}}]),r}(H);ic(cc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),ic(cc,"controlFieldType",S.TEXT),ic(cc,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}]);function n$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d4(e,t,r){return t&&o$(e.prototype,t),r&&o$(e,r),e}function i$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lc(e){return lc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lc(e)}function v4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dy(e,t)}function h4(e,t){return t&&(b4(t)==="object"||typeof t=="function")?t:n$(e)}function Dy(e,t){return Dy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dy(e,t)}function b4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function g4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function m4(e){var t=g4();return function(){var n=lc(e),o;if(t){var i=lc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return h4(this,o)}}var O4=function(e){v4(r,e);var t=m4(r);function r(n){y4(this,r);var o,i;return o=t.call(this,n),i$(n$(o),"props",void 0),o.props=new oc((i=n)===null||i===void 0?void 0:i.props),o}return d4(r,null,[{key:"controlType",get:function(){return"rich-text"}}]),r}(q);i$(O4,"controlFieldType",S.TEXT);function ot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function it(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ac(e){return ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ac(e)}function 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&&Ny(e,t)}function w4(e,t){return t&&($4(t)==="object"||typeof t=="function")?t:ot(e)}function Ny(e,t){return Ny=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ny(e,t)}function $4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function P4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function l$(e){var t=P4();return function(){var n=ac(e),o;if(t){var i=ac(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return w4(this,o)}}var R4=function(e){c$(r,e);var t=l$(r);function r(n){return u$(this,r),t.call(this,n)}return r}(Jr),Fy=function(e){c$(r,e);var t=l$(r);function r(n){u$(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y;o=t.call(this,n),it(ot(o),"options",void 0),it(ot(o),"defaultShowOptions",void 0),it(ot(o),"optionConfig",void 0),it(ot(o),"defaultValue",void 0),it(ot(o),"datasourceBind",void 0),it(ot(o),"multistageFilling",void 0),it(ot(o),"allowCopyOptions",void 0),it(ot(o),"openMultistageFilling",void 0),it(ot(o),"viewFormModelType",void 0),it(ot(o),"canViewForm",void 0),it(ot(o),"formBind",void 0);var g;o.options=Nt((g=(i=n)===null||i===void 0?void 0:i.options)!==null&&g!==void 0?g:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var O;o.defaultShowOptions=(O=(u=n)===null||u===void 0?void 0:u.defaultShowOptions)!==null&&O!==void 0?O:!0;var w;o.optionConfig=(w=(c=n)===null||c===void 0?void 0:c.optionConfig)!==null&&w!==void 0?w:"custom",o.datasourceBind=new se((l=n)===null||l===void 0?void 0:l.datasourceBind);var P;o.caption=(P=(a=n)===null||a===void 0?void 0:a.caption)!==null&&P!==void 0?P:Ly.controlName;var E;o.placeholder=(E=(f=n)===null||f===void 0?void 0:f.placeholder)!==null&&E!==void 0?E:"\u8BF7\u9009\u62E9";var T;o.defaultValue=(T=(s=n)===null||s===void 0?void 0:s.defaultValue)!==null&&T!==void 0?T:"";var B;o.allowCopyOptions=(B=(p=n)===null||p===void 0?void 0:p.allowCopyOptions)!==null&&B!==void 0?B:!1;var I;if(o.openMultistageFilling=(I=(_=n)===null||_===void 0?void 0:_.openMultistageFilling)!==null&&I!==void 0?I:!1,o.multistageFilling=[],Array.isArray((h=n)===null||h===void 0?void 0:h.multistageFilling)){var A;(A=n)===null||A===void 0||A.multistageFilling.map(function(N){var D;(D=o.multistageFilling)===null||D===void 0||D.push(new je(N))})}var x;o.canViewForm=(x=(d=n)===null||d===void 0?void 0:d.canViewForm)!==null&&x!==void 0?x:!1;var k;return o.viewFormModelType=(k=(b=n)===null||b===void 0?void 0:b.viewFormModelType)!==null&&k!==void 0?k:"window",o.formBind=new Gr((y=n)===null||y===void 0?void 0:y.formBind),o}return r}(C);it(Fy,"Rules",R4);function a$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function E4(e,t,r){return t&&f$(e.prototype,t),r&&f$(e,r),e}function jy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fc(e){return fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fc(e)}function T4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 I4(e,t){return t&&(B4(t)==="object"||typeof t=="function")?t:a$(e)}function My(e,t){return My=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},My(e,t)}function B4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function A4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function x4(e){var t=A4();return function(){var n=fc(e),o;if(t){var i=fc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return I4(this,o)}}var Ly=function(e){T4(r,e);var t=x4(r);function r(n){S4(this,r);var o,i;return o=t.call(this,n),jy(a$(o),"props",void 0),o.props=new Fy((i=n)===null||i===void 0?void 0:i.props),o}return E4(r,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconxiala1"}},{key:"controlType",get:function(){return"select"}}]),r}(H);jy(Ly,"controlFieldType",S.VARCHAR),jy(Ly,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.DEFAULT_SHOW_OPTIONS,v.IS_SHOW_CAPTION_TIP,v.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[v.CAN_VIEW_FORM,v.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]);function s$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function D4(e,t,r){return t&&p$(e.prototype,t),r&&p$(e,r),e}function _$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sc(e){return sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sc(e)}function N4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vy(e,t)}function F4(e,t){return t&&(j4(t)==="object"||typeof t=="function")?t:s$(e)}function Vy(e,t){return Vy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vy(e,t)}function j4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function M4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function L4(e){var t=M4();return function(){var n=sc(e),o;if(t){var i=sc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return F4(this,o)}}var V4=function(e){N4(r,e);var t=L4(r);function r(n){k4(this,r);var o,i;return o=t.call(this,n),_$(s$(o),"props",void 0),o.props=new Fy((i=n)===null||i===void 0?void 0:i.props),o}return D4(r,null,[{key:"controlType",get:function(){return"select"}}]),r}(q);_$(V4,"controlFieldType",S.VARCHAR);function pt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ut(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pc(e){return pc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pc(e)}function zy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hy(e,t)}function C4(e,t){return t&&(z4(t)==="object"||typeof t=="function")?t:pt(e)}function Hy(e,t){return Hy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hy(e,t)}function z4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function H4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qy(e){var t=H4();return function(){var n=pc(e),o;if(t){var i=pc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return C4(this,o)}}var q4=function(e){zy(r,e);var t=qy(r);function r(n){return Cy(this,r),t.call(this,n)}return r}(Jr),U4=function(e){zy(r,e);var t=qy(r);function r(n){Cy(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(J),_c=function(e){zy(r,e);var t=qy(r);function r(n){Cy(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b;o=t.call(this,n),ut(pt(o),"options",void 0),ut(pt(o),"defaultShowOptions",void 0),ut(pt(o),"optionConfig",void 0),ut(pt(o),"defaultValue",void 0),ut(pt(o),"datasourceBind",void 0),ut(pt(o),"multistageFilling",void 0),ut(pt(o),"openMultistageFilling",void 0),ut(pt(o),"viewFormModelType",void 0),ut(pt(o),"canViewForm",void 0),ut(pt(o),"formBind",void 0);var y;o.options=Nt((y=(i=n)===null||i===void 0?void 0:i.options)!==null&&y!==void 0?y:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var g;o.defaultShowOptions=(g=(u=n)===null||u===void 0?void 0:u.defaultShowOptions)!==null&&g!==void 0?g:!0;var O;o.optionConfig=(O=(c=n)===null||c===void 0?void 0:c.optionConfig)!==null&&O!==void 0?O:"custom",o.datasourceBind=new se((l=n)===null||l===void 0?void 0:l.datasourceBind);var w;o.caption=(w=(a=n)===null||a===void 0?void 0:a.caption)!==null&&w!==void 0?w:Ky.controlName;var P;o.placeholder=(P=(f=n)===null||f===void 0?void 0:f.placeholder)!==null&&P!==void 0?P:"\u8BF7\u9009\u62E9";var E;o.defaultValue=(E=(s=n)===null||s===void 0?void 0:s.defaultValue)!==null&&E!==void 0?E:[];var T;if(o.openMultistageFilling=(T=(p=n)===null||p===void 0?void 0:p.openMultistageFilling)!==null&&T!==void 0?T:!1,o.multistageFilling=[],Array.isArray((_=n)===null||_===void 0?void 0:_.multistageFilling)){var B;(B=n)===null||B===void 0||B.multistageFilling.map(function(x){var k;(k=o.multistageFilling)===null||k===void 0||k.push(new je(x))})}var I;o.canViewForm=(I=(h=n)===null||h===void 0?void 0:h.canViewForm)!==null&&I!==void 0?I:!1;var A;return o.viewFormModelType=(A=(d=n)===null||d===void 0?void 0:d.viewFormModelType)!==null&&A!==void 0?A:"window",o.formBind=new Gr((b=n)===null||b===void 0?void 0:b.formBind),o}return r}(C);ut(_c,"Rules",q4),ut(_c,"RuntimeRules",U4);function y$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function K4(e,t,r){return t&&d$(e.prototype,t),r&&d$(e,r),e}function Uy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yc(e){return yc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yc(e)}function G4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wy(e,t)}function X4(e,t){return t&&(J4(t)==="object"||typeof t=="function")?t:y$(e)}function Wy(e,t){return Wy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wy(e,t)}function J4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Q4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Z4(e){var t=Q4();return function(){var n=yc(e),o;if(t){var i=yc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return X4(this,o)}}var Ky=function(e){G4(r,e);var t=Z4(r);function r(n){W4(this,r);var o,i;return o=t.call(this,n),Uy(y$(o),"props",void 0),o.props=new _c((i=n)===null||i===void 0?void 0:i.props),o}return K4(r,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconxialaduoxuan"}},{key:"controlType",get:function(){return"select-multiple"}}]),r}(H);Uy(Ky,"controlFieldType",S.ARRAY),Uy(Ky,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.DEFAULT_SHOW_OPTIONS,v.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[v.CAN_VIEW_FORM,v.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]);function v$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function e7(e,t,r){return t&&h$(e.prototype,t),r&&h$(e,r),e}function b$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dc(e){return dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dc(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&&Gy(e,t)}function r7(e,t){return t&&(n7(t)==="object"||typeof t=="function")?t:v$(e)}function Gy(e,t){return Gy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gy(e,t)}function n7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function o7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function i7(e){var t=o7();return function(){var n=dc(e),o;if(t){var i=dc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return r7(this,o)}}var u7=function(e){t7(r,e);var t=i7(r);function r(n){Y4(this,r);var o,i;return o=t.call(this,n),b$(v$(o),"props",void 0),o.props=new _c((i=n)===null||i===void 0?void 0:i.props),o}return e7(r,null,[{key:"controlType",get:function(){return"select-multiple"}}]),r}(q);b$(u7,"controlFieldType",S.ARRAY);function Ut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vc(e){return vc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vc(e)}function 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&&Xy(e,t)}function c7(e,t){return t&&(l7(t)==="object"||typeof t=="function")?t:Ut(e)}function Xy(e,t){return Xy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xy(e,t)}function l7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function a7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function O$(e){var t=a7();return function(){var n=vc(e),o;if(t){var i=vc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return c7(this,o)}}var f7=function(e){m$(r,e);var t=O$(r);function r(n){g$(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(J),Jy=function(e){m$(r,e);var t=O$(r);function r(n){g$(this,r);var o,i,u,c,l,a,f,s,p,_,h;o=t.call(this,n),Wt(Ut(o),"showType",void 0),Wt(Ut(o),"range",void 0),Wt(Ut(o),"rangeOptions",void 0),Wt(Ut(o),"multiple",void 0),Wt(Ut(o),"defaultValueType",void 0),Wt(Ut(o),"defaultValue",void 0),Wt(Ut(o),"multistageFilling",void 0),Wt(Ut(o),"openMultistageFilling",void 0);var d;o.showType=(d=(i=n)===null||i===void 0?void 0:i.showType)!==null&&d!==void 0?d:"default";var b;o.range=(b=(u=n)===null||u===void 0?void 0:u.range)!==null&&b!==void 0?b:"all";var y;o.rangeOptions=(y=(c=n)===null||c===void 0?void 0:c.rangeOptions)!==null&&y!==void 0?y:[];var g;o.multiple=(g=(l=n)===null||l===void 0?void 0:l.multiple)!==null&&g!==void 0?g:!1;var O;o.defaultValueType=(O=(a=n)===null||a===void 0?void 0:a.defaultValueType)!==null&&O!==void 0?O:"none";var w;o.defaultValue=(w=(f=n)===null||f===void 0?void 0:f.defaultValue)!==null&&w!==void 0?w:[];var P;o.caption=(P=(s=n)===null||s===void 0?void 0:s.caption)!==null&&P!==void 0?P:Yy.controlName;var E;o.placeholder=(E=(p=n)===null||p===void 0?void 0:p.placeholder)!==null&&E!==void 0?E:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var T;if(o.openMultistageFilling=(T=(_=n)===null||_===void 0?void 0:_.openMultistageFilling)!==null&&T!==void 0?T:!1,o.multistageFilling=[],Array.isArray((h=n)===null||h===void 0?void 0:h.multistageFilling)){var B;(B=n)===null||B===void 0||B.multistageFilling.map(function(I){var A;(A=o.multistageFilling)===null||A===void 0||A.push(new je(I))})}return o}return r}(C);Wt(Jy,"RuntimeRules",f7);function w$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p7(e,t,r){return t&&$$(e.prototype,t),r&&$$(e,r),e}function Qy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hc(e){return hc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hc(e)}function _7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zy(e,t)}function y7(e,t){return t&&(d7(t)==="object"||typeof t=="function")?t:w$(e)}function Zy(e,t){return Zy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zy(e,t)}function d7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function v7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function h7(e){var t=v7();return function(){var n=hc(e),o;if(t){var i=hc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return y7(this,o)}}var Yy=function(e){_7(r,e);var t=h7(r);function r(n){s7(this,r);var o,i;return o=t.call(this,n),Qy(w$(o),"props",void 0),o.props=new Jy((i=n)===null||i===void 0?void 0:i.props),o}return p7(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),r}(H);Qy(Yy,"controlFieldType",S.EMPLOYEES),Qy(Yy,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.MULTIPLE,v.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}]);function P$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function g7(e,t,r){return t&&R$(e.prototype,t),r&&R$(e,r),e}function S$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bc(e){return bc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bc(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&&ed(e,t)}function O7(e,t){return t&&(w7(t)==="object"||typeof t=="function")?t:P$(e)}function ed(e,t){return ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ed(e,t)}function w7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function P7(e){var t=$7();return function(){var n=bc(e),o;if(t){var i=bc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return O7(this,o)}}var R7=function(e){m7(r,e);var t=P7(r);function r(n){b7(this,r);var o,i;return o=t.call(this,n),S$(P$(o),"props",void 0),o.props=new Jy((i=n)===null||i===void 0?void 0:i.props),o}return g7(r,null,[{key:"controlType",get:function(){return"employee"}}]),r}(q);S$(R7,"controlFieldType",S.EMPLOYEES);function Kt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function td(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gc(e){return gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gc(e)}function rd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nd(e,t)}function S7(e,t){return t&&(E7(t)==="object"||typeof t=="function")?t:Kt(e)}function nd(e,t){return nd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nd(e,t)}function E7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function T7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function od(e){var t=T7();return function(){var n=gc(e),o;if(t){var i=gc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return S7(this,o)}}var I7=10485760,B7=104857600,A7=1048576e3,x7=function(e){rd(r,e);var t=od(r);function r(n){td(this,r);var o;return o=t.call(this,n),Tt(Kt(o),"maxSize",{type:"number",min:0,max:A7,message:$.getMessage("attachmentMaxSize")}),o}return r}(Pe),k7=function(e){rd(r,e);var t=od(r);function r(n){td(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({type:"array",max:n.maxLimit,min:n.minLimit,message:$.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),o}return r}(J),mc=function(e){rd(r,e);var t=od(r);function r(n){td(this,r);var o,i,u,c,l,a,f,s,p,_;o=t.call(this,n),Tt(Kt(o),"defaultValue",void 0),Tt(Kt(o),"showType",void 0),Tt(Kt(o),"resultShowType",void 0),Tt(Kt(o),"attachmentAccept",void 0),Tt(Kt(o),"maxLimit",void 0),Tt(Kt(o),"minLimit",void 0),Tt(Kt(o),"maxSize",void 0);var h;o.defaultValue=(h=(i=n)===null||i===void 0?void 0:i.defaultValue)!==null&&h!==void 0?h:[];var d;o.showType=(d=(u=n)===null||u===void 0?void 0:u.showType)!==null&&d!==void 0?d:"default";var b;o.resultShowType=(b=(c=n)===null||c===void 0?void 0:c.resultShowType)!==null&&b!==void 0?b:"simple";var y;o.attachmentAccept=(y=(l=n)===null||l===void 0?void 0:l.attachmentAccept)!==null&&y!==void 0?y:[];var g;o.maxLimit=(g=(a=n)===null||a===void 0?void 0:a.maxLimit)!==null&&g!==void 0?g:10;var O;o.minLimit=(O=(f=n)===null||f===void 0?void 0:f.minLimit)!==null&&O!==void 0?O:0;var w;o.maxSize=(w=(s=n)===null||s===void 0?void 0:s.maxSize)!==null&&w!==void 0?w:B7;var P;o.caption=(P=(p=n)===null||p===void 0?void 0:p.caption)!==null&&P!==void 0?P:wo.controlName;var E;return o.placeholder=(E=(_=n)===null||_===void 0?void 0:_.placeholder)!==null&&E!==void 0?E:"\u4E0A\u4F20\u9644\u4EF6",o}return r}(C);Tt(mc,"Rules",x7),Tt(mc,"RuntimeRules",k7);function E$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function N7(e,t,r){return t&&T$(e.prototype,t),r&&T$(e,r),e}function Oc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wc(e){return wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wc(e)}function F7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&id(e,t)}function j7(e,t){return t&&(M7(t)==="object"||typeof t=="function")?t:E$(e)}function id(e,t){return id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},id(e,t)}function M7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function L7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function V7(e){var t=L7();return function(){var n=wc(e),o;if(t){var i=wc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return j7(this,o)}}var wo=function(e){F7(r,e);var t=V7(r);function r(n){D7(this,r);var o,i;return o=t.call(this,n),Oc(E$(o),"props",void 0),o.props=new mc((i=n)===null||i===void 0?void 0:i.props),o}return N7(r,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(H);Oc(wo,"controlEventKeys",["on_change"]),Oc(wo,"controlFieldType",S.FILE),Oc(wo,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function I$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function B$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function z7(e,t,r){return t&&B$(e.prototype,t),r&&B$(e,r),e}function A$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $c(e){return $c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$c(e)}function H7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ud(e,t)}function q7(e,t){return t&&(U7(t)==="object"||typeof t=="function")?t:I$(e)}function ud(e,t){return ud=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ud(e,t)}function U7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function W7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function K7(e){var t=W7();return function(){var n=$c(e),o;if(t){var i=$c(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return q7(this,o)}}var G7=function(e){H7(r,e);var t=K7(r);function r(n){C7(this,r);var o,i;return o=t.call(this,n),A$(I$(o),"props",void 0),o.props=new mc((i=n)===null||i===void 0?void 0:i.props),o}return z7(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(q);A$(G7,"controlFieldType",S.FILE);function X7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function J7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Q7(e,t,r){return t&&x$(e.prototype,t),r&&x$(e,r),e}function k$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pc(e){return Pc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pc(e)}function Z7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cd(e,t)}function Y7(e,t){return t&&(e8(t)==="object"||typeof t=="function")?t:X7(e)}function cd(e,t){return cd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cd(e,t)}function e8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function t8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function r8(e){var t=t8();return function(){var n=Pc(e),o;if(t){var i=Pc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Y7(this,o)}}var D$=function(e){Z7(r,e);var t=r8(r);function r(n){J7(this,r);var o,i,u,c,l;o=t.call(this,n),o.props.showType="image";var a;o.props.caption=(a=(u=n)===null||u===void 0||(i=u.props)===null||i===void 0?void 0:i.caption)!==null&&a!==void 0?a:r.controlName;var f;return o.props.placeholder=(f=(l=n)===null||l===void 0||(c=l.props)===null||c===void 0?void 0:c.placeholder)!==null&&f!==void 0?f:"\u4E0A\u4F20\u56FE\u7247",o}return Q7(r,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),r}(wo);k$(D$,"controlFieldType",S.IMAGE),k$(D$,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.IS_SHOW_CAPTION_TIP]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function He(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ld(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Te(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rc(e){return Rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rc(e)}function ad(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fd(e,t)}function n8(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Te(e,o,r[o])})}return e}function o8(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function i8(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):o8(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function u8(e,t){return t&&(c8(t)==="object"||typeof t=="function")?t:He(e)}function fd(e,t){return fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fd(e,t)}function c8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function l8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sd(e){var t=l8();return function(){var n=Rc(e),o;if(t){var i=Rc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return u8(this,o)}}var a8=function(e){ad(r,e);var t=sd(r);function r(n){ld(this,r);var o;o=t.call(this,n),Te(He(o),"defaultValue",{type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:$.getMessage("pleaseEnterNumberRange")}]}}),Te(He(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue.fields.amount[0].max=i,o.defaultValue.fields.amount[0].min=u,o.defaultValue.fields.amount[0].message=$.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:$.getMessage("numberRangeSetError")}),o}return r}(Jr),f8=function(e){ad(r,e);var t=sd(r);function r(n){ld(this,r);var o;o=t.call(this,n),o[0].type="object";var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.push({type:"object",fields:{amount:[i8(n8({},o[0]),{type:"number"}),{type:"number",min:u,max:i,message:$.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}],currency:{type:"string"}}}),o}return r}(J),Sc=function(e){ad(r,e);var t=sd(r);function r(n){ld(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y;o=t.call(this,n),Te(He(o),"rangeMin",void 0),Te(He(o),"rangeMax",void 0),Te(He(o),"showUpperCase",void 0),Te(He(o),"submitSelectCurrency",void 0),Te(He(o),"micrometer",void 0),Te(He(o),"precision",void 0),Te(He(o),"optionConfig",void 0),Te(He(o),"dataBind",void 0),Te(He(o),"datasourceBind",void 0),Te(He(o),"defaultValue",void 0),Te(He(o),"options",void 0);var g;o.rangeMin=(g=(i=n)===null||i===void 0?void 0:i.rangeMin)!==null&&g!==void 0?g:"";var O;o.rangeMax=(O=(u=n)===null||u===void 0?void 0:u.rangeMax)!==null&&O!==void 0?O:"";var w;o.optionConfig=(w=(c=n)===null||c===void 0?void 0:c.optionConfig)!==null&&w!==void 0?w:"datasource";var P;o.micrometer=(P=(l=n)===null||l===void 0?void 0:l.micrometer)!==null&&P!==void 0?P:!1;var E;o.precision=(E=(a=n)===null||a===void 0?void 0:a.precision)!==null&&E!==void 0?E:2,o.dataBind=new W2((f=n)===null||f===void 0?void 0:f.dataBind);var T;o.datasourceBind=new se((T=(s=n)===null||s===void 0?void 0:s.datasourceBind)!==null&&T!==void 0?T:{displayBoList:[new Ps({value:"name"})]});var B;o.defaultValue=new K2((B=(p=n)===null||p===void 0?void 0:p.defaultValue)!==null&&B!==void 0?B:{amount:"",currency:zo.CNY}),o.options=Nt((_=n)===null||_===void 0?void 0:_.options);var I;o.caption=(I=(h=n)===null||h===void 0?void 0:h.caption)!==null&&I!==void 0?I:Ic.controlName;var A;o.placeholder=(A=(d=n)===null||d===void 0?void 0:d.placeholder)!==null&&A!==void 0?A:"\u8BF7\u8F93\u5165";var x;o.submitSelectCurrency=(x=(b=n)===null||b===void 0?void 0:b.submitSelectCurrency)!==null&&x!==void 0?x:!1;var k;return o.showUpperCase=(k=(y=n)===null||y===void 0?void 0:y.showUpperCase)!==null&&k!==void 0?k:!1,o}return r}(C);Te(Sc,"Rules",a8),Te(Sc,"RuntimeRules",f8);function N$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function F$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p8(e,t,r){return t&&F$(e.prototype,t),r&&F$(e,r),e}function Ec(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Tc=Reflect.get:Tc=function(o,i,u){var c=d8(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Tc(e,t,r||e)}function un(e){return un=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},un(e)}function _8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pd(e,t)}function y8(e,t){return t&&(v8(t)==="object"||typeof t=="function")?t:N$(e)}function pd(e,t){return pd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pd(e,t)}function d8(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=un(e),e!==null););return e}function v8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function h8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function b8(e){var t=h8();return function(){var n=un(e),o;if(t){var i=un(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return y8(this,o)}}var Ic=function(e){_8(r,e);var t=b8(r);function r(n){s8(this,r);var o,i;return o=t.call(this,n),Ec(N$(o),"props",void 0),o.props=new Sc((i=n)===null||i===void 0?void 0:i.props),o}return p8(r,[{key:"toDataBindModel",value:function(o){var i=Tc(un(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,l=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=l}return i}}],[{key:"controlName",get:function(){return"\u91D1\u989D"}},{key:"controlType",get:function(){return"amount"}},{key:"controlIcon",get:function(){return"iconjine"}}]),r}(H);Ec(Ic,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Ec(Ic,"controlFieldType",S.MONEY),Ec(Ic,"setting",[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.SUBMIT_SELECT_CURRENCY,v.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[v.SHOW_UPPER_CASE,v.MICROMETER,v.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function j$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function M$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function m8(e,t,r){return t&&M$(e.prototype,t),r&&M$(e,r),e}function L$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bc(e){return Bc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bc(e)}function O8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_d(e,t)}function w8(e,t){return t&&($8(t)==="object"||typeof t=="function")?t:j$(e)}function _d(e,t){return _d=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_d(e,t)}function $8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function P8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function R8(e){var t=P8();return function(){var n=Bc(e),o;if(t){var i=Bc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return w8(this,o)}}var S8=function(e){O8(r,e);var t=R8(r);function r(n){g8(this,r);var o,i;return o=t.call(this,n),L$(j$(o),"props",void 0),o.props=new Sc((i=n)===null||i===void 0?void 0:i.props),o}return m8(r,null,[{key:"controlType",get:function(){return"amount"}}]),r}(q);L$(S8,"controlFieldType",S.MONEY);function vr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ac(e){return Ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ac(e)}function dd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vd(e,t)}function E8(e,t){return t&&(T8(t)==="object"||typeof t=="function")?t:vr(e)}function vd(e,t){return vd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vd(e,t)}function T8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function I8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hd(e){var t=I8();return function(){var n=Ac(e),o;if(t){var i=Ac(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return E8(this,o)}}var B8=function(e){dd(r,e);var t=hd(r);function r(n){yd(this,r);var o;return o=t.call(this,n),Gt(vr(o),"totalScore",[{type:"number",required:!0,message:$.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:$.getMessage("theTotalScoreMustNotBeLessThan1")}]),Gt(vr(o),"defaultValue",{type:"number",min:0,max:5,message:$.getMessage("scoreDefaultValueRange")}),o.defaultValue.max=n.totalScore,o.defaultValue.message=$.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:0}),o}return r}(Pe),A8=function(e){dd(r,e);var t=hd(r);function r(n){yd(this,r);var o;o=t.call(this,n),o[0].type="number";var i=n.required?1:0;return o.push({type:"number",min:i,max:n.totalScore,message:$.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:i})}),o}return r}(J),xc=function(e){dd(r,e);var t=hd(r);function r(n){yd(this,r);var o,i,u,c,l,a,f,s;o=t.call(this,n),Gt(vr(o),"totalScore",void 0),Gt(vr(o),"scoreType",void 0),Gt(vr(o),"isShowExplain",void 0),Gt(vr(o),"explain",void 0),Gt(vr(o),"defaultValue",void 0);var p;o.totalScore=(p=(i=n)===null||i===void 0?void 0:i.totalScore)!==null&&p!==void 0?p:5;var _;o.scoreType=(_=(u=n)===null||u===void 0?void 0:u.scoreType)!==null&&_!==void 0?_:Ip.STAR;var h;o.isShowExplain=(h=(c=n)===null||c===void 0?void 0:c.isShowExplain)!==null&&h!==void 0?h:!0;var d;o.explain=(d=(a=n)===null||a===void 0||(l=a.explain)===null||l===void 0?void 0:l.map(function(g){return new Bp(g)}))!==null&&d!==void 0?d:Array(o.totalScore).fill(void 0).map(function(){return new Bp});var b;o.defaultValue=(b=(f=n)===null||f===void 0?void 0:f.defaultValue)!==null&&b!==void 0?b:0;var y;return o.caption=(y=(s=n)===null||s===void 0?void 0:s.caption)!==null&&y!==void 0?y:Nc.controlName,o}return r}(C);Gt(xc,"Rules",B8),Gt(xc,"RuntimeRules",A8);function bd(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function x8(e){if(Array.isArray(e))return bd(e)}function V$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function D8(e,t,r){return t&&C$(e.prototype,t),r&&C$(e,r),e}function kc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Dc=Reflect.get:Dc=function(o,i,u){var c=L8(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Dc(e,t,r||e)}function cn(e){return cn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cn(e)}function N8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gd(e,t)}function F8(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function j8(){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 M8(e,t){return t&&(C8(t)==="object"||typeof t=="function")?t:V$(e)}function gd(e,t){return gd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gd(e,t)}function L8(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=cn(e),e!==null););return e}function V8(e){return x8(e)||F8(e)||z8(e)||j8()}function C8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function z8(e,t){if(!!e){if(typeof e=="string")return bd(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return bd(e,t)}}function H8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function q8(e){var t=H8();return function(){var n=cn(e),o;if(t){var i=cn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return M8(this,o)}}var Nc=function(e){N8(r,e);var t=q8(r);function r(n){k8(this,r);var o,i;return o=t.call(this,n),kc(V$(o),"props",void 0),o.props=new xc((i=n)===null||i===void 0?void 0:i.props),o}return D8(r,[{key:"postUpdate",value:function(o,i){if(o==="totalScore"){if(i===this.props.explain.length)return;if(this.props.explain.length>i)this.props.explain=this.props.explain.slice(0,i);else{var u,c=i-this.props.explain.length,l=Array(c).fill(void 0).map(function(){return new Bp});(u=this.props.explain).push.apply(u,V8(l))}}Dc(cn(r.prototype),"postUpdate",this).call(this,o,i)}}],[{key:"controlName",get:function(){return"\u8BC4\u5206"}},{key:"controlIcon",get:function(){return"iconpingfen"}},{key:"controlType",get:function(){return"score"}}]),r}(H);kc(Nc,"controlEventKeys",["on_change","on_click"]),kc(Nc,"controlFieldType",S.DECIMAL),kc(Nc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function z$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function H$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function W8(e,t,r){return t&&H$(e.prototype,t),r&&H$(e,r),e}function q$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fc(e){return Fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fc(e)}function K8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&md(e,t)}function G8(e,t){return t&&(X8(t)==="object"||typeof t=="function")?t:z$(e)}function md(e,t){return md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},md(e,t)}function X8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function J8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Q8(e){var t=J8();return function(){var n=Fc(e),o;if(t){var i=Fc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return G8(this,o)}}var Z8=function(e){K8(r,e);var t=Q8(r);function r(n){U8(this,r);var o,i;return o=t.call(this,n),q$(z$(o),"props",void 0),o.props=new xc((i=n)===null||i===void 0?void 0:i.props),o}return W8(r,null,[{key:"controlType",get:function(){return"score"}}]),r}(q);q$(Z8,"controlFieldType",S.DECIMAL);function jc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lc(e){return Lc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lc(e)}function W$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Od(e,t)}function Y8(e,t){return t&&(e9(t)==="object"||typeof t=="function")?t:jc(e)}function Od(e,t){return Od=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Od(e,t)}function e9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function t9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function K$(e){var t=t9();return function(){var n=Lc(e),o;if(t){var i=Lc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Y8(this,o)}}var r9=function(e){W$(r,e);var t=K$(r);function r(n){U$(this,r);var o;if(o=t.call(this,n),o[0].type="object",n.required&&!n.isHide){var i={type:"object",fields:{province:{type:"string",required:n.required,message:$.getMessage("pleaseSelectProvince")}}};n.addressType.includes("city")&&(i.fields.city={type:"string",required:n.required,message:$.getMessage("pleaseSelectCity")}),n.addressType.includes("district")&&(i.fields.district={type:"string",required:n.required,message:$.getMessage("pleaseSelectDistrict")}),o.push(i)}return o}return r}(J),wd=function(e){W$(r,e);var t=K$(r);function r(n){U$(this,r);var o,i,u,c,l,a;o=t.call(this,n),Mc(jc(o),"defaultValueType",void 0),Mc(jc(o),"defaultValue",void 0),Mc(jc(o),"addressType",void 0);var f;o.caption=(f=(i=n)===null||i===void 0?void 0:i.caption)!==null&&f!==void 0?f:Rd.controlName;var s;o.defaultValueType=(s=(u=n)===null||u===void 0?void 0:u.defaultValueType)!==null&&s!==void 0?s:"default";var p;o.addressType=(p=(c=n)===null||c===void 0?void 0:c.addressType)!==null&&p!==void 0?p:["province","city","district"];var _;o.defaultValue=new J2((_=(l=n)===null||l===void 0?void 0:l.defaultValue)!==null&&_!==void 0?_:{});var h;return o.placeholder=(h=(a=n)===null||a===void 0?void 0:a.placeholder)!==null&&h!==void 0?h:"\u8BF7\u9009\u62E9\u5730\u5740",o}return r}(C);Mc(wd,"RuntimeRules",r9);function G$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function X$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o9(e,t,r){return t&&X$(e.prototype,t),r&&X$(e,r),e}function $d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vc(e){return Vc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vc(e)}function i9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pd(e,t)}function u9(e,t){return t&&(c9(t)==="object"||typeof t=="function")?t:G$(e)}function Pd(e,t){return Pd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pd(e,t)}function c9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function l9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function a9(e){var t=l9();return function(){var n=Vc(e),o;if(t){var i=Vc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return u9(this,o)}}var Rd=function(e){i9(r,e);var t=a9(r);function r(n){n9(this,r);var o,i;return o=t.call(this,n),$d(G$(o),"props",void 0),o.props=new wd((i=n)===null||i===void 0?void 0:i.props),o}return o9(r,null,[{key:"controlName",get:function(){return"\u5730\u5740"}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),r}(H);$d(Rd,"controlFieldType",S.ADDRESS),$d(Rd,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function J$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Q$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s9(e,t,r){return t&&Q$(e.prototype,t),r&&Q$(e,r),e}function Z$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cc(e){return Cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cc(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&&Sd(e,t)}function _9(e,t){return t&&(y9(t)==="object"||typeof t=="function")?t:J$(e)}function Sd(e,t){return Sd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sd(e,t)}function y9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function d9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function v9(e){var t=d9();return function(){var n=Cc(e),o;if(t){var i=Cc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _9(this,o)}}var h9=function(e){p9(r,e);var t=v9(r);function r(n){f9(this,r);var o,i;return o=t.call(this,n),Z$(J$(o),"props",void 0),o.props=new wd((i=n)===null||i===void 0?void 0:i.props),o}return s9(r,null,[{key:"controlName",get:function(){return"\u7701\u5E02\u533A"}},{key:"controlIcon",get:function(){return"iconicon_site_management11"}},{key:"controlType",get:function(){return"address"}}]),r}(q);Z$(h9,"controlFieldType",S.ADDRESS);function _t(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zc(e){return zc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zc(e)}function eP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ed(e,t)}function b9(e,t){return t&&(g9(t)==="object"||typeof t=="function")?t:_t(e)}function Ed(e,t){return Ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ed(e,t)}function g9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function m9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tP(e){var t=m9();return function(){var n=zc(e),o;if(t){var i=zc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return b9(this,o)}}var O9=function(e){eP(r,e);var t=tP(r);function r(n){Y$(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(J),Td=function(e){eP(r,e);var t=tP(r);function r(n){Y$(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b;o=t.call(this,n),yt(_t(o),"showType",void 0),yt(_t(o),"range",void 0),yt(_t(o),"defaultValueType",void 0),yt(_t(o),"multiple",void 0),yt(_t(o),"rangeOptions",void 0),yt(_t(o),"defaultValue",void 0),yt(_t(o),"displayLevel",void 0),yt(_t(o),"showSubDept",void 0),yt(_t(o),"multistageFilling",void 0),yt(_t(o),"openMultistageFilling",void 0);var y;o.showType=(y=(i=n)===null||i===void 0?void 0:i.showType)!==null&&y!==void 0?y:"default";var g;o.multiple=(g=(u=n)===null||u===void 0?void 0:u.multiple)!==null&&g!==void 0?g:!1;var O;o.range=(O=(c=n)===null||c===void 0?void 0:c.range)!==null&&O!==void 0?O:"all";var w;o.defaultValueType=(w=(l=n)===null||l===void 0?void 0:l.defaultValueType)!==null&&w!==void 0?w:"none";var P;o.rangeOptions=(P=(a=n)===null||a===void 0?void 0:a.rangeOptions)!==null&&P!==void 0?P:[];var E;o.defaultValue=(E=(f=n)===null||f===void 0?void 0:f.defaultValue)!==null&&E!==void 0?E:[];var T;o.displayLevel=(T=(s=n)===null||s===void 0?void 0:s.displayLevel)!==null&&T!==void 0?T:1;var B;o.showSubDept=(B=(p=n)===null||p===void 0?void 0:p.showSubDept)!==null&&B!==void 0?B:!0;var I;o.caption=(I=(_=n)===null||_===void 0?void 0:_.caption)!==null&&I!==void 0?I:Uc.controlName;var A;o.placeholder=(A=(h=n)===null||h===void 0?void 0:h.placeholder)!==null&&A!==void 0?A:"\u8BF7\u9009\u62E9\u90E8\u95E8";var x;if(o.openMultistageFilling=(x=(d=n)===null||d===void 0?void 0:d.openMultistageFilling)!==null&&x!==void 0?x:!1,o.multistageFilling=[],Array.isArray((b=n)===null||b===void 0?void 0:b.multistageFilling)){var k;(k=n)===null||k===void 0||k.multistageFilling.map(function(N){var D;(D=o.multistageFilling)===null||D===void 0||D.push(new je(N))})}return o}return r}(C);yt(Td,"RuntimeRules",O9);function rP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $9(e,t,r){return t&&nP(e.prototype,t),r&&nP(e,r),e}function Hc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?qc=Reflect.get:qc=function(o,i,u){var c=S9(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},qc(e,t,r||e)}function ln(e){return ln=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ln(e)}function 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&&Id(e,t)}function R9(e,t){return t&&(E9(t)==="object"||typeof t=="function")?t:rP(e)}function Id(e,t){return Id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Id(e,t)}function S9(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ln(e),e!==null););return e}function E9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function T9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function I9(e){var t=T9();return function(){var n=ln(e),o;if(t){var i=ln(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return R9(this,o)}}var Uc=function(e){P9(r,e);var t=I9(r);function r(n){w9(this,r);var o,i;return o=t.call(this,n),Hc(rP(o),"props",void 0),o.props=new Td((i=n)===null||i===void 0?void 0:i.props),o}return $9(r,[{key:"toDataBindModel",value:function(o){var i=qc(ln(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,l=u.showSubDept;i.props.displayLevel=c,i.props.showSubDept=l}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),r}(H);Hc(Uc,"controlName","\u90E8\u95E8"),Hc(Uc,"controlFieldType",S.DEPARTMENTS),Hc(Uc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.MULTIPLE,v.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function oP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function A9(e,t,r){return t&&iP(e.prototype,t),r&&iP(e,r),e}function uP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wc(e){return Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wc(e)}function x9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bd(e,t)}function k9(e,t){return t&&(D9(t)==="object"||typeof t=="function")?t:oP(e)}function Bd(e,t){return Bd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bd(e,t)}function D9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function N9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function F9(e){var t=N9();return function(){var n=Wc(e),o;if(t){var i=Wc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return k9(this,o)}}var j9=function(e){x9(r,e);var t=F9(r);function r(n){B9(this,r);var o,i;return o=t.call(this,n),uP(oP(o),"props",void 0),o.props=new Td((i=n)===null||i===void 0?void 0:i.props),o}return A9(r,null,[{key:"controlType",get:function(){return"department"}}]),r}(q);uP(j9,"controlFieldType",S.DEPARTMENTS);function cP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function L9(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kc(e){return Kc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kc(e)}function 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&&Ad(e,t)}function C9(e,t){return t&&(z9(t)==="object"||typeof t=="function")?t:cP(e)}function Ad(e,t){return Ad=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ad(e,t)}function z9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function H9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function q9(e){var t=H9();return function(){var n=Kc(e),o;if(t){var i=Kc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return C9(this,o)}}var lP=function(e){V9(r,e);var t=q9(r);function r(n){M9(this,r);var o,i,u,c;o=t.call(this,n),L9(cP(o),"defaultValue",void 0);var l;o.defaultValue=(l=(i=n)===null||i===void 0?void 0:i.defaultValue)!==null&&l!==void 0?l:"";var a;o.caption=(a=(u=n)===null||u===void 0?void 0:u.caption)!==null&&a!==void 0?a:Jc.controlName;var f;return o.placeholder=(f=(c=n)===null||c===void 0?void 0:c.placeholder)!==null&&f!==void 0?f:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",o}return r}(C);function aP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function W9(e,t,r){return t&&fP(e.prototype,t),r&&fP(e,r),e}function Gc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xc(e){return Xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xc(e)}function 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&&xd(e,t)}function G9(e,t){return t&&(X9(t)==="object"||typeof t=="function")?t:aP(e)}function xd(e,t){return xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xd(e,t)}function X9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function J9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Q9(e){var t=J9();return function(){var n=Xc(e),o;if(t){var i=Xc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return G9(this,o)}}var Jc=function(e){K9(r,e);var t=Q9(r);function r(n){U9(this,r);var o,i;return o=t.call(this,n),Gc(aP(o),"props",void 0),o.props=new lP((i=n)===null||i===void 0?void 0:i.props),o}return W9(r,null,[{key:"controlName",get:function(){return"\u81EA\u52A8\u7F16\u53F7"}},{key:"controlIcon",get:function(){return"iconnumber_new"}},{key:"controlType",get:function(){return"auto-number"}}]),r}(H);Gc(Jc,"controlEventKeys",["on_change"]),Gc(Jc,"controlFieldType",S.AUTO_NUMBER),Gc(Jc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE,v.IS_HIDE_CAPTION,v.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function sP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Z9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Y9(e,t,r){return t&&pP(e.prototype,t),r&&pP(e,r),e}function _P(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qc(e){return Qc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qc(e)}function eV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kd(e,t)}function tV(e,t){return t&&(rV(t)==="object"||typeof t=="function")?t:sP(e)}function kd(e,t){return kd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kd(e,t)}function rV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oV(e){var t=nV();return function(){var n=Qc(e),o;if(t){var i=Qc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tV(this,o)}}var iV=function(e){eV(r,e);var t=oV(r);function r(n){Z9(this,r);var o,i;return o=t.call(this,n),_P(sP(o),"props",void 0),o.props=new lP((i=n)===null||i===void 0?void 0:i.props),o}return Y9(r,null,[{key:"controlType",get:function(){return"auto-number"}}]),r}(q);_P(iV,"controlFieldType",S.AUTO_NUMBER);function hr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zc(e){return Zc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zc(e)}function Nd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fd(e,t)}function uV(e,t){return t&&(cV(t)==="object"||typeof t=="function")?t:hr(e)}function Fd(e,t){return Fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fd(e,t)}function cV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jd(e){var t=lV();return function(){var n=Zc(e),o;if(t){var i=Zc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uV(this,o)}}var aV=function(e){Nd(r,e);var t=jd(r);function r(n){Dd(this,r);var o;return o=t.call(this,n),o.dataBind.fields.result.required=!1,o.dataBind.fields.result.fields.fieldCode.required=!1,o.dataBind.fields.result.fields.dataCode.required=!1,o.dataBind.fields.unit.required=!1,o.dataBind.fields.unit.fields.fieldCode.required=!1,o.dataBind.fields.unit.fields.dataCode.required=!1,o}return r}(Pe),fV=function(e){Nd(r,e);var t=jd(r);function r(n){Dd(this,r);var o;return o=t.call(this,n),o[0].type="object",o.push({type:"object",message:$.getMessage("isNotObject"),fields:{result:[{type:"number",message:$.getMessage("isNotNumber")}],unit:{type:"string",message:$.getMessage("isNotString")}}}),o}return r}(J),Yc=function(e){Nd(r,e);var t=jd(r);function r(n){Dd(this,r);var o,i,u,c,l,a,f,s,p,_;o=t.call(this,n),Xt(hr(o),"precision",void 0),Xt(hr(o),"micrometer",void 0),Xt(hr(o),"showUpperCase",void 0),Xt(hr(o),"scriptSrc",void 0),Xt(hr(o),"scriptEcho",void 0),Xt(hr(o),"dataBind",void 0),Xt(hr(o),"defaultValue",void 0);var h;o.precision=(h=(i=n)===null||i===void 0?void 0:i.precision)!==null&&h!==void 0?h:0;var d;o.micrometer=(d=(u=n)===null||u===void 0?void 0:u.micrometer)!==null&&d!==void 0?d:!1;var b;o.showUpperCase=(b=(c=n)===null||c===void 0?void 0:c.showUpperCase)!==null&&b!==void 0?b:!1,o.dataBind=new Q2((l=n)===null||l===void 0?void 0:l.dataBind),o.defaultValue=new Z2((a=n)===null||a===void 0?void 0:a.defaultValue);var y;o.caption=(y=(f=n)===null||f===void 0?void 0:f.caption)!==null&&y!==void 0?y:rl.controlName;var g;o.placeholder=(g=(s=n)===null||s===void 0?void 0:s.placeholder)!==null&&g!==void 0?g:"\u8BF7\u8F93\u5165";var O;o.scriptEcho=(O=(p=n)===null||p===void 0?void 0:p.scriptEcho)!==null&&O!==void 0?O:[];var w;return o.scriptSrc=(w=(_=n)===null||_===void 0?void 0:_.scriptSrc)!==null&&w!==void 0?w:"",o}return r}(C);Xt(Yc,"Rules",aV),Xt(Yc,"RuntimeRules",fV);function yP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pV(e,t,r){return t&&dP(e.prototype,t),r&&dP(e,r),e}function el(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tl(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?tl=Reflect.get:tl=function(o,i,u){var c=dV(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},tl(e,t,r||e)}function an(e){return an=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},an(e)}function _V(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Md(e,t)}function yV(e,t){return t&&(vV(t)==="object"||typeof t=="function")?t:yP(e)}function Md(e,t){return Md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Md(e,t)}function dV(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=an(e),e!==null););return e}function vV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bV(e){var t=hV();return function(){var n=an(e),o;if(t){var i=an(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yV(this,o)}}var rl=function(e){_V(r,e);var t=bV(r);function r(n){sV(this,r);var o,i;return o=t.call(this,n),el(yP(o),"props",void 0),o.props=new Yc((i=n)===null||i===void 0?void 0:i.props),o}return pV(r,[{key:"toDataBindModel",value:function(o){var i=tl(an(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,l=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=l}return i}}],[{key:"controlName",get:function(){return"\u8BA1\u7B97\u516C\u5F0F"}},{key:"controlType",get:function(){return"calc"}},{key:"controlIcon",get:function(){return"iconcalculation_new"}}]),r}(H);el(rl,"controlEventKeys",["on_change"]),el(rl,"controlFieldType",S.CALC),el(rl,"setting",[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[v.SHOW_UPPER_CASE,v.MICROMETER,v.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function vP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mV(e,t,r){return t&&hP(e.prototype,t),r&&hP(e,r),e}function bP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nl(e){return nl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nl(e)}function OV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ld(e,t)}function wV(e,t){return t&&($V(t)==="object"||typeof t=="function")?t:vP(e)}function Ld(e,t){return Ld=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ld(e,t)}function $V(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RV(e){var t=PV();return function(){var n=nl(e),o;if(t){var i=nl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wV(this,o)}}var SV=function(e){OV(r,e);var t=RV(r);function r(n){gV(this,r);var o,i;return o=t.call(this,n),bP(vP(o),"props",void 0),o.props=new Yc((i=n)===null||i===void 0?void 0:i.props),o}return mV(r,null,[{key:"controlType",get:function(){return"calc"}}]),r}(q);bP(SV,"controlFieldType",S.CALC);function fn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ol(e){return ol=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ol(e)}function mP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vd(e,t)}function EV(e,t){return t&&(TV(t)==="object"||typeof t=="function")?t:fn(e)}function Vd(e,t){return Vd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vd(e,t)}function TV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OP(e){var t=IV();return function(){var n=ol(e),o;if(t){var i=ol(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return EV(this,o)}}var BV=function(e){mP(r,e);var t=OP(r);function r(n){gP(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({validator:function(u,c){if(n.required){var l=c.every(function(a){return!a});return l?Promise.reject($.getMessage("runtimeRequired",{caption:n.caption})):Promise.resolve()}else return Promise.resolve()}}),o}return r}(J),Cd=function(e){mP(r,e);var t=OP(r);function r(n){gP(this,r);var o,i,u,c,l,a,f;o=t.call(this,n),sn(fn(o),"rangeMin",void 0),sn(fn(o),"rangeMax",void 0),sn(fn(o),"placeholderStart",void 0),sn(fn(o),"placeholderEnd",void 0),sn(fn(o),"defaultValue",void 0);var s;o.defaultValue=(s=(i=n)===null||i===void 0?void 0:i.defaultValue)!==null&&s!==void 0?s:["",""];var p;o.rangeMin=(p=(u=n)===null||u===void 0?void 0:u.rangeMin)!==null&&p!==void 0?p:"";var _;o.rangeMax=(_=(c=n)===null||c===void 0?void 0:c.rangeMax)!==null&&_!==void 0?_:"";var h;o.placeholderStart=(h=(l=n)===null||l===void 0?void 0:l.placeholderStart)!==null&&h!==void 0?h:"\u6700\u5C0F\u503C";var d;o.placeholderEnd=(d=(a=n)===null||a===void 0?void 0:a.placeholderEnd)!==null&&d!==void 0?d:"\u6700\u5927\u503C";var b;return o.caption=(b=(f=n)===null||f===void 0?void 0:f.caption)!==null&&b!==void 0?b:qd.controlName,o}return r}(C);sn(Cd,"RuntimeRules",BV);function wP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $P(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xV(e,t,r){return t&&$P(e.prototype,t),r&&$P(e,r),e}function zd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function il(e){return il=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},il(e)}function 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&&Hd(e,t)}function DV(e,t){return t&&(NV(t)==="object"||typeof t=="function")?t:wP(e)}function Hd(e,t){return Hd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hd(e,t)}function NV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jV(e){var t=FV();return function(){var n=il(e),o;if(t){var i=il(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DV(this,o)}}var qd=function(e){kV(r,e);var t=jV(r);function r(n){AV(this,r);var o,i;return o=t.call(this,n),zd(wP(o),"props",void 0),o.props=new Cd((i=n)===null||i===void 0?void 0:i.props),o}return xV(r,null,[{key:"controlName",get:function(){return"\u6570\u5B57\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconshuziqujian"}},{key:"controlType",get:function(){return"search-number-range"}}]),r}(H);zd(qd,"controlFieldType",S.DECIMAL_RANGE),zd(qd,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function PP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function LV(e,t,r){return t&&RP(e.prototype,t),r&&RP(e,r),e}function SP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ul(e){return ul=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ul(e)}function VV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ud(e,t)}function CV(e,t){return t&&(zV(t)==="object"||typeof t=="function")?t:PP(e)}function Ud(e,t){return Ud=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ud(e,t)}function zV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qV(e){var t=HV();return function(){var n=ul(e),o;if(t){var i=ul(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return CV(this,o)}}var UV=function(e){VV(r,e);var t=qV(r);function r(n){MV(this,r);var o,i;return o=t.call(this,n),SP(PP(o),"props",void 0),o.props=new Cd((i=n)===null||i===void 0?void 0:i.props),o}return LV(r,null,[{key:"controlType",get:function(){return"search-number-range"}}]),r}(q);SP(UV,"controlFieldType",S.DECIMAL_RANGE);function dt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cl(e){return cl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cl(e)}function TP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wd(e,t)}function WV(e,t){return t&&(KV(t)==="object"||typeof t=="function")?t:dt(e)}function Wd(e,t){return Wd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wd(e,t)}function KV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IP(e){var t=GV();return function(){var n=cl(e),o;if(t){var i=cl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WV(this,o)}}var XV=function(e){TP(r,e);var t=IP(r);function r(n){EP(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({type:"array",fields:{0:{type:"string",required:n.required,message:o[0].message},1:{type:"string",required:n.required,message:o[0].message}}}),o}return r}(J),Kd=function(e){TP(r,e);var t=IP(r);function r(n){EP(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b;o=t.call(this,n),vt(dt(o),"rangeMin",void 0),vt(dt(o),"rangeMax",void 0),vt(dt(o),"placeholderStart",void 0),vt(dt(o),"placeholderEnd",void 0),vt(dt(o),"dateType",void 0),vt(dt(o),"dateFormat",void 0),vt(dt(o),"commonTimeSetting",void 0),vt(dt(o),"setValueType",void 0),vt(dt(o),"defaultValue",void 0),vt(dt(o),"limitDateList",void 0);var y;o.defaultValue=(y=(i=n)===null||i===void 0?void 0:i.defaultValue)!==null&&y!==void 0?y:["",""];var g;o.dateType=(g=(u=n)===null||u===void 0?void 0:u.dateType)!==null&&g!==void 0?g:Zt.DATE;var O;o.dateFormat=(O=(c=n)===null||c===void 0?void 0:c.dateFormat)!==null&&O!==void 0?O:"";var w;o.commonTimeSetting=(w=(l=n)===null||l===void 0?void 0:l.commonTimeSetting)!==null&&w!==void 0?w:[];var P;o.setValueType=(P=(a=n)===null||a===void 0?void 0:a.setValueType)!==null&&P!==void 0?P:"custom";var E;o.rangeMin=(E=(f=n)===null||f===void 0?void 0:f.rangeMin)!==null&&E!==void 0?E:"";var T;o.rangeMax=(T=(s=n)===null||s===void 0?void 0:s.rangeMax)!==null&&T!==void 0?T:"";var B;o.placeholderStart=(B=(p=n)===null||p===void 0?void 0:p.placeholderStart)!==null&&B!==void 0?B:"\u5F00\u59CB\u65E5\u671F";var I;o.placeholderEnd=(I=(_=n)===null||_===void 0?void 0:_.placeholderEnd)!==null&&I!==void 0?I:"\u7ED3\u675F\u65E5\u671F";var A;o.caption=(A=(h=n)===null||h===void 0?void 0:h.caption)!==null&&A!==void 0?A:Jd.controlName;var x;return o.limitDateList=(x=(b=n)===null||b===void 0||(d=b.limitDateList)===null||d===void 0?void 0:d.map(function(k){return new Tp(k)}))!==null&&x!==void 0?x:[],o}return r}(C);vt(Kd,"RuntimeRules",XV);function BP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function QV(e,t,r){return t&&AP(e.prototype,t),r&&AP(e,r),e}function Gd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ll(e){return ll=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ll(e)}function ZV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xd(e,t)}function YV(e,t){return t&&(eC(t)==="object"||typeof t=="function")?t:BP(e)}function Xd(e,t){return Xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xd(e,t)}function eC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rC(e){var t=tC();return function(){var n=ll(e),o;if(t){var i=ll(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YV(this,o)}}var Jd=function(e){ZV(r,e);var t=rC(r);function r(n){JV(this,r);var o,i;return o=t.call(this,n),Gd(BP(o),"props",void 0),o.props=new Kd((i=n)===null||i===void 0?void 0:i.props),o}return QV(r,null,[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"search-date-range"}}]),r}(H);Gd(Jd,"controlFieldType",S.ARRAY),Gd(Jd,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function xP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function oC(e,t,r){return t&&kP(e.prototype,t),r&&kP(e,r),e}function DP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function al(e){return al=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},al(e)}function iC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 uC(e,t){return t&&(cC(t)==="object"||typeof t=="function")?t:xP(e)}function Qd(e,t){return Qd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qd(e,t)}function cC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aC(e){var t=lC();return function(){var n=al(e),o;if(t){var i=al(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uC(this,o)}}var fC=function(e){iC(r,e);var t=aC(r);function r(n){nC(this,r);var o,i;return o=t.call(this,n),DP(xP(o),"props",void 0),o.props=new Kd((i=n)===null||i===void 0?void 0:i.props),o}return oC(r,null,[{key:"controlType",get:function(){return"search-date-range"}}]),r}(q);DP(fC,"controlFieldType",S.ARRAY);function $o(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fl(e){return fl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fl(e)}function Yd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ev(e,t)}function sC(e,t){return t&&(pC(t)==="object"||typeof t=="function")?t:$o(e)}function ev(e,t){return ev=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ev(e,t)}function pC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _C(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tv(e){var t=_C();return function(){var n=fl(e),o;if(t){var i=fl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sC(this,o)}}var yC=function(e){Yd(r,e);var t=tv(r);function r(n){Zd(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(Pe),dC=function(e){Yd(r,e);var t=tv(r);function r(n){Zd(this,r);var o;return o=t.call(this,n),o[0].type="any",o}return r}(J),sl=function(e){Yd(r,e);var t=tv(r);function r(n){Zd(this,r);var o,i,u,c,l,a;o=t.call(this,n),pn($o(o),"controlExportName",void 0),pn($o(o),"permissions",void 0),pn($o(o),"defaultValue",void 0),pn($o(o),"isInlineEdit",void 0);var f;o.caption=(f=(i=n)===null||i===void 0?void 0:i.caption)!==null&&f!==void 0?f:yl.controlName;var s;o.defaultValue=(s=(u=n)===null||u===void 0?void 0:u.defaultValue)!==null&&s!==void 0?s:void 0;var p;o.controlExportName=(p=(c=n)===null||c===void 0?void 0:c.controlExportName)!==null&&p!==void 0?p:"";var _;o.permissions=(_=(l=n)===null||l===void 0?void 0:l.permissions)!==null&&_!==void 0?_:[];var h;return o.isInlineEdit=(h=(a=n)===null||a===void 0?void 0:a.isInlineEdit)!==null&&h!==void 0?h:!1,o}return r}(C);pn(sl,"Rules",yC),pn(sl,"RuntimeRules",dC);function NP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hC(e,t,r){return t&&FP(e.prototype,t),r&&FP(e,r),e}function pl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _l(e){return _l=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_l(e)}function 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&&rv(e,t)}function gC(e,t){return t&&(mC(t)==="object"||typeof t=="function")?t:NP(e)}function rv(e,t){return rv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rv(e,t)}function mC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wC(e){var t=OC();return function(){var n=_l(e),o;if(t){var i=_l(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gC(this,o)}}var yl=function(e){bC(r,e);var t=wC(r);function r(n){vC(this,r);var o,i;return o=t.call(this,n),pl(NP(o),"props",void 0),o.props=new sl((i=n)===null||i===void 0?void 0:i.props),o}return hC(r,null,[{key:"controlName",get:function(){return"Vue\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return"vue-form-item"}}]),r}(H);pl(yl,"controlFieldType",S.ANY),pl(yl,"controlEventKeys",[]),pl(yl,"setting",[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE,v.IS_HIDE_CAPTION,v.REQUIRED,v.IS_SHOW_CAPTION_TIP,v.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}]);function jP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function PC(e,t,r){return t&&MP(e.prototype,t),r&&MP(e,r),e}function LP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dl(e){return dl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dl(e)}function RC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 SC(e,t){return t&&(EC(t)==="object"||typeof t=="function")?t:jP(e)}function nv(e,t){return nv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nv(e,t)}function EC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IC(e){var t=TC();return function(){var n=dl(e),o;if(t){var i=dl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SC(this,o)}}var BC=function(e){RC(r,e);var t=IC(r);function r(n){$C(this,r);var o,i;return o=t.call(this,n),LP(jP(o),"props",void 0),o.props=new sl((i=n)===null||i===void 0?void 0:i.props),o}return PC(r,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),r}(q);LP(BC,"controlFieldType",S.ANY);function qe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ue(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vl(e){return vl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vl(e)}function CP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ov(e,t)}function AC(e,t){return t&&(xC(t)==="object"||typeof t=="function")?t:qe(e)}function ov(e,t){return ov=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ov(e,t)}function xC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zP(e){var t=kC();return function(){var n=vl(e),o;if(t){var i=vl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AC(this,o)}}var DC=function(e){CP(r,e);var t=zP(r);function r(n){VP(this,r);var o;return o=t.call(this,n),Ue(qe(o),"listPageBind",[{type:"object",message:$.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:$.getMessage("isNotString")},{type:"string",required:!0,message:$.getMessage("pleaseEnterList")}]}}]),o}return r}(Jr),iv=function(e){CP(r,e);var t=zP(r);function r(n){VP(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y,g;o=t.call(this,n),Ue(qe(o),"options",void 0),Ue(qe(o),"optionConfig",void 0),Ue(qe(o),"defaultValue",void 0),Ue(qe(o),"listPageBind",void 0),Ue(qe(o),"datasourceBind",void 0),Ue(qe(o),"multistageFilling",void 0),Ue(qe(o),"viewFormModelType",void 0),Ue(qe(o),"canViewForm",void 0),Ue(qe(o),"formBind",void 0),Ue(qe(o),"openMultistageFilling",void 0),Ue(qe(o),"showSelectedDetail",void 0),Ue(qe(o),"selectedContentConfig",void 0);var O;o.options=Nt((O=(i=n)===null||i===void 0?void 0:i.options)!==null&&O!==void 0?O:[]);var w;o.optionConfig=(w=(u=n)===null||u===void 0?void 0:u.optionConfig)!==null&&w!==void 0?w:"datasource",o.listPageBind=new ws((c=n)===null||c===void 0?void 0:c.listPageBind),o.datasourceBind=new se((l=n)===null||l===void 0?void 0:l.datasourceBind);var P;o.caption=(P=(a=n)===null||a===void 0?void 0:a.caption)!==null&&P!==void 0?P:gl.controlName;var E;o.placeholder=(E=(f=n)===null||f===void 0?void 0:f.placeholder)!==null&&E!==void 0?E:"\u8BF7\u9009\u62E9";var T;o.defaultValue=(T=(s=n)===null||s===void 0?void 0:s.defaultValue)!==null&&T!==void 0?T:"";var B;o.openMultistageFilling=(B=(p=n)===null||p===void 0?void 0:p.openMultistageFilling)!==null&&B!==void 0?B:!1;var I;if(o.showSelectedDetail=(I=(_=n)===null||_===void 0?void 0:_.showSelectedDetail)!==null&&I!==void 0?I:!1,o.selectedContentConfig=new Ss((h=n)===null||h===void 0?void 0:h.selectedContentConfig),o.multistageFilling=[],Array.isArray((d=n)===null||d===void 0?void 0:d.multistageFilling)){var A;(A=n)===null||A===void 0||A.multistageFilling.map(function(N){var D;(D=o.multistageFilling)===null||D===void 0||D.push(new je(N))})}var x;o.canViewForm=(x=(b=n)===null||b===void 0?void 0:b.canViewForm)!==null&&x!==void 0?x:!1;var k;return o.viewFormModelType=(k=(y=n)===null||y===void 0?void 0:y.viewFormModelType)!==null&&k!==void 0?k:"window",o.formBind=new Gr((g=n)===null||g===void 0?void 0:g.formBind),o}return r}(C);Ue(iv,"Rules",DC);function HP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function FC(e,t,r){return t&&qP(e.prototype,t),r&&qP(e,r),e}function hl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bl(e){return bl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bl(e)}function 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&&uv(e,t)}function MC(e,t){return t&&(LC(t)==="object"||typeof t=="function")?t:HP(e)}function uv(e,t){return uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uv(e,t)}function LC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CC(e){var t=VC();return function(){var n=bl(e),o;if(t){var i=bl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return MC(this,o)}}var gl=function(e){jC(r,e);var t=CC(r);function r(n){NC(this,r);var o,i;return o=t.call(this,n),hl(HP(o),"props",void 0),o.props=new iv((i=n)===null||i===void 0?void 0:i.props),o}return FC(r,null,[{key:"controlName",get:function(){return"\u5173\u8054\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconguanliandanxuan"}},{key:"controlType",get:function(){return"select-relation"}}]),r}(H);hl(gl,"controlFieldType",S.VARCHAR),hl(gl,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0,showItems:[v.CAN_VIEW_FORM,v.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]),hl(gl,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);function UP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function HC(e,t,r){return t&&WP(e.prototype,t),r&&WP(e,r),e}function KP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ml(e){return ml=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ml(e)}function qC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cv(e,t)}function UC(e,t){return t&&(WC(t)==="object"||typeof t=="function")?t:UP(e)}function cv(e,t){return cv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cv(e,t)}function WC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GC(e){var t=KC();return function(){var n=ml(e),o;if(t){var i=ml(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return UC(this,o)}}var XC=function(e){qC(r,e);var t=GC(r);function r(n){zC(this,r);var o,i;return o=t.call(this,n),KP(UP(o),"props",void 0),o.props=new iv((i=n)===null||i===void 0?void 0:i.props),o}return HC(r,null,[{key:"controlType",get:function(){return"select-relation"}}]),r}(q);KP(XC,"controlFieldType",S.VARCHAR);function JC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ol(e){return Ol=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ol(e)}function ZC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 YC(e,t){return t&&(ez(t)==="object"||typeof t=="function")?t:JC(e)}function lv(e,t){return lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lv(e,t)}function ez(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rz(e){var t=tz();return function(){var n=Ol(e),o;if(t){var i=Ol(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YC(this,o)}}var GP=function(e){ZC(r,e);var t=rz(r);function r(n){return QC(this,r),t.call(this,n)}return r}(mo);function XP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function oz(e,t,r){return t&&JP(e.prototype,t),r&&JP(e,r),e}function QP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wl(e){return wl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wl(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&&av(e,t)}function uz(e,t){return t&&(cz(t)==="object"||typeof t=="function")?t:XP(e)}function av(e,t){return av=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},av(e,t)}function cz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function az(e){var t=lz();return function(){var n=wl(e),o;if(t){var i=wl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uz(this,o)}}var fz=function(e){iz(r,e);var t=az(r);function r(n){nz(this,r);var o,i;return o=t.call(this,n),QP(XP(o),"props",void 0),o.props=new GP((i=n)===null||i===void 0?void 0:i.props),o}return oz(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),r}(Oo);QP(fz,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED]},{key:"super-setting",visible:!0}]);function ZP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pz(e,t,r){return t&&YP(e.prototype,t),r&&YP(e,r),e}function eR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $l(e){return $l=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$l(e)}function _z(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fv(e,t)}function yz(e,t){return t&&(dz(t)==="object"||typeof t=="function")?t:ZP(e)}function fv(e,t){return fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fv(e,t)}function dz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hz(e){var t=vz();return function(){var n=$l(e),o;if(t){var i=$l(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yz(this,o)}}var bz=function(e){_z(r,e);var t=hz(r);function r(n){sz(this,r);var o,i;return o=t.call(this,n),eR(ZP(o),"props",void 0),o.props=new GP((i=n)===null||i===void 0?void 0:i.props),o}return pz(r,null,[{key:"controlType",get:function(){return"search-input"}}]),r}(q);eR(bz,"controlFieldType",S.VARCHAR);function te(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function re(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pl(e){return Pl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pl(e)}function pv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_v(e,t)}function gz(e,t){return t&&(mz(t)==="object"||typeof t=="function")?t:te(e)}function _v(e,t){return _v=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_v(e,t)}function mz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Oz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yv(e){var t=Oz();return function(){var n=Pl(e),o;if(t){var i=Pl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gz(this,o)}}var wz=function(e){pv(r,e);var t=yv(r);function r(n){sv(this,r);var o;return o=t.call(this,n),re(te(o),"datasourceBind",[{type:"object",message:$.getMessage("isNotObject")}]),Wo.call(te(o),n,Br.controlCustomAttributes,!0),o.datasourceBind[1].fields&&(o.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:$.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:$.getMessage("rootNodeIsRequired")}}}]),o}return r}(Pe),$z=function(e){pv(r,e);var t=yv(r);function r(n){sv(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(J),Rl=function(e){pv(r,e);var t=yv(r);function r(n){sv(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y,g,O,w,P,E,T;o=t.call(this,n),re(te(o),"placeholder",void 0),re(te(o),"multiple",void 0),re(te(o),"canSearch",void 0),re(te(o),"levelType",void 0),re(te(o),"optionalLevel",void 0),re(te(o),"containsSubNode",void 0),re(te(o),"defaultDisplay",void 0),re(te(o),"isShowIncludeSub",void 0),re(te(o),"isDefaultCheckSub",void 0),re(te(o),"isShowFilterItem",void 0),re(te(o),"defaultCollapse",void 0),re(te(o),"defaultCollapseLevel",void 0),re(te(o),"optionConfig","datasource"),re(te(o),"datasourceBind",void 0),re(te(o),"filterItemDatasourceBind",void 0),re(te(o),"multistageFilling",void 0),re(te(o),"defaultValue",void 0),re(te(o),"openMultistageFilling",void 0);var B;o.caption=(B=(i=n)===null||i===void 0?void 0:i.caption)!==null&&B!==void 0?B:Br.controlName;var I;o.placeholder=(I=(u=n)===null||u===void 0?void 0:u.placeholder)!==null&&I!==void 0?I:"\u8BF7\u9009\u62E9";var A;o.multiple=(A=(c=n)===null||c===void 0?void 0:c.multiple)!==null&&A!==void 0?A:!1;var x;o.canSearch=(x=(l=n)===null||l===void 0?void 0:l.canSearch)!==null&&x!==void 0?x:!0;var k;o.levelType=(k=(a=n)===null||a===void 0?void 0:a.levelType)!==null&&k!==void 0?k:"all";var N;o.optionalLevel=(N=(f=n)===null||f===void 0?void 0:f.optionalLevel)!==null&&N!==void 0?N:1;var D;o.containsSubNode=(D=(s=n)===null||s===void 0?void 0:s.containsSubNode)!==null&&D!==void 0?D:!1;var z;o.isShowFilterItem=(z=(p=n)===null||p===void 0?void 0:p.isShowFilterItem)!==null&&z!==void 0?z:!1;var Y;o.isShowIncludeSub=(Y=(_=n)===null||_===void 0?void 0:_.isShowIncludeSub)!==null&&Y!==void 0?Y:!1;var ee;o.isDefaultCheckSub=(ee=(h=n)===null||h===void 0?void 0:h.isDefaultCheckSub)!==null&&ee!==void 0?ee:!1;var ne;o.defaultCollapse=(ne=(d=n)===null||d===void 0?void 0:d.defaultCollapse)!==null&&ne!==void 0?ne:"all";var oe;o.defaultCollapseLevel=(oe=(b=n)===null||b===void 0?void 0:b.defaultCollapseLevel)!==null&&oe!==void 0?oe:1;var fe;o.datasourceBind=new Eg((fe=(y=n)===null||y===void 0?void 0:y.datasourceBind)!==null&&fe!==void 0?fe:{attributes:Br.controlCustomAttributes});var Ze;o.filterItemDatasourceBind=new Eg((Ze=(g=n)===null||g===void 0?void 0:g.filterItemDatasourceBind)!==null&&Ze!==void 0?Ze:{attributes:Br.controlCustomAttributes});var Fe;o.openMultistageFilling=(Fe=(O=n)===null||O===void 0?void 0:O.openMultistageFilling)!==null&&Fe!==void 0?Fe:!1;var Ot;o.defaultDisplay=(Ot=(w=n)===null||w===void 0?void 0:w.defaultDisplay)!==null&&Ot!==void 0?Ot:!1;var wt;o.multistageFilling=(wt=(E=n)===null||E===void 0||(P=E.multistageFilling)===null||P===void 0?void 0:P.map(function(Qt){return new je(Qt)}))!==null&&wt!==void 0?wt:[];var $t;return o.defaultValue=($t=(T=n)===null||T===void 0?void 0:T.defaultValue)!==null&&$t!==void 0?$t:[],o}return r}(C);re(Rl,"Rules",wz),re(Rl,"RuntimeRules",$z);function tR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Rz(e,t,r){return t&&rR(e.prototype,t),r&&rR(e,r),e}function Sl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function El(e){return El=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},El(e)}function Sz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dv(e,t)}function Ez(e,t){return t&&(Tz(t)==="object"||typeof t=="function")?t:tR(e)}function dv(e,t){return dv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dv(e,t)}function Tz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Iz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bz(e){var t=Iz();return function(){var n=El(e),o;if(t){var i=El(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ez(this,o)}}var Br=function(e){Sz(r,e);var t=Bz(r);function r(n){Pz(this,r);var o,i;return o=t.call(this,n),Sl(tR(o),"props",void 0),o.props=new Rl((i=n)===null||i===void 0?void 0:i.props),o}return Rz(r,null,[{key:"controlName",get:function(){return"\u6811"}},{key:"controlIcon",get:function(){return"icontree"}},{key:"controlType",get:function(){return"tree"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}]),r}(H);Sl(Br,"controlEventKeys",["on_change","on_click"]),Sl(Br,"controlFieldType",S.ARRAY),Sl(Br,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.MULTIPLE,v.CAN_SEARCH,v.DEFAULT_DISPLAY,v.CONTAINS_SUB_NODE,v.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}]);function nR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Az(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xz(e,t,r){return t&&oR(e.prototype,t),r&&oR(e,r),e}function iR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tl(e){return Tl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tl(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&&vv(e,t)}function Dz(e,t){return t&&(Nz(t)==="object"||typeof t=="function")?t:nR(e)}function vv(e,t){return vv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vv(e,t)}function Nz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jz(e){var t=Fz();return function(){var n=Tl(e),o;if(t){var i=Tl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Dz(this,o)}}var Mz=function(e){kz(r,e);var t=jz(r);function r(n){Az(this,r);var o,i;return o=t.call(this,n),iR(nR(o),"props",void 0),o.props=new Rl((i=n)===null||i===void 0?void 0:i.props),o}return xz(r,null,[{key:"controlType",get:function(){return"tree"}}]),r}(q);iR(Mz,"controlFieldType",S.ARRAY);function Oe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function we(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Il(e){return Il=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Il(e)}function bv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gv(e,t)}function Lz(e,t){return t&&(Vz(t)==="object"||typeof t=="function")?t:Oe(e)}function gv(e,t){return gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gv(e,t)}function Vz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Cz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mv(e){var t=Cz();return function(){var n=Il(e),o;if(t){var i=Il(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lz(this,o)}}var zz=function(e){bv(r,e);var t=mv(r);function r(n){hv(this,r);var o;return o=t.call(this,n),we(Oe(o),"datasourceBind",[{type:"object",message:$.getMessage("isNotObject")}]),we(Oe(o),"externalScope",{type:"any"}),Wo.call(Oe(o),n,Po.controlCustomAttributes),n.externalType===lr.ASSIGN&&(o.externalScope={type:"array",required:!0,message:$.getMessage("pleaseAssignExternal")}),o}return r}(Pe),Hz=function(e){bv(r,e);var t=mv(r);function r(n){hv(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(J),Bl=function(e){bv(r,e);var t=mv(r);function r(n){hv(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y,g,O;o=t.call(this,n),we(Oe(o),"showType",void 0),we(Oe(o),"range",void 0),we(Oe(o),"rangeOptions",void 0),we(Oe(o),"multiple",void 0),we(Oe(o),"defaultValueType",void 0),we(Oe(o),"defaultValue",void 0),we(Oe(o),"multistageFilling",void 0),we(Oe(o),"datasourceBind",void 0),we(Oe(o),"datasourceType",void 0),we(Oe(o),"insideType",void 0),we(Oe(o),"externalType",void 0),we(Oe(o),"externalScope",void 0),we(Oe(o),"openMultistageFilling",void 0);var w;o.showType=(w=(i=n)===null||i===void 0?void 0:i.showType)!==null&&w!==void 0?w:"default";var P;o.range=(P=(u=n)===null||u===void 0?void 0:u.range)!==null&&P!==void 0?P:"all";var E;o.rangeOptions=(E=(c=n)===null||c===void 0?void 0:c.rangeOptions)!==null&&E!==void 0?E:[];var T;o.multiple=(T=(l=n)===null||l===void 0?void 0:l.multiple)!==null&&T!==void 0?T:!1;var B;o.defaultValueType=(B=(a=n)===null||a===void 0?void 0:a.defaultValueType)!==null&&B!==void 0?B:"none";var I;o.defaultValue=(I=(f=n)===null||f===void 0?void 0:f.defaultValue)!==null&&I!==void 0?I:[];var A;o.caption=(A=(s=n)===null||s===void 0?void 0:s.caption)!==null&&A!==void 0?A:Po.controlName;var x;o.placeholder=(x=(p=n)===null||p===void 0?void 0:p.placeholder)!==null&&x!==void 0?x:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var k;o.datasourceBind=new Co((k=(_=n)===null||_===void 0?void 0:_.datasourceBind)!==null&&k!==void 0?k:{attributes:Po.controlCustomAttributes});var N;o.datasourceType=(N=(h=n)===null||h===void 0?void 0:h.datasourceType)!==null&&N!==void 0?N:xp.INTERNAL;var D;o.insideType=(D=(d=n)===null||d===void 0?void 0:d.insideType)!==null&&D!==void 0?D:kp.ADMIN;var z;o.externalType=(z=(b=n)===null||b===void 0?void 0:b.externalType)!==null&&z!==void 0?z:lr.ALL;var Y;o.externalScope=(Y=(y=n)===null||y===void 0?void 0:y.externalScope)!==null&&Y!==void 0?Y:[];var ee;if(o.openMultistageFilling=(ee=(g=n)===null||g===void 0?void 0:g.openMultistageFilling)!==null&&ee!==void 0?ee:!1,o.multistageFilling=[],Array.isArray((O=n)===null||O===void 0?void 0:O.multistageFilling)){var ne;(ne=n)===null||ne===void 0||ne.multistageFilling.map(function(oe){var fe;(fe=o.multistageFilling)===null||fe===void 0||fe.push(new je(oe))})}return o}return r}(C);we(Bl,"Rules",zz),we(Bl,"RuntimeRules",Hz);function uR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Uz(e,t,r){return t&&cR(e.prototype,t),r&&cR(e,r),e}function Ov(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Al(e){return Al=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Al(e)}function Wz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wv(e,t)}function Kz(e,t){return t&&(Gz(t)==="object"||typeof t=="function")?t:uR(e)}function wv(e,t){return wv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wv(e,t)}function Gz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jz(e){var t=Xz();return function(){var n=Al(e),o;if(t){var i=Al(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kz(this,o)}}var Po=function(e){Wz(r,e);var t=Jz(r);function r(n){qz(this,r);var o,i;return o=t.call(this,n),Ov(uR(o),"props",void 0),o.props=new Bl((i=n)===null||i===void 0?void 0:i.props),o}return Uz(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(H);Ov(Po,"controlFieldType",S.EMPLOYEES),Ov(Po,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.MULTIPLE,v.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}]);function lR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Zz(e,t,r){return t&&aR(e.prototype,t),r&&aR(e,r),e}function fR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xl(e){return xl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xl(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&&$v(e,t)}function eH(e,t){return t&&(tH(t)==="object"||typeof t=="function")?t:lR(e)}function $v(e,t){return $v=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$v(e,t)}function tH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nH(e){var t=rH();return function(){var n=xl(e),o;if(t){var i=xl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eH(this,o)}}var oH=function(e){Yz(r,e);var t=nH(r);function r(n){Qz(this,r);var o,i;return o=t.call(this,n),fR(lR(o),"props",void 0),o.props=new Bl((i=n)===null||i===void 0?void 0:i.props),o}return Zz(r,null,[{key:"controlType",get:function(){return"employee2"}}]),r}(q);fR(oH,"controlFieldType",S.EMPLOYEES);function It(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kl(e){return kl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kl(e)}function pR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pv(e,t)}function iH(e,t){return t&&(uH(t)==="object"||typeof t=="function")?t:It(e)}function Pv(e,t){return Pv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pv(e,t)}function uH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _R(e){var t=cH();return function(){var n=kl(e),o;if(t){var i=kl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iH(this,o)}}var lH=function(e){pR(r,e);var t=_R(r);function r(n){sR(this,r);var o;return o=t.call(this,n),Bt(It(o),"signatureConfig",void 0),o.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fields:n.signatureConfig.undersignedList.reduce(function(i,u,c){return i[c]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator:function(a,f,s){if(u.type==="public"&&vs(f.value)&&f.value.length===0){s("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}s()}},company:{type:"object",required:!0,validator:function(a,f,s){if(u.type==="public"&&u.signatureType.includes("company")&&vs(f.value)&&f.value.length===0){s("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}s()}}}},i},{})}}},o}return r}(Pe),Rv=function(e){pR(r,e);var t=_R(r);function r(n){sR(this,r);var o,i,u,c,l,a,f,s;o=t.call(this,n),Bt(It(o),"buttonType",void 0),Bt(It(o),"content",void 0),Bt(It(o),"showType",void 0),Bt(It(o),"color",void 0),Bt(It(o),"icon",void 0),Bt(It(o),"command",""),Bt(It(o),"isLoading",!1),Bt(It(o),"signatureConfig",void 0);var p;o.caption=(p=(i=n)===null||i===void 0?void 0:i.caption)!==null&&p!==void 0?p:Fl.controlName;var _;o.content=(_=(u=n)===null||u===void 0?void 0:u.content)!==null&&_!==void 0?_:"\u53D1\u8D77\u7B7E\u7F72";var h;o.buttonType=(h=(c=n)===null||c===void 0?void 0:c.buttonType)!==null&&h!==void 0?h:"primary";var d;o.showType=(d=(l=n)===null||l===void 0?void 0:l.showType)!==null&&d!==void 0?d:"text";var b;o.color=(b=(a=n)===null||a===void 0?void 0:a.color)!==null&&b!==void 0?b:"primary";var y;return o.icon=(y=(f=n)===null||f===void 0?void 0:f.icon)!==null&&y!==void 0?y:"iconfenlei2",o.signatureConfig=new VD((s=n)===null||s===void 0?void 0:s.signatureConfig),o}return r}(C);Bt(Rv,"Rules",lH);function yR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fH(e,t,r){return t&&dR(e.prototype,t),r&&dR(e,r),e}function Dl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nl(e){return Nl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nl(e)}function sH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sv(e,t)}function pH(e,t){return t&&(_H(t)==="object"||typeof t=="function")?t:yR(e)}function Sv(e,t){return Sv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sv(e,t)}function _H(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dH(e){var t=yH();return function(){var n=Nl(e),o;if(t){var i=Nl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pH(this,o)}}var Fl=function(e){sH(r,e);var t=dH(r);function r(n){aH(this,r);var o,i;return o=t.call(this,n),Dl(yR(o),"props",void 0),o.props=new Rv((i=n)===null||i===void 0?void 0:i.props),o}return fH(r,null,[{key:"controlName",get:function(){return"\u7535\u5B50\u7B7E\u7AE0"}},{key:"controlIcon",get:function(){return"icondianziqianzhang"}},{key:"controlType",get:function(){return"electronic-signature"}}]),r}(H);Dl(Fl,"controlEventKeys",["on_click","on_click_finish"]),Dl(Fl,"controlFieldType",S.VARCHAR),Dl(Fl,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}]);function vR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hH(e,t,r){return t&&hR(e.prototype,t),r&&hR(e,r),e}function bR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jl(e){return jl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jl(e)}function bH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ev(e,t)}function gH(e,t){return t&&(mH(t)==="object"||typeof t=="function")?t:vR(e)}function Ev(e,t){return Ev=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ev(e,t)}function mH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wH(e){var t=OH();return function(){var n=jl(e),o;if(t){var i=jl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gH(this,o)}}var $H=function(e){bH(r,e);var t=wH(r);function r(n){vH(this,r);var o,i;return o=t.call(this,n),bR(vR(o),"props",void 0),o.props=new Rv((i=n)===null||i===void 0?void 0:i.props),o}return hH(r,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),r}(q);bR($H,"controlFieldType",S.VARCHAR);function Ie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ml(e){return Ml=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ml(e)}function Iv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bv(e,t)}function PH(e,t){return t&&(RH(t)==="object"||typeof t=="function")?t:Ie(e)}function Bv(e,t){return Bv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bv(e,t)}function RH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Av(e){var t=SH();return function(){var n=Ml(e),o;if(t){var i=Ml(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PH(this,o)}}var EH=function(e){Iv(r,e);var t=Av(r);function r(n){Tv(this,r);var o;return o=t.call(this,n),$e(Ie(o),"content",{type:"string",required:!0,message:$.getMessage("pleaseEnterButtonContent")}),$e(Ie(o),"canAdd",void 0),$e(Ie(o),"wpsSetting",{type:"object",fields:{watermark:{type:"object",validator:function(u,c,l){if(c.active&&!c.text){l($.getMessage("pleaseEnterWatermark"));return}l()}},autoRename:{type:"object",validator:function(u,c,l){if(c.active&&!c.text){l($.getMessage("pleaseEnterFileName"));return}l()}}}}),o.canAdd={type:"boolean",validator:function(u,c,l){if(n.canAdd&&!n.addLocal&&!n.addOnline){l($.getMessage("pleaseChooseAtLeastOne"));return}l()}},o}return r}(Pe),TH=function(e){Iv(r,e);var t=Av(r);function r(n){Tv(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(J),Ll=function(e){Iv(r,e);var t=Av(r);function r(n){Tv(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y;o=t.call(this,n),$e(Ie(o),"content",void 0),$e(Ie(o),"canAdd",void 0),$e(Ie(o),"addLocal",void 0),$e(Ie(o),"addOnline",void 0),$e(Ie(o),"canDownload",void 0),$e(Ie(o),"canEdit",void 0),$e(Ie(o),"canExport",void 0),$e(Ie(o),"canDelete",void 0),$e(Ie(o),"wpsSetting",void 0),$e(Ie(o),"maxSize",void 0),$e(Ie(o),"defaultValue",void 0),$e(Ie(o),"revisionsMode",void 0);var g;o.caption=(g=(i=n)===null||i===void 0?void 0:i.caption)!==null&&g!==void 0?g:zl.controlName;var O;o.content=(O=(u=n)===null||u===void 0?void 0:u.content)!==null&&O!==void 0?O:"\u65B0\u5EFA\u6587\u6863";var w;o.canAdd=(w=(c=n)===null||c===void 0?void 0:c.canAdd)!==null&&w!==void 0?w:!0;var P;o.addLocal=(P=(l=n)===null||l===void 0?void 0:l.addLocal)!==null&&P!==void 0?P:!0;var E;o.addOnline=(E=(a=n)===null||a===void 0?void 0:a.addOnline)!==null&&E!==void 0?E:!0;var T;o.canEdit=(T=(f=n)===null||f===void 0?void 0:f.canEdit)!==null&&T!==void 0?T:!0;var B;o.canDownload=(B=(s=n)===null||s===void 0?void 0:s.canDownload)!==null&&B!==void 0?B:!0;var I;o.canExport=(I=(p=n)===null||p===void 0?void 0:p.canExport)!==null&&I!==void 0?I:!0;var A;o.canDelete=(A=(_=n)===null||_===void 0?void 0:_.canDelete)!==null&&A!==void 0?A:!1;var x;o.maxSize=(x=(h=n)===null||h===void 0?void 0:h.maxSize)!==null&&x!==void 0?x:I7;var k;o.defaultValue=(k=(d=n)===null||d===void 0?void 0:d.defaultValue)!==null&&k!==void 0?k:[],o.wpsSetting=new CD((b=n)===null||b===void 0?void 0:b.wpsSetting);var N;return o.revisionsMode=(N=(y=n)===null||y===void 0?void 0:y.revisionsMode)!==null&&N!==void 0?N:!1,o}return r}(C);$e(Ll,"Rules",EH),$e(Ll,"RuntimeRules",TH);function gR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function BH(e,t,r){return t&&mR(e.prototype,t),r&&mR(e,r),e}function Vl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cl(e){return Cl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cl(e)}function AH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xv(e,t)}function xH(e,t){return t&&(kH(t)==="object"||typeof t=="function")?t:gR(e)}function xv(e,t){return xv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xv(e,t)}function kH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NH(e){var t=DH();return function(){var n=Cl(e),o;if(t){var i=Cl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xH(this,o)}}var zl=function(e){AH(r,e);var t=NH(r);function r(n){IH(this,r);var o,i;return o=t.call(this,n),Vl(gR(o),"props",void 0),o.props=new Ll((i=n)===null||i===void 0?void 0:i.props),o}return BH(r,null,[{key:"controlName",get:function(){return"\u5728\u7EBF\u6587\u6863"}},{key:"controlIcon",get:function(){return"iconwps"}},{key:"controlType",get:function(){return"wps"}}]),r}(H);Vl(zl,"controlEventKeys",["on_change","on_wps_open"]),Vl(zl,"controlFieldType",S.FILE),Vl(zl,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_SHOW_CAPTION_TIP,v.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}]);function OR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jH(e,t,r){return t&&wR(e.prototype,t),r&&wR(e,r),e}function $R(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hl(e){return Hl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hl(e)}function MH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kv(e,t)}function LH(e,t){return t&&(VH(t)==="object"||typeof t=="function")?t:OR(e)}function kv(e,t){return kv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kv(e,t)}function VH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zH(e){var t=CH();return function(){var n=Hl(e),o;if(t){var i=Hl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return LH(this,o)}}var HH=function(e){MH(r,e);var t=zH(r);function r(n){FH(this,r);var o,i;return o=t.call(this,n),$R(OR(o),"props",void 0),o.props=new Ll((i=n)===null||i===void 0?void 0:i.props),o}return jH(r,null,[{key:"controlType",get:function(){return"wps"}}]),r}(q);$R(HH,"controlFieldType",S.FILE);function _e(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ye(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ql(e){return ql=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ql(e)}function Nv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fv(e,t)}function qH(e,t){return t&&(UH(t)==="object"||typeof t=="function")?t:_e(e)}function Fv(e,t){return Fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fv(e,t)}function UH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jv(e){var t=WH();return function(){var n=ql(e),o;if(t){var i=ql(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qH(this,o)}}var KH=function(e){Nv(r,e);var t=jv(r);function r(n){Dv(this,r);var o;return o=t.call(this,n),ye(_e(o),"datasourceBind",[{type:"object",message:$.getMessage("isNotObject")}]),ye(_e(o),"businessScope",{type:"any"}),Wo.call(_e(o),n,yn.controlCustomAttributes),n.businessType===lr.ASSIGN&&(o.businessScope={type:"array",required:!0,message:$.getMessage("pleaseAssignBusiness")}),o}return r}(Pe),GH=function(e){Nv(r,e);var t=jv(r);function r(n){Dv(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(J),Ul=function(e){Nv(r,e);var t=jv(r);function r(n){Dv(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y,g,O,w;o=t.call(this,n),ye(_e(o),"showType",void 0),ye(_e(o),"range",void 0),ye(_e(o),"defaultValueType",void 0),ye(_e(o),"multiple",void 0),ye(_e(o),"rangeOptions",void 0),ye(_e(o),"defaultValue",void 0),ye(_e(o),"displayLevel",void 0),ye(_e(o),"showSubDept",void 0),ye(_e(o),"multistageFilling",void 0),ye(_e(o),"datasourceBind",void 0),ye(_e(o),"datasourceType",void 0),ye(_e(o),"businessType",void 0),ye(_e(o),"businessScope",void 0),ye(_e(o),"openMultistageFilling",void 0);var P;o.showType=(P=(i=n)===null||i===void 0?void 0:i.showType)!==null&&P!==void 0?P:"default";var E;o.multiple=(E=(u=n)===null||u===void 0?void 0:u.multiple)!==null&&E!==void 0?E:!1;var T;o.range=(T=(c=n)===null||c===void 0?void 0:c.range)!==null&&T!==void 0?T:"all";var B;o.defaultValueType=(B=(l=n)===null||l===void 0?void 0:l.defaultValueType)!==null&&B!==void 0?B:"none";var I;o.rangeOptions=(I=(a=n)===null||a===void 0?void 0:a.rangeOptions)!==null&&I!==void 0?I:[];var A;o.defaultValue=(A=(f=n)===null||f===void 0?void 0:f.defaultValue)!==null&&A!==void 0?A:[];var x;o.displayLevel=(x=(s=n)===null||s===void 0?void 0:s.displayLevel)!==null&&x!==void 0?x:1;var k;o.showSubDept=(k=(p=n)===null||p===void 0?void 0:p.showSubDept)!==null&&k!==void 0?k:!0;var N;o.caption=(N=(_=n)===null||_===void 0?void 0:_.caption)!==null&&N!==void 0?N:yn.controlName;var D;o.placeholder=(D=(h=n)===null||h===void 0?void 0:h.placeholder)!==null&&D!==void 0?D:"\u8BF7\u9009\u62E9\u90E8\u95E8";var z;o.datasourceBind=new Co((z=(d=n)===null||d===void 0?void 0:d.datasourceBind)!==null&&z!==void 0?z:{attributes:yn.controlCustomAttributes});var Y;o.datasourceType=(Y=(b=n)===null||b===void 0?void 0:b.datasourceType)!==null&&Y!==void 0?Y:mi.INTERNAL;var ee;o.businessScope=(ee=(y=n)===null||y===void 0?void 0:y.businessScope)!==null&&ee!==void 0?ee:[];var ne;o.businessType=(ne=(g=n)===null||g===void 0?void 0:g.businessType)!==null&&ne!==void 0?ne:lr.ALL;var oe;if(o.openMultistageFilling=(oe=(O=n)===null||O===void 0?void 0:O.openMultistageFilling)!==null&&oe!==void 0?oe:!1,o.multistageFilling=[],Array.isArray((w=n)===null||w===void 0?void 0:w.multistageFilling)){var fe;(fe=n)===null||fe===void 0||fe.multistageFilling.map(function(Ze){var Fe;(Fe=o.multistageFilling)===null||Fe===void 0||Fe.push(new je(Ze))})}return o}return r}(C);ye(Ul,"Rules",KH),ye(Ul,"RuntimeRules",GH);function PR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function JH(e,t,r){return t&&RR(e.prototype,t),r&&RR(e,r),e}function Wl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kl(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Kl=Reflect.get:Kl=function(o,i,u){var c=YH(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Kl(e,t,r||e)}function _n(e){return _n=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_n(e)}function QH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mv(e,t)}function ZH(e,t){return t&&(eq(t)==="object"||typeof t=="function")?t:PR(e)}function Mv(e,t){return Mv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mv(e,t)}function YH(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=_n(e),e!==null););return e}function eq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rq(e){var t=tq();return function(){var n=_n(e),o;if(t){var i=_n(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZH(this,o)}}var yn=function(e){QH(r,e);var t=rq(r);function r(n){XH(this,r);var o,i;return o=t.call(this,n),Wl(PR(o),"props",void 0),o.props=new Ul((i=n)===null||i===void 0?void 0:i.props),o}return JH(r,[{key:"toDataBindModel",value:function(o){var i=Kl(_n(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,l=u.showSubDept;i.props.displayLevel=c,i.props.showSubDept=l}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(H);Wl(yn,"controlName","\u90E8\u95E8"),Wl(yn,"controlFieldType",S.DEPARTMENTS),Wl(yn,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.MULTIPLE,v.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function SR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ER(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function oq(e,t,r){return t&&ER(e.prototype,t),r&&ER(e,r),e}function TR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gl(e){return Gl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gl(e)}function iq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lv(e,t)}function uq(e,t){return t&&(cq(t)==="object"||typeof t=="function")?t:SR(e)}function Lv(e,t){return Lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lv(e,t)}function cq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aq(e){var t=lq();return function(){var n=Gl(e),o;if(t){var i=Gl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uq(this,o)}}var fq=function(e){iq(r,e);var t=aq(r);function r(n){nq(this,r);var o,i;return o=t.call(this,n),TR(SR(o),"props",void 0),o.props=new Ul((i=n)===null||i===void 0?void 0:i.props),o}return oq(r,null,[{key:"controlType",get:function(){return"department2"}}]),r}(q);TR(fq,"controlFieldType",S.DEPARTMENTS);function Q(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Z(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xl(e){return Xl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xl(e)}function Cv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zv(e,t)}function sq(e,t){return t&&(pq(t)==="object"||typeof t=="function")?t:Q(e)}function zv(e,t){return zv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zv(e,t)}function pq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _q(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hv(e){var t=_q();return function(){var n=Xl(e),o;if(t){var i=Xl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sq(this,o)}}var yq=function(e){Cv(r,e);var t=Hv(r);function r(n){Vv(this,r);var o;return o=t.call(this,n),Z(Q(o),"datasourceBind",[{type:"object",message:$.getMessage("isNotObject")}]),Z(Q(o),"businessScope",{type:"any"}),Wo.call(Q(o),n,vn.controlCustomAttributes),n.businessType===lr.ASSIGN&&(o.businessScope={type:"array",required:!0,message:$.getMessage("pleaseAssignBusiness")}),o}return r}(Pe),dq=function(e){Cv(r,e);var t=Hv(r);function r(n){Vv(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(J),Jl=function(e){Cv(r,e);var t=Hv(r);function r(n){Vv(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y,g,O,w,P,E,T,B,I;o=t.call(this,n),Z(Q(o),"showType",void 0),Z(Q(o),"range",void 0),Z(Q(o),"defaultValueType",void 0),Z(Q(o),"multiple",void 0),Z(Q(o),"rangeOptions",void 0),Z(Q(o),"defaultValue",void 0),Z(Q(o),"displayLevel",void 0),Z(Q(o),"showSubDept",void 0),Z(Q(o),"multistageFilling",void 0),Z(Q(o),"datasourceBind",void 0),Z(Q(o),"listPageBind",void 0),Z(Q(o),"datasourceType",void 0),Z(Q(o),"businessType",void 0),Z(Q(o),"businessScope",void 0),Z(Q(o),"organizingFunction",void 0),Z(Q(o),"organizationView",void 0),Z(Q(o),"openMultistageFilling",void 0),Z(Q(o),"showSelectedDetail",void 0),Z(Q(o),"selectedContentConfig",void 0);var A;o.showType=(A=(i=n)===null||i===void 0?void 0:i.showType)!==null&&A!==void 0?A:"default";var x;o.multiple=(x=(u=n)===null||u===void 0?void 0:u.multiple)!==null&&x!==void 0?x:!1;var k;o.range=(k=(c=n)===null||c===void 0?void 0:c.range)!==null&&k!==void 0?k:"all",o.listPageBind=new ws((l=n)===null||l===void 0?void 0:l.listPageBind);var N;o.defaultValueType=(N=(a=n)===null||a===void 0?void 0:a.defaultValueType)!==null&&N!==void 0?N:"none";var D;o.rangeOptions=(D=(f=n)===null||f===void 0?void 0:f.rangeOptions)!==null&&D!==void 0?D:[];var z;o.defaultValue=(z=(s=n)===null||s===void 0?void 0:s.defaultValue)!==null&&z!==void 0?z:[];var Y;o.displayLevel=(Y=(p=n)===null||p===void 0?void 0:p.displayLevel)!==null&&Y!==void 0?Y:1;var ee;o.showSubDept=(ee=(_=n)===null||_===void 0?void 0:_.showSubDept)!==null&&ee!==void 0?ee:!0;var ne;o.caption=(ne=(h=n)===null||h===void 0?void 0:h.caption)!==null&&ne!==void 0?ne:vn.controlName;var oe;o.placeholder=(oe=(d=n)===null||d===void 0?void 0:d.placeholder)!==null&&oe!==void 0?oe:"\u8BF7\u9009\u62E9\u7EC4\u7EC7";var fe;o.datasourceBind=new q2((fe=(b=n)===null||b===void 0?void 0:b.datasourceBind)!==null&&fe!==void 0?fe:{attributes:vn.controlCustomAttributes});var Ze;o.datasourceType=(Ze=(y=n)===null||y===void 0?void 0:y.datasourceType)!==null&&Ze!==void 0?Ze:mi.INTERNAL;var Fe;o.businessScope=(Fe=(g=n)===null||g===void 0?void 0:g.businessScope)!==null&&Fe!==void 0?Fe:[];var Ot;o.businessType=(Ot=(O=n)===null||O===void 0?void 0:O.businessType)!==null&&Ot!==void 0?Ot:lr.ALL;var wt;o.organizingFunction=(wt=(w=n)===null||w===void 0?void 0:w.organizingFunction)!==null&&wt!==void 0?wt:void 0;var $t;o.organizationView=($t=(P=n)===null||P===void 0?void 0:P.organizationView)!==null&&$t!==void 0?$t:void 0;var Qt;o.showSelectedDetail=(Qt=(E=n)===null||E===void 0?void 0:E.showSelectedDetail)!==null&&Qt!==void 0?Qt:!1,o.selectedContentConfig=new Ss((T=n)===null||T===void 0?void 0:T.selectedContentConfig);var Cr;if(o.openMultistageFilling=(Cr=(B=n)===null||B===void 0?void 0:B.openMultistageFilling)!==null&&Cr!==void 0?Cr:!1,o.multistageFilling=[],Array.isArray((I=n)===null||I===void 0?void 0:I.multistageFilling)){var zr;(zr=n)===null||zr===void 0||zr.multistageFilling.map(function(jo){var Hr;(Hr=o.multistageFilling)===null||Hr===void 0||Hr.push(new je(jo))})}return o}return r}(C);Z(Jl,"Rules",yq),Z(Jl,"RuntimeRules",dq);function IR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hq(e,t,r){return t&&BR(e.prototype,t),r&&BR(e,r),e}function Ql(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zl(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Zl=Reflect.get:Zl=function(o,i,u){var c=mq(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Zl(e,t,r||e)}function dn(e){return dn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dn(e)}function 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&&qv(e,t)}function gq(e,t){return t&&(Oq(t)==="object"||typeof t=="function")?t:IR(e)}function qv(e,t){return qv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qv(e,t)}function mq(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=dn(e),e!==null););return e}function Oq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $q(e){var t=wq();return function(){var n=dn(e),o;if(t){var i=dn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gq(this,o)}}var vn=function(e){bq(r,e);var t=$q(r);function r(n){vq(this,r);var o,i;return o=t.call(this,n),Ql(IR(o),"props",void 0),o.props=new Jl((i=n)===null||i===void 0?void 0:i.props),o}return hq(r,[{key:"toDataBindModel",value:function(o){var i=Zl(dn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,l=u.showSubDept;i.props.displayLevel=c,i.props.showSubDept=l}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"organization-selection"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(H);Ql(vn,"controlName","\u4E1A\u52A1\u7EC4\u7EC7"),Ql(vn,"controlFieldType",S.DEPARTMENTS),Ql(vn,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.MULTIPLE,v.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function AR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Rq(e,t,r){return t&&xR(e.prototype,t),r&&xR(e,r),e}function kR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yl(e){return Yl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yl(e)}function Sq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uv(e,t)}function Eq(e,t){return t&&(Tq(t)==="object"||typeof t=="function")?t:AR(e)}function Uv(e,t){return Uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uv(e,t)}function Tq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Iq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bq(e){var t=Iq();return function(){var n=Yl(e),o;if(t){var i=Yl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Eq(this,o)}}var Aq=function(e){Sq(r,e);var t=Bq(r);function r(n){Pq(this,r);var o,i;return o=t.call(this,n),kR(AR(o),"props",void 0),o.props=new Jl((i=n)===null||i===void 0?void 0:i.props),o}return Rq(r,null,[{key:"controlType",get:function(){return"organization-selection"}}]),r}(q);kR(Aq,"controlFieldType",S.DEPARTMENTS);function xq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Dq(e,t,r){return t&&DR(e.prototype,t),r&&DR(e,r),e}function Nq(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ea(e){return ea=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ea(e)}function Fq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wv(e,t)}function jq(e,t){return t&&(Mq(t)==="object"||typeof t=="function")?t:xq(e)}function Wv(e,t){return Wv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wv(e,t)}function Mq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vq(e){var t=Lq();return function(){var n=ea(e),o;if(t){var i=ea(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jq(this,o)}}var Cq=function(e){Fq(r,e);var t=Vq(r);function r(n){return kq(this,r),t.call(this,n)}return Dq(r,null,[{key:"controlName",get:function(){return"\u753B\u5E03"}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),r}(ve);Nq(Cq,"excludes",[m.GRID]);function Kv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ta(e){return ta=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ta(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&&Gv(e,t)}function qq(e,t){return t&&(Uq(t)==="object"||typeof t=="function")?t:Kv(e)}function Gv(e,t){return Gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gv(e,t)}function Uq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kq(e){var t=Wq();return function(){var n=ta(e),o;if(t){var i=ta(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qq(this,o)}}var Gq=24,Ro=function(e){Hq(r,e);var t=Kq(r);function r(n){zq(this,r);var o,i,u;o=t.call(this,n),NR(Kv(o),"span",void 0),NR(Kv(o),"offset",void 0);var c;o.span=(c=(i=n)===null||i===void 0?void 0:i.span)!==null&&c!==void 0?c:Gq;var l;return o.offset=(l=(u=n)===null||u===void 0?void 0:u.offset)!==null&&l!==void 0?l:0,o}return r}(de);function FR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Jq(e,t,r){return t&&jR(e.prototype,t),r&&jR(e,r),e}function Xv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ra(e){return ra=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ra(e)}function Qq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jv(e,t)}function Zq(e,t){return t&&(Yq(t)==="object"||typeof t=="function")?t:FR(e)}function Jv(e,t){return Jv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jv(e,t)}function Yq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tU(e){var t=eU();return function(){var n=ra(e),o;if(t){var i=ra(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Zq(this,o)}}var So=function(e){Qq(r,e);var t=tU(r);function r(n){Xq(this,r);var o,i;return o=t.call(this,n),Xv(FR(o),"props",void 0),o.props=new Ro((i=n)===null||i===void 0?void 0:i.props),o}return Jq(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(ve);Xv(So,"excludes",[m.COL,m.CARD_GROUP,m.SUBTABLE,m.SUBTABLE_COLUMN,m.DIVIDER]),Xv(So,"childrenMaxLength",1);function MR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function nU(e,t,r){return t&&LR(e.prototype,t),r&&LR(e,r),e}function oU(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function na(e){return na=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},na(e)}function iU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qv(e,t)}function uU(e,t){return t&&(cU(t)==="object"||typeof t=="function")?t:MR(e)}function Qv(e,t){return Qv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qv(e,t)}function cU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aU(e){var t=lU();return function(){var n=na(e),o;if(t){var i=na(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uU(this,o)}}var fU=function(e){iU(r,e);var t=aU(r);function r(n){rU(this,r);var o,i;return o=t.call(this,n),oU(MR(o),"props",void 0),o.props=new Ro((i=n)===null||i===void 0?void 0:i.props),o}return nU(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(Er),VR={Designer:So,Runtime:fU,Property:Ro};function Zv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oa(e){return oa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oa(e)}function pU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yv(e,t)}function _U(e,t){return t&&(yU(t)==="object"||typeof t=="function")?t:Zv(e)}function Yv(e,t){return Yv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yv(e,t)}function yU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vU(e){var t=dU();return function(){var n=oa(e),o;if(t){var i=oa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _U(this,o)}}var eh=function(e){pU(r,e);var t=vU(r);function r(n){sU(this,r);var o,i,u;o=t.call(this,n),CR(Zv(o),"layoutMode",void 0),CR(Zv(o),"gutter",void 0);var c;o.layoutMode=(c=(i=n)===null||i===void 0?void 0:i.layoutMode)!==null&&c!==void 0?c:"select";var l;return o.gutter=(l=(u=n)===null||u===void 0?void 0:u.gutter)!==null&&l!==void 0?l:0,o}return r}(de);function zR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bU(e,t,r){return t&&HR(e.prototype,t),r&&HR(e,r),e}function th(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ia(e){return ia=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ia(e)}function gU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rh(e,t)}function mU(e,t){return t&&(OU(t)==="object"||typeof t=="function")?t:zR(e)}function rh(e,t){return rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rh(e,t)}function OU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $U(e){var t=wU();return function(){var n=ia(e),o;if(t){var i=ia(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mU(this,o)}}var nh=function(e){gU(r,e);var t=$U(r);function r(n){hU(this,r);var o,i;return o=t.call(this,n),th(zR(o),"props",void 0),o.props=new eh((i=n)===null||i===void 0?void 0:i.props),o}return bU(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(ve);th(nh,"excludes",[m.ROW]),th(nh,"setting",[{key:"col-setting",visible:!0}]);function qR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function RU(e,t,r){return t&&UR(e.prototype,t),r&&UR(e,r),e}function SU(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ua(e){return ua=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ua(e)}function EU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&oh(e,t)}function TU(e,t){return t&&(IU(t)==="object"||typeof t=="function")?t:qR(e)}function oh(e,t){return oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oh(e,t)}function IU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AU(e){var t=BU();return function(){var n=ua(e),o;if(t){var i=ua(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TU(this,o)}}var xU=function(e){EU(r,e);var t=AU(r);function r(n){PU(this,r);var o,i;return o=t.call(this,n),SU(qR(o),"props",void 0),o.props=new eh((i=n)===null||i===void 0?void 0:i.props),o}return RU(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(Er);function kU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function NU(e,t,r){return t&&WR(e.prototype,t),r&&WR(e,r),e}function ih(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ca(e){return ca=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ca(e)}function 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&&uh(e,t)}function jU(e,t){return t&&(MU(t)==="object"||typeof t=="function")?t:kU(e)}function uh(e,t){return uh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uh(e,t)}function MU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VU(e){var t=LU();return function(){var n=ca(e),o;if(t){var i=ca(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jU(this,o)}}var CU=4,la=function(e){FU(r,e);var t=VU(r);function r(n){return DU(this,r),t.call(this,n)}return NU(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u7B49\u5206\u884C"}},{key:"controlType",get:function(){return"grid-row"}},{key:"controlIcon",get:function(){return"grid-row"}}]),r}(nh);ih(la,"excludes",[m.GRID_ROW]),ih(la,"setting",[]),ih(la,"childrenMaxLength",CU);function zU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qU(e,t,r){return t&&KR(e.prototype,t),r&&KR(e,r),e}function aa(e){return aa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},aa(e)}function UU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ch(e,t)}function WU(e,t){return t&&(KU(t)==="object"||typeof t=="function")?t:zU(e)}function ch(e,t){return ch=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ch(e,t)}function KU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XU(e){var t=GU();return function(){var n=aa(e),o;if(t){var i=aa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WU(this,o)}}var JU=function(e){UU(r,e);var t=XU(r);function r(n){return HU(this,r),t.call(this,n)}return qU(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(xU);function QU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fa(e){return fa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fa(e)}function YU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lh(e,t)}function eW(e,t){return t&&(tW(t)==="object"||typeof t=="function")?t:QU(e)}function lh(e,t){return lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lh(e,t)}function tW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nW(e){var t=rW();return function(){var n=fa(e),o;if(t){var i=fa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eW(this,o)}}var oW=function(e){YU(r,e);var t=nW(r);function r(n){return ZU(this,r),t.call(this,n)}return r}(eh),iW={Designer:la,Runtime:JU,Property:oW};function sa(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pa(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _a(e){return _a=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_a(e)}function XR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ah(e,t)}function uW(e,t){return t&&(cW(t)==="object"||typeof t=="function")?t:sa(e)}function ah(e,t){return ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ah(e,t)}function cW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JR(e){var t=lW();return function(){var n=_a(e),o;if(t){var i=_a(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uW(this,o)}}var aW=function(e){XR(r,e);var t=JR(r);function r(){GR(this,r);var n;return n=t.apply(this,arguments),pa(sa(n),"caption",{type:"string",required:!0,message:$.getMessage("pleaseEnterCaption")}),n}return r}(de.Rules),QR=function(e){XR(r,e);var t=JR(r);function r(n){GR(this,r);var o,i,u;o=t.call(this,n),pa(sa(o),"caption",void 0),pa(sa(o),"collapse",void 0);var c;o.caption=(c=(i=n)===null||i===void 0?void 0:i.caption)!==null&&c!==void 0?c:"\u5206\u7EC4";var l;return o.collapse=(l=(u=n)===null||u===void 0?void 0:u.collapse)!==null&&l!==void 0?l:"none",o}return r}(de);pa(QR,"Rules",aW);function ZR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function sW(e,t,r){return t&&YR(e.prototype,t),r&&YR(e,r),e}function fh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ya(e){return ya=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ya(e)}function pW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sh(e,t)}function _W(e,t){return t&&(yW(t)==="object"||typeof t=="function")?t:ZR(e)}function sh(e,t){return sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sh(e,t)}function yW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vW(e){var t=dW();return function(){var n=ya(e),o;if(t){var i=ya(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _W(this,o)}}var eS=function(e){pW(r,e);var t=vW(r);function r(n){fW(this,r);var o,i;return o=t.call(this,n),fh(ZR(o),"props",void 0),o.props=new QR((i=n)===null||i===void 0?void 0:i.props),o}return sW(r,null,[{key:"controlName",get:function(){return"\u5206\u7EC4"}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),r}(ve);fh(eS,"setting",[{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}]),fh(eS,"excludes",[m.CARD_GROUP]);function At(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function da(e){return da=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},da(e)}function rS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ph(e,t)}function hW(e,t){return t&&(bW(t)==="object"||typeof t=="function")?t:At(e)}function ph(e,t){return ph=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ph(e,t)}function bW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nS(e){var t=gW();return function(){var n=da(e),o;if(t){var i=da(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hW(this,o)}}var mW=function(e){rS(r,e);var t=nS(r);function r(n){tS(this,r);var o;return o=t.call(this,n),xt(At(o),"caption",{type:"string",required:!0,message:$.getMessage("pleaseEnterCaption")}),xt(At(o),"width",{type:"number",required:!1,message:$.getMessage("pleaseEnterColumnWidth")}),xt(At(o),"captionTip",{type:"string",required:!1,message:$.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(le),va=function(e){rS(r,e);var t=nS(r);function r(n){tS(this,r);var o,i,u,c,l,a,f;o=t.call(this,n),xt(At(o),"metaAutoWidth",void 0),xt(At(o),"caption",void 0),xt(At(o),"fixed",void 0),xt(At(o),"isShowCaptionTip",void 0),xt(At(o),"captionTip",void 0),xt(At(o),"isHideCaption",void 0);var s;o.caption=(s=(i=n)===null||i===void 0?void 0:i.caption)!==null&&s!==void 0?s:"";var p;o.fixed=(p=(u=n)===null||u===void 0?void 0:u.fixed)!==null&&p!==void 0?p:!1;var _;o.isShowCaptionTip=(_=(c=n)===null||c===void 0?void 0:c.isShowCaptionTip)!==null&&_!==void 0?_:!1;var h;o.captionTip=(h=(l=n)===null||l===void 0?void 0:l.captionTip)!==null&&h!==void 0?h:"";var d;return o.isHideCaption=(d=(a=n)===null||a===void 0?void 0:a.isHideCaption)!==null&&d!==void 0?d:!1,o.metaAutoWidth=new N2((f=n)===null||f===void 0?void 0:f.metaAutoWidth),o}return r}(de);xt(va,"Rules",mW);function oS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ar(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ha(e){return ha=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ha(e)}function wW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_h(e,t)}function $W(e,t){return t&&(PW(t)==="object"||typeof t=="function")?t:oS(e)}function _h(e,t){return _h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_h(e,t)}function PW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SW(e){var t=RW();return function(){var n=ha(e),o;if(t){var i=ha(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $W(this,o)}}var ht=function(e){wW(r,e);var t=SW(r);function r(n){OW(this,r);var o,i;return o=t.call(this,n),Ar(oS(o),"props",void 0),o.props=new va((i=n)===null||i===void 0?void 0:i.props),o}return r}(ve);Ar(ht,"controlName","\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),Ar(ht,"controlType","subtable-column"),Ar(ht,"controlIcon","subtable-column"),Ar(ht,"childrenMaxLength",1),Ar(ht,"excludes",[m.SUBTABLE,m.SUBTABLE_COLUMN,m.ROW,m.COL,m.CARD_GROUP,m.DIVIDER,m.TEXT]),Ar(ht,"setting",[{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"common-setting",showItems:[v.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}]);function iS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ba(e){return ba=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ba(e)}function TW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yh(e,t)}function IW(e,t){return t&&(BW(t)==="object"||typeof t=="function")?t:iS(e)}function yh(e,t){return yh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yh(e,t)}function BW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xW(e){var t=AW();return function(){var n=ba(e),o;if(t){var i=ba(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return IW(this,o)}}var cS=function(e){TW(r,e);var t=xW(r);function r(n){EW(this,r);var o,i;return o=t.call(this,n),uS(iS(o),"props",void 0),o.props=new va((i=n)===null||i===void 0?void 0:i.props),o}return r}(Er);uS(cS,"controlType","subtable-column");var kW={Designer:ht,Runtime:cS,Property:va};function DW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ga(e){return ga=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ga(e)}function FW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dh(e,t)}function jW(e,t){return t&&(MW(t)==="object"||typeof t=="function")?t:DW(e)}function dh(e,t){return dh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dh(e,t)}function MW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VW(e){var t=LW();return function(){var n=ga(e),o;if(t){var i=ga(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jW(this,o)}}var CW=function(e){FW(r,e);var t=VW(r);function r(n){return NW(this,r),t.call(this,n)}return r}(de);function lS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ma(e){return ma=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ma(e)}function 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&&vh(e,t)}function qW(e,t){return t&&(UW(t)==="object"||typeof t=="function")?t:lS(e)}function vh(e,t){return vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vh(e,t)}function UW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KW(e){var t=WW();return function(){var n=ma(e),o;if(t){var i=ma(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qW(this,o)}}var hn=function(e){HW(r,e);var t=KW(r);function r(n){zW(this,r);var o,i;return o=t.call(this,n),xr(lS(o),"props",void 0),o.props=new CW((i=n)===null||i===void 0?void 0:i.props),o}return r}(ve);xr(hn,"controlName","\u660E\u7EC6\u5B50\u8868\u884C"),xr(hn,"controlType","subtable-row"),xr(hn,"controlIcon","subtable-row"),xr(hn,"childrenMaxLength",1),xr(hn,"excludes",[m.SUBTABLE,m.SUBTABLE_COLUMN,m.SUBTABLE_ROW,m.ROW,m.COL,m.CARD_GROUP,m.DIVIDER,m.TEXT]),xr(hn,"setting",[{key:"caption",showItems:[v.CAPTION],visible:!0}]);function Qe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ct(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Oa(e){return Oa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oa(e)}function XW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hh(e,t)}function JW(e,t){return t&&(QW(t)==="object"||typeof t=="function")?t:Qe(e)}function hh(e,t){return hh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hh(e,t)}function QW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YW(e){var t=ZW();return function(){var n=Oa(e),o;if(t){var i=Oa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JW(this,o)}}var aS=function(e){XW(r,e);var t=YW(r);function r(n){GW(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b;o=t.call(this,n),ct(Qe(o),"widthType",void 0),ct(Qe(o),"width",void 0),ct(Qe(o),"caption",void 0),ct(Qe(o),"fieldCode",void 0),ct(Qe(o),"fieldType",void 0),ct(Qe(o),"fieldName",void 0),ct(Qe(o),"datasourceBind",void 0),ct(Qe(o),"fixed",void 0),ct(Qe(o),"textCleanFormart",void 0),ct(Qe(o),"decimalKeepPrecision",void 0),ct(Qe(o),"timestampDateType",void 0),ct(Qe(o),"departmentDisplayLevel",void 0);var y;o.width=(y=(i=n)===null||i===void 0?void 0:i.width)!==null&&y!==void 0?y:200,o.widthType=((u=n)===null||u===void 0?void 0:u.widthType)||"auto";var g;o.caption=(g=(c=n)===null||c===void 0?void 0:c.caption)!==null&&g!==void 0?g:"";var O;o.fixed=(O=(l=n)===null||l===void 0?void 0:l.fixed)!==null&&O!==void 0?O:!1;var w;o.fieldCode=(w=(a=n)===null||a===void 0?void 0:a.fieldCode)!==null&&w!==void 0?w:"";var P;o.fieldType=(P=(f=n)===null||f===void 0?void 0:f.fieldType)!==null&&P!==void 0?P:S.VARCHAR;var E;o.fieldName=(E=(s=n)===null||s===void 0?void 0:s.fieldName)!==null&&E!==void 0?E:"",o.datasourceBind=new se((p=n)===null||p===void 0?void 0:p.datasourceBind);var T;o.textCleanFormart=(T=(_=n)===null||_===void 0?void 0:_.textCleanFormart)!==null&&T!==void 0?T:!1;var B;o.decimalKeepPrecision=(B=(h=n)===null||h===void 0?void 0:h.decimalKeepPrecision)!==null&&B!==void 0?B:0;var I;o.timestampDateType=(I=(d=n)===null||d===void 0?void 0:d.timestampDateType)!==null&&I!==void 0?I:Zt.DATE;var A;return o.departmentDisplayLevel=(A=(b=n)===null||b===void 0?void 0:b.departmentDisplayLevel)!==null&&A!==void 0?A:1,o}return r}(de);function fS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wa(e){return wa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wa(e)}function tK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bh(e,t)}function rK(e,t){return t&&(nK(t)==="object"||typeof t=="function")?t:fS(e)}function bh(e,t){return bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bh(e,t)}function nK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iK(e){var t=oK();return function(){var n=wa(e),o;if(t){var i=wa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rK(this,o)}}var bn=function(e){tK(r,e);var t=iK(r);function r(n){eK(this,r);var o,i;return o=t.call(this,n),kr(fS(o),"props",void 0),o.props=new aS((i=n)===null||i===void 0?void 0:i.props),o}return r}(ve);kr(bn,"controlName","\u5217\u8868\u5355\u5143\u683C"),kr(bn,"controlType","gridtable-column"),kr(bn,"controlIcon","gridtable-column"),kr(bn,"childrenMaxLength",1),kr(bn,"excludes",[m.GRID_TABLE,m.GRID_TABLE_COLUMN,m.ROW,m.COL,m.CARD_GROUP,m.DIVIDER,m.TEXT]),kr(bn,"setting",[{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}]);function sS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $a(e){return $a=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$a(e)}function cK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gh(e,t)}function lK(e,t){return t&&(aK(t)==="object"||typeof t=="function")?t:sS(e)}function gh(e,t){return gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gh(e,t)}function aK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sK(e){var t=fK();return function(){var n=$a(e),o;if(t){var i=$a(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lK(this,o)}}var pK=function(e){cK(r,e);var t=sK(r);function r(n){uK(this,r);var o,i;return o=t.call(this,n),pS(sS(o),"props",void 0),o.props=new aS((i=n)===null||i===void 0?void 0:i.props),o}return r}(Er);pS(pK,"controlType","gridtable-column");function mh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _K(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _S(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pa(e){return Pa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pa(e)}function yK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Oh(e,t)}function dK(e,t){return t&&(vK(t)==="object"||typeof t=="function")?t:mh(e)}function Oh(e,t){return Oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Oh(e,t)}function vK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bK(e){var t=hK();return function(){var n=Pa(e),o;if(t){var i=Pa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dK(this,o)}}var gK=function(e){yK(r,e);var t=bK(r);function r(n){_K(this,r);var o,i,u;o=t.call(this,n),_S(mh(o),"childMinWidth",void 0),_S(mh(o),"colGap",void 0);var c;o.childMinWidth=(c=(i=n)===null||i===void 0?void 0:i.childMinWidth)!==null&&c!==void 0?c:230;var l;return o.colGap=(l=(u=n)===null||u===void 0?void 0:u.colGap)!==null&&l!==void 0?l:24,o}return r}(de);function yS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function OK(e,t,r){return t&&dS(e.prototype,t),r&&dS(e,r),e}function wh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ra(e){return Ra=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ra(e)}function 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&&$h(e,t)}function $K(e,t){return t&&(PK(t)==="object"||typeof t=="function")?t:yS(e)}function $h(e,t){return $h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$h(e,t)}function PK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SK(e){var t=RK();return function(){var n=Ra(e),o;if(t){var i=Ra(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $K(this,o)}}var vS=function(e){wK(r,e);var t=SK(r);function r(n){mK(this,r);var o,i;return o=t.call(this,n),wh(yS(o),"props",void 0),o.props=new gK((i=n)===null||i===void 0?void 0:i.props),o}return OK(r,null,[{key:"controlName",get:function(){return"\u6362\u884C\u5BB9\u5668"}},{key:"controlType",get:function(){return"grid-layout-container"}},{key:"controlIcon",get:function(){return"icona-huanhangrongqi1"}}]),r}(ve);wh(vS,"excludes",[m.GRID_LAYOUT_CONTAINER,m.CARD_GROUP,m.TAB]),wh(vS,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}]);function hS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TK(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sa(e){return Sa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sa(e)}function 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&&Ph(e,t)}function BK(e,t){return t&&(AK(t)==="object"||typeof t=="function")?t:hS(e)}function Ph(e,t){return Ph=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ph(e,t)}function AK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kK(e){var t=xK();return function(){var n=Sa(e),o;if(t){var i=Sa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BK(this,o)}}var DK=function(e){IK(r,e);var t=kK(r);function r(n){EK(this,r);var o,i;o=t.call(this,n),TK(hS(o),"mobileShowType",void 0);var u;return o.mobileShowType=(u=(i=n)===null||i===void 0?void 0:i.mobileShowType)!==null&&u!==void 0?u:"vertical",o}return r}(de);function Rh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ea(e){return Ea=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ea(e)}function gS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Eh(e,t)}function NK(e,t){return t&&(FK(t)==="object"||typeof t=="function")?t:Rh(e)}function Eh(e,t){return Eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eh(e,t)}function FK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mS(e){var t=jK();return function(){var n=Ea(e),o;if(t){var i=Ea(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return NK(this,o)}}var MK=function(e){gS(r,e);var t=mS(r);function r(n){bS(this,r);var o;return o=t.call(this,n),Sh(Rh(o),"caption",{type:"string",required:!0,message:$.getMessage("pleaseEnterCaption")}),o}return r}(le),OS=function(e){gS(r,e);var t=mS(r);function r(n){bS(this,r);var o,i;o=t.call(this,n),Sh(Rh(o),"caption",void 0);var u;return o.caption=(u=(i=n)===null||i===void 0?void 0:i.caption)!==null&&u!==void 0?u:xa.controlName,o}return r}(de);Sh(OS,"Rules",MK);function wS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $S(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function VK(e,t,r){return t&&$S(e.prototype,t),r&&$S(e,r),e}function Th(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ta(e){return Ta=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ta(e)}function CK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 zK(e,t){return t&&(HK(t)==="object"||typeof t=="function")?t:wS(e)}function Ih(e,t){return Ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ih(e,t)}function HK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UK(e){var t=qK();return function(){var n=Ta(e),o;if(t){var i=Ta(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zK(this,o)}}var Ia=function(e){CK(r,e);var t=UK(r);function r(n){LK(this,r);var o,i;return o=t.call(this,n),Th(wS(o),"props",void 0),o.props=new OS((i=n)===null||i===void 0?void 0:i.props),o}return VK(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u5355\u5143"}},{key:"controlType",get:function(){return"tab-pane"}},{key:"controlIcon",get:function(){return"tab-pane"}}]),r}(ve);Th(Ia,"excludes",[m.TAB]),Th(Ia,"setting",[{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE]},{key:"super-setting",visible:!0}]);function PS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function KK(e,t,r){return t&&RS(e.prototype,t),r&&RS(e,r),e}function Ba(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Aa(e){return Aa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Aa(e)}function GK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bh(e,t)}function XK(e,t){return t&&(JK(t)==="object"||typeof t=="function")?t:PS(e)}function Bh(e,t){return Bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bh(e,t)}function JK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZK(e){var t=QK();return function(){var n=Aa(e),o;if(t){var i=Aa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XK(this,o)}}var xa=function(e){GK(r,e);var t=ZK(r);function r(n){WK(this,r);var o,i,u;o=t.call(this,n),Ba(PS(o),"props",void 0),o.props=new DK((i=n)===null||i===void 0?void 0:i.props);var c;return o.children=(c=(u=n)===null||u===void 0?void 0:u.children)!==null&&c!==void 0?c:[new Ia,new Ia],o}return KK(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u9875"}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),r}(ve);Ba(xa,"excludes",[m.TAB]),Ba(xa,"controlEventKeys",["on_change_tab"]),Ba(xa,"setting",[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}]);function YK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ka(e){return ka=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ka(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&&Ah(e,t)}function rG(e,t){return t&&(nG(t)==="object"||typeof t=="function")?t:YK(e)}function Ah(e,t){return Ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ah(e,t)}function nG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iG(e){var t=oG();return function(){var n=ka(e),o;if(t){var i=ka(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rG(this,o)}}var uG=function(e){tG(r,e);var t=iG(r);function r(n){return eG(this,r),t.call(this,n)}return r}(de);function SS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ES(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function lG(e,t,r){return t&&ES(e.prototype,t),r&&ES(e,r),e}function TS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Da(e){return Da=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Da(e)}function aG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xh(e,t)}function fG(e,t){return t&&(sG(t)==="object"||typeof t=="function")?t:SS(e)}function xh(e,t){return xh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xh(e,t)}function sG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _G(e){var t=pG();return function(){var n=Da(e),o;if(t){var i=Da(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fG(this,o)}}var yG=function(e){aG(r,e);var t=_G(r);function r(n){cG(this,r);var o,i;return o=t.call(this,n),TS(SS(o),"props",void 0),o.props=new uG({}),o.children=((i=n)===null||i===void 0?void 0:i.children)||[new So({props:new Ro({span:12})}),new So({props:new Ro({span:12})})],o}return lG(r,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),r}(ve);TS(yG,"excludes",[m.GRID_ROW,m.ROW,m.GRID,m.SUBTABLE,m.TAB,m.TOOLBOX]);function ue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ce(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Na(e){return Na=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Na(e)}function Dh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nh(e,t)}function dG(e,t){return t&&(vG(t)==="object"||typeof t=="function")?t:ue(e)}function Nh(e,t){return Nh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nh(e,t)}function vG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fh(e){var t=hG();return function(){var n=Na(e),o;if(t){var i=Na(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dG(this,o)}}var Fa;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(Fa||(Fa={}));var bG=function(e){Dh(r,e);var t=Fh(r);function r(n){kh(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(Rr),gG=function(e){Dh(r,e);var t=Fh(r);function r(n){kh(this,r);var o;if(o=t.call(this,n),ce(ue(o),"triggerFieldCode",{type:"any"}),ce(ue(o),"datasourceBind",{type:"any"}),ce(ue(o),"joinRelation",[{type:"any"}]),console.log("--ListViewControlPropertyRules--"),n.triggerType===Fa.CLICK_CELL&&n.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:$.getMessage("pleaseEnterFieldCode")}),n.isShowJoinRelation&&(o.joinRelation=[{type:"object",message:$.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:$.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:$.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:$.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:$.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:$.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:$.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:$.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),Vs.call(ue(o),{optionConfig:"datasource",datasourceBind:n.datasourceBind,options:[]}),Array.isArray(o.datasourceBind)&&o.datasourceBind.length>1){var i=o.datasourceBind.find(function(u){return u.type==="object"&&u.fields});i&&(delete i.fields.valueFieldCode,delete i.fields.displayBoList)}return o}return r}(le),Eo=function(e){Dh(r,e);var t=Fh(r);function r(n){kh(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y,g,O;o=t.call(this,n),ce(ue(o),"datasourceBind",void 0),ce(ue(o),"isLoading",void 0),ce(ue(o),"isShowSubList",void 0),ce(ue(o),"triggerType",void 0),ce(ue(o),"triggerFieldCode",void 0),ce(ue(o),"sublistPage",void 0),ce(ue(o),"isShowJoinRelation",void 0),ce(ue(o),"joinRelation",void 0),ce(ue(o),"showType",void 0),ce(ue(o),"showFullScreen",void 0),ce(ue(o),"isFixedHeader",void 0),ce(ue(o),"selectionType",void 0),ce(ue(o),"isShowSelection",void 0),ce(ue(o),"isAllLoaded",void 0),ce(ue(o),"countType",void 0),o.datasourceBind=new se((i=n)===null||i===void 0?void 0:i.datasourceBind);var w;o.isLoading=(w=(u=n)===null||u===void 0?void 0:u.isLoading)!==null&&w!==void 0?w:!1;var P;o.isShowSubList=(P=(c=n)===null||c===void 0?void 0:c.isShowSubList)!==null&&P!==void 0?P:!1;var E;o.triggerType=(E=(l=n)===null||l===void 0?void 0:l.triggerType)!==null&&E!==void 0?E:Fa.CLICK_ROW;var T;o.triggerFieldCode=(T=(a=n)===null||a===void 0?void 0:a.triggerFieldCode)!==null&&T!==void 0?T:"",o.sublistPage=new V2((f=n)===null||f===void 0?void 0:f.sublistPage);var B;o.isShowJoinRelation=(B=(s=n)===null||s===void 0?void 0:s.isShowJoinRelation)!==null&&B!==void 0?B:!1,o.joinRelation=new z2((p=n)===null||p===void 0?void 0:p.joinRelation);var I;o.showType=(I=(_=n)===null||_===void 0?void 0:_.showType)!==null&&I!==void 0?I:"stretch";var A;o.showFullScreen=(A=(h=n)===null||h===void 0?void 0:h.showFullScreen)!==null&&A!==void 0?A:!1;var x;o.selectionType=(x=(d=n)===null||d===void 0?void 0:d.selectionType)!==null&&x!==void 0?x:"multiple";var k;o.isFixedHeader=(k=(b=n)===null||b===void 0?void 0:b.isFixedHeader)!==null&&k!==void 0?k:!1;var N;o.isShowSelection=(N=(y=n)===null||y===void 0?void 0:y.isShowSelection)!==null&&N!==void 0?N:!1;var D;return o.isAllLoaded=(D=(g=n)===null||g===void 0?void 0:g.isAllLoaded)!==null&&D!==void 0?D:!0,o.countType=(O=n)===null||O===void 0?void 0:O.countType,o}return r}(de);ce(Eo,"Rules",gG),ce(Eo,"RuntimeRules",bG);function IS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function OG(e,t,r){return t&&BS(e.prototype,t),r&&BS(e,r),e}function ja(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ma(e){return Ma=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ma(e)}function wG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jh(e,t)}function $G(e,t){return t&&(PG(t)==="object"||typeof t=="function")?t:IS(e)}function jh(e,t){return jh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jh(e,t)}function PG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SG(e){var t=RG();return function(){var n=Ma(e),o;if(t){var i=Ma(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $G(this,o)}}var La=function(e){wG(r,e);var t=SG(r);function r(n){mG(this,r);var o,i;return o=t.call(this,n),ja(IS(o),"props",void 0),o.props=new Eo((i=n)===null||i===void 0?void 0:i.props),o}return OG(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u5BB9\u5668"}},{key:"controlType",get:function(){return"list-view"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(ve);ja(La,"excludes",[m.ROW]),ja(La,"controlEventKeys",["on_list_search","on_list_mounted","on_list_actions","on_list_render_operation","on_list_rowclick","on_list_before_rowdelete","on_list_rows_checked"]),ja(La,"setting",[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"super-setting",visible:!0}]);function AS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function TG(e,t,r){return t&&xS(e.prototype,t),r&&xS(e,r),e}function IG(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Va(e){return Va=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Va(e)}function BG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mh(e,t)}function AG(e,t){return t&&(xG(t)==="object"||typeof t=="function")?t:AS(e)}function Mh(e,t){return Mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mh(e,t)}function xG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DG(e){var t=kG();return function(){var n=Va(e),o;if(t){var i=Va(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AG(this,o)}}var NG=function(e){BG(r,e);var t=DG(r);function r(n){EG(this,r);var o,i;return o=t.call(this,n),IG(AS(o),"props",void 0),o.props=new Eo((i=n)===null||i===void 0?void 0:i.props),o}return TG(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(Er),FG={Designer:La,Runtime:NG,Property:Eo};function br(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ca(e){return Ca=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ca(e)}function DS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 jG(e,t){return t&&(MG(t)==="object"||typeof t=="function")?t:br(e)}function Lh(e,t){return Lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lh(e,t)}function MG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NS(e){var t=LG();return function(){var n=Ca(e),o;if(t){var i=Ca(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jG(this,o)}}var VG=function(e){DS(r,e);var t=NS(r);function r(n){kS(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(Rr),za=function(e){DS(r,e);var t=NS(r);function r(n){kS(this,r);var o,i,u,c,l,a,f,s;o=t.call(this,n),gr(br(o),"save",void 0),gr(br(o),"cancel",void 0),gr(br(o),"saveAs",void 0),gr(br(o),"print",void 0),gr(br(o),"custom",void 0),gr(br(o),"isLoading",void 0),gr(br(o),"datasourceBind",void 0);var p;o.save=new tr((p=(i=n)===null||i===void 0?void 0:i.save)!==null&&p!==void 0?p:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var _;o.cancel=new tr((_=(u=n)===null||u===void 0?void 0:u.cancel)!==null&&_!==void 0?_:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var h;o.saveAs=new tr((h=(c=n)===null||c===void 0?void 0:c.saveAs)!==null&&h!==void 0?h:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1});var d;o.print=new tr((d=(l=n)===null||l===void 0?void 0:l.print)!==null&&d!==void 0?d:{content:"\u6253\u5370",type:"print",isShow:!1});var b;o.custom=((b=(a=n)===null||a===void 0?void 0:a.custom)!==null&&b!==void 0?b:[]).map(function(g){return new tr(g)});var y;return o.isLoading=(y=(f=n)===null||f===void 0?void 0:f.isLoading)!==null&&y!==void 0?y:!1,o.datasourceBind=new se((s=n)===null||s===void 0?void 0:s.datasourceBind),o}return r}(de);gr(za,"RuntimeRules",VG);function FS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zG(e,t,r){return t&&jS(e.prototype,t),r&&jS(e,r),e}function MS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ha(e){return Ha=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ha(e)}function HG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vh(e,t)}function qG(e,t){return t&&(UG(t)==="object"||typeof t=="function")?t:FS(e)}function Vh(e,t){return Vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vh(e,t)}function UG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KG(e){var t=WG();return function(){var n=Ha(e),o;if(t){var i=Ha(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qG(this,o)}}var LS=function(e){HG(r,e);var t=KG(r);function r(n){CG(this,r);var o,i;return o=t.call(this,n),MS(FS(o),"props",void 0),o.props=new za((i=n)===null||i===void 0?void 0:i.props),o}return zG(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(ve);MS(LS,"excludes",[]);function VS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function XG(e,t,r){return t&&CS(e.prototype,t),r&&CS(e,r),e}function JG(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qa(e){return qa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qa(e)}function QG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ch(e,t)}function ZG(e,t){return t&&(YG(t)==="object"||typeof t=="function")?t:VS(e)}function Ch(e,t){return Ch=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ch(e,t)}function YG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tX(e){var t=eX();return function(){var n=qa(e),o;if(t){var i=qa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZG(this,o)}}var rX=function(e){QG(r,e);var t=tX(r);function r(n){GG(this,r);var o,i;return o=t.call(this,n),JG(VS(o),"props",void 0),o.props=new za((i=n)===null||i===void 0?void 0:i.props),o}return XG(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(Er),nX={Designer:LS,Runtime:rX,Property:za};function Ua(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wa(e){return Wa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wa(e)}function iX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hh(e,t)}function uX(e,t){return t&&(cX(t)==="object"||typeof t=="function")?t:Ua(e)}function Hh(e,t){return Hh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hh(e,t)}function cX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aX(e){var t=lX();return function(){var n=Wa(e),o;if(t){var i=Wa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uX(this,o)}}var fX=function(e){iX(r,e);var t=aX(r);function r(n){oX(this,r);var o,i,u,c;o=t.call(this,n),zh(Ua(o),"position",void 0),zh(Ua(o),"opacity",void 0),zh(Ua(o),"align",void 0);var l;o.position=(l=(i=n)===null||i===void 0?void 0:i.position)!==null&&l!==void 0?l:"bottom";var a;o.opacity=(a=(u=n)===null||u===void 0?void 0:u.opacity)!==null&&a!==void 0?a:!0;var f;return o.align=(f=(c=n)===null||c===void 0?void 0:c.align)!==null&&f!==void 0?f:"right",o}return r}(de);function zS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pX(e,t,r){return t&&HS(e.prototype,t),r&&HS(e,r),e}function qh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ka(e){return Ka=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ka(e)}function _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&&Uh(e,t)}function yX(e,t){return t&&(dX(t)==="object"||typeof t=="function")?t:zS(e)}function Uh(e,t){return Uh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uh(e,t)}function dX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hX(e){var t=vX();return function(){var n=Ka(e),o;if(t){var i=Ka(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yX(this,o)}}var qS=function(e){_X(r,e);var t=hX(r);function r(n){sX(this,r);var o,i;o=t.call(this,n),qh(zS(o),"props",void 0);var u;return o.props=new fX((u=(i=n)===null||i===void 0?void 0:i.props)!==null&&u!==void 0?u:{}),o}return pX(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE\u64CD\u4F5C\u680F"}},{key:"controlType",get:function(){return"action-bar"}},{key:"controlIcon",get:function(){return"action-bar"}}]),r}(ve);qh(qS,"excludes",[]),qh(qS,"setting",[{key:"action-buttons",visible:!0},{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0}]);function L(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function j(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ga(e){return Ga=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ga(e)}function Kh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gh(e,t)}function bX(e,t){return t&&(gX(t)==="object"||typeof t=="function")?t:L(e)}function Gh(e,t){return Gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gh(e,t)}function gX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xh(e){var t=mX();return function(){var n=Ga(e),o;if(t){var i=Ga(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bX(this,o)}}var OX=function(e){Kh(r,e);var t=Xh(r);function r(n){Wh(this,r);var o;return o=t.call(this,n),j(L(o),"caption",{type:"string",required:!0,message:$.getMessage("pleaseEnterCaption")}),j(L(o),"limitRows",[{type:"number",required:!0,message:$.getMessage("isNotNumber")},{type:"number",min:0,message:$.getMessage("limitRowsCannotBeLessThan0")}]),j(L(o),"formKey",{type:"string",required:!1,message:$.getMessage("pleaseEnterForm")}),j(L(o),"maxHeight",{type:"number",required:!0,message:$.getMessage("pleaseEnterMaxHeight")}),j(L(o),"captionTip",{type:"string",required:!1,message:$.getMessage("pleaseEnterCaptionTip")}),j(L(o),"mobileRowCaption",{type:"string",required:!1,message:$.getMessage("pleaseEnterRowCaption")}),n.openType==="modal"&&(o.formKey.required=!0),n.isShowCaptionTip&&(o.captionTip.required=!0),n.mobileShowType==="tile"&&(o.mobileRowCaption.required=!0),o}return r}(le),wX=function(e){Kh(r,e);var t=Xh(r);function r(n){Wh(this,r);var o;return o=t.call(this,n),n.isHide||o.push({type:"array",required:n.limitRows>0,message:$.getMessage("runtimeRequired",{caption:n.caption})},{type:"array",validator:function(u,c,l){c.length<n.limitRows&&l($.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})),l()},message:$.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})}),o}return r}(Rr),Jh=function(e){Kh(r,e);var t=Xh(r);function r(n,o){Wh(this,r);var i,u,c,l,a,f,s,p,_,h,d,b,y,g,O,w,P,E,T,B,I,A,x,k,N,D,z,Y,ee,ne,oe;i=t.call(this,n,o),j(L(i),"caption",void 0),j(L(i),"labelPosition",void 0),j(L(i),"isHideCaption",void 0),j(L(i),"isShowCaptionTip",void 0),j(L(i),"captionTip",void 0),j(L(i),"defaultState",void 0),j(L(i),"limitRows",void 0),j(L(i),"maxRows",void 0),j(L(i),"defaultRows",void 0),j(L(i),"datasourceBind",void 0),j(L(i),"printMode",void 0),j(L(i),"openType",void 0),j(L(i),"formKey",void 0),j(L(i),"useCustomHeight",void 0),j(L(i),"maxHeight",void 0),j(L(i),"canAdd",void 0),j(L(i),"canDelete",void 0),j(L(i),"canCheck",void 0),j(L(i),"canEdit",void 0),j(L(i),"canImport",void 0),j(L(i),"canExport",void 0),j(L(i),"canClear",void 0),j(L(i),"isPaste",void 0),j(L(i),"mobileShowType",void 0),j(L(i),"mobileDefaultNum",void 0),j(L(i),"dataStorageDoc",void 0),j(L(i),"serverPagination",void 0),j(L(i),"fixedColumn",void 0),j(L(i),"mobileRowCaption",void 0),j(L(i),"mobileIsTile",void 0);var fe;i.caption=(fe=(u=o)===null||u===void 0?void 0:u.caption)!==null&&fe!==void 0?fe:eb.controlName;var Ze;i.isHideCaption=(Ze=(c=o)===null||c===void 0?void 0:c.isHideCaption)!==null&&Ze!==void 0?Ze:!1;var Fe;i.defaultState=(Fe=(l=o)===null||l===void 0?void 0:l.defaultState)!==null&&Fe!==void 0?Fe:"default";var Ot;i.labelPosition=(Ot=(a=o)===null||a===void 0?void 0:a.labelPosition)!==null&&Ot!==void 0?Ot:"top";var wt;i.openType=(wt=(f=o)===null||f===void 0?void 0:f.openType)!==null&&wt!==void 0?wt:"default";var $t;i.formKey=($t=(s=o)===null||s===void 0?void 0:s.formKey)!==null&&$t!==void 0?$t:"";var Qt;i.useCustomHeight=(Qt=(p=o)===null||p===void 0?void 0:p.useCustomHeight)!==null&&Qt!==void 0?Qt:!1;var Cr;i.maxHeight=(Cr=(_=o)===null||_===void 0?void 0:_.maxHeight)!==null&&Cr!==void 0?Cr:zD;var zr;i.printMode=(zr=(h=o)===null||h===void 0?void 0:h.printMode)!==null&&zr!==void 0?zr:"row";var jo;i.limitRows=(jo=(d=o)===null||d===void 0?void 0:d.limitRows)!==null&&jo!==void 0?jo:1;var Hr;i.maxRows=(Hr=(b=o)===null||b===void 0?void 0:b.maxRows)!==null&&Hr!==void 0?Hr:null;var V0;i.defaultRows=(V0=(y=o)===null||y===void 0?void 0:y.defaultRows)!==null&&V0!==void 0?V0:1,i.datasourceBind=new se((g=o)===null||g===void 0?void 0:g.datasourceBind);var C0;i.canAdd=(C0=(O=o)===null||O===void 0?void 0:O.canAdd)!==null&&C0!==void 0?C0:!0;var z0;i.canDelete=(z0=(w=o)===null||w===void 0?void 0:w.canDelete)!==null&&z0!==void 0?z0:!0;var H0;i.canCheck=(H0=(P=o)===null||P===void 0?void 0:P.canCheck)!==null&&H0!==void 0?H0:!1;var q0;i.canEdit=(q0=(E=o)===null||E===void 0?void 0:E.canEdit)!==null&&q0!==void 0?q0:!1;var U0;i.canImport=(U0=(T=o)===null||T===void 0?void 0:T.canImport)!==null&&U0!==void 0?U0:!1;var W0;i.canExport=(W0=(B=o)===null||B===void 0?void 0:B.canExport)!==null&&W0!==void 0?W0:!1;var K0;i.canClear=(K0=(I=o)===null||I===void 0?void 0:I.canClear)!==null&&K0!==void 0?K0:!0;var G0;i.serverPagination=(G0=(A=o)===null||A===void 0?void 0:A.serverPagination)!==null&&G0!==void 0?G0:!1;var X0;i.isShowCaptionTip=(X0=(x=o)===null||x===void 0?void 0:x.isShowCaptionTip)!==null&&X0!==void 0?X0:!1;var J0;i.captionTip=(J0=(k=o)===null||k===void 0?void 0:k.captionTip)!==null&&J0!==void 0?J0:"";var Q0;i.mobileShowType=(Q0=(N=o)===null||N===void 0?void 0:N.mobileShowType)!==null&&Q0!==void 0?Q0:"list";var Z0;i.mobileDefaultNum=(Z0=(D=o)===null||D===void 0?void 0:D.mobileDefaultNum)!==null&&Z0!==void 0?Z0:10;var Y0;i.dataStorageDoc=(Y0=(z=o)===null||z===void 0?void 0:z.dataStorageDoc)!==null&&Y0!==void 0?Y0:new F2;var eg;i.fixedColumn=(eg=(Y=o)===null||Y===void 0?void 0:Y.fixedColumn)!==null&&eg!==void 0?eg:[];var tg;i.mobileRowCaption=(tg=(ee=o)===null||ee===void 0?void 0:ee.mobileRowCaption)!==null&&tg!==void 0?tg:"\u660E\u7EC6";var rg;i.mobileIsTile=(rg=(ne=o)===null||ne===void 0?void 0:ne.mobileIsTile)!==null&&rg!==void 0?rg:!1;var ng;return i.isPaste=(ng=(oe=o)===null||oe===void 0?void 0:oe.isPaste)!==null&&ng!==void 0?ng:!1,i}return r}(Ys);j(Jh,"Rules",OX),j(Jh,"RuntimeRules",wX);function Qh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $X(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function US(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function PX(e,t,r){return t&&US(e.prototype,t),r&&US(e,r),e}function Zh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xa(e){return Xa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xa(e)}function 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&&Yh(e,t)}function SX(e,t){return t&&(EX(t)==="object"||typeof t=="function")?t:Qh(e)}function Yh(e,t){return Yh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yh(e,t)}function EX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IX(e){var t=TX();return function(){var n=Xa(e),o;if(t){var i=Xa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SX(this,o)}}var eb=function(e){RX(r,e);var t=IX(r);function r(n){$X(this,r);var o,i,u,c,l,a;return o=t.call(this,n),Zh(Qh(o),"props",void 0),o.props=new Jh(Qh(o),(i=n)===null||i===void 0?void 0:i.props),((c=n)===null||c===void 0||(u=c.props)===null||u===void 0?void 0:u.headers)===void 0&&(o.props.headers=[new ht,new ht,new ht]),((a=n)===null||a===void 0||(l=a.props)===null||l===void 0?void 0:l.footers)===void 0&&(o.props.footers=[]),o}return PX(r,[{key:"addColumn",value:function(o,i){var u=o!==void 0&&typeof o!="number"?o:new ht,c=typeof o=="number"?o:i;return c===void 0?this.props.headers.push(u):this.props.headers.splice(c,0,u),u}}],[{key:"controlName",get:function(){return"\u660E\u7EC6\u5B50\u8868"}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),r}(rp);Zh(eb,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),Zh(eb,"setting",[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE,v.IS_SHOW_CAPTION_TIP,v.IS_PASTE]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}]);function gn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function To(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ja(e){return Ja=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ja(e)}function AX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tb(e,t)}function xX(e,t){return t&&(kX(t)==="object"||typeof t=="function")?t:gn(e)}function tb(e,t){return tb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tb(e,t)}function kX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NX(e){var t=DX();return function(){var n=Ja(e),o;if(t){var i=Ja(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xX(this,o)}}var FX=function(e){AX(r,e);var t=NX(r);function r(n,o){BX(this,r);var i,u,c,l,a,f;i=t.call(this,n,o),To(gn(i),"isFixedHeader",void 0),To(gn(i),"selectionType",void 0),To(gn(i),"isShowToolbar",void 0),To(gn(i),"isShowSelection",void 0),To(gn(i),"isShowCustomColumns",void 0);var s;i.isFixedHeader=(s=(u=o)===null||u===void 0?void 0:u.isFixedHeader)!==null&&s!==void 0?s:!1,i.selectionType=(c=o)===null||c===void 0?void 0:c.selectionType;var p;i.isShowToolbar=(p=(l=o)===null||l===void 0?void 0:l.isShowToolbar)!==null&&p!==void 0?p:!0;var _;i.isShowSelection=(_=(a=o)===null||a===void 0?void 0:a.isShowSelection)!==null&&_!==void 0?_:!1;var h;return i.isShowCustomColumns=(h=(f=o)===null||f===void 0?void 0:f.isShowCustomColumns)!==null&&h!==void 0?h:!0,i}return r}(Ys);function jX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MX(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qa(e){return Qa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qa(e)}function 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&&rb(e,t)}function LX(e,t){return t&&(VX(t)==="object"||typeof t=="function")?t:jX(e)}function rb(e,t){return rb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rb(e,t)}function VX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GS(e){var t=CX();return function(){var n=Qa(e),o;if(t){var i=Qa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return LX(this,o)}}var zX=function(e){KS(r,e);var t=GS(r);function r(n){WS(this,r);var o;return o=t.call(this,n),o.caption.required=!1,o}return r}(jt),nb=function(e){KS(r,e);var t=GS(r);function r(n){WS(this,r);var o,i,u,c,l,a,f,s,p;o=t.call(this,n);var _;o.fixed=(_=(i=n)===null||i===void 0?void 0:i.fixed)!==null&&_!==void 0?_:"left";var h;o.caption=(h=(u=n)===null||u===void 0?void 0:u.caption)!==null&&h!==void 0?h:mn.controlName;var d;o.width=(d=(c=n)===null||c===void 0?void 0:c.width)!==null&&d!==void 0?d:60;var b;o.autoWidth.minWidth=(b=(a=n)===null||a===void 0||(l=a.autoWidth)===null||l===void 0?void 0:l.minWidth)!==null&&b!==void 0?b:60;var y;o.autoWidth.flex=(y=(s=n)===null||s===void 0||(f=s.autoWidth)===null||f===void 0?void 0:f.flex)!==null&&y!==void 0?y:.4;var g;return o.widthType=(g=(p=n)===null||p===void 0?void 0:p.widthType)!==null&&g!==void 0?g:"px",o}return r}(ie);MX(nb,"Rules",zX);function XS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Io(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Za(e){return Za=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Za(e)}function 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&&ob(e,t)}function UX(e,t){return t&&(WX(t)==="object"||typeof t=="function")?t:XS(e)}function ob(e,t){return ob=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ob(e,t)}function WX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GX(e){var t=KX();return function(){var n=Za(e),o;if(t){var i=Za(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return UX(this,o)}}var mn=function(e){qX(r,e);var t=GX(r);function r(n){HX(this,r);var o,i;return o=t.call(this,n),Io(XS(o),"props",void 0),o.props=new nb((i=n)===null||i===void 0?void 0:i.props),o}return r}(be);Io(mn,"controlType","order-column"),Io(mn,"controlName","\u5E8F\u53F7"),Io(mn,"controlIcon","order-column"),Io(mn,"setting",[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align",visible:!0}]);function JS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ib(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ya(e){return Ya=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ya(e)}function JX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ub(e,t)}function QX(e,t){return t&&(ZX(t)==="object"||typeof t=="function")?t:JS(e)}function ub(e,t){return ub=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ub(e,t)}function ZX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eJ(e){var t=YX();return function(){var n=Ya(e),o;if(t){var i=Ya(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QX(this,o)}}var QS=function(e){JX(r,e);var t=eJ(r);function r(n){XX(this,r);var o,i;return o=t.call(this,n),ib(JS(o),"props",void 0),o.props=new nb((i=n)===null||i===void 0?void 0:i.props),o}return r}(ge);ib(QS,"controlType","order-column"),ib(QS,"controlFieldType",S.DECIMAL);function cb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ef(e){return ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ef(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&&lb(e,t)}function nJ(e,t){return t&&(oJ(t)==="object"||typeof t=="function")?t:cb(e)}function lb(e,t){return lb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lb(e,t)}function oJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uJ(e){var t=iJ();return function(){var n=ef(e),o;if(t){var i=ef(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nJ(this,o)}}var YS=function(e){rJ(r,e);var t=uJ(r);function r(n){tJ(this,r);var o,i,u,c,l,a,f;o=t.call(this,n),ZS(cb(o),"showType",void 0),ZS(cb(o),"limit",void 0);var s;o.fixed=(s=(i=n)===null||i===void 0?void 0:i.fixed)!==null&&s!==void 0?s:"right",o.widthType="auto";var p;o.autoWidth.minWidth=(p=(c=n)===null||c===void 0||(u=c.autoWidth)===null||u===void 0?void 0:u.minWidth)!==null&&p!==void 0?p:84;var _;o.caption=(_=(l=n)===null||l===void 0?void 0:l.caption)!==null&&_!==void 0?_:wn.controlName;var h;o.showType=(h=(a=n)===null||a===void 0?void 0:a.showType)!==null&&h!==void 0?h:"icon";var d;return o.limit=(d=(f=n)===null||f===void 0?void 0:f.limit)!==null&&d!==void 0?d:3,o}return r}(ie);function tf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eE(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(a){r(a);return}c.done?t(l):Promise.resolve(l).then(n,o)}function cJ(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){eE(i,n,o,u,c,"next",l)}function c(l){eE(i,n,o,u,c,"throw",l)}u(void 0)})}}function lJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function aJ(e,t,r){return t&&tE(e.prototype,t),r&&tE(e,r),e}function Dr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function On(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?On=Reflect.get:On=function(o,i,u){var c=dJ(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},On(e,t,r||e)}function mr(e){return mr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mr(e)}function 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&&ab(e,t)}function sJ(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Dr(e,o,r[o])})}return e}function pJ(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function _J(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):pJ(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function yJ(e,t){return t&&(vJ(t)==="object"||typeof t=="function")?t:tf(e)}function ab(e,t){return ab=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ab(e,t)}function dJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=mr(e),e!==null););return e}function vJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bJ(e){var t=hJ();return function(){var n=mr(e),o;if(t){var i=mr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yJ(this,o)}}function gJ(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(a){return function(f){return l([a,f])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(f){a=[6,f],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var wn=function(e){fJ(r,e);var t=bJ(r);function r(n){lJ(this,r);var o,i,u;return o=t.call(this,n),Dr(tf(o),"props",void 0),Dr(tf(o),"children",void 0),o.props=new YS((i=n)===null||i===void 0?void 0:i.props),Ft(tf(o),"children",(u=n)===null||u===void 0?void 0:u.children),o}return aJ(r,[{key:"toDataBindModel",value:function(){var o=On(mr(r.prototype),"toDataBindModel",this).call(this);return this.children.map(function(i){if(i.type===gu.controlType){var u=i;o.props[u.props.command]=u.props}}),o}},{key:"toSchema",value:function(){var o=On(mr(r.prototype),"toSchema",this).call(this);return _J(sJ({},o),{children:this.children.map(function(i){return i.toSchema()})})}},{key:"validate",value:function(o,i){var u=this,c=this,l=function(){return On(mr(r.prototype),"validate",u)};return cJ(function(){return gJ(this,function(a){switch(a.label){case 0:return[4,l().call(c,o,i)];case 1:return a.sent(),[4,Promise.all(c.children.map(function(f){return f.validate(o,i)}))];case 2:return a.sent(),[2,!0]}})})()}}]),r}(be);Dr(wn,"controlType","operation-column"),Dr(wn,"controlName","\u64CD\u4F5C"),Dr(wn,"controlIcon","operation-column"),Dr(wn,"setting",[{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}]);function rf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function of(e){return of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},of(e)}function OJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fb(e,t)}function wJ(e,t){return t&&($J(t)==="object"||typeof t=="function")?t:rf(e)}function fb(e,t){return fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fb(e,t)}function $J(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RJ(e){var t=PJ();return function(){var n=of(e),o;if(t){var i=of(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wJ(this,o)}}var rE=function(e){OJ(r,e);var t=RJ(r);function r(n){mJ(this,r);var o,i,u;return o=t.call(this,n),nf(rf(o),"props",void 0),nf(rf(o),"children",void 0),o.props=new YS((i=n)===null||i===void 0?void 0:i.props),Ft(rf(o),"children",(u=n)===null||u===void 0?void 0:u.children),o}return r}(ge);nf(rE,"controlType","operation-column"),nf(rE,"controlFieldType",S.FILE);function Bo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nE(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(a){r(a);return}c.done?t(l):Promise.resolve(l).then(n,o)}function SJ(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){nE(i,n,o,u,c,"next",l)}function c(l){nE(i,n,o,u,c,"throw",l)}u(void 0)})}}function EJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function TJ(e,t,r){return t&&oE(e.prototype,t),r&&oE(e,r),e}function uf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ao(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ao=Reflect.get:Ao=function(o,i,u){var c=DJ(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Ao(e,t,r||e)}function Nr(e){return Nr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nr(e)}function IJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sb(e,t)}function BJ(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){uf(e,o,r[o])})}return e}function AJ(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function xJ(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):AJ(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function kJ(e,t){return t&&(NJ(t)==="object"||typeof t=="function")?t:Bo(e)}function sb(e,t){return sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sb(e,t)}function DJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Nr(e),e!==null););return e}function NJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jJ(e){var t=FJ();return function(){var n=Nr(e),o;if(t){var i=Nr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kJ(this,o)}}function MJ(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(a){return function(f){return l([a,f])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(f){a=[6,f],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var LJ=function(e){IJ(r,e);var t=jJ(r);function r(n){EJ(this,r);var o,i,u,c,l,a;return o=t.call(this,n),uf(Bo(o),"props",void 0),uf(Bo(o),"children",void 0),o.props=new FX(Bo(o),(i=n)===null||i===void 0?void 0:i.props),Ft(Bo(o),"children",(u=n)===null||u===void 0?void 0:u.children),((c=n)===null||c===void 0?void 0:c.props.headers)===void 0&&(o.props.headers=[new mn,new wn]),((a=n)===null||a===void 0||(l=a.props)===null||l===void 0?void 0:l.footers)===void 0&&(o.props.footers=[]),o}return TJ(r,[{key:"toSchema",value:function(){var o=Ao(Nr(r.prototype),"toSchema",this).call(this),i=this.children.map(function(u){return u.toSchema()});return xJ(BJ({},o),{children:i})}},{key:"validate",value:function(o,i){var u=this,c=this,l=function(){return Ao(Nr(r.prototype),"validate",u)};return SJ(function(){return MJ(this,function(a){switch(a.label){case 0:return[4,l().call(c,o,i)];case 1:return a.sent(),[4,Promise.all(c.children.map(function(f){return f.validate(o,i)}))];case 2:return a.sent(),[2,!0]}})})()}}],[{key:"controlName",get:function(){return"\u8868\u683C"}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),r}(rp);uf(LJ,"setting",[{key:"list-fixed-header",visible:!0}]);function Or(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cf(e){return cf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cf(e)}function uE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pb(e,t)}function VJ(e,t){return t&&(CJ(t)==="object"||typeof t=="function")?t:Or(e)}function pb(e,t){return pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pb(e,t)}function CJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cE(e){var t=zJ();return function(){var n=cf(e),o;if(t){var i=cf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VJ(this,o)}}var HJ=function(e){uE(r,e);var t=cE(r);function r(n){iE(this,r);var o;return o=t.call(this,n),Tr.call(Or(o),n),o}return r}(fm),_b=function(e){uE(r,e);var t=cE(r);function r(n){iE(this,r);var o,i,u,c,l,a,f,s;o=t.call(this,n),Fr(Or(o),"optionConfig",void 0),Fr(Or(o),"datasourceBind",void 0),Fr(Or(o),"showLinkOperation",void 0),Fr(Or(o),"linkOperationOption",void 0),Fr(Or(o),"options",void 0),Fr(Or(o),"lineEllipsis",void 0);var p;o.caption=(p=(i=n)===null||i===void 0?void 0:i.caption)!==null&&p!==void 0?p:Pn.controlName;var _;o.optionConfig=(_=(u=n)===null||u===void 0?void 0:u.optionConfig)!==null&&_!==void 0?_:"none",o.datasourceBind=new se((c=n)===null||c===void 0?void 0:c.datasourceBind);var h;o.options=Nt((h=(l=n)===null||l===void 0?void 0:l.options)!==null&&h!==void 0?h:[{}]);var d;o.showLinkOperation=(d=(a=n)===null||a===void 0?void 0:a.showLinkOperation)!==null&&d!==void 0?d:!1,o.linkOperationOption=new er((f=n)===null||f===void 0?void 0:f.linkOperationOption);var b;return o.lineEllipsis=(b=(s=n)===null||s===void 0?void 0:s.lineEllipsis)!==null&&b!==void 0?b:1,o}return r}(ie);Fr(_b,"Rules",HJ);function lE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lf(e){return lf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lf(e)}function UJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yb(e,t)}function WJ(e,t){return t&&(KJ(t)==="object"||typeof t=="function")?t:lE(e)}function yb(e,t){return yb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yb(e,t)}function KJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XJ(e){var t=GJ();return function(){var n=lf(e),o;if(t){var i=lf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WJ(this,o)}}var Pn=function(e){UJ(r,e);var t=XJ(r);function r(n){qJ(this,r);var o,i;return o=t.call(this,n),$n(lE(o),"props",void 0),o.props=new _b((i=n)===null||i===void 0?void 0:i.props),o}return r}(be);$n(Pn,"controlType","varchar-column"),$n(Pn,"controlName","\u77ED\u6587\u672C"),$n(Pn,"controlIcon","varchar-column"),$n(Pn,"controlFieldType",S.VARCHAR),$n(Pn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}]);function aE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function db(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function af(e){return af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},af(e)}function QJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vb(e,t)}function ZJ(e,t){return t&&(YJ(t)==="object"||typeof t=="function")?t:aE(e)}function vb(e,t){return vb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vb(e,t)}function YJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tQ(e){var t=eQ();return function(){var n=af(e),o;if(t){var i=af(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZJ(this,o)}}var fE=function(e){QJ(r,e);var t=tQ(r);function r(n){JJ(this,r);var o,i;return o=t.call(this,n),db(aE(o),"props",void 0),o.props=new _b((i=n)===null||i===void 0?void 0:i.props),o}return r}(ge);db(fE,"controlType","varchar-column"),db(fE,"controlFieldType",S.VARCHAR);function Rn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ff(e){return ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ff(e)}function pE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hb(e,t)}function rQ(e,t){return t&&(nQ(t)==="object"||typeof t=="function")?t:Rn(e)}function hb(e,t){return hb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hb(e,t)}function nQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _E(e){var t=oQ();return function(){var n=ff(e),o;if(t){var i=ff(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rQ(this,o)}}var iQ=function(e){pE(r,e);var t=_E(r);function r(n){sE(this,r);var o;return o=t.call(this,n),Tr.call(Rn(o),n),o}return r}(jt),bb=function(e){pE(r,e);var t=_E(r);function r(n){sE(this,r);var o,i,u,c,l,a;o=t.call(this,n),xo(Rn(o),"escapeHTML",void 0),xo(Rn(o),"showLinkOperation",void 0),xo(Rn(o),"linkOperationOption",void 0),xo(Rn(o),"lineEllipsis",void 0);var f;o.escapeHTML=(f=(i=n)===null||i===void 0?void 0:i.escapeHTML)!==null&&f!==void 0?f:!0;var s;o.caption=(s=(u=n)===null||u===void 0?void 0:u.caption)!==null&&s!==void 0?s:Tn.controlName;var p;o.lineEllipsis=(p=(c=n)===null||c===void 0?void 0:c.lineEllipsis)!==null&&p!==void 0?p:1;var _;return o.showLinkOperation=(_=(l=n)===null||l===void 0?void 0:l.showLinkOperation)!==null&&_!==void 0?_:!1,o.linkOperationOption=new er((a=n)===null||a===void 0?void 0:a.linkOperationOption),o}return r}(ie);xo(bb,"Rules",iQ);function yE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cQ(e,t,r){return t&&dE(e.prototype,t),r&&dE(e,r),e}function Sn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?sf=Reflect.get:sf=function(o,i,u){var c=fQ(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},sf(e,t,r||e)}function En(e){return En=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},En(e)}function lQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gb(e,t)}function aQ(e,t){return t&&(sQ(t)==="object"||typeof t=="function")?t:yE(e)}function gb(e,t){return gb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gb(e,t)}function fQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=En(e),e!==null););return e}function sQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _Q(e){var t=pQ();return function(){var n=En(e),o;if(t){var i=En(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aQ(this,o)}}var Tn=function(e){lQ(r,e);var t=_Q(r);function r(n){uQ(this,r);var o,i;return o=t.call(this,n),Sn(yE(o),"props",void 0),o.props=new bb((i=n)===null||i===void 0?void 0:i.props),o}return cQ(r,[{key:"toDataBindModel",value:function(o){var i=sf(En(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.escapeHTML;i.props.escapeHTML=u}return i}}]),r}(be);Sn(Tn,"controlType","text-column"),Sn(Tn,"controlName","\u957F\u6587\u672C"),Sn(Tn,"controlIcon","text-column"),Sn(Tn,"controlFieldType",S.TEXT),Sn(Tn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}]);function vE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pf(e){return pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pf(e)}function dQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ob(e,t)}function vQ(e,t){return t&&(hQ(t)==="object"||typeof t=="function")?t:vE(e)}function Ob(e,t){return Ob=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ob(e,t)}function hQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gQ(e){var t=bQ();return function(){var n=pf(e),o;if(t){var i=pf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vQ(this,o)}}var hE=function(e){dQ(r,e);var t=gQ(r);function r(n){yQ(this,r);var o,i;return o=t.call(this,n),mb(vE(o),"props",void 0),o.props=new bb((i=n)===null||i===void 0?void 0:i.props),o}return r}(ge);mb(hE,"controlType","text-column"),mb(hE,"controlFieldType",S.TEXT);function kt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _f(e){return _f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_f(e)}function gE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wb(e,t)}function mQ(e,t){return t&&(OQ(t)==="object"||typeof t=="function")?t:kt(e)}function wb(e,t){return wb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wb(e,t)}function OQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mE(e){var t=wQ();return function(){var n=_f(e),o;if(t){var i=_f(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mQ(this,o)}}var $Q=function(e){gE(r,e);var t=mE(r);function r(n){bE(this,r);var o;return o=t.call(this,n),Tr.call(kt(o),n),o}return r}(jt),$b=function(e){gE(r,e);var t=mE(r);function r(n){bE(this,r);var o,i,u,c,l,a,f,s,p,_;o=t.call(this,n),Jt(kt(o),"optionConfig",void 0),Jt(kt(o),"datasourceBind",void 0),Jt(kt(o),"showLinkOperation",void 0),Jt(kt(o),"linkOperationOption",void 0),Jt(kt(o),"options",void 0),Jt(kt(o),"precision",void 0),Jt(kt(o),"micrometer",void 0),Jt(kt(o),"percentageFormat",void 0);var h;o.caption=(h=(i=n)===null||i===void 0?void 0:i.caption)!==null&&h!==void 0?h:An.controlName;var d;o.precision=(d=(u=n)===null||u===void 0?void 0:u.precision)!==null&&d!==void 0?d:0;var b;o.micrometer=(b=(c=n)===null||c===void 0?void 0:c.micrometer)!==null&&b!==void 0?b:!1;var y;o.percentageFormat=(y=(l=n)===null||l===void 0?void 0:l.percentageFormat)!==null&&y!==void 0?y:!1;var g;o.optionConfig=(g=(a=n)===null||a===void 0?void 0:a.optionConfig)!==null&&g!==void 0?g:"none",o.datasourceBind=new se((f=n)===null||f===void 0?void 0:f.datasourceBind);var O;o.options=Nt((O=(s=n)===null||s===void 0?void 0:s.options)!==null&&O!==void 0?O:[{}]);var w;return o.showLinkOperation=(w=(p=n)===null||p===void 0?void 0:p.showLinkOperation)!==null&&w!==void 0?w:!1,o.linkOperationOption=new er((_=n)===null||_===void 0?void 0:_.linkOperationOption),o}return r}(ie);Jt($b,"Rules",$Q);function OE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function RQ(e,t,r){return t&&wE(e.prototype,t),r&&wE(e,r),e}function In(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?yf=Reflect.get:yf=function(o,i,u){var c=TQ(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},yf(e,t,r||e)}function Bn(e){return Bn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bn(e)}function SQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pb(e,t)}function EQ(e,t){return t&&(IQ(t)==="object"||typeof t=="function")?t:OE(e)}function Pb(e,t){return Pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pb(e,t)}function TQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Bn(e),e!==null););return e}function IQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AQ(e){var t=BQ();return function(){var n=Bn(e),o;if(t){var i=Bn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return EQ(this,o)}}var An=function(e){SQ(r,e);var t=AQ(r);function r(n){PQ(this,r);var o,i;return o=t.call(this,n),In(OE(o),"props",void 0),o.props=new $b((i=n)===null||i===void 0?void 0:i.props),o}return RQ(r,[{key:"toDataBindModel",value:function(o){var i=yf(Bn(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props,c=u.precision,l=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=l}return i}}]),r}(be);In(An,"controlType","decimal-column"),In(An,"controlName","\u6570\u503C"),In(An,"controlIcon","decimal-column"),In(An,"controlFieldType",S.DECIMAL),In(An,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"number-suite",showItems:[v.MICROMETER,v.PRECISION,v.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",visible:!0}]);function $E(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function df(e){return df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},df(e)}function kQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sb(e,t)}function DQ(e,t){return t&&(NQ(t)==="object"||typeof t=="function")?t:$E(e)}function Sb(e,t){return Sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sb(e,t)}function NQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jQ(e){var t=FQ();return function(){var n=df(e),o;if(t){var i=df(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DQ(this,o)}}var PE=function(e){kQ(r,e);var t=jQ(r);function r(n){xQ(this,r);var o,i;return o=t.call(this,n),Rb($E(o),"props",void 0),o.props=new $b((i=n)===null||i===void 0?void 0:i.props),o}return r}(ge);Rb(PE,"controlType","decimal-column"),Rb(PE,"controlFieldType",S.DECIMAL);function ko(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hf(e){return hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hf(e)}function 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&&Eb(e,t)}function MQ(e,t){return t&&(LQ(t)==="object"||typeof t=="function")?t:ko(e)}function Eb(e,t){return Eb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eb(e,t)}function LQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EE(e){var t=VQ();return function(){var n=hf(e),o;if(t){var i=hf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return MQ(this,o)}}var CQ=function(e){SE(r,e);var t=EE(r);function r(n){RE(this,r);var o;return o=t.call(this,n),Tr.call(ko(o),n),o}return r}(jt),Tb=function(e){SE(r,e);var t=EE(r);function r(n){RE(this,r);var o,i,u,c,l;o=t.call(this,n),vf(ko(o),"dateType",void 0),vf(ko(o),"showLinkOperation",void 0),vf(ko(o),"linkOperationOption",void 0);var a;o.dateType=(a=(i=n)===null||i===void 0?void 0:i.dateType)!==null&&a!==void 0?a:Zt.DATE;var f;o.showLinkOperation=(f=(u=n)===null||u===void 0?void 0:u.showLinkOperation)!==null&&f!==void 0?f:!1,o.linkOperationOption=new er((c=n)===null||c===void 0?void 0:c.linkOperationOption);var s;return o.caption=(s=(l=n)===null||l===void 0?void 0:l.caption)!==null&&s!==void 0?s:Dn.controlName,o}return r}(ie);vf(Tb,"Rules",CQ);function TE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function HQ(e,t,r){return t&&IE(e.prototype,t),r&&IE(e,r),e}function xn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?bf=Reflect.get:bf=function(o,i,u){var c=WQ(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},bf(e,t,r||e)}function kn(e){return kn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kn(e)}function qQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ib(e,t)}function UQ(e,t){return t&&(KQ(t)==="object"||typeof t=="function")?t:TE(e)}function Ib(e,t){return Ib=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ib(e,t)}function WQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=kn(e),e!==null););return e}function KQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XQ(e){var t=GQ();return function(){var n=kn(e),o;if(t){var i=kn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return UQ(this,o)}}var Dn=function(e){qQ(r,e);var t=XQ(r);function r(n){zQ(this,r);var o,i;return o=t.call(this,n),xn(TE(o),"props",void 0),o.props=new Tb((i=n)===null||i===void 0?void 0:i.props),o}return HQ(r,[{key:"toDataBindModel",value:function(o){var i=bf(kn(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(be);xn(Dn,"controlType","timescope-column"),xn(Dn,"controlName","\u65E5\u671F\u533A\u95F4"),xn(Dn,"controlIcon","timescope-column"),xn(Dn,"controlFieldType",S.TIMESCOPE),xn(Dn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}]);function BE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gf(e){return gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gf(e)}function QQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ab(e,t)}function ZQ(e,t){return t&&(YQ(t)==="object"||typeof t=="function")?t:BE(e)}function Ab(e,t){return Ab=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ab(e,t)}function YQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tZ(e){var t=eZ();return function(){var n=gf(e),o;if(t){var i=gf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZQ(this,o)}}var AE=function(e){QQ(r,e);var t=tZ(r);function r(n){JQ(this,r);var o,i;return o=t.call(this,n),Bb(BE(o),"props",void 0),o.props=new Tb((i=n)===null||i===void 0?void 0:i.props),o}return r}(ge);Bb(AE,"controlType","timescope-column"),Bb(AE,"controlFieldType",S.TIMESCOPE);function Do(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Of(e){return Of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Of(e)}function 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&&xb(e,t)}function rZ(e,t){return t&&(nZ(t)==="object"||typeof t=="function")?t:Do(e)}function xb(e,t){return xb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xb(e,t)}function nZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DE(e){var t=oZ();return function(){var n=Of(e),o;if(t){var i=Of(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rZ(this,o)}}var iZ=function(e){kE(r,e);var t=DE(r);function r(n){xE(this,r);var o;return o=t.call(this,n),Tr.call(Do(o),n),o}return r}(jt),kb=function(e){kE(r,e);var t=DE(r);function r(n){xE(this,r);var o,i,u,c,l;o=t.call(this,n),mf(Do(o),"dateType",void 0),mf(Do(o),"showLinkOperation",void 0),mf(Do(o),"linkOperationOption",void 0);var a;o.dateType=(a=(i=n)===null||i===void 0?void 0:i.dateType)!==null&&a!==void 0?a:Zt.DATE;var f;o.showLinkOperation=(f=(u=n)===null||u===void 0?void 0:u.showLinkOperation)!==null&&f!==void 0?f:!1,o.linkOperationOption=new er((c=n)===null||c===void 0?void 0:c.linkOperationOption);var s;return o.caption=(s=(l=n)===null||l===void 0?void 0:l.caption)!==null&&s!==void 0?s:jn.controlName,o}return r}(ie);mf(kb,"Rules",iZ);function NE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cZ(e,t,r){return t&&FE(e.prototype,t),r&&FE(e,r),e}function Nn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?wf=Reflect.get:wf=function(o,i,u){var c=fZ(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},wf(e,t,r||e)}function Fn(e){return Fn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fn(e)}function lZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Db(e,t)}function aZ(e,t){return t&&(sZ(t)==="object"||typeof t=="function")?t:NE(e)}function Db(e,t){return Db=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Db(e,t)}function fZ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Fn(e),e!==null););return e}function sZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _Z(e){var t=pZ();return function(){var n=Fn(e),o;if(t){var i=Fn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aZ(this,o)}}var jn=function(e){lZ(r,e);var t=_Z(r);function r(n){uZ(this,r);var o,i;return o=t.call(this,n),Nn(NE(o),"props",void 0),o.props=new kb((i=n)===null||i===void 0?void 0:i.props),o}return cZ(r,[{key:"toDataBindModel",value:function(o){var i=wf(Fn(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(be);Nn(jn,"controlType","timestamp-column"),Nn(jn,"controlName","\u65E5\u671F"),Nn(jn,"controlIcon","timestamp-column"),Nn(jn,"controlFieldType",S.TIMESTAMP),Nn(jn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}]);function jE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $f(e){return $f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$f(e)}function dZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fb(e,t)}function vZ(e,t){return t&&(hZ(t)==="object"||typeof t=="function")?t:jE(e)}function Fb(e,t){return Fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fb(e,t)}function hZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gZ(e){var t=bZ();return function(){var n=$f(e),o;if(t){var i=$f(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vZ(this,o)}}var ME=function(e){dZ(r,e);var t=gZ(r);function r(n){yZ(this,r);var o,i;return o=t.call(this,n),Nb(jE(o),"props",void 0),o.props=new kb((i=n)===null||i===void 0?void 0:i.props),o}return r}(ge);Nb(ME,"controlType","timestamp-column"),Nb(ME,"controlFieldType",S.TIMESTAMP);function Pf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sf(e){return Sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sf(e)}function VE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jb(e,t)}function mZ(e,t){return t&&(OZ(t)==="object"||typeof t=="function")?t:Pf(e)}function jb(e,t){return jb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jb(e,t)}function OZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CE(e){var t=wZ();return function(){var n=Sf(e),o;if(t){var i=Sf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mZ(this,o)}}var $Z=function(e){VE(r,e);var t=CE(r);function r(n){return LE(this,r),t.call(this,n)}return r}(fm),Mb=function(e){VE(r,e);var t=CE(r);function r(n){LE(this,r);var o,i,u,c,l;o=t.call(this,n),Rf(Pf(o),"optionConfig",void 0),Rf(Pf(o),"datasourceBind",void 0),Rf(Pf(o),"options",void 0);var a;o.caption=(a=(i=n)===null||i===void 0?void 0:i.caption)!==null&&a!==void 0?a:Ln.controlName;var f;o.optionConfig=(f=(u=n)===null||u===void 0?void 0:u.optionConfig)!==null&&f!==void 0?f:"none",o.datasourceBind=new se((c=n)===null||c===void 0?void 0:c.datasourceBind);var s;return o.options=Nt((s=(l=n)===null||l===void 0?void 0:l.options)!==null&&s!==void 0?s:[{}]),o}return r}(ie);Rf(Mb,"Rules",$Z);function zE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ef(e){return Ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ef(e)}function RZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lb(e,t)}function SZ(e,t){return t&&(EZ(t)==="object"||typeof t=="function")?t:zE(e)}function Lb(e,t){return Lb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lb(e,t)}function EZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IZ(e){var t=TZ();return function(){var n=Ef(e),o;if(t){var i=Ef(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SZ(this,o)}}var Ln=function(e){RZ(r,e);var t=IZ(r);function r(n){PZ(this,r);var o,i;return o=t.call(this,n),Mn(zE(o),"props",void 0),o.props=new Mb((i=n)===null||i===void 0?void 0:i.props),o}return r}(be);Mn(Ln,"controlType","array-column"),Mn(Ln,"controlName","\u6570\u7EC4"),Mn(Ln,"controlIcon","array-column"),Mn(Ln,"controlFieldType",S.ARRAY),Mn(Ln,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}]);function HE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tf(e){return Tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tf(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&&Cb(e,t)}function xZ(e,t){return t&&(kZ(t)==="object"||typeof t=="function")?t:HE(e)}function Cb(e,t){return Cb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cb(e,t)}function kZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NZ(e){var t=DZ();return function(){var n=Tf(e),o;if(t){var i=Tf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xZ(this,o)}}var qE=function(e){AZ(r,e);var t=NZ(r);function r(n){BZ(this,r);var o,i;return o=t.call(this,n),Vb(HE(o),"props",void 0),o.props=new Mb((i=n)===null||i===void 0?void 0:i.props),o}return r}(ge);Vb(qE,"controlType","array-column"),Vb(qE,"controlFieldType",S.ARRAY);function UE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jZ(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function If(e){return If=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},If(e)}function MZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zb(e,t)}function LZ(e,t){return t&&(VZ(t)==="object"||typeof t=="function")?t:UE(e)}function zb(e,t){return zb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zb(e,t)}function VZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zZ(e){var t=CZ();return function(){var n=If(e),o;if(t){var i=If(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return LZ(this,o)}}var WE=function(e){MZ(r,e);var t=zZ(r);function r(n){FZ(this,r);var o,i,u;o=t.call(this,n),jZ(UE(o),"displayLevel",void 0);var c;o.caption=(c=(i=n)===null||i===void 0?void 0:i.caption)!==null&&c!==void 0?c:zn.controlName;var l;return o.displayLevel=(l=(u=n)===null||u===void 0?void 0:u.displayLevel)!==null&&l!==void 0?l:1,o}return r}(ie);function KE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qZ(e,t,r){return t&&GE(e.prototype,t),r&&GE(e,r),e}function Vn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Bf=Reflect.get:Bf=function(o,i,u){var c=KZ(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Bf(e,t,r||e)}function Cn(e){return Cn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cn(e)}function UZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hb(e,t)}function WZ(e,t){return t&&(GZ(t)==="object"||typeof t=="function")?t:KE(e)}function Hb(e,t){return Hb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hb(e,t)}function KZ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Cn(e),e!==null););return e}function GZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JZ(e){var t=XZ();return function(){var n=Cn(e),o;if(t){var i=Cn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WZ(this,o)}}var zn=function(e){UZ(r,e);var t=JZ(r);function r(n){HZ(this,r);var o,i;return o=t.call(this,n),Vn(KE(o),"props",void 0),o.props=new WE((i=n)===null||i===void 0?void 0:i.props),o}return qZ(r,[{key:"toDataBindModel",value:function(o){var i=Bf(Cn(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.displayLevel;i.props.displayLevel=u}return i}}]),r}(be);Vn(zn,"controlType","department-column"),Vn(zn,"controlName","\u90E8\u95E8"),Vn(zn,"controlIcon","department-column"),Vn(zn,"controlFieldType",S.DEPARTMENTS),Vn(zn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}]);function XE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Af(e){return Af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Af(e)}function ZZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ub(e,t)}function YZ(e,t){return t&&(eY(t)==="object"||typeof t=="function")?t:XE(e)}function Ub(e,t){return Ub=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ub(e,t)}function eY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rY(e){var t=tY();return function(){var n=Af(e),o;if(t){var i=Af(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YZ(this,o)}}var JE=function(e){ZZ(r,e);var t=rY(r);function r(n){QZ(this,r);var o,i;return o=t.call(this,n),qb(XE(o),"props",void 0),o.props=new WE((i=n)===null||i===void 0?void 0:i.props),o}return r}(ge);qb(JE,"controlType","department-column"),qb(JE,"controlFieldType",S.DEPARTMENTS);function xf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kf(e){return kf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kf(e)}function ZE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kb(e,t)}function nY(e,t){return t&&(oY(t)==="object"||typeof t=="function")?t:xf(e)}function Kb(e,t){return Kb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kb(e,t)}function oY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YE(e){var t=iY();return function(){var n=kf(e),o;if(t){var i=kf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nY(this,o)}}var uY=function(e){ZE(r,e);var t=YE(r);function r(n){QE(this,r);var o;return o=t.call(this,n),Tr.call(xf(o),n),o}return r}(jt),Gb=function(e){ZE(r,e);var t=YE(r);function r(n){QE(this,r);var o,i,u,c;o=t.call(this,n),Wb(xf(o),"showLinkOperation",void 0),Wb(xf(o),"linkOperationOption",void 0);var l;o.caption=(l=(i=n)===null||i===void 0?void 0:i.caption)!==null&&l!==void 0?l:qn.controlName;var a;return o.showLinkOperation=(a=(u=n)===null||u===void 0?void 0:u.showLinkOperation)!==null&&a!==void 0?a:!1,o.linkOperationOption=new er((c=n)===null||c===void 0?void 0:c.linkOperationOption),o}return r}(ie);Wb(Gb,"Rules",uY);function eT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Df(e){return Df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Df(e)}function lY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xb(e,t)}function aY(e,t){return t&&(fY(t)==="object"||typeof t=="function")?t:eT(e)}function Xb(e,t){return Xb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xb(e,t)}function fY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pY(e){var t=sY();return function(){var n=Df(e),o;if(t){var i=Df(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aY(this,o)}}var qn=function(e){lY(r,e);var t=pY(r);function r(n){cY(this,r);var o,i;return o=t.call(this,n),Hn(eT(o),"props",void 0),o.props=new Gb((i=n)===null||i===void 0?void 0:i.props),o}return r}(be);Hn(qn,"controlType","auto-number-column"),Hn(qn,"controlName","\u81EA\u52A8\u7F16\u53F7"),Hn(qn,"controlIcon","auto-number-column"),Hn(qn,"controlFieldType",S.AUTO_NUMBER),Hn(qn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function tT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _Y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nf(e){return Nf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nf(e)}function 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&&Qb(e,t)}function dY(e,t){return t&&(vY(t)==="object"||typeof t=="function")?t:tT(e)}function Qb(e,t){return Qb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qb(e,t)}function vY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bY(e){var t=hY();return function(){var n=Nf(e),o;if(t){var i=Nf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dY(this,o)}}var rT=function(e){yY(r,e);var t=bY(r);function r(n){_Y(this,r);var o,i;return o=t.call(this,n),Jb(tT(o),"props",void 0),o.props=new Gb((i=n)===null||i===void 0?void 0:i.props),o}return r}(ge);Jb(rT,"controlType","auto-number-column"),Jb(rT,"controlFieldType",S.AUTO_NUMBER);function gY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ff(e){return Ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ff(e)}function OY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zb(e,t)}function wY(e,t){return t&&($Y(t)==="object"||typeof t=="function")?t:gY(e)}function Zb(e,t){return Zb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zb(e,t)}function $Y(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RY(e){var t=PY();return function(){var n=Ff(e),o;if(t){var i=Ff(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wY(this,o)}}var nT=function(e){OY(r,e);var t=RY(r);function r(n){mY(this,r);var o,i;o=t.call(this,n);var u;return o.caption=(u=(i=n)===null||i===void 0?void 0:i.caption)!==null&&u!==void 0?u:Wn.controlName,o}return r}(ie);function oT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Un(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jf(e){return jf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jf(e)}function EY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yb(e,t)}function TY(e,t){return t&&(IY(t)==="object"||typeof t=="function")?t:oT(e)}function Yb(e,t){return Yb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yb(e,t)}function IY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AY(e){var t=BY();return function(){var n=jf(e),o;if(t){var i=jf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TY(this,o)}}var Wn=function(e){EY(r,e);var t=AY(r);function r(n){SY(this,r);var o,i;return o=t.call(this,n),Un(oT(o),"props",void 0),o.props=new nT((i=n)===null||i===void 0?void 0:i.props),o}return r}(be);Un(Wn,"controlType","file-column"),Un(Wn,"controlName","\u9644\u4EF6"),Un(Wn,"controlIcon","file-column"),Un(Wn,"controlFieldType",S.FILE),Un(Wn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function iT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function e0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mf(e){return Mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mf(e)}function kY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&t0(e,t)}function DY(e,t){return t&&(NY(t)==="object"||typeof t=="function")?t:iT(e)}function t0(e,t){return t0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},t0(e,t)}function NY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jY(e){var t=FY();return function(){var n=Mf(e),o;if(t){var i=Mf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DY(this,o)}}var uT=function(e){kY(r,e);var t=jY(r);function r(n){xY(this,r);var o,i;return o=t.call(this,n),e0(iT(o),"props",void 0),o.props=new nT((i=n)===null||i===void 0?void 0:i.props),o}return r}(ge);e0(uT,"controlType","file-column"),e0(uT,"controlFieldType",S.FILE);function MY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lf(e){return Lf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lf(e)}function VY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r0(e,t)}function CY(e,t){return t&&(zY(t)==="object"||typeof t=="function")?t:MY(e)}function r0(e,t){return r0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},r0(e,t)}function zY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qY(e){var t=HY();return function(){var n=Lf(e),o;if(t){var i=Lf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return CY(this,o)}}var cT=function(e){VY(r,e);var t=qY(r);function r(n){LY(this,r);var o,i;o=t.call(this,n);var u;return o.caption=(u=(i=n)===null||i===void 0?void 0:i.caption)!==null&&u!==void 0?u:Gn.controlName,o}return r}(ie);function lT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vf(e){return Vf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vf(e)}function WY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n0(e,t)}function KY(e,t){return t&&(GY(t)==="object"||typeof t=="function")?t:lT(e)}function n0(e,t){return n0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},n0(e,t)}function GY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JY(e){var t=XY();return function(){var n=Vf(e),o;if(t){var i=Vf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KY(this,o)}}var Gn=function(e){WY(r,e);var t=JY(r);function r(n){UY(this,r);var o,i;return o=t.call(this,n),Kn(lT(o),"props",void 0),o.props=new cT((i=n)===null||i===void 0?void 0:i.props),o}return r}(be);Kn(Gn,"controlType","image-column"),Kn(Gn,"controlName","\u56FE\u7247"),Kn(Gn,"controlIcon","image-column"),Kn(Gn,"controlFieldType",S.IMAGE),Kn(Gn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function aT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cf(e){return Cf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cf(e)}function ZY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i0(e,t)}function YY(e,t){return t&&(eee(t)==="object"||typeof t=="function")?t:aT(e)}function i0(e,t){return i0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},i0(e,t)}function eee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ree(e){var t=tee();return function(){var n=Cf(e),o;if(t){var i=Cf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YY(this,o)}}var fT=function(e){ZY(r,e);var t=ree(r);function r(n){QY(this,r);var o,i;return o=t.call(this,n),o0(aT(o),"props",void 0),o.props=new cT((i=n)===null||i===void 0?void 0:i.props),o}return r}(ge);o0(fT,"controlType","image-column"),o0(fT,"controlFieldType",S.IMAGE);function nee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zf(e){return zf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zf(e)}function iee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u0(e,t)}function uee(e,t){return t&&(cee(t)==="object"||typeof t=="function")?t:nee(e)}function u0(e,t){return u0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},u0(e,t)}function cee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aee(e){var t=lee();return function(){var n=zf(e),o;if(t){var i=zf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uee(this,o)}}var sT=function(e){iee(r,e);var t=aee(r);function r(n){oee(this,r);var o,i;o=t.call(this,n);var u;return o.caption=(u=(i=n)===null||i===void 0?void 0:i.caption)!==null&&u!==void 0?u:Jn.controlName,o}return r}(ie);function pT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hf(e){return Hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hf(e)}function see(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c0(e,t)}function pee(e,t){return t&&(_ee(t)==="object"||typeof t=="function")?t:pT(e)}function c0(e,t){return c0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},c0(e,t)}function _ee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dee(e){var t=yee();return function(){var n=Hf(e),o;if(t){var i=Hf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pee(this,o)}}var Jn=function(e){see(r,e);var t=dee(r);function r(n){fee(this,r);var o,i;return o=t.call(this,n),Xn(pT(o),"props",void 0),o.props=new sT((i=n)===null||i===void 0?void 0:i.props),o}return r}(be);Xn(Jn,"controlType","people-column"),Xn(Jn,"controlName","\u4EBA\u5458"),Xn(Jn,"controlIcon","people-column"),Xn(Jn,"controlFieldType",S.EMPLOYEES),Xn(Jn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function _T(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qf(e){return qf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qf(e)}function hee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a0(e,t)}function bee(e,t){return t&&(gee(t)==="object"||typeof t=="function")?t:_T(e)}function a0(e,t){return a0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},a0(e,t)}function gee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Oee(e){var t=mee();return function(){var n=qf(e),o;if(t){var i=qf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bee(this,o)}}var yT=function(e){hee(r,e);var t=Oee(r);function r(n){vee(this,r);var o,i;return o=t.call(this,n),l0(_T(o),"props",void 0),o.props=new sT((i=n)===null||i===void 0?void 0:i.props),o}return r}(ge);l0(yT,"controlType","people-column"),l0(yT,"controlFieldType",S.EMPLOYEES);function Uf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wf(e){return Wf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wf(e)}function 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&&s0(e,t)}function wee(e,t){return t&&($ee(t)==="object"||typeof t=="function")?t:Uf(e)}function s0(e,t){return s0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},s0(e,t)}function $ee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hT(e){var t=Pee();return function(){var n=Wf(e),o;if(t){var i=Wf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wee(this,o)}}var Ree=function(e){vT(r,e);var t=hT(r);function r(n){dT(this,r);var o;return o=t.call(this,n),Tr.call(Uf(o),n),o}return r}(jt),p0=function(e){vT(r,e);var t=hT(r);function r(n){dT(this,r);var o,i,u,c;o=t.call(this,n),f0(Uf(o),"showLinkOperation",void 0),f0(Uf(o),"linkOperationOption",void 0);var l;o.caption=(l=(i=n)===null||i===void 0?void 0:i.caption)!==null&&l!==void 0?l:Zn.controlName;var a;return o.showLinkOperation=(a=(u=n)===null||u===void 0?void 0:u.showLinkOperation)!==null&&a!==void 0?a:!1,o.linkOperationOption=new er((c=n)===null||c===void 0?void 0:c.linkOperationOption),o}return r}(ie);f0(p0,"Rules",Ree);function bT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function See(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kf(e){return Kf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kf(e)}function Eee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_0(e,t)}function Tee(e,t){return t&&(Iee(t)==="object"||typeof t=="function")?t:bT(e)}function _0(e,t){return _0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_0(e,t)}function Iee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Aee(e){var t=Bee();return function(){var n=Kf(e),o;if(t){var i=Kf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Tee(this,o)}}var Zn=function(e){Eee(r,e);var t=Aee(r);function r(n){See(this,r);var o,i;return o=t.call(this,n),Qn(bT(o),"props",void 0),o.props=new p0((i=n)===null||i===void 0?void 0:i.props),o}return r}(be);Qn(Zn,"controlType","location-column"),Qn(Zn,"controlName","\u5730\u5740"),Qn(Zn,"controlIcon","location-column"),Qn(Zn,"controlFieldType",S.ADDRESS),Qn(Zn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function gT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gf(e){return Gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gf(e)}function kee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d0(e,t)}function Dee(e,t){return t&&(Nee(t)==="object"||typeof t=="function")?t:gT(e)}function d0(e,t){return d0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},d0(e,t)}function Nee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jee(e){var t=Fee();return function(){var n=Gf(e),o;if(t){var i=Gf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Dee(this,o)}}var mT=function(e){kee(r,e);var t=jee(r);function r(n){xee(this,r);var o,i;return o=t.call(this,n),y0(gT(o),"props",void 0),o.props=new p0((i=n)===null||i===void 0?void 0:i.props),o}return r}(ge);y0(mT,"controlType","location-column"),y0(mT,"controlFieldType",S.ADDRESS);function v0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xf(e){return Xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xf(e)}function Lee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h0(e,t)}function Vee(e,t){return t&&(Cee(t)==="object"||typeof t=="function")?t:v0(e)}function h0(e,t){return h0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},h0(e,t)}function Cee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hee(e){var t=zee();return function(){var n=Xf(e),o;if(t){var i=Xf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vee(this,o)}}var wT=function(e){Lee(r,e);var t=Hee(r);function r(n){Mee(this,r);var o,i,u,c;o=t.call(this,n),OT(v0(o),"fieldCodeList",void 0),OT(v0(o),"sortFieldCode",void 0);var l;o.caption=(l=(i=n)===null||i===void 0?void 0:i.caption)!==null&&l!==void 0?l:Mr.controlName;var a;o.fieldCodeList=(a=(u=n)===null||u===void 0?void 0:u.fieldCodeList)!==null&&a!==void 0?a:[];var f;return o.sortFieldCode=(f=(c=n)===null||c===void 0?void 0:c.sortFieldCode)!==null&&f!==void 0?f:"",o}return r}(ie);function Yn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $T(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Uee(e,t,r){return t&&$T(e.prototype,t),r&&$T(e,r),e}function bt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function No(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?No=Reflect.get:No=function(o,i,u){var c=Zee(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},No(e,t,r||e)}function jr(e){return jr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jr(e)}function Wee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b0(e,t)}function Kee(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Gee(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){bt(e,o,r[o])})}return e}function Xee(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Jee(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Xee(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Qee(e,t){return t&&(Yee(t)==="object"||typeof t=="function")?t:Yn(e)}function b0(e,t){return b0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},b0(e,t)}function Zee(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=jr(e),e!==null););return e}function Yee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ete(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tte(e){var t=ete();return function(){var n=jr(e),o;if(t){var i=jr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Qee(this,o)}}var rte=1,Mr=function(t){Wee(n,t);var r=tte(n);function n(o){qee(this,n);var i,u,c;i=r.call(this,o),bt(Yn(i),"excludes",void 0),bt(Yn(i),"childrenMaxLength",void 0),bt(Yn(i),"props",void 0),bt(Yn(i),"children",void 0);var l=Kee(this,n)?this.constructor:void 0,a=l.excludes,f=l.childrenMaxLength;return i.props=new wT((u=o)===null||u===void 0?void 0:u.props),Ft(Yn(i),"children",(c=o)===null||c===void 0?void 0:c.children),i.excludes=Yt(a),i.childrenMaxLength=f,i}return Uee(n,[{key:"judgeJoinChildren",value:function(i){var u=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i);return u&&this.childrenMaxLength>this.children.length}},{key:"toDataBindModel",value:function(i){var u=No(jr(n.prototype),"toDataBindModel",this).call(this,i);if(u){var c=this.props.fieldCodeList;u.props.fieldCodeList=c}return u}},{key:"toSchema",value:function(){var i=No(jr(n.prototype),"toSchema",this).call(this);return Jee(Gee({},i),{children:this.children.map(function(u){return u.toSchema()})})}}]),n}(be);bt(Mr,"controlType","custom-column"),bt(Mr,"controlName","\u81EA\u5B9A\u4E49"),bt(Mr,"controlIcon","custom-column"),bt(Mr,"excludes",[]),bt(Mr,"childrenMaxLength",rte),bt(Mr,"setting",[{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0}]);function Jf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qf(e){return Qf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qf(e)}function ote(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m0(e,t)}function ite(e,t){return t&&(ute(t)==="object"||typeof t=="function")?t:Jf(e)}function m0(e,t){return m0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},m0(e,t)}function ute(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lte(e){var t=cte();return function(){var n=Qf(e),o;if(t){var i=Qf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ite(this,o)}}var ate=function(e){ote(r,e);var t=lte(r);function r(n){nte(this,r);var o,i,u;return o=t.call(this,n),g0(Jf(o),"props",void 0),g0(Jf(o),"children",void 0),o.props=new wT((i=n)===null||i===void 0?void 0:i.props),Ft(Jf(o),"children",(u=n)===null||u===void 0?void 0:u.children),o}return r}(ge);g0(ate,"controlType","custom-column");function PT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ste(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zf(e){return Zf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zf(e)}function pte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&O0(e,t)}function _te(e,t){return t&&(yte(t)==="object"||typeof t=="function")?t:PT(e)}function O0(e,t){return O0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},O0(e,t)}function yte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vte(e){var t=dte();return function(){var n=Zf(e),o;if(t){var i=Zf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _te(this,o)}}var RT=function(e){pte(r,e);var t=vte(r);function r(n){fte(this,r);var o,i,u;o=t.call(this,n),ste(PT(o),"datasourceBind",void 0);var c;o.caption=(c=(i=n)===null||i===void 0?void 0:i.caption)!==null&&c!==void 0?c:Lr.controlName;var l;return o.datasourceBind=new Co((l=(u=n)===null||u===void 0?void 0:u.datasourceBind)!==null&&l!==void 0?l:{attributes:Lr.controlCustomAttributes}),o}return r}(ie);function ST(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ET(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bte(e,t,r){return t&&ET(e.prototype,t),r&&ET(e,r),e}function eo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yf(e){return Yf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yf(e)}function gte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w0(e,t)}function mte(e,t){return t&&(Ote(t)==="object"||typeof t=="function")?t:ST(e)}function w0(e,t){return w0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},w0(e,t)}function Ote(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $te(e){var t=wte();return function(){var n=Yf(e),o;if(t){var i=Yf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mte(this,o)}}var Lr=function(e){gte(r,e);var t=$te(r);function r(n){hte(this,r);var o,i;return o=t.call(this,n),eo(ST(o),"props",void 0),o.props=new RT((i=n)===null||i===void 0?void 0:i.props),o}return bte(r,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(be);eo(Lr,"controlType","employee-column"),eo(Lr,"controlName","\u4EBA\u5458"),eo(Lr,"controlIcon","employee-column"),eo(Lr,"controlFieldType",S.EMPLOYEES),eo(Lr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function TT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function es(e){return es=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},es(e)}function Rte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&P0(e,t)}function Ste(e,t){return t&&(Ete(t)==="object"||typeof t=="function")?t:TT(e)}function P0(e,t){return P0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},P0(e,t)}function Ete(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ite(e){var t=Tte();return function(){var n=es(e),o;if(t){var i=es(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ste(this,o)}}var IT=function(e){Rte(r,e);var t=Ite(r);function r(n){Pte(this,r);var o,i;return o=t.call(this,n),$0(TT(o),"props",void 0),o.props=new RT((i=n)===null||i===void 0?void 0:i.props),o}return r}(ge);$0(IT,"controlType","employee-column"),$0(IT,"controlFieldType",S.EMPLOYEES);function ts(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rs(e){return rs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rs(e)}function Ate(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&S0(e,t)}function xte(e,t){return t&&(kte(t)==="object"||typeof t=="function")?t:ts(e)}function S0(e,t){return S0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},S0(e,t)}function kte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Dte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nte(e){var t=Dte();return function(){var n=rs(e),o;if(t){var i=rs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xte(this,o)}}var BT=function(e){Ate(r,e);var t=Nte(r);function r(n){Bte(this,r);var o,i,u,c,l;o=t.call(this,n),R0(ts(o),"lineEllipsis",void 0),R0(ts(o),"showLinkOperation",void 0),R0(ts(o),"linkOperationOption",void 0);var a;o.caption=(a=(i=n)===null||i===void 0?void 0:i.caption)!==null&&a!==void 0?a:to.controlName;var f;o.showLinkOperation=(f=(u=n)===null||u===void 0?void 0:u.showLinkOperation)!==null&&f!==void 0?f:!1,o.linkOperationOption=new er((c=n)===null||c===void 0?void 0:c.linkOperationOption);var s;return o.lineEllipsis=(s=(l=n)===null||l===void 0?void 0:l.lineEllipsis)!==null&&s!==void 0?s:1,o}return r}(ie);function E0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ns(e){return ns=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ns(e)}function jte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&T0(e,t)}function Mte(e,t){return t&&(Lte(t)==="object"||typeof t=="function")?t:E0(e)}function T0(e,t){return T0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},T0(e,t)}function Lte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Cte(e){var t=Vte();return function(){var n=ns(e),o;if(t){var i=ns(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Mte(this,o)}}var to=function(e){jte(r,e);var t=Cte(r);function r(n){Fte(this,r);var o,i;return o=t.call(this,n),Vr(E0(o),"props",void 0),Vr(E0(o),"children",void 0),o.props=new BT((i=n)===null||i===void 0?void 0:i.props),o}return r}(be);Vr(to,"controlType","approval-status-column"),Vr(to,"controlName","\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),Vr(to,"controlIcon","approval-status-column"),Vr(to,"excludes",[]),Vr(to,"setting",[{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-line-ellipsis",visible:!0}]);function I0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function B0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function os(e){return os=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},os(e)}function Hte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&A0(e,t)}function qte(e,t){return t&&(Ute(t)==="object"||typeof t=="function")?t:I0(e)}function A0(e,t){return A0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},A0(e,t)}function Ute(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kte(e){var t=Wte();return function(){var n=os(e),o;if(t){var i=os(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qte(this,o)}}var Gte=function(e){Hte(r,e);var t=Kte(r);function r(n){zte(this,r);var o,i;return o=t.call(this,n),B0(I0(o),"props",void 0),B0(I0(o),"children",void 0),o.props=new BT((i=n)===null||i===void 0?void 0:i.props),o}return r}(ge);B0(Gte,"controlType","approval-status-column");function gt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function is(e){return is=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},is(e)}function xT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&x0(e,t)}function Xte(e,t){return t&&(Jte(t)==="object"||typeof t=="function")?t:gt(e)}function x0(e,t){return x0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},x0(e,t)}function Jte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kT(e){var t=Qte();return function(){var n=is(e),o;if(t){var i=is(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xte(this,o)}}var Zte=function(e){xT(r,e);var t=kT(r);function r(n){AT(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(Rr),k0=function(e){xT(r,e);var t=kT(r);function r(n){AT(this,r);var o,i,u,c,l,a,f,s,p,_,h;o=t.call(this,n),mt(gt(o),"search",void 0),mt(gt(o),"cancel",void 0),mt(gt(o),"searchType",void 0),mt(gt(o),"labelPosition",void 0),mt(gt(o),"viewType",void 0),mt(gt(o),"isLoading",void 0),mt(gt(o),"custom",void 0),mt(gt(o),"queryTypeMap",void 0),mt(gt(o),"childMinWidth",void 0),mt(gt(o),"colGap",void 0);var d;o.searchType=(d=(i=n)===null||i===void 0?void 0:i.searchType)!==null&&d!==void 0?d:"model";var b;o.labelPosition=(b=(u=n)===null||u===void 0?void 0:u.labelPosition)!==null&&b!==void 0?b:"top";var y;o.viewType=(y=(c=n)===null||c===void 0?void 0:c.viewType)!==null&&y!==void 0?y:"mini";var g;o.search=new tr((g=(l=n)===null||l===void 0?void 0:l.search)!==null&&g!==void 0?g:{content:"\u67E5\u8BE2",isShow:!0});var O;o.cancel=new tr((O=(a=n)===null||a===void 0?void 0:a.cancel)!==null&&O!==void 0?O:{content:"\u91CD\u7F6E",isShow:!0});var w;o.isLoading=(w=(f=n)===null||f===void 0?void 0:f.isLoading)!==null&&w!==void 0?w:!1;var P;o.custom=((P=(s=n)===null||s===void 0?void 0:s.custom)!==null&&P!==void 0?P:[]).map(function(I){return new tr(I)});var E;o.queryTypeMap=(E=(p=n)===null||p===void 0?void 0:p.queryTypeMap)!==null&&E!==void 0?E:[];var T;o.childMinWidth=(T=(_=n)===null||_===void 0?void 0:_.childMinWidth)!==null&&T!==void 0?T:230;var B;return o.colGap=(B=(h=n)===null||h===void 0?void 0:h.colGap)!==null&&B!==void 0?B:24,o}return r}(pp);mt(k0,"RuntimeRules",Zte);function DT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function D0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function us(e){return us=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},us(e)}function ere(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&N0(e,t)}function tre(e,t){return t&&(rre(t)==="object"||typeof t=="function")?t:DT(e)}function N0(e,t){return N0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},N0(e,t)}function rre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ore(e){var t=nre();return function(){var n=us(e),o;if(t){var i=us(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tre(this,o)}}var NT=function(e){ere(r,e);var t=ore(r);function r(n){Yte(this,r);var o,i;return o=t.call(this,n),D0(DT(o),"props",void 0),o.props=new k0((i=n)===null||i===void 0?void 0:i.props),o}return r}(qk);D0(NT,"controlType","simple-search"),D0(NT,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0},{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE]},{key:"search-view-type",visible:!0}]);function F0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ire(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function j0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cs(e){return cs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cs(e)}function ure(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&M0(e,t)}function cre(e,t){return t&&(lre(t)==="object"||typeof t=="function")?t:F0(e)}function M0(e,t){return M0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},M0(e,t)}function lre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function are(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fre(e){var t=are();return function(){var n=cs(e),o;if(t){var i=cs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cre(this,o)}}var sre=function(e){ure(r,e);var t=fre(r);function r(n){ire(this,r);var o,i,u;o=t.call(this,n),j0(F0(o),"props",void 0),j0(F0(o),"children",void 0),o.props=new k0((i=n)===null||i===void 0?void 0:i.props);var c;return o.children=(c=(u=n)===null||u===void 0?void 0:u.children)!==null&&c!==void 0?c:[],o}return r}(Qk);j0(sre,"controlType","simple-search");const pre=(e,t)=>{const r=Array.isArray(e),n=r?e:[e];Pre(t==null?void 0:t.events),bre(n),gre(n);const o=hre(n),i=mre(o,t);let u=Kr(xe(i,c=>vre(c,t)));return r?u:u[0]},_re=[m.DIVIDER,m.TEXT,m.TITLE,m.LINK,m.BUTTON,"list-btn-export-list","list-btn-export-record"],yre=["subtable","grid-table"],dre=["simple-search"];function vre(e,t){var o,i,u,c,l,a;let r=e;if(r.controlType||(r.is_layout_control===!0?r.controlType="layout":_re.includes(r.type)?r.controlType="base":r.controlType="form",yre.includes(r.type)&&(r.controlType="list"),dre.includes(r.type)&&(r.controlType="search-view")),delete r.is_layout_control,e.props.lable_position&&(e.props.labelPosition=e.props.lable_position),e.props.select_mode&&(e.props.optionsFormat=e.props.select_mode),e.props.value&&(e.props.defaultValue=e.props.value),Ae((o=e==null?void 0:e.props)==null?void 0:o.caption)&&(r.props.caption=e.props.caption.zh),Ae((i=e==null?void 0:e.props)==null?void 0:i.placeholder)&&(r.props.placeholder=e.props.placeholder.zh),Ae((u=e==null?void 0:e.props)==null?void 0:u.placeholder_end)&&(r.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(r.type="department",e.props.value.length&&(r.props.default_value=e.props.value),r.props.showType=e.props.show_tree?"tree":"default",r.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(r.type="auto-number",r.props.defaultValue=e.props.value),e.type==="file"&&(r.type="attachment",r.props.attachmentAccept=(c=e.attachment_format)==null?void 0:c.split(","),r.props.showType=e.props.show_type==="title"?"default":"table"),e.type==="image"&&(r.props.attachmentAccept=(l=e.attachment_format)==null?void 0:l.split(",")),e.type==="date-pick"&&(r.type="date-picker"),e.type==="rich-text"&&(Ae(e.props.value)?r.props.defaultValue=e.props.value.zh:r.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(Ae(e.props.value)?r.props.content=e.props.value.zh:r.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(r.props.showState="image"),e.type==="user-search"&&(r.type="employee",r.props.defaultValue=e.props.value),e.type==="address"&&(r.props.addressType=e.props.address_type_value),r.type==="subtable"){const f=r.props.entry_type||r.props.entryType;r.props.openType=f==="subpage"?"modal":"default",((a=r.children[0])==null?void 0:a.type)==="subtable-row"&&r.props.headers&&(r.props.headers=r.props.headers.map((s,p)=>{const _=new kW.Designer;_.props.caption=Ae(s.field_name)?s.field_name.zh:s.field_name;const h=_.toSchema();h.id=s.header_id;const d=r.children[0].children[p].children[0];return d&&(h.children=[d]),h}),r.children=[])}if(r.type==="subtable-cell"&&(r.type="subtable-column"),["radio","checkbox","select","select-multiple"].includes(e.type)&&(e.props.options.map(f=>{f.label=Ae(f.text)?f.text.zh:f.text,f.id=f.id||f.opt_id||f.optId||f.data_id}),r=e),e.type==="grid-row"){const f=24/r.children.length;r.children=r.children.map(s=>{const p=new VR.Designer;p.props.span=f;const _=p.toSchema();return _.children.push(s),_})}if(e.type==="grid-layout-row"&&(r.type="row"),e.type==="grid-layout-col"&&(r.type="col"),e.type==="group-panel"&&(r.type="card-group",r.props.collapse=r.props.flod==="no"?"none":r.props.flod),e.type==="tabs-pane"&&(r.type="tab-pane"),e.type==="calc"){const f=r==null?void 0:r.children[0],s=r==null?void 0:r.children[1],p={};f&&(FT(r,t),p.result=f.props.data_bind,r.id=f.id,r.props=f.props,r.props.script_src=f.props.script_src,r.props.script_echo=f.props.script_echo,r.props.precision=f.props.precision,r.props.micrometer=f.props.is_show_money,r.props.showUpperCase=f.props.is_show_chn),s&&(p.unit=s.props.data_bind,r.props.default_value={unit:s.props.value}),r.props.dataBind=p,delete r.children}if(e.type==="amount-currency"){r.type="amount",r.controlType="form";const f=r==null?void 0:r.children[0],s=r==null?void 0:r.children[1],p={},_={};f&&(FT(r,t),r.id=f.id,p.amount=f.props.data_bind,r.props.range_min=Wr(f.props.range_min),r.props.range_max=Wr(f.props.range_max),_.amount=Wr(f.props.value),r.props.required=f.props.required,r.props.is_hide=f.props.is_hide,r.props.default_state=f.props.default_state,r.props.caption=Ae(f.props.caption)?f.props.caption.zh:f.props.caption,r.props.is_hide_caption=f.props.is_hide_caption,r.props.showUpperCase=f.props.is_show_chn),s&&(p.currency=s.props.data_bind,_.currency=s.props.value,r.props.datasourceBind=s.props.datasource_bind,r.props.options=s.props.options.map(h=>({label:h.text,value:h.value}))),r.props.dataBind=p,r.props.defaultValue=_,delete r.children}if(e.type==="date-range"){r.controlType="form";const f=r==null?void 0:r.children[0],s=r==null?void 0:r.children[1];r.props.placeholderStart=Ae(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,r.props.caption=Ae(e.props.caption)?e.props.caption.zh:e.props.caption;const p={};f&&(p.min=f.props.data_bind),s&&(p.max=s.props.data_bind),r.props.dataBind=p,delete r.children}return e.type==="score"&&(r.props.defaultValue=r.props.value*1),["input","textarea"].includes(e.type)&&(r.props.defaultValue=Ae(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(r.props.range_min=Wr(e.props.range_min),r.props.range_max=Wr(e.props.range_max),r.props.defaultValue=Wr(e.props.value)),e.type==="list-page-btn-custom-button"&&(e.type="button"),e.type==="button"&&e.props.button_type==="dashed"&&(r.props.buttonType="default"),Rre(r,t==null?void 0:t.control_events),r}function FT(e,t){if(!t)return;const{displayBoList:r=[],behaviors:n=[]}=t,o=e.id,i=e.children[0].id;r.forEach(u=>{u.id===o&&(u.id=i);const c=u.show_controls.findIndex(a=>a===o),l=u.hide_controls.findIndex(a=>a===o);c>-1&&u.show_controls.splice(c,1,i),l>-1&&u.hide_controls.splice(l,1,i)}),n.forEach(u=>{u.ctrl_id===o&&(u.id=i)})}function hre(e){if(!Array.isArray(e)||!e.find(o=>o.type==="grid"))return e;const n=new nX.Designer().toSchema();return n.children=e,[n]}function bre(e){e.forEach(t=>{t.children&&$re(t.children)})}function gre(e){e.forEach(t=>{var n,o;if(!(t&&t.children))return;const r=t.children;for(let i=0;i<r.length;i++){const u=r[i],c=(o=(n=r[i])==null?void 0:n.children)==null?void 0:o[0];u.type==="grid-row"&&c&&["group-panel","subtable","tab"].includes(c.type)&&r.splice(i,1,c)}})}function mre(e,t){var _,h,d,b,y,g,O,w;if(!(Array.isArray(e)&&e.length===1))return e;const r=e[0];if(r.type!=="list-page")return e;const{props:n,children:o}=r,[i,u,c]=o;Ore(i),c.props.is_fixed_header=(_=n==null?void 0:n.source_config)==null?void 0:_.is_fixed_header,wre(c,u);const l=(d=(h=n==null?void 0:n.source_config)==null?void 0:h.data_code)!=null?d:t==null?void 0:t.dataCode,a=((y=(b=n==null?void 0:n.source_config)==null?void 0:b.svc_code)!=null?y:l)?`${l}_selectMore`:void 0,f=(O=(g=n==null?void 0:n.source_config)==null?void 0:g.orders)!=null?O:[],s=new FG.Designer;s.props.datasourceBind=new se({dataCode:l,svcCode:a,orders:d2(f)}),s.props.isShowSubList=n.is_show_sublist,s.props.triggerType=n.timing_type,s.props.triggerFieldCode=n.ctrl_field_code,(w=n==null?void 0:n.sublist_page)==null||w.sublists.forEach(P=>{P.title=Ae(P.title)?P.title.zh:P.title}),s.props.sublistPage=n.sublist_page;const p=s.toSchema();return p.children.push(i,c),[p]}function Ore(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(t=>{var n,o;const r=Ae(t.placeholder)?t.placeholder.zh:t.placeholder;t.type==="number-range"&&(t.type="search-number-range",t.placeholderStart=r,t.placeholderEnd=r),t.type==="date-pick"&&(t.type="search-date-range",t.placeholderStart=r,t.placeholderEnd=r,t.dateType=(o=(n=t.dateType)==null?void 0:n.replace)==null?void 0:o.call(n,/range$/)),(t.type==="automatic-number"||t.type==="auto-number")&&(t.type="search-input",t.props.defaultValue="")})}function wre(e,t){e.children=t.children.filter(r=>r.type!=="list-page-btn-custom-head"),e.type="grid-table",e.props.sublist_page&&(e.props.sublist_page.form_bind={data_code:e.props.sublist_page.data_code,form_key:e.props.sublist_page.form_key}),Array.isArray(e.props.headers)&&(e.props.headers=e.props.headers.map(r=>{var o,i,u;let n={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:r.field_code,field_name:Ae(r.field_name)?r.field_name.zh:r.field_name}};return n.props.caption=Ae(r.field_name)?r.field_name.zh:r.field_name,n.props.filter_tags=r.is_filter_tags,n.props.fixed=r.fixed,n.props.display_bo_list=r.display_bo_list,n.props.date_type=r.date_type,n.props.optionConfig="none",r.header_width_config&&(n.props.widthType=r.header_width_config==="1"?"auto":"px"),n.props.widthType==="px"&&r.header_width&&(n.props.width=Number(r.header_width)),r.table_header_type==="order"?(n.type="order-column",n.props.fixed=!0):r.table_header_type==="operation"?(n.type="operation-column",n.props.check=(o=r.check)!=null?o:{},n.props.check.openType="window",n.props.delete=(i=r.delete)!=null?i:{},n.props.delete.openType="window",n.props.edit=(u=r.edit)!=null?u:{},n.props.edit.openType="window",n.props.fixed=!0):(n.type=r.field_type+"-column",r.field_type==="auto_number"&&(n.type="auto-number-column"),r.field_type==="relation"&&(n.type="varchar-column")),r.convert_switch&&(n.props.optionConfig=r.convert_type===1?"datasource":"custom"),n.props.optionConfig==="datasource"?n.props.datasource_bind=new se({svcCode:r.svc_code,displayBoList:r.display_bo_list,valueFieldCode:r.field_match,dataCode:r.field_source}):n.props.optionConfig==="custom"&&(n.props.options=r.custom_match_bo_list),n}))}function $re(e){var r;let t=null;for(let n=0;n<e.length;n++){const o=e[n];if(!!o){if(o.children&&((r=o.children[0])==null?void 0:r.type)==="group-panel"){t=o.children[0];continue}t&&(t.children.push(o),e.splice(n,1),n--)}}}function Pre(e){!e||(e.did_mount=e.did_mount.map(t=>t.name),e.will_submit=e.will_submit.map(t=>t.name),e.did_submit=e.did_submit.map(t=>t.name))}function Rre(e,t){var n;if(!t||!e.props.events)return;const r=Object.keys(e.props.events);!r.length||(r.forEach(o=>{!e.props.events[o].length||(t[e.id]||(t[e.id]={}),t[e.id][o]||(t[e.id][o]=[]),t[e.id][o].push(...e.props.events[o].map(i=>i.name)))}),(n=t[e.id])!=null&&n.on_blur&&(t[e.id].on_change||(t[e.id].on_change=[]),t[e.id].on_change.push(...t[e.id].on_blur)))}const Sre=(e,t)=>{const r=Array.isArray(e);let o=Kr(xe(r?e:[e],i=>Ere(i)));return r?o:o[0]};function Ere(e,t){return e.type===m.LIST_VIEW&&e.children.find(n=>n.type===m.GRID_TABLE).props.headers.forEach(n=>{!n.props.data_bind&&n.props.field_code&&(n.props.data_bind=new ft({dataCode:e.props.datasource_bind.data_code,fieldCode:n.props.field_code}))}),e}const Tre=(e,t)=>{const r=Array.isArray(e);let o=Kr(xe(r?e:[e],i=>Ire(i)));return r?o:o[0]};function Ire(e,t){return[m.BUTTON,m.CREATE_FORM_LIST_BUTTON,m.BATCH_SUBMISSION_LIST_BUTTON,m.SUBMISSION_RECORD_LIST_BUTTON,m.IMPORT_RECORD_LIST_BUTTON,m.EXPORT_RECORD_LIST_BUTTON,m.EXPORT_LIST_BUTTON,m.FORM_SELECT_BUTTON,m.LIST_SELECT_BUTTON].includes(e.type)&&(e.props.button_type==="default"&&(e.props.button_type="secondary"),e.props.button_type==="danger"&&(e.props.button_type="secondary",e.props.color="danger"),e.props.icon||(e.props.icon="iconfenlei2")),e.type===m.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===m.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}const Bre=(e,t)=>{const r=Array.isArray(e);let o=Kr(xe(r?e:[e],i=>Are(i)));return r?o:o[0]};function Are(e,t){if(e.props.icon){let r=e.props.icon;switch(r){case"icongeren":r="iconyyzy-renyuan";break;case"iconjine1":r="iconcaiwu";break;case"iconhuibao":r="iconyyzy-tianxie";break;case"iconwenjian":r="iconyyzy-wenjianjia1";break;case"iconyingpin":r="iconyyzy-gongzuo";break;case"iconpiliangtijiaojilu":r="iconyyzy-renwu";break}e.props.icon=r}return e}const xre=(e,t)=>{const r=Array.isArray(e);let o=Kr(xe(r?e:[e],i=>Dre(i)));return r?o:o[0]},kre=[m.ROW,m.TAB,m.SUBTABLE,m.GRID_ROW,m.CARD_GROUP];function Dre(e,t){return e.type===m.TAB_PANE&&(e.children=e.children.map(r=>{if(kre.includes(r.type))return r;const n=new iW.Designer,o=new VR.Designer;n.children.push(o);const i=n.toSchema();return i.children[0].children.push(r),i})),e}const Nre=(e,t)=>{const r=Array.isArray(e);let o=Kr(xe(r?e:[e],i=>Fre(i)));return r?o:o[0]};function Fre(e,t){return e.type===m.GRID_TABLE&&e.props.headers.forEach(r=>{r.type===m.OPERATION_COLUMN&&(r.props.check.priorityProcess=!0)}),e}const jre=(e,t)=>{const r=Array.isArray(e);let o=xe(r?e:[e],i=>Mre(i));return r?o:o[0]};function Mre(e,t){return e.type===m.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}const Lre=(e,t)=>{const r=Array.isArray(e);let o=xe(r?e:[e],i=>Vre(i));return r?o:o[0]};function wr(e,t){e.field_code&&(e.field_type=t)}function Vre(e,t){var n;const r={[m.TITLE]:S.AUTO_NUMBER,[m.ADDRESS]:S.ADDRESS,[m.ATTACHMENT]:S.FILE,[m.AUTO_NUMBER]:S.AUTO_NUMBER,[m.CHECKBOX]:S.ARRAY,[m.DATE_PICKER]:S.TIMESTAMP,[m.DEPARTMENT]:S.DEPARTMENTS,[m.EMPLOYEE]:S.EMPLOYEES,[m.EMPLOYEE2]:S.EMPLOYEES,[m.IMAGE]:S.IMAGE,[m.INPUT]:S.VARCHAR,[m.NUMBER]:S.DECIMAL,[m.RADIO]:S.VARCHAR,[m.RICH_TEXT]:S.TEXT,[m.SCORE]:S.DECIMAL,[m.SELECT]:S.VARCHAR,[m.SELECT_MULTIPLE]:S.ARRAY,[m.SELECT_RELATION]:S.VARCHAR,[m.TEXTAREA]:S.TEXT,[m.TREE]:S.ARRAY,[m.SEARCH_DATE_RANGE]:S.ARRAY,[m.SEARCH_INPUT]:S.VARCHAR,[m.SEARCH_NUMBER_RANGE]:S.ARRAY};return r.hasOwnProperty(e.type)&&wr(e.props.data_bind,r[e.type]),e.type===m.AMOUNT&&(wr(e.props.data_bind.amount,S.DECIMAL),wr(e.props.data_bind.currency,S.VARCHAR)),e.type===m.CALC&&(wr(e.props.data_bind.result,S.DECIMAL),wr(e.props.data_bind.unit,S.VARCHAR)),e.type===m.DATE_RANGE&&(wr(e.props.data_bind.min,S.TIMESTAMP),wr(e.props.data_bind.max,S.TIMESTAMP)),e.type===m.VUE_FORM_ITEM&&wr(e.props.data_bind,(n=e.field_type)!=null?n:S.ANY),e}const Cre=(e,t)=>{const r=Array.isArray(e);let o=xe(r?e:[e],i=>zre(i));return r?o:o[0]};function zre(e,t){return e.type===m.GRID_TABLE&&e.props.headers.forEach(r=>{r.type.endsWith("-column")&&(r.props.fixed?(r.props.fixed="left",r.type===m.OPERATION_COLUMN&&(r.props.fixed="right")):r.props.fixed="none")}),e}const Hre=(e,t)=>{const r=Array.isArray(e);let o=xe(r?e:[e],i=>qre(i));return r?o:o[0]};function qre(e,t){return e.type===m.SIMPLE_SEARCH&&e.children.length&&(e.props.query_type_map||(e.props.query_type_map=[]),e.children.forEach(r=>{var n,o;[S.VARCHAR,S.TEXT,S.AUTO_NUMBER].includes((o=(n=r.props)==null?void 0:n.data_bind)==null?void 0:o.field_type)&&e.props.query_type_map.push({query_type:"LIKE",field_code:r.props.data_bind.field_code})})),e}const Ure=(e,t)=>{const r=Array.isArray(e);let o=xe(r?e:[e],i=>Wre(i));return r?o:o[0]};function Wre(e,t){return[m.SELECT,m.SELECT_RELATION,m.SELECT_MULTIPLE,m.RADIO,m.CHECKBOX,m.TREE,m.DEPARTMENT2,m.EMPLOYEE2,m.DEPARTMENT,m.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===m.SUBTABLE&&e.props.headers.forEach(r=>{[m.SELECT,m.SELECT_RELATION,m.SELECT_MULTIPLE,m.RADIO,m.CHECKBOX,m.TREE,m.DEPARTMENT2,m.EMPLOYEE2,m.DEPARTMENT,m.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}const Kre=(e,t)=>{const r=Array.isArray(e);let o=xe(r?e:[e],i=>Gre(i));return r?o:o[0]};function Gre(e,t){return[m.SELECT,m.SELECT_RELATION,m.SELECT_MULTIPLE,m.RADIO,m.CHECKBOX,m.TREE,m.DEPARTMENT2,m.EMPLOYEE2,m.DEPARTMENT,m.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===m.SUBTABLE&&e.props.headers.forEach(r=>{[m.SELECT,m.SELECT_RELATION,m.SELECT_MULTIPLE,m.RADIO,m.CHECKBOX,m.TREE,m.DEPARTMENT2,m.EMPLOYEE2,m.DEPARTMENT,m.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}const Xre=(e,t)=>{const r=Array.isArray(e);let o=xe(r?e:[e],i=>Jre(i));return r?o:o[0]};function Jre(e,t){return e.type===m.TITLE&&e.props.config.push(Lt.ShowTitle),e.type===m.GRID_TABLE&&e.props.headers.map(r=>{var n,o,i,u,c,l,a,f,s,p,_,h,d,b,y,g,O,w,P,E,T,B;if(r.type===m.OPERATION_COLUMN){if(r.props.width_type==="auto"?r.props.auto_width={min_width:120,max_width:120,flex:1}:r.props.width_type==="px"&&(r.props.auto_width={min_width:r.props.width,max_width:r.props.width,flex:1}),r.props.width_type="auto",r.children=(n=r==null?void 0:r.children)!=null?n:[],delete r.props.custom,((o=r.props)==null?void 0:o.check)!==void 0){const I=new V_.Designer;Object.defineProperty(I,"id",{value:"listPageCheckBtnId"}),I.props.code="view",I.props.icon="iconliulan1",I.props.command="view",I.props.content=(i=r.props)==null?void 0:i.check.content,I.props.priorityProcess=(u=r.props)==null?void 0:u.check.priority_process,I.props.openType=(c=r.props)==null?void 0:c.check.open_type,I.props.formKey=(l=r.props)==null?void 0:l.check.form_key,(a=r.props)!=null&&a.check.is_show&&r.children.push(I.toSchema()),(f=r.props)==null||delete f.check}if(((s=r.props)==null?void 0:s.edit)!==void 0){const I=new V_.Designer;Object.defineProperty(I,"id",{value:"listPageEditBtnId"}),I.props.code="edit",I.props.icon="iconbianji1",I.props.command="edit",I.props.content=(p=r.props)==null?void 0:p.edit.content,I.props.priorityProcess=(_=r.props)==null?void 0:_.edit.priority_process,I.props.openType=(h=r.props)==null?void 0:h.edit.open_type,I.props.formKey=(d=r.props)==null?void 0:d.edit.form_key,(b=r.props)!=null&&b.edit.is_show&&r.children.push(I.toSchema()),(y=r.props)==null||delete y.edit}if(((g=r.props)==null?void 0:g.delete)!==void 0){const I=new V_.Designer;Object.defineProperty(I,"id",{value:"listPageDeleteBtnId"}),I.props.code="delete",I.props.icon="iconlajitong",I.props.command="delete",I.props.content=(O=r.props)==null?void 0:O.delete.content,I.props.priorityProcess=(w=r.props)==null?void 0:w.delete.priority_process,I.props.openType=(P=r.props)==null?void 0:P.delete.open_type,I.props.formKey=(E=r.props)==null?void 0:E.delete.form_key,I.props.needConfirm=!0,I.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",(T=r.props)!=null&&T.delete.is_show&&r.children.push(I.toSchema()),(B=r.props)==null||delete B.delete}}}),[m.SELECT,m.SELECT_RELATION,m.SELECT_MULTIPLE,m.RADIO,m.CHECKBOX,m.TREE,m.DEPARTMENT2,m.EMPLOYEE2,m.DEPARTMENT,m.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===m.SUBTABLE&&e.props.headers.forEach(r=>{[m.SELECT,m.SELECT_RELATION,m.SELECT_MULTIPLE,m.RADIO,m.CHECKBOX,m.TREE,m.DEPARTMENT2,m.EMPLOYEE2,m.DEPARTMENT,m.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}var jT={"v1.0":pre,"v2.0":Sre,"v2.1":Tre,"v2.2":Bre,"v2.3":xre,"v2.4":Nre,"v2.5":jre,"v2.6":Lre,"v2.7":Cre,"v2.8":Hre,"v2.9":Ure,"v2.10":Kre,"v3.0":Xre,"v3.1":()=>{}};const MT=(e,t)=>{const r=LT(e),n=LT(t),o=r.pop(),i=n.pop(),u=zT(r,n);return u!==0?u:o&&i?zT(o.split("."),i.split(".")):o||i?o?-1:1:0},ls=(e,t,r)=>{ene(r);const n=MT(e,t);return HT[r].includes(n)},Qre=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,LT=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(Qre);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},VT=e=>e==="*"||e==="x"||e==="X",CT=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},Zre=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],Yre=(e,t)=>{if(VT(e)||VT(t))return 0;const[r,n]=Zre(CT(e),CT(t));return r>n?1:r<n?-1:0},zT=(e,t)=>{for(let r=0;r<Math.max(e.length,t.length);r++){const n=Yre(e[r]||"0",t[r]||"0");if(n!==0)return n}return 0},HT={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},qT=Object.keys(HT),ene=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(qT.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${qT.join("|")}`)};function L0(e){return e.replace(/^v/,"")}const ro=Object.keys(jT).map(e=>L0(e)).sort(MT),Fo=ro[ro.length-1];class tne{constructor(t,r=Fo){this.schemaVersion=t,this.toVersion=r,ls(r,Fo,">")?uo(`Version Builder: The specified ${r} is an undefined version, and the current latest version is ${Fo}`):(!ro.includes(L0(r))||!ro.includes(L0(t)))&&uo(`Version Builder: Please give me a valid version number, The valid version is: ${ro.join(",")}, But give me a ${t}`)}dataCleaner(t,r){if(ls(this.toVersion,this.schemaVersion,"="))return t;const n=this.callDataCleanerKeys.reduce((o,i,u,c)=>{var s;const l=(s=c[u+1])!=null?s:this.toVersion;Lo(`Version Builder: current version: ${i}, nextVersion: ${l}`);const a=jT[i];let f=o;if(typeof a=="function"){const p=a(o,r);p&&(f=p)}return f},t);return Lo(`Version Builder: Version conversion completed, evolving from ${this.schemaVersion} to ${this.toVersion}`),n}get runDataCleanerKeys(){return ro.filter(t=>ls(t,this.schemaVersion,">=")&&ls(t,this.toVersion,"<"))}get callDataCleanerKeys(){return this.runDataCleanerKeys.map(t=>"v"+t)}get version(){return Fo}static get version(){return Fo}}qr.VersionBuilder=tne,Object.defineProperty(qr,"__esModule",{value:!0})});
1
+ (function(qr,no){typeof exports=="object"&&typeof module!="undefined"?no(exports):typeof define=="function"&&define.amd?define(["exports"],no):(qr=typeof globalThis!="undefined"?globalThis:qr||self,no(qr.modelDrivenUpgrade={}))})(this,function(qr){"use strict";var no="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",UT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",WT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",KT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",GT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",XT="{caption}\u5FC5\u586B",JT="\u8BF7\u8F93\u5165\u6807\u9898",QT="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",ZT="\u8BF7\u8F93\u5165\u884C\u6807\u9898",YT="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",e1="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",t1="\u8BF7\u7ED1\u5B9A\u8868\u5355",r1="\u8BF7\u7ED1\u5B9A\u5217\u8868",n1="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",o1="\u8BF7\u8F93\u5165\u663E\u793A\u503C",i1="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",u1="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",c1="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",l1="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",a1="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",f1="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",s1="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",p1="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",_1="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",y1="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",d1="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",v1="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",h1="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",b1="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",g1="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",m1="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",O1="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",w1="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",$1="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",P1="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",R1="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",S1="\u8BF7\u7ED1\u5B9A\u670D\u52A1",E1="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",T1="\u8BF7\u9009\u62E9\u7701",I1="\u8BF7\u9009\u62E9\u5E02",B1="\u8BF7\u9009\u62E9\u533A",A1="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",x1="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",k1="\u8BF7\u8F93\u5165\u5217\u5BBD",D1="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",N1="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",F1="\u8BF7\u9009\u62E9\u63A7\u4EF6",j1="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",M1="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",L1="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",V1="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",C1="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",z1="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",H1="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",q1="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",U1="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",W1="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",K1="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",G1="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",X1="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",J1="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Q1="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Z1="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Y1="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",e3="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",t3="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",r3="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",n3="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",o3="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",i3="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",u3="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",c3="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",l3="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",a3={isNotNumber:no,isNotString:UT,isNotObject:WT,isNotArray:KT,isNotBoolean:GT,runtimeRequired:XT,pleaseEnterCaption:JT,pleaseEnterCaptionTip:QT,pleaseEnterRowCaption:ZT,pleaseEnterPlaceholder:YT,pleaseEnterFieldCode:e1,pleaseEnterForm:t1,pleaseEnterList:r1,pleaseEnterProcess:n1,pleaseEnterLabel:o1,pleaseEnterValue:i1,bizKeyNotBindFiled:u1,pleaseSelectOneField:c1,pleaseEnterNumberRange:l1,pleaseEnterAValueGreaterThanMin:a1,pleaseEnterAValueLessThanMax:f1,numberRangeSetError:s1,stringRangeError:p1,attachmentMaxSize:_1,pleaseEnterTotalScoreSetting:y1,theTotalScoreMustNotBeLessThan1:d1,scoreDefaultValueRange:v1,attachmentLimitError:h1,PleaseReselectTheOptionalQuantity:b1,TheMaximumLengthIsGreaterThanTheMinimumLength:g1,TheMinimumLengthIsGreaterThanTheMaximumLength:m1,PleaseSelectTheCorrectOptionSettings:O1,optionIdIsRepeat:w1,optionIsRequired:$1,pleaseEnterDataCode:P1,pleaseEnterValueFieldCode:R1,pleaseEnterSvcCode:S1,pleaseBindAtLeastOneDisplayValue:E1,pleaseSelectProvince:T1,pleaseSelectCity:I1,pleaseSelectDistrict:B1,limitRowsCannotBeLessThan0:A1,TheNumberOfRowsCannotBeLessThanMinRows:x1,pleaseEnterColumnWidth:k1,pleaseSetTheLogicalRelationshipOfAllRuleConditions:D1,pleaseCompleteAllRulesAndConditions:N1,pleaseSelectControl:F1,pleaseSelectAtLeastOneColumn:j1,pleaseSelectFillBackMode:M1,pleaseSelectDashboard:L1,rootNodeIsRequired:V1,theViewNameCannotBeEmpty:C1,pleaseSelectOcrType:z1,pleaseSelectAtLeastOneFieldToFillIn:H1,pleaseChooseAtLeastOne:q1,pleaseEnterButtonContent:U1,pleaseEnterDataCodeInDataSetting:W1,pleaseEnterValueFieldCodeInDataSetting:K1,pleaseEnterSvcCodeInDataSetting:G1,pleaseBindAtLeastOneDisplayValueInDataSetting:X1,rootNodeIsRequiredInDataSetting:J1,pleaseEnterMaxHeight:Q1,pleaseEnter:Z1,pleaseEnterWatermark:Y1,pleaseEnterFileName:e3,pleaseUploadAtLeastOnePrintTemplate:t3,pleaseAssignBusiness:r3,pleaseAssignExternal:n3,pleaseEnterAliasCode:o3,pleaseSelectDataCode:i3,pleaseSelectSvcCode:u3,pleaseSelectJoinFieldCode:c3,pleaseSelectMainFieldCode:l3},f3="Please enter a number",s3="Please enter a string",p3="Please enter an object",_3="Please enter an array",y3="Please enter a boolean",d3="{caption} Required",v3="Please enter the title",h3="Please enter the bubble prompt",b3="Please enter the row title",g3="Please enter the prompt text",m3="Please bind data items",O3="Please bind the form",w3="Please bind the list",$3="Please bind the process",P3="Please enter the displayed value",R3="Please enter the stored value",S3="The document number is not bound to the data item",E3="Please select at least one display field",T3="Please enter a value greater than or equal to {min} and less than or equal to {max}",I3="Please enter a value greater than or equal to {min}",B3="Please enter a value less than or equal to {max}",A3="The value range is set incorrectly",x3="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",k3="The attachment size must be between 0MB and 1000MB",D3="Please fill in the total score setting",N3="The total score cannot be less than 1",F3="The default value must be between {min} and {max}",j3="The number of attachments uploaded must be between {min} and {max}",M3="Please re-select the optional quantity",L3="The maximum length of the control must be greater than the minimum length",V3="The minimum length of the control must be less than the maximum length",C3="Please select the correct option setting",z3="Option ID cannot be repeated",H3="Please enter at least one option",q3="Please bind the data source",U3="Please bind the stored value",W3="Please bind the service",K3="At least one display value must be bound",G3="Please select a province",X3="Please select a city",J3="Please select a district",Q3="The minimum number of lines to fill in cannot be less than 0",Z3="The number of rows cannot be less than {min} rows",Y3="Please enter the column width",eI="Please set the logical relationship of all rule conditions",tI="Please complete all rules and conditions",rI="please select control",nI="Please select the dashboard",oI="View name cannot be empty",iI="Please select recognition type",uI="Please select at least one field to fill in",cI="Please select at least one",lI="Please enter the button title",aI="Please bind the business model in the data settings",fI="Please bind storage values in data settings",sI="Please bind the service in the data settings",pI="Please bind at least one display value in the data settings",_I="Please select the root node in the data settings",yI="Please enter the maximum height",dI="The input content cannot be empty",vI="Watermark cannot be empty",hI="File name cannot be empty",bI="Please upload at least one printing template!\uFF01",gI="Please select a specific business department",mI="Please select a specified external organization",OI="Please enter a sub table alias",wI="Please select the associated table to set the business model",$I="Please select the association table to set the binding service",PI="Select associated sub table fields",RI="Please select the associated main table field",SI={isNotNumber:f3,isNotString:s3,isNotObject:p3,isNotArray:_3,isNotBoolean:y3,runtimeRequired:d3,pleaseEnterCaption:v3,pleaseEnterCaptionTip:h3,pleaseEnterRowCaption:b3,pleaseEnterPlaceholder:g3,pleaseEnterFieldCode:m3,pleaseEnterForm:O3,pleaseEnterList:w3,pleaseEnterProcess:$3,pleaseEnterLabel:P3,pleaseEnterValue:R3,bizKeyNotBindFiled:S3,pleaseSelectOneField:E3,pleaseEnterNumberRange:T3,pleaseEnterAValueGreaterThanMin:I3,pleaseEnterAValueLessThanMax:B3,numberRangeSetError:A3,stringRangeError:x3,attachmentMaxSize:k3,pleaseEnterTotalScoreSetting:D3,theTotalScoreMustNotBeLessThan1:N3,scoreDefaultValueRange:F3,attachmentLimitError:j3,PleaseReselectTheOptionalQuantity:M3,TheMaximumLengthIsGreaterThanTheMinimumLength:L3,TheMinimumLengthIsGreaterThanTheMaximumLength:V3,PleaseSelectTheCorrectOptionSettings:C3,optionIdIsRepeat:z3,optionIsRequired:H3,pleaseEnterDataCode:q3,pleaseEnterValueFieldCode:U3,pleaseEnterSvcCode:W3,pleaseBindAtLeastOneDisplayValue:K3,pleaseSelectProvince:G3,pleaseSelectCity:X3,pleaseSelectDistrict:J3,limitRowsCannotBeLessThan0:Q3,TheNumberOfRowsCannotBeLessThanMinRows:Z3,pleaseEnterColumnWidth:Y3,pleaseSetTheLogicalRelationshipOfAllRuleConditions:eI,pleaseCompleteAllRulesAndConditions:tI,pleaseSelectControl:rI,pleaseSelectDashboard:nI,theViewNameCannotBeEmpty:oI,pleaseSelectOcrType:iI,pleaseSelectAtLeastOneFieldToFillIn:uI,pleaseChooseAtLeastOne:cI,pleaseEnterButtonContent:lI,pleaseEnterDataCodeInDataSetting:aI,pleaseEnterValueFieldCodeInDataSetting:fI,pleaseEnterSvcCodeInDataSetting:sI,pleaseBindAtLeastOneDisplayValueInDataSetting:pI,rootNodeIsRequiredInDataSetting:_I,pleaseEnterMaxHeight:yI,pleaseEnter:dI,pleaseEnterWatermark:vI,pleaseEnterFileName:hI,pleaseUploadAtLeastOnePrintTemplate:bI,pleaseAssignBusiness:gI,pleaseAssignExternal:mI,pleaseEnterAliasCode:OI,pleaseSelectDataCode:wI,pleaseSelectSvcCode:$I,pleaseSelectJoinFieldCode:PI,pleaseSelectMainFieldCode:RI},EI="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",TI="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",II="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",BI="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",AI="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",xI="{caption}\u5FC5\u9808",kI="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",DI="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",NI="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",FI="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jI="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",MI="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",LI="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",VI="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",CI="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",zI="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",HI="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",qI="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",UI="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",WI="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",KI="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",GI="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",XI="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",JI="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",QI="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ZI="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",YI="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",eB="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",tB="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",rB="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5927\u5024\u306F\u6700\u5C0F\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",nB="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5C0F\u5024\u306F\u6700\u5927\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",oB="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",iB="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",uB="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",cB="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",lB="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",aB="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",fB="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",sB="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",pB="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",_B="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",yB="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",dB="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",vB="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",hB="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",bB="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",gB="please select control",mB="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",OB="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",wB="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",$B="\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",PB="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",RB="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",SB="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",EB="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",TB="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",IB="\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",BB="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",AB="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",xB="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",kB="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",DB="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",NB="\u5370\u5237\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u5C11\u306A\u304F\u3068\u30821\u3064\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\uFF01\uFF01",FB="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",jB="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",MB="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",LB="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",VB="\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",CB="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",zB="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",HB={isNotNumber:EI,isNotString:TI,isNotObject:II,isNotArray:BI,isNotBoolean:AI,runtimeRequired:xI,pleaseEnterCaption:kI,pleaseEnterCaptionTip:DI,pleaseEnterRowCaption:NI,pleaseEnterPlaceholder:FI,pleaseEnterFieldCode:jI,pleaseEnterForm:MI,pleaseEnterList:LI,pleaseEnterProcess:VI,pleaseEnterLabel:CI,pleaseEnterValue:zI,bizKeyNotBindFiled:HI,pleaseSelectOneField:qI,pleaseEnterNumberRange:UI,pleaseEnterAValueGreaterThanMin:WI,pleaseEnterAValueLessThanMax:KI,numberRangeSetError:GI,stringRangeError:XI,attachmentMaxSize:JI,pleaseEnterTotalScoreSetting:QI,theTotalScoreMustNotBeLessThan1:ZI,scoreDefaultValueRange:YI,attachmentLimitError:eB,PleaseReselectTheOptionalQuantity:tB,TheMaximumLengthIsGreaterThanTheMinimumLength:rB,TheMinimumLengthIsGreaterThanTheMaximumLength:nB,PleaseSelectTheCorrectOptionSettings:oB,optionIdIsRepeat:iB,optionIsRequired:uB,pleaseEnterDataCode:cB,pleaseEnterValueFieldCode:lB,pleaseEnterSvcCode:aB,pleaseBindAtLeastOneDisplayValue:fB,pleaseSelectProvince:sB,pleaseSelectCity:pB,pleaseSelectDistrict:_B,limitRowsCannotBeLessThan0:yB,TheNumberOfRowsCannotBeLessThanMinRows:dB,pleaseEnterColumnWidth:vB,pleaseSetTheLogicalRelationshipOfAllRuleConditions:hB,pleaseCompleteAllRulesAndConditions:bB,pleaseSelectControl:gB,pleaseSelectDashboard:mB,theViewNameCannotBeEmpty:OB,pleaseSelectOcrType:wB,pleaseSelectAtLeastOneFieldToFillIn:$B,pleaseChooseAtLeastOne:PB,pleaseEnterButtonContent:RB,pleaseEnterDataCodeInDataSetting:SB,pleaseEnterValueFieldCodeInDataSetting:EB,pleaseEnterSvcCodeInDataSetting:TB,pleaseBindAtLeastOneDisplayValueInDataSetting:IB,rootNodeIsRequiredInDataSetting:BB,pleaseEnterMaxHeight:AB,pleaseEnter:xB,pleaseEnterWatermark:kB,pleaseEnterFileName:DB,pleaseUploadAtLeastOnePrintTemplate:NB,pleaseAssignBusiness:FB,pleaseAssignExternal:jB,pleaseEnterAliasCode:MB,pleaseSelectDataCode:LB,pleaseSelectSvcCode:VB,pleaseSelectJoinFieldCode:CB,pleaseSelectMainFieldCode:zB},qB={zhCN:a3,enUS:SI,jaJP:HB},og;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(og||(og={}));var ig;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(ig||(ig={}));var UB="zh-CN";function We(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ur;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(Ur||(Ur={}));var m;(function(e){e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.ORGANIZATION_SELECTION="organization-selection",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.EMPLOYEE_COLUMN="employee-column",e.Approval_Status_Column="approval-status-column",e.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.GRID_LAYOUT_CONTAINER="grid-layout-container",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.ACTION_BAR="action-bar",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2",e.GRID_LAYOUT_WRAP="grid-layout-wrap"})(m||(m={}));var S;(function(e){e.VARCHAR="varchar",e.TEXT="text",e.ARRAY="array",e.ADDRESS="location",e.DECIMAL="decimal",e.DECIMAL_RANGE="decimal_range",e.TIMESTAMP="timestamp",e.EMPLOYEES="people",e.DEPARTMENTS="department",e.MONEY="money",e.TIMESCOPE="timescope",e.FILE="file",e.IMAGE="image",e.AUTO_NUMBER="auto_number",e.CALC="calc",e.RELATION="relation",e.LIST="list",e.RELATION_FIELD="relation-field",e.REFERENCE_FIELD="reference-field",e.CALC_FIELD="calc",e.JSON="json",e.BIGINT="bigint",e.ANY="ANY",e.ENCRYPTED_FIELD="encrypted_field"})(S||(S={}));var Be;Be={},We(Be,S.ARRAY,m.ARRAY_COLUMN),We(Be,S.AUTO_NUMBER,m.AUTO_NUMBER_COLUMN),We(Be,S.DECIMAL,m.DECIMAL_COLUMN),We(Be,S.DEPARTMENTS,m.DEPARTMENT_COLUMN),We(Be,S.FILE,m.FILE_COLUMN),We(Be,S.IMAGE,m.IMAGE_COLUMN),We(Be,S.ADDRESS,m.LOCATION_COLUMN),We(Be,S.EMPLOYEES,m.EMPLOYEE_COLUMN),We(Be,S.TEXT,m.TEXT_COLUMN),We(Be,S.TIMESCOPE,m.TIMESCOPE_COLUMN),We(Be,S.TIMESTAMP,m.TIMESTAMP_COLUMN),We(Be,S.VARCHAR,m.VARCHAR_COLUMN),We(Be,S.RELATION,m.VARCHAR_COLUMN);var Zt;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"})(Zt||(Zt={}));var ug="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",WB=ug+"0123456789";function Dt(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",r=0;r<e;r++){var n=r===0?ug:WB,o=Math.random()*n.length;t+=n[parseInt(String(o),10)]}return t}function as(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function KB(e){if(Array.isArray(e))return as(e)}function GB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mo(e,t,r){return fg()?Mo=Reflect.construct:Mo=function(o,i,u){var c=[null];c.push.apply(c,i);var l=Function.bind.apply(o,c),a=new l;return u&&io(a,u.prototype),a},Mo.apply(null,arguments)}function oo(e){return oo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oo(e)}function 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&&io(e,t)}function XB(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function JB(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function QB(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ZB(e,t){return t&&(YB(t)==="object"||typeof t=="function")?t:GB(e)}function io(e,t){return io=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},io(e,t)}function ag(e){return KB(e)||JB(e)||e2(e)||QB()}function YB(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function e2(e,t){if(!!e){if(typeof e=="string")return as(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return as(e,t)}}function fs(e){var t=typeof Map=="function"?new Map:void 0;return fs=function(n){if(n===null||!XB(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return Mo(n,arguments,oo(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),io(o,n)},fs(e)}function fg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sg(e){var t=fg();return function(){var n=oo(e),o;if(t){var i=oo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZB(this,o)}}var ss=console;function ps(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o=t.slice(1);(n=ss).warn.apply(n,["\u{1F9D0} Driven Warning:"+t[0]].concat(ag(o)))}function Lo(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o=t.slice(1);(n=ss).log.apply(n,["\u{1F680} Driven Log:"+t[0]].concat(ag(o)))}function t2(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var _s=function(e){lg(r,e);var t=sg(r);function r(n){cg(this,r);var o;return o=t.call(this,n),o.name="\u{1F4A5} Driven Error",o.message=n?t2(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return r}(fs(Error)),r2=function(e){lg(r,e);var t=sg(r);function r(n){cg(this,r);var o;return o=t.call(this,n),o.name="\u{1F6A8} Driven Reference Error",o}return r}(_s);function uo(e){throw new _s(e)}function pg(e){throw new r2(e)}function n2(e){ss.error(new _s(e))}var o2=Object.prototype.toString;function _g(e,t){return o2.call(e)==="[object "+t+"]"}function i2(e){return _g(e,"String")}function u2(e){return _g(e,"Promise")}var c2=function(){function e(t){var r,n;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((n=(r=t.messages)!==null&&r!==void 0?r:this.getPreImport(t.locale))!==null&&n!==void 0?n:{}),t.variableRegExp&&(this.variableRegExp=t.variableRegExp),this.setLocale(t.locale)}return e.prototype.setLocale=function(t){var r=this;this.locale=t,this._messageCache.clear();var n=this.getMessageData();u2(n)?n.then(function(o){r._messageCache.clear(),r.messages[r.localeInMessageKey]=o}):this.messages[this.localeInMessageKey]=n},e.prototype.getMessageData=function(){var t=this._messages[this.localeInMessageKey];return typeof t=="function"?t():t},e.prototype.translate=function(t,r,n){var o=this.getMessage(t);return o?this.formatMessage(o,n):this.formatMessage(r,n)},e.prototype.getMessage=function(t){if(this._messageCache.has(t))return this._messageCache.get(t);var r=this.getPathArray(t),n=r.reduce(function(o,i,u,c){if(o!==void 0){var l=o[i];if(!(u===c.length-1&&!i2(l)))return l}},this.message);return this._messageCache.set(t,n),n},e.prototype.formatMessage=function(t,r){return r?t.replace(this.variableRegExp,function(n,o){var i=r[o];return i!==void 0?String(i):n}):t},e.prototype.getPreImport=function(t){var r;if(window.okI18nPreImport){var n=this.getLocaleInMessageKey(t);return window.okI18nPreImport.hasOwnProperty(n)?window.okI18nPreImport:(r={},r[n]=window.okI18nPreImport,r)}},e.prototype.getPathArray=function(t){return t.split(".")},e.prototype.getLocaleInMessageKey=function(t){return t.replace(/-/g,"")},Object.defineProperty(e.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"message",{get:function(){var t;return(t=this.messages[this.localeInMessageKey])!==null&&t!==void 0?t:{}},enumerable:!1,configurable:!0}),e}();function l2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a2(e,t,r){return t&&yg(e.prototype,t),r&&yg(e,r),e}function f2(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var $=function(){function e(){l2(this,e)}return a2(e,null,[{key:"getMessage",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(r,"",n)}},{key:"resetI18n",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:UB;return new c2({locale:r,messages:qB})}},{key:"setLocale",value:function(r){return this.$i18n.setLocale(r)}}]),e}();f2($,"$i18n",$.resetI18n());function s2(e,t,r){var n=t.replace(/\[(\d)]/g,function(i,u){return"."+u}).split("."),o=!1;return n.reduce(function(i,u,c,l){var a=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,u)){ps("Can not set ".concat(t,"'s ").concat(u," property in current %o, Because there is no ").concat(u," property on the %o"),i,i);return}return c===l.length-1&&!Object.is(a[u],r)&&(a[u]=r,o=!0),a[u]}},e),o}var p2=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ys={exports:{}};(function(e){(function(t){var r=function(y,g,O){if(!a(g)||s(g)||p(g)||_(g)||l(g))return g;var w,P=0,E=0;if(f(g))for(w=[],E=g.length;P<E;P++)w.push(r(y,g[P],O));else{w={};for(var T in g)Object.prototype.hasOwnProperty.call(g,T)&&(w[y(T,O)]=r(y,g[T],O))}return w},n=function(y,g){g=g||{};var O=g.separator||"_",w=g.split||/(?=[A-Z])/;return y.split(w).join(O)},o=function(y){return h(y)?y:(y=y.replace(/[\-_\s]+(.)?/g,function(g,O){return O?O.toUpperCase():""}),y.substr(0,1).toLowerCase()+y.substr(1))},i=function(y){var g=o(y);return g.substr(0,1).toUpperCase()+g.substr(1)},u=function(y,g){return n(y,g).toLowerCase()},c=Object.prototype.toString,l=function(y){return typeof y=="function"},a=function(y){return y===Object(y)},f=function(y){return c.call(y)=="[object Array]"},s=function(y){return c.call(y)=="[object Date]"},p=function(y){return c.call(y)=="[object RegExp]"},_=function(y){return c.call(y)=="[object Boolean]"},h=function(y){return y=y-0,y===y},d=function(y,g){var O=g&&"process"in g?g.process:g;return typeof O!="function"?y:function(w,P){return O(w,y,P)}},b={camelize:o,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(y,g){return r(d(o,g),y)},decamelizeKeys:function(y,g){return r(d(u,g),y,g)},pascalizeKeys:function(y,g){return r(d(i,g),y)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=b:t.humps=b})(p2)})(ys);var dg={};Object.defineProperty(dg,"__esModule",{value:!0});function ds(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:ds(t));{const t={};for(const r in e){const n=e[r];t[r]=typeof n!="object"||n===null?n:ds(n)}return t}}var _2=dg.default=ds;function Yt(e){if(e!==void 0)return typeof e=="object"?_2(e):e}function Ae(e){return vg(e)&&"zh"in e}function vg(e){return Object.prototype.toString.call(e)==="[object Object]"}function vs(e){return Array.isArray(e)}function Wr(e){return isNaN(parseFloat(e))?"":Number(e)}function y2(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function xe(e,t){var r=[];return Array.isArray(e)&&(r=e.map(function(n){var o,i,u=n;return Array.isArray((o=n)===null||o===void 0?void 0:o.children)&&(u.children=xe(n.children,t)),Array.isArray((i=n)===null||i===void 0?void 0:i.footers)&&(u.footers=xe(n.footers,t)),t(u)})),r}function d2(e){return ys.exports.camelizeKeys(e)}function Kr(e){return ys.exports.decamelizeKeys(e)}function hs(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function v2(e){if(Array.isArray(e))return hs(e)}function hg(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(a){r(a);return}c.done?t(l):Promise.resolve(l).then(n,o)}function h2(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){hg(i,n,o,u,c,"next",l)}function c(l){hg(i,n,o,u,c,"throw",l)}u(void 0)})}}function b2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function g2(e,t,r){return t&&bg(e.prototype,t),r&&bg(e,r),e}function gg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m2(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function O2(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function bs(e){return v2(e)||m2(e)||w2(e)||O2()}function w2(e,t){if(!!e){if(typeof e=="string")return hs(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return hs(e,t)}}function $2(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(a){return function(f){return l([a,f])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(f){a=[6,f],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var P2=function(){function e(){b2(this,e),gg(this,"_events",new Map),gg(this,"debug",!1)}return g2(e,[{key:"emit",value:function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];var u=this;return h2(function(){var c,l,a,f,s,p,_,h,d,b,y,g;return $2(this,function(O){switch(O.label){case 0:if(c=u._events.get(r),l=[],!c)return[3,10];a=c.slice(),f=!0,s=!1,p=void 0,O.label=1;case 1:O.trys.push([1,8,9,10]),_=a[Symbol.iterator](),O.label=2;case 2:if(f=(h=_.next()).done)return[3,7];if(d=h.value,!c.includes(d))return[3,6];O.label=3;case 3:return O.trys.push([3,5,,6]),u.debug&&Lo.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(d.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+d.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"\u3002")].concat(bs(o))),[4,d.apply(null,bs(o))];case 4:return b=O.sent(),u.debug&&Lo.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(d.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+d.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(bs(o),[b])),l.push(b),b===!1?[3,7]:[3,6];case 5:return y=O.sent(),n2(String(y)+":"+String(y.stack)),[3,6];case 6:return f=!0,[3,2];case 7:return[3,10];case 8:return g=O.sent(),s=!0,p=g,[3,10];case 9:try{!f&&_.return!=null&&_.return()}finally{if(s)throw p}return[7];case 10:return[2,l]}})})()}},{key:"on",value:function(r,n){if(this._events.has(r)){var o;(o=this._events.get(r))===null||o===void 0||o.push(n)}else this._events.set(r,[n])}},{key:"off",value:function(r,n){if(this._events.has(r)){var o,i,u=this._events.get(r),c=(o=u)===null||o===void 0?void 0:o.indexOf(n);(i=u)===null||i===void 0||i.splice(c,1)}}},{key:"delete",value:function(r){this._events.has(r)&&this._events.delete(r)}},{key:"clear",value:function(){this._events=new Map}}]),e}();function R2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function S2(e,t,r){return t&&mg(e.prototype,t),r&&mg(e,r),e}function E2(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var T2=[{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"}],I2=function(){function e(){R2(this,e)}return S2(e,[{key:"getEventsFromKeys",value:function(r){var n=typeof r=="string"?[r]:r;return e.events.filter(function(o){return n.includes(o.key)})}}]),e}();E2(I2,"events",T2);function B2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Og(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function A2(e,t,r){return t&&Og(e.prototype,t),r&&Og(e,r),e}function $r(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var wg=[],gs=function(){function e(t){B2(this,e),$r(this,"registeredControlTypes",new Set),$r(this,"controlConfigMap",new Map),$r(this,"_controls",[]),$r(this,"_type",void 0),this._type=t,this._initControls(t)}return A2(e,[{key:"registerControlConfig",value:function(r,n){return this.controlConfigMap.set(r,n),this}},{key:"getControlConfig",value:function(r){return this.controlConfigMap.get(r)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(r){r.__is_control__||uo("".concat(r.name," is not a Control"));var n=this._controls.findIndex(function(o){return o.controlType===r.controlType});return n>-1&&(ps("The ".concat(r.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(n,1)),this.registeredControlTypes.add(r.controlType),this._controls.push(r),this}},{key:"isLayoutControl",value:function(r){return r.controlType===Ur.LAYOUT}},{key:"isFormControl",value:function(r){return r.controlType===Ur.FORM}},{key:"isListControl",value:function(r){return r.controlType===Ur.LIST}},{key:"isColumnControl",value:function(r){return r.controlType===Ur.COLUMN}},{key:"createControl",value:function(r,n){var o=this;if(Array.isArray(r))return r.map(function(f){return o.createControl(f,n)});if(r.children&&(r.children=r.children.map(function(f){return o.createControl(f,n)})),this.isListControl(r)){var i=r.props;i.headers&&(i.headers=i.headers.map(function(f){return o.createControl(f,n)})),i.footers&&(i.footers=i.footers.map(function(f){var s;return f&&(s=o.createControl(f,n)),s}))}var u=this.getControlFormType(r.type);if(u){var c=r;if(typeof n=="function"){var l=n(c);l&&(c=l)}var a=new u(c);return a}else uo("The constructor of ".concat(r.type," could not be found, please confirm that the constructor has been registered"))}},{key:"createControlInstance",value:function(r,n){var o=this.getControlFormType(r);if(o)return new o(n)}},{key:"getControlFormType",value:function(r){return this._controls.find(function(n){return n.controlType===r})}},{key:"_initControls",value:function(r){var n=this;this.constructor.staticControls.forEach(function(o){n.register(o[r])})}}],[{key:"register",value:function(r){var n=r.Designer,o=r.Runtime;(!n||!o||!n.__is_control__||!o.__is_control__)&&uo("".concat(r," is can't register as a Control"));var i=this.staticControls.findIndex(function(u){return u.Designer.controlType===n.controlType});return i>-1&&(ps("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(i,1)),this.staticRegisteredTypes.add(n.controlType),this.staticControls.push(r),this}}]),e}();$r(gs,"staticControls",wg),$r(gs,"staticRegisteredTypes",new Set(wg.map(function(e){return e.Designer.controlType}))),$r(gs,"staticRegisteredConfigs",new Map);function U(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vo(e){return Vo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vo(e)}function lt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ms(e,t)}function x2(e,t){return t&&(k2(t)==="object"||typeof t=="function")?t:U(e)}function ms(e,t){return ms=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ms(e,t)}function k2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function D2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function at(e){var t=D2();return function(){var n=Vo(e),o;if(t){var i=Vo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return x2(this,o)}}var ft=function e(t){F(this,e);var r,n,o,i;R(this,"dataCode",void 0),R(this,"fieldCode",void 0),R(this,"fieldType",void 0),R(this,"aliasCode",void 0);var u;this.dataCode=(u=(r=t)===null||r===void 0?void 0:r.dataCode)!==null&&u!==void 0?u:"";var c;this.fieldCode=(c=(n=t)===null||n===void 0?void 0:n.fieldCode)!==null&&c!==void 0?c:"";var l;this.fieldType=(l=(o=t)===null||o===void 0?void 0:o.fieldType)!==null&&l!==void 0?l:"",this.aliasCode=(i=t)===null||i===void 0?void 0:i.aliasCode},$g=function e(t){F(this,e);var r,n,o;R(this,"minWidth",void 0),R(this,"maxWidth",void 0),R(this,"flex",void 0);var i;this.minWidth=(i=(r=t)===null||r===void 0?void 0:r.minWidth)!==null&&i!==void 0?i:150,this.maxWidth=(n=t)===null||n===void 0?void 0:n.maxWidth;var u;this.flex=(u=(o=t)===null||o===void 0?void 0:o.flex)!==null&&u!==void 0?u:1},Os=function(e){lt(r,e);var t=at(r);function r(n){F(this,r);var o,i,u;o=t.call(this,n),R(U(o),"width",void 0),R(U(o),"widthType",void 0);var c;o.width=(c=(i=n)===null||i===void 0?void 0:i.width)!==null&&c!==void 0?c:240;var l;return o.widthType=(l=(u=n)===null||u===void 0?void 0:u.widthType)!==null&&l!==void 0?l:"auto",o}return r}($g),N2=function e(t){F(this,e);var r,n,o;R(this,"pc",void 0),R(this,"mobile",void 0),this.pc=new Os((r=t)===null||r===void 0?void 0:r.pc),this.mobile=!((n=t)===null||n===void 0)&&n.mobile?new Os((o=t)===null||o===void 0?void 0:o.mobile):new Os({width:130,minWidth:180})},F2=function e(t){F(this,e);var r,n;R(this,"type",void 0),R(this,"customOptions",void 0);var o;this.type=(o=(r=t)===null||r===void 0?void 0:r.type)!==null&&o!==void 0?o:"firstThree";var i;this.customOptions=(i=(n=t)===null||n===void 0?void 0:n.customOptions)!==null&&i!==void 0?i:[]},Gr=function e(t){F(this,e);var r,n,o;R(this,"dataCode",void 0),R(this,"formKey",void 0),R(this,"appId",void 0);var i;this.dataCode=(i=(r=t)===null||r===void 0?void 0:r.dataCode)!==null&&i!==void 0?i:"";var u;this.formKey=(u=(n=t)===null||n===void 0?void 0:n.formKey)!==null&&u!==void 0?u:"";var c;this.appId=(c=(o=t)===null||o===void 0?void 0:o.appId)!==null&&c!==void 0?c:""},j2=function(e){lt(r,e);var t=at(r);function r(n){F(this,r);var o,i;o=t.call(this,n),R(U(o),"primaryControlId",void 0);var u;return o.primaryControlId=(u=(i=n)===null||i===void 0?void 0:i.primaryControlId)!==null&&u!==void 0?u:"",o}return r}(Gr),Pg=function e(t){F(this,e);var r;R(this,"fieldCode",void 0);var n;this.fieldCode=(n=(r=t)===null||r===void 0?void 0:r.fieldCode)!==null&&n!==void 0?n:""},ws=function e(t){F(this,e);var r,n,o,i;R(this,"appId",void 0),R(this,"formKey",void 0),R(this,"headers",void 0);var u;this.appId=(u=(r=t)===null||r===void 0?void 0:r.appId)!==null&&u!==void 0?u:"";var c;this.formKey=(c=(n=t)===null||n===void 0?void 0:n.formKey)!==null&&c!==void 0?c:"";var l;this.headers=(l=(i=t)===null||i===void 0||(o=i.headers)===null||o===void 0?void 0:o.map(function(a){return new Pg(a)}))!==null&&l!==void 0?l:[]},M2=function e(t){F(this,e);var r,n,o;R(this,"fieldName",void 0),R(this,"fieldCode",void 0),R(this,"fieldType",void 0);var i;this.fieldName=(i=(r=t)===null||r===void 0?void 0:r.fieldName)!==null&&i!==void 0?i:"";var u;this.fieldCode=(u=(n=t)===null||n===void 0?void 0:n.fieldCode)!==null&&u!==void 0?u:"";var c;this.fieldType=(c=(o=t)===null||o===void 0?void 0:o.fieldType)!==null&&c!==void 0?c:S.VARCHAR},L2=function(e){lt(r,e);var t=at(r);function r(n){F(this,r);var o,i,u,c,l;o=t.call(this,n),R(U(o),"title",void 0),R(U(o),"svcCode",void 0),R(U(o),"isOpenFilter",void 0),R(U(o),"filters",void 0);var a;o.title=(a=(i=n)===null||i===void 0?void 0:i.title)!==null&&a!==void 0?a:"";var f;o.svcCode=(f=(u=n)===null||u===void 0?void 0:u.svcCode)!==null&&f!==void 0?f:"";var s;o.isOpenFilter=(s=(c=n)===null||c===void 0?void 0:c.isOpenFilter)!==null&&s!==void 0?s:!1;var p;return o.filters=(p=(l=n)===null||l===void 0?void 0:l.filters)!==null&&p!==void 0?p:[],o}return r}(Gr),V2=function e(t){F(this,e);var r,n,o,i,u;R(this,"type","sublist-page"),R(this,"formBind",void 0),R(this,"displayFields",void 0),R(this,"sublists",void 0),this.formBind=new Gr((r=t)===null||r===void 0?void 0:r.formBind);var c;this.displayFields=(c=(o=t)===null||o===void 0||(n=o.displayFields)===null||n===void 0?void 0:n.map(function(a){return new M2(a)}))!==null&&c!==void 0?c:[];var l;this.sublists=(l=(u=t)===null||u===void 0||(i=u.sublists)===null||i===void 0?void 0:i.map(function(a){return new L2(a)}))!==null&&l!==void 0?l:[]},C2=function e(t){F(this,e);var r,n;R(this,"type",void 0),R(this,"value",void 0),this.type=(r=t)===null||r===void 0?void 0:r.type,this.value=(n=t)===null||n===void 0?void 0:n.value},co=function e(t){F(this,e);var r,n,o;R(this,"type",void 0),R(this,"value",void 0),R(this,"displayBos",void 0);var i;this.type=(i=(r=t)===null||r===void 0?void 0:r.type)!==null&&i!==void 0?i:"custom";var u;this.value=(u=(n=t)===null||n===void 0?void 0:n.value)!==null&&u!==void 0?u:[];var c;this.displayBos=(c=(o=t)===null||o===void 0?void 0:o.displayBos)!==null&&c!==void 0?c:[]},Rg=function e(t){var r=this;F(this,e);var n,o,i,u,c;R(this,"id",void 0),R(this,"ruleId",void 0),R(this,"type","conditions"),R(this,"level",void 0),R(this,"value",void 0),R(this,"children",void 0);var l;this.id=(l=(n=t)===null||n===void 0?void 0:n.id)!==null&&l!==void 0?l:Dt();var a;this.ruleId=(a=(o=t)===null||o===void 0?void 0:o.ruleId)!==null&&a!==void 0?a:new Date().valueOf();var f;this.level=(f=(i=t)===null||i===void 0?void 0:i.level)!==null&&f!==void 0?f:0;var s;if(this.value=(s=(u=t)===null||u===void 0?void 0:u.value)!==null&&s!==void 0?s:"and",this.children=[],Array.isArray((c=t)===null||c===void 0?void 0:c.children)){var p;(p=t)===null||p===void 0||p.children.map(function(_){if(_.children!==void 0){var h,d=new e(_);(h=r.children)===null||h===void 0||h.push(d)}else{var b,y=new $s(_);(b=r.children)===null||b===void 0||b.push(y)}})}},$s=function e(t){F(this,e);var r,n,o,i,u,c,l;R(this,"id",void 0),R(this,"ruleId",void 0),R(this,"type","condition"),R(this,"symbol",void 0),R(this,"checked",void 0),R(this,"describe",void 0),R(this,"leftVariableBo",void 0),R(this,"rightVariableBo",void 0);var a;this.id=(a=(r=t)===null||r===void 0?void 0:r.id)!==null&&a!==void 0?a:Dt();var f;this.ruleId=(f=(n=t)===null||n===void 0?void 0:n.ruleId)!==null&&f!==void 0?f:new Date().valueOf();var s;this.symbol=(s=(o=t)===null||o===void 0?void 0:o.symbol)!==null&&s!==void 0?s:"";var p;this.checked=(p=(i=t)===null||i===void 0?void 0:i.checked)!==null&&p!==void 0?p:!1;var _;this.describe=(_=(u=t)===null||u===void 0?void 0:u.describe)!==null&&_!==void 0?_:"",this.leftVariableBo=new C2((c=t)===null||c===void 0?void 0:c.leftVariableBo),this.rightVariableBo=new co((l=t)===null||l===void 0?void 0:l.rightVariableBo)},z2=function e(t){F(this,e);var r,n,o;R(this,"aliasCode",void 0),R(this,"datasourceBind",void 0),R(this,"relationFields",void 0);var i;this.aliasCode=(i=(r=t)===null||r===void 0?void 0:r.aliasCode)!==null&&i!==void 0?i:"",this.datasourceBind=new se((n=t)===null||n===void 0?void 0:n.datasourceBind);var u;this.relationFields=(u=(o=t)===null||o===void 0?void 0:o.relationFields)!==null&&u!==void 0?u:[]},je=function e(t){F(this,e);var r,n,o,i;R(this,"controlId",void 0),R(this,"fieldCode",void 0),R(this,"fieldType",void 0),R(this,"propName",void 0);var u;this.controlId=(u=(r=t)===null||r===void 0?void 0:r.controlId)!==null&&u!==void 0?u:"";var c;this.fieldCode=(c=(n=t)===null||n===void 0?void 0:n.fieldCode)!==null&&c!==void 0?c:"";var l;this.fieldType=(l=(o=t)===null||o===void 0?void 0:o.fieldType)!==null&&l!==void 0?l:"";var a;this.propName=(a=(i=t)===null||i===void 0?void 0:i.propName)!==null&&a!==void 0?a:""},Ps=function e(t){F(this,e);var r,n,o;R(this,"type",void 0),R(this,"value",void 0),R(this,"fieldType",void 0);var i;this.type=(i=(r=t)===null||r===void 0?void 0:r.type)!==null&&i!==void 0?i:"FIELD";var u;this.value=(u=(n=t)===null||n===void 0?void 0:n.value)!==null&&u!==void 0?u:"",this.fieldType=(o=t)===null||o===void 0?void 0:o.fieldType},H2=function e(t){F(this,e),R(this,"columnName",void 0),R(this,"desc",void 0);var r;this.columnName=(r=t.columnName)!==null&&r!==void 0?r:"";var n;this.desc=(n=t.desc)!==null&&n!==void 0?n:!1};function Rs(e){var t,r,n,o,i,u,c;this.filters=(c=(r=e)===null||r===void 0||(t=r.filters)===null||t===void 0?void 0:t.map(function(f){return f.children!==void 0?new Rg(f):new $s(f)}))!==null&&c!==void 0?c:[];var l;this.viewFilters=(l=(o=e)===null||o===void 0||(n=o.viewFilters)===null||n===void 0?void 0:n.map(function(f){return f.children!==void 0?new Rg(f):new $s(f)}))!==null&&l!==void 0?l:[];var a;this.orders=(a=(u=e)===null||u===void 0||(i=u.orders)===null||i===void 0?void 0:i.map(function(f){return new H2(f)}))!==null&&a!==void 0?a:[]}var se=function e(t){var r=this;F(this,e);var n,o,i,u,c,l,a,f;R(this,"dataCode",void 0),R(this,"valueFieldCode",void 0),R(this,"displayBoList",void 0),R(this,"keywordMapping",void 0),R(this,"svcCode",void 0),R(this,"appId",void 0),R(this,"filters",void 0),R(this,"viewFilters",void 0),R(this,"isOpenViewFilters",void 0),R(this,"orders",void 0),R(this,"showOrder",void 0);var s;this.dataCode=(s=(n=t)===null||n===void 0?void 0:n.dataCode)!==null&&s!==void 0?s:"";var p;this.appId=(p=(o=t)===null||o===void 0?void 0:o.appId)!==null&&p!==void 0?p:"";var _;this.valueFieldCode=(_=(i=t)===null||i===void 0?void 0:i.valueFieldCode)!==null&&_!==void 0?_:"",this.displayBoList=[];var h;if(this.isOpenViewFilters=(h=(u=t)===null||u===void 0?void 0:u.isOpenViewFilters)!==null&&h!==void 0?h:0,Array.isArray((c=t)===null||c===void 0?void 0:c.displayBoList)){var d;(d=t)===null||d===void 0||d.displayBoList.map(function(O){var w;(w=r.displayBoList)===null||w===void 0||w.push(new Ps(O))})}var b;this.keywordMapping=(b=(l=t)===null||l===void 0?void 0:l.keywordMapping)!==null&&b!==void 0?b:"";var y;this.showOrder=(y=(a=t)===null||a===void 0?void 0:a.showOrder)!==null&&y!==void 0?y:!0;var g;this.svcCode=(g=(f=t)===null||f===void 0?void 0:f.svcCode)!==null&&g!==void 0?g:"",Rs.call(this,t)},Ss=function e(t){F(this,e);var r,n;R(this,"dataCode",void 0),R(this,"displayBoList",void 0);var o;this.dataCode=(o=(r=t)===null||r===void 0?void 0:r.dataCode)!==null&&o!==void 0?o:"";var i;this.displayBoList=(i=(n=t)===null||n===void 0?void 0:n.displayBoList)!==null&&i!==void 0?i:[]},er=function e(t){F(this,e);var r,n,o,i,u,c,l,a,f,s;R(this,"code",void 0),R(this,"color",void 0),R(this,"command",void 0),R(this,"confirmMessage",void 0),R(this,"defaultState",void 0),R(this,"formKey",void 0),R(this,"icon",void 0),R(this,"needConfirm",void 0),R(this,"openType",void 0),R(this,"priorityProcess",void 0);var p;this.code=(p=(r=t)===null||r===void 0?void 0:r.code)!==null&&p!==void 0?p:"view";var _;this.color=(_=(n=t)===null||n===void 0?void 0:n.color)!==null&&_!==void 0?_:"primary";var h;this.command=(h=(o=t)===null||o===void 0?void 0:o.command)!==null&&h!==void 0?h:"view";var d;this.confirmMessage=(d=(i=t)===null||i===void 0?void 0:i.confirmMessage)!==null&&d!==void 0?d:void 0;var b;this.defaultState=(b=(u=t)===null||u===void 0?void 0:u.defaultState)!==null&&b!==void 0?b:"default";var y;this.formKey=(y=(c=t)===null||c===void 0?void 0:c.formKey)!==null&&y!==void 0?y:void 0;var g;this.icon=(g=(l=t)===null||l===void 0?void 0:l.icon)!==null&&g!==void 0?g:"iconliulan1";var O;this.needConfirm=(O=(a=t)===null||a===void 0?void 0:a.needConfirm)!==null&&O!==void 0?O:!1;var w;this.openType=(w=(f=t)===null||f===void 0?void 0:f.openType)!==null&&w!==void 0?w:"modal";var P;this.priorityProcess=(P=(s=t)===null||s===void 0?void 0:s.priorityProcess)!==null&&P!==void 0?P:!0},Sg=function e(t){F(this,e);var r,n,o,i;R(this,"name",void 0),R(this,"key",void 0),R(this,"value",void 0);var u;this.name=(u=(r=t)===null||r===void 0?void 0:r.name)!==null&&u!==void 0?u:"";var c;this.key=(c=(n=t)===null||n===void 0?void 0:n.key)!==null&&c!==void 0?c:"";var l;this.value=(l=(i=t)===null||i===void 0||(o=i.value)===null||o===void 0?void 0:o.map(function(a){return new Ps(a)}))!==null&&l!==void 0?l:[]},Co=function(e){lt(r,e);var t=at(r);function r(n){F(this,r);var o,i,u;o=t.call(this,n),R(U(o),"attributes",void 0);var c;return o.attributes=(c=(u=n)===null||u===void 0||(i=u.attributes)===null||i===void 0?void 0:i.map(function(l){return new Sg(l)}))!==null&&c!==void 0?c:[],o}return r}(se),q2=function(e){lt(r,e);var t=at(r);function r(n){F(this,r);var o,i,u,c;o=t.call(this,n),R(U(o),"attributes",void 0),R(U(o),"formCode",void 0);var l;o.attributes=(l=(u=n)===null||u===void 0||(i=u.attributes)===null||i===void 0?void 0:i.map(function(f){return new Sg(f)}))!==null&&l!==void 0?l:[];var a;return o.formCode=(a=(c=n)===null||c===void 0?void 0:c.formCode)!==null&&a!==void 0?a:"",o}return r}(se),Eg=function(e){lt(r,e);var t=at(r);function r(n){F(this,r);var o,i,u;o=t.call(this,n),R(U(o),"rootNode",void 0),R(U(o),"filterCode",void 0),o.rootNode=new co((i=n)===null||i===void 0?void 0:i.rootNode);var c;return o.filterCode=(c=(u=n)===null||u===void 0?void 0:u.filterCode)!==null&&c!==void 0?c:"",o}return r}(Co),Tg=function e(t){F(this,e);var r,n,o,i;R(this,"dataCode",void 0),R(this,"appId",void 0),R(this,"fillList",void 0);var u;this.dataCode=(u=(r=t)===null||r===void 0?void 0:r.dataCode)!==null&&u!==void 0?u:"";var c;this.appId=(c=(n=t)===null||n===void 0?void 0:n.appId)!==null&&c!==void 0?c:"";var l;this.fillList=(l=(i=t)===null||i===void 0||(o=i.fillList)===null||o===void 0?void 0:o.map(function(a){return new je(a)}))!==null&&l!==void 0?l:[]},Ig=function(e){lt(r,e);var t=at(r);function r(n){F(this,r);var o;return o=t.call(this,n),R(U(o),"filters",void 0),R(U(o),"viewFilters",void 0),R(U(o),"orders",void 0),Rs.call(U(o),n),o}return r}(Tg),Bg=function(e){lt(r,e);var t=at(r);function r(n){F(this,r);var o,i,u;o=t.call(this,n),R(U(o),"mode",void 0),R(U(o),"multiple",void 0);var c;o.mode=(c=(i=n)===null||i===void 0?void 0:i.mode)!==null&&c!==void 0?c:"current";var l;return o.multiple=(l=(u=n)===null||u===void 0?void 0:u.multiple)!==null&&l!==void 0?l:!1,o}return r}(Tg),Ag=function e(t){F(this,e);var r,n,o;R(this,"stencilName",void 0),R(this,"expression",void 0),R(this,"errMessage",void 0);var i;this.stencilName=(i=(r=t)===null||r===void 0?void 0:r.stencilName)!==null&&i!==void 0?i:"";var u;this.expression=(u=(n=t)===null||n===void 0?void 0:n.expression)!==null&&u!==void 0?u:"";var c;this.errMessage=(c=(o=t)===null||o===void 0?void 0:o.errMessage)!==null&&c!==void 0?c:""},U2=function e(t){F(this,e);var r,n,o;R(this,"id",void 0),R(this,"label",void 0),R(this,"value",void 0);var i;this.id=(i=(r=t)===null||r===void 0?void 0:r.id)!==null&&i!==void 0?i:Dt(8);var u;this.label=(u=(n=t)===null||n===void 0?void 0:n.label)!==null&&u!==void 0?u:"";var c;this.value=(c=(o=t)===null||o===void 0?void 0:o.value)!==null&&c!==void 0?c:this.label};function Nt(e){var t,r;return(r=(t=e)===null||t===void 0?void 0:t.map(function(n){return new U2(n)}))!==null&&r!==void 0?r:[]}var Es=function e(){F(this,e)},W2=function(e){lt(r,e);var t=at(r);function r(n){F(this,r);var o,i,u;return o=t.call(this),R(U(o),"amount",void 0),R(U(o),"currency",void 0),o.amount=new ft((i=n)===null||i===void 0?void 0:i.amount),o.currency=new ft((u=n)===null||u===void 0?void 0:u.currency),o}return r}(Es),K2=function e(t){F(this,e);var r,n;R(this,"amount",void 0),R(this,"currency",void 0);var o;this.amount=(o=(r=t)===null||r===void 0?void 0:r.amount)!==null&&o!==void 0?o:"";var i;this.currency=(i=(n=t)===null||n===void 0?void 0:n.currency)!==null&&i!==void 0?i:zo.CNY},G2=function(e){lt(r,e);var t=at(r);function r(n){F(this,r);var o,i,u;return o=t.call(this),R(U(o),"min",void 0),R(U(o),"max",void 0),o.min=new ft((i=n)===null||i===void 0?void 0:i.min),o.max=new ft((u=n)===null||u===void 0?void 0:u.max),o}return r}(Es),X2=function e(t){F(this,e);var r,n;R(this,"min",void 0),R(this,"max",void 0);var o;this.min=(o=(r=t)===null||r===void 0?void 0:r.min)!==null&&o!==void 0?o:"";var i;this.max=(i=(n=t)===null||n===void 0?void 0:n.max)!==null&&i!==void 0?i:""},J2=function e(t){F(this,e);var r,n,o,i,u,c;R(this,"city",void 0),R(this,"cityDisplay",void 0),R(this,"district",void 0),R(this,"districtDisplay",void 0),R(this,"province",void 0),R(this,"provinceDisplay",void 0);var l;this.city=(l=(r=t)===null||r===void 0?void 0:r.city)!==null&&l!==void 0?l:"";var a;this.cityDisplay=(a=(n=t)===null||n===void 0?void 0:n.cityDisplay)!==null&&a!==void 0?a:"";var f;this.district=(f=(o=t)===null||o===void 0?void 0:o.district)!==null&&f!==void 0?f:"";var s;this.districtDisplay=(s=(i=t)===null||i===void 0?void 0:i.districtDisplay)!==null&&s!==void 0?s:"";var p;this.province=(p=(u=t)===null||u===void 0?void 0:u.province)!==null&&p!==void 0?p:"";var _;this.provinceDisplay=(_=(c=t)===null||c===void 0?void 0:c.provinceDisplay)!==null&&_!==void 0?_:""},Q2=function(e){lt(r,e);var t=at(r);function r(n){F(this,r);var o,i,u;return o=t.call(this),R(U(o),"result",void 0),R(U(o),"unit",void 0),o.result=new ft((i=n)===null||i===void 0?void 0:i.result),o.unit=new ft((u=n)===null||u===void 0?void 0:u.unit),o}return r}(Es),Z2=function e(t){F(this,e);var r,n;R(this,"result",void 0),R(this,"unit",void 0);var o;this.result=(o=(r=t)===null||r===void 0?void 0:r.result)!==null&&o!==void 0?o:0;var i;this.unit=(i=(n=t)===null||n===void 0?void 0:n.unit)!==null&&i!==void 0?i:""},zo;(function(e){e.CNY="CNY",e.USD="USD",e.JPY="JPY",e.EUR="EUR",e.INR="INR",e.IDR="IDR",e.BRL="BRL",e.AED="AED",e.AUD="AUD",e.CAD="CAD",e.EGP="EGP",e.GBP="GBP",e.ZAR="ZAR",e.KRW="KRW",e.MAD="MAD",e.MXN="MXN",e.MYR="MYR",e.PHP="PHP",e.PLN="PLN",e.RUB="RUB",e.SGD="SGD",e.THB="THB",e.TRY="TRY",e.TWD="TWD",e.VND="VND",e.HKD="HKD",e.IEP="IEP"})(zo||(zo={}));var v;(function(e){e.DEFAULT_DISPLAY="defaultDisplay",e.REQUIRED="required",e.IS_HIDE="isHide",e.IS_SHOW_UNIT="isShowUnit",e.IMD_SEARCH="immediatelySearch",e.MULTIPLE="multiple",e.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",e.CAPTION="caption",e.IS_HIDE_CAPTION="isHideCaption",e.DEFAULT_SHOW_OPTIONS="defaultShowOptions",e.CAN_SEARCH="canSearch",e.CAN_CHECK="canCheck",e.CAN_EDIT="canEdit",e.CAN_DELETE="canDelete",e.SHOW_UPPER_CASE="showUpperCase",e.MICROMETER="micrometer",e.PRECISION="precision",e.PERCENTAGE="percentage",e.OPTIONAL_LEVEL="optionalLevel",e.CONTAINS_SUB_NODE="containsSubNode",e.DEFAULT_COLLAPSE="defaultCollapse",e.CAN_VIEW_FORM="canViewForm",e.VIEW_FORM_MODEL_TYPE="viewFormModelType",e.SERVER_PAGINATION="serverPagination",e.IS_SHOW_CAPTION_TIP="isShowCaptionTip",e.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions",e.IS_PASTE="isPaste"})(v||(v={}));var Ts;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"})(Ts||(Ts={}));var tr=function e(t){F(this,e);var r,n,o,i,u,c;R(this,"isShow",void 0),R(this,"priorityProcess",void 0),R(this,"formKey",void 0),R(this,"content",void 0),R(this,"openType",void 0),R(this,"type",void 0);var l;this.isShow=(l=(r=t)===null||r===void 0?void 0:r.isShow)!==null&&l!==void 0?l:!0;var a;this.content=(a=(n=t)===null||n===void 0?void 0:n.content)!==null&&a!==void 0?a:"";var f;this.formKey=(f=(o=t)===null||o===void 0?void 0:o.formKey)!==null&&f!==void 0?f:"";var s;this.openType=(s=(i=t)===null||i===void 0?void 0:i.openType)!==null&&s!==void 0?s:"modal";var p;this.type=(p=(u=t)===null||u===void 0?void 0:u.type)!==null&&p!==void 0?p:"";var _;this.priorityProcess=(_=(c=t)===null||c===void 0?void 0:c.priorityProcess)!==null&&_!==void 0?_:!1},Y2=function e(t){F(this,e);var r,n,o,i;R(this,"id",void 0),R(this,"title",void 0),R(this,"filters",void 0),R(this,"viewFilters",void 0),R(this,"headers",void 0);var u;this.id=(u=(r=t)===null||r===void 0?void 0:r.id)!==null&&u!==void 0?u:Dt(8);var c;this.title=(c=(n=t)===null||n===void 0?void 0:n.title)!==null&&c!==void 0?c:"";var l;this.headers=(l=(i=t)===null||i===void 0||(o=i.headers)===null||o===void 0?void 0:o.map(function(a){return new Pg(a)}))!==null&&l!==void 0?l:[],Rs.call(this,t)},eA=function e(t){F(this,e);var r,n,o,i;R(this,"width",void 0),R(this,"height",void 0),R(this,"widthConfig",void 0),R(this,"heightConfig",void 0);var u;this.width=(u=(r=t)===null||r===void 0?void 0:r.width)!==null&&u!==void 0?u:"";var c;this.height=(c=(n=t)===null||n===void 0?void 0:n.height)!==null&&c!==void 0?c:"";var l;this.widthConfig=(l=(o=t)===null||o===void 0?void 0:o.widthConfig)!==null&&l!==void 0?l:"fill";var a;this.heightConfig=(a=(i=t)===null||i===void 0?void 0:i.heightConfig)!==null&&a!==void 0?a:"fill"},tA=function e(t){F(this,e);var r,n;R(this,"optCode",void 0),R(this,"optType",void 0);var o;this.optCode=(o=(r=t)===null||r===void 0?void 0:r.optCode)!==null&&o!==void 0?o:"";var i;this.optType=(i=(n=t)===null||n===void 0?void 0:n.optType)!==null&&i!==void 0?i:""};function rA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Is(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ho(e,t,r){return xg()?Ho=Reflect.construct:Ho=function(o,i,u){var c=[null];c.push.apply(c,i);var l=Function.bind.apply(o,c),a=new l;return u&&ao(a,u.prototype),a},Ho.apply(null,arguments)}function Pr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lo(e){return lo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lo(e)}function nA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ao(e,t)}function oA(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function iA(e,t){return t&&(uA(t)==="object"||typeof t=="function")?t:rA(e)}function ao(e,t){return ao=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ao(e,t)}function uA(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bs(e){var t=typeof Map=="function"?new Map:void 0;return Bs=function(n){if(n===null||!oA(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return Ho(n,arguments,lo(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),ao(o,n)},Bs(e)}function xg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cA(e){var t=xg();return function(){var n=lo(e),o;if(t){var i=lo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iA(this,o)}}var le=function e(t){Is(this,e),Pr(this,"isHide",{type:"boolean"})},Rr=function(e){nA(r,e);var t=cA(r);function r(n){return Is(this,r),t.call(this)}return r}(Bs(Array)),pe=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Is(this,e);var n,o,i;Pr(this,"isHide",void 0),Pr(this,"className",void 0),Pr(this,"style",void 0),Pr(this,"caption",void 0);var u;this.isHide=(u=(n=t)===null||n===void 0?void 0:n.isHide)!==null&&u!==void 0?u:!1,this.style=new eA((o=t)===null||o===void 0?void 0:o.style);var c;this.caption=(c=(i=t)===null||i===void 0?void 0:i.caption)!==null&&c!==void 0?c:r};Pr(pe,"Rules",le),Pr(pe,"RuntimeRules",Rr);function Pt(){return Pt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Pt.apply(this,arguments)}function lA(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function As(e){return As=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},As(e)}function qo(e,t){return qo=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qo(e,t)}function aA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function Uo(e,t,r){return aA()?Uo=Reflect.construct:Uo=function(o,i,u){var c=[null];c.push.apply(c,i);var l=Function.bind.apply(o,c),a=new l;return u&&qo(a,u.prototype),a},Uo.apply(null,arguments)}function fA(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function xs(e){var t=typeof Map=="function"?new Map:void 0;return xs=function(n){if(n===null||!fA(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return Uo(n,arguments,As(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),qo(o,n)},xs(e)}var sA=/%[sdj%]/g,kg=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(kg=function(t,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function ks(e){if(!e||!e.length)return null;var t={};return e.forEach(function(r){var n=r.field;t[n]=t[n]||[],t[n].push(r)}),t}function Ke(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=1,o=t[0],i=t.length;if(typeof o=="function")return o.apply(null,t.slice(1));if(typeof o=="string"){var u=String(o).replace(sA,function(c){if(c==="%%")return"%";if(n>=i)return c;switch(c){case"%s":return String(t[n++]);case"%d":return Number(t[n++]);case"%j":try{return JSON.stringify(t[n++])}catch(l){return"[Circular]"}break;default:return c}});return u}return o}function pA(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function ae(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||pA(t)&&typeof e=="string"&&!e)}function _A(e,t,r){var n=[],o=0,i=e.length;function u(c){n.push.apply(n,c),o++,o===i&&r(n)}e.forEach(function(c){t(c,u)})}function Dg(e,t,r){var n=0,o=e.length;function i(u){if(u&&u.length){r(u);return}var c=n;n=n+1,c<o?t(e[c],i):r([])}i([])}function yA(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var Ng=function(e){lA(t,e);function t(r,n){var o;return o=e.call(this,"Async Validation Error")||this,o.errors=r,o.fields=n,o}return t}(xs(Error));function dA(e,t,r,n){if(t.first){var o=new Promise(function(s,p){var _=function(b){return n(b),b.length?p(new Ng(b,ks(b))):s()},h=yA(e);Dg(h,r,_)});return o.catch(function(s){return s}),o}var i=t.firstFields||[];i===!0&&(i=Object.keys(e));var u=Object.keys(e),c=u.length,l=0,a=[],f=new Promise(function(s,p){var _=function(d){if(a.push.apply(a,d),l++,l===c)return n(a),a.length?p(new Ng(a,ks(a))):s()};u.length||(n(a),s()),u.forEach(function(h){var d=e[h];i.indexOf(h)!==-1?Dg(d,r,_):_A(d,r,_)})});return f.catch(function(s){return s}),f}function Fg(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 jg(e,t){if(t){for(var r in t)if(t.hasOwnProperty(r)){var n=t[r];typeof n=="object"&&typeof e[r]=="object"?e[r]=Pt(Pt({},e[r]),n):e[r]=n}}return e}function Mg(e,t,r,n,o,i){e.required&&(!r.hasOwnProperty(e.field)||ae(t,i||e.type))&&n.push(Ke(o.messages.required,e.fullField))}function vA(e,t,r,n,o){(/^\s+$/.test(t)||t==="")&&n.push(Ke(o.messages.whitespace,e.fullField))}var Ds={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},fo={integer:function(t){return fo.number(t)&&parseInt(t,10)===t},float:function(t){return fo.number(t)&&!fo.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(r){return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!fo.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(Ds.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(Ds.url)},hex:function(t){return typeof t=="string"&&!!t.match(Ds.hex)}};function hA(e,t,r,n,o){if(e.required&&t===void 0){Mg(e,t,r,n,o);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],u=e.type;i.indexOf(u)>-1?fo[u](t)||n.push(Ke(o.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&n.push(Ke(o.messages.types[u],e.fullField,e.type))}function bA(e,t,r,n,o){var i=typeof e.len=="number",u=typeof e.min=="number",c=typeof e.max=="number",l=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,a=t,f=null,s=typeof t=="number",p=typeof t=="string",_=Array.isArray(t);if(s?f="number":p?f="string":_&&(f="array"),!f)return!1;_&&(a=t.length),p&&(a=t.replace(l,"_").length),i?a!==e.len&&n.push(Ke(o.messages[f].len,e.fullField,e.len)):u&&!c&&a<e.min?n.push(Ke(o.messages[f].min,e.fullField,e.min)):c&&!u&&a>e.max?n.push(Ke(o.messages[f].max,e.fullField,e.max)):u&&c&&(a<e.min||a>e.max)&&n.push(Ke(o.messages[f].range,e.fullField,e.min,e.max))}var Xr="enum";function gA(e,t,r,n,o){e[Xr]=Array.isArray(e[Xr])?e[Xr]:[],e[Xr].indexOf(t)===-1&&n.push(Ke(o.messages[Xr],e.fullField,e[Xr].join(", ")))}function mA(e,t,r,n,o){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(Ke(o.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var i=new RegExp(e.pattern);i.test(t)||n.push(Ke(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var V={required:Mg,whitespace:vA,type:hA,range:bA,enum:gA,pattern:mA};function OA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ae(t,"string")&&!e.required)return r();V.required(e,t,n,i,o,"string"),ae(t,"string")||(V.type(e,t,n,i,o),V.range(e,t,n,i,o),V.pattern(e,t,n,i,o),e.whitespace===!0&&V.whitespace(e,t,n,i,o))}r(i)}function wA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ae(t)&&!e.required)return r();V.required(e,t,n,i,o),t!==void 0&&V.type(e,t,n,i,o)}r(i)}function $A(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t===""&&(t=void 0),ae(t)&&!e.required)return r();V.required(e,t,n,i,o),t!==void 0&&(V.type(e,t,n,i,o),V.range(e,t,n,i,o))}r(i)}function PA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ae(t)&&!e.required)return r();V.required(e,t,n,i,o),t!==void 0&&V.type(e,t,n,i,o)}r(i)}function RA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ae(t)&&!e.required)return r();V.required(e,t,n,i,o),ae(t)||V.type(e,t,n,i,o)}r(i)}function SA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ae(t)&&!e.required)return r();V.required(e,t,n,i,o),t!==void 0&&(V.type(e,t,n,i,o),V.range(e,t,n,i,o))}r(i)}function EA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ae(t)&&!e.required)return r();V.required(e,t,n,i,o),t!==void 0&&(V.type(e,t,n,i,o),V.range(e,t,n,i,o))}r(i)}function TA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t==null&&!e.required)return r();V.required(e,t,n,i,o,"array"),t!=null&&(V.type(e,t,n,i,o),V.range(e,t,n,i,o))}r(i)}function IA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ae(t)&&!e.required)return r();V.required(e,t,n,i,o),t!==void 0&&V.type(e,t,n,i,o)}r(i)}var BA="enum";function AA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ae(t)&&!e.required)return r();V.required(e,t,n,i,o),t!==void 0&&V[BA](e,t,n,i,o)}r(i)}function xA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ae(t,"string")&&!e.required)return r();V.required(e,t,n,i,o),ae(t,"string")||V.pattern(e,t,n,i,o)}r(i)}function kA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ae(t,"date")&&!e.required)return r();if(V.required(e,t,n,i,o),!ae(t,"date")){var c;t instanceof Date?c=t:c=new Date(t),V.type(e,c,n,i,o),c&&V.range(e,c.getTime(),n,i,o)}}r(i)}function DA(e,t,r,n,o){var i=[],u=Array.isArray(t)?"array":typeof t;V.required(e,t,n,i,o,u),r(i)}function Ns(e,t,r,n,o){var i=e.type,u=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(ae(t,i)&&!e.required)return r();V.required(e,t,n,u,o,i),ae(t,i)||V.type(e,t,n,u,o)}r(u)}function NA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ae(t)&&!e.required)return r();V.required(e,t,n,i,o)}r(i)}var so={string:OA,method:wA,number:$A,boolean:PA,regexp:RA,integer:SA,float:EA,array:TA,object:IA,enum:AA,pattern:xA,date:kA,url:Ns,hex:Ns,email:Ns,required:DA,any:NA};function Fs(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var js=Fs();function rr(e){this.rules=null,this._messages=js,this.define(e)}rr.prototype={messages:function(t){return t&&(this._messages=jg(Fs(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if(typeof t!="object"||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var r,n;for(r in t)t.hasOwnProperty(r)&&(n=t[r],this.rules[r]=Array.isArray(n)?n:[n])},validate:function(t,r,n){var o=this;r===void 0&&(r={}),n===void 0&&(n=function(){});var i=t,u=r,c=n;if(typeof u=="function"&&(c=u,u={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(),Promise.resolve();function l(d){var b,y=[],g={};function O(w){if(Array.isArray(w)){var P;y=(P=y).concat.apply(P,w)}else y.push(w)}for(b=0;b<d.length;b++)O(d[b]);y.length?g=ks(y):(y=null,g=null),c(y,g)}if(u.messages){var a=this.messages();a===js&&(a=Fs()),jg(a,u.messages),u.messages=a}else u.messages=this.messages();var f,s,p={},_=u.keys||Object.keys(this.rules);_.forEach(function(d){f=o.rules[d],s=i[d],f.forEach(function(b){var y=b;typeof y.transform=="function"&&(i===t&&(i=Pt({},i)),s=i[d]=y.transform(s)),typeof y=="function"?y={validator:y}:y=Pt({},y),y.validator=o.getValidationMethod(y),y.field=d,y.fullField=y.fullField||d,y.type=o.getType(y),y.validator&&(p[d]=p[d]||[],p[d].push({rule:y,value:s,source:i,field:d}))})});var h={};return dA(p,u,function(d,b){var y=d.rule,g=(y.type==="object"||y.type==="array")&&(typeof y.fields=="object"||typeof y.defaultField=="object");g=g&&(y.required||!y.required&&d.value),y.field=d.field;function O(E,T){return Pt(Pt({},T),{},{fullField:y.fullField+"."+E})}function w(E){E===void 0&&(E=[]);var T=E;if(Array.isArray(T)||(T=[T]),!u.suppressWarning&&T.length&&rr.warning("async-validator:",T),T.length&&y.message!==void 0&&(T=[].concat(y.message)),T=T.map(Fg(y)),u.first&&T.length)return h[y.field]=1,b(T);if(!g)b(T);else{if(y.required&&!d.value)return y.message!==void 0?T=[].concat(y.message).map(Fg(y)):u.error&&(T=[u.error(y,Ke(u.messages.required,y.field))]),b(T);var B={};if(y.defaultField)for(var I in d.value)d.value.hasOwnProperty(I)&&(B[I]=y.defaultField);B=Pt(Pt({},B),d.rule.fields);for(var A in B)if(B.hasOwnProperty(A)){var x=Array.isArray(B[A])?B[A]:[B[A]];B[A]=x.map(O.bind(null,A))}var k=new rr(B);k.messages(u.messages),d.rule.options&&(d.rule.options.messages=u.messages,d.rule.options.error=u.error),k.validate(d.value,d.rule.options||u,function(N){var D=[];T&&T.length&&D.push.apply(D,T),N&&N.length&&D.push.apply(D,N),b(D.length?D:null)})}}var P;y.asyncValidator?P=y.asyncValidator(y,d.value,w,d.source,u):y.validator&&(P=y.validator(y,d.value,w,d.source,u),P===!0?w():P===!1?w(y.message||y.field+" fails"):P instanceof Array?w(P):P instanceof Error&&w(P.message)),P&&P.then&&P.then(function(){return w()},function(E){return w(E)})},function(d){l(d)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!so.hasOwnProperty(t.type))throw new Error(Ke("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if(typeof t.validator=="function")return t.validator;var r=Object.keys(t),n=r.indexOf("message");return n!==-1&&r.splice(n,1),r.length===1&&r[0]==="required"?so.required:so[this.getType(t)]||!1}},rr.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");so[t]=r},rr.warning=kg,rr.messages=js,rr.validators=so;var FA={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 jA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new rr(e);return r.messages(Object.assign(FA,t)),r}var MA=new P2;function Ms(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function LA(e){if(Array.isArray(e))return e}function VA(e){if(Array.isArray(e))return Ms(e)}function Lg(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(a){r(a);return}c.done?t(l):Promise.resolve(l).then(n,o)}function Vg(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){Lg(i,n,o,u,c,"next",l)}function c(l){Lg(i,n,o,u,c,"throw",l)}u(void 0)})}}function CA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zA(e,t,r){return t&&Cg(e.prototype,t),r&&Cg(e,r),e}function W(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zg(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Hg(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function HA(){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 qA(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function qg(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){W(e,o,r[o])})}return e}function UA(e){return LA(e)||Hg(e)||Ug(e)||HA()}function Ls(e){return VA(e)||Hg(e)||Ug(e)||qA()}function Ug(e,t){if(!!e){if(typeof e=="string")return Ms(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ms(e,t)}}function Wg(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(a){return function(f){return l([a,f])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(f){a=[6,f],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var K=function(){function t(r){var n=this;CA(this,t);var o,i,u,c,l;W(this,"id",void 0),W(this,"name",void 0),W(this,"icon",void 0),W(this,"type",void 0),W(this,"controlType",void 0),W(this,"props",void 0),W(this,"setting",[]),W(this,"fieldType",void 0),W(this,"eventKeys",[]),W(this,"customEvents",[]),W(this,"parent",null),W(this,"updateSetting",Gg),W(this,"removeSetting",Kg),this._callControlHooks("preInstance",r);var a=zg(this,t)?this.constructor:void 0,f=a.controlName,s=a.controlIcon,p=a.controlType,_=a.controlFieldType,h=a.controlEventKeys,d=a.controlCustomEvents,b=a.name,y=a.setting;f&&s&&p||pg("The ".concat(b," controlName,controlIcon,controlType is not define"));var g;this.id=(g=(o=r)===null||o===void 0?void 0:o.id)!==null&&g!==void 0?g:Dt(10),this.name=f,this.icon=s;var O;this.type=(O=(i=r)===null||i===void 0?void 0:i.type)!==null&&O!==void 0?O:p,this.props=new pe((u=r)===null||u===void 0?void 0:u.props,(zg(this,t)?this.constructor:void 0).controlName);var w;this.controlType=(w=(c=r)===null||c===void 0?void 0:c.controlType)!==null&&w!==void 0?w:"base",this.setting=Yt(y);var P;this.fieldType=(P=(l=r)===null||l===void 0?void 0:l.fieldType)!==null&&P!==void 0?P:_,this.eventKeys=Yt(h),this.customEvents=Yt(d),Promise.resolve().then(function(){n._callControlHooks("postInstance",r)})}return zA(t,[{key:"rules",get:function(){var n=this.props.constructor.Rules;return n?new n(this.props):{}}},{key:"_callControlHooks",value:function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];var u,c=UA(o),l=c[0],a=c.slice(1);return(u=MA).emit.apply(u,[l,this].concat(Ls(a)))}},{key:"preUpdate",value:function(n,o){this._callControlHooks("preUpdateProps",n,o)}},{key:"postUpdate",value:function(n,o){this._callControlHooks("postUpdateProps",n,o)}},{key:"updateProps",value:function(n,o){this.preUpdate(n,o),s2(this.props,n,o),this.postUpdate(n,o)}},{key:"preValidate",value:function(){var n=this;return Vg(function(){var o,i,u;return Wg(this,function(c){switch(c.label){case 0:return o=qg({},n.rules),[4,n._callControlHooks("preValidate",o)];case 1:return i=c.sent(),u=i[i.length-1],[2,u===!1?void 0:u]}})})()}},{key:"validate",value:function(n,o){var i=this;return Vg(function(){var u,c,l,a;return Wg(this,function(f){switch(f.label){case 0:return[4,i.preValidate()];case 1:u=f.sent(),c=u!==void 0?u:qg({},i.rules),Array.isArray(o)&&o.forEach(function(s){c.hasOwnProperty(s)&&delete c[s]}),l=jA(c,n),f.label=2;case 2:return f.trys.push([2,4,,5]),[4,l.validate(i.props)];case 3:return f.sent(),[2,!0];case 4:throw a=f.sent(),a.control||(a.control=i),a;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,o=this.fieldType,i=this.id,u=this.type,c=this.props,l=c.dataBind,a=c.datasourceBind,f=c.optionConfig,s=c.caption,p=c.required,_=c.maxLength,h=c.options,d=c.encrypted,b=c.encryptedMode;if(!(!o&&!l&&!a)){var y={parentId:n,fieldType:o,controlId:i,caption:s,type:u,props:{}};switch(l&&(y.dataBind=l),f){case"datasource":case void 0:a&&(y.datasourceBind=a);break;case"custom":y.props.options=h;break}return p!==void 0&&(y.required=p),_!==void 0&&(y.maxLength=_),d!==void 0&&(y.encrypted=d),b!==void 0&&(y.encryptedMode=b),y}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Yt(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(n,o){if(n==="setting"){if(o.add){var i;(i=this.setting).push.apply(i,Ls(o.add))}o.remove&&this.removeSettingItem(o.remove),o.update}}}]),t}();W(K,"controlName","\u63A7\u4EF6"),W(K,"controlIcon","icon"),W(K,"controlType","control"),W(K,"controlFieldType",void 0),W(K,"controlEventKeys",[]),W(K,"controlCustomEvents",[]),W(K,"setting",[]),W(K,"__is_control__",!0),W(K,"removeSettingItem",Kg),W(K,"updateSettingItem",Gg);function Kg(e){var t=this,r=Array.isArray(e)?e:[e];r.forEach(function(n){var o,i=typeof n!="string",u=(o=t.setting)===null||o===void 0?void 0:o.findIndex(function(a){return a.key===(i?n.key:n)});if(u!==-1){var c,l;i?t.setting[u].showItems=(c=t.setting[u].showItems)===null||c===void 0?void 0:c.filter(function(a){return!n.hideItems.includes(a)}):t.setting.splice(u,1),i&&!(!((l=t.setting[u].showItems)===null||l===void 0)&&l.length)&&t.setting.splice(u,1)}})}function Gg(e,t){var r=this,n=typeof e=="string"?[e]:e;n.forEach(function(o){var i=r.setting.find(function(a){return a.key===o});if(i){if(typeof t=="boolean")i.visible=t;else if(typeof t=="object"){var u,c=(u=t.type)!==null&&u!==void 0?u:"replace";if(c==="replace")i.showItems=t.showItems;else{var l;(l=i.showItems).push.apply(l,Ls(t.showItems))}}}})}function WA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function KA(e,t,r){return t&&Xg(e.prototype,t),r&&Xg(e,r),e}function Ye(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function GA(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var nr=function(){function t(r){WA(this,t);var n,o,i,u,c,l;Ye(this,"id",void 0),Ye(this,"type",void 0),Ye(this,"controlType",void 0),Ye(this,"props",void 0),Ye(this,"fieldType",void 0),Ye(this,"customEvents",[]),Ye(this,"pageStatus",void 0),Ye(this,"parent",null);var a=GA(this,t)?this.constructor:void 0,f=a.controlType,s=a.controlFieldType,p=a.name,_=a.controlCustomEvents;f||pg("The ".concat(p," controlType is not define"));var h;this.id=(h=(n=r)===null||n===void 0?void 0:n.id)!==null&&h!==void 0?h:Dt(10);var d;this.type=(d=(o=r)===null||o===void 0?void 0:o.type)!==null&&d!==void 0?d:f,this.props=new pe((i=r)===null||i===void 0?void 0:i.props),this.customEvents=_;var b;this.controlType=(b=(u=r)===null||u===void 0?void 0:u.controlType)!==null&&b!==void 0?b:"base";var y;this.fieldType=(y=(c=r)===null||c===void 0?void 0:c.fieldType)!==null&&y!==void 0?y:s;var g;this.pageStatus=(g=(l=r)===null||l===void 0?void 0:l.pageStatus)!==null&&g!==void 0?g:Ts.UNKNOWN}return KA(t,[{key:"rules",get:function(){var n=this.props.constructor.RuntimeRules;if(n){var o=new n(this.props);return Array.from(o)}return[]}}]),t}();Ye(nr,"controlType","control"),Ye(nr,"controlFieldType",void 0),Ye(nr,"__is_control__",!0),Ye(nr,"controlCustomEvents",[]);function Vs(e){e.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),e.hasOwnProperty("options")||(this.options={type:"any"}),e.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),e.hasOwnProperty("options")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="custom")?this.options=[{type:"array",message:$.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:$.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:$.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(r,n,o){n.length===0&&o($.getMessage("optionIsRequired")),o()}},{type:"array",validator:function(r,n,o){var i=n.map(function(c){return c.value}),u=y2(i);i.length!==u.length?o($.getMessage("optionIdIsRepeat")):o()},message:$.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:$.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:$.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:$.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:$.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:$.getMessage("isNotArray")},{type:"array",validator:function(r,n,o){n.length===0&&o($.getMessage("pleaseBindAtLeastOneDisplayValue")),o()},message:$.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:$.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:$.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:$.getMessage("isNotBoolean")}}}}]}}])}function Wo(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:$.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:$.getMessage(r?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:$.getMessage(r?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:$.getMessage(r?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:$.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:$.getMessage("isNotString")},key:{type:"string",required:!0,message:$.getMessage("isNotString")},value:[{type:"array",message:$.getMessage("isNotArray")},{type:"array",validator:function(o,i,u){i.length===0&&u($.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),u()},message:$.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:$.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:$.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:$.getMessage("isNotBoolean")}}}}]}}]}function XA(e){var t,r;return((t=e)===null||t===void 0?void 0:t.dataCode)!==void 0&&((r=e)===null||r===void 0?void 0:r.fieldCode)!==void 0}function G(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ko(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function X(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Go(e){return Go=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Go(e)}function Xo(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cs(e,t)}function JA(e,t){return t&&(QA(t)==="object"||typeof t=="function")?t:G(e)}function Cs(e,t){return Cs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cs(e,t)}function QA(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jo(e){var t=ZA();return function(){var n=Go(e),o;if(t){var i=Go(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JA(this,o)}}var Pe=function(e){Xo(r,e);var t=Jo(r);function r(n){Ko(this,r);var o;o=t.call(this,n),X(G(o),"dataBind",{}),X(G(o),"caption",{type:"string",required:!0,message:$.getMessage("pleaseEnterCaption")}),X(G(o),"isHideCaption",{type:"boolean"}),X(G(o),"labelPosition",{type:"enum",enum:["top","left"]}),X(G(o),"defaultState",{type:"enum",enum:["default","readonly"]}),X(G(o),"required",{type:"boolean"}),X(G(o),"captionTip",{type:"string",required:!1,message:$.getMessage("pleaseEnterCaptionTip")});var i={fieldCode:{type:"string",required:!0,message:$.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:$.getMessage("pleaseEnterFieldCode")}};if(XA(n.dataBind))o.dataBind={type:"object",required:!0,fields:Yt(i),message:$.getMessage("pleaseEnterFieldCode")};else{var u={type:"object",required:!0,fields:{},message:$.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(c){u.fields[c]={type:"object",required:!0,fields:Yt(i),message:$.getMessage("pleaseEnterFieldCode")}}),o.dataBind=u}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(le),J=function(e){Xo(r,e);var t=Jo(r);function r(n){Ko(this,r);var o;return o=t.call(this,n),o.push({type:"string",required:n.isHide?!1:n.required,message:n.requiredMessage!==""?n.requiredMessage:$.getMessage("runtimeRequired",{caption:n.caption})}),o}return r}(Rr),C=function(e){Xo(r,e);var t=Jo(r);function r(n){Ko(this,r);var o,i,u,c,l,a,f,s,p,_,h,d;o=t.call(this,n),X(G(o),"caption",void 0),X(G(o),"isHideCaption",void 0),X(G(o),"isShowCaptionTip",void 0),X(G(o),"captionTip",void 0),X(G(o),"labelPosition",void 0),X(G(o),"dataBind",void 0),X(G(o),"defaultValue",void 0),X(G(o),"placeholder",void 0),X(G(o),"defaultState",void 0),X(G(o),"required",void 0),X(G(o),"requiredMessage",void 0);var b;o.caption=(b=(i=n)===null||i===void 0?void 0:i.caption)!==null&&b!==void 0?b:"";var y;o.isHideCaption=(y=(u=n)===null||u===void 0?void 0:u.isHideCaption)!==null&&y!==void 0?y:!1;var g;o.isShowCaptionTip=(g=(c=n)===null||c===void 0?void 0:c.isShowCaptionTip)!==null&&g!==void 0?g:!1;var O;o.captionTip=(O=(l=n)===null||l===void 0?void 0:l.captionTip)!==null&&O!==void 0?O:"";var w;o.defaultState=(w=(a=n)===null||a===void 0?void 0:a.defaultState)!==null&&w!==void 0?w:"default";var P;o.labelPosition=(P=(f=n)===null||f===void 0?void 0:f.labelPosition)!==null&&P!==void 0?P:"top";var E;o.placeholder=(E=(s=n)===null||s===void 0?void 0:s.placeholder)!==null&&E!==void 0?E:"";var T;o.required=(T=(p=n)===null||p===void 0?void 0:p.required)!==null&&T!==void 0?T:!1;var B;o.requiredMessage=(B=(_=n)===null||_===void 0?void 0:_.requiredMessage)!==null&&B!==void 0?B:"",o.dataBind=new ft((h=n)===null||h===void 0?void 0:h.dataBind);var I;return o.defaultValue=(I=(d=n)===null||d===void 0?void 0:d.defaultValue)!==null&&I!==void 0?I:"",o}return r}(pe);X(C,"Rules",Pe),X(C,"RuntimeRules",J);var Jr=function(e){Xo(r,e);var t=Jo(r);function r(n){Ko(this,r);var o;return o=t.call(this,n),X(G(o),"optionConfig",{type:"enum",enum:["custom","datasource"],message:$.getMessage("PleaseSelectTheCorrectOptionSettings")}),X(G(o),"options",[{type:"array",message:$.getMessage("isNotArray")}]),X(G(o),"datasourceBind",[{type:"object",message:$.getMessage("isNotObject")}]),Vs.call(G(o),n),o}return r}(Pe);function zs(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zo(e){return Zo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zo(e)}function ex(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hs(e,t)}function tx(e,t){return t&&(rx(t)==="object"||typeof t=="function")?t:zs(e)}function Hs(e,t){return Hs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hs(e,t)}function rx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ox(e){var t=nx();return function(){var n=Zo(e),o;if(t){var i=Zo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tx(this,o)}}var H=function(e){ex(r,e);var t=ox(r);function r(n){YA(this,r);var o,i;return o=t.call(this,n),Qo(zs(o),"controlType","form"),Qo(zs(o),"props",void 0),o.props=new C((i=n)===null||i===void 0?void 0:i.props),o}return r}(K);Qo(H,"controlEventKeys",["on_change","on_focus","on_blur"]),Qo(H,"controlCustomAttributes",void 0);function Yo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ix(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qs(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ei(e){return ei=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ei(e)}function ux(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Us(e,t)}function cx(e,t){return t&&(lx(t)==="object"||typeof t=="function")?t:Yo(e)}function Us(e,t){return Us=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Us(e,t)}function lx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ax(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fx(e){var t=ax();return function(){var n=ei(e),o;if(t){var i=ei(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cx(this,o)}}var q=function(e){ux(r,e);var t=fx(r);function r(n){ix(this,r);var o,i;return o=t.call(this,n),qs(Yo(o),"controlType","form"),qs(Yo(o),"props",void 0),qs(Yo(o),"value",void 0),o.props=new C((i=n)===null||i===void 0?void 0:i.props),o}return r}(nr);function sx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function px(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ti(e){return ti=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ti(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&&Ws(e,t)}function yx(e,t){return t&&(dx(t)==="object"||typeof t=="function")?t:sx(e)}function Ws(e,t){return Ws=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ws(e,t)}function dx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hx(e){var t=vx();return function(){var n=ti(e),o;if(t){var i=ti(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yx(this,o)}}var de=function(e){_x(r,e);var t=hx(r);function r(n){return px(this,r),t.call(this,n)}return r}(pe);function Ks(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function bx(e){if(Array.isArray(e))return Ks(e)}function gx(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function mx(){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 Jg(e){return bx(e)||gx(e)||Ox(e)||mx()}function Ox(e,t){if(!!e){if(typeof e=="string")return Ks(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ks(e,t)}}function wx(e,t){var r;!((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0)&&r.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function Qg(e,t){e.parent=t,wx(e,"parent")}function $x(e,t){e.forEach(function(r){Qg(r,t)})}var Zg=Symbol("targetKey");function Yg(e){var t;return(t=e[Zg])!==null&&t!==void 0?t:e}function em(e,t){return $x(e,t),new Proxy(e,{get:function(n,o){for(var i=arguments.length,u=new Array(i>2?i-2:0),c=2;c<i;c++)u[c-2]=arguments[c];var l;return o===Zg?n:(l=Reflect).get.apply(l,[n,o].concat(Jg(u)))},set:function(n,o,i){for(var u=arguments.length,c=new Array(u>3?u-3:0),l=3;l<u;l++)c[l-3]=arguments[l];var a;if(vs(e)&&o==="length"&&i===e.length)return!0;var f=(a=Reflect).set.apply(a,[n,o,i].concat(Jg(c)));return vg(i)&&Qg(i,t),f}})}function Ft(e,t,r,n){var o=n!=null?n:e,i=em(Yg(r!=null?r:[]),o);Object.defineProperty(e,t,{get:function(){return i},set:function(c){i=em(Yg(c),o)},enumerable:!0})}function Gs(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Px(e){if(Array.isArray(e))return Gs(e)}function Sr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tm(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(a){r(a);return}c.done?t(l):Promise.resolve(l).then(n,o)}function Rx(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){tm(i,n,o,u,c,"next",l)}function c(l){tm(i,n,o,u,c,"throw",l)}u(void 0)})}}function Sx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ex(e,t,r){return t&&rm(e.prototype,t),r&&rm(e,r),e}function or(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qr(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Qr=Reflect.get:Qr=function(o,i,u){var c=Fx(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Qr(e,t,r||e)}function ir(e){return ir=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ir(e)}function Tx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xs(e,t)}function Ix(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Bx(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ax(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function xx(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){or(e,o,r[o])})}return e}function kx(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Dx(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):kx(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Nx(e,t){return t&&(jx(t)==="object"||typeof t=="function")?t:Sr(e)}function Xs(e,t){return Xs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xs(e,t)}function Fx(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ir(e),e!==null););return e}function nm(e){return Px(e)||Bx(e)||Mx(e)||Ax()}function jx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Mx(e,t){if(!!e){if(typeof e=="string")return Gs(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Gs(e,t)}}function Lx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vx(e){var t=Lx();return function(){var n=ir(e),o;if(t){var i=ir(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Nx(this,o)}}function Cx(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(a){return function(f){return l([a,f])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(f){a=[6,f],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var zx=1e4,ve=function(t){Tx(n,t);var r=Vx(n);function n(o){Sx(this,n);var i,u,c;i=r.call(this,o),or(Sr(i),"controlType","layout"),or(Sr(i),"children",void 0),or(Sr(i),"excludes",void 0),or(Sr(i),"childrenMaxLength",void 0),or(Sr(i),"props",void 0);var l=Ix(this,n)?this.constructor:void 0,a=l.excludes,f=l.childrenMaxLength;return i.props=new de((u=o)===null||u===void 0?void 0:u.props),Ft(Sr(i),"children",(c=o)===null||c===void 0?void 0:c.children),i.excludes=Yt(a),i.childrenMaxLength=f,i}return Ex(n,[{key:"judgeExcludesChildren",value:function(i){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i)}},{key:"judgeJoinChildren",value:function(i){var u=this.judgeExcludesChildren(i);return u&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(i,u){var c=this,l=this,a=function(){return Qr(ir(n.prototype),"validate",c)};return Rx(function(){return Cx(this,function(f){switch(f.label){case 0:return[4,a().call(l,i,u)];case 1:return f.sent(),[4,Promise.all(l.children.map(function(s){return s.validate(i,u)}))];case 2:return f.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=Qr(ir(n.prototype),"toDataBindModel",this).call(this),c=u?[u]:[];return this.children.reduce(function(l,a){var f=a.toDataBindModel(i);if(Array.isArray(f)){var s=f.filter(function(p){return!!p});return nm(l).concat(nm(s))}return f&&l.push(f),l},c)}},{key:"toSchema",value:function(){var i=Qr(ir(n.prototype),"toSchema",this).call(this),u=this.children.map(function(c){var l=c.toSchema();return l});return Dx(xx({},i),{children:u})}}]),n}(K);or(ve,"excludes",!1),or(ve,"childrenMaxLength",zx);function po(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Js(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ri(e){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ri(e)}function 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&&Qs(e,t)}function Ux(e,t){return t&&(Wx(t)==="object"||typeof t=="function")?t:po(e)}function Qs(e,t){return Qs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qs(e,t)}function Wx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Kx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gx(e){var t=Kx();return function(){var n=ri(e),o;if(t){var i=ri(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ux(this,o)}}var Er=function(e){qx(r,e);var t=Gx(r);function r(n){Hx(this,r);var o,i,u;return o=t.call(this,n),Js(po(o),"controlType","layout"),Js(po(o),"children",void 0),Js(po(o),"props",void 0),o.props=new de((i=n)===null||i===void 0?void 0:i.props),Ft(po(o),"children",(u=n)===null||u===void 0?void 0:u.children),o}return r}(nr);function _o(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function om(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ni(e){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ni(e)}function Jx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zs(e,t)}function Qx(e,t){return t&&(Zx(t)==="object"||typeof t=="function")?t:_o(e)}function Zs(e,t){return Zs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zs(e,t)}function Zx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ek(e){var t=Yx();return function(){var n=ni(e),o;if(t){var i=ni(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Qx(this,o)}}var Ys=function(e){Jx(r,e);var t=ek(r);function r(n,o){Xx(this,r);var i,u,c;return i=t.call(this,o),om(_o(i),"headers",void 0),om(_o(i),"footers",void 0),Ft(_o(i),"headers",(u=o)===null||u===void 0?void 0:u.headers,n),Ft(_o(i),"footers",(c=o)===null||c===void 0?void 0:c.footers,n),i}return r}(pe);function ep(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function tk(e){if(Array.isArray(e))return ep(e)}function oi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function im(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(a){r(a);return}c.done?t(l):Promise.resolve(l).then(n,o)}function rk(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){im(i,n,o,u,c,"next",l)}function c(l){im(i,n,o,u,c,"throw",l)}u(void 0)})}}function nk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function um(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ok(e,t,r){return t&&um(e.prototype,t),r&&um(e,r),e}function ii(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zr(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Zr=Reflect.get:Zr=function(o,i,u){var c=fk(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Zr(e,t,r||e)}function ur(e){return ur=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ur(e)}function 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&&tp(e,t)}function uk(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ck(){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 cm(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){ii(e,o,r[o])})}return e}function lk(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function lm(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):lk(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function ak(e,t){return t&&(sk(t)==="object"||typeof t=="function")?t:oi(e)}function tp(e,t){return tp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tp(e,t)}function fk(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ur(e),e!==null););return e}function am(e){return tk(e)||uk(e)||pk(e)||ck()}function sk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pk(e,t){if(!!e){if(typeof e=="string")return ep(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ep(e,t)}}function _k(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yk(e){var t=_k();return function(){var n=ur(e),o;if(t){var i=ur(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ak(this,o)}}function dk(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(a){return function(f){return l([a,f])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(f){a=[6,f],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var rp=function(e){ik(r,e);var t=yk(r);function r(n){nk(this,r);var o,i;return o=t.call(this,n),ii(oi(o),"controlType","list"),ii(oi(o),"props",void 0),o.props=new Ys(oi(o),(i=n)===null||i===void 0?void 0:i.props),o}return ok(r,[{key:"validate",value:function(o,i){var u=this,c=this,l=function(){return Zr(ur(r.prototype),"validate",u)};return rk(function(){return dk(this,function(a){switch(a.label){case 0:return[4,l().call(c,o)];case 1:return a.sent(),[4,Promise.all(c.props.headers.map(function(f){return f.validate(o,i)}))];case 2:return a.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var o=Zr(ur(r.prototype),"toDataBindModel",this).call(this),i=o?[o]:[],u=this.id;return this.props.headers.reduce(function(c,l){var a=l.toDataBindModel(u);if(Array.isArray(a)){var f=a.filter(function(s){return!!s});return am(c).concat(am(f))}return a&&c.push(a),c},i)}},{key:"toSchema",value:function(){var o,i,u=Zr(ur(r.prototype),"toSchema",this).call(this),c=this.props.headers.map(function(a){return a.toSchema()}),l=(i=this.props)===null||i===void 0||(o=i.footers)===null||o===void 0?void 0:o.map(function(a){if(a)return a.toSchema()});return lm(cm({},u),{props:lm(cm({},this.props),{headers:c,footers:l})})}}]),r}(K);ii(rp,"controlFieldType",S.LIST);function he(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function np(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Re(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ui(e){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ui(e)}function op(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ip(e,t)}function vk(e,t){return t&&(hk(t)==="object"||typeof t=="function")?t:he(e)}function ip(e,t){return ip=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ip(e,t)}function hk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function up(e){var t=bk();return function(){var n=ui(e),o;if(t){var i=ui(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vk(this,o)}}var jt=function(e){op(r,e);var t=up(r);function r(n){np(this,r);var o;return o=t.call(this,n),Re(he(o),"caption",{type:"string",required:!0,message:$.getMessage("pleaseEnterCaption")}),Re(he(o),"width",{type:"number",required:!1,message:$.getMessage("pleaseEnterColumnWidth")}),o.width.required=n.widthType==="px",o}return r}(le),ie=function(e){op(r,e);var t=up(r);function r(n){np(this,r);var o,i,u,c,l,a,f,s,p,_,h;o=t.call(this,n),Re(he(o),"widthType",void 0),Re(he(o),"width",void 0),Re(he(o),"caption",void 0),Re(he(o),"dataBind",void 0),Re(he(o),"autoWidth",void 0),Re(he(o),"fixed",void 0),Re(he(o),"sort",void 0),Re(he(o),"align",void 0),Re(he(o),"colSpan",void 0),Re(he(o),"autoHeight",void 0);var d;o.width=(d=(i=n)===null||i===void 0?void 0:i.width)!==null&&d!==void 0?d:150,o.widthType=((u=n)===null||u===void 0?void 0:u.widthType)||"auto";var b;o.caption=(b=(c=n)===null||c===void 0?void 0:c.caption)!==null&&b!==void 0?b:"";var y;o.fixed=(y=(l=n)===null||l===void 0?void 0:l.fixed)!==null&&y!==void 0?y:"none",o.autoWidth=new $g((a=n)===null||a===void 0?void 0:a.autoWidth),o.dataBind=new ft((f=n)===null||f===void 0?void 0:f.dataBind);var g;o.sort=(g=(s=n)===null||s===void 0?void 0:s.sort)!==null&&g!==void 0?g:!0,o.align=(p=n)===null||p===void 0?void 0:p.align,o.colSpan=(_=n)===null||_===void 0?void 0:_.colSpan;var O;return o.autoHeight=(O=(h=n)===null||h===void 0?void 0:h.autoHeight)!==null&&O!==void 0?O:!1,o}return r}(pe);Re(ie,"Rules",jt);var fm=function(e){op(r,e);var t=up(r);function r(n){np(this,r);var o;return o=t.call(this,n),Re(he(o),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:$.getMessage("PleaseSelectTheCorrectOptionSettings")}),Re(he(o),"options",[{type:"array",message:$.getMessage("isNotArray")}]),Re(he(o),"datasourceBind",[{type:"object",message:$.getMessage("isNotObject")}]),Vs.call(he(o),n),o}return r}(jt);function cp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ci(e){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ci(e)}function mk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lp(e,t)}function Ok(e,t){return t&&(wk(t)==="object"||typeof t=="function")?t:cp(e)}function lp(e,t){return lp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lp(e,t)}function wk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $k(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pk(e){var t=$k();return function(){var n=ci(e),o;if(t){var i=ci(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ok(this,o)}}var be=function(e){mk(r,e);var t=Pk(r);function r(n){gk(this,r);var o,i;return o=t.call(this,n),sm(cp(o),"controlType","column"),sm(cp(o),"props",void 0),o.props=new ie((i=n)===null||i===void 0?void 0:i.props),o}return r}(K);function ap(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function li(e){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},li(e)}function Sk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fp(e,t)}function Ek(e,t){return t&&(Tk(t)==="object"||typeof t=="function")?t:ap(e)}function fp(e,t){return fp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fp(e,t)}function Tk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ik(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bk(e){var t=Ik();return function(){var n=li(e),o;if(t){var i=li(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ek(this,o)}}var ge=function(e){Sk(r,e);var t=Bk(r);function r(n){Rk(this,r);var o,i;return o=t.call(this,n),pm(ap(o),"controlType","column"),pm(ap(o),"props",void 0),o.props=new ie((i=n)===null||i===void 0?void 0:i.props),o}return r}(nr);function _m(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ak(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xk(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ai(e){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ai(e)}function 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&&sp(e,t)}function Dk(e,t){return t&&(Nk(t)==="object"||typeof t=="function")?t:_m(e)}function sp(e,t){return sp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sp(e,t)}function Nk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jk(e){var t=Fk();return function(){var n=ai(e),o;if(t){var i=ai(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Dk(this,o)}}var pp=function(e){kk(r,e);var t=jk(r);function r(n){Ak(this,r);var o,i;return o=t.call(this,n),xk(_m(o),"dataBind",void 0),o.dataBind=new ft((i=n)===null||i===void 0?void 0:i.dataBind),o}return r}(de);function _p(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ym(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fi(e){return fi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fi(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&&yp(e,t)}function Vk(e,t){return t&&(Ck(t)==="object"||typeof t=="function")?t:_p(e)}function yp(e,t){return yp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yp(e,t)}function Ck(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hk(e){var t=zk();return function(){var n=fi(e),o;if(t){var i=fi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vk(this,o)}}var qk=function(e){Lk(r,e);var t=Hk(r);function r(n){Mk(this,r);var o,i;return o=t.call(this,n),ym(_p(o),"controlType","search"),ym(_p(o),"props",void 0),o.props=new pp((i=n)===null||i===void 0?void 0:i.props),o}return r}(ve);function dp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function si(e){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},si(e)}function 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&&vp(e,t)}function Kk(e,t){return t&&(Gk(t)==="object"||typeof t=="function")?t:dp(e)}function vp(e,t){return vp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vp(e,t)}function Gk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jk(e){var t=Xk();return function(){var n=si(e),o;if(t){var i=si(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kk(this,o)}}var Qk=function(e){Wk(r,e);var t=Jk(r);function r(n){Uk(this,r);var o,i;return o=t.call(this,n),dm(dp(o),"controlType","search"),dm(dp(o),"props",void 0),o.props=new pp((i=n)===null||i===void 0?void 0:i.props),o}return r}(Er);function Tr(e){e.hasOwnProperty("linkOperationOption")&&e.hasOwnProperty("showLinkOperation")&&e.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:$.getMessage("pleaseEnterForm")}}}])}function Yr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pi(e){return pi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pi(e)}function Yk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hp(e,t)}function eD(e,t){return t&&(tD(t)==="object"||typeof t=="function")?t:Yr(e)}function hp(e,t){return hp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hp(e,t)}function tD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nD(e){var t=rD();return function(){var n=pi(e),o;if(t){var i=pi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eD(this,o)}}var oD=function(e){Yk(r,e);var t=nD(r);function r(n){Zk(this,r);var o,i,u,c,l,a;o=t.call(this,n),yo(Yr(o),"content",void 0),yo(Yr(o),"fontSize",void 0),yo(Yr(o),"color",void 0),yo(Yr(o),"icon",void 0),yo(Yr(o),"showState",void 0);var f;o.fontSize=(f=(i=n)===null||i===void 0?void 0:i.fontSize)!==null&&f!==void 0?f:"14px";var s;o.color=(s=(u=n)===null||u===void 0?void 0:u.color)!==null&&s!==void 0?s:"#646A73";var p;o.icon=(p=(c=n)===null||c===void 0?void 0:c.icon)!==null&&p!==void 0?p:"page-hint";var _;o.showState=(_=(l=n)===null||l===void 0?void 0:l.showState)!==null&&_!==void 0?_:"text";var h;return o.content=(h=(a=n)===null||a===void 0?void 0:a.content)!==null&&h!==void 0?h:"\u8BF4\u660E\u6587\u5B57",o}return r}(pe);function vm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uD(e,t,r){return t&&hm(e.prototype,t),r&&hm(e,r),e}function bm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _i(e){return _i=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_i(e)}function cD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bp(e,t)}function lD(e,t){return t&&(aD(t)==="object"||typeof t=="function")?t:vm(e)}function bp(e,t){return bp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bp(e,t)}function aD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sD(e){var t=fD();return function(){var n=_i(e),o;if(t){var i=_i(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lD(this,o)}}var pD=function(e){cD(r,e);var t=sD(r);function r(n){iD(this,r);var o,i;return o=t.call(this,n),bm(vm(o),"props",void 0),o.props=new oD((i=n)===null||i===void 0?void 0:i.props),o}return uD(r,null,[{key:"controlName",get:function(){return"\u8BF4\u660E\u6587\u5B57"}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),r}(K);bm(pD,"setting",[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}]);function yi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _D(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function di(e){return di=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},di(e)}function yD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mp(e,t)}function dD(e,t){return t&&(vD(t)==="object"||typeof t=="function")?t:yi(e)}function mp(e,t){return mp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mp(e,t)}function vD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bD(e){var t=hD();return function(){var n=di(e),o;if(t){var i=di(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dD(this,o)}}var gD=function(e){yD(r,e);var t=bD(r);function r(n){_D(this,r);var o,i,u,c;o=t.call(this,n),gp(yi(o),"content",void 0),gp(yi(o),"url",void 0),gp(yi(o),"openMode",void 0);var l;o.content=(l=(i=n)===null||i===void 0?void 0:i.content)!==null&&l!==void 0?l:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5";var a;o.url=(a=(u=n)===null||u===void 0?void 0:u.url)!==null&&a!==void 0?a:"";var f;return o.openMode=(f=(c=n)===null||c===void 0?void 0:c.openMode)!==null&&f!==void 0?f:"new",o}return r}(pe);function gm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function OD(e,t,r){return t&&mm(e.prototype,t),r&&mm(e,r),e}function Op(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vi(e){return vi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vi(e)}function wD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $D(e,t){return t&&(PD(t)==="object"||typeof t=="function")?t:gm(e)}function wp(e,t){return wp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wp(e,t)}function PD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SD(e){var t=RD();return function(){var n=vi(e),o;if(t){var i=vi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $D(this,o)}}var Om=function(e){wD(r,e);var t=SD(r);function r(n){mD(this,r);var o,i;return o=t.call(this,n),Op(gm(o),"props",void 0),o.props=new gD((i=n)===null||i===void 0?void 0:i.props),o}return OD(r,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),r}(K);Op(Om,"controlEventKeys",["on_click"]),Op(Om,"setting",[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}]);function Rt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ED(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hi(e){return hi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hi(e)}function TD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$p(e,t)}function ID(e,t){return t&&(BD(t)==="object"||typeof t=="function")?t:Rt(e)}function $p(e,t){return $p=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$p(e,t)}function BD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xD(e){var t=AD();return function(){var n=hi(e),o;if(t){var i=hi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ID(this,o)}}var Ge=function(e){TD(r,e);var t=xD(r);function r(n){ED(this,r);var o,i,u,c,l,a,f,s,p,_;o=t.call(this,n),Mt(Rt(o),"content",void 0),Mt(Rt(o),"buttonType",void 0),Mt(Rt(o),"showType",void 0),Mt(Rt(o),"color",void 0),Mt(Rt(o),"icon",void 0),Mt(Rt(o),"defaultState",void 0),Mt(Rt(o),"command",void 0),Mt(Rt(o),"isLoading",void 0),Mt(Rt(o),"optObj",void 0);var h;o.content=(h=(i=n)===null||i===void 0?void 0:i.content)!==null&&h!==void 0?h:"\u6309\u94AE";var d;o.buttonType=(d=(u=n)===null||u===void 0?void 0:u.buttonType)!==null&&d!==void 0?d:"primary";var b;o.showType=(b=(c=n)===null||c===void 0?void 0:c.showType)!==null&&b!==void 0?b:"text";var y;o.color=(y=(l=n)===null||l===void 0?void 0:l.color)!==null&&y!==void 0?y:"primary";var g;o.icon=(g=(a=n)===null||a===void 0?void 0:a.icon)!==null&&g!==void 0?g:"iconfenlei2";var O;o.defaultState=(O=(f=n)===null||f===void 0?void 0:f.defaultState)!==null&&O!==void 0?O:"default";var w;o.command=(w=(s=n)===null||s===void 0?void 0:s.command)!==null&&w!==void 0?w:"custom";var P;o.isLoading=(P=(p=n)===null||p===void 0?void 0:p.isLoading)!==null&&P!==void 0?P:!1;var E;return o.optObj=new tA((E=(_=n)===null||_===void 0?void 0:_.optObj)!==null&&E!==void 0?E:{}),o}return r}(pe);function wm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $m(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function DD(e,t,r){return t&&$m(e.prototype,t),r&&$m(e,r),e}function Pp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bi(e){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bi(e)}function ND(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rp(e,t)}function FD(e,t){return t&&(jD(t)==="object"||typeof t=="function")?t:wm(e)}function Rp(e,t){return Rp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rp(e,t)}function jD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LD(e){var t=MD();return function(){var n=bi(e),o;if(t){var i=bi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FD(this,o)}}var Me=function(e){ND(r,e);var t=LD(r);function r(n){kD(this,r);var o,i;return o=t.call(this,n),Pp(wm(o),"props",void 0),o.props=new Ge((i=n)===null||i===void 0?void 0:i.props),o}return DD(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}(K);Pp(Me,"controlEventKeys",["on_click","on_click_finish"]),Pp(Me,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE]},{key:"super-setting",visible:!0}]);function cr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function M(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Lt;(function(e){e.ShowBizKey="is_show_biz_key",e.ShowSubmitUser="is_show_submit_user",e.ShowSubmitTime="is_show_submit_time",e.ShowSubmitDept="is_show_submit_dept",e.ShowCurrentApprovar="is_show_current_approvar",e.ShowTitle="is_show_title"})(Lt||(Lt={}));var Sp;(function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"})(Sp||(Sp={}));var Ep;(function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"})(Ep||(Ep={}));var Tp=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:Sp.UN_SELECT_ABLE_INTERVAL,dateLimitType:Ep.FILE_IN_TIME,id:Dt(8),value:["",""]};cr(this,e),M(this,"dateConfigType",void 0),M(this,"dateLimitType",void 0),M(this,"id",void 0),M(this,"value",void 0),this.id=t.id,this.dateConfigType=t.dateConfigType,this.dateLimitType=t.dateLimitType,this.value=t.value},Ip;(function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"})(Ip||(Ip={}));var Bp=function e(t){cr(this,e);var r,n;M(this,"id",void 0),M(this,"text",void 0);var o;this.id=(o=(r=t)===null||r===void 0?void 0:r.id)!==null&&o!==void 0?o:Dt();var i;this.text=(i=(n=t)===null||n===void 0?void 0:n.text)!==null&&i!==void 0?i:""},Ap;(function(e){e.SOLID="solid-line",e.DASHED="dashed-line",e.BOLD_SOLID="bold-solid-line",e.BOLD_DASHED="bold-dashed-line",e.DOUBLE_SOLID="double-solid-line",e.DOUBLE_DASHED="double-dashed-line"})(Ap||(Ap={}));var Pm=function e(t){cr(this,e);var r,n,o,i,u,c,l,a;M(this,"type",void 0),M(this,"person",void 0),M(this,"signatureType",void 0),M(this,"telephone",void 0),M(this,"company",void 0),M(this,"remark",void 0);var f;this.type=(f=(r=t)===null||r===void 0?void 0:r.type)!==null&&f!==void 0?f:"private";var s;this.person=new co((s=(n=t)===null||n===void 0?void 0:n.person)!==null&&s!==void 0?s:{type:"form"});var p;this.signatureType=(p=(o=t)===null||o===void 0?void 0:o.signatureType)!==null&&p!==void 0?p:[];var _,h;this.telephone=(h=(i=t)===null||i===void 0?void 0:i.telephone)!==null&&h!==void 0?h:new co((_=(u=t)===null||u===void 0?void 0:u.telephone)!==null&&_!==void 0?_:{type:"form"});var d,b;this.company=(b=(c=t)===null||c===void 0?void 0:c.company)!==null&&b!==void 0?b:new co((d=(l=t)===null||l===void 0?void 0:l.company)!==null&&d!==void 0?d:{type:"form"});var y;this.remark=(y=(a=t)===null||a===void 0?void 0:a.remark)!==null&&y!==void 0?y:""},VD=function e(t){cr(this,e);var r,n,o,i,u,c;M(this,"fileControl",void 0),M(this,"undersignedList",void 0),M(this,"statusControl",void 0),M(this,"completeControl",void 0),M(this,"completeTimeControl",void 0);var l;this.fileControl=(l=(r=t)===null||r===void 0?void 0:r.fileControl)!==null&&l!==void 0?l:"";var a;this.undersignedList=(a=(o=t)===null||o===void 0||(n=o.undersignedList)===null||n===void 0?void 0:n.map(function(_){return new Pm(_)}))!==null&&a!==void 0?a:[new Pm];var f;this.statusControl=(f=(i=t)===null||i===void 0?void 0:i.statusControl)!==null&&f!==void 0?f:"";var s;this.completeControl=(s=(u=t)===null||u===void 0?void 0:u.completeControl)!==null&&s!==void 0?s:"";var p;this.completeTimeControl=(p=(c=t)===null||c===void 0?void 0:c.completeTimeControl)!==null&&p!==void 0?p:""},Rm=function e(t){cr(this,e);var r,n,o,i,u,c,l;M(this,"id",void 0),M(this,"appId",void 0),M(this,"dataCode",void 0),M(this,"svcCode",void 0),M(this,"name",void 0),M(this,"fieldList",void 0),M(this,"active",void 0);var a;this.id=(a=(r=t)===null||r===void 0?void 0:r.id)!==null&&a!==void 0?a:Dt(8);var f;this.appId=(f=(n=t)===null||n===void 0?void 0:n.appId)!==null&&f!==void 0?f:"";var s;this.dataCode=(s=(o=t)===null||o===void 0?void 0:o.dataCode)!==null&&s!==void 0?s:"";var p;this.svcCode=(p=(i=t)===null||i===void 0?void 0:i.svcCode)!==null&&p!==void 0?p:"";var _;this.name=(_=(u=t)===null||u===void 0?void 0:u.name)!==null&&_!==void 0?_:"";var h;this.fieldList=(h=(c=t)===null||c===void 0?void 0:c.fieldList)!==null&&h!==void 0?h:[];var d;this.active=(d=(l=t)===null||l===void 0?void 0:l.active)!==null&&d!==void 0?d:!1},Sm=function e(t){cr(this,e);var r,n;M(this,"active",void 0),M(this,"text",void 0);var o;this.active=(o=(r=t)===null||r===void 0?void 0:r.active)!==null&&o!==void 0?o:!1;var i;this.text=(i=(n=t)===null||n===void 0?void 0:n.text)!==null&&i!==void 0?i:""},CD=function e(t){cr(this,e);var r,n,o,i,u,c;M(this,"types",void 0),M(this,"history",void 0),M(this,"collaborativeRecord",void 0),M(this,"logicToDelete",void 0),M(this,"watermark",void 0),M(this,"autoRename",void 0);var l;this.types=(l=(r=t)===null||r===void 0?void 0:r.types)!==null&&l!==void 0?l:["word","ppt","excel"];var a;this.history=(a=(n=t)===null||n===void 0?void 0:n.history)!==null&&a!==void 0?a:!1;var f;this.collaborativeRecord=(f=(o=t)===null||o===void 0?void 0:o.collaborativeRecord)!==null&&f!==void 0?f:!1;var s;this.logicToDelete=(s=(i=t)===null||i===void 0?void 0:i.logicToDelete)!==null&&s!==void 0?s:!0,this.watermark=new Sm((u=t)===null||u===void 0?void 0:u.watermark),this.autoRename=new Sm((c=t)===null||c===void 0?void 0:c.autoRename)},zD=480;function gi(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var HD=function e(t){cr(this,e);var r,n,o;M(this,"fileId",void 0),M(this,"fileName",void 0),M(this,"ruleName",void 0),M(this,"isDefault",void 0),M(this,"rules",void 0);var i;this.fileId=(i=(r=t)===null||r===void 0?void 0:r.fileId)!==null&&i!==void 0?i:"";var u;this.fileName=(u=(n=t)===null||n===void 0?void 0:n.fileName)!==null&&u!==void 0?u:"";var c;this.ruleName=(c=(o=t)===null||o===void 0?void 0:o.ruleName)!==null&&c!==void 0?c:"";var l;this.isDefault=(l=t.isDefault)!==null&&l!==void 0?l:!1;var a;this.rules=(a=t.rules)!==null&&a!==void 0?a:[]},Em;(function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"})(Em||(Em={}));var xp;(function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"})(xp||(xp={}));var mi;(function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"})(mi||(mi={}));var lr;(function(e){e.ALL="all",e.ASSIGN="assign"})(lr||(lr={}));var kp;(function(e){e.ALL="all",e.ADMIN="admin"})(kp||(kp={}));function Dp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Oi(e){return Oi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oi(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&&Np(e,t)}function WD(e,t){return t&&(KD(t)==="object"||typeof t=="function")?t:Dp(e)}function Np(e,t){return Np=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Np(e,t)}function KD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XD(e){var t=GD();return function(){var n=Oi(e),o;if(t){var i=Oi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WD(this,o)}}var JD=function(e){UD(r,e);var t=XD(r);function r(n){qD(this,r);var o,i,u;o=t.call(this,n),Tm(Dp(o),"color",void 0),Tm(Dp(o),"lineStyle",void 0);var c;o.color=(c=(i=n)===null||i===void 0?void 0:i.color)!==null&&c!==void 0?c:"#000";var l;return o.lineStyle=(l=(u=n)===null||u===void 0?void 0:u.lineStyle)!==null&&l!==void 0?l:Ap.SOLID,o}return r}(pe);function Im(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ZD(e,t,r){return t&&Bm(e.prototype,t),r&&Bm(e,r),e}function Am(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wi(e){return wi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wi(e)}function YD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fp(e,t)}function eN(e,t){return t&&(tN(t)==="object"||typeof t=="function")?t:Im(e)}function Fp(e,t){return Fp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fp(e,t)}function tN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nN(e){var t=rN();return function(){var n=wi(e),o;if(t){var i=wi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eN(this,o)}}var oN=function(e){YD(r,e);var t=nN(r);function r(n){QD(this,r);var o,i;return o=t.call(this,n),Am(Im(o),"props",void 0),o.props=new JD((i=n)===null||i===void 0?void 0:i.props),o}return ZD(r,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),r}(K);Am(oN,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE]}]);function ar(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $i(e){return $i=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$i(e)}function km(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jp(e,t)}function iN(e,t){return t&&(uN(t)==="object"||typeof t=="function")?t:ar(e)}function jp(e,t){return jp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jp(e,t)}function uN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dm(e){var t=cN();return function(){var n=$i(e),o;if(t){var i=$i(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iN(this,o)}}var lN=function(e){km(r,e);var t=Dm(r);function r(n){xm(this,r);var o;return o=t.call(this,n),fr(ar(o),"caption",{type:"string",required:!0,message:$.getMessage("pleaseEnterCaption")}),fr(ar(o),"dataBind",{type:"any"}),fr(ar(o),"config",{type:"array"}),n.config.includes(Lt.ShowBizKey)&&(o.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:$.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:$.getMessage("bizKeyNotBindFiled")}},message:$.getMessage("bizKeyNotBindFiled")}),!n.isHide&&n.config.length===0&&(o.config={type:"array",min:1,required:!0,message:$.getMessage("pleaseSelectOneField")}),o}return r}(le),Nm=function(e){km(r,e);var t=Dm(r);function r(n){xm(this,r);var o,i,u,c,l,a;o=t.call(this,n),fr(ar(o),"dataBind",void 0),fr(ar(o),"caption",void 0),fr(ar(o),"config",void 0),fr(ar(o),"position",void 0),o.dataBind=new ft((i=n)===null||i===void 0?void 0:i.dataBind);var f;o.config=(f=(u=n)===null||u===void 0?void 0:u.config)!==null&&f!==void 0?f:[Lt.ShowSubmitUser,Lt.ShowSubmitDept,Lt.ShowSubmitTime,Lt.ShowCurrentApprovar,Lt.ShowTitle];var s,p;o.caption=(p=(s=(c=n)===null||c===void 0?void 0:c.caption)!==null&&s!==void 0?s:(l=Vp)===null||l===void 0?void 0:l.controlName)!==null&&p!==void 0?p:"";var _;return o.position=(_=(a=n)===null||a===void 0?void 0:a.position)!==null&&_!==void 0?_:"top",o}return r}(pe);fr(Nm,"Rules",lN);function Fm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fN(e,t,r){return t&&jm(e.prototype,t),r&&jm(e,r),e}function Mp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pi(e){return Pi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pi(e)}function 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&&Lp(e,t)}function pN(e,t){return t&&(_N(t)==="object"||typeof t=="function")?t:Fm(e)}function Lp(e,t){return Lp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lp(e,t)}function _N(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dN(e){var t=yN();return function(){var n=Pi(e),o;if(t){var i=Pi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pN(this,o)}}var Vp=function(e){sN(r,e);var t=dN(r);function r(n){aN(this,r);var o,i;return o=t.call(this,n),Mp(Fm(o),"props",void 0),o.props=new Nm((i=n)===null||i===void 0?void 0:i.props),o}return fN(r,null,[{key:"controlName",get:function(){return"\u6807\u9898\u7EC4\u4EF6"}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),r}(K);Mp(Vp,"controlFieldType",S.AUTO_NUMBER),Mp(Vp,"setting",[{key:"common-setting",visible:!0,showItems:[v.IS_HIDE]},{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}]);function Ri(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Si(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ei(e){return Ei=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ei(e)}function 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&&Cp(e,t)}function vN(e,t){return t&&(hN(t)==="object"||typeof t=="function")?t:Ri(e)}function Cp(e,t){return Cp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cp(e,t)}function hN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vm(e){var t=bN();return function(){var n=Ei(e),o;if(t){var i=Ei(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vN(this,o)}}var gN=function(e){Lm(r,e);var t=Vm(r);function r(n){Mm(this,r);var o;return o=t.call(this,n),Si(Ri(o),"formKey",{type:"string",required:!0,message:$.getMessage("pleaseEnterForm")}),o}return r}(le),Cm=function(e){Lm(r,e);var t=Vm(r);function r(n){Mm(this,r);var o,i,u,c,l;o=t.call(this,n),Si(Ri(o),"formKey",void 0),Si(Ri(o),"openType",void 0);var a;o.icon=(a=(i=n)===null||i===void 0?void 0:i.icon)!==null&&a!==void 0?a:Ii.controlIcon;var f;o.content=(f=(u=n)===null||u===void 0?void 0:u.content)!==null&&f!==void 0?f:Ii.controlName;var s;o.formKey=(s=(c=n)===null||c===void 0?void 0:c.formKey)!==null&&s!==void 0?s:"";var p;return o.openType=(p=(l=n)===null||l===void 0?void 0:l.openType)!==null&&p!==void 0?p:"modal",o}return r}(Ge);Si(Cm,"Rules",gN);function zm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ON(e,t,r){return t&&Hm(e.prototype,t),r&&Hm(e,r),e}function zp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ti(e){return Ti=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ti(e)}function wN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hp(e,t)}function $N(e,t){return t&&(PN(t)==="object"||typeof t=="function")?t:zm(e)}function Hp(e,t){return Hp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hp(e,t)}function PN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SN(e){var t=RN();return function(){var n=Ti(e),o;if(t){var i=Ti(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $N(this,o)}}var Ii=function(e){wN(r,e);var t=SN(r);function r(n){mN(this,r);var o,i;return o=t.call(this,n),zp(zm(o),"props",void 0),o.props=new Cm((i=n)===null||i===void 0?void 0:i.props),o}return ON(r,null,[{key:"controlName",get:function(){return"\u521B\u5EFA\u5355\u636E"}},{key:"controlIcon",get:function(){return"iconchuangjiandanju"}},{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),r}(Me);zp(Ii,"controlEventKeys",["on_click","on_click_finish"]),zp(Ii,"setting",[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function en(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bi(e){return Bi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bi(e)}function Um(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qp(e,t)}function EN(e,t){return t&&(TN(t)==="object"||typeof t=="function")?t:en(e)}function qp(e,t){return qp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qp(e,t)}function TN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wm(e){var t=IN();return function(){var n=Bi(e),o;if(t){var i=Bi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return EN(this,o)}}var BN=function(e){Um(r,e);var t=Wm(r);function r(n){qm(this,r);var o;return o=t.call(this,n),tn(en(o),"processKey",[{type:"string",message:$.getMessage("isNotString")},{type:"string",required:!0,message:$.getMessage("pleaseEnterProcess")}]),o}return r}(le),Km=function(e){Um(r,e);var t=Wm(r);function r(n){qm(this,r);var o,i,u,c,l,a,f;o=t.call(this,n),tn(en(o),"processKey",void 0),tn(en(o),"initiatorMode",void 0),tn(en(o),"fieldCode",void 0),tn(en(o),"employeeId",void 0);var s;o.icon=(s=(i=n)===null||i===void 0?void 0:i.icon)!==null&&s!==void 0?s:xi.controlIcon;var p;o.content=(p=(u=n)===null||u===void 0?void 0:u.content)!==null&&p!==void 0?p:xi.controlName;var _;o.initiatorMode=(_=(c=n)===null||c===void 0?void 0:c.initiatorMode)!==null&&_!==void 0?_:"currentInitiator";var h;o.processKey=(h=(l=n)===null||l===void 0?void 0:l.processKey)!==null&&h!==void 0?h:"";var d;o.fieldCode=(d=(a=n)===null||a===void 0?void 0:a.fieldCode)!==null&&d!==void 0?d:"";var b;return o.employeeId=(b=(f=n)===null||f===void 0?void 0:f.employeeId)!==null&&b!==void 0?b:"",o}return r}(Ge);tn(Km,"Rules",BN);function Gm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xN(e,t,r){return t&&Xm(e.prototype,t),r&&Xm(e,r),e}function Up(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ai(e){return Ai=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ai(e)}function kN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wp(e,t)}function DN(e,t){return t&&(NN(t)==="object"||typeof t=="function")?t:Gm(e)}function Wp(e,t){return Wp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wp(e,t)}function NN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jN(e){var t=FN();return function(){var n=Ai(e),o;if(t){var i=Ai(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DN(this,o)}}var xi=function(e){kN(r,e);var t=jN(r);function r(n){AN(this,r);var o,i;return o=t.call(this,n),Up(Gm(o),"props",void 0),o.props=new Km((i=n)===null||i===void 0?void 0:i.props),o}return xN(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u63D0\u4EA4"}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),r}(Me);Up(xi,"controlEventKeys",["on_click","on_click_finish"]),Up(xi,"setting",[{key:"button-content",visible:!0},{key:"select-process",visible:!0},{key:"initiator-mode",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function MN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ki(e){return ki=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ki(e)}function VN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kp(e,t)}function CN(e,t){return t&&(zN(t)==="object"||typeof t=="function")?t:MN(e)}function Kp(e,t){return Kp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kp(e,t)}function zN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qN(e){var t=HN();return function(){var n=ki(e),o;if(t){var i=ki(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return CN(this,o)}}var UN=function(e){VN(r,e);var t=qN(r);function r(n){LN(this,r);var o,i,u;o=t.call(this,n);var c;o.content=(c=(i=n)===null||i===void 0?void 0:i.content)!==null&&c!==void 0?c:Ni.controlName;var l;return o.icon=(l=(u=n)===null||u===void 0?void 0:u.icon)!==null&&l!==void 0?l:Ni.controlIcon,o}return r}(Ge);function Jm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function KN(e,t,r){return t&&Qm(e.prototype,t),r&&Qm(e,r),e}function Gp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Di(e){return Di=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Di(e)}function 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&&Xp(e,t)}function XN(e,t){return t&&(JN(t)==="object"||typeof t=="function")?t:Jm(e)}function Xp(e,t){return Xp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xp(e,t)}function JN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZN(e){var t=QN();return function(){var n=Di(e),o;if(t){var i=Di(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XN(this,o)}}var Ni=function(e){GN(r,e);var t=ZN(r);function r(n){WN(this,r);var o,i;return o=t.call(this,n),Gp(Jm(o),"props",void 0),o.props=new UN((i=n)===null||i===void 0?void 0:i.props),o}return KN(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),r}(Me);Gp(Ni,"controlEventKeys",["on_click"]),Gp(Ni,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function Jp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fi(e){return Fi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fi(e)}function eF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qp(e,t)}function tF(e,t){return t&&(rF(t)==="object"||typeof t=="function")?t:Jp(e)}function Qp(e,t){return Qp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qp(e,t)}function rF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oF(e){var t=nF();return function(){var n=Fi(e),o;if(t){var i=Fi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tF(this,o)}}var iF=function(e){eF(r,e);var t=oF(r);function r(n){YN(this,r);var o,i,u,c,l,a;o=t.call(this,n),Zm(Jp(o),"templateList",void 0),Zm(Jp(o),"templateType",void 0);var f;o.icon=(f=(i=n)===null||i===void 0?void 0:i.icon)!==null&&f!==void 0?f:Mi.controlIcon;var s;o.content=(s=(u=n)===null||u===void 0?void 0:u.content)!==null&&s!==void 0?s:Mi.controlName;var p;o.templateType=(p=(c=n)===null||c===void 0?void 0:c.templateType)!==null&&p!==void 0?p:"system";var _;return o.templateList=(_=(a=n)===null||a===void 0||(l=a.templateList)===null||l===void 0?void 0:l.map(function(h){return new Rm(h)}))!==null&&_!==void 0?_:[new Rm({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return r}(Ge);function Ym(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cF(e,t,r){return t&&eO(e.prototype,t),r&&eO(e,r),e}function Zp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ji(e){return ji=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ji(e)}function 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&&Yp(e,t)}function aF(e,t){return t&&(fF(t)==="object"||typeof t=="function")?t:Ym(e)}function Yp(e,t){return Yp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yp(e,t)}function fF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pF(e){var t=sF();return function(){var n=ji(e),o;if(t){var i=ji(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aF(this,o)}}var Mi=function(e){lF(r,e);var t=pF(r);function r(n){uF(this,r);var o,i;return o=t.call(this,n),Zp(Ym(o),"props",void 0),o.props=new iF((i=n)===null||i===void 0?void 0:i.props),o}return cF(r,null,[{key:"controlName",get:function(){return"\u5BFC\u51FA"}},{key:"controlIcon",get:function(){return"iconxiazai1"}},{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),r}(Me);Zp(Mi,"controlEventKeys",["on_click","on_click_finish"]),Zp(Mi,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function _F(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Li(e){return Li=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Li(e)}function dF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&e_(e,t)}function vF(e,t){return t&&(hF(t)==="object"||typeof t=="function")?t:_F(e)}function e_(e,t){return e_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},e_(e,t)}function hF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gF(e){var t=bF();return function(){var n=Li(e),o;if(t){var i=Li(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vF(this,o)}}var mF=function(e){dF(r,e);var t=gF(r);function r(n){yF(this,r);var o,i,u;o=t.call(this,n);var c;o.content=(c=(i=n)===null||i===void 0?void 0:i.content)!==null&&c!==void 0?c:Ci.controlName;var l;return o.icon=(l=(u=n)===null||u===void 0?void 0:u.icon)!==null&&l!==void 0?l:Ci.controlIcon,o}return r}(Ge);function tO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function wF(e,t,r){return t&&rO(e.prototype,t),r&&rO(e,r),e}function t_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vi(e){return Vi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vi(e)}function $F(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r_(e,t)}function PF(e,t){return t&&(RF(t)==="object"||typeof t=="function")?t:tO(e)}function r_(e,t){return r_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},r_(e,t)}function RF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EF(e){var t=SF();return function(){var n=Vi(e),o;if(t){var i=Vi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PF(this,o)}}var Ci=function(e){$F(r,e);var t=EF(r);function r(n){OF(this,r);var o,i;return o=t.call(this,n),t_(tO(o),"props",void 0),o.props=new mF((i=n)===null||i===void 0?void 0:i.props),o}return wF(r,null,[{key:"controlName",get:function(){return"\u5BFC\u51FA\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"icondaochujilu"}},{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),r}(Me);t_(Ci,"controlEventKeys",["on_click"]),t_(Ci,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function n_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zi(e){return zi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zi(e)}function TF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i_(e,t)}function IF(e,t){return t&&(BF(t)==="object"||typeof t=="function")?t:n_(e)}function i_(e,t){return i_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},i_(e,t)}function BF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xF(e){var t=AF();return function(){var n=zi(e),o;if(t){var i=zi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return IF(this,o)}}var kF=function e(t){nO(this,e),o_(this,"dataCode",void 0),this.dataCode=t.dataCode},DF=function(e){TF(r,e);var t=xF(r);function r(n){nO(this,r);var o,i,u,c,l,a;o=t.call(this,n),o_(n_(o),"canImportList",void 0),o_(n_(o),"templateType",void 0);var f;o.content=(f=(i=n)===null||i===void 0?void 0:i.content)!==null&&f!==void 0?f:qi.controlName;var s;o.icon=(s=(u=n)===null||u===void 0?void 0:u.icon)!==null&&s!==void 0?s:qi.controlIcon;var p;o.canImportList=(p=(l=n)===null||l===void 0||(c=l.canImportList)===null||c===void 0?void 0:c.map(function(h){return new kF(h)}))!==null&&p!==void 0?p:[];var _;return o.templateType=(_=(a=n)===null||a===void 0?void 0:a.templateType)!==null&&_!==void 0?_:"system",o}return r}(Ge);function oO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function FF(e,t,r){return t&&iO(e.prototype,t),r&&iO(e,r),e}function u_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hi(e){return Hi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hi(e)}function 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&&c_(e,t)}function MF(e,t){return t&&(LF(t)==="object"||typeof t=="function")?t:oO(e)}function c_(e,t){return c_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},c_(e,t)}function LF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CF(e){var t=VF();return function(){var n=Hi(e),o;if(t){var i=Hi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return MF(this,o)}}var qi=function(e){jF(r,e);var t=CF(r);function r(n){NF(this,r);var o,i;return o=t.call(this,n),u_(oO(o),"props",void 0),o.props=new DF((i=n)===null||i===void 0?void 0:i.props),o}return FF(r,null,[{key:"controlName",get:function(){return"\u5BFC\u5165"}},{key:"controlIcon",get:function(){return"iconshangchuan3"}},{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),r}(Me);u_(qi,"controlEventKeys",["on_click","on_click_finish"]),u_(qi,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}]);function Ui(){return{dataCode:{type:"string",required:!0,message:$.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:$.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:$.getMessage("pleaseSelectControl")}}}}}}function sr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wi(e){return Wi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wi(e)}function cO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l_(e,t)}function lO(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Vt(e,o,r[o])})}return e}function zF(e,t){return t&&(HF(t)==="object"||typeof t=="function")?t:sr(e)}function l_(e,t){return l_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},l_(e,t)}function HF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aO(e){var t=qF();return function(){var n=Wi(e),o;if(t){var i=Wi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zF(this,o)}}var UF=function(e){cO(r,e);var t=aO(r);function r(n){uO(this,r);var o;return o=t.call(this,n),Vt(sr(o),"fillPayload",{type:"object",fields:lO({},Ui())}),Vt(sr(o),"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:$.getMessage("pleaseEnterList")}}}),Vt(sr(o),"fillBack",{type:"object",fields:lO({mode:{type:"string",required:!0,message:$.getMessage("pleaseSelectFillBackMode")}},Ui())}),(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:$.getMessage("pleaseSelectControl")}),o}return r}(le),fO=function(e){cO(r,e);var t=aO(r);function r(n){uO(this,r);var o,i,u,c,l,a,f;o=t.call(this,n),Vt(sr(o),"fillPayload",void 0),Vt(sr(o),"formBind",void 0),Vt(sr(o),"fillBack",void 0),Vt(sr(o),"command",void 0);var s;o.content=(s=(i=n)===null||i===void 0?void 0:i.content)!==null&&s!==void 0?s:Gi.controlName;var p;o.icon=(p=(u=n)===null||u===void 0?void 0:u.icon)!==null&&p!==void 0?p:Gi.controlIcon;var _;return o.command=(_=(c=n)===null||c===void 0?void 0:c.command)!==null&&_!==void 0?_:"create",o.fillPayload=new Ig((l=n)===null||l===void 0?void 0:l.fillPayload),o.formBind=new j2((a=n)===null||a===void 0?void 0:a.formBind),o.fillBack=new Bg((f=n)===null||f===void 0?void 0:f.fillBack),o}return r}(Ge);Vt(fO,"Rules",UF);function sO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function KF(e,t,r){return t&&pO(e.prototype,t),r&&pO(e,r),e}function a_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ki(e){return Ki=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ki(e)}function GF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 XF(e,t){return t&&(JF(t)==="object"||typeof t=="function")?t:sO(e)}function f_(e,t){return f_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},f_(e,t)}function JF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZF(e){var t=QF();return function(){var n=Ki(e),o;if(t){var i=Ki(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XF(this,o)}}var Gi=function(e){GF(r,e);var t=ZF(r);function r(n){WF(this,r);var o,i;return o=t.call(this,n),a_(sO(o),"props",void 0),o.props=new fO((i=n)===null||i===void 0?void 0:i.props),o}return KF(r,null,[{key:"controlName",get:function(){return"\u8868\u5355\u64CD\u4F5C"}},{key:"controlIcon",get:function(){return"iconbiaodancaozuo"}},{key:"controlType",get:function(){return"form-select-button"}}]),r}(Me);a_(Gi,"controlEventKeys",["on_click","on_click_finish"]),a_(Gi,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function Ct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _O(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function St(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xi(e){return Xi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xi(e)}function yO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s_(e,t)}function dO(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){St(e,o,r[o])})}return e}function YF(e,t){return t&&(ej(t)==="object"||typeof t=="function")?t:Ct(e)}function s_(e,t){return s_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},s_(e,t)}function ej(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vO(e){var t=tj();return function(){var n=Xi(e),o;if(t){var i=Xi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YF(this,o)}}var rj=function(e){yO(r,e);var t=vO(r);function r(n){_O(this,r);var o;return o=t.call(this,n),St(Ct(o),"fillPayload",{type:"object",fields:dO({},Ui())}),St(Ct(o),"listPageBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:$.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:$.getMessage("pleaseSelectAtLeastOneColumn")}}}),St(Ct(o),"fillBack",{type:"object",fields:dO({mode:{type:"string",required:!0,message:$.getMessage("pleaseSelectFillBackMode")}},Ui())}),o}return r}(le),hO=function(e){yO(r,e);var t=vO(r);function r(n){_O(this,r);var o,i,u,c,l,a,f,s;o=t.call(this,n),St(Ct(o),"fillPayload",void 0),St(Ct(o),"listPageBind",void 0),St(Ct(o),"fillBack",void 0),St(Ct(o),"showSelectedDetail",void 0),St(Ct(o),"selectedContentConfig",void 0);var p;o.content=(p=(i=n)===null||i===void 0?void 0:i.content)!==null&&p!==void 0?p:Qi.controlName;var _;o.icon=(_=(u=n)===null||u===void 0?void 0:u.icon)!==null&&_!==void 0?_:Qi.controlIcon,o.fillPayload=new Ig((c=n)===null||c===void 0?void 0:c.fillPayload),o.listPageBind=new ws((l=n)===null||l===void 0?void 0:l.listPageBind),o.fillBack=new Bg((a=n)===null||a===void 0?void 0:a.fillBack);var h;return o.showSelectedDetail=(h=(f=n)===null||f===void 0?void 0:f.showSelectedDetail)!==null&&h!==void 0?h:!1,o.selectedContentConfig=new Ss((s=n)===null||s===void 0?void 0:s.selectedContentConfig),o}return r}(Ge);St(hO,"Rules",rj);function bO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function oj(e,t,r){return t&&gO(e.prototype,t),r&&gO(e,r),e}function p_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ji(e){return Ji=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ji(e)}function ij(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&__(e,t)}function uj(e,t){return t&&(cj(t)==="object"||typeof t=="function")?t:bO(e)}function __(e,t){return __=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},__(e,t)}function cj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aj(e){var t=lj();return function(){var n=Ji(e),o;if(t){var i=Ji(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uj(this,o)}}var Qi=function(e){ij(r,e);var t=aj(r);function r(n){nj(this,r);var o,i;return o=t.call(this,n),p_(bO(o),"props",void 0),o.props=new hO((i=n)===null||i===void 0?void 0:i.props),o}return oj(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u9009\u62E9"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-select-button"}}]),r}(Me);p_(Qi,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),p_(Qi,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function fj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zi(e){return Zi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zi(e)}function d_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v_(e,t)}function sj(e,t){return t&&(pj(t)==="object"||typeof t=="function")?t:fj(e)}function v_(e,t){return v_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},v_(e,t)}function pj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _j(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function h_(e){var t=_j();return function(){var n=Zi(e),o;if(t){var i=Zi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sj(this,o)}}var yj=function(e){d_(r,e);var t=h_(r);function r(n){return y_(this,r),t.call(this,n)}return r}(le),dj=function(e){d_(r,e);var t=h_(r);function r(n){return y_(this,r),t.call(this,n)}return r}(Rr),b_=function(e){d_(r,e);var t=h_(r);function r(n){return y_(this,r),t.call(this,n)}return r}(pe);mO(b_,"Rules",yj),mO(b_,"RuntimeRules",dj);function OO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hj(e,t,r){return t&&wO(e.prototype,t),r&&wO(e,r),e}function $O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yi(e){return Yi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yi(e)}function bj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 gj(e,t){return t&&(mj(t)==="object"||typeof t=="function")?t:OO(e)}function g_(e,t){return g_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},g_(e,t)}function mj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Oj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wj(e){var t=Oj();return function(){var n=Yi(e),o;if(t){var i=Yi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gj(this,o)}}var $j=function(e){bj(r,e);var t=wj(r);function r(n){vj(this,r);var o,i;return o=t.call(this,n),$O(OO(o),"props",void 0),o.props=new b_((i=n)===null||i===void 0?void 0:i.props),o}return hj(r,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),r}(K);$O($j,"setting",[]);function et(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function eu(e){return eu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},eu(e)}function RO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m_(e,t)}function Pj(e,t){return t&&(Rj(t)==="object"||typeof t=="function")?t:et(e)}function m_(e,t){return m_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},m_(e,t)}function Rj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Sj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SO(e){var t=Sj();return function(){var n=eu(e),o;if(t){var i=eu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Pj(this,o)}}var Ej=function(e){RO(r,e);var t=SO(r);function r(n){PO(this,r);var o;return o=t.call(this,n),tt(et(o),"dashboardKey",{type:"string",required:!0,message:$.getMessage("pleaseSelectDashboard")}),tt(et(o),"caption",{type:"string",required:!0,message:$.getMessage("pleaseEnterCaption")}),tt(et(o),"isHideCaption",{type:"boolean"}),tt(et(o),"labelPosition",{type:"enum",enum:["top","left"]}),tt(et(o),"captionTip",{type:"string",required:!1,message:$.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(le),EO=function(e){RO(r,e);var t=SO(r);function r(n){PO(this,r);var o,i,u,c,l,a,f;o=t.call(this,n),tt(et(o),"dashboardKey",void 0),tt(et(o),"caption",void 0),tt(et(o),"isHideCaption",void 0),tt(et(o),"isShowCaptionTip",void 0),tt(et(o),"captionTip",void 0),tt(et(o),"labelPosition",void 0);var s;o.dashboardKey=(s=(i=n)===null||i===void 0?void 0:i.dashboardKey)!==null&&s!==void 0?s:"";var p;o.caption=(p=(u=n)===null||u===void 0?void 0:u.caption)!==null&&p!==void 0?p:"";var _;o.isHideCaption=(_=(c=n)===null||c===void 0?void 0:c.isHideCaption)!==null&&_!==void 0?_:!1;var h;o.isShowCaptionTip=(h=(l=n)===null||l===void 0?void 0:l.isShowCaptionTip)!==null&&h!==void 0?h:!1;var d;o.captionTip=(d=(a=n)===null||a===void 0?void 0:a.captionTip)!==null&&d!==void 0?d:"";var b;return o.labelPosition=(b=(f=n)===null||f===void 0?void 0:f.labelPosition)!==null&&b!==void 0?b:"top",o}return r}(pe);tt(EO,"Rules",Ej);function TO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ij(e,t,r){return t&&IO(e.prototype,t),r&&IO(e,r),e}function BO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tu(e){return tu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tu(e)}function Bj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Aj(e,t){return t&&(xj(t)==="object"||typeof t=="function")?t:TO(e)}function O_(e,t){return O_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},O_(e,t)}function xj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dj(e){var t=kj();return function(){var n=tu(e),o;if(t){var i=tu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Aj(this,o)}}var Nj=function(e){Bj(r,e);var t=Dj(r);function r(n){Tj(this,r);var o,i;return o=t.call(this,n),BO(TO(o),"props",void 0),o.props=new EO((i=n)===null||i===void 0?void 0:i.props),o}return Ij(r,null,[{key:"controlName",get:function(){return"\u4EEA\u8868\u76D8"}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),r}(K);BO(Nj,"setting",[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE,v.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function vo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ho(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ru(e){return ru=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ru(e)}function xO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w_(e,t)}function Fj(e,t){return t&&(jj(t)==="object"||typeof t=="function")?t:vo(e)}function w_(e,t){return w_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},w_(e,t)}function jj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Mj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kO(e){var t=Mj();return function(){var n=ru(e),o;if(t){var i=ru(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Fj(this,o)}}var Lj=function(e){xO(r,e);var t=kO(r);function r(n){AO(this,r);var o;return o=t.call(this,n),ho(vo(o),"showType",{type:"enum",enum:["select","tabs"]}),ho(vo(o),"viewList",{type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:$.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:$.getMessage("pleaseSelectAtLeastOneColumn")}}}}),o}return r}(le),DO=function(e){xO(r,e);var t=kO(r);function r(n){AO(this,r);var o,i,u,c;o=t.call(this,n),ho(vo(o),"showType",void 0),ho(vo(o),"viewList",void 0);var l;o.showType=(l=(i=n)===null||i===void 0?void 0:i.showType)!==null&&l!==void 0?l:"select";var a;return o.viewList=(a=(c=n)===null||c===void 0||(u=c.viewList)===null||u===void 0?void 0:u.map(function(f){return new Y2(f)}))!==null&&a!==void 0?a:[],o}return r}(pe);ho(DO,"Rules",Lj);function NO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Cj(e,t,r){return t&&FO(e.prototype,t),r&&FO(e,r),e}function jO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nu(e){return nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nu(e)}function zj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$_(e,t)}function Hj(e,t){return t&&(qj(t)==="object"||typeof t=="function")?t:NO(e)}function $_(e,t){return $_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$_(e,t)}function qj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Uj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wj(e){var t=Uj();return function(){var n=nu(e),o;if(t){var i=nu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Hj(this,o)}}var Kj=function(e){zj(r,e);var t=Wj(r);function r(n){Vj(this,r);var o,i;return o=t.call(this,n),jO(NO(o),"props",void 0),o.props=new DO((i=n)===null||i===void 0?void 0:i.props),o}return Cj(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u89C6\u56FE"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-view-select"}}]),r}(K);jO(Kj,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}]);function Le(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ve(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ou(e){return ou=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ou(e)}function 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&&P_(e,t)}function Gj(e,t){return t&&(Xj(t)==="object"||typeof t=="function")?t:Le(e)}function P_(e,t){return P_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},P_(e,t)}function Xj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VO(e){var t=Jj();return function(){var n=ou(e),o;if(t){var i=ou(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Gj(this,o)}}var Qj=function(e){LO(r,e);var t=VO(r);function r(n){MO(this,r);var o;return o=t.call(this,n),Ve(Le(o),"caption",{type:"string",required:!0,message:$.getMessage("pleaseEnterCaption")}),Ve(Le(o),"isHideCaption",{type:"boolean"}),Ve(Le(o),"labelPosition",{type:"enum",enum:["top","left"]}),Ve(Le(o),"ocrType",{type:"string",required:!0,message:$.getMessage("pleaseSelectOcrType")}),Ve(Le(o),"fillList",{type:"array",validator:function(u,c,l){var a=c.every(function(f){return!f.controlId});if(a){l($.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}l()}}),Ve(Le(o),"captionTip",{type:"string",required:!1,message:$.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(le),CO=function(e){LO(r,e);var t=VO(r);function r(n){MO(this,r);var o,i,u,c,l,a,f,s,p,_,h;o=t.call(this,n),Ve(Le(o),"caption",void 0),Ve(Le(o),"isHideCaption",void 0),Ve(Le(o),"isShowCaptionTip",void 0),Ve(Le(o),"captionTip",void 0),Ve(Le(o),"labelPosition",void 0),Ve(Le(o),"ocrType",void 0),Ve(Le(o),"fillList",void 0);var d;o.caption=(d=(i=n)===null||i===void 0?void 0:i.caption)!==null&&d!==void 0?d:bo.controlName;var b;o.isHideCaption=(b=(u=n)===null||u===void 0?void 0:u.isHideCaption)!==null&&b!==void 0?b:!1;var y;o.isShowCaptionTip=(y=(c=n)===null||c===void 0?void 0:c.isShowCaptionTip)!==null&&y!==void 0?y:!1;var g;o.captionTip=(g=(l=n)===null||l===void 0?void 0:l.captionTip)!==null&&g!==void 0?g:"";var O;o.labelPosition=(O=(a=n)===null||a===void 0?void 0:a.labelPosition)!==null&&O!==void 0?O:"top";var w;o.content=(w=(f=n)===null||f===void 0?void 0:f.content)!==null&&w!==void 0?w:bo.controlName;var P;o.icon=(P=(s=n)===null||s===void 0?void 0:s.icon)!==null&&P!==void 0?P:bo.controlIcon;var E;o.ocrType=(E=(p=n)===null||p===void 0?void 0:p.ocrType)!==null&&E!==void 0?E:"";var T;return o.fillList=(T=(h=n)===null||h===void 0||(_=h.fillList)===null||_===void 0?void 0:_.map(function(B){return new je(B)}))!==null&&T!==void 0?T:[],o}return r}(Ge);Ve(CO,"Rules",Qj);function zO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Yj(e,t,r){return t&&HO(e.prototype,t),r&&HO(e,r),e}function R_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function iu(e){return iu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},iu(e)}function eM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&S_(e,t)}function tM(e,t){return t&&(rM(t)==="object"||typeof t=="function")?t:zO(e)}function S_(e,t){return S_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},S_(e,t)}function rM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oM(e){var t=nM();return function(){var n=iu(e),o;if(t){var i=iu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tM(this,o)}}var bo=function(e){eM(r,e);var t=oM(r);function r(n){Zj(this,r);var o,i;return o=t.call(this,n),R_(zO(o),"props",void 0),o.props=new CO((i=n)===null||i===void 0?void 0:i.props),o}return Yj(r,null,[{key:"controlName",get:function(){return"\u6587\u5B57\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconwenzishibie"}},{key:"controlType",get:function(){return"text-ocr-button"}}]),r}(Me);R_(bo,"controlEventKeys",["on_click","on_click_finish"]),R_(bo,"setting",[{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE,v.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function Ce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ze(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uu(e){return uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uu(e)}function UO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&E_(e,t)}function iM(e,t){return t&&(uM(t)==="object"||typeof t=="function")?t:Ce(e)}function E_(e,t){return E_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},E_(e,t)}function uM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WO(e){var t=cM();return function(){var n=uu(e),o;if(t){var i=uu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iM(this,o)}}var lM=function(e){UO(r,e);var t=WO(r);function r(n){qO(this,r);var o;return o=t.call(this,n),ze(Ce(o),"caption",{type:"string",required:!0,message:$.getMessage("pleaseEnterCaption")}),ze(Ce(o),"isHideCaption",{type:"boolean"}),ze(Ce(o),"labelPosition",{type:"enum",enum:["top","left"]}),ze(Ce(o),"invoiceCheck",{type:"boolean"}),ze(Ce(o),"fillList",{type:"array",validator:function(u,c,l){var a=c.every(function(f){return!f.controlId});if(a){l($.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}l()}}),ze(Ce(o),"captionTip",{type:"string",required:!1,message:$.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(le),KO=function(e){UO(r,e);var t=WO(r);function r(n){qO(this,r);var o,i,u,c,l,a,f,s,p,_,h;o=t.call(this,n),ze(Ce(o),"caption",void 0),ze(Ce(o),"isHideCaption",void 0),ze(Ce(o),"isShowCaptionTip",void 0),ze(Ce(o),"captionTip",void 0),ze(Ce(o),"labelPosition",void 0),ze(Ce(o),"invoiceCheck",void 0),ze(Ce(o),"fillList",void 0);var d;o.caption=(d=(i=n)===null||i===void 0?void 0:i.caption)!==null&&d!==void 0?d:go.controlName;var b;o.isHideCaption=(b=(u=n)===null||u===void 0?void 0:u.isHideCaption)!==null&&b!==void 0?b:!1;var y;o.isShowCaptionTip=(y=(c=n)===null||c===void 0?void 0:c.isShowCaptionTip)!==null&&y!==void 0?y:!1;var g;o.captionTip=(g=(l=n)===null||l===void 0?void 0:l.captionTip)!==null&&g!==void 0?g:"";var O;o.labelPosition=(O=(a=n)===null||a===void 0?void 0:a.labelPosition)!==null&&O!==void 0?O:"top";var w;o.content=(w=(f=n)===null||f===void 0?void 0:f.content)!==null&&w!==void 0?w:go.controlName;var P;o.icon=(P=(s=n)===null||s===void 0?void 0:s.icon)!==null&&P!==void 0?P:go.controlIcon;var E;o.invoiceCheck=(E=(p=n)===null||p===void 0?void 0:p.invoiceCheck)!==null&&E!==void 0?E:!0;var T;return o.fillList=(T=(h=n)===null||h===void 0||(_=h.fillList)===null||_===void 0?void 0:_.map(function(B){return new je(B)}))!==null&&T!==void 0?T:[],o}return r}(Ge);ze(KO,"Rules",lM);function GO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fM(e,t,r){return t&&XO(e.prototype,t),r&&XO(e,r),e}function T_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cu(e){return cu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cu(e)}function sM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 pM(e,t){return t&&(_M(t)==="object"||typeof t=="function")?t:GO(e)}function I_(e,t){return I_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},I_(e,t)}function _M(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dM(e){var t=yM();return function(){var n=cu(e),o;if(t){var i=cu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pM(this,o)}}var go=function(e){sM(r,e);var t=dM(r);function r(n){aM(this,r);var o,i;return o=t.call(this,n),T_(GO(o),"props",void 0),o.props=new KO((i=n)===null||i===void 0?void 0:i.props),o}return fM(r,null,[{key:"controlName",get:function(){return"\u53D1\u7968\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconfabiaoshibie1"}},{key:"controlType",get:function(){return"invoice-check-button"}}]),r}(Me);T_(go,"controlEventKeys",["on_click","on_click_finish"]),T_(go,"setting",[{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE,v.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function lu(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function au(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fu(e){return fu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fu(e)}function QO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&B_(e,t)}function vM(e,t){return t&&(hM(t)==="object"||typeof t=="function")?t:lu(e)}function B_(e,t){return B_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},B_(e,t)}function hM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZO(e){var t=bM();return function(){var n=fu(e),o;if(t){var i=fu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vM(this,o)}}var gM=function(e){QO(r,e);var t=ZO(r);function r(){JO(this,r);var n;return n=t.apply(this,arguments),au(lu(n),"printTemplates",{type:"array",min:1,required:!0,message:$.getMessage("pleaseUploadAtLeastOnePrintTemplate")}),n}return r}(le),YO=function(e){QO(r,e);var t=ZO(r);function r(n){JO(this,r);var o,i,u,c,l,a;o=t.call(this,n),au(lu(o),"printTemplates",void 0),au(lu(o),"autoSelectTemplate",void 0);var f;o.icon=(f=(i=n)===null||i===void 0?void 0:i.icon)!==null&&f!==void 0?f:pu.controlIcon;var s;o.content=(s=(u=n)===null||u===void 0?void 0:u.content)!==null&&s!==void 0?s:pu.controlName;var p;o.printTemplates=(p=(l=n)===null||l===void 0||(c=l.printTemplates)===null||c===void 0?void 0:c.map(function(h){return new HD(h)}))!==null&&p!==void 0?p:[];var _;return o.autoSelectTemplate=(_=(a=n)===null||a===void 0?void 0:a.autoSelectTemplate)!==null&&_!==void 0?_:!1,o}return r}(Ge);au(YO,"Rules",gM);function ew(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function OM(e,t,r){return t&&tw(e.prototype,t),r&&tw(e,r),e}function A_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function su(e){return su=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},su(e)}function 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&&x_(e,t)}function $M(e,t){return t&&(PM(t)==="object"||typeof t=="function")?t:ew(e)}function x_(e,t){return x_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},x_(e,t)}function PM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SM(e){var t=RM();return function(){var n=su(e),o;if(t){var i=su(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $M(this,o)}}var pu=function(e){wM(r,e);var t=SM(r);function r(n){mM(this,r);var o,i;return o=t.call(this,n),A_(ew(o),"props",void 0),o.props=new YO((i=n)===null||i===void 0?void 0:i.props),o}return OM(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u6253\u5370"}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),r}(Me);A_(pu,"controlEventKeys",["on_click","on_click_finish"]),A_(pu,"setting",[{key:"button-content",visible:!0},{key:"batch-print-setting",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function EM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _u(e){return _u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_u(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&&k_(e,t)}function BM(e,t){return t&&(AM(t)==="object"||typeof t=="function")?t:EM(e)}function k_(e,t){return k_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},k_(e,t)}function AM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kM(e){var t=xM();return function(){var n=_u(e),o;if(t){var i=_u(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BM(this,o)}}var DM=function(e){IM(r,e);var t=kM(r);function r(n){TM(this,r);var o,i,u;o=t.call(this,n);var c;o.content=(c=(i=n)===null||i===void 0?void 0:i.content)!==null&&c!==void 0?c:du.controlName;var l;return o.icon=(l=(u=n)===null||u===void 0?void 0:u.icon)!==null&&l!==void 0?l:du.controlIcon,o}return r}(Ge);function rw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function FM(e,t,r){return t&&nw(e.prototype,t),r&&nw(e,r),e}function D_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yu(e){return yu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yu(e)}function jM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&N_(e,t)}function MM(e,t){return t&&(LM(t)==="object"||typeof t=="function")?t:rw(e)}function N_(e,t){return N_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},N_(e,t)}function LM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CM(e){var t=VM();return function(){var n=yu(e),o;if(t){var i=yu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return MM(this,o)}}var du=function(e){jM(r,e);var t=CM(r);function r(n){NM(this,r);var o,i;return o=t.call(this,n),D_(rw(o),"props",void 0),o.props=new DM((i=n)===null||i===void 0?void 0:i.props),o}return FM(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u6253\u5370\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),r}(Me);D_(du,"controlEventKeys",["on_click"]),D_(du,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function ke(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ow(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function De(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vu(e){return vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vu(e)}function iw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&F_(e,t)}function zM(e,t){return t&&(HM(t)==="object"||typeof t=="function")?t:ke(e)}function F_(e,t){return F_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},F_(e,t)}function HM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uw(e){var t=qM();return function(){var n=vu(e),o;if(t){var i=vu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zM(this,o)}}var UM=function(e){iw(r,e);var t=uw(r);function r(n){ow(this,r);var o;return o=t.call(this,n),De(ke(o),"formKey",{type:"string",required:!1}),(n.command==="edit"||n.command==="view")&&(o.formKey={type:"string",required:!0,message:$.getMessage("pleaseEnterForm")}),o}return r}(le),hu=function(e){iw(r,e);var t=uw(r);function r(n){ow(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y;o=t.call(this,n),De(ke(o),"content",void 0),De(ke(o),"code",void 0),De(ke(o),"command",void 0),De(ke(o),"color",void 0),De(ke(o),"icon",void 0),De(ke(o),"formKey",void 0),De(ke(o),"openType",void 0),De(ke(o),"needConfirm",void 0),De(ke(o),"confirmMessage",void 0),De(ke(o),"options",void 0),De(ke(o),"defaultState",void 0),De(ke(o),"priorityProcess",void 0),De(ke(o),"isLoading",void 0);var g;o.content=(g=(i=n)===null||i===void 0?void 0:i.content)!==null&&g!==void 0?g:"\u6309\u94AE",o.code=(u=n)===null||u===void 0?void 0:u.code;var O;o.command=(O=(c=n)===null||c===void 0?void 0:c.command)!==null&&O!==void 0?O:"custom";var w;o.color=(w=(l=n)===null||l===void 0?void 0:l.color)!==null&&w!==void 0?w:"primary",o.icon=(a=n)===null||a===void 0?void 0:a.icon,o.formKey=(f=n)===null||f===void 0?void 0:f.formKey,o.openType=(s=n)===null||s===void 0?void 0:s.openType,o.needConfirm=(p=n)===null||p===void 0?void 0:p.needConfirm,o.confirmMessage=(_=n)===null||_===void 0?void 0:_.confirmMessage,o.options=(h=n)===null||h===void 0?void 0:h.options;var P;o.defaultState=(P=(d=n)===null||d===void 0?void 0:d.defaultState)!==null&&P!==void 0?P:"default",o.priorityProcess=(b=n)===null||b===void 0?void 0:b.priorityProcess;var E;return o.isLoading=(E=(y=n)===null||y===void 0?void 0:y.isLoading)!==null&&E!==void 0?E:!1,o}return r}(pe);De(hu,"Rules",UM);function cw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function KM(e,t,r){return t&&lw(e.prototype,t),r&&lw(e,r),e}function j_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bu(e){return bu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bu(e)}function 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&&M_(e,t)}function XM(e,t){return t&&(JM(t)==="object"||typeof t=="function")?t:cw(e)}function M_(e,t){return M_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},M_(e,t)}function JM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZM(e){var t=QM();return function(){var n=bu(e),o;if(t){var i=bu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XM(this,o)}}var gu=function(e){GM(r,e);var t=ZM(r);function r(n){WM(this,r);var o,i;return o=t.call(this,n),j_(cw(o),"props",void 0),o.props=new hu((i=n)===null||i===void 0?void 0:i.props),o}return KM(r,null,[{key:"controlName",get:function(){return"\u64CD\u4F5C\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"operation-button"}}]),r}(K);j_(gu,"controlEventKeys",["on_click"]),j_(gu,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE]},{key:"super-setting",visible:!0}]);function aw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function eL(e,t,r){return t&&fw(e.prototype,t),r&&fw(e,r),e}function tL(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mu(e){return mu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mu(e)}function rL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 nL(e,t){return t&&(oL(t)==="object"||typeof t=="function")?t:aw(e)}function L_(e,t){return L_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},L_(e,t)}function oL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uL(e){var t=iL();return function(){var n=mu(e),o;if(t){var i=mu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nL(this,o)}}var cL=function(e){rL(r,e);var t=uL(r);function r(n){YM(this,r);var o,i;return o=t.call(this,n),tL(aw(o),"props",void 0),o.props=new hu((i=n)===null||i===void 0?void 0:i.props),o}return eL(r,null,[{key:"controlType",get:function(){return"operation-button"}}]),r}(nr),V_={Designer:gu,Runtime:cL,Property:hu};function zt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ou(e){return Ou=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ou(e)}function aL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 fL(e,t){return t&&(sL(t)==="object"||typeof t=="function")?t:zt(e)}function C_(e,t){return C_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},C_(e,t)}function sL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _L(e){var t=pL();return function(){var n=Ou(e),o;if(t){var i=Ou(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fL(this,o)}}var yL=function(e){aL(r,e);var t=_L(r);function r(n){lL(this,r);var o,i,u,c,l,a,f,s,p,_;o=t.call(this,n),pr(zt(o),"content",void 0),pr(zt(o),"buttonType",void 0),pr(zt(o),"showType",void 0),pr(zt(o),"color",void 0),pr(zt(o),"icon",void 0),pr(zt(o),"defaultState",void 0),pr(zt(o),"command",void 0),pr(zt(o),"isLoading",void 0);var h;o.content=(h=(i=n)===null||i===void 0?void 0:i.content)!==null&&h!==void 0?h:$u.controlName;var d;o.icon=(d=(u=n)===null||u===void 0?void 0:u.icon)!==null&&d!==void 0?d:$u.controlIcon;var b;o.buttonType=(b=(c=n)===null||c===void 0?void 0:c.buttonType)!==null&&b!==void 0?b:"primary";var y;o.showType=(y=(l=n)===null||l===void 0?void 0:l.showType)!==null&&y!==void 0?y:"iconText";var g;o.color=(g=(a=n)===null||a===void 0?void 0:a.color)!==null&&g!==void 0?g:"danger";var O;o.isHide=(O=(f=n)===null||f===void 0?void 0:f.isHide)!==null&&O!==void 0?O:!1;var w;o.defaultState=(w=(s=n)===null||s===void 0?void 0:s.defaultState)!==null&&w!==void 0?w:"default";var P;o.command=(P=(p=n)===null||p===void 0?void 0:p.command)!==null&&P!==void 0?P:"custom";var E;return o.isLoading=(E=(_=n)===null||_===void 0?void 0:_.isLoading)!==null&&E!==void 0?E:!1,o}return r}(pe);function sw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vL(e,t,r){return t&&pw(e.prototype,t),r&&pw(e,r),e}function z_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wu(e){return wu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wu(e)}function hL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&H_(e,t)}function bL(e,t){return t&&(gL(t)==="object"||typeof t=="function")?t:sw(e)}function H_(e,t){return H_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},H_(e,t)}function gL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OL(e){var t=mL();return function(){var n=wu(e),o;if(t){var i=wu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bL(this,o)}}var $u=function(e){hL(r,e);var t=OL(r);function r(n){dL(this,r);var o,i;return o=t.call(this,n),z_(sw(o),"props",void 0),o.props=new yL((i=n)===null||i===void 0?void 0:i.props),o}return vL(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u5220\u9664"}},{key:"controlIcon",get:function(){return"iconlajitong"}},{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),r}(K);z_($u,"controlEventKeys",["on_click"]),z_($u,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE]},{key:"super-setting",visible:!0}]);function Et(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function st(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pu(e){return Pu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pu(e)}function U_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&W_(e,t)}function wL(e,t){return t&&($L(t)==="object"||typeof t=="function")?t:Et(e)}function W_(e,t){return W_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},W_(e,t)}function $L(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function K_(e){var t=PL();return function(){var n=Pu(e),o;if(t){var i=Pu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wL(this,o)}}var RL=function(e){U_(r,e);var t=K_(r);function r(n){q_(this,r);var o;return o=t.call(this,n),st(Et(o),"maxLength",{type:"number",min:0,message:$.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),st(Et(o),"minLength",{type:"number",max:200,message:$.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),st(Et(o),"defaultValue",[{type:"string",max:200,min:0,message:$.getMessage("stringRangeError")},{pattern:"",message:""}]),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue[0].max=n.maxLength,o.defaultValue[0].min=n.minLength,o.defaultValue[0].message=$.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o.defaultValue[1].pattern=gi(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(Pe),SL=function(e){U_(r,e);var t=K_(r);function r(n){q_(this,r);var o;return o=t.call(this,n),o.push({type:"string",message:$.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:$.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:gi(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(J),mo=function(e){U_(r,e);var t=K_(r);function r(n){q_(this,r);var o,i,u,c,l,a,f,s,p;o=t.call(this,n),st(Et(o),"maxLength",void 0),st(Et(o),"minLength",void 0),st(Et(o),"regularRules",void 0),st(Et(o),"defaultValue",void 0),st(Et(o),"encrypted",void 0),st(Et(o),"encryptedMode",void 0);var _;o.maxLength=(_=(i=n)===null||i===void 0?void 0:i.maxLength)!==null&&_!==void 0?_:200;var h;o.minLength=(h=(u=n)===null||u===void 0?void 0:u.minLength)!==null&&h!==void 0?h:0,o.regularRules=new Ag((c=n)===null||c===void 0?void 0:c.regularRules);var d;o.defaultValue=(d=(l=n)===null||l===void 0?void 0:l.defaultValue)!==null&&d!==void 0?d:"";var b;o.caption=(b=(a=n)===null||a===void 0?void 0:a.caption)!==null&&b!==void 0?b:Oo.controlName;var y;o.placeholder=(y=(f=n)===null||f===void 0?void 0:f.placeholder)!==null&&y!==void 0?y:"\u8BF7\u8F93\u5165";var g;o.encrypted=(g=(s=n)===null||s===void 0?void 0:s.encrypted)!==null&&g!==void 0?g:!1;var O;return o.encryptedMode=(O=(p=n)===null||p===void 0?void 0:p.encryptedMode)!==null&&O!==void 0?O:"",o}return r}(C);st(mo,"Rules",RL),st(mo,"RuntimeRules",SL);function _w(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function TL(e,t,r){return t&&yw(e.prototype,t),r&&yw(e,r),e}function Ru(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Su(e){return Su=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Su(e)}function IL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&G_(e,t)}function BL(e,t){return t&&(AL(t)==="object"||typeof t=="function")?t:_w(e)}function G_(e,t){return G_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},G_(e,t)}function AL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kL(e){var t=xL();return function(){var n=Su(e),o;if(t){var i=Su(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BL(this,o)}}var Oo=function(e){IL(r,e);var t=kL(r);function r(n){EL(this,r);var o,i;return o=t.call(this,n),Ru(_w(o),"props",void 0),o.props=new mo((i=n)===null||i===void 0?void 0:i.props),o}return TL(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconSingleline_new1"}},{key:"controlType",get:function(){return"input"}}]),r}(H);Ru(Oo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Ru(Oo,"controlFieldType",S.VARCHAR),Ru(Oo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.IS_SHOW_CAPTION_TIP,v.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function dw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function NL(e,t,r){return t&&vw(e.prototype,t),r&&vw(e,r),e}function hw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Eu(e){return Eu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Eu(e)}function FL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&X_(e,t)}function jL(e,t){return t&&(ML(t)==="object"||typeof t=="function")?t:dw(e)}function X_(e,t){return X_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},X_(e,t)}function ML(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VL(e){var t=LL();return function(){var n=Eu(e),o;if(t){var i=Eu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jL(this,o)}}var CL=function(e){FL(r,e);var t=VL(r);function r(n){DL(this,r);var o,i;return o=t.call(this,n),hw(dw(o),"props",void 0),o.props=new mo((i=n)===null||i===void 0?void 0:i.props),o}return NL(r,null,[{key:"controlType",get:function(){return"input"}}]),r}(q);hw(CL,"controlFieldType",S.VARCHAR);function Se(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function J_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function me(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tu(e){return Tu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tu(e)}function Q_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Z_(e,t)}function zL(e,t){return t&&(HL(t)==="object"||typeof t=="function")?t:Se(e)}function Z_(e,t){return Z_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Z_(e,t)}function HL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Y_(e){var t=qL();return function(){var n=Tu(e),o;if(t){var i=Tu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zL(this,o)}}var UL=function(e){Q_(r,e);var t=Y_(r);function r(n){J_(this,r);var o;o=t.call(this,n),me(Se(o),"limitMax",{type:"number",min:void 0,message:$.getMessage("PleaseReselectTheOptionalQuantity")});var i=n.limitMax==="unlimited";i&&(o.limitMax.type="string");var u=function(c){return c==="unlimited"?void 0:c};return o.limitMax.min=u(n.limitMin),o}return r}(Jr),WL=function(e){Q_(r,e);var t=Y_(r);function r(n){J_(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({type:"array",max:typeof n.limitMax=="number"?n.limitMax:void 0,min:typeof n.limitMin=="number"?n.limitMin:void 0}),o}return r}(J),Iu=function(e){Q_(r,e);var t=Y_(r);function r(n){J_(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y,g,O;o=t.call(this,n),me(Se(o),"checkboxMode",void 0),me(Se(o),"options",void 0),me(Se(o),"optionsOrder",void 0),me(Se(o),"limitMax",void 0),me(Se(o),"limitMin",void 0),me(Se(o),"otherOption",void 0),me(Se(o),"optionConfig",void 0),me(Se(o),"optionsFormat",void 0),me(Se(o),"defaultShowOptions",void 0),me(Se(o),"datasourceBind",void 0),me(Se(o),"multistageFilling",void 0),me(Se(o),"interreaction",void 0),me(Se(o),"defaultValue",void 0),me(Se(o),"openMultistageFilling",void 0);var w;o.options=Nt((w=(i=n)===null||i===void 0?void 0:i.options)!==null&&w!==void 0?w:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var P;o.checkboxMode=(P=(u=n)===null||u===void 0?void 0:u.checkboxMode)!==null&&P!==void 0?P:"horizontal";var E;o.optionConfig=(E=(c=n)===null||c===void 0?void 0:c.optionConfig)!==null&&E!==void 0?E:"custom";var T;o.optionsOrder=(T=(l=n)===null||l===void 0?void 0:l.optionsOrder)!==null&&T!==void 0?T:!1;var B;o.otherOption=(B=(a=n)===null||a===void 0?void 0:a.otherOption)!==null&&B!==void 0?B:!1;var I;o.limitMin=(I=(f=n)===null||f===void 0?void 0:f.limitMin)!==null&&I!==void 0?I:"unlimited";var A;o.limitMax=(A=(s=n)===null||s===void 0?void 0:s.limitMax)!==null&&A!==void 0?A:"unlimited",o.datasourceBind=new se((p=n)===null||p===void 0?void 0:p.datasourceBind);var x;o.interreaction=(x=(_=n)===null||_===void 0?void 0:_.interreaction)!==null&&x!==void 0?x:[];var k;o.caption=(k=(h=n)===null||h===void 0?void 0:h.caption)!==null&&k!==void 0?k:xu.controlName;var N;o.defaultValue=(N=(d=n)===null||d===void 0?void 0:d.defaultValue)!==null&&N!==void 0?N:[];var D;o.optionsFormat=(D=(b=n)===null||b===void 0?void 0:b.optionsFormat)!==null&&D!==void 0?D:"horizontal";var z;o.defaultShowOptions=(z=(y=n)===null||y===void 0?void 0:y.defaultShowOptions)!==null&&z!==void 0?z:!0;var Y;if(o.openMultistageFilling=(Y=(g=n)===null||g===void 0?void 0:g.openMultistageFilling)!==null&&Y!==void 0?Y:!1,o.multistageFilling=[],Array.isArray((O=n)===null||O===void 0?void 0:O.multistageFilling)){var ee;(ee=n)===null||ee===void 0||ee.multistageFilling.map(function(ne){var oe;(oe=o.multistageFilling)===null||oe===void 0||oe.push(new je(ne))})}return o}return r}(C);me(Iu,"Rules",UL),me(Iu,"RuntimeRules",WL);function bw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function GL(e,t,r){return t&&gw(e.prototype,t),r&&gw(e,r),e}function Bu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Au(e){return Au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Au(e)}function 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&&ey(e,t)}function JL(e,t){return t&&(QL(t)==="object"||typeof t=="function")?t:bw(e)}function ey(e,t){return ey=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ey(e,t)}function QL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YL(e){var t=ZL();return function(){var n=Au(e),o;if(t){var i=Au(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JL(this,o)}}var xu=function(e){XL(r,e);var t=YL(r);function r(n){KL(this,r);var o,i;return o=t.call(this,n),Bu(bw(o),"props",void 0),o.props=new Iu((i=n)===null||i===void 0?void 0:i.props),o}return GL(r,null,[{key:"controlName",get:function(){return"\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),r}(H);Bu(xu,"controlEventKeys",["on_change","on_click"]),Bu(xu,"controlFieldType",S.ARRAY),Bu(xu,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}]);function mw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ow(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function t5(e,t,r){return t&&Ow(e.prototype,t),r&&Ow(e,r),e}function ww(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ku(e){return ku=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ku(e)}function r5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ty(e,t)}function n5(e,t){return t&&(o5(t)==="object"||typeof t=="function")?t:mw(e)}function ty(e,t){return ty=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ty(e,t)}function o5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function i5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function u5(e){var t=i5();return function(){var n=ku(e),o;if(t){var i=ku(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return n5(this,o)}}var c5=function(e){r5(r,e);var t=u5(r);function r(n){e5(this,r);var o,i;return o=t.call(this,n),ww(mw(o),"props",void 0),o.props=new Iu((i=n)===null||i===void 0?void 0:i.props),o}return t5(r,null,[{key:"controlType",get:function(){return"checkbox"}}]),r}(q);ww(c5,"controlFieldType",S.ARRAY);function Xe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $w(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Je(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Du(e){return Du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Du(e)}function Pw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ry(e,t)}function l5(e,t){return t&&(a5(t)==="object"||typeof t=="function")?t:Xe(e)}function ry(e,t){return ry=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ry(e,t)}function a5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function f5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Rw(e){var t=f5();return function(){var n=Du(e),o;if(t){var i=Du(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return l5(this,o)}}var s5=function(e){Pw(r,e);var t=Rw(r);function r(n){return $w(this,r),t.call(this,n)}return r}(Jr),ny=function(e){Pw(r,e);var t=Rw(r);function r(n){$w(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y;o=t.call(this,n),Je(Xe(o),"radioMode",void 0),Je(Xe(o),"options",void 0),Je(Xe(o),"optionConfig",void 0),Je(Xe(o),"optionsFormat",void 0),Je(Xe(o),"defaultShowOptions",void 0),Je(Xe(o),"otherOption",void 0),Je(Xe(o),"optionsOrder",void 0),Je(Xe(o),"datasourceBind",void 0),Je(Xe(o),"multistageFilling",void 0),Je(Xe(o),"interreaction",void 0),Je(Xe(o),"defaultValue",void 0),Je(Xe(o),"openMultistageFilling",void 0);var g;o.options=Nt((g=(i=n)===null||i===void 0?void 0:i.options)!==null&&g!==void 0?g:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var O;o.radioMode=(O=(u=n)===null||u===void 0?void 0:u.radioMode)!==null&&O!==void 0?O:"horizontal";var w;o.optionConfig=(w=(c=n)===null||c===void 0?void 0:c.optionConfig)!==null&&w!==void 0?w:"custom";var P;o.otherOption=(P=(l=n)===null||l===void 0?void 0:l.otherOption)!==null&&P!==void 0?P:!1;var E;o.optionsOrder=(E=(a=n)===null||a===void 0?void 0:a.optionsOrder)!==null&&E!==void 0?E:!1;var T;o.defaultShowOptions=(T=(f=n)===null||f===void 0?void 0:f.defaultShowOptions)!==null&&T!==void 0?T:!0;var B;o.optionsFormat=(B=(s=n)===null||s===void 0?void 0:s.optionsFormat)!==null&&B!==void 0?B:"horizontal",o.datasourceBind=new se((p=n)===null||p===void 0?void 0:p.datasourceBind);var I;o.interreaction=(I=(_=n)===null||_===void 0?void 0:_.interreaction)!==null&&I!==void 0?I:[];var A;o.caption=(A=(h=n)===null||h===void 0?void 0:h.caption)!==null&&A!==void 0?A:ju.controlName;var x;o.defaultValue=(x=(d=n)===null||d===void 0?void 0:d.defaultValue)!==null&&x!==void 0?x:"";var k;if(o.openMultistageFilling=(k=(b=n)===null||b===void 0?void 0:b.openMultistageFilling)!==null&&k!==void 0?k:!1,o.multistageFilling=[],Array.isArray((y=n)===null||y===void 0?void 0:y.multistageFilling)){var N;(N=n)===null||N===void 0||N.multistageFilling.map(function(D){var z;(z=o.multistageFilling)===null||z===void 0||z.push(new je(D))})}return o}return r}(C);Je(ny,"Rules",s5);function Sw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ew(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _5(e,t,r){return t&&Ew(e.prototype,t),r&&Ew(e,r),e}function Nu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fu(e){return Fu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fu(e)}function 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&&oy(e,t)}function d5(e,t){return t&&(v5(t)==="object"||typeof t=="function")?t:Sw(e)}function oy(e,t){return oy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oy(e,t)}function v5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function h5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function b5(e){var t=h5();return function(){var n=Fu(e),o;if(t){var i=Fu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return d5(this,o)}}var ju=function(e){y5(r,e);var t=b5(r);function r(n){p5(this,r);var o,i;return o=t.call(this,n),Nu(Sw(o),"props",void 0),o.props=new ny((i=n)===null||i===void 0?void 0:i.props),o}return _5(r,null,[{key:"controlName",get:function(){return"\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),r}(H);Nu(ju,"controlEventKeys",["on_change","on_click"]),Nu(ju,"controlFieldType",S.VARCHAR),Nu(ju,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}]);function Tw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Iw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function m5(e,t,r){return t&&Iw(e.prototype,t),r&&Iw(e,r),e}function Bw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mu(e){return Mu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mu(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&&iy(e,t)}function w5(e,t){return t&&($5(t)==="object"||typeof t=="function")?t:Tw(e)}function iy(e,t){return iy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iy(e,t)}function $5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function P5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function R5(e){var t=P5();return function(){var n=Mu(e),o;if(t){var i=Mu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return w5(this,o)}}var S5=function(e){O5(r,e);var t=R5(r);function r(n){g5(this,r);var o,i;return o=t.call(this,n),Bw(Tw(o),"props",void 0),o.props=new ny((i=n)===null||i===void 0?void 0:i.props),o}return m5(r,null,[{key:"controlType",get:function(){return"radio"}}]),r}(q);Bw(S5,"controlFieldType",S.VARCHAR);function Ne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ee(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lu(e){return Lu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lu(e)}function cy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ly(e,t)}function E5(e,t){return t&&(T5(t)==="object"||typeof t=="function")?t:Ne(e)}function ly(e,t){return ly=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ly(e,t)}function T5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function I5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ay(e){var t=I5();return function(){var n=Lu(e),o;if(t){var i=Lu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return E5(this,o)}}var B5=function(e){cy(r,e);var t=ay(r);function r(n){uy(this,r);var o;o=t.call(this,n),Ee(Ne(o),"defaultValue",[{type:"number",min:0,max:200,message:$.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}]),Ee(Ne(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue[0].max=i,o.defaultValue[0].min=u,o.defaultValue[0].message=$.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:$.getMessage("numberRangeSetError")}),o.defaultValue[1].pattern=gi(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(Pe),A5=function(e){cy(r,e);var t=ay(r);function r(n){uy(this,r);var o;o=t.call(this,n),o[0].type="number";var i=n.rangeMax!==""?n.rangeMax:void 0,u=n.rangeMin!==""?n.rangeMin:void 0;return o.push({type:"number",max:i,min:u,message:$.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:gi(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(J),Vu=function(e){cy(r,e);var t=ay(r);function r(n){uy(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y,g;o=t.call(this,n),Ee(Ne(o),"rangeMin",void 0),Ee(Ne(o),"rangeMax",void 0),Ee(Ne(o),"numberType",void 0),Ee(Ne(o),"percentageFormat",void 0),Ee(Ne(o),"micrometer",void 0),Ee(Ne(o),"precision",void 0),Ee(Ne(o),"showUpperCase",void 0),Ee(Ne(o),"isShowUnit",void 0),Ee(Ne(o),"unitPosition",void 0),Ee(Ne(o),"unit",void 0),Ee(Ne(o),"defaultValue",void 0),Ee(Ne(o),"regularRules",void 0);var O;o.rangeMin=(O=(i=n)===null||i===void 0?void 0:i.rangeMin)!==null&&O!==void 0?O:"";var w;o.rangeMax=(w=(u=n)===null||u===void 0?void 0:u.rangeMax)!==null&&w!==void 0?w:"";var P;o.numberType=(P=(c=n)===null||c===void 0?void 0:c.numberType)!==null&&P!==void 0?P:"number";var E;o.percentageFormat=(E=(l=n)===null||l===void 0?void 0:l.percentageFormat)!==null&&E!==void 0?E:!1;var T;o.micrometer=(T=(a=n)===null||a===void 0?void 0:a.micrometer)!==null&&T!==void 0?T:!1;var B;o.precision=(B=(f=n)===null||f===void 0?void 0:f.precision)!==null&&B!==void 0?B:0;var I;o.showUpperCase=(I=(s=n)===null||s===void 0?void 0:s.showUpperCase)!==null&&I!==void 0?I:!1;var A;o.isShowUnit=(A=(p=n)===null||p===void 0?void 0:p.isShowUnit)!==null&&A!==void 0?A:!1;var x;o.unitPosition=(x=(_=n)===null||_===void 0?void 0:_.unitPosition)!==null&&x!==void 0?x:"right";var k;o.unit=(k=(h=n)===null||h===void 0?void 0:h.unit)!==null&&k!==void 0?k:"";var N;o.caption=(N=(d=n)===null||d===void 0?void 0:d.caption)!==null&&N!==void 0?N:Hu.controlName;var D;o.placeholder=(D=(b=n)===null||b===void 0?void 0:b.placeholder)!==null&&D!==void 0?D:"\u8BF7\u8F93\u5165";var z;return o.defaultValue=(z=(y=n)===null||y===void 0?void 0:y.defaultValue)!==null&&z!==void 0?z:"",o.regularRules=new Ag((g=n)===null||g===void 0?void 0:g.regularRules),o}return r}(C);Ee(Vu,"Rules",B5),Ee(Vu,"RuntimeRules",A5);function Aw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function k5(e,t,r){return t&&xw(e.prototype,t),r&&xw(e,r),e}function Cu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zu(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?zu=Reflect.get:zu=function(o,i,u){var c=F5(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},zu(e,t,r||e)}function rn(e){return rn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rn(e)}function 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&&fy(e,t)}function N5(e,t){return t&&(j5(t)==="object"||typeof t=="function")?t:Aw(e)}function fy(e,t){return fy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fy(e,t)}function F5(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=rn(e),e!==null););return e}function j5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function M5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function L5(e){var t=M5();return function(){var n=rn(e),o;if(t){var i=rn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return N5(this,o)}}var Hu=function(e){D5(r,e);var t=L5(r);function r(n){x5(this,r);var o,i;return o=t.call(this,n),Cu(Aw(o),"props",void 0),o.props=new Vu((i=n)===null||i===void 0?void 0:i.props),o}return k5(r,[{key:"toDataBindModel",value:function(o){var i=zu(rn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,l=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=l}return i}}],[{key:"controlName",get:function(){return"\u6570\u5B57"}},{key:"controlIcon",get:function(){return"iconnuminput_new"}},{key:"controlType",get:function(){return"number"}}]),r}(H);Cu(Hu,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Cu(Hu,"controlFieldType",S.DECIMAL),Cu(Hu,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.IS_SHOW_UNIT,v.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[v.SHOW_UPPER_CASE,v.MICROMETER,v.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function kw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function C5(e,t,r){return t&&Dw(e.prototype,t),r&&Dw(e,r),e}function Nw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qu(e){return qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qu(e)}function z5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sy(e,t)}function H5(e,t){return t&&(q5(t)==="object"||typeof t=="function")?t:kw(e)}function sy(e,t){return sy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sy(e,t)}function q5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function U5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function W5(e){var t=U5();return function(){var n=qu(e),o;if(t){var i=qu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return H5(this,o)}}var K5=function(e){z5(r,e);var t=W5(r);function r(n){V5(this,r);var o,i;return o=t.call(this,n),Nw(kw(o),"props",void 0),o.props=new Vu((i=n)===null||i===void 0?void 0:i.props),o}return C5(r,null,[{key:"controlType",get:function(){return"number"}}]),r}(q);Nw(K5,"controlFieldType",S.DECIMAL);function Ht(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function G5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _r(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Uu(e){return Uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uu(e)}function X5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&py(e,t)}function J5(e,t){return t&&(Q5(t)==="object"||typeof t=="function")?t:Ht(e)}function py(e,t){return py=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},py(e,t)}function Q5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Z5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Y5(e){var t=Z5();return function(){var n=Uu(e),o;if(t){var i=Uu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return J5(this,o)}}var Fw=function(e){X5(r,e);var t=Y5(r);function r(n){G5(this,r);var o,i,u,c,l,a,f,s,p,_,h,d;o=t.call(this,n),_r(Ht(o),"dateType",void 0),_r(Ht(o),"dateFormat",void 0),_r(Ht(o),"commonTimeSetting",void 0),_r(Ht(o),"setValueType",void 0),_r(Ht(o),"defaultValue",void 0),_r(Ht(o),"limitDateList",void 0),_r(Ht(o),"allowDateRange",void 0),_r(Ht(o),"filterWeekend",void 0);var b;o.dateType=(b=(i=n)===null||i===void 0?void 0:i.dateType)!==null&&b!==void 0?b:Zt.DATE;var y;o.dateFormat=(y=(u=n)===null||u===void 0?void 0:u.dateFormat)!==null&&y!==void 0?y:"";var g;o.commonTimeSetting=(g=(c=n)===null||c===void 0?void 0:c.commonTimeSetting)!==null&&g!==void 0?g:[];var O;o.setValueType=(O=(l=n)===null||l===void 0?void 0:l.setValueType)!==null&&O!==void 0?O:"custom";var w;o.caption=(w=(a=n)===null||a===void 0?void 0:a.caption)!==null&&w!==void 0?w:dy.controlName;var P;o.placeholder=(P=(f=n)===null||f===void 0?void 0:f.placeholder)!==null&&P!==void 0?P:"\u8BF7\u8F93\u5165\u65E5\u671F";var E;o.defaultValue=(E=(s=n)===null||s===void 0?void 0:s.defaultValue)!==null&&E!==void 0?E:"";var T;o.limitDateList=(T=(_=n)===null||_===void 0||(p=_.limitDateList)===null||p===void 0?void 0:p.map(function(A){return new Tp(A)}))!==null&&T!==void 0?T:[];var B;o.allowDateRange=(B=(h=n)===null||h===void 0?void 0:h.allowDateRange)!==null&&B!==void 0?B:["",""];var I;return o.filterWeekend=(I=(d=n)===null||d===void 0?void 0:d.filterWeekend)!==null&&I!==void 0?I:!1,o}return r}(C);function jw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function t6(e,t,r){return t&&Mw(e.prototype,t),r&&Mw(e,r),e}function _y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wu(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Wu=Reflect.get:Wu=function(o,i,u){var c=o6(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Wu(e,t,r||e)}function nn(e){return nn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nn(e)}function r6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yy(e,t)}function n6(e,t){return t&&(i6(t)==="object"||typeof t=="function")?t:jw(e)}function yy(e,t){return yy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yy(e,t)}function o6(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=nn(e),e!==null););return e}function i6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function u6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function c6(e){var t=u6();return function(){var n=nn(e),o;if(t){var i=nn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return n6(this,o)}}var dy=function(e){r6(r,e);var t=c6(r);function r(n){e6(this,r);var o,i;return o=t.call(this,n),_y(jw(o),"props",void 0),o.props=new Fw((i=n)===null||i===void 0?void 0:i.props),o}return t6(r,[{key:"toDataBindModel",value:function(o){var i=Wu(nn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props.dateType;i.props.dateType=u}return i}}],[{key:"controlName",get:function(){return"\u65E5\u671F"}},{key:"controlIcon",get:function(){return"iconriqi1"}},{key:"controlType",get:function(){return"date-picker"}}]),r}(H);_y(dy,"controlFieldType",S.TIMESTAMP),_y(dy,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function Lw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a6(e,t,r){return t&&Vw(e.prototype,t),r&&Vw(e,r),e}function Cw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ku(e){return Ku=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ku(e)}function f6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vy(e,t)}function s6(e,t){return t&&(p6(t)==="object"||typeof t=="function")?t:Lw(e)}function vy(e,t){return vy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vy(e,t)}function p6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function y6(e){var t=_6();return function(){var n=Ku(e),o;if(t){var i=Ku(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return s6(this,o)}}var d6=function(e){f6(r,e);var t=y6(r);function r(n){l6(this,r);var o,i;return o=t.call(this,n),Cw(Lw(o),"props",void 0),o.props=new Fw((i=n)===null||i===void 0?void 0:i.props),o}return a6(r,null,[{key:"controlType",get:function(){return"date-picker"}}]),r}(q);Cw(d6,"controlFieldType",S.TIMESTAMP);function rt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gu(e){return Gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gu(e)}function 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&&hy(e,t)}function v6(e,t){return t&&(h6(t)==="object"||typeof t=="function")?t:rt(e)}function hy(e,t){return hy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hy(e,t)}function h6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function b6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qw(e){var t=b6();return function(){var n=Gu(e),o;if(t){var i=Gu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return v6(this,o)}}var g6=function(e){Hw(r,e);var t=qw(r);function r(n){zw(this,r);var o;return o=t.call(this,n),o[0].type="object",n.isHide||o.push({type:"object",fields:{max:{type:"string",required:n.required,message:o[0].message},min:{type:"string",required:n.required,message:o[0].message}}}),o}return r}(J),by=function(e){Hw(r,e);var t=qw(r);function r(n){zw(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y;o=t.call(this,n),nt(rt(o),"dataBind",void 0),nt(rt(o),"rangeMin",void 0),nt(rt(o),"rangeMax",void 0),nt(rt(o),"placeholderStart",void 0),nt(rt(o),"placeholderEnd",void 0),nt(rt(o),"dateFormat",void 0),nt(rt(o),"commonTimeSetting",void 0),nt(rt(o),"dateType",void 0),nt(rt(o),"setValueType",void 0),nt(rt(o),"defaultValue",void 0),nt(rt(o),"limitDateList",void 0),o.dataBind=new G2((i=n)===null||i===void 0?void 0:i.dataBind),o.defaultValue=new X2((u=n)===null||u===void 0?void 0:u.defaultValue);var g;o.dateType=(g=(c=n)===null||c===void 0?void 0:c.dateType)!==null&&g!==void 0?g:Zt.DATE;var O;o.dateFormat=(O=(l=n)===null||l===void 0?void 0:l.dateFormat)!==null&&O!==void 0?O:"";var w;o.commonTimeSetting=(w=(a=n)===null||a===void 0?void 0:a.commonTimeSetting)!==null&&w!==void 0?w:[];var P;o.setValueType=(P=(f=n)===null||f===void 0?void 0:f.setValueType)!==null&&P!==void 0?P:"custom";var E;o.rangeMin=(E=(s=n)===null||s===void 0?void 0:s.rangeMin)!==null&&E!==void 0?E:"";var T;o.rangeMax=(T=(p=n)===null||p===void 0?void 0:p.rangeMax)!==null&&T!==void 0?T:"";var B;o.placeholderStart=(B=(_=n)===null||_===void 0?void 0:_.placeholderStart)!==null&&B!==void 0?B:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F";var I;o.placeholderEnd=(I=(h=n)===null||h===void 0?void 0:h.placeholderEnd)!==null&&I!==void 0?I:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F";var A;o.caption=(A=(d=n)===null||d===void 0?void 0:d.caption)!==null&&A!==void 0?A:Oy.controlName;var x;return o.limitDateList=(x=(y=n)===null||y===void 0||(b=y.limitDateList)===null||b===void 0?void 0:b.map(function(k){return new Tp(k)}))!==null&&x!==void 0?x:[],o}return r}(C);nt(by,"RuntimeRules",g6);function Uw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ww(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function O6(e,t,r){return t&&Ww(e.prototype,t),r&&Ww(e,r),e}function gy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xu(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Xu=Reflect.get:Xu=function(o,i,u){var c=P6(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Xu(e,t,r||e)}function on(e){return on=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},on(e)}function w6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&my(e,t)}function $6(e,t){return t&&(R6(t)==="object"||typeof t=="function")?t:Uw(e)}function my(e,t){return my=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},my(e,t)}function P6(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=on(e),e!==null););return e}function R6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function S6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function E6(e){var t=S6();return function(){var n=on(e),o;if(t){var i=on(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $6(this,o)}}var Oy=function(e){w6(r,e);var t=E6(r);function r(n){m6(this,r);var o,i;return o=t.call(this,n),gy(Uw(o),"props",void 0),o.props=new by((i=n)===null||i===void 0?void 0:i.props),o}return O6(r,[{key:"toDataBindModel",value:function(o){var i=Xu(on(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props.dateType;i.props.dateType=u}return i}}],[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"date-range"}}]),r}(H);gy(Oy,"controlFieldType",S.TIMESCOPE),gy(Oy,"setting",[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function Kw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function I6(e,t,r){return t&&Gw(e.prototype,t),r&&Gw(e,r),e}function Xw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ju(e){return Ju=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ju(e)}function B6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wy(e,t)}function A6(e,t){return t&&(x6(t)==="object"||typeof t=="function")?t:Kw(e)}function wy(e,t){return wy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wy(e,t)}function x6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function k6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function D6(e){var t=k6();return function(){var n=Ju(e),o;if(t){var i=Ju(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return A6(this,o)}}var N6=function(e){B6(r,e);var t=D6(r);function r(n){T6(this,r);var o,i;return o=t.call(this,n),Xw(Kw(o),"props",void 0),o.props=new by((i=n)===null||i===void 0?void 0:i.props),o}return I6(r,null,[{key:"controlType",get:function(){return"date-range"}}]),r}(q);Xw(N6,"controlFieldType",S.TIMESCOPE);function yr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qu(e){return Qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qu(e)}function Py(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ry(e,t)}function F6(e,t){return t&&(j6(t)==="object"||typeof t=="function")?t:yr(e)}function Ry(e,t){return Ry=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ry(e,t)}function j6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function M6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sy(e){var t=M6();return function(){var n=Qu(e),o;if(t){var i=Qu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return F6(this,o)}}var L6=function(e){Py(r,e);var t=Sy(r);function r(n){$y(this,r);var o;return o=t.call(this,n),qt(yr(o),"maxLength",{type:"number",min:0,message:$.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),qt(yr(o),"minLength",{type:"number",max:1e6,message:$.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),qt(yr(o),"defaultValue",{type:"string",max:200,min:0,message:$.getMessage("stringRangeError")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=$.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(Pe),V6=function(e){Py(r,e);var t=Sy(r);function r(n){$y(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:$.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(J),Zu=function(e){Py(r,e);var t=Sy(r);function r(n){$y(this,r);var o,i,u,c,l,a,f;o=t.call(this,n),qt(yr(o),"maxLength",void 0),qt(yr(o),"minLength",void 0),qt(yr(o),"defaultValue",void 0),qt(yr(o),"lineEllipsis",void 0);var s;o.maxLength=(s=(i=n)===null||i===void 0?void 0:i.maxLength)!==null&&s!==void 0?s:5e4;var p;o.minLength=(p=(u=n)===null||u===void 0?void 0:u.minLength)!==null&&p!==void 0?p:0;var _;o.defaultValue=(_=(c=n)===null||c===void 0?void 0:c.defaultValue)!==null&&_!==void 0?_:"";var h;o.caption=(h=(l=n)===null||l===void 0?void 0:l.caption)!==null&&h!==void 0?h:tc.controlName;var d;o.placeholder=(d=(a=n)===null||a===void 0?void 0:a.placeholder)!==null&&d!==void 0?d:"\u8BF7\u8F93\u5165";var b;return o.lineEllipsis=(b=(f=n)===null||f===void 0?void 0:f.lineEllipsis)!==null&&b!==void 0?b:4,o}return r}(C);qt(Zu,"Rules",L6),qt(Zu,"RuntimeRules",V6);function Jw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function z6(e,t,r){return t&&Qw(e.prototype,t),r&&Qw(e,r),e}function Yu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ec(e){return ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ec(e)}function H6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ey(e,t)}function q6(e,t){return t&&(U6(t)==="object"||typeof t=="function")?t:Jw(e)}function Ey(e,t){return Ey=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ey(e,t)}function U6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function W6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function K6(e){var t=W6();return function(){var n=ec(e),o;if(t){var i=ec(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return q6(this,o)}}var tc=function(e){H6(r,e);var t=K6(r);function r(n){C6(this,r);var o,i;return o=t.call(this,n),Yu(Jw(o),"props",void 0),o.props=new Zu((i=n)===null||i===void 0?void 0:i.props),o}return z6(r,null,[{key:"controlName",get:function(){return"\u591A\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconMultilineline_new1"}},{key:"controlType",get:function(){return"textarea"}}]),r}(H);Yu(tc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Yu(tc,"controlFieldType",S.TEXT),Yu(tc,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}]);function Zw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function G6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function X6(e,t,r){return t&&Yw(e.prototype,t),r&&Yw(e,r),e}function e$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rc(e){return rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rc(e)}function J6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ty(e,t)}function Q6(e,t){return t&&(Z6(t)==="object"||typeof t=="function")?t:Zw(e)}function Ty(e,t){return Ty=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ty(e,t)}function Z6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Y6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function e4(e){var t=Y6();return function(){var n=rc(e),o;if(t){var i=rc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Q6(this,o)}}var t4=function(e){J6(r,e);var t=e4(r);function r(n){G6(this,r);var o,i;return o=t.call(this,n),e$(Zw(o),"props",void 0),o.props=new Zu((i=n)===null||i===void 0?void 0:i.props),o}return X6(r,null,[{key:"controlType",get:function(){return"textarea"}}]),r}(q);e$(t4,"controlFieldType",S.TEXT);function Ir(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Iy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nc(e){return nc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nc(e)}function By(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ay(e,t)}function r4(e,t){return t&&(n4(t)==="object"||typeof t=="function")?t:Ir(e)}function Ay(e,t){return Ay=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ay(e,t)}function n4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function o4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xy(e){var t=o4();return function(){var n=nc(e),o;if(t){var i=nc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return r4(this,o)}}var i4=function(e){By(r,e);var t=xy(r);function r(n){Iy(this,r);var o;return o=t.call(this,n),dr(Ir(o),"maxLength",{type:"number",min:0,message:$.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),dr(Ir(o),"minLength",{type:"number",max:1e6,message:$.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),dr(Ir(o),"defaultValue",{type:"string",max:200,min:0,message:$.getMessage("stringRangeError")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=$.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(Pe),u4=function(e){By(r,e);var t=xy(r);function r(n){Iy(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:$.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(J),oc=function(e){By(r,e);var t=xy(r);function r(n){Iy(this,r);var o,i,u,c,l,a;o=t.call(this,n),dr(Ir(o),"maxLength",void 0),dr(Ir(o),"minLength",void 0),dr(Ir(o),"defaultValue",void 0);var f;o.maxLength=(f=(i=n)===null||i===void 0?void 0:i.maxLength)!==null&&f!==void 0?f:5e4;var s;o.minLength=(s=(u=n)===null||u===void 0?void 0:u.minLength)!==null&&s!==void 0?s:0;var p;o.defaultValue=(p=(c=n)===null||c===void 0?void 0:c.defaultValue)!==null&&p!==void 0?p:"";var _;o.caption=(_=(l=n)===null||l===void 0?void 0:l.caption)!==null&&_!==void 0?_:cc.controlName;var h;return o.placeholder=(h=(a=n)===null||a===void 0?void 0:a.placeholder)!==null&&h!==void 0?h:"\u8BF7\u8F93\u5165",o}return r}(C);dr(oc,"Rules",i4),dr(oc,"RuntimeRules",u4);function t$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l4(e,t,r){return t&&r$(e.prototype,t),r&&r$(e,r),e}function ic(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uc(e){return uc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uc(e)}function a4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 f4(e,t){return t&&(s4(t)==="object"||typeof t=="function")?t:t$(e)}function ky(e,t){return ky=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ky(e,t)}function s4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function p4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _4(e){var t=p4();return function(){var n=uc(e),o;if(t){var i=uc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return f4(this,o)}}var cc=function(e){a4(r,e);var t=_4(r);function r(n){c4(this,r);var o,i;return o=t.call(this,n),ic(t$(o),"props",void 0),o.props=new oc((i=n)===null||i===void 0?void 0:i.props),o}return l4(r,null,[{key:"controlName",get:function(){return"\u5BCC\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconRichtextbox_new"}},{key:"controlType",get:function(){return"rich-text"}}]),r}(H);ic(cc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),ic(cc,"controlFieldType",S.TEXT),ic(cc,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}]);function n$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d4(e,t,r){return t&&o$(e.prototype,t),r&&o$(e,r),e}function i$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lc(e){return lc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lc(e)}function v4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dy(e,t)}function h4(e,t){return t&&(b4(t)==="object"||typeof t=="function")?t:n$(e)}function Dy(e,t){return Dy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dy(e,t)}function b4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function g4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function m4(e){var t=g4();return function(){var n=lc(e),o;if(t){var i=lc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return h4(this,o)}}var O4=function(e){v4(r,e);var t=m4(r);function r(n){y4(this,r);var o,i;return o=t.call(this,n),i$(n$(o),"props",void 0),o.props=new oc((i=n)===null||i===void 0?void 0:i.props),o}return d4(r,null,[{key:"controlType",get:function(){return"rich-text"}}]),r}(q);i$(O4,"controlFieldType",S.TEXT);function ot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function it(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ac(e){return ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ac(e)}function 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&&Ny(e,t)}function w4(e,t){return t&&($4(t)==="object"||typeof t=="function")?t:ot(e)}function Ny(e,t){return Ny=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ny(e,t)}function $4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function P4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function l$(e){var t=P4();return function(){var n=ac(e),o;if(t){var i=ac(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return w4(this,o)}}var R4=function(e){c$(r,e);var t=l$(r);function r(n){return u$(this,r),t.call(this,n)}return r}(Jr),Fy=function(e){c$(r,e);var t=l$(r);function r(n){u$(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y;o=t.call(this,n),it(ot(o),"options",void 0),it(ot(o),"defaultShowOptions",void 0),it(ot(o),"optionConfig",void 0),it(ot(o),"defaultValue",void 0),it(ot(o),"datasourceBind",void 0),it(ot(o),"multistageFilling",void 0),it(ot(o),"allowCopyOptions",void 0),it(ot(o),"openMultistageFilling",void 0),it(ot(o),"viewFormModelType",void 0),it(ot(o),"canViewForm",void 0),it(ot(o),"formBind",void 0);var g;o.options=Nt((g=(i=n)===null||i===void 0?void 0:i.options)!==null&&g!==void 0?g:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var O;o.defaultShowOptions=(O=(u=n)===null||u===void 0?void 0:u.defaultShowOptions)!==null&&O!==void 0?O:!0;var w;o.optionConfig=(w=(c=n)===null||c===void 0?void 0:c.optionConfig)!==null&&w!==void 0?w:"custom",o.datasourceBind=new se((l=n)===null||l===void 0?void 0:l.datasourceBind);var P;o.caption=(P=(a=n)===null||a===void 0?void 0:a.caption)!==null&&P!==void 0?P:Ly.controlName;var E;o.placeholder=(E=(f=n)===null||f===void 0?void 0:f.placeholder)!==null&&E!==void 0?E:"\u8BF7\u9009\u62E9";var T;o.defaultValue=(T=(s=n)===null||s===void 0?void 0:s.defaultValue)!==null&&T!==void 0?T:"";var B;o.allowCopyOptions=(B=(p=n)===null||p===void 0?void 0:p.allowCopyOptions)!==null&&B!==void 0?B:!1;var I;if(o.openMultistageFilling=(I=(_=n)===null||_===void 0?void 0:_.openMultistageFilling)!==null&&I!==void 0?I:!1,o.multistageFilling=[],Array.isArray((h=n)===null||h===void 0?void 0:h.multistageFilling)){var A;(A=n)===null||A===void 0||A.multistageFilling.map(function(N){var D;(D=o.multistageFilling)===null||D===void 0||D.push(new je(N))})}var x;o.canViewForm=(x=(d=n)===null||d===void 0?void 0:d.canViewForm)!==null&&x!==void 0?x:!1;var k;return o.viewFormModelType=(k=(b=n)===null||b===void 0?void 0:b.viewFormModelType)!==null&&k!==void 0?k:"window",o.formBind=new Gr((y=n)===null||y===void 0?void 0:y.formBind),o}return r}(C);it(Fy,"Rules",R4);function a$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function E4(e,t,r){return t&&f$(e.prototype,t),r&&f$(e,r),e}function jy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fc(e){return fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fc(e)}function T4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 I4(e,t){return t&&(B4(t)==="object"||typeof t=="function")?t:a$(e)}function My(e,t){return My=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},My(e,t)}function B4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function A4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function x4(e){var t=A4();return function(){var n=fc(e),o;if(t){var i=fc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return I4(this,o)}}var Ly=function(e){T4(r,e);var t=x4(r);function r(n){S4(this,r);var o,i;return o=t.call(this,n),jy(a$(o),"props",void 0),o.props=new Fy((i=n)===null||i===void 0?void 0:i.props),o}return E4(r,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconxiala1"}},{key:"controlType",get:function(){return"select"}}]),r}(H);jy(Ly,"controlFieldType",S.VARCHAR),jy(Ly,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.DEFAULT_SHOW_OPTIONS,v.IS_SHOW_CAPTION_TIP,v.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[v.CAN_VIEW_FORM,v.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]);function s$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function D4(e,t,r){return t&&p$(e.prototype,t),r&&p$(e,r),e}function _$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sc(e){return sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sc(e)}function N4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vy(e,t)}function F4(e,t){return t&&(j4(t)==="object"||typeof t=="function")?t:s$(e)}function Vy(e,t){return Vy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vy(e,t)}function j4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function M4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function L4(e){var t=M4();return function(){var n=sc(e),o;if(t){var i=sc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return F4(this,o)}}var V4=function(e){N4(r,e);var t=L4(r);function r(n){k4(this,r);var o,i;return o=t.call(this,n),_$(s$(o),"props",void 0),o.props=new Fy((i=n)===null||i===void 0?void 0:i.props),o}return D4(r,null,[{key:"controlType",get:function(){return"select"}}]),r}(q);_$(V4,"controlFieldType",S.VARCHAR);function pt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ut(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pc(e){return pc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pc(e)}function zy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hy(e,t)}function C4(e,t){return t&&(z4(t)==="object"||typeof t=="function")?t:pt(e)}function Hy(e,t){return Hy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hy(e,t)}function z4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function H4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qy(e){var t=H4();return function(){var n=pc(e),o;if(t){var i=pc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return C4(this,o)}}var q4=function(e){zy(r,e);var t=qy(r);function r(n){return Cy(this,r),t.call(this,n)}return r}(Jr),U4=function(e){zy(r,e);var t=qy(r);function r(n){Cy(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(J),_c=function(e){zy(r,e);var t=qy(r);function r(n){Cy(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b;o=t.call(this,n),ut(pt(o),"options",void 0),ut(pt(o),"defaultShowOptions",void 0),ut(pt(o),"optionConfig",void 0),ut(pt(o),"defaultValue",void 0),ut(pt(o),"datasourceBind",void 0),ut(pt(o),"multistageFilling",void 0),ut(pt(o),"openMultistageFilling",void 0),ut(pt(o),"viewFormModelType",void 0),ut(pt(o),"canViewForm",void 0),ut(pt(o),"formBind",void 0);var y;o.options=Nt((y=(i=n)===null||i===void 0?void 0:i.options)!==null&&y!==void 0?y:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var g;o.defaultShowOptions=(g=(u=n)===null||u===void 0?void 0:u.defaultShowOptions)!==null&&g!==void 0?g:!0;var O;o.optionConfig=(O=(c=n)===null||c===void 0?void 0:c.optionConfig)!==null&&O!==void 0?O:"custom",o.datasourceBind=new se((l=n)===null||l===void 0?void 0:l.datasourceBind);var w;o.caption=(w=(a=n)===null||a===void 0?void 0:a.caption)!==null&&w!==void 0?w:Ky.controlName;var P;o.placeholder=(P=(f=n)===null||f===void 0?void 0:f.placeholder)!==null&&P!==void 0?P:"\u8BF7\u9009\u62E9";var E;o.defaultValue=(E=(s=n)===null||s===void 0?void 0:s.defaultValue)!==null&&E!==void 0?E:[];var T;if(o.openMultistageFilling=(T=(p=n)===null||p===void 0?void 0:p.openMultistageFilling)!==null&&T!==void 0?T:!1,o.multistageFilling=[],Array.isArray((_=n)===null||_===void 0?void 0:_.multistageFilling)){var B;(B=n)===null||B===void 0||B.multistageFilling.map(function(x){var k;(k=o.multistageFilling)===null||k===void 0||k.push(new je(x))})}var I;o.canViewForm=(I=(h=n)===null||h===void 0?void 0:h.canViewForm)!==null&&I!==void 0?I:!1;var A;return o.viewFormModelType=(A=(d=n)===null||d===void 0?void 0:d.viewFormModelType)!==null&&A!==void 0?A:"window",o.formBind=new Gr((b=n)===null||b===void 0?void 0:b.formBind),o}return r}(C);ut(_c,"Rules",q4),ut(_c,"RuntimeRules",U4);function y$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function K4(e,t,r){return t&&d$(e.prototype,t),r&&d$(e,r),e}function Uy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yc(e){return yc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yc(e)}function G4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wy(e,t)}function X4(e,t){return t&&(J4(t)==="object"||typeof t=="function")?t:y$(e)}function Wy(e,t){return Wy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wy(e,t)}function J4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Q4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Z4(e){var t=Q4();return function(){var n=yc(e),o;if(t){var i=yc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return X4(this,o)}}var Ky=function(e){G4(r,e);var t=Z4(r);function r(n){W4(this,r);var o,i;return o=t.call(this,n),Uy(y$(o),"props",void 0),o.props=new _c((i=n)===null||i===void 0?void 0:i.props),o}return K4(r,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconxialaduoxuan"}},{key:"controlType",get:function(){return"select-multiple"}}]),r}(H);Uy(Ky,"controlFieldType",S.ARRAY),Uy(Ky,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.DEFAULT_SHOW_OPTIONS,v.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[v.CAN_VIEW_FORM,v.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]);function v$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function e7(e,t,r){return t&&h$(e.prototype,t),r&&h$(e,r),e}function b$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dc(e){return dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dc(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&&Gy(e,t)}function r7(e,t){return t&&(n7(t)==="object"||typeof t=="function")?t:v$(e)}function Gy(e,t){return Gy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gy(e,t)}function n7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function o7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function i7(e){var t=o7();return function(){var n=dc(e),o;if(t){var i=dc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return r7(this,o)}}var u7=function(e){t7(r,e);var t=i7(r);function r(n){Y4(this,r);var o,i;return o=t.call(this,n),b$(v$(o),"props",void 0),o.props=new _c((i=n)===null||i===void 0?void 0:i.props),o}return e7(r,null,[{key:"controlType",get:function(){return"select-multiple"}}]),r}(q);b$(u7,"controlFieldType",S.ARRAY);function Ut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vc(e){return vc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vc(e)}function 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&&Xy(e,t)}function c7(e,t){return t&&(l7(t)==="object"||typeof t=="function")?t:Ut(e)}function Xy(e,t){return Xy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xy(e,t)}function l7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function a7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function O$(e){var t=a7();return function(){var n=vc(e),o;if(t){var i=vc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return c7(this,o)}}var f7=function(e){m$(r,e);var t=O$(r);function r(n){g$(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(J),Jy=function(e){m$(r,e);var t=O$(r);function r(n){g$(this,r);var o,i,u,c,l,a,f,s,p,_,h;o=t.call(this,n),Wt(Ut(o),"showType",void 0),Wt(Ut(o),"range",void 0),Wt(Ut(o),"rangeOptions",void 0),Wt(Ut(o),"multiple",void 0),Wt(Ut(o),"defaultValueType",void 0),Wt(Ut(o),"defaultValue",void 0),Wt(Ut(o),"multistageFilling",void 0),Wt(Ut(o),"openMultistageFilling",void 0);var d;o.showType=(d=(i=n)===null||i===void 0?void 0:i.showType)!==null&&d!==void 0?d:"default";var b;o.range=(b=(u=n)===null||u===void 0?void 0:u.range)!==null&&b!==void 0?b:"all";var y;o.rangeOptions=(y=(c=n)===null||c===void 0?void 0:c.rangeOptions)!==null&&y!==void 0?y:[];var g;o.multiple=(g=(l=n)===null||l===void 0?void 0:l.multiple)!==null&&g!==void 0?g:!1;var O;o.defaultValueType=(O=(a=n)===null||a===void 0?void 0:a.defaultValueType)!==null&&O!==void 0?O:"none";var w;o.defaultValue=(w=(f=n)===null||f===void 0?void 0:f.defaultValue)!==null&&w!==void 0?w:[];var P;o.caption=(P=(s=n)===null||s===void 0?void 0:s.caption)!==null&&P!==void 0?P:Yy.controlName;var E;o.placeholder=(E=(p=n)===null||p===void 0?void 0:p.placeholder)!==null&&E!==void 0?E:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var T;if(o.openMultistageFilling=(T=(_=n)===null||_===void 0?void 0:_.openMultistageFilling)!==null&&T!==void 0?T:!1,o.multistageFilling=[],Array.isArray((h=n)===null||h===void 0?void 0:h.multistageFilling)){var B;(B=n)===null||B===void 0||B.multistageFilling.map(function(I){var A;(A=o.multistageFilling)===null||A===void 0||A.push(new je(I))})}return o}return r}(C);Wt(Jy,"RuntimeRules",f7);function w$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p7(e,t,r){return t&&$$(e.prototype,t),r&&$$(e,r),e}function Qy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hc(e){return hc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hc(e)}function _7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zy(e,t)}function y7(e,t){return t&&(d7(t)==="object"||typeof t=="function")?t:w$(e)}function Zy(e,t){return Zy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zy(e,t)}function d7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function v7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function h7(e){var t=v7();return function(){var n=hc(e),o;if(t){var i=hc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return y7(this,o)}}var Yy=function(e){_7(r,e);var t=h7(r);function r(n){s7(this,r);var o,i;return o=t.call(this,n),Qy(w$(o),"props",void 0),o.props=new Jy((i=n)===null||i===void 0?void 0:i.props),o}return p7(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),r}(H);Qy(Yy,"controlFieldType",S.EMPLOYEES),Qy(Yy,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.MULTIPLE,v.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}]);function P$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function g7(e,t,r){return t&&R$(e.prototype,t),r&&R$(e,r),e}function S$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bc(e){return bc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bc(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&&ed(e,t)}function O7(e,t){return t&&(w7(t)==="object"||typeof t=="function")?t:P$(e)}function ed(e,t){return ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ed(e,t)}function w7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function P7(e){var t=$7();return function(){var n=bc(e),o;if(t){var i=bc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return O7(this,o)}}var R7=function(e){m7(r,e);var t=P7(r);function r(n){b7(this,r);var o,i;return o=t.call(this,n),S$(P$(o),"props",void 0),o.props=new Jy((i=n)===null||i===void 0?void 0:i.props),o}return g7(r,null,[{key:"controlType",get:function(){return"employee"}}]),r}(q);S$(R7,"controlFieldType",S.EMPLOYEES);function Kt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function td(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gc(e){return gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gc(e)}function rd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nd(e,t)}function S7(e,t){return t&&(E7(t)==="object"||typeof t=="function")?t:Kt(e)}function nd(e,t){return nd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nd(e,t)}function E7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function T7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function od(e){var t=T7();return function(){var n=gc(e),o;if(t){var i=gc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return S7(this,o)}}var I7=10485760,B7=104857600,A7=1048576e3,x7=function(e){rd(r,e);var t=od(r);function r(n){td(this,r);var o;return o=t.call(this,n),Tt(Kt(o),"maxSize",{type:"number",min:0,max:A7,message:$.getMessage("attachmentMaxSize")}),o}return r}(Pe),k7=function(e){rd(r,e);var t=od(r);function r(n){td(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({type:"array",max:n.maxLimit,min:n.minLimit,message:$.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),o}return r}(J),mc=function(e){rd(r,e);var t=od(r);function r(n){td(this,r);var o,i,u,c,l,a,f,s,p,_;o=t.call(this,n),Tt(Kt(o),"defaultValue",void 0),Tt(Kt(o),"showType",void 0),Tt(Kt(o),"resultShowType",void 0),Tt(Kt(o),"attachmentAccept",void 0),Tt(Kt(o),"maxLimit",void 0),Tt(Kt(o),"minLimit",void 0),Tt(Kt(o),"maxSize",void 0);var h;o.defaultValue=(h=(i=n)===null||i===void 0?void 0:i.defaultValue)!==null&&h!==void 0?h:[];var d;o.showType=(d=(u=n)===null||u===void 0?void 0:u.showType)!==null&&d!==void 0?d:"default";var b;o.resultShowType=(b=(c=n)===null||c===void 0?void 0:c.resultShowType)!==null&&b!==void 0?b:"simple";var y;o.attachmentAccept=(y=(l=n)===null||l===void 0?void 0:l.attachmentAccept)!==null&&y!==void 0?y:[];var g;o.maxLimit=(g=(a=n)===null||a===void 0?void 0:a.maxLimit)!==null&&g!==void 0?g:10;var O;o.minLimit=(O=(f=n)===null||f===void 0?void 0:f.minLimit)!==null&&O!==void 0?O:0;var w;o.maxSize=(w=(s=n)===null||s===void 0?void 0:s.maxSize)!==null&&w!==void 0?w:B7;var P;o.caption=(P=(p=n)===null||p===void 0?void 0:p.caption)!==null&&P!==void 0?P:wo.controlName;var E;return o.placeholder=(E=(_=n)===null||_===void 0?void 0:_.placeholder)!==null&&E!==void 0?E:"\u4E0A\u4F20\u9644\u4EF6",o}return r}(C);Tt(mc,"Rules",x7),Tt(mc,"RuntimeRules",k7);function E$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function N7(e,t,r){return t&&T$(e.prototype,t),r&&T$(e,r),e}function Oc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wc(e){return wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wc(e)}function F7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&id(e,t)}function j7(e,t){return t&&(M7(t)==="object"||typeof t=="function")?t:E$(e)}function id(e,t){return id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},id(e,t)}function M7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function L7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function V7(e){var t=L7();return function(){var n=wc(e),o;if(t){var i=wc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return j7(this,o)}}var wo=function(e){F7(r,e);var t=V7(r);function r(n){D7(this,r);var o,i;return o=t.call(this,n),Oc(E$(o),"props",void 0),o.props=new mc((i=n)===null||i===void 0?void 0:i.props),o}return N7(r,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(H);Oc(wo,"controlEventKeys",["on_change"]),Oc(wo,"controlFieldType",S.FILE),Oc(wo,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function I$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function B$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function z7(e,t,r){return t&&B$(e.prototype,t),r&&B$(e,r),e}function A$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $c(e){return $c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$c(e)}function H7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ud(e,t)}function q7(e,t){return t&&(U7(t)==="object"||typeof t=="function")?t:I$(e)}function ud(e,t){return ud=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ud(e,t)}function U7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function W7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function K7(e){var t=W7();return function(){var n=$c(e),o;if(t){var i=$c(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return q7(this,o)}}var G7=function(e){H7(r,e);var t=K7(r);function r(n){C7(this,r);var o,i;return o=t.call(this,n),A$(I$(o),"props",void 0),o.props=new mc((i=n)===null||i===void 0?void 0:i.props),o}return z7(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(q);A$(G7,"controlFieldType",S.FILE);function X7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function J7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Q7(e,t,r){return t&&x$(e.prototype,t),r&&x$(e,r),e}function k$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pc(e){return Pc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pc(e)}function Z7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cd(e,t)}function Y7(e,t){return t&&(e8(t)==="object"||typeof t=="function")?t:X7(e)}function cd(e,t){return cd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cd(e,t)}function e8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function t8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function r8(e){var t=t8();return function(){var n=Pc(e),o;if(t){var i=Pc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Y7(this,o)}}var D$=function(e){Z7(r,e);var t=r8(r);function r(n){J7(this,r);var o,i,u,c,l;o=t.call(this,n),o.props.showType="image";var a;o.props.caption=(a=(u=n)===null||u===void 0||(i=u.props)===null||i===void 0?void 0:i.caption)!==null&&a!==void 0?a:r.controlName;var f;return o.props.placeholder=(f=(l=n)===null||l===void 0||(c=l.props)===null||c===void 0?void 0:c.placeholder)!==null&&f!==void 0?f:"\u4E0A\u4F20\u56FE\u7247",o}return Q7(r,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),r}(wo);k$(D$,"controlFieldType",S.IMAGE),k$(D$,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.IS_SHOW_CAPTION_TIP]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function He(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ld(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Te(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rc(e){return Rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rc(e)}function ad(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fd(e,t)}function n8(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Te(e,o,r[o])})}return e}function o8(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function i8(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):o8(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function u8(e,t){return t&&(c8(t)==="object"||typeof t=="function")?t:He(e)}function fd(e,t){return fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fd(e,t)}function c8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function l8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sd(e){var t=l8();return function(){var n=Rc(e),o;if(t){var i=Rc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return u8(this,o)}}var a8=function(e){ad(r,e);var t=sd(r);function r(n){ld(this,r);var o;o=t.call(this,n),Te(He(o),"defaultValue",{type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:$.getMessage("pleaseEnterNumberRange")}]}}),Te(He(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue.fields.amount[0].max=i,o.defaultValue.fields.amount[0].min=u,o.defaultValue.fields.amount[0].message=$.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:$.getMessage("numberRangeSetError")}),o}return r}(Jr),f8=function(e){ad(r,e);var t=sd(r);function r(n){ld(this,r);var o;o=t.call(this,n),o[0].type="object";var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.push({type:"object",fields:{amount:[i8(n8({},o[0]),{type:"number"}),{type:"number",min:u,max:i,message:$.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}],currency:{type:"string"}}}),o}return r}(J),Sc=function(e){ad(r,e);var t=sd(r);function r(n){ld(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y;o=t.call(this,n),Te(He(o),"rangeMin",void 0),Te(He(o),"rangeMax",void 0),Te(He(o),"showUpperCase",void 0),Te(He(o),"submitSelectCurrency",void 0),Te(He(o),"micrometer",void 0),Te(He(o),"precision",void 0),Te(He(o),"optionConfig",void 0),Te(He(o),"dataBind",void 0),Te(He(o),"datasourceBind",void 0),Te(He(o),"defaultValue",void 0),Te(He(o),"options",void 0);var g;o.rangeMin=(g=(i=n)===null||i===void 0?void 0:i.rangeMin)!==null&&g!==void 0?g:"";var O;o.rangeMax=(O=(u=n)===null||u===void 0?void 0:u.rangeMax)!==null&&O!==void 0?O:"";var w;o.optionConfig=(w=(c=n)===null||c===void 0?void 0:c.optionConfig)!==null&&w!==void 0?w:"datasource";var P;o.micrometer=(P=(l=n)===null||l===void 0?void 0:l.micrometer)!==null&&P!==void 0?P:!1;var E;o.precision=(E=(a=n)===null||a===void 0?void 0:a.precision)!==null&&E!==void 0?E:2,o.dataBind=new W2((f=n)===null||f===void 0?void 0:f.dataBind);var T;o.datasourceBind=new se((T=(s=n)===null||s===void 0?void 0:s.datasourceBind)!==null&&T!==void 0?T:{displayBoList:[new Ps({value:"name"})]});var B;o.defaultValue=new K2((B=(p=n)===null||p===void 0?void 0:p.defaultValue)!==null&&B!==void 0?B:{amount:"",currency:zo.CNY}),o.options=Nt((_=n)===null||_===void 0?void 0:_.options);var I;o.caption=(I=(h=n)===null||h===void 0?void 0:h.caption)!==null&&I!==void 0?I:Ic.controlName;var A;o.placeholder=(A=(d=n)===null||d===void 0?void 0:d.placeholder)!==null&&A!==void 0?A:"\u8BF7\u8F93\u5165";var x;o.submitSelectCurrency=(x=(b=n)===null||b===void 0?void 0:b.submitSelectCurrency)!==null&&x!==void 0?x:!1;var k;return o.showUpperCase=(k=(y=n)===null||y===void 0?void 0:y.showUpperCase)!==null&&k!==void 0?k:!1,o}return r}(C);Te(Sc,"Rules",a8),Te(Sc,"RuntimeRules",f8);function N$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function F$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p8(e,t,r){return t&&F$(e.prototype,t),r&&F$(e,r),e}function Ec(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Tc=Reflect.get:Tc=function(o,i,u){var c=d8(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Tc(e,t,r||e)}function un(e){return un=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},un(e)}function _8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pd(e,t)}function y8(e,t){return t&&(v8(t)==="object"||typeof t=="function")?t:N$(e)}function pd(e,t){return pd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pd(e,t)}function d8(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=un(e),e!==null););return e}function v8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function h8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function b8(e){var t=h8();return function(){var n=un(e),o;if(t){var i=un(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return y8(this,o)}}var Ic=function(e){_8(r,e);var t=b8(r);function r(n){s8(this,r);var o,i;return o=t.call(this,n),Ec(N$(o),"props",void 0),o.props=new Sc((i=n)===null||i===void 0?void 0:i.props),o}return p8(r,[{key:"toDataBindModel",value:function(o){var i=Tc(un(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,l=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=l}return i}}],[{key:"controlName",get:function(){return"\u91D1\u989D"}},{key:"controlType",get:function(){return"amount"}},{key:"controlIcon",get:function(){return"iconjine"}}]),r}(H);Ec(Ic,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Ec(Ic,"controlFieldType",S.MONEY),Ec(Ic,"setting",[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.SUBMIT_SELECT_CURRENCY,v.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[v.SHOW_UPPER_CASE,v.MICROMETER,v.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function j$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function M$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function m8(e,t,r){return t&&M$(e.prototype,t),r&&M$(e,r),e}function L$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bc(e){return Bc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bc(e)}function O8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_d(e,t)}function w8(e,t){return t&&($8(t)==="object"||typeof t=="function")?t:j$(e)}function _d(e,t){return _d=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_d(e,t)}function $8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function P8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function R8(e){var t=P8();return function(){var n=Bc(e),o;if(t){var i=Bc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return w8(this,o)}}var S8=function(e){O8(r,e);var t=R8(r);function r(n){g8(this,r);var o,i;return o=t.call(this,n),L$(j$(o),"props",void 0),o.props=new Sc((i=n)===null||i===void 0?void 0:i.props),o}return m8(r,null,[{key:"controlType",get:function(){return"amount"}}]),r}(q);L$(S8,"controlFieldType",S.MONEY);function vr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ac(e){return Ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ac(e)}function dd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vd(e,t)}function E8(e,t){return t&&(T8(t)==="object"||typeof t=="function")?t:vr(e)}function vd(e,t){return vd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vd(e,t)}function T8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function I8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hd(e){var t=I8();return function(){var n=Ac(e),o;if(t){var i=Ac(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return E8(this,o)}}var B8=function(e){dd(r,e);var t=hd(r);function r(n){yd(this,r);var o;return o=t.call(this,n),Gt(vr(o),"totalScore",[{type:"number",required:!0,message:$.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:$.getMessage("theTotalScoreMustNotBeLessThan1")}]),Gt(vr(o),"defaultValue",{type:"number",min:0,max:5,message:$.getMessage("scoreDefaultValueRange")}),o.defaultValue.max=n.totalScore,o.defaultValue.message=$.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:0}),o}return r}(Pe),A8=function(e){dd(r,e);var t=hd(r);function r(n){yd(this,r);var o;o=t.call(this,n),o[0].type="number";var i=n.required?1:0;return o.push({type:"number",min:i,max:n.totalScore,message:$.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:i})}),o}return r}(J),xc=function(e){dd(r,e);var t=hd(r);function r(n){yd(this,r);var o,i,u,c,l,a,f,s;o=t.call(this,n),Gt(vr(o),"totalScore",void 0),Gt(vr(o),"scoreType",void 0),Gt(vr(o),"isShowExplain",void 0),Gt(vr(o),"explain",void 0),Gt(vr(o),"defaultValue",void 0);var p;o.totalScore=(p=(i=n)===null||i===void 0?void 0:i.totalScore)!==null&&p!==void 0?p:5;var _;o.scoreType=(_=(u=n)===null||u===void 0?void 0:u.scoreType)!==null&&_!==void 0?_:Ip.STAR;var h;o.isShowExplain=(h=(c=n)===null||c===void 0?void 0:c.isShowExplain)!==null&&h!==void 0?h:!0;var d;o.explain=(d=(a=n)===null||a===void 0||(l=a.explain)===null||l===void 0?void 0:l.map(function(g){return new Bp(g)}))!==null&&d!==void 0?d:Array(o.totalScore).fill(void 0).map(function(){return new Bp});var b;o.defaultValue=(b=(f=n)===null||f===void 0?void 0:f.defaultValue)!==null&&b!==void 0?b:0;var y;return o.caption=(y=(s=n)===null||s===void 0?void 0:s.caption)!==null&&y!==void 0?y:Nc.controlName,o}return r}(C);Gt(xc,"Rules",B8),Gt(xc,"RuntimeRules",A8);function bd(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function x8(e){if(Array.isArray(e))return bd(e)}function V$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function D8(e,t,r){return t&&C$(e.prototype,t),r&&C$(e,r),e}function kc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Dc=Reflect.get:Dc=function(o,i,u){var c=L8(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Dc(e,t,r||e)}function cn(e){return cn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cn(e)}function N8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gd(e,t)}function F8(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function j8(){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 M8(e,t){return t&&(C8(t)==="object"||typeof t=="function")?t:V$(e)}function gd(e,t){return gd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gd(e,t)}function L8(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=cn(e),e!==null););return e}function V8(e){return x8(e)||F8(e)||z8(e)||j8()}function C8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function z8(e,t){if(!!e){if(typeof e=="string")return bd(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return bd(e,t)}}function H8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function q8(e){var t=H8();return function(){var n=cn(e),o;if(t){var i=cn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return M8(this,o)}}var Nc=function(e){N8(r,e);var t=q8(r);function r(n){k8(this,r);var o,i;return o=t.call(this,n),kc(V$(o),"props",void 0),o.props=new xc((i=n)===null||i===void 0?void 0:i.props),o}return D8(r,[{key:"postUpdate",value:function(o,i){if(o==="totalScore"){if(i===this.props.explain.length)return;if(this.props.explain.length>i)this.props.explain=this.props.explain.slice(0,i);else{var u,c=i-this.props.explain.length,l=Array(c).fill(void 0).map(function(){return new Bp});(u=this.props.explain).push.apply(u,V8(l))}}Dc(cn(r.prototype),"postUpdate",this).call(this,o,i)}}],[{key:"controlName",get:function(){return"\u8BC4\u5206"}},{key:"controlIcon",get:function(){return"iconpingfen"}},{key:"controlType",get:function(){return"score"}}]),r}(H);kc(Nc,"controlEventKeys",["on_change","on_click"]),kc(Nc,"controlFieldType",S.DECIMAL),kc(Nc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function z$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function H$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function W8(e,t,r){return t&&H$(e.prototype,t),r&&H$(e,r),e}function q$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fc(e){return Fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fc(e)}function K8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&md(e,t)}function G8(e,t){return t&&(X8(t)==="object"||typeof t=="function")?t:z$(e)}function md(e,t){return md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},md(e,t)}function X8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function J8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Q8(e){var t=J8();return function(){var n=Fc(e),o;if(t){var i=Fc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return G8(this,o)}}var Z8=function(e){K8(r,e);var t=Q8(r);function r(n){U8(this,r);var o,i;return o=t.call(this,n),q$(z$(o),"props",void 0),o.props=new xc((i=n)===null||i===void 0?void 0:i.props),o}return W8(r,null,[{key:"controlType",get:function(){return"score"}}]),r}(q);q$(Z8,"controlFieldType",S.DECIMAL);function jc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lc(e){return Lc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lc(e)}function W$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Od(e,t)}function Y8(e,t){return t&&(e9(t)==="object"||typeof t=="function")?t:jc(e)}function Od(e,t){return Od=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Od(e,t)}function e9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function t9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function K$(e){var t=t9();return function(){var n=Lc(e),o;if(t){var i=Lc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Y8(this,o)}}var r9=function(e){W$(r,e);var t=K$(r);function r(n){U$(this,r);var o;if(o=t.call(this,n),o[0].type="object",n.required&&!n.isHide){var i={type:"object",fields:{province:{type:"string",required:n.required,message:$.getMessage("pleaseSelectProvince")}}};n.addressType.includes("city")&&(i.fields.city={type:"string",required:n.required,message:$.getMessage("pleaseSelectCity")}),n.addressType.includes("district")&&(i.fields.district={type:"string",required:n.required,message:$.getMessage("pleaseSelectDistrict")}),o.push(i)}return o}return r}(J),wd=function(e){W$(r,e);var t=K$(r);function r(n){U$(this,r);var o,i,u,c,l,a;o=t.call(this,n),Mc(jc(o),"defaultValueType",void 0),Mc(jc(o),"defaultValue",void 0),Mc(jc(o),"addressType",void 0);var f;o.caption=(f=(i=n)===null||i===void 0?void 0:i.caption)!==null&&f!==void 0?f:Rd.controlName;var s;o.defaultValueType=(s=(u=n)===null||u===void 0?void 0:u.defaultValueType)!==null&&s!==void 0?s:"default";var p;o.addressType=(p=(c=n)===null||c===void 0?void 0:c.addressType)!==null&&p!==void 0?p:["province","city","district"];var _;o.defaultValue=new J2((_=(l=n)===null||l===void 0?void 0:l.defaultValue)!==null&&_!==void 0?_:{});var h;return o.placeholder=(h=(a=n)===null||a===void 0?void 0:a.placeholder)!==null&&h!==void 0?h:"\u8BF7\u9009\u62E9\u5730\u5740",o}return r}(C);Mc(wd,"RuntimeRules",r9);function G$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function X$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o9(e,t,r){return t&&X$(e.prototype,t),r&&X$(e,r),e}function $d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vc(e){return Vc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vc(e)}function i9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pd(e,t)}function u9(e,t){return t&&(c9(t)==="object"||typeof t=="function")?t:G$(e)}function Pd(e,t){return Pd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pd(e,t)}function c9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function l9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function a9(e){var t=l9();return function(){var n=Vc(e),o;if(t){var i=Vc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return u9(this,o)}}var Rd=function(e){i9(r,e);var t=a9(r);function r(n){n9(this,r);var o,i;return o=t.call(this,n),$d(G$(o),"props",void 0),o.props=new wd((i=n)===null||i===void 0?void 0:i.props),o}return o9(r,null,[{key:"controlName",get:function(){return"\u5730\u5740"}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),r}(H);$d(Rd,"controlFieldType",S.ADDRESS),$d(Rd,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function J$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Q$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s9(e,t,r){return t&&Q$(e.prototype,t),r&&Q$(e,r),e}function Z$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cc(e){return Cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cc(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&&Sd(e,t)}function _9(e,t){return t&&(y9(t)==="object"||typeof t=="function")?t:J$(e)}function Sd(e,t){return Sd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sd(e,t)}function y9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function d9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function v9(e){var t=d9();return function(){var n=Cc(e),o;if(t){var i=Cc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _9(this,o)}}var h9=function(e){p9(r,e);var t=v9(r);function r(n){f9(this,r);var o,i;return o=t.call(this,n),Z$(J$(o),"props",void 0),o.props=new wd((i=n)===null||i===void 0?void 0:i.props),o}return s9(r,null,[{key:"controlName",get:function(){return"\u7701\u5E02\u533A"}},{key:"controlIcon",get:function(){return"iconicon_site_management11"}},{key:"controlType",get:function(){return"address"}}]),r}(q);Z$(h9,"controlFieldType",S.ADDRESS);function _t(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zc(e){return zc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zc(e)}function eP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ed(e,t)}function b9(e,t){return t&&(g9(t)==="object"||typeof t=="function")?t:_t(e)}function Ed(e,t){return Ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ed(e,t)}function g9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function m9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tP(e){var t=m9();return function(){var n=zc(e),o;if(t){var i=zc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return b9(this,o)}}var O9=function(e){eP(r,e);var t=tP(r);function r(n){Y$(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(J),Td=function(e){eP(r,e);var t=tP(r);function r(n){Y$(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b;o=t.call(this,n),yt(_t(o),"showType",void 0),yt(_t(o),"range",void 0),yt(_t(o),"defaultValueType",void 0),yt(_t(o),"multiple",void 0),yt(_t(o),"rangeOptions",void 0),yt(_t(o),"defaultValue",void 0),yt(_t(o),"displayLevel",void 0),yt(_t(o),"showSubDept",void 0),yt(_t(o),"multistageFilling",void 0),yt(_t(o),"openMultistageFilling",void 0);var y;o.showType=(y=(i=n)===null||i===void 0?void 0:i.showType)!==null&&y!==void 0?y:"default";var g;o.multiple=(g=(u=n)===null||u===void 0?void 0:u.multiple)!==null&&g!==void 0?g:!1;var O;o.range=(O=(c=n)===null||c===void 0?void 0:c.range)!==null&&O!==void 0?O:"all";var w;o.defaultValueType=(w=(l=n)===null||l===void 0?void 0:l.defaultValueType)!==null&&w!==void 0?w:"none";var P;o.rangeOptions=(P=(a=n)===null||a===void 0?void 0:a.rangeOptions)!==null&&P!==void 0?P:[];var E;o.defaultValue=(E=(f=n)===null||f===void 0?void 0:f.defaultValue)!==null&&E!==void 0?E:[];var T;o.displayLevel=(T=(s=n)===null||s===void 0?void 0:s.displayLevel)!==null&&T!==void 0?T:1;var B;o.showSubDept=(B=(p=n)===null||p===void 0?void 0:p.showSubDept)!==null&&B!==void 0?B:!0;var I;o.caption=(I=(_=n)===null||_===void 0?void 0:_.caption)!==null&&I!==void 0?I:Uc.controlName;var A;o.placeholder=(A=(h=n)===null||h===void 0?void 0:h.placeholder)!==null&&A!==void 0?A:"\u8BF7\u9009\u62E9\u90E8\u95E8";var x;if(o.openMultistageFilling=(x=(d=n)===null||d===void 0?void 0:d.openMultistageFilling)!==null&&x!==void 0?x:!1,o.multistageFilling=[],Array.isArray((b=n)===null||b===void 0?void 0:b.multistageFilling)){var k;(k=n)===null||k===void 0||k.multistageFilling.map(function(N){var D;(D=o.multistageFilling)===null||D===void 0||D.push(new je(N))})}return o}return r}(C);yt(Td,"RuntimeRules",O9);function rP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $9(e,t,r){return t&&nP(e.prototype,t),r&&nP(e,r),e}function Hc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?qc=Reflect.get:qc=function(o,i,u){var c=S9(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},qc(e,t,r||e)}function ln(e){return ln=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ln(e)}function 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&&Id(e,t)}function R9(e,t){return t&&(E9(t)==="object"||typeof t=="function")?t:rP(e)}function Id(e,t){return Id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Id(e,t)}function S9(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ln(e),e!==null););return e}function E9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function T9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function I9(e){var t=T9();return function(){var n=ln(e),o;if(t){var i=ln(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return R9(this,o)}}var Uc=function(e){P9(r,e);var t=I9(r);function r(n){w9(this,r);var o,i;return o=t.call(this,n),Hc(rP(o),"props",void 0),o.props=new Td((i=n)===null||i===void 0?void 0:i.props),o}return $9(r,[{key:"toDataBindModel",value:function(o){var i=qc(ln(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,l=u.showSubDept;i.props.displayLevel=c,i.props.showSubDept=l}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),r}(H);Hc(Uc,"controlName","\u90E8\u95E8"),Hc(Uc,"controlFieldType",S.DEPARTMENTS),Hc(Uc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.MULTIPLE,v.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function oP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function A9(e,t,r){return t&&iP(e.prototype,t),r&&iP(e,r),e}function uP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wc(e){return Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wc(e)}function x9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bd(e,t)}function k9(e,t){return t&&(D9(t)==="object"||typeof t=="function")?t:oP(e)}function Bd(e,t){return Bd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bd(e,t)}function D9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function N9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function F9(e){var t=N9();return function(){var n=Wc(e),o;if(t){var i=Wc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return k9(this,o)}}var j9=function(e){x9(r,e);var t=F9(r);function r(n){B9(this,r);var o,i;return o=t.call(this,n),uP(oP(o),"props",void 0),o.props=new Td((i=n)===null||i===void 0?void 0:i.props),o}return A9(r,null,[{key:"controlType",get:function(){return"department"}}]),r}(q);uP(j9,"controlFieldType",S.DEPARTMENTS);function cP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function L9(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kc(e){return Kc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kc(e)}function 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&&Ad(e,t)}function C9(e,t){return t&&(z9(t)==="object"||typeof t=="function")?t:cP(e)}function Ad(e,t){return Ad=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ad(e,t)}function z9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function H9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function q9(e){var t=H9();return function(){var n=Kc(e),o;if(t){var i=Kc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return C9(this,o)}}var lP=function(e){V9(r,e);var t=q9(r);function r(n){M9(this,r);var o,i,u,c;o=t.call(this,n),L9(cP(o),"defaultValue",void 0);var l;o.defaultValue=(l=(i=n)===null||i===void 0?void 0:i.defaultValue)!==null&&l!==void 0?l:"";var a;o.caption=(a=(u=n)===null||u===void 0?void 0:u.caption)!==null&&a!==void 0?a:Jc.controlName;var f;return o.placeholder=(f=(c=n)===null||c===void 0?void 0:c.placeholder)!==null&&f!==void 0?f:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",o}return r}(C);function aP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function W9(e,t,r){return t&&fP(e.prototype,t),r&&fP(e,r),e}function Gc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xc(e){return Xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xc(e)}function 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&&xd(e,t)}function G9(e,t){return t&&(X9(t)==="object"||typeof t=="function")?t:aP(e)}function xd(e,t){return xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xd(e,t)}function X9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function J9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Q9(e){var t=J9();return function(){var n=Xc(e),o;if(t){var i=Xc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return G9(this,o)}}var Jc=function(e){K9(r,e);var t=Q9(r);function r(n){U9(this,r);var o,i;return o=t.call(this,n),Gc(aP(o),"props",void 0),o.props=new lP((i=n)===null||i===void 0?void 0:i.props),o}return W9(r,null,[{key:"controlName",get:function(){return"\u81EA\u52A8\u7F16\u53F7"}},{key:"controlIcon",get:function(){return"iconnumber_new"}},{key:"controlType",get:function(){return"auto-number"}}]),r}(H);Gc(Jc,"controlEventKeys",["on_change"]),Gc(Jc,"controlFieldType",S.AUTO_NUMBER),Gc(Jc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE,v.IS_HIDE_CAPTION,v.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function sP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Z9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Y9(e,t,r){return t&&pP(e.prototype,t),r&&pP(e,r),e}function _P(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qc(e){return Qc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qc(e)}function eV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kd(e,t)}function tV(e,t){return t&&(rV(t)==="object"||typeof t=="function")?t:sP(e)}function kd(e,t){return kd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kd(e,t)}function rV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oV(e){var t=nV();return function(){var n=Qc(e),o;if(t){var i=Qc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tV(this,o)}}var iV=function(e){eV(r,e);var t=oV(r);function r(n){Z9(this,r);var o,i;return o=t.call(this,n),_P(sP(o),"props",void 0),o.props=new lP((i=n)===null||i===void 0?void 0:i.props),o}return Y9(r,null,[{key:"controlType",get:function(){return"auto-number"}}]),r}(q);_P(iV,"controlFieldType",S.AUTO_NUMBER);function hr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zc(e){return Zc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zc(e)}function Nd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fd(e,t)}function uV(e,t){return t&&(cV(t)==="object"||typeof t=="function")?t:hr(e)}function Fd(e,t){return Fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fd(e,t)}function cV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jd(e){var t=lV();return function(){var n=Zc(e),o;if(t){var i=Zc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uV(this,o)}}var aV=function(e){Nd(r,e);var t=jd(r);function r(n){Dd(this,r);var o;return o=t.call(this,n),o.dataBind.fields.result.required=!1,o.dataBind.fields.result.fields.fieldCode.required=!1,o.dataBind.fields.result.fields.dataCode.required=!1,o.dataBind.fields.unit.required=!1,o.dataBind.fields.unit.fields.fieldCode.required=!1,o.dataBind.fields.unit.fields.dataCode.required=!1,o}return r}(Pe),fV=function(e){Nd(r,e);var t=jd(r);function r(n){Dd(this,r);var o;return o=t.call(this,n),o[0].type="object",o.push({type:"object",message:$.getMessage("isNotObject"),fields:{result:[{type:"number",message:$.getMessage("isNotNumber")}],unit:{type:"string",message:$.getMessage("isNotString")}}}),o}return r}(J),Yc=function(e){Nd(r,e);var t=jd(r);function r(n){Dd(this,r);var o,i,u,c,l,a,f,s,p,_;o=t.call(this,n),Xt(hr(o),"precision",void 0),Xt(hr(o),"micrometer",void 0),Xt(hr(o),"showUpperCase",void 0),Xt(hr(o),"scriptSrc",void 0),Xt(hr(o),"scriptEcho",void 0),Xt(hr(o),"dataBind",void 0),Xt(hr(o),"defaultValue",void 0);var h;o.precision=(h=(i=n)===null||i===void 0?void 0:i.precision)!==null&&h!==void 0?h:0;var d;o.micrometer=(d=(u=n)===null||u===void 0?void 0:u.micrometer)!==null&&d!==void 0?d:!1;var b;o.showUpperCase=(b=(c=n)===null||c===void 0?void 0:c.showUpperCase)!==null&&b!==void 0?b:!1,o.dataBind=new Q2((l=n)===null||l===void 0?void 0:l.dataBind),o.defaultValue=new Z2((a=n)===null||a===void 0?void 0:a.defaultValue);var y;o.caption=(y=(f=n)===null||f===void 0?void 0:f.caption)!==null&&y!==void 0?y:rl.controlName;var g;o.placeholder=(g=(s=n)===null||s===void 0?void 0:s.placeholder)!==null&&g!==void 0?g:"\u8BF7\u8F93\u5165";var O;o.scriptEcho=(O=(p=n)===null||p===void 0?void 0:p.scriptEcho)!==null&&O!==void 0?O:[];var w;return o.scriptSrc=(w=(_=n)===null||_===void 0?void 0:_.scriptSrc)!==null&&w!==void 0?w:"",o}return r}(C);Xt(Yc,"Rules",aV),Xt(Yc,"RuntimeRules",fV);function yP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pV(e,t,r){return t&&dP(e.prototype,t),r&&dP(e,r),e}function el(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tl(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?tl=Reflect.get:tl=function(o,i,u){var c=dV(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},tl(e,t,r||e)}function an(e){return an=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},an(e)}function _V(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Md(e,t)}function yV(e,t){return t&&(vV(t)==="object"||typeof t=="function")?t:yP(e)}function Md(e,t){return Md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Md(e,t)}function dV(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=an(e),e!==null););return e}function vV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bV(e){var t=hV();return function(){var n=an(e),o;if(t){var i=an(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yV(this,o)}}var rl=function(e){_V(r,e);var t=bV(r);function r(n){sV(this,r);var o,i;return o=t.call(this,n),el(yP(o),"props",void 0),o.props=new Yc((i=n)===null||i===void 0?void 0:i.props),o}return pV(r,[{key:"toDataBindModel",value:function(o){var i=tl(an(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,l=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=l}return i}}],[{key:"controlName",get:function(){return"\u8BA1\u7B97\u516C\u5F0F"}},{key:"controlType",get:function(){return"calc"}},{key:"controlIcon",get:function(){return"iconcalculation_new"}}]),r}(H);el(rl,"controlEventKeys",["on_change"]),el(rl,"controlFieldType",S.CALC),el(rl,"setting",[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[v.SHOW_UPPER_CASE,v.MICROMETER,v.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function vP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mV(e,t,r){return t&&hP(e.prototype,t),r&&hP(e,r),e}function bP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nl(e){return nl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nl(e)}function OV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ld(e,t)}function wV(e,t){return t&&($V(t)==="object"||typeof t=="function")?t:vP(e)}function Ld(e,t){return Ld=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ld(e,t)}function $V(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RV(e){var t=PV();return function(){var n=nl(e),o;if(t){var i=nl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wV(this,o)}}var SV=function(e){OV(r,e);var t=RV(r);function r(n){gV(this,r);var o,i;return o=t.call(this,n),bP(vP(o),"props",void 0),o.props=new Yc((i=n)===null||i===void 0?void 0:i.props),o}return mV(r,null,[{key:"controlType",get:function(){return"calc"}}]),r}(q);bP(SV,"controlFieldType",S.CALC);function fn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ol(e){return ol=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ol(e)}function mP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vd(e,t)}function EV(e,t){return t&&(TV(t)==="object"||typeof t=="function")?t:fn(e)}function Vd(e,t){return Vd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vd(e,t)}function TV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OP(e){var t=IV();return function(){var n=ol(e),o;if(t){var i=ol(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return EV(this,o)}}var BV=function(e){mP(r,e);var t=OP(r);function r(n){gP(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({validator:function(u,c){if(n.required){var l=c.every(function(a){return!a});return l?Promise.reject($.getMessage("runtimeRequired",{caption:n.caption})):Promise.resolve()}else return Promise.resolve()}}),o}return r}(J),Cd=function(e){mP(r,e);var t=OP(r);function r(n){gP(this,r);var o,i,u,c,l,a,f;o=t.call(this,n),sn(fn(o),"rangeMin",void 0),sn(fn(o),"rangeMax",void 0),sn(fn(o),"placeholderStart",void 0),sn(fn(o),"placeholderEnd",void 0),sn(fn(o),"defaultValue",void 0);var s;o.defaultValue=(s=(i=n)===null||i===void 0?void 0:i.defaultValue)!==null&&s!==void 0?s:["",""];var p;o.rangeMin=(p=(u=n)===null||u===void 0?void 0:u.rangeMin)!==null&&p!==void 0?p:"";var _;o.rangeMax=(_=(c=n)===null||c===void 0?void 0:c.rangeMax)!==null&&_!==void 0?_:"";var h;o.placeholderStart=(h=(l=n)===null||l===void 0?void 0:l.placeholderStart)!==null&&h!==void 0?h:"\u6700\u5C0F\u503C";var d;o.placeholderEnd=(d=(a=n)===null||a===void 0?void 0:a.placeholderEnd)!==null&&d!==void 0?d:"\u6700\u5927\u503C";var b;return o.caption=(b=(f=n)===null||f===void 0?void 0:f.caption)!==null&&b!==void 0?b:qd.controlName,o}return r}(C);sn(Cd,"RuntimeRules",BV);function wP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $P(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xV(e,t,r){return t&&$P(e.prototype,t),r&&$P(e,r),e}function zd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function il(e){return il=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},il(e)}function 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&&Hd(e,t)}function DV(e,t){return t&&(NV(t)==="object"||typeof t=="function")?t:wP(e)}function Hd(e,t){return Hd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hd(e,t)}function NV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jV(e){var t=FV();return function(){var n=il(e),o;if(t){var i=il(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DV(this,o)}}var qd=function(e){kV(r,e);var t=jV(r);function r(n){AV(this,r);var o,i;return o=t.call(this,n),zd(wP(o),"props",void 0),o.props=new Cd((i=n)===null||i===void 0?void 0:i.props),o}return xV(r,null,[{key:"controlName",get:function(){return"\u6570\u5B57\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconshuziqujian"}},{key:"controlType",get:function(){return"search-number-range"}}]),r}(H);zd(qd,"controlFieldType",S.DECIMAL_RANGE),zd(qd,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function PP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function LV(e,t,r){return t&&RP(e.prototype,t),r&&RP(e,r),e}function SP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ul(e){return ul=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ul(e)}function VV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ud(e,t)}function CV(e,t){return t&&(zV(t)==="object"||typeof t=="function")?t:PP(e)}function Ud(e,t){return Ud=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ud(e,t)}function zV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qV(e){var t=HV();return function(){var n=ul(e),o;if(t){var i=ul(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return CV(this,o)}}var UV=function(e){VV(r,e);var t=qV(r);function r(n){MV(this,r);var o,i;return o=t.call(this,n),SP(PP(o),"props",void 0),o.props=new Cd((i=n)===null||i===void 0?void 0:i.props),o}return LV(r,null,[{key:"controlType",get:function(){return"search-number-range"}}]),r}(q);SP(UV,"controlFieldType",S.DECIMAL_RANGE);function dt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cl(e){return cl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cl(e)}function TP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wd(e,t)}function WV(e,t){return t&&(KV(t)==="object"||typeof t=="function")?t:dt(e)}function Wd(e,t){return Wd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wd(e,t)}function KV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IP(e){var t=GV();return function(){var n=cl(e),o;if(t){var i=cl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WV(this,o)}}var XV=function(e){TP(r,e);var t=IP(r);function r(n){EP(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({type:"array",fields:{0:{type:"string",required:n.required,message:o[0].message},1:{type:"string",required:n.required,message:o[0].message}}}),o}return r}(J),Kd=function(e){TP(r,e);var t=IP(r);function r(n){EP(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b;o=t.call(this,n),vt(dt(o),"rangeMin",void 0),vt(dt(o),"rangeMax",void 0),vt(dt(o),"placeholderStart",void 0),vt(dt(o),"placeholderEnd",void 0),vt(dt(o),"dateType",void 0),vt(dt(o),"dateFormat",void 0),vt(dt(o),"commonTimeSetting",void 0),vt(dt(o),"setValueType",void 0),vt(dt(o),"defaultValue",void 0),vt(dt(o),"limitDateList",void 0);var y;o.defaultValue=(y=(i=n)===null||i===void 0?void 0:i.defaultValue)!==null&&y!==void 0?y:["",""];var g;o.dateType=(g=(u=n)===null||u===void 0?void 0:u.dateType)!==null&&g!==void 0?g:Zt.DATE;var O;o.dateFormat=(O=(c=n)===null||c===void 0?void 0:c.dateFormat)!==null&&O!==void 0?O:"";var w;o.commonTimeSetting=(w=(l=n)===null||l===void 0?void 0:l.commonTimeSetting)!==null&&w!==void 0?w:[];var P;o.setValueType=(P=(a=n)===null||a===void 0?void 0:a.setValueType)!==null&&P!==void 0?P:"custom";var E;o.rangeMin=(E=(f=n)===null||f===void 0?void 0:f.rangeMin)!==null&&E!==void 0?E:"";var T;o.rangeMax=(T=(s=n)===null||s===void 0?void 0:s.rangeMax)!==null&&T!==void 0?T:"";var B;o.placeholderStart=(B=(p=n)===null||p===void 0?void 0:p.placeholderStart)!==null&&B!==void 0?B:"\u5F00\u59CB\u65E5\u671F";var I;o.placeholderEnd=(I=(_=n)===null||_===void 0?void 0:_.placeholderEnd)!==null&&I!==void 0?I:"\u7ED3\u675F\u65E5\u671F";var A;o.caption=(A=(h=n)===null||h===void 0?void 0:h.caption)!==null&&A!==void 0?A:Jd.controlName;var x;return o.limitDateList=(x=(b=n)===null||b===void 0||(d=b.limitDateList)===null||d===void 0?void 0:d.map(function(k){return new Tp(k)}))!==null&&x!==void 0?x:[],o}return r}(C);vt(Kd,"RuntimeRules",XV);function BP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function QV(e,t,r){return t&&AP(e.prototype,t),r&&AP(e,r),e}function Gd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ll(e){return ll=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ll(e)}function ZV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xd(e,t)}function YV(e,t){return t&&(eC(t)==="object"||typeof t=="function")?t:BP(e)}function Xd(e,t){return Xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xd(e,t)}function eC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rC(e){var t=tC();return function(){var n=ll(e),o;if(t){var i=ll(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YV(this,o)}}var Jd=function(e){ZV(r,e);var t=rC(r);function r(n){JV(this,r);var o,i;return o=t.call(this,n),Gd(BP(o),"props",void 0),o.props=new Kd((i=n)===null||i===void 0?void 0:i.props),o}return QV(r,null,[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"search-date-range"}}]),r}(H);Gd(Jd,"controlFieldType",S.ARRAY),Gd(Jd,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function xP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function oC(e,t,r){return t&&kP(e.prototype,t),r&&kP(e,r),e}function DP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function al(e){return al=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},al(e)}function iC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 uC(e,t){return t&&(cC(t)==="object"||typeof t=="function")?t:xP(e)}function Qd(e,t){return Qd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qd(e,t)}function cC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aC(e){var t=lC();return function(){var n=al(e),o;if(t){var i=al(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uC(this,o)}}var fC=function(e){iC(r,e);var t=aC(r);function r(n){nC(this,r);var o,i;return o=t.call(this,n),DP(xP(o),"props",void 0),o.props=new Kd((i=n)===null||i===void 0?void 0:i.props),o}return oC(r,null,[{key:"controlType",get:function(){return"search-date-range"}}]),r}(q);DP(fC,"controlFieldType",S.ARRAY);function $o(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fl(e){return fl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fl(e)}function Yd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ev(e,t)}function sC(e,t){return t&&(pC(t)==="object"||typeof t=="function")?t:$o(e)}function ev(e,t){return ev=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ev(e,t)}function pC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _C(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tv(e){var t=_C();return function(){var n=fl(e),o;if(t){var i=fl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sC(this,o)}}var yC=function(e){Yd(r,e);var t=tv(r);function r(n){Zd(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(Pe),dC=function(e){Yd(r,e);var t=tv(r);function r(n){Zd(this,r);var o;return o=t.call(this,n),o[0].type="any",o}return r}(J),sl=function(e){Yd(r,e);var t=tv(r);function r(n){Zd(this,r);var o,i,u,c,l,a;o=t.call(this,n),pn($o(o),"controlExportName",void 0),pn($o(o),"permissions",void 0),pn($o(o),"defaultValue",void 0),pn($o(o),"isInlineEdit",void 0);var f;o.caption=(f=(i=n)===null||i===void 0?void 0:i.caption)!==null&&f!==void 0?f:yl.controlName;var s;o.defaultValue=(s=(u=n)===null||u===void 0?void 0:u.defaultValue)!==null&&s!==void 0?s:void 0;var p;o.controlExportName=(p=(c=n)===null||c===void 0?void 0:c.controlExportName)!==null&&p!==void 0?p:"";var _;o.permissions=(_=(l=n)===null||l===void 0?void 0:l.permissions)!==null&&_!==void 0?_:[];var h;return o.isInlineEdit=(h=(a=n)===null||a===void 0?void 0:a.isInlineEdit)!==null&&h!==void 0?h:!1,o}return r}(C);pn(sl,"Rules",yC),pn(sl,"RuntimeRules",dC);function NP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hC(e,t,r){return t&&FP(e.prototype,t),r&&FP(e,r),e}function pl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _l(e){return _l=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_l(e)}function 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&&rv(e,t)}function gC(e,t){return t&&(mC(t)==="object"||typeof t=="function")?t:NP(e)}function rv(e,t){return rv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rv(e,t)}function mC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wC(e){var t=OC();return function(){var n=_l(e),o;if(t){var i=_l(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gC(this,o)}}var yl=function(e){bC(r,e);var t=wC(r);function r(n){vC(this,r);var o,i;return o=t.call(this,n),pl(NP(o),"props",void 0),o.props=new sl((i=n)===null||i===void 0?void 0:i.props),o}return hC(r,null,[{key:"controlName",get:function(){return"Vue\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return"vue-form-item"}}]),r}(H);pl(yl,"controlFieldType",S.ANY),pl(yl,"controlEventKeys",[]),pl(yl,"setting",[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE,v.IS_HIDE_CAPTION,v.REQUIRED,v.IS_SHOW_CAPTION_TIP,v.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}]);function jP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function PC(e,t,r){return t&&MP(e.prototype,t),r&&MP(e,r),e}function LP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dl(e){return dl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dl(e)}function RC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 SC(e,t){return t&&(EC(t)==="object"||typeof t=="function")?t:jP(e)}function nv(e,t){return nv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nv(e,t)}function EC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IC(e){var t=TC();return function(){var n=dl(e),o;if(t){var i=dl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SC(this,o)}}var BC=function(e){RC(r,e);var t=IC(r);function r(n){$C(this,r);var o,i;return o=t.call(this,n),LP(jP(o),"props",void 0),o.props=new sl((i=n)===null||i===void 0?void 0:i.props),o}return PC(r,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),r}(q);LP(BC,"controlFieldType",S.ANY);function qe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ue(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vl(e){return vl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vl(e)}function CP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ov(e,t)}function AC(e,t){return t&&(xC(t)==="object"||typeof t=="function")?t:qe(e)}function ov(e,t){return ov=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ov(e,t)}function xC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zP(e){var t=kC();return function(){var n=vl(e),o;if(t){var i=vl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AC(this,o)}}var DC=function(e){CP(r,e);var t=zP(r);function r(n){VP(this,r);var o;return o=t.call(this,n),Ue(qe(o),"listPageBind",[{type:"object",message:$.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:$.getMessage("isNotString")},{type:"string",required:!0,message:$.getMessage("pleaseEnterList")}]}}]),o}return r}(Jr),iv=function(e){CP(r,e);var t=zP(r);function r(n){VP(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y,g;o=t.call(this,n),Ue(qe(o),"options",void 0),Ue(qe(o),"optionConfig",void 0),Ue(qe(o),"defaultValue",void 0),Ue(qe(o),"listPageBind",void 0),Ue(qe(o),"datasourceBind",void 0),Ue(qe(o),"multistageFilling",void 0),Ue(qe(o),"viewFormModelType",void 0),Ue(qe(o),"canViewForm",void 0),Ue(qe(o),"formBind",void 0),Ue(qe(o),"openMultistageFilling",void 0),Ue(qe(o),"showSelectedDetail",void 0),Ue(qe(o),"selectedContentConfig",void 0);var O;o.options=Nt((O=(i=n)===null||i===void 0?void 0:i.options)!==null&&O!==void 0?O:[]);var w;o.optionConfig=(w=(u=n)===null||u===void 0?void 0:u.optionConfig)!==null&&w!==void 0?w:"datasource",o.listPageBind=new ws((c=n)===null||c===void 0?void 0:c.listPageBind),o.datasourceBind=new se((l=n)===null||l===void 0?void 0:l.datasourceBind);var P;o.caption=(P=(a=n)===null||a===void 0?void 0:a.caption)!==null&&P!==void 0?P:gl.controlName;var E;o.placeholder=(E=(f=n)===null||f===void 0?void 0:f.placeholder)!==null&&E!==void 0?E:"\u8BF7\u9009\u62E9";var T;o.defaultValue=(T=(s=n)===null||s===void 0?void 0:s.defaultValue)!==null&&T!==void 0?T:"";var B;o.openMultistageFilling=(B=(p=n)===null||p===void 0?void 0:p.openMultistageFilling)!==null&&B!==void 0?B:!1;var I;if(o.showSelectedDetail=(I=(_=n)===null||_===void 0?void 0:_.showSelectedDetail)!==null&&I!==void 0?I:!1,o.selectedContentConfig=new Ss((h=n)===null||h===void 0?void 0:h.selectedContentConfig),o.multistageFilling=[],Array.isArray((d=n)===null||d===void 0?void 0:d.multistageFilling)){var A;(A=n)===null||A===void 0||A.multistageFilling.map(function(N){var D;(D=o.multistageFilling)===null||D===void 0||D.push(new je(N))})}var x;o.canViewForm=(x=(b=n)===null||b===void 0?void 0:b.canViewForm)!==null&&x!==void 0?x:!1;var k;return o.viewFormModelType=(k=(y=n)===null||y===void 0?void 0:y.viewFormModelType)!==null&&k!==void 0?k:"window",o.formBind=new Gr((g=n)===null||g===void 0?void 0:g.formBind),o}return r}(C);Ue(iv,"Rules",DC);function HP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function FC(e,t,r){return t&&qP(e.prototype,t),r&&qP(e,r),e}function hl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bl(e){return bl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bl(e)}function 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&&uv(e,t)}function MC(e,t){return t&&(LC(t)==="object"||typeof t=="function")?t:HP(e)}function uv(e,t){return uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uv(e,t)}function LC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CC(e){var t=VC();return function(){var n=bl(e),o;if(t){var i=bl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return MC(this,o)}}var gl=function(e){jC(r,e);var t=CC(r);function r(n){NC(this,r);var o,i;return o=t.call(this,n),hl(HP(o),"props",void 0),o.props=new iv((i=n)===null||i===void 0?void 0:i.props),o}return FC(r,null,[{key:"controlName",get:function(){return"\u5173\u8054\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconguanliandanxuan"}},{key:"controlType",get:function(){return"select-relation"}}]),r}(H);hl(gl,"controlFieldType",S.VARCHAR),hl(gl,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0,showItems:[v.CAN_VIEW_FORM,v.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]),hl(gl,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);function UP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function HC(e,t,r){return t&&WP(e.prototype,t),r&&WP(e,r),e}function KP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ml(e){return ml=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ml(e)}function qC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cv(e,t)}function UC(e,t){return t&&(WC(t)==="object"||typeof t=="function")?t:UP(e)}function cv(e,t){return cv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cv(e,t)}function WC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GC(e){var t=KC();return function(){var n=ml(e),o;if(t){var i=ml(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return UC(this,o)}}var XC=function(e){qC(r,e);var t=GC(r);function r(n){zC(this,r);var o,i;return o=t.call(this,n),KP(UP(o),"props",void 0),o.props=new iv((i=n)===null||i===void 0?void 0:i.props),o}return HC(r,null,[{key:"controlType",get:function(){return"select-relation"}}]),r}(q);KP(XC,"controlFieldType",S.VARCHAR);function JC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ol(e){return Ol=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ol(e)}function ZC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 YC(e,t){return t&&(ez(t)==="object"||typeof t=="function")?t:JC(e)}function lv(e,t){return lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lv(e,t)}function ez(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rz(e){var t=tz();return function(){var n=Ol(e),o;if(t){var i=Ol(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YC(this,o)}}var GP=function(e){ZC(r,e);var t=rz(r);function r(n){return QC(this,r),t.call(this,n)}return r}(mo);function XP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function oz(e,t,r){return t&&JP(e.prototype,t),r&&JP(e,r),e}function QP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wl(e){return wl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wl(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&&av(e,t)}function uz(e,t){return t&&(cz(t)==="object"||typeof t=="function")?t:XP(e)}function av(e,t){return av=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},av(e,t)}function cz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function az(e){var t=lz();return function(){var n=wl(e),o;if(t){var i=wl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uz(this,o)}}var fz=function(e){iz(r,e);var t=az(r);function r(n){nz(this,r);var o,i;return o=t.call(this,n),QP(XP(o),"props",void 0),o.props=new GP((i=n)===null||i===void 0?void 0:i.props),o}return oz(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),r}(Oo);QP(fz,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED]},{key:"super-setting",visible:!0}]);function ZP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pz(e,t,r){return t&&YP(e.prototype,t),r&&YP(e,r),e}function eR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $l(e){return $l=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$l(e)}function _z(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fv(e,t)}function yz(e,t){return t&&(dz(t)==="object"||typeof t=="function")?t:ZP(e)}function fv(e,t){return fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fv(e,t)}function dz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hz(e){var t=vz();return function(){var n=$l(e),o;if(t){var i=$l(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yz(this,o)}}var bz=function(e){_z(r,e);var t=hz(r);function r(n){sz(this,r);var o,i;return o=t.call(this,n),eR(ZP(o),"props",void 0),o.props=new GP((i=n)===null||i===void 0?void 0:i.props),o}return pz(r,null,[{key:"controlType",get:function(){return"search-input"}}]),r}(q);eR(bz,"controlFieldType",S.VARCHAR);function te(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function re(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pl(e){return Pl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pl(e)}function pv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_v(e,t)}function gz(e,t){return t&&(mz(t)==="object"||typeof t=="function")?t:te(e)}function _v(e,t){return _v=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_v(e,t)}function mz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Oz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yv(e){var t=Oz();return function(){var n=Pl(e),o;if(t){var i=Pl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gz(this,o)}}var wz=function(e){pv(r,e);var t=yv(r);function r(n){sv(this,r);var o;return o=t.call(this,n),re(te(o),"datasourceBind",[{type:"object",message:$.getMessage("isNotObject")}]),Wo.call(te(o),n,Br.controlCustomAttributes,!0),o.datasourceBind[1].fields&&(o.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:$.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:$.getMessage("rootNodeIsRequired")}}}]),o}return r}(Pe),$z=function(e){pv(r,e);var t=yv(r);function r(n){sv(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(J),Rl=function(e){pv(r,e);var t=yv(r);function r(n){sv(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y,g,O,w,P,E,T;o=t.call(this,n),re(te(o),"placeholder",void 0),re(te(o),"multiple",void 0),re(te(o),"canSearch",void 0),re(te(o),"levelType",void 0),re(te(o),"optionalLevel",void 0),re(te(o),"containsSubNode",void 0),re(te(o),"defaultDisplay",void 0),re(te(o),"isShowIncludeSub",void 0),re(te(o),"isDefaultCheckSub",void 0),re(te(o),"isShowFilterItem",void 0),re(te(o),"defaultCollapse",void 0),re(te(o),"defaultCollapseLevel",void 0),re(te(o),"optionConfig","datasource"),re(te(o),"datasourceBind",void 0),re(te(o),"filterItemDatasourceBind",void 0),re(te(o),"multistageFilling",void 0),re(te(o),"defaultValue",void 0),re(te(o),"openMultistageFilling",void 0);var B;o.caption=(B=(i=n)===null||i===void 0?void 0:i.caption)!==null&&B!==void 0?B:Br.controlName;var I;o.placeholder=(I=(u=n)===null||u===void 0?void 0:u.placeholder)!==null&&I!==void 0?I:"\u8BF7\u9009\u62E9";var A;o.multiple=(A=(c=n)===null||c===void 0?void 0:c.multiple)!==null&&A!==void 0?A:!1;var x;o.canSearch=(x=(l=n)===null||l===void 0?void 0:l.canSearch)!==null&&x!==void 0?x:!0;var k;o.levelType=(k=(a=n)===null||a===void 0?void 0:a.levelType)!==null&&k!==void 0?k:"all";var N;o.optionalLevel=(N=(f=n)===null||f===void 0?void 0:f.optionalLevel)!==null&&N!==void 0?N:1;var D;o.containsSubNode=(D=(s=n)===null||s===void 0?void 0:s.containsSubNode)!==null&&D!==void 0?D:!1;var z;o.isShowFilterItem=(z=(p=n)===null||p===void 0?void 0:p.isShowFilterItem)!==null&&z!==void 0?z:!1;var Y;o.isShowIncludeSub=(Y=(_=n)===null||_===void 0?void 0:_.isShowIncludeSub)!==null&&Y!==void 0?Y:!1;var ee;o.isDefaultCheckSub=(ee=(h=n)===null||h===void 0?void 0:h.isDefaultCheckSub)!==null&&ee!==void 0?ee:!1;var ne;o.defaultCollapse=(ne=(d=n)===null||d===void 0?void 0:d.defaultCollapse)!==null&&ne!==void 0?ne:"all";var oe;o.defaultCollapseLevel=(oe=(b=n)===null||b===void 0?void 0:b.defaultCollapseLevel)!==null&&oe!==void 0?oe:1;var fe;o.datasourceBind=new Eg((fe=(y=n)===null||y===void 0?void 0:y.datasourceBind)!==null&&fe!==void 0?fe:{attributes:Br.controlCustomAttributes});var Ze;o.filterItemDatasourceBind=new Eg((Ze=(g=n)===null||g===void 0?void 0:g.filterItemDatasourceBind)!==null&&Ze!==void 0?Ze:{attributes:Br.controlCustomAttributes});var Fe;o.openMultistageFilling=(Fe=(O=n)===null||O===void 0?void 0:O.openMultistageFilling)!==null&&Fe!==void 0?Fe:!1;var Ot;o.defaultDisplay=(Ot=(w=n)===null||w===void 0?void 0:w.defaultDisplay)!==null&&Ot!==void 0?Ot:!1;var wt;o.multistageFilling=(wt=(E=n)===null||E===void 0||(P=E.multistageFilling)===null||P===void 0?void 0:P.map(function(Qt){return new je(Qt)}))!==null&&wt!==void 0?wt:[];var $t;return o.defaultValue=($t=(T=n)===null||T===void 0?void 0:T.defaultValue)!==null&&$t!==void 0?$t:[],o}return r}(C);re(Rl,"Rules",wz),re(Rl,"RuntimeRules",$z);function tR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Rz(e,t,r){return t&&rR(e.prototype,t),r&&rR(e,r),e}function Sl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function El(e){return El=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},El(e)}function Sz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dv(e,t)}function Ez(e,t){return t&&(Tz(t)==="object"||typeof t=="function")?t:tR(e)}function dv(e,t){return dv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dv(e,t)}function Tz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Iz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bz(e){var t=Iz();return function(){var n=El(e),o;if(t){var i=El(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ez(this,o)}}var Br=function(e){Sz(r,e);var t=Bz(r);function r(n){Pz(this,r);var o,i;return o=t.call(this,n),Sl(tR(o),"props",void 0),o.props=new Rl((i=n)===null||i===void 0?void 0:i.props),o}return Rz(r,null,[{key:"controlName",get:function(){return"\u6811"}},{key:"controlIcon",get:function(){return"icontree"}},{key:"controlType",get:function(){return"tree"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}]),r}(H);Sl(Br,"controlEventKeys",["on_change","on_click"]),Sl(Br,"controlFieldType",S.ARRAY),Sl(Br,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.MULTIPLE,v.CAN_SEARCH,v.DEFAULT_DISPLAY,v.CONTAINS_SUB_NODE,v.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}]);function nR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Az(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xz(e,t,r){return t&&oR(e.prototype,t),r&&oR(e,r),e}function iR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tl(e){return Tl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tl(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&&vv(e,t)}function Dz(e,t){return t&&(Nz(t)==="object"||typeof t=="function")?t:nR(e)}function vv(e,t){return vv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vv(e,t)}function Nz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jz(e){var t=Fz();return function(){var n=Tl(e),o;if(t){var i=Tl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Dz(this,o)}}var Mz=function(e){kz(r,e);var t=jz(r);function r(n){Az(this,r);var o,i;return o=t.call(this,n),iR(nR(o),"props",void 0),o.props=new Rl((i=n)===null||i===void 0?void 0:i.props),o}return xz(r,null,[{key:"controlType",get:function(){return"tree"}}]),r}(q);iR(Mz,"controlFieldType",S.ARRAY);function Oe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function we(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Il(e){return Il=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Il(e)}function bv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gv(e,t)}function Lz(e,t){return t&&(Vz(t)==="object"||typeof t=="function")?t:Oe(e)}function gv(e,t){return gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gv(e,t)}function Vz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Cz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mv(e){var t=Cz();return function(){var n=Il(e),o;if(t){var i=Il(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lz(this,o)}}var zz=function(e){bv(r,e);var t=mv(r);function r(n){hv(this,r);var o;return o=t.call(this,n),we(Oe(o),"datasourceBind",[{type:"object",message:$.getMessage("isNotObject")}]),we(Oe(o),"externalScope",{type:"any"}),Wo.call(Oe(o),n,Po.controlCustomAttributes),n.externalType===lr.ASSIGN&&(o.externalScope={type:"array",required:!0,message:$.getMessage("pleaseAssignExternal")}),o}return r}(Pe),Hz=function(e){bv(r,e);var t=mv(r);function r(n){hv(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(J),Bl=function(e){bv(r,e);var t=mv(r);function r(n){hv(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y,g,O;o=t.call(this,n),we(Oe(o),"showType",void 0),we(Oe(o),"range",void 0),we(Oe(o),"rangeOptions",void 0),we(Oe(o),"multiple",void 0),we(Oe(o),"defaultValueType",void 0),we(Oe(o),"defaultValue",void 0),we(Oe(o),"multistageFilling",void 0),we(Oe(o),"datasourceBind",void 0),we(Oe(o),"datasourceType",void 0),we(Oe(o),"insideType",void 0),we(Oe(o),"externalType",void 0),we(Oe(o),"externalScope",void 0),we(Oe(o),"openMultistageFilling",void 0);var w;o.showType=(w=(i=n)===null||i===void 0?void 0:i.showType)!==null&&w!==void 0?w:"default";var P;o.range=(P=(u=n)===null||u===void 0?void 0:u.range)!==null&&P!==void 0?P:"all";var E;o.rangeOptions=(E=(c=n)===null||c===void 0?void 0:c.rangeOptions)!==null&&E!==void 0?E:[];var T;o.multiple=(T=(l=n)===null||l===void 0?void 0:l.multiple)!==null&&T!==void 0?T:!1;var B;o.defaultValueType=(B=(a=n)===null||a===void 0?void 0:a.defaultValueType)!==null&&B!==void 0?B:"none";var I;o.defaultValue=(I=(f=n)===null||f===void 0?void 0:f.defaultValue)!==null&&I!==void 0?I:[];var A;o.caption=(A=(s=n)===null||s===void 0?void 0:s.caption)!==null&&A!==void 0?A:Po.controlName;var x;o.placeholder=(x=(p=n)===null||p===void 0?void 0:p.placeholder)!==null&&x!==void 0?x:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var k;o.datasourceBind=new Co((k=(_=n)===null||_===void 0?void 0:_.datasourceBind)!==null&&k!==void 0?k:{attributes:Po.controlCustomAttributes});var N;o.datasourceType=(N=(h=n)===null||h===void 0?void 0:h.datasourceType)!==null&&N!==void 0?N:xp.INTERNAL;var D;o.insideType=(D=(d=n)===null||d===void 0?void 0:d.insideType)!==null&&D!==void 0?D:kp.ADMIN;var z;o.externalType=(z=(b=n)===null||b===void 0?void 0:b.externalType)!==null&&z!==void 0?z:lr.ALL;var Y;o.externalScope=(Y=(y=n)===null||y===void 0?void 0:y.externalScope)!==null&&Y!==void 0?Y:[];var ee;if(o.openMultistageFilling=(ee=(g=n)===null||g===void 0?void 0:g.openMultistageFilling)!==null&&ee!==void 0?ee:!1,o.multistageFilling=[],Array.isArray((O=n)===null||O===void 0?void 0:O.multistageFilling)){var ne;(ne=n)===null||ne===void 0||ne.multistageFilling.map(function(oe){var fe;(fe=o.multistageFilling)===null||fe===void 0||fe.push(new je(oe))})}return o}return r}(C);we(Bl,"Rules",zz),we(Bl,"RuntimeRules",Hz);function uR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Uz(e,t,r){return t&&cR(e.prototype,t),r&&cR(e,r),e}function Ov(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Al(e){return Al=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Al(e)}function Wz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wv(e,t)}function Kz(e,t){return t&&(Gz(t)==="object"||typeof t=="function")?t:uR(e)}function wv(e,t){return wv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wv(e,t)}function Gz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jz(e){var t=Xz();return function(){var n=Al(e),o;if(t){var i=Al(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kz(this,o)}}var Po=function(e){Wz(r,e);var t=Jz(r);function r(n){qz(this,r);var o,i;return o=t.call(this,n),Ov(uR(o),"props",void 0),o.props=new Bl((i=n)===null||i===void 0?void 0:i.props),o}return Uz(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(H);Ov(Po,"controlFieldType",S.EMPLOYEES),Ov(Po,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.MULTIPLE,v.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}]);function lR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Zz(e,t,r){return t&&aR(e.prototype,t),r&&aR(e,r),e}function fR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xl(e){return xl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xl(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&&$v(e,t)}function eH(e,t){return t&&(tH(t)==="object"||typeof t=="function")?t:lR(e)}function $v(e,t){return $v=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$v(e,t)}function tH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nH(e){var t=rH();return function(){var n=xl(e),o;if(t){var i=xl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eH(this,o)}}var oH=function(e){Yz(r,e);var t=nH(r);function r(n){Qz(this,r);var o,i;return o=t.call(this,n),fR(lR(o),"props",void 0),o.props=new Bl((i=n)===null||i===void 0?void 0:i.props),o}return Zz(r,null,[{key:"controlType",get:function(){return"employee2"}}]),r}(q);fR(oH,"controlFieldType",S.EMPLOYEES);function It(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kl(e){return kl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kl(e)}function pR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pv(e,t)}function iH(e,t){return t&&(uH(t)==="object"||typeof t=="function")?t:It(e)}function Pv(e,t){return Pv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pv(e,t)}function uH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _R(e){var t=cH();return function(){var n=kl(e),o;if(t){var i=kl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iH(this,o)}}var lH=function(e){pR(r,e);var t=_R(r);function r(n){sR(this,r);var o;return o=t.call(this,n),Bt(It(o),"signatureConfig",void 0),o.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fields:n.signatureConfig.undersignedList.reduce(function(i,u,c){return i[c]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator:function(a,f,s){if(u.type==="public"&&vs(f.value)&&f.value.length===0){s("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}s()}},company:{type:"object",required:!0,validator:function(a,f,s){if(u.type==="public"&&u.signatureType.includes("company")&&vs(f.value)&&f.value.length===0){s("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}s()}}}},i},{})}}},o}return r}(Pe),Rv=function(e){pR(r,e);var t=_R(r);function r(n){sR(this,r);var o,i,u,c,l,a,f,s;o=t.call(this,n),Bt(It(o),"buttonType",void 0),Bt(It(o),"content",void 0),Bt(It(o),"showType",void 0),Bt(It(o),"color",void 0),Bt(It(o),"icon",void 0),Bt(It(o),"command",""),Bt(It(o),"isLoading",!1),Bt(It(o),"signatureConfig",void 0);var p;o.caption=(p=(i=n)===null||i===void 0?void 0:i.caption)!==null&&p!==void 0?p:Fl.controlName;var _;o.content=(_=(u=n)===null||u===void 0?void 0:u.content)!==null&&_!==void 0?_:"\u53D1\u8D77\u7B7E\u7F72";var h;o.buttonType=(h=(c=n)===null||c===void 0?void 0:c.buttonType)!==null&&h!==void 0?h:"primary";var d;o.showType=(d=(l=n)===null||l===void 0?void 0:l.showType)!==null&&d!==void 0?d:"text";var b;o.color=(b=(a=n)===null||a===void 0?void 0:a.color)!==null&&b!==void 0?b:"primary";var y;return o.icon=(y=(f=n)===null||f===void 0?void 0:f.icon)!==null&&y!==void 0?y:"iconfenlei2",o.signatureConfig=new VD((s=n)===null||s===void 0?void 0:s.signatureConfig),o}return r}(C);Bt(Rv,"Rules",lH);function yR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fH(e,t,r){return t&&dR(e.prototype,t),r&&dR(e,r),e}function Dl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nl(e){return Nl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nl(e)}function sH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sv(e,t)}function pH(e,t){return t&&(_H(t)==="object"||typeof t=="function")?t:yR(e)}function Sv(e,t){return Sv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sv(e,t)}function _H(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dH(e){var t=yH();return function(){var n=Nl(e),o;if(t){var i=Nl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pH(this,o)}}var Fl=function(e){sH(r,e);var t=dH(r);function r(n){aH(this,r);var o,i;return o=t.call(this,n),Dl(yR(o),"props",void 0),o.props=new Rv((i=n)===null||i===void 0?void 0:i.props),o}return fH(r,null,[{key:"controlName",get:function(){return"\u7535\u5B50\u7B7E\u7AE0"}},{key:"controlIcon",get:function(){return"icondianziqianzhang"}},{key:"controlType",get:function(){return"electronic-signature"}}]),r}(H);Dl(Fl,"controlEventKeys",["on_click","on_click_finish"]),Dl(Fl,"controlFieldType",S.VARCHAR),Dl(Fl,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}]);function vR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hH(e,t,r){return t&&hR(e.prototype,t),r&&hR(e,r),e}function bR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jl(e){return jl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jl(e)}function bH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ev(e,t)}function gH(e,t){return t&&(mH(t)==="object"||typeof t=="function")?t:vR(e)}function Ev(e,t){return Ev=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ev(e,t)}function mH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wH(e){var t=OH();return function(){var n=jl(e),o;if(t){var i=jl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gH(this,o)}}var $H=function(e){bH(r,e);var t=wH(r);function r(n){vH(this,r);var o,i;return o=t.call(this,n),bR(vR(o),"props",void 0),o.props=new Rv((i=n)===null||i===void 0?void 0:i.props),o}return hH(r,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),r}(q);bR($H,"controlFieldType",S.VARCHAR);function Ie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ml(e){return Ml=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ml(e)}function Iv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bv(e,t)}function PH(e,t){return t&&(RH(t)==="object"||typeof t=="function")?t:Ie(e)}function Bv(e,t){return Bv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bv(e,t)}function RH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Av(e){var t=SH();return function(){var n=Ml(e),o;if(t){var i=Ml(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PH(this,o)}}var EH=function(e){Iv(r,e);var t=Av(r);function r(n){Tv(this,r);var o;return o=t.call(this,n),$e(Ie(o),"content",{type:"string",required:!0,message:$.getMessage("pleaseEnterButtonContent")}),$e(Ie(o),"canAdd",void 0),$e(Ie(o),"wpsSetting",{type:"object",fields:{watermark:{type:"object",validator:function(u,c,l){if(c.active&&!c.text){l($.getMessage("pleaseEnterWatermark"));return}l()}},autoRename:{type:"object",validator:function(u,c,l){if(c.active&&!c.text){l($.getMessage("pleaseEnterFileName"));return}l()}}}}),o.canAdd={type:"boolean",validator:function(u,c,l){if(n.canAdd&&!n.addLocal&&!n.addOnline){l($.getMessage("pleaseChooseAtLeastOne"));return}l()}},o}return r}(Pe),TH=function(e){Iv(r,e);var t=Av(r);function r(n){Tv(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(J),Ll=function(e){Iv(r,e);var t=Av(r);function r(n){Tv(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y;o=t.call(this,n),$e(Ie(o),"content",void 0),$e(Ie(o),"canAdd",void 0),$e(Ie(o),"addLocal",void 0),$e(Ie(o),"addOnline",void 0),$e(Ie(o),"canDownload",void 0),$e(Ie(o),"canEdit",void 0),$e(Ie(o),"canExport",void 0),$e(Ie(o),"canDelete",void 0),$e(Ie(o),"wpsSetting",void 0),$e(Ie(o),"maxSize",void 0),$e(Ie(o),"defaultValue",void 0),$e(Ie(o),"revisionsMode",void 0);var g;o.caption=(g=(i=n)===null||i===void 0?void 0:i.caption)!==null&&g!==void 0?g:zl.controlName;var O;o.content=(O=(u=n)===null||u===void 0?void 0:u.content)!==null&&O!==void 0?O:"\u65B0\u5EFA\u6587\u6863";var w;o.canAdd=(w=(c=n)===null||c===void 0?void 0:c.canAdd)!==null&&w!==void 0?w:!0;var P;o.addLocal=(P=(l=n)===null||l===void 0?void 0:l.addLocal)!==null&&P!==void 0?P:!0;var E;o.addOnline=(E=(a=n)===null||a===void 0?void 0:a.addOnline)!==null&&E!==void 0?E:!0;var T;o.canEdit=(T=(f=n)===null||f===void 0?void 0:f.canEdit)!==null&&T!==void 0?T:!0;var B;o.canDownload=(B=(s=n)===null||s===void 0?void 0:s.canDownload)!==null&&B!==void 0?B:!0;var I;o.canExport=(I=(p=n)===null||p===void 0?void 0:p.canExport)!==null&&I!==void 0?I:!0;var A;o.canDelete=(A=(_=n)===null||_===void 0?void 0:_.canDelete)!==null&&A!==void 0?A:!1;var x;o.maxSize=(x=(h=n)===null||h===void 0?void 0:h.maxSize)!==null&&x!==void 0?x:I7;var k;o.defaultValue=(k=(d=n)===null||d===void 0?void 0:d.defaultValue)!==null&&k!==void 0?k:[],o.wpsSetting=new CD((b=n)===null||b===void 0?void 0:b.wpsSetting);var N;return o.revisionsMode=(N=(y=n)===null||y===void 0?void 0:y.revisionsMode)!==null&&N!==void 0?N:!1,o}return r}(C);$e(Ll,"Rules",EH),$e(Ll,"RuntimeRules",TH);function gR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function BH(e,t,r){return t&&mR(e.prototype,t),r&&mR(e,r),e}function Vl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cl(e){return Cl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cl(e)}function AH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xv(e,t)}function xH(e,t){return t&&(kH(t)==="object"||typeof t=="function")?t:gR(e)}function xv(e,t){return xv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xv(e,t)}function kH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NH(e){var t=DH();return function(){var n=Cl(e),o;if(t){var i=Cl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xH(this,o)}}var zl=function(e){AH(r,e);var t=NH(r);function r(n){IH(this,r);var o,i;return o=t.call(this,n),Vl(gR(o),"props",void 0),o.props=new Ll((i=n)===null||i===void 0?void 0:i.props),o}return BH(r,null,[{key:"controlName",get:function(){return"\u5728\u7EBF\u6587\u6863"}},{key:"controlIcon",get:function(){return"iconwps"}},{key:"controlType",get:function(){return"wps"}}]),r}(H);Vl(zl,"controlEventKeys",["on_change","on_wps_open"]),Vl(zl,"controlFieldType",S.FILE),Vl(zl,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_SHOW_CAPTION_TIP,v.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}]);function OR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jH(e,t,r){return t&&wR(e.prototype,t),r&&wR(e,r),e}function $R(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hl(e){return Hl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hl(e)}function MH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kv(e,t)}function LH(e,t){return t&&(VH(t)==="object"||typeof t=="function")?t:OR(e)}function kv(e,t){return kv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kv(e,t)}function VH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zH(e){var t=CH();return function(){var n=Hl(e),o;if(t){var i=Hl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return LH(this,o)}}var HH=function(e){MH(r,e);var t=zH(r);function r(n){FH(this,r);var o,i;return o=t.call(this,n),$R(OR(o),"props",void 0),o.props=new Ll((i=n)===null||i===void 0?void 0:i.props),o}return jH(r,null,[{key:"controlType",get:function(){return"wps"}}]),r}(q);$R(HH,"controlFieldType",S.FILE);function _e(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ye(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ql(e){return ql=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ql(e)}function Nv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fv(e,t)}function qH(e,t){return t&&(UH(t)==="object"||typeof t=="function")?t:_e(e)}function Fv(e,t){return Fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fv(e,t)}function UH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jv(e){var t=WH();return function(){var n=ql(e),o;if(t){var i=ql(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qH(this,o)}}var KH=function(e){Nv(r,e);var t=jv(r);function r(n){Dv(this,r);var o;return o=t.call(this,n),ye(_e(o),"datasourceBind",[{type:"object",message:$.getMessage("isNotObject")}]),ye(_e(o),"businessScope",{type:"any"}),Wo.call(_e(o),n,yn.controlCustomAttributes),n.businessType===lr.ASSIGN&&(o.businessScope={type:"array",required:!0,message:$.getMessage("pleaseAssignBusiness")}),o}return r}(Pe),GH=function(e){Nv(r,e);var t=jv(r);function r(n){Dv(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(J),Ul=function(e){Nv(r,e);var t=jv(r);function r(n){Dv(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y,g,O,w;o=t.call(this,n),ye(_e(o),"showType",void 0),ye(_e(o),"range",void 0),ye(_e(o),"defaultValueType",void 0),ye(_e(o),"multiple",void 0),ye(_e(o),"rangeOptions",void 0),ye(_e(o),"defaultValue",void 0),ye(_e(o),"displayLevel",void 0),ye(_e(o),"showSubDept",void 0),ye(_e(o),"multistageFilling",void 0),ye(_e(o),"datasourceBind",void 0),ye(_e(o),"datasourceType",void 0),ye(_e(o),"businessType",void 0),ye(_e(o),"businessScope",void 0),ye(_e(o),"openMultistageFilling",void 0);var P;o.showType=(P=(i=n)===null||i===void 0?void 0:i.showType)!==null&&P!==void 0?P:"default";var E;o.multiple=(E=(u=n)===null||u===void 0?void 0:u.multiple)!==null&&E!==void 0?E:!1;var T;o.range=(T=(c=n)===null||c===void 0?void 0:c.range)!==null&&T!==void 0?T:"all";var B;o.defaultValueType=(B=(l=n)===null||l===void 0?void 0:l.defaultValueType)!==null&&B!==void 0?B:"none";var I;o.rangeOptions=(I=(a=n)===null||a===void 0?void 0:a.rangeOptions)!==null&&I!==void 0?I:[];var A;o.defaultValue=(A=(f=n)===null||f===void 0?void 0:f.defaultValue)!==null&&A!==void 0?A:[];var x;o.displayLevel=(x=(s=n)===null||s===void 0?void 0:s.displayLevel)!==null&&x!==void 0?x:1;var k;o.showSubDept=(k=(p=n)===null||p===void 0?void 0:p.showSubDept)!==null&&k!==void 0?k:!0;var N;o.caption=(N=(_=n)===null||_===void 0?void 0:_.caption)!==null&&N!==void 0?N:yn.controlName;var D;o.placeholder=(D=(h=n)===null||h===void 0?void 0:h.placeholder)!==null&&D!==void 0?D:"\u8BF7\u9009\u62E9\u90E8\u95E8";var z;o.datasourceBind=new Co((z=(d=n)===null||d===void 0?void 0:d.datasourceBind)!==null&&z!==void 0?z:{attributes:yn.controlCustomAttributes});var Y;o.datasourceType=(Y=(b=n)===null||b===void 0?void 0:b.datasourceType)!==null&&Y!==void 0?Y:mi.INTERNAL;var ee;o.businessScope=(ee=(y=n)===null||y===void 0?void 0:y.businessScope)!==null&&ee!==void 0?ee:[];var ne;o.businessType=(ne=(g=n)===null||g===void 0?void 0:g.businessType)!==null&&ne!==void 0?ne:lr.ALL;var oe;if(o.openMultistageFilling=(oe=(O=n)===null||O===void 0?void 0:O.openMultistageFilling)!==null&&oe!==void 0?oe:!1,o.multistageFilling=[],Array.isArray((w=n)===null||w===void 0?void 0:w.multistageFilling)){var fe;(fe=n)===null||fe===void 0||fe.multistageFilling.map(function(Ze){var Fe;(Fe=o.multistageFilling)===null||Fe===void 0||Fe.push(new je(Ze))})}return o}return r}(C);ye(Ul,"Rules",KH),ye(Ul,"RuntimeRules",GH);function PR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function JH(e,t,r){return t&&RR(e.prototype,t),r&&RR(e,r),e}function Wl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kl(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Kl=Reflect.get:Kl=function(o,i,u){var c=YH(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Kl(e,t,r||e)}function _n(e){return _n=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_n(e)}function QH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mv(e,t)}function ZH(e,t){return t&&(eq(t)==="object"||typeof t=="function")?t:PR(e)}function Mv(e,t){return Mv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mv(e,t)}function YH(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=_n(e),e!==null););return e}function eq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rq(e){var t=tq();return function(){var n=_n(e),o;if(t){var i=_n(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZH(this,o)}}var yn=function(e){QH(r,e);var t=rq(r);function r(n){XH(this,r);var o,i;return o=t.call(this,n),Wl(PR(o),"props",void 0),o.props=new Ul((i=n)===null||i===void 0?void 0:i.props),o}return JH(r,[{key:"toDataBindModel",value:function(o){var i=Kl(_n(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,l=u.showSubDept;i.props.displayLevel=c,i.props.showSubDept=l}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(H);Wl(yn,"controlName","\u90E8\u95E8"),Wl(yn,"controlFieldType",S.DEPARTMENTS),Wl(yn,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.MULTIPLE,v.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function SR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ER(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function oq(e,t,r){return t&&ER(e.prototype,t),r&&ER(e,r),e}function TR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gl(e){return Gl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gl(e)}function iq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lv(e,t)}function uq(e,t){return t&&(cq(t)==="object"||typeof t=="function")?t:SR(e)}function Lv(e,t){return Lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lv(e,t)}function cq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aq(e){var t=lq();return function(){var n=Gl(e),o;if(t){var i=Gl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uq(this,o)}}var fq=function(e){iq(r,e);var t=aq(r);function r(n){nq(this,r);var o,i;return o=t.call(this,n),TR(SR(o),"props",void 0),o.props=new Ul((i=n)===null||i===void 0?void 0:i.props),o}return oq(r,null,[{key:"controlType",get:function(){return"department2"}}]),r}(q);TR(fq,"controlFieldType",S.DEPARTMENTS);function Q(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Z(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xl(e){return Xl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xl(e)}function Cv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zv(e,t)}function sq(e,t){return t&&(pq(t)==="object"||typeof t=="function")?t:Q(e)}function zv(e,t){return zv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zv(e,t)}function pq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _q(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hv(e){var t=_q();return function(){var n=Xl(e),o;if(t){var i=Xl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sq(this,o)}}var yq=function(e){Cv(r,e);var t=Hv(r);function r(n){Vv(this,r);var o;return o=t.call(this,n),Z(Q(o),"datasourceBind",[{type:"object",message:$.getMessage("isNotObject")}]),Z(Q(o),"businessScope",{type:"any"}),Wo.call(Q(o),n,vn.controlCustomAttributes),n.businessType===lr.ASSIGN&&(o.businessScope={type:"array",required:!0,message:$.getMessage("pleaseAssignBusiness")}),o}return r}(Pe),dq=function(e){Cv(r,e);var t=Hv(r);function r(n){Vv(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(J),Jl=function(e){Cv(r,e);var t=Hv(r);function r(n){Vv(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y,g,O,w,P,E,T,B,I;o=t.call(this,n),Z(Q(o),"showType",void 0),Z(Q(o),"range",void 0),Z(Q(o),"defaultValueType",void 0),Z(Q(o),"multiple",void 0),Z(Q(o),"rangeOptions",void 0),Z(Q(o),"defaultValue",void 0),Z(Q(o),"displayLevel",void 0),Z(Q(o),"showSubDept",void 0),Z(Q(o),"multistageFilling",void 0),Z(Q(o),"datasourceBind",void 0),Z(Q(o),"listPageBind",void 0),Z(Q(o),"datasourceType",void 0),Z(Q(o),"businessType",void 0),Z(Q(o),"businessScope",void 0),Z(Q(o),"organizingFunction",void 0),Z(Q(o),"organizationView",void 0),Z(Q(o),"openMultistageFilling",void 0),Z(Q(o),"showSelectedDetail",void 0),Z(Q(o),"selectedContentConfig",void 0);var A;o.showType=(A=(i=n)===null||i===void 0?void 0:i.showType)!==null&&A!==void 0?A:"default";var x;o.multiple=(x=(u=n)===null||u===void 0?void 0:u.multiple)!==null&&x!==void 0?x:!1;var k;o.range=(k=(c=n)===null||c===void 0?void 0:c.range)!==null&&k!==void 0?k:"all",o.listPageBind=new ws((l=n)===null||l===void 0?void 0:l.listPageBind);var N;o.defaultValueType=(N=(a=n)===null||a===void 0?void 0:a.defaultValueType)!==null&&N!==void 0?N:"none";var D;o.rangeOptions=(D=(f=n)===null||f===void 0?void 0:f.rangeOptions)!==null&&D!==void 0?D:[];var z;o.defaultValue=(z=(s=n)===null||s===void 0?void 0:s.defaultValue)!==null&&z!==void 0?z:[];var Y;o.displayLevel=(Y=(p=n)===null||p===void 0?void 0:p.displayLevel)!==null&&Y!==void 0?Y:1;var ee;o.showSubDept=(ee=(_=n)===null||_===void 0?void 0:_.showSubDept)!==null&&ee!==void 0?ee:!0;var ne;o.caption=(ne=(h=n)===null||h===void 0?void 0:h.caption)!==null&&ne!==void 0?ne:vn.controlName;var oe;o.placeholder=(oe=(d=n)===null||d===void 0?void 0:d.placeholder)!==null&&oe!==void 0?oe:"\u8BF7\u9009\u62E9\u7EC4\u7EC7";var fe;o.datasourceBind=new q2((fe=(b=n)===null||b===void 0?void 0:b.datasourceBind)!==null&&fe!==void 0?fe:{attributes:vn.controlCustomAttributes});var Ze;o.datasourceType=(Ze=(y=n)===null||y===void 0?void 0:y.datasourceType)!==null&&Ze!==void 0?Ze:mi.INTERNAL;var Fe;o.businessScope=(Fe=(g=n)===null||g===void 0?void 0:g.businessScope)!==null&&Fe!==void 0?Fe:[];var Ot;o.businessType=(Ot=(O=n)===null||O===void 0?void 0:O.businessType)!==null&&Ot!==void 0?Ot:lr.ALL;var wt;o.organizingFunction=(wt=(w=n)===null||w===void 0?void 0:w.organizingFunction)!==null&&wt!==void 0?wt:void 0;var $t;o.organizationView=($t=(P=n)===null||P===void 0?void 0:P.organizationView)!==null&&$t!==void 0?$t:void 0;var Qt;o.showSelectedDetail=(Qt=(E=n)===null||E===void 0?void 0:E.showSelectedDetail)!==null&&Qt!==void 0?Qt:!1,o.selectedContentConfig=new Ss((T=n)===null||T===void 0?void 0:T.selectedContentConfig);var Cr;if(o.openMultistageFilling=(Cr=(B=n)===null||B===void 0?void 0:B.openMultistageFilling)!==null&&Cr!==void 0?Cr:!1,o.multistageFilling=[],Array.isArray((I=n)===null||I===void 0?void 0:I.multistageFilling)){var zr;(zr=n)===null||zr===void 0||zr.multistageFilling.map(function(jo){var Hr;(Hr=o.multistageFilling)===null||Hr===void 0||Hr.push(new je(jo))})}return o}return r}(C);Z(Jl,"Rules",yq),Z(Jl,"RuntimeRules",dq);function IR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hq(e,t,r){return t&&BR(e.prototype,t),r&&BR(e,r),e}function Ql(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zl(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Zl=Reflect.get:Zl=function(o,i,u){var c=mq(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Zl(e,t,r||e)}function dn(e){return dn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dn(e)}function 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&&qv(e,t)}function gq(e,t){return t&&(Oq(t)==="object"||typeof t=="function")?t:IR(e)}function qv(e,t){return qv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qv(e,t)}function mq(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=dn(e),e!==null););return e}function Oq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $q(e){var t=wq();return function(){var n=dn(e),o;if(t){var i=dn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gq(this,o)}}var vn=function(e){bq(r,e);var t=$q(r);function r(n){vq(this,r);var o,i;return o=t.call(this,n),Ql(IR(o),"props",void 0),o.props=new Jl((i=n)===null||i===void 0?void 0:i.props),o}return hq(r,[{key:"toDataBindModel",value:function(o){var i=Zl(dn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,l=u.showSubDept;i.props.displayLevel=c,i.props.showSubDept=l}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"organization-selection"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(H);Ql(vn,"controlName","\u4E1A\u52A1\u7EC4\u7EC7"),Ql(vn,"controlFieldType",S.DEPARTMENTS),Ql(vn,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.MULTIPLE,v.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function AR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Rq(e,t,r){return t&&xR(e.prototype,t),r&&xR(e,r),e}function kR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yl(e){return Yl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yl(e)}function Sq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uv(e,t)}function Eq(e,t){return t&&(Tq(t)==="object"||typeof t=="function")?t:AR(e)}function Uv(e,t){return Uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uv(e,t)}function Tq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Iq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bq(e){var t=Iq();return function(){var n=Yl(e),o;if(t){var i=Yl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Eq(this,o)}}var Aq=function(e){Sq(r,e);var t=Bq(r);function r(n){Pq(this,r);var o,i;return o=t.call(this,n),kR(AR(o),"props",void 0),o.props=new Jl((i=n)===null||i===void 0?void 0:i.props),o}return Rq(r,null,[{key:"controlType",get:function(){return"organization-selection"}}]),r}(q);kR(Aq,"controlFieldType",S.DEPARTMENTS);function xq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Dq(e,t,r){return t&&DR(e.prototype,t),r&&DR(e,r),e}function Nq(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ea(e){return ea=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ea(e)}function Fq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wv(e,t)}function jq(e,t){return t&&(Mq(t)==="object"||typeof t=="function")?t:xq(e)}function Wv(e,t){return Wv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wv(e,t)}function Mq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vq(e){var t=Lq();return function(){var n=ea(e),o;if(t){var i=ea(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jq(this,o)}}var Cq=function(e){Fq(r,e);var t=Vq(r);function r(n){return kq(this,r),t.call(this,n)}return Dq(r,null,[{key:"controlName",get:function(){return"\u753B\u5E03"}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),r}(ve);Nq(Cq,"excludes",[m.GRID]);function Kv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ta(e){return ta=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ta(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&&Gv(e,t)}function qq(e,t){return t&&(Uq(t)==="object"||typeof t=="function")?t:Kv(e)}function Gv(e,t){return Gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gv(e,t)}function Uq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kq(e){var t=Wq();return function(){var n=ta(e),o;if(t){var i=ta(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qq(this,o)}}var Gq=24,Ro=function(e){Hq(r,e);var t=Kq(r);function r(n){zq(this,r);var o,i,u;o=t.call(this,n),NR(Kv(o),"span",void 0),NR(Kv(o),"offset",void 0);var c;o.span=(c=(i=n)===null||i===void 0?void 0:i.span)!==null&&c!==void 0?c:Gq;var l;return o.offset=(l=(u=n)===null||u===void 0?void 0:u.offset)!==null&&l!==void 0?l:0,o}return r}(de);function FR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Jq(e,t,r){return t&&jR(e.prototype,t),r&&jR(e,r),e}function Xv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ra(e){return ra=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ra(e)}function Qq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jv(e,t)}function Zq(e,t){return t&&(Yq(t)==="object"||typeof t=="function")?t:FR(e)}function Jv(e,t){return Jv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jv(e,t)}function Yq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tU(e){var t=eU();return function(){var n=ra(e),o;if(t){var i=ra(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Zq(this,o)}}var So=function(e){Qq(r,e);var t=tU(r);function r(n){Xq(this,r);var o,i;return o=t.call(this,n),Xv(FR(o),"props",void 0),o.props=new Ro((i=n)===null||i===void 0?void 0:i.props),o}return Jq(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(ve);Xv(So,"excludes",[m.COL,m.CARD_GROUP,m.SUBTABLE,m.SUBTABLE_COLUMN,m.DIVIDER]),Xv(So,"childrenMaxLength",1);function MR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function nU(e,t,r){return t&&LR(e.prototype,t),r&&LR(e,r),e}function oU(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function na(e){return na=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},na(e)}function iU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qv(e,t)}function uU(e,t){return t&&(cU(t)==="object"||typeof t=="function")?t:MR(e)}function Qv(e,t){return Qv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qv(e,t)}function cU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aU(e){var t=lU();return function(){var n=na(e),o;if(t){var i=na(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uU(this,o)}}var fU=function(e){iU(r,e);var t=aU(r);function r(n){rU(this,r);var o,i;return o=t.call(this,n),oU(MR(o),"props",void 0),o.props=new Ro((i=n)===null||i===void 0?void 0:i.props),o}return nU(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(Er),VR={Designer:So,Runtime:fU,Property:Ro};function Zv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oa(e){return oa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oa(e)}function pU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yv(e,t)}function _U(e,t){return t&&(yU(t)==="object"||typeof t=="function")?t:Zv(e)}function Yv(e,t){return Yv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yv(e,t)}function yU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vU(e){var t=dU();return function(){var n=oa(e),o;if(t){var i=oa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _U(this,o)}}var eh=function(e){pU(r,e);var t=vU(r);function r(n){sU(this,r);var o,i,u;o=t.call(this,n),CR(Zv(o),"layoutMode",void 0),CR(Zv(o),"gutter",void 0);var c;o.layoutMode=(c=(i=n)===null||i===void 0?void 0:i.layoutMode)!==null&&c!==void 0?c:"select";var l;return o.gutter=(l=(u=n)===null||u===void 0?void 0:u.gutter)!==null&&l!==void 0?l:0,o}return r}(de);function zR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bU(e,t,r){return t&&HR(e.prototype,t),r&&HR(e,r),e}function th(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ia(e){return ia=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ia(e)}function gU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rh(e,t)}function mU(e,t){return t&&(OU(t)==="object"||typeof t=="function")?t:zR(e)}function rh(e,t){return rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rh(e,t)}function OU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $U(e){var t=wU();return function(){var n=ia(e),o;if(t){var i=ia(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mU(this,o)}}var nh=function(e){gU(r,e);var t=$U(r);function r(n){hU(this,r);var o,i;return o=t.call(this,n),th(zR(o),"props",void 0),o.props=new eh((i=n)===null||i===void 0?void 0:i.props),o}return bU(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(ve);th(nh,"excludes",[m.ROW]),th(nh,"setting",[{key:"col-setting",visible:!0}]);function qR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function RU(e,t,r){return t&&UR(e.prototype,t),r&&UR(e,r),e}function SU(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ua(e){return ua=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ua(e)}function EU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&oh(e,t)}function TU(e,t){return t&&(IU(t)==="object"||typeof t=="function")?t:qR(e)}function oh(e,t){return oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oh(e,t)}function IU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AU(e){var t=BU();return function(){var n=ua(e),o;if(t){var i=ua(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TU(this,o)}}var xU=function(e){EU(r,e);var t=AU(r);function r(n){PU(this,r);var o,i;return o=t.call(this,n),SU(qR(o),"props",void 0),o.props=new eh((i=n)===null||i===void 0?void 0:i.props),o}return RU(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(Er);function kU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function NU(e,t,r){return t&&WR(e.prototype,t),r&&WR(e,r),e}function ih(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ca(e){return ca=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ca(e)}function 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&&uh(e,t)}function jU(e,t){return t&&(MU(t)==="object"||typeof t=="function")?t:kU(e)}function uh(e,t){return uh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uh(e,t)}function MU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VU(e){var t=LU();return function(){var n=ca(e),o;if(t){var i=ca(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jU(this,o)}}var CU=4,la=function(e){FU(r,e);var t=VU(r);function r(n){return DU(this,r),t.call(this,n)}return NU(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u7B49\u5206\u884C"}},{key:"controlType",get:function(){return"grid-row"}},{key:"controlIcon",get:function(){return"grid-row"}}]),r}(nh);ih(la,"excludes",[m.GRID_ROW]),ih(la,"setting",[]),ih(la,"childrenMaxLength",CU);function zU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qU(e,t,r){return t&&KR(e.prototype,t),r&&KR(e,r),e}function aa(e){return aa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},aa(e)}function UU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ch(e,t)}function WU(e,t){return t&&(KU(t)==="object"||typeof t=="function")?t:zU(e)}function ch(e,t){return ch=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ch(e,t)}function KU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XU(e){var t=GU();return function(){var n=aa(e),o;if(t){var i=aa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WU(this,o)}}var JU=function(e){UU(r,e);var t=XU(r);function r(n){return HU(this,r),t.call(this,n)}return qU(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(xU);function QU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fa(e){return fa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fa(e)}function YU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lh(e,t)}function eW(e,t){return t&&(tW(t)==="object"||typeof t=="function")?t:QU(e)}function lh(e,t){return lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lh(e,t)}function tW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nW(e){var t=rW();return function(){var n=fa(e),o;if(t){var i=fa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eW(this,o)}}var oW=function(e){YU(r,e);var t=nW(r);function r(n){return ZU(this,r),t.call(this,n)}return r}(eh),iW={Designer:la,Runtime:JU,Property:oW};function sa(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pa(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _a(e){return _a=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_a(e)}function XR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ah(e,t)}function uW(e,t){return t&&(cW(t)==="object"||typeof t=="function")?t:sa(e)}function ah(e,t){return ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ah(e,t)}function cW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JR(e){var t=lW();return function(){var n=_a(e),o;if(t){var i=_a(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uW(this,o)}}var aW=function(e){XR(r,e);var t=JR(r);function r(){GR(this,r);var n;return n=t.apply(this,arguments),pa(sa(n),"caption",{type:"string",required:!0,message:$.getMessage("pleaseEnterCaption")}),n}return r}(de.Rules),QR=function(e){XR(r,e);var t=JR(r);function r(n){GR(this,r);var o,i,u;o=t.call(this,n),pa(sa(o),"caption",void 0),pa(sa(o),"collapse",void 0);var c;o.caption=(c=(i=n)===null||i===void 0?void 0:i.caption)!==null&&c!==void 0?c:"\u5206\u7EC4";var l;return o.collapse=(l=(u=n)===null||u===void 0?void 0:u.collapse)!==null&&l!==void 0?l:"none",o}return r}(de);pa(QR,"Rules",aW);function ZR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function sW(e,t,r){return t&&YR(e.prototype,t),r&&YR(e,r),e}function fh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ya(e){return ya=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ya(e)}function pW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sh(e,t)}function _W(e,t){return t&&(yW(t)==="object"||typeof t=="function")?t:ZR(e)}function sh(e,t){return sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sh(e,t)}function yW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vW(e){var t=dW();return function(){var n=ya(e),o;if(t){var i=ya(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _W(this,o)}}var eS=function(e){pW(r,e);var t=vW(r);function r(n){fW(this,r);var o,i;return o=t.call(this,n),fh(ZR(o),"props",void 0),o.props=new QR((i=n)===null||i===void 0?void 0:i.props),o}return sW(r,null,[{key:"controlName",get:function(){return"\u5206\u7EC4"}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),r}(ve);fh(eS,"setting",[{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}]),fh(eS,"excludes",[m.CARD_GROUP]);function At(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function da(e){return da=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},da(e)}function rS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ph(e,t)}function hW(e,t){return t&&(bW(t)==="object"||typeof t=="function")?t:At(e)}function ph(e,t){return ph=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ph(e,t)}function bW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nS(e){var t=gW();return function(){var n=da(e),o;if(t){var i=da(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hW(this,o)}}var mW=function(e){rS(r,e);var t=nS(r);function r(n){tS(this,r);var o;return o=t.call(this,n),xt(At(o),"caption",{type:"string",required:!0,message:$.getMessage("pleaseEnterCaption")}),xt(At(o),"width",{type:"number",required:!1,message:$.getMessage("pleaseEnterColumnWidth")}),xt(At(o),"captionTip",{type:"string",required:!1,message:$.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(le),va=function(e){rS(r,e);var t=nS(r);function r(n){tS(this,r);var o,i,u,c,l,a,f;o=t.call(this,n),xt(At(o),"metaAutoWidth",void 0),xt(At(o),"caption",void 0),xt(At(o),"fixed",void 0),xt(At(o),"isShowCaptionTip",void 0),xt(At(o),"captionTip",void 0),xt(At(o),"isHideCaption",void 0);var s;o.caption=(s=(i=n)===null||i===void 0?void 0:i.caption)!==null&&s!==void 0?s:"";var p;o.fixed=(p=(u=n)===null||u===void 0?void 0:u.fixed)!==null&&p!==void 0?p:!1;var _;o.isShowCaptionTip=(_=(c=n)===null||c===void 0?void 0:c.isShowCaptionTip)!==null&&_!==void 0?_:!1;var h;o.captionTip=(h=(l=n)===null||l===void 0?void 0:l.captionTip)!==null&&h!==void 0?h:"";var d;return o.isHideCaption=(d=(a=n)===null||a===void 0?void 0:a.isHideCaption)!==null&&d!==void 0?d:!1,o.metaAutoWidth=new N2((f=n)===null||f===void 0?void 0:f.metaAutoWidth),o}return r}(de);xt(va,"Rules",mW);function oS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ar(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ha(e){return ha=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ha(e)}function wW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_h(e,t)}function $W(e,t){return t&&(PW(t)==="object"||typeof t=="function")?t:oS(e)}function _h(e,t){return _h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_h(e,t)}function PW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SW(e){var t=RW();return function(){var n=ha(e),o;if(t){var i=ha(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $W(this,o)}}var ht=function(e){wW(r,e);var t=SW(r);function r(n){OW(this,r);var o,i;return o=t.call(this,n),Ar(oS(o),"props",void 0),o.props=new va((i=n)===null||i===void 0?void 0:i.props),o}return r}(ve);Ar(ht,"controlName","\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),Ar(ht,"controlType","subtable-column"),Ar(ht,"controlIcon","subtable-column"),Ar(ht,"childrenMaxLength",1),Ar(ht,"excludes",[m.SUBTABLE,m.SUBTABLE_COLUMN,m.ROW,m.COL,m.CARD_GROUP,m.DIVIDER,m.TEXT]),Ar(ht,"setting",[{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"common-setting",showItems:[v.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}]);function iS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ba(e){return ba=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ba(e)}function TW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yh(e,t)}function IW(e,t){return t&&(BW(t)==="object"||typeof t=="function")?t:iS(e)}function yh(e,t){return yh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yh(e,t)}function BW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xW(e){var t=AW();return function(){var n=ba(e),o;if(t){var i=ba(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return IW(this,o)}}var cS=function(e){TW(r,e);var t=xW(r);function r(n){EW(this,r);var o,i;return o=t.call(this,n),uS(iS(o),"props",void 0),o.props=new va((i=n)===null||i===void 0?void 0:i.props),o}return r}(Er);uS(cS,"controlType","subtable-column");var kW={Designer:ht,Runtime:cS,Property:va};function DW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ga(e){return ga=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ga(e)}function FW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dh(e,t)}function jW(e,t){return t&&(MW(t)==="object"||typeof t=="function")?t:DW(e)}function dh(e,t){return dh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dh(e,t)}function MW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VW(e){var t=LW();return function(){var n=ga(e),o;if(t){var i=ga(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jW(this,o)}}var CW=function(e){FW(r,e);var t=VW(r);function r(n){return NW(this,r),t.call(this,n)}return r}(de);function lS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ma(e){return ma=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ma(e)}function 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&&vh(e,t)}function qW(e,t){return t&&(UW(t)==="object"||typeof t=="function")?t:lS(e)}function vh(e,t){return vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vh(e,t)}function UW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KW(e){var t=WW();return function(){var n=ma(e),o;if(t){var i=ma(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qW(this,o)}}var hn=function(e){HW(r,e);var t=KW(r);function r(n){zW(this,r);var o,i;return o=t.call(this,n),xr(lS(o),"props",void 0),o.props=new CW((i=n)===null||i===void 0?void 0:i.props),o}return r}(ve);xr(hn,"controlName","\u660E\u7EC6\u5B50\u8868\u884C"),xr(hn,"controlType","subtable-row"),xr(hn,"controlIcon","subtable-row"),xr(hn,"childrenMaxLength",1),xr(hn,"excludes",[m.SUBTABLE,m.SUBTABLE_COLUMN,m.SUBTABLE_ROW,m.ROW,m.COL,m.CARD_GROUP,m.DIVIDER,m.TEXT]),xr(hn,"setting",[{key:"caption",showItems:[v.CAPTION],visible:!0}]);function Qe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ct(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Oa(e){return Oa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oa(e)}function XW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hh(e,t)}function JW(e,t){return t&&(QW(t)==="object"||typeof t=="function")?t:Qe(e)}function hh(e,t){return hh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hh(e,t)}function QW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YW(e){var t=ZW();return function(){var n=Oa(e),o;if(t){var i=Oa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JW(this,o)}}var aS=function(e){XW(r,e);var t=YW(r);function r(n){GW(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b;o=t.call(this,n),ct(Qe(o),"widthType",void 0),ct(Qe(o),"width",void 0),ct(Qe(o),"caption",void 0),ct(Qe(o),"fieldCode",void 0),ct(Qe(o),"fieldType",void 0),ct(Qe(o),"fieldName",void 0),ct(Qe(o),"datasourceBind",void 0),ct(Qe(o),"fixed",void 0),ct(Qe(o),"textCleanFormart",void 0),ct(Qe(o),"decimalKeepPrecision",void 0),ct(Qe(o),"timestampDateType",void 0),ct(Qe(o),"departmentDisplayLevel",void 0);var y;o.width=(y=(i=n)===null||i===void 0?void 0:i.width)!==null&&y!==void 0?y:200,o.widthType=((u=n)===null||u===void 0?void 0:u.widthType)||"auto";var g;o.caption=(g=(c=n)===null||c===void 0?void 0:c.caption)!==null&&g!==void 0?g:"";var O;o.fixed=(O=(l=n)===null||l===void 0?void 0:l.fixed)!==null&&O!==void 0?O:!1;var w;o.fieldCode=(w=(a=n)===null||a===void 0?void 0:a.fieldCode)!==null&&w!==void 0?w:"";var P;o.fieldType=(P=(f=n)===null||f===void 0?void 0:f.fieldType)!==null&&P!==void 0?P:S.VARCHAR;var E;o.fieldName=(E=(s=n)===null||s===void 0?void 0:s.fieldName)!==null&&E!==void 0?E:"",o.datasourceBind=new se((p=n)===null||p===void 0?void 0:p.datasourceBind);var T;o.textCleanFormart=(T=(_=n)===null||_===void 0?void 0:_.textCleanFormart)!==null&&T!==void 0?T:!1;var B;o.decimalKeepPrecision=(B=(h=n)===null||h===void 0?void 0:h.decimalKeepPrecision)!==null&&B!==void 0?B:0;var I;o.timestampDateType=(I=(d=n)===null||d===void 0?void 0:d.timestampDateType)!==null&&I!==void 0?I:Zt.DATE;var A;return o.departmentDisplayLevel=(A=(b=n)===null||b===void 0?void 0:b.departmentDisplayLevel)!==null&&A!==void 0?A:1,o}return r}(de);function fS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wa(e){return wa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wa(e)}function tK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bh(e,t)}function rK(e,t){return t&&(nK(t)==="object"||typeof t=="function")?t:fS(e)}function bh(e,t){return bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bh(e,t)}function nK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iK(e){var t=oK();return function(){var n=wa(e),o;if(t){var i=wa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rK(this,o)}}var bn=function(e){tK(r,e);var t=iK(r);function r(n){eK(this,r);var o,i;return o=t.call(this,n),kr(fS(o),"props",void 0),o.props=new aS((i=n)===null||i===void 0?void 0:i.props),o}return r}(ve);kr(bn,"controlName","\u5217\u8868\u5355\u5143\u683C"),kr(bn,"controlType","gridtable-column"),kr(bn,"controlIcon","gridtable-column"),kr(bn,"childrenMaxLength",1),kr(bn,"excludes",[m.GRID_TABLE,m.GRID_TABLE_COLUMN,m.ROW,m.COL,m.CARD_GROUP,m.DIVIDER,m.TEXT]),kr(bn,"setting",[{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}]);function sS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $a(e){return $a=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$a(e)}function cK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gh(e,t)}function lK(e,t){return t&&(aK(t)==="object"||typeof t=="function")?t:sS(e)}function gh(e,t){return gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gh(e,t)}function aK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sK(e){var t=fK();return function(){var n=$a(e),o;if(t){var i=$a(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lK(this,o)}}var pK=function(e){cK(r,e);var t=sK(r);function r(n){uK(this,r);var o,i;return o=t.call(this,n),pS(sS(o),"props",void 0),o.props=new aS((i=n)===null||i===void 0?void 0:i.props),o}return r}(Er);pS(pK,"controlType","gridtable-column");function mh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _K(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _S(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pa(e){return Pa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pa(e)}function yK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Oh(e,t)}function dK(e,t){return t&&(vK(t)==="object"||typeof t=="function")?t:mh(e)}function Oh(e,t){return Oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Oh(e,t)}function vK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bK(e){var t=hK();return function(){var n=Pa(e),o;if(t){var i=Pa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dK(this,o)}}var gK=function(e){yK(r,e);var t=bK(r);function r(n){_K(this,r);var o,i,u;o=t.call(this,n),_S(mh(o),"childMinWidth",void 0),_S(mh(o),"colGap",void 0);var c;o.childMinWidth=(c=(i=n)===null||i===void 0?void 0:i.childMinWidth)!==null&&c!==void 0?c:230;var l;return o.colGap=(l=(u=n)===null||u===void 0?void 0:u.colGap)!==null&&l!==void 0?l:24,o}return r}(de);function yS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function OK(e,t,r){return t&&dS(e.prototype,t),r&&dS(e,r),e}function wh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ra(e){return Ra=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ra(e)}function 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&&$h(e,t)}function $K(e,t){return t&&(PK(t)==="object"||typeof t=="function")?t:yS(e)}function $h(e,t){return $h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$h(e,t)}function PK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SK(e){var t=RK();return function(){var n=Ra(e),o;if(t){var i=Ra(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $K(this,o)}}var vS=function(e){wK(r,e);var t=SK(r);function r(n){mK(this,r);var o,i;return o=t.call(this,n),wh(yS(o),"props",void 0),o.props=new gK((i=n)===null||i===void 0?void 0:i.props),o}return OK(r,null,[{key:"controlName",get:function(){return"\u6362\u884C\u5BB9\u5668"}},{key:"controlType",get:function(){return"grid-layout-container"}},{key:"controlIcon",get:function(){return"icona-huanhangrongqi1"}}]),r}(ve);wh(vS,"excludes",[m.GRID_LAYOUT_CONTAINER,m.CARD_GROUP,m.TAB]),wh(vS,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}]);function hS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TK(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sa(e){return Sa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sa(e)}function 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&&Ph(e,t)}function BK(e,t){return t&&(AK(t)==="object"||typeof t=="function")?t:hS(e)}function Ph(e,t){return Ph=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ph(e,t)}function AK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kK(e){var t=xK();return function(){var n=Sa(e),o;if(t){var i=Sa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BK(this,o)}}var DK=function(e){IK(r,e);var t=kK(r);function r(n){EK(this,r);var o,i;o=t.call(this,n),TK(hS(o),"mobileShowType",void 0);var u;return o.mobileShowType=(u=(i=n)===null||i===void 0?void 0:i.mobileShowType)!==null&&u!==void 0?u:"vertical",o}return r}(de);function Rh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ea(e){return Ea=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ea(e)}function gS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Eh(e,t)}function NK(e,t){return t&&(FK(t)==="object"||typeof t=="function")?t:Rh(e)}function Eh(e,t){return Eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eh(e,t)}function FK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mS(e){var t=jK();return function(){var n=Ea(e),o;if(t){var i=Ea(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return NK(this,o)}}var MK=function(e){gS(r,e);var t=mS(r);function r(n){bS(this,r);var o;return o=t.call(this,n),Sh(Rh(o),"caption",{type:"string",required:!0,message:$.getMessage("pleaseEnterCaption")}),o}return r}(le),OS=function(e){gS(r,e);var t=mS(r);function r(n){bS(this,r);var o,i;o=t.call(this,n),Sh(Rh(o),"caption",void 0);var u;return o.caption=(u=(i=n)===null||i===void 0?void 0:i.caption)!==null&&u!==void 0?u:xa.controlName,o}return r}(de);Sh(OS,"Rules",MK);function wS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $S(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function VK(e,t,r){return t&&$S(e.prototype,t),r&&$S(e,r),e}function Th(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ta(e){return Ta=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ta(e)}function CK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 zK(e,t){return t&&(HK(t)==="object"||typeof t=="function")?t:wS(e)}function Ih(e,t){return Ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ih(e,t)}function HK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UK(e){var t=qK();return function(){var n=Ta(e),o;if(t){var i=Ta(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zK(this,o)}}var Ia=function(e){CK(r,e);var t=UK(r);function r(n){LK(this,r);var o,i;return o=t.call(this,n),Th(wS(o),"props",void 0),o.props=new OS((i=n)===null||i===void 0?void 0:i.props),o}return VK(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u5355\u5143"}},{key:"controlType",get:function(){return"tab-pane"}},{key:"controlIcon",get:function(){return"tab-pane"}}]),r}(ve);Th(Ia,"excludes",[m.TAB]),Th(Ia,"setting",[{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE]},{key:"super-setting",visible:!0}]);function PS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function KK(e,t,r){return t&&RS(e.prototype,t),r&&RS(e,r),e}function Ba(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Aa(e){return Aa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Aa(e)}function GK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bh(e,t)}function XK(e,t){return t&&(JK(t)==="object"||typeof t=="function")?t:PS(e)}function Bh(e,t){return Bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bh(e,t)}function JK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZK(e){var t=QK();return function(){var n=Aa(e),o;if(t){var i=Aa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XK(this,o)}}var xa=function(e){GK(r,e);var t=ZK(r);function r(n){WK(this,r);var o,i,u;o=t.call(this,n),Ba(PS(o),"props",void 0),o.props=new DK((i=n)===null||i===void 0?void 0:i.props);var c;return o.children=(c=(u=n)===null||u===void 0?void 0:u.children)!==null&&c!==void 0?c:[new Ia,new Ia],o}return KK(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u9875"}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),r}(ve);Ba(xa,"excludes",[m.TAB]),Ba(xa,"controlEventKeys",["on_change_tab"]),Ba(xa,"setting",[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}]);function YK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ka(e){return ka=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ka(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&&Ah(e,t)}function rG(e,t){return t&&(nG(t)==="object"||typeof t=="function")?t:YK(e)}function Ah(e,t){return Ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ah(e,t)}function nG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iG(e){var t=oG();return function(){var n=ka(e),o;if(t){var i=ka(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rG(this,o)}}var uG=function(e){tG(r,e);var t=iG(r);function r(n){return eG(this,r),t.call(this,n)}return r}(de);function SS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ES(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function lG(e,t,r){return t&&ES(e.prototype,t),r&&ES(e,r),e}function TS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Da(e){return Da=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Da(e)}function aG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xh(e,t)}function fG(e,t){return t&&(sG(t)==="object"||typeof t=="function")?t:SS(e)}function xh(e,t){return xh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xh(e,t)}function sG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _G(e){var t=pG();return function(){var n=Da(e),o;if(t){var i=Da(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fG(this,o)}}var yG=function(e){aG(r,e);var t=_G(r);function r(n){cG(this,r);var o,i;return o=t.call(this,n),TS(SS(o),"props",void 0),o.props=new uG({}),o.children=((i=n)===null||i===void 0?void 0:i.children)||[new So({props:new Ro({span:12})}),new So({props:new Ro({span:12})})],o}return lG(r,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),r}(ve);TS(yG,"excludes",[m.GRID_ROW,m.ROW,m.GRID,m.SUBTABLE,m.TAB,m.TOOLBOX]);function ue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ce(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Na(e){return Na=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Na(e)}function Dh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nh(e,t)}function dG(e,t){return t&&(vG(t)==="object"||typeof t=="function")?t:ue(e)}function Nh(e,t){return Nh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nh(e,t)}function vG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fh(e){var t=hG();return function(){var n=Na(e),o;if(t){var i=Na(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dG(this,o)}}var Fa;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(Fa||(Fa={}));var bG=function(e){Dh(r,e);var t=Fh(r);function r(n){kh(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(Rr),gG=function(e){Dh(r,e);var t=Fh(r);function r(n){kh(this,r);var o;if(o=t.call(this,n),ce(ue(o),"triggerFieldCode",{type:"any"}),ce(ue(o),"datasourceBind",{type:"any"}),ce(ue(o),"joinRelation",[{type:"any"}]),console.log("--ListViewControlPropertyRules--"),n.triggerType===Fa.CLICK_CELL&&n.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:$.getMessage("pleaseEnterFieldCode")}),n.isShowJoinRelation&&(o.joinRelation=[{type:"object",message:$.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:$.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:$.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:$.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:$.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:$.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:$.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:$.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),Vs.call(ue(o),{optionConfig:"datasource",datasourceBind:n.datasourceBind,options:[]}),Array.isArray(o.datasourceBind)&&o.datasourceBind.length>1){var i=o.datasourceBind.find(function(u){return u.type==="object"&&u.fields});i&&(delete i.fields.valueFieldCode,delete i.fields.displayBoList)}return o}return r}(le),Eo=function(e){Dh(r,e);var t=Fh(r);function r(n){kh(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y,g,O;o=t.call(this,n),ce(ue(o),"datasourceBind",void 0),ce(ue(o),"isLoading",void 0),ce(ue(o),"isShowSubList",void 0),ce(ue(o),"triggerType",void 0),ce(ue(o),"triggerFieldCode",void 0),ce(ue(o),"sublistPage",void 0),ce(ue(o),"isShowJoinRelation",void 0),ce(ue(o),"joinRelation",void 0),ce(ue(o),"showType",void 0),ce(ue(o),"showFullScreen",void 0),ce(ue(o),"isFixedHeader",void 0),ce(ue(o),"selectionType",void 0),ce(ue(o),"isShowSelection",void 0),ce(ue(o),"isAllLoaded",void 0),ce(ue(o),"countType",void 0),o.datasourceBind=new se((i=n)===null||i===void 0?void 0:i.datasourceBind);var w;o.isLoading=(w=(u=n)===null||u===void 0?void 0:u.isLoading)!==null&&w!==void 0?w:!1;var P;o.isShowSubList=(P=(c=n)===null||c===void 0?void 0:c.isShowSubList)!==null&&P!==void 0?P:!1;var E;o.triggerType=(E=(l=n)===null||l===void 0?void 0:l.triggerType)!==null&&E!==void 0?E:Fa.CLICK_ROW;var T;o.triggerFieldCode=(T=(a=n)===null||a===void 0?void 0:a.triggerFieldCode)!==null&&T!==void 0?T:"",o.sublistPage=new V2((f=n)===null||f===void 0?void 0:f.sublistPage);var B;o.isShowJoinRelation=(B=(s=n)===null||s===void 0?void 0:s.isShowJoinRelation)!==null&&B!==void 0?B:!1,o.joinRelation=new z2((p=n)===null||p===void 0?void 0:p.joinRelation);var I;o.showType=(I=(_=n)===null||_===void 0?void 0:_.showType)!==null&&I!==void 0?I:"stretch";var A;o.showFullScreen=(A=(h=n)===null||h===void 0?void 0:h.showFullScreen)!==null&&A!==void 0?A:!1;var x;o.selectionType=(x=(d=n)===null||d===void 0?void 0:d.selectionType)!==null&&x!==void 0?x:"multiple";var k;o.isFixedHeader=(k=(b=n)===null||b===void 0?void 0:b.isFixedHeader)!==null&&k!==void 0?k:!1;var N;o.isShowSelection=(N=(y=n)===null||y===void 0?void 0:y.isShowSelection)!==null&&N!==void 0?N:!1;var D;return o.isAllLoaded=(D=(g=n)===null||g===void 0?void 0:g.isAllLoaded)!==null&&D!==void 0?D:!0,o.countType=(O=n)===null||O===void 0?void 0:O.countType,o}return r}(de);ce(Eo,"Rules",gG),ce(Eo,"RuntimeRules",bG);function IS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function OG(e,t,r){return t&&BS(e.prototype,t),r&&BS(e,r),e}function ja(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ma(e){return Ma=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ma(e)}function wG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jh(e,t)}function $G(e,t){return t&&(PG(t)==="object"||typeof t=="function")?t:IS(e)}function jh(e,t){return jh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jh(e,t)}function PG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SG(e){var t=RG();return function(){var n=Ma(e),o;if(t){var i=Ma(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $G(this,o)}}var La=function(e){wG(r,e);var t=SG(r);function r(n){mG(this,r);var o,i;return o=t.call(this,n),ja(IS(o),"props",void 0),o.props=new Eo((i=n)===null||i===void 0?void 0:i.props),o}return OG(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u5BB9\u5668"}},{key:"controlType",get:function(){return"list-view"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(ve);ja(La,"excludes",[m.ROW]),ja(La,"controlEventKeys",["on_list_search","on_list_mounted","on_list_actions","on_list_render_operation","on_list_rowclick","on_list_before_rowdelete","on_list_rows_checked"]),ja(La,"setting",[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"super-setting",visible:!0}]);function AS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function TG(e,t,r){return t&&xS(e.prototype,t),r&&xS(e,r),e}function IG(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Va(e){return Va=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Va(e)}function BG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mh(e,t)}function AG(e,t){return t&&(xG(t)==="object"||typeof t=="function")?t:AS(e)}function Mh(e,t){return Mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mh(e,t)}function xG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DG(e){var t=kG();return function(){var n=Va(e),o;if(t){var i=Va(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AG(this,o)}}var NG=function(e){BG(r,e);var t=DG(r);function r(n){EG(this,r);var o,i;return o=t.call(this,n),IG(AS(o),"props",void 0),o.props=new Eo((i=n)===null||i===void 0?void 0:i.props),o}return TG(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(Er),FG={Designer:La,Runtime:NG,Property:Eo};function br(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ca(e){return Ca=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ca(e)}function DS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 jG(e,t){return t&&(MG(t)==="object"||typeof t=="function")?t:br(e)}function Lh(e,t){return Lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lh(e,t)}function MG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NS(e){var t=LG();return function(){var n=Ca(e),o;if(t){var i=Ca(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jG(this,o)}}var VG=function(e){DS(r,e);var t=NS(r);function r(n){kS(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(Rr),za=function(e){DS(r,e);var t=NS(r);function r(n){kS(this,r);var o,i,u,c,l,a,f,s;o=t.call(this,n),gr(br(o),"save",void 0),gr(br(o),"cancel",void 0),gr(br(o),"saveAs",void 0),gr(br(o),"print",void 0),gr(br(o),"custom",void 0),gr(br(o),"isLoading",void 0),gr(br(o),"datasourceBind",void 0);var p;o.save=new tr((p=(i=n)===null||i===void 0?void 0:i.save)!==null&&p!==void 0?p:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var _;o.cancel=new tr((_=(u=n)===null||u===void 0?void 0:u.cancel)!==null&&_!==void 0?_:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var h;o.saveAs=new tr((h=(c=n)===null||c===void 0?void 0:c.saveAs)!==null&&h!==void 0?h:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1});var d;o.print=new tr((d=(l=n)===null||l===void 0?void 0:l.print)!==null&&d!==void 0?d:{content:"\u6253\u5370",type:"print",isShow:!1});var b;o.custom=((b=(a=n)===null||a===void 0?void 0:a.custom)!==null&&b!==void 0?b:[]).map(function(g){return new tr(g)});var y;return o.isLoading=(y=(f=n)===null||f===void 0?void 0:f.isLoading)!==null&&y!==void 0?y:!1,o.datasourceBind=new se((s=n)===null||s===void 0?void 0:s.datasourceBind),o}return r}(de);gr(za,"RuntimeRules",VG);function FS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zG(e,t,r){return t&&jS(e.prototype,t),r&&jS(e,r),e}function MS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ha(e){return Ha=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ha(e)}function HG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vh(e,t)}function qG(e,t){return t&&(UG(t)==="object"||typeof t=="function")?t:FS(e)}function Vh(e,t){return Vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vh(e,t)}function UG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KG(e){var t=WG();return function(){var n=Ha(e),o;if(t){var i=Ha(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qG(this,o)}}var LS=function(e){HG(r,e);var t=KG(r);function r(n){CG(this,r);var o,i;return o=t.call(this,n),MS(FS(o),"props",void 0),o.props=new za((i=n)===null||i===void 0?void 0:i.props),o}return zG(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(ve);MS(LS,"excludes",[]);function VS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function XG(e,t,r){return t&&CS(e.prototype,t),r&&CS(e,r),e}function JG(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qa(e){return qa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qa(e)}function QG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ch(e,t)}function ZG(e,t){return t&&(YG(t)==="object"||typeof t=="function")?t:VS(e)}function Ch(e,t){return Ch=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ch(e,t)}function YG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tX(e){var t=eX();return function(){var n=qa(e),o;if(t){var i=qa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZG(this,o)}}var rX=function(e){QG(r,e);var t=tX(r);function r(n){GG(this,r);var o,i;return o=t.call(this,n),JG(VS(o),"props",void 0),o.props=new za((i=n)===null||i===void 0?void 0:i.props),o}return XG(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(Er),nX={Designer:LS,Runtime:rX,Property:za};function Ua(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wa(e){return Wa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wa(e)}function iX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hh(e,t)}function uX(e,t){return t&&(cX(t)==="object"||typeof t=="function")?t:Ua(e)}function Hh(e,t){return Hh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hh(e,t)}function cX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aX(e){var t=lX();return function(){var n=Wa(e),o;if(t){var i=Wa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uX(this,o)}}var fX=function(e){iX(r,e);var t=aX(r);function r(n){oX(this,r);var o,i,u,c;o=t.call(this,n),zh(Ua(o),"position",void 0),zh(Ua(o),"opacity",void 0),zh(Ua(o),"align",void 0);var l;o.position=(l=(i=n)===null||i===void 0?void 0:i.position)!==null&&l!==void 0?l:"bottom";var a;o.opacity=(a=(u=n)===null||u===void 0?void 0:u.opacity)!==null&&a!==void 0?a:!0;var f;return o.align=(f=(c=n)===null||c===void 0?void 0:c.align)!==null&&f!==void 0?f:"right",o}return r}(de);function zS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pX(e,t,r){return t&&HS(e.prototype,t),r&&HS(e,r),e}function qh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ka(e){return Ka=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ka(e)}function _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&&Uh(e,t)}function yX(e,t){return t&&(dX(t)==="object"||typeof t=="function")?t:zS(e)}function Uh(e,t){return Uh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uh(e,t)}function dX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hX(e){var t=vX();return function(){var n=Ka(e),o;if(t){var i=Ka(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yX(this,o)}}var qS=function(e){_X(r,e);var t=hX(r);function r(n){sX(this,r);var o,i;o=t.call(this,n),qh(zS(o),"props",void 0);var u;return o.props=new fX((u=(i=n)===null||i===void 0?void 0:i.props)!==null&&u!==void 0?u:{}),o}return pX(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE\u64CD\u4F5C\u680F"}},{key:"controlType",get:function(){return"action-bar"}},{key:"controlIcon",get:function(){return"action-bar"}}]),r}(ve);qh(qS,"excludes",[]),qh(qS,"setting",[{key:"action-buttons",visible:!0},{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0}]);function L(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function j(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ga(e){return Ga=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ga(e)}function Kh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gh(e,t)}function bX(e,t){return t&&(gX(t)==="object"||typeof t=="function")?t:L(e)}function Gh(e,t){return Gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gh(e,t)}function gX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xh(e){var t=mX();return function(){var n=Ga(e),o;if(t){var i=Ga(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bX(this,o)}}var OX=function(e){Kh(r,e);var t=Xh(r);function r(n){Wh(this,r);var o;return o=t.call(this,n),j(L(o),"caption",{type:"string",required:!0,message:$.getMessage("pleaseEnterCaption")}),j(L(o),"limitRows",[{type:"number",required:!0,message:$.getMessage("isNotNumber")},{type:"number",min:0,message:$.getMessage("limitRowsCannotBeLessThan0")}]),j(L(o),"formKey",{type:"string",required:!1,message:$.getMessage("pleaseEnterForm")}),j(L(o),"maxHeight",{type:"number",required:!0,message:$.getMessage("pleaseEnterMaxHeight")}),j(L(o),"captionTip",{type:"string",required:!1,message:$.getMessage("pleaseEnterCaptionTip")}),j(L(o),"mobileRowCaption",{type:"string",required:!1,message:$.getMessage("pleaseEnterRowCaption")}),n.openType==="modal"&&(o.formKey.required=!0),n.isShowCaptionTip&&(o.captionTip.required=!0),n.mobileShowType==="tile"&&(o.mobileRowCaption.required=!0),o}return r}(le),wX=function(e){Kh(r,e);var t=Xh(r);function r(n){Wh(this,r);var o;return o=t.call(this,n),n.isHide||o.push({type:"array",required:n.limitRows>0,message:$.getMessage("runtimeRequired",{caption:n.caption})},{type:"array",validator:function(u,c,l){c.length<n.limitRows&&l($.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})),l()},message:$.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})}),o}return r}(Rr),Jh=function(e){Kh(r,e);var t=Xh(r);function r(n,o){Wh(this,r);var i,u,c,l,a,f,s,p,_,h,d,b,y,g,O,w,P,E,T,B,I,A,x,k,N,D,z,Y,ee,ne,oe;i=t.call(this,n,o),j(L(i),"caption",void 0),j(L(i),"labelPosition",void 0),j(L(i),"isHideCaption",void 0),j(L(i),"isShowCaptionTip",void 0),j(L(i),"captionTip",void 0),j(L(i),"defaultState",void 0),j(L(i),"limitRows",void 0),j(L(i),"maxRows",void 0),j(L(i),"defaultRows",void 0),j(L(i),"datasourceBind",void 0),j(L(i),"printMode",void 0),j(L(i),"openType",void 0),j(L(i),"formKey",void 0),j(L(i),"useCustomHeight",void 0),j(L(i),"maxHeight",void 0),j(L(i),"canAdd",void 0),j(L(i),"canDelete",void 0),j(L(i),"canCheck",void 0),j(L(i),"canEdit",void 0),j(L(i),"canImport",void 0),j(L(i),"canExport",void 0),j(L(i),"canClear",void 0),j(L(i),"isPaste",void 0),j(L(i),"mobileShowType",void 0),j(L(i),"mobileDefaultNum",void 0),j(L(i),"dataStorageDoc",void 0),j(L(i),"serverPagination",void 0),j(L(i),"fixedColumn",void 0),j(L(i),"mobileRowCaption",void 0),j(L(i),"mobileIsTile",void 0);var fe;i.caption=(fe=(u=o)===null||u===void 0?void 0:u.caption)!==null&&fe!==void 0?fe:eb.controlName;var Ze;i.isHideCaption=(Ze=(c=o)===null||c===void 0?void 0:c.isHideCaption)!==null&&Ze!==void 0?Ze:!1;var Fe;i.defaultState=(Fe=(l=o)===null||l===void 0?void 0:l.defaultState)!==null&&Fe!==void 0?Fe:"default";var Ot;i.labelPosition=(Ot=(a=o)===null||a===void 0?void 0:a.labelPosition)!==null&&Ot!==void 0?Ot:"top";var wt;i.openType=(wt=(f=o)===null||f===void 0?void 0:f.openType)!==null&&wt!==void 0?wt:"default";var $t;i.formKey=($t=(s=o)===null||s===void 0?void 0:s.formKey)!==null&&$t!==void 0?$t:"";var Qt;i.useCustomHeight=(Qt=(p=o)===null||p===void 0?void 0:p.useCustomHeight)!==null&&Qt!==void 0?Qt:!1;var Cr;i.maxHeight=(Cr=(_=o)===null||_===void 0?void 0:_.maxHeight)!==null&&Cr!==void 0?Cr:zD;var zr;i.printMode=(zr=(h=o)===null||h===void 0?void 0:h.printMode)!==null&&zr!==void 0?zr:"row";var jo;i.limitRows=(jo=(d=o)===null||d===void 0?void 0:d.limitRows)!==null&&jo!==void 0?jo:1;var Hr;i.maxRows=(Hr=(b=o)===null||b===void 0?void 0:b.maxRows)!==null&&Hr!==void 0?Hr:null;var V0;i.defaultRows=(V0=(y=o)===null||y===void 0?void 0:y.defaultRows)!==null&&V0!==void 0?V0:1,i.datasourceBind=new se((g=o)===null||g===void 0?void 0:g.datasourceBind);var C0;i.canAdd=(C0=(O=o)===null||O===void 0?void 0:O.canAdd)!==null&&C0!==void 0?C0:!0;var z0;i.canDelete=(z0=(w=o)===null||w===void 0?void 0:w.canDelete)!==null&&z0!==void 0?z0:!0;var H0;i.canCheck=(H0=(P=o)===null||P===void 0?void 0:P.canCheck)!==null&&H0!==void 0?H0:!1;var q0;i.canEdit=(q0=(E=o)===null||E===void 0?void 0:E.canEdit)!==null&&q0!==void 0?q0:!1;var U0;i.canImport=(U0=(T=o)===null||T===void 0?void 0:T.canImport)!==null&&U0!==void 0?U0:!1;var W0;i.canExport=(W0=(B=o)===null||B===void 0?void 0:B.canExport)!==null&&W0!==void 0?W0:!1;var K0;i.canClear=(K0=(I=o)===null||I===void 0?void 0:I.canClear)!==null&&K0!==void 0?K0:!0;var G0;i.serverPagination=(G0=(A=o)===null||A===void 0?void 0:A.serverPagination)!==null&&G0!==void 0?G0:!1;var X0;i.isShowCaptionTip=(X0=(x=o)===null||x===void 0?void 0:x.isShowCaptionTip)!==null&&X0!==void 0?X0:!1;var J0;i.captionTip=(J0=(k=o)===null||k===void 0?void 0:k.captionTip)!==null&&J0!==void 0?J0:"";var Q0;i.mobileShowType=(Q0=(N=o)===null||N===void 0?void 0:N.mobileShowType)!==null&&Q0!==void 0?Q0:"list";var Z0;i.mobileDefaultNum=(Z0=(D=o)===null||D===void 0?void 0:D.mobileDefaultNum)!==null&&Z0!==void 0?Z0:10;var Y0;i.dataStorageDoc=(Y0=(z=o)===null||z===void 0?void 0:z.dataStorageDoc)!==null&&Y0!==void 0?Y0:new F2;var eg;i.fixedColumn=(eg=(Y=o)===null||Y===void 0?void 0:Y.fixedColumn)!==null&&eg!==void 0?eg:[];var tg;i.mobileRowCaption=(tg=(ee=o)===null||ee===void 0?void 0:ee.mobileRowCaption)!==null&&tg!==void 0?tg:"\u660E\u7EC6";var rg;i.mobileIsTile=(rg=(ne=o)===null||ne===void 0?void 0:ne.mobileIsTile)!==null&&rg!==void 0?rg:!1;var ng;return i.isPaste=(ng=(oe=o)===null||oe===void 0?void 0:oe.isPaste)!==null&&ng!==void 0?ng:!1,i}return r}(Ys);j(Jh,"Rules",OX),j(Jh,"RuntimeRules",wX);function Qh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $X(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function US(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function PX(e,t,r){return t&&US(e.prototype,t),r&&US(e,r),e}function Zh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xa(e){return Xa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xa(e)}function 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&&Yh(e,t)}function SX(e,t){return t&&(EX(t)==="object"||typeof t=="function")?t:Qh(e)}function Yh(e,t){return Yh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yh(e,t)}function EX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IX(e){var t=TX();return function(){var n=Xa(e),o;if(t){var i=Xa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SX(this,o)}}var eb=function(e){RX(r,e);var t=IX(r);function r(n){$X(this,r);var o,i,u,c,l,a;return o=t.call(this,n),Zh(Qh(o),"props",void 0),o.props=new Jh(Qh(o),(i=n)===null||i===void 0?void 0:i.props),((c=n)===null||c===void 0||(u=c.props)===null||u===void 0?void 0:u.headers)===void 0&&(o.props.headers=[new ht,new ht,new ht]),((a=n)===null||a===void 0||(l=a.props)===null||l===void 0?void 0:l.footers)===void 0&&(o.props.footers=[]),o}return PX(r,[{key:"addColumn",value:function(o,i){var u=o!==void 0&&typeof o!="number"?o:new ht,c=typeof o=="number"?o:i;return c===void 0?this.props.headers.push(u):this.props.headers.splice(c,0,u),u}}],[{key:"controlName",get:function(){return"\u660E\u7EC6\u5B50\u8868"}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),r}(rp);Zh(eb,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),Zh(eb,"setting",[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE,v.IS_SHOW_CAPTION_TIP,v.IS_PASTE]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}]);function gn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function To(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ja(e){return Ja=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ja(e)}function AX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tb(e,t)}function xX(e,t){return t&&(kX(t)==="object"||typeof t=="function")?t:gn(e)}function tb(e,t){return tb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tb(e,t)}function kX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NX(e){var t=DX();return function(){var n=Ja(e),o;if(t){var i=Ja(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xX(this,o)}}var FX=function(e){AX(r,e);var t=NX(r);function r(n,o){BX(this,r);var i,u,c,l,a,f;i=t.call(this,n,o),To(gn(i),"isFixedHeader",void 0),To(gn(i),"selectionType",void 0),To(gn(i),"isShowToolbar",void 0),To(gn(i),"isShowSelection",void 0),To(gn(i),"isShowCustomColumns",void 0);var s;i.isFixedHeader=(s=(u=o)===null||u===void 0?void 0:u.isFixedHeader)!==null&&s!==void 0?s:!1,i.selectionType=(c=o)===null||c===void 0?void 0:c.selectionType;var p;i.isShowToolbar=(p=(l=o)===null||l===void 0?void 0:l.isShowToolbar)!==null&&p!==void 0?p:!0;var _;i.isShowSelection=(_=(a=o)===null||a===void 0?void 0:a.isShowSelection)!==null&&_!==void 0?_:!1;var h;return i.isShowCustomColumns=(h=(f=o)===null||f===void 0?void 0:f.isShowCustomColumns)!==null&&h!==void 0?h:!0,i}return r}(Ys);function jX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MX(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qa(e){return Qa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qa(e)}function 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&&rb(e,t)}function LX(e,t){return t&&(VX(t)==="object"||typeof t=="function")?t:jX(e)}function rb(e,t){return rb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rb(e,t)}function VX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GS(e){var t=CX();return function(){var n=Qa(e),o;if(t){var i=Qa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return LX(this,o)}}var zX=function(e){KS(r,e);var t=GS(r);function r(n){WS(this,r);var o;return o=t.call(this,n),o.caption.required=!1,o}return r}(jt),nb=function(e){KS(r,e);var t=GS(r);function r(n){WS(this,r);var o,i,u,c,l,a,f,s,p;o=t.call(this,n);var _;o.fixed=(_=(i=n)===null||i===void 0?void 0:i.fixed)!==null&&_!==void 0?_:"left";var h;o.caption=(h=(u=n)===null||u===void 0?void 0:u.caption)!==null&&h!==void 0?h:mn.controlName;var d;o.width=(d=(c=n)===null||c===void 0?void 0:c.width)!==null&&d!==void 0?d:60;var b;o.autoWidth.minWidth=(b=(a=n)===null||a===void 0||(l=a.autoWidth)===null||l===void 0?void 0:l.minWidth)!==null&&b!==void 0?b:60;var y;o.autoWidth.flex=(y=(s=n)===null||s===void 0||(f=s.autoWidth)===null||f===void 0?void 0:f.flex)!==null&&y!==void 0?y:.4;var g;return o.widthType=(g=(p=n)===null||p===void 0?void 0:p.widthType)!==null&&g!==void 0?g:"px",o}return r}(ie);MX(nb,"Rules",zX);function XS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Io(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Za(e){return Za=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Za(e)}function 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&&ob(e,t)}function UX(e,t){return t&&(WX(t)==="object"||typeof t=="function")?t:XS(e)}function ob(e,t){return ob=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ob(e,t)}function WX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GX(e){var t=KX();return function(){var n=Za(e),o;if(t){var i=Za(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return UX(this,o)}}var mn=function(e){qX(r,e);var t=GX(r);function r(n){HX(this,r);var o,i;return o=t.call(this,n),Io(XS(o),"props",void 0),o.props=new nb((i=n)===null||i===void 0?void 0:i.props),o}return r}(be);Io(mn,"controlType","order-column"),Io(mn,"controlName","\u5E8F\u53F7"),Io(mn,"controlIcon","order-column"),Io(mn,"setting",[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}]);function JS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ib(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ya(e){return Ya=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ya(e)}function JX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ub(e,t)}function QX(e,t){return t&&(ZX(t)==="object"||typeof t=="function")?t:JS(e)}function ub(e,t){return ub=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ub(e,t)}function ZX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eJ(e){var t=YX();return function(){var n=Ya(e),o;if(t){var i=Ya(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QX(this,o)}}var QS=function(e){JX(r,e);var t=eJ(r);function r(n){XX(this,r);var o,i;return o=t.call(this,n),ib(JS(o),"props",void 0),o.props=new nb((i=n)===null||i===void 0?void 0:i.props),o}return r}(ge);ib(QS,"controlType","order-column"),ib(QS,"controlFieldType",S.DECIMAL);function cb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ef(e){return ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ef(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&&lb(e,t)}function nJ(e,t){return t&&(oJ(t)==="object"||typeof t=="function")?t:cb(e)}function lb(e,t){return lb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lb(e,t)}function oJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uJ(e){var t=iJ();return function(){var n=ef(e),o;if(t){var i=ef(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nJ(this,o)}}var YS=function(e){rJ(r,e);var t=uJ(r);function r(n){tJ(this,r);var o,i,u,c,l,a,f;o=t.call(this,n),ZS(cb(o),"showType",void 0),ZS(cb(o),"limit",void 0);var s;o.fixed=(s=(i=n)===null||i===void 0?void 0:i.fixed)!==null&&s!==void 0?s:"right",o.widthType="auto";var p;o.autoWidth.minWidth=(p=(c=n)===null||c===void 0||(u=c.autoWidth)===null||u===void 0?void 0:u.minWidth)!==null&&p!==void 0?p:84;var _;o.caption=(_=(l=n)===null||l===void 0?void 0:l.caption)!==null&&_!==void 0?_:wn.controlName;var h;o.showType=(h=(a=n)===null||a===void 0?void 0:a.showType)!==null&&h!==void 0?h:"icon";var d;return o.limit=(d=(f=n)===null||f===void 0?void 0:f.limit)!==null&&d!==void 0?d:3,o}return r}(ie);function tf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eE(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(a){r(a);return}c.done?t(l):Promise.resolve(l).then(n,o)}function cJ(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){eE(i,n,o,u,c,"next",l)}function c(l){eE(i,n,o,u,c,"throw",l)}u(void 0)})}}function lJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function aJ(e,t,r){return t&&tE(e.prototype,t),r&&tE(e,r),e}function Dr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function On(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?On=Reflect.get:On=function(o,i,u){var c=dJ(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},On(e,t,r||e)}function mr(e){return mr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mr(e)}function 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&&ab(e,t)}function sJ(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Dr(e,o,r[o])})}return e}function pJ(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function _J(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):pJ(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function yJ(e,t){return t&&(vJ(t)==="object"||typeof t=="function")?t:tf(e)}function ab(e,t){return ab=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ab(e,t)}function dJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=mr(e),e!==null););return e}function vJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bJ(e){var t=hJ();return function(){var n=mr(e),o;if(t){var i=mr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yJ(this,o)}}function gJ(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(a){return function(f){return l([a,f])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(f){a=[6,f],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var wn=function(e){fJ(r,e);var t=bJ(r);function r(n){lJ(this,r);var o,i,u;return o=t.call(this,n),Dr(tf(o),"props",void 0),Dr(tf(o),"children",void 0),o.props=new YS((i=n)===null||i===void 0?void 0:i.props),Ft(tf(o),"children",(u=n)===null||u===void 0?void 0:u.children),o}return aJ(r,[{key:"toDataBindModel",value:function(){var o=On(mr(r.prototype),"toDataBindModel",this).call(this);return this.children.map(function(i){if(i.type===gu.controlType){var u=i;o.props[u.props.command]=u.props}}),o}},{key:"toSchema",value:function(){var o=On(mr(r.prototype),"toSchema",this).call(this);return _J(sJ({},o),{children:this.children.map(function(i){return i.toSchema()})})}},{key:"validate",value:function(o,i){var u=this,c=this,l=function(){return On(mr(r.prototype),"validate",u)};return cJ(function(){return gJ(this,function(a){switch(a.label){case 0:return[4,l().call(c,o,i)];case 1:return a.sent(),[4,Promise.all(c.children.map(function(f){return f.validate(o,i)}))];case 2:return a.sent(),[2,!0]}})})()}}]),r}(be);Dr(wn,"controlType","operation-column"),Dr(wn,"controlName","\u64CD\u4F5C"),Dr(wn,"controlIcon","operation-column"),Dr(wn,"setting",[{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}]);function rf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function of(e){return of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},of(e)}function OJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fb(e,t)}function wJ(e,t){return t&&($J(t)==="object"||typeof t=="function")?t:rf(e)}function fb(e,t){return fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fb(e,t)}function $J(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RJ(e){var t=PJ();return function(){var n=of(e),o;if(t){var i=of(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wJ(this,o)}}var rE=function(e){OJ(r,e);var t=RJ(r);function r(n){mJ(this,r);var o,i,u;return o=t.call(this,n),nf(rf(o),"props",void 0),nf(rf(o),"children",void 0),o.props=new YS((i=n)===null||i===void 0?void 0:i.props),Ft(rf(o),"children",(u=n)===null||u===void 0?void 0:u.children),o}return r}(ge);nf(rE,"controlType","operation-column"),nf(rE,"controlFieldType",S.FILE);function Bo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nE(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(a){r(a);return}c.done?t(l):Promise.resolve(l).then(n,o)}function SJ(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){nE(i,n,o,u,c,"next",l)}function c(l){nE(i,n,o,u,c,"throw",l)}u(void 0)})}}function EJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function TJ(e,t,r){return t&&oE(e.prototype,t),r&&oE(e,r),e}function uf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ao(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ao=Reflect.get:Ao=function(o,i,u){var c=DJ(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Ao(e,t,r||e)}function Nr(e){return Nr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nr(e)}function IJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sb(e,t)}function BJ(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){uf(e,o,r[o])})}return e}function AJ(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function xJ(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):AJ(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function kJ(e,t){return t&&(NJ(t)==="object"||typeof t=="function")?t:Bo(e)}function sb(e,t){return sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sb(e,t)}function DJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Nr(e),e!==null););return e}function NJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jJ(e){var t=FJ();return function(){var n=Nr(e),o;if(t){var i=Nr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kJ(this,o)}}function MJ(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(a){return function(f){return l([a,f])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(f){a=[6,f],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var LJ=function(e){IJ(r,e);var t=jJ(r);function r(n){EJ(this,r);var o,i,u,c,l,a;return o=t.call(this,n),uf(Bo(o),"props",void 0),uf(Bo(o),"children",void 0),o.props=new FX(Bo(o),(i=n)===null||i===void 0?void 0:i.props),Ft(Bo(o),"children",(u=n)===null||u===void 0?void 0:u.children),((c=n)===null||c===void 0?void 0:c.props.headers)===void 0&&(o.props.headers=[new mn,new wn]),((a=n)===null||a===void 0||(l=a.props)===null||l===void 0?void 0:l.footers)===void 0&&(o.props.footers=[]),o}return TJ(r,[{key:"toSchema",value:function(){var o=Ao(Nr(r.prototype),"toSchema",this).call(this),i=this.children.map(function(u){return u.toSchema()});return xJ(BJ({},o),{children:i})}},{key:"validate",value:function(o,i){var u=this,c=this,l=function(){return Ao(Nr(r.prototype),"validate",u)};return SJ(function(){return MJ(this,function(a){switch(a.label){case 0:return[4,l().call(c,o,i)];case 1:return a.sent(),[4,Promise.all(c.children.map(function(f){return f.validate(o,i)}))];case 2:return a.sent(),[2,!0]}})})()}}],[{key:"controlName",get:function(){return"\u8868\u683C"}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),r}(rp);uf(LJ,"setting",[{key:"list-fixed-header",visible:!0}]);function Or(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cf(e){return cf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cf(e)}function uE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pb(e,t)}function VJ(e,t){return t&&(CJ(t)==="object"||typeof t=="function")?t:Or(e)}function pb(e,t){return pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pb(e,t)}function CJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cE(e){var t=zJ();return function(){var n=cf(e),o;if(t){var i=cf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VJ(this,o)}}var HJ=function(e){uE(r,e);var t=cE(r);function r(n){iE(this,r);var o;return o=t.call(this,n),Tr.call(Or(o),n),o}return r}(fm),_b=function(e){uE(r,e);var t=cE(r);function r(n){iE(this,r);var o,i,u,c,l,a,f,s;o=t.call(this,n),Fr(Or(o),"optionConfig",void 0),Fr(Or(o),"datasourceBind",void 0),Fr(Or(o),"showLinkOperation",void 0),Fr(Or(o),"linkOperationOption",void 0),Fr(Or(o),"options",void 0),Fr(Or(o),"lineEllipsis",void 0);var p;o.caption=(p=(i=n)===null||i===void 0?void 0:i.caption)!==null&&p!==void 0?p:Pn.controlName;var _;o.optionConfig=(_=(u=n)===null||u===void 0?void 0:u.optionConfig)!==null&&_!==void 0?_:"none",o.datasourceBind=new se((c=n)===null||c===void 0?void 0:c.datasourceBind);var h;o.options=Nt((h=(l=n)===null||l===void 0?void 0:l.options)!==null&&h!==void 0?h:[{}]);var d;o.showLinkOperation=(d=(a=n)===null||a===void 0?void 0:a.showLinkOperation)!==null&&d!==void 0?d:!1,o.linkOperationOption=new er((f=n)===null||f===void 0?void 0:f.linkOperationOption);var b;return o.lineEllipsis=(b=(s=n)===null||s===void 0?void 0:s.lineEllipsis)!==null&&b!==void 0?b:1,o}return r}(ie);Fr(_b,"Rules",HJ);function lE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lf(e){return lf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lf(e)}function UJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yb(e,t)}function WJ(e,t){return t&&(KJ(t)==="object"||typeof t=="function")?t:lE(e)}function yb(e,t){return yb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yb(e,t)}function KJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XJ(e){var t=GJ();return function(){var n=lf(e),o;if(t){var i=lf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WJ(this,o)}}var Pn=function(e){UJ(r,e);var t=XJ(r);function r(n){qJ(this,r);var o,i;return o=t.call(this,n),$n(lE(o),"props",void 0),o.props=new _b((i=n)===null||i===void 0?void 0:i.props),o}return r}(be);$n(Pn,"controlType","varchar-column"),$n(Pn,"controlName","\u77ED\u6587\u672C"),$n(Pn,"controlIcon","varchar-column"),$n(Pn,"controlFieldType",S.VARCHAR),$n(Pn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}]);function aE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function db(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function af(e){return af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},af(e)}function QJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vb(e,t)}function ZJ(e,t){return t&&(YJ(t)==="object"||typeof t=="function")?t:aE(e)}function vb(e,t){return vb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vb(e,t)}function YJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tQ(e){var t=eQ();return function(){var n=af(e),o;if(t){var i=af(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZJ(this,o)}}var fE=function(e){QJ(r,e);var t=tQ(r);function r(n){JJ(this,r);var o,i;return o=t.call(this,n),db(aE(o),"props",void 0),o.props=new _b((i=n)===null||i===void 0?void 0:i.props),o}return r}(ge);db(fE,"controlType","varchar-column"),db(fE,"controlFieldType",S.VARCHAR);function Rn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ff(e){return ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ff(e)}function pE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hb(e,t)}function rQ(e,t){return t&&(nQ(t)==="object"||typeof t=="function")?t:Rn(e)}function hb(e,t){return hb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hb(e,t)}function nQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _E(e){var t=oQ();return function(){var n=ff(e),o;if(t){var i=ff(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rQ(this,o)}}var iQ=function(e){pE(r,e);var t=_E(r);function r(n){sE(this,r);var o;return o=t.call(this,n),Tr.call(Rn(o),n),o}return r}(jt),bb=function(e){pE(r,e);var t=_E(r);function r(n){sE(this,r);var o,i,u,c,l,a;o=t.call(this,n),xo(Rn(o),"escapeHTML",void 0),xo(Rn(o),"showLinkOperation",void 0),xo(Rn(o),"linkOperationOption",void 0),xo(Rn(o),"lineEllipsis",void 0);var f;o.escapeHTML=(f=(i=n)===null||i===void 0?void 0:i.escapeHTML)!==null&&f!==void 0?f:!0;var s;o.caption=(s=(u=n)===null||u===void 0?void 0:u.caption)!==null&&s!==void 0?s:Tn.controlName;var p;o.lineEllipsis=(p=(c=n)===null||c===void 0?void 0:c.lineEllipsis)!==null&&p!==void 0?p:1;var _;return o.showLinkOperation=(_=(l=n)===null||l===void 0?void 0:l.showLinkOperation)!==null&&_!==void 0?_:!1,o.linkOperationOption=new er((a=n)===null||a===void 0?void 0:a.linkOperationOption),o}return r}(ie);xo(bb,"Rules",iQ);function yE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cQ(e,t,r){return t&&dE(e.prototype,t),r&&dE(e,r),e}function Sn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?sf=Reflect.get:sf=function(o,i,u){var c=fQ(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},sf(e,t,r||e)}function En(e){return En=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},En(e)}function lQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gb(e,t)}function aQ(e,t){return t&&(sQ(t)==="object"||typeof t=="function")?t:yE(e)}function gb(e,t){return gb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gb(e,t)}function fQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=En(e),e!==null););return e}function sQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _Q(e){var t=pQ();return function(){var n=En(e),o;if(t){var i=En(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aQ(this,o)}}var Tn=function(e){lQ(r,e);var t=_Q(r);function r(n){uQ(this,r);var o,i;return o=t.call(this,n),Sn(yE(o),"props",void 0),o.props=new bb((i=n)===null||i===void 0?void 0:i.props),o}return cQ(r,[{key:"toDataBindModel",value:function(o){var i=sf(En(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.escapeHTML;i.props.escapeHTML=u}return i}}]),r}(be);Sn(Tn,"controlType","text-column"),Sn(Tn,"controlName","\u957F\u6587\u672C"),Sn(Tn,"controlIcon","text-column"),Sn(Tn,"controlFieldType",S.TEXT),Sn(Tn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-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}]);function vE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pf(e){return pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pf(e)}function dQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ob(e,t)}function vQ(e,t){return t&&(hQ(t)==="object"||typeof t=="function")?t:vE(e)}function Ob(e,t){return Ob=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ob(e,t)}function hQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gQ(e){var t=bQ();return function(){var n=pf(e),o;if(t){var i=pf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vQ(this,o)}}var hE=function(e){dQ(r,e);var t=gQ(r);function r(n){yQ(this,r);var o,i;return o=t.call(this,n),mb(vE(o),"props",void 0),o.props=new bb((i=n)===null||i===void 0?void 0:i.props),o}return r}(ge);mb(hE,"controlType","text-column"),mb(hE,"controlFieldType",S.TEXT);function kt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _f(e){return _f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_f(e)}function gE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wb(e,t)}function mQ(e,t){return t&&(OQ(t)==="object"||typeof t=="function")?t:kt(e)}function wb(e,t){return wb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wb(e,t)}function OQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mE(e){var t=wQ();return function(){var n=_f(e),o;if(t){var i=_f(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mQ(this,o)}}var $Q=function(e){gE(r,e);var t=mE(r);function r(n){bE(this,r);var o;return o=t.call(this,n),Tr.call(kt(o),n),o}return r}(jt),$b=function(e){gE(r,e);var t=mE(r);function r(n){bE(this,r);var o,i,u,c,l,a,f,s,p,_;o=t.call(this,n),Jt(kt(o),"optionConfig",void 0),Jt(kt(o),"datasourceBind",void 0),Jt(kt(o),"showLinkOperation",void 0),Jt(kt(o),"linkOperationOption",void 0),Jt(kt(o),"options",void 0),Jt(kt(o),"precision",void 0),Jt(kt(o),"micrometer",void 0),Jt(kt(o),"percentageFormat",void 0);var h;o.caption=(h=(i=n)===null||i===void 0?void 0:i.caption)!==null&&h!==void 0?h:An.controlName;var d;o.precision=(d=(u=n)===null||u===void 0?void 0:u.precision)!==null&&d!==void 0?d:0;var b;o.micrometer=(b=(c=n)===null||c===void 0?void 0:c.micrometer)!==null&&b!==void 0?b:!1;var y;o.percentageFormat=(y=(l=n)===null||l===void 0?void 0:l.percentageFormat)!==null&&y!==void 0?y:!1;var g;o.optionConfig=(g=(a=n)===null||a===void 0?void 0:a.optionConfig)!==null&&g!==void 0?g:"none",o.datasourceBind=new se((f=n)===null||f===void 0?void 0:f.datasourceBind);var O;o.options=Nt((O=(s=n)===null||s===void 0?void 0:s.options)!==null&&O!==void 0?O:[{}]);var w;return o.showLinkOperation=(w=(p=n)===null||p===void 0?void 0:p.showLinkOperation)!==null&&w!==void 0?w:!1,o.linkOperationOption=new er((_=n)===null||_===void 0?void 0:_.linkOperationOption),o}return r}(ie);Jt($b,"Rules",$Q);function OE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function RQ(e,t,r){return t&&wE(e.prototype,t),r&&wE(e,r),e}function In(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?yf=Reflect.get:yf=function(o,i,u){var c=TQ(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},yf(e,t,r||e)}function Bn(e){return Bn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bn(e)}function SQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pb(e,t)}function EQ(e,t){return t&&(IQ(t)==="object"||typeof t=="function")?t:OE(e)}function Pb(e,t){return Pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pb(e,t)}function TQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Bn(e),e!==null););return e}function IQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AQ(e){var t=BQ();return function(){var n=Bn(e),o;if(t){var i=Bn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return EQ(this,o)}}var An=function(e){SQ(r,e);var t=AQ(r);function r(n){PQ(this,r);var o,i;return o=t.call(this,n),In(OE(o),"props",void 0),o.props=new $b((i=n)===null||i===void 0?void 0:i.props),o}return RQ(r,[{key:"toDataBindModel",value:function(o){var i=yf(Bn(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props,c=u.precision,l=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=l}return i}}]),r}(be);In(An,"controlType","decimal-column"),In(An,"controlName","\u6570\u503C"),In(An,"controlIcon","decimal-column"),In(An,"controlFieldType",S.DECIMAL),In(An,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"number-suite",showItems:[v.MICROMETER,v.PRECISION,v.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0}]);function $E(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function df(e){return df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},df(e)}function kQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sb(e,t)}function DQ(e,t){return t&&(NQ(t)==="object"||typeof t=="function")?t:$E(e)}function Sb(e,t){return Sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sb(e,t)}function NQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jQ(e){var t=FQ();return function(){var n=df(e),o;if(t){var i=df(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DQ(this,o)}}var PE=function(e){kQ(r,e);var t=jQ(r);function r(n){xQ(this,r);var o,i;return o=t.call(this,n),Rb($E(o),"props",void 0),o.props=new $b((i=n)===null||i===void 0?void 0:i.props),o}return r}(ge);Rb(PE,"controlType","decimal-column"),Rb(PE,"controlFieldType",S.DECIMAL);function ko(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hf(e){return hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hf(e)}function 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&&Eb(e,t)}function MQ(e,t){return t&&(LQ(t)==="object"||typeof t=="function")?t:ko(e)}function Eb(e,t){return Eb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eb(e,t)}function LQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EE(e){var t=VQ();return function(){var n=hf(e),o;if(t){var i=hf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return MQ(this,o)}}var CQ=function(e){SE(r,e);var t=EE(r);function r(n){RE(this,r);var o;return o=t.call(this,n),Tr.call(ko(o),n),o}return r}(jt),Tb=function(e){SE(r,e);var t=EE(r);function r(n){RE(this,r);var o,i,u,c,l;o=t.call(this,n),vf(ko(o),"dateType",void 0),vf(ko(o),"showLinkOperation",void 0),vf(ko(o),"linkOperationOption",void 0);var a;o.dateType=(a=(i=n)===null||i===void 0?void 0:i.dateType)!==null&&a!==void 0?a:Zt.DATE;var f;o.showLinkOperation=(f=(u=n)===null||u===void 0?void 0:u.showLinkOperation)!==null&&f!==void 0?f:!1,o.linkOperationOption=new er((c=n)===null||c===void 0?void 0:c.linkOperationOption);var s;return o.caption=(s=(l=n)===null||l===void 0?void 0:l.caption)!==null&&s!==void 0?s:Dn.controlName,o}return r}(ie);vf(Tb,"Rules",CQ);function TE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function HQ(e,t,r){return t&&IE(e.prototype,t),r&&IE(e,r),e}function xn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?bf=Reflect.get:bf=function(o,i,u){var c=WQ(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},bf(e,t,r||e)}function kn(e){return kn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kn(e)}function qQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ib(e,t)}function UQ(e,t){return t&&(KQ(t)==="object"||typeof t=="function")?t:TE(e)}function Ib(e,t){return Ib=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ib(e,t)}function WQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=kn(e),e!==null););return e}function KQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XQ(e){var t=GQ();return function(){var n=kn(e),o;if(t){var i=kn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return UQ(this,o)}}var Dn=function(e){qQ(r,e);var t=XQ(r);function r(n){zQ(this,r);var o,i;return o=t.call(this,n),xn(TE(o),"props",void 0),o.props=new Tb((i=n)===null||i===void 0?void 0:i.props),o}return HQ(r,[{key:"toDataBindModel",value:function(o){var i=bf(kn(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(be);xn(Dn,"controlType","timescope-column"),xn(Dn,"controlName","\u65E5\u671F\u533A\u95F4"),xn(Dn,"controlIcon","timescope-column"),xn(Dn,"controlFieldType",S.TIMESCOPE),xn(Dn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-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 BE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gf(e){return gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gf(e)}function QQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ab(e,t)}function ZQ(e,t){return t&&(YQ(t)==="object"||typeof t=="function")?t:BE(e)}function Ab(e,t){return Ab=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ab(e,t)}function YQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tZ(e){var t=eZ();return function(){var n=gf(e),o;if(t){var i=gf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZQ(this,o)}}var AE=function(e){QQ(r,e);var t=tZ(r);function r(n){JQ(this,r);var o,i;return o=t.call(this,n),Bb(BE(o),"props",void 0),o.props=new Tb((i=n)===null||i===void 0?void 0:i.props),o}return r}(ge);Bb(AE,"controlType","timescope-column"),Bb(AE,"controlFieldType",S.TIMESCOPE);function Do(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Of(e){return Of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Of(e)}function 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&&xb(e,t)}function rZ(e,t){return t&&(nZ(t)==="object"||typeof t=="function")?t:Do(e)}function xb(e,t){return xb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xb(e,t)}function nZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DE(e){var t=oZ();return function(){var n=Of(e),o;if(t){var i=Of(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rZ(this,o)}}var iZ=function(e){kE(r,e);var t=DE(r);function r(n){xE(this,r);var o;return o=t.call(this,n),Tr.call(Do(o),n),o}return r}(jt),kb=function(e){kE(r,e);var t=DE(r);function r(n){xE(this,r);var o,i,u,c,l;o=t.call(this,n),mf(Do(o),"dateType",void 0),mf(Do(o),"showLinkOperation",void 0),mf(Do(o),"linkOperationOption",void 0);var a;o.dateType=(a=(i=n)===null||i===void 0?void 0:i.dateType)!==null&&a!==void 0?a:Zt.DATE;var f;o.showLinkOperation=(f=(u=n)===null||u===void 0?void 0:u.showLinkOperation)!==null&&f!==void 0?f:!1,o.linkOperationOption=new er((c=n)===null||c===void 0?void 0:c.linkOperationOption);var s;return o.caption=(s=(l=n)===null||l===void 0?void 0:l.caption)!==null&&s!==void 0?s:jn.controlName,o}return r}(ie);mf(kb,"Rules",iZ);function NE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cZ(e,t,r){return t&&FE(e.prototype,t),r&&FE(e,r),e}function Nn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?wf=Reflect.get:wf=function(o,i,u){var c=fZ(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},wf(e,t,r||e)}function Fn(e){return Fn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fn(e)}function lZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Db(e,t)}function aZ(e,t){return t&&(sZ(t)==="object"||typeof t=="function")?t:NE(e)}function Db(e,t){return Db=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Db(e,t)}function fZ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Fn(e),e!==null););return e}function sZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _Z(e){var t=pZ();return function(){var n=Fn(e),o;if(t){var i=Fn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aZ(this,o)}}var jn=function(e){lZ(r,e);var t=_Z(r);function r(n){uZ(this,r);var o,i;return o=t.call(this,n),Nn(NE(o),"props",void 0),o.props=new kb((i=n)===null||i===void 0?void 0:i.props),o}return cZ(r,[{key:"toDataBindModel",value:function(o){var i=wf(Fn(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(be);Nn(jn,"controlType","timestamp-column"),Nn(jn,"controlName","\u65E5\u671F"),Nn(jn,"controlIcon","timestamp-column"),Nn(jn,"controlFieldType",S.TIMESTAMP),Nn(jn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-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 jE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $f(e){return $f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$f(e)}function dZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fb(e,t)}function vZ(e,t){return t&&(hZ(t)==="object"||typeof t=="function")?t:jE(e)}function Fb(e,t){return Fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fb(e,t)}function hZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gZ(e){var t=bZ();return function(){var n=$f(e),o;if(t){var i=$f(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vZ(this,o)}}var ME=function(e){dZ(r,e);var t=gZ(r);function r(n){yZ(this,r);var o,i;return o=t.call(this,n),Nb(jE(o),"props",void 0),o.props=new kb((i=n)===null||i===void 0?void 0:i.props),o}return r}(ge);Nb(ME,"controlType","timestamp-column"),Nb(ME,"controlFieldType",S.TIMESTAMP);function Pf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sf(e){return Sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sf(e)}function VE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jb(e,t)}function mZ(e,t){return t&&(OZ(t)==="object"||typeof t=="function")?t:Pf(e)}function jb(e,t){return jb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jb(e,t)}function OZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CE(e){var t=wZ();return function(){var n=Sf(e),o;if(t){var i=Sf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mZ(this,o)}}var $Z=function(e){VE(r,e);var t=CE(r);function r(n){return LE(this,r),t.call(this,n)}return r}(fm),Mb=function(e){VE(r,e);var t=CE(r);function r(n){LE(this,r);var o,i,u,c,l;o=t.call(this,n),Rf(Pf(o),"optionConfig",void 0),Rf(Pf(o),"datasourceBind",void 0),Rf(Pf(o),"options",void 0);var a;o.caption=(a=(i=n)===null||i===void 0?void 0:i.caption)!==null&&a!==void 0?a:Ln.controlName;var f;o.optionConfig=(f=(u=n)===null||u===void 0?void 0:u.optionConfig)!==null&&f!==void 0?f:"none",o.datasourceBind=new se((c=n)===null||c===void 0?void 0:c.datasourceBind);var s;return o.options=Nt((s=(l=n)===null||l===void 0?void 0:l.options)!==null&&s!==void 0?s:[{}]),o}return r}(ie);Rf(Mb,"Rules",$Z);function zE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ef(e){return Ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ef(e)}function RZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lb(e,t)}function SZ(e,t){return t&&(EZ(t)==="object"||typeof t=="function")?t:zE(e)}function Lb(e,t){return Lb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lb(e,t)}function EZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IZ(e){var t=TZ();return function(){var n=Ef(e),o;if(t){var i=Ef(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SZ(this,o)}}var Ln=function(e){RZ(r,e);var t=IZ(r);function r(n){PZ(this,r);var o,i;return o=t.call(this,n),Mn(zE(o),"props",void 0),o.props=new Mb((i=n)===null||i===void 0?void 0:i.props),o}return r}(be);Mn(Ln,"controlType","array-column"),Mn(Ln,"controlName","\u6570\u7EC4"),Mn(Ln,"controlIcon","array-column"),Mn(Ln,"controlFieldType",S.ARRAY),Mn(Ln,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}]);function HE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tf(e){return Tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tf(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&&Cb(e,t)}function xZ(e,t){return t&&(kZ(t)==="object"||typeof t=="function")?t:HE(e)}function Cb(e,t){return Cb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cb(e,t)}function kZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NZ(e){var t=DZ();return function(){var n=Tf(e),o;if(t){var i=Tf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xZ(this,o)}}var qE=function(e){AZ(r,e);var t=NZ(r);function r(n){BZ(this,r);var o,i;return o=t.call(this,n),Vb(HE(o),"props",void 0),o.props=new Mb((i=n)===null||i===void 0?void 0:i.props),o}return r}(ge);Vb(qE,"controlType","array-column"),Vb(qE,"controlFieldType",S.ARRAY);function UE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jZ(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function If(e){return If=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},If(e)}function MZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zb(e,t)}function LZ(e,t){return t&&(VZ(t)==="object"||typeof t=="function")?t:UE(e)}function zb(e,t){return zb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zb(e,t)}function VZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zZ(e){var t=CZ();return function(){var n=If(e),o;if(t){var i=If(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return LZ(this,o)}}var WE=function(e){MZ(r,e);var t=zZ(r);function r(n){FZ(this,r);var o,i,u;o=t.call(this,n),jZ(UE(o),"displayLevel",void 0);var c;o.caption=(c=(i=n)===null||i===void 0?void 0:i.caption)!==null&&c!==void 0?c:zn.controlName;var l;return o.displayLevel=(l=(u=n)===null||u===void 0?void 0:u.displayLevel)!==null&&l!==void 0?l:1,o}return r}(ie);function KE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qZ(e,t,r){return t&&GE(e.prototype,t),r&&GE(e,r),e}function Vn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Bf=Reflect.get:Bf=function(o,i,u){var c=KZ(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Bf(e,t,r||e)}function Cn(e){return Cn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cn(e)}function UZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hb(e,t)}function WZ(e,t){return t&&(GZ(t)==="object"||typeof t=="function")?t:KE(e)}function Hb(e,t){return Hb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hb(e,t)}function KZ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Cn(e),e!==null););return e}function GZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JZ(e){var t=XZ();return function(){var n=Cn(e),o;if(t){var i=Cn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WZ(this,o)}}var zn=function(e){UZ(r,e);var t=JZ(r);function r(n){HZ(this,r);var o,i;return o=t.call(this,n),Vn(KE(o),"props",void 0),o.props=new WE((i=n)===null||i===void 0?void 0:i.props),o}return qZ(r,[{key:"toDataBindModel",value:function(o){var i=Bf(Cn(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.displayLevel;i.props.displayLevel=u}return i}}]),r}(be);Vn(zn,"controlType","department-column"),Vn(zn,"controlName","\u90E8\u95E8"),Vn(zn,"controlIcon","department-column"),Vn(zn,"controlFieldType",S.DEPARTMENTS),Vn(zn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}]);function XE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Af(e){return Af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Af(e)}function ZZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ub(e,t)}function YZ(e,t){return t&&(eY(t)==="object"||typeof t=="function")?t:XE(e)}function Ub(e,t){return Ub=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ub(e,t)}function eY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rY(e){var t=tY();return function(){var n=Af(e),o;if(t){var i=Af(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YZ(this,o)}}var JE=function(e){ZZ(r,e);var t=rY(r);function r(n){QZ(this,r);var o,i;return o=t.call(this,n),qb(XE(o),"props",void 0),o.props=new WE((i=n)===null||i===void 0?void 0:i.props),o}return r}(ge);qb(JE,"controlType","department-column"),qb(JE,"controlFieldType",S.DEPARTMENTS);function xf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kf(e){return kf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kf(e)}function ZE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kb(e,t)}function nY(e,t){return t&&(oY(t)==="object"||typeof t=="function")?t:xf(e)}function Kb(e,t){return Kb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kb(e,t)}function oY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YE(e){var t=iY();return function(){var n=kf(e),o;if(t){var i=kf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nY(this,o)}}var uY=function(e){ZE(r,e);var t=YE(r);function r(n){QE(this,r);var o;return o=t.call(this,n),Tr.call(xf(o),n),o}return r}(jt),Gb=function(e){ZE(r,e);var t=YE(r);function r(n){QE(this,r);var o,i,u,c;o=t.call(this,n),Wb(xf(o),"showLinkOperation",void 0),Wb(xf(o),"linkOperationOption",void 0);var l;o.caption=(l=(i=n)===null||i===void 0?void 0:i.caption)!==null&&l!==void 0?l:qn.controlName;var a;return o.showLinkOperation=(a=(u=n)===null||u===void 0?void 0:u.showLinkOperation)!==null&&a!==void 0?a:!1,o.linkOperationOption=new er((c=n)===null||c===void 0?void 0:c.linkOperationOption),o}return r}(ie);Wb(Gb,"Rules",uY);function eT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Df(e){return Df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Df(e)}function lY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xb(e,t)}function aY(e,t){return t&&(fY(t)==="object"||typeof t=="function")?t:eT(e)}function Xb(e,t){return Xb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xb(e,t)}function fY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pY(e){var t=sY();return function(){var n=Df(e),o;if(t){var i=Df(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aY(this,o)}}var qn=function(e){lY(r,e);var t=pY(r);function r(n){cY(this,r);var o,i;return o=t.call(this,n),Hn(eT(o),"props",void 0),o.props=new Gb((i=n)===null||i===void 0?void 0:i.props),o}return r}(be);Hn(qn,"controlType","auto-number-column"),Hn(qn,"controlName","\u81EA\u52A8\u7F16\u53F7"),Hn(qn,"controlIcon","auto-number-column"),Hn(qn,"controlFieldType",S.AUTO_NUMBER),Hn(qn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function tT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _Y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nf(e){return Nf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nf(e)}function 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&&Qb(e,t)}function dY(e,t){return t&&(vY(t)==="object"||typeof t=="function")?t:tT(e)}function Qb(e,t){return Qb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qb(e,t)}function vY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bY(e){var t=hY();return function(){var n=Nf(e),o;if(t){var i=Nf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dY(this,o)}}var rT=function(e){yY(r,e);var t=bY(r);function r(n){_Y(this,r);var o,i;return o=t.call(this,n),Jb(tT(o),"props",void 0),o.props=new Gb((i=n)===null||i===void 0?void 0:i.props),o}return r}(ge);Jb(rT,"controlType","auto-number-column"),Jb(rT,"controlFieldType",S.AUTO_NUMBER);function gY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ff(e){return Ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ff(e)}function OY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zb(e,t)}function wY(e,t){return t&&($Y(t)==="object"||typeof t=="function")?t:gY(e)}function Zb(e,t){return Zb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zb(e,t)}function $Y(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RY(e){var t=PY();return function(){var n=Ff(e),o;if(t){var i=Ff(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wY(this,o)}}var nT=function(e){OY(r,e);var t=RY(r);function r(n){mY(this,r);var o,i;o=t.call(this,n);var u;return o.caption=(u=(i=n)===null||i===void 0?void 0:i.caption)!==null&&u!==void 0?u:Wn.controlName,o}return r}(ie);function oT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Un(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jf(e){return jf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jf(e)}function EY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yb(e,t)}function TY(e,t){return t&&(IY(t)==="object"||typeof t=="function")?t:oT(e)}function Yb(e,t){return Yb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yb(e,t)}function IY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AY(e){var t=BY();return function(){var n=jf(e),o;if(t){var i=jf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TY(this,o)}}var Wn=function(e){EY(r,e);var t=AY(r);function r(n){SY(this,r);var o,i;return o=t.call(this,n),Un(oT(o),"props",void 0),o.props=new nT((i=n)===null||i===void 0?void 0:i.props),o}return r}(be);Un(Wn,"controlType","file-column"),Un(Wn,"controlName","\u9644\u4EF6"),Un(Wn,"controlIcon","file-column"),Un(Wn,"controlFieldType",S.FILE),Un(Wn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function iT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function e0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mf(e){return Mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mf(e)}function kY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&t0(e,t)}function DY(e,t){return t&&(NY(t)==="object"||typeof t=="function")?t:iT(e)}function t0(e,t){return t0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},t0(e,t)}function NY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jY(e){var t=FY();return function(){var n=Mf(e),o;if(t){var i=Mf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DY(this,o)}}var uT=function(e){kY(r,e);var t=jY(r);function r(n){xY(this,r);var o,i;return o=t.call(this,n),e0(iT(o),"props",void 0),o.props=new nT((i=n)===null||i===void 0?void 0:i.props),o}return r}(ge);e0(uT,"controlType","file-column"),e0(uT,"controlFieldType",S.FILE);function MY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lf(e){return Lf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lf(e)}function VY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r0(e,t)}function CY(e,t){return t&&(zY(t)==="object"||typeof t=="function")?t:MY(e)}function r0(e,t){return r0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},r0(e,t)}function zY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qY(e){var t=HY();return function(){var n=Lf(e),o;if(t){var i=Lf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return CY(this,o)}}var cT=function(e){VY(r,e);var t=qY(r);function r(n){LY(this,r);var o,i;o=t.call(this,n);var u;return o.caption=(u=(i=n)===null||i===void 0?void 0:i.caption)!==null&&u!==void 0?u:Gn.controlName,o}return r}(ie);function lT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vf(e){return Vf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vf(e)}function WY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n0(e,t)}function KY(e,t){return t&&(GY(t)==="object"||typeof t=="function")?t:lT(e)}function n0(e,t){return n0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},n0(e,t)}function GY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JY(e){var t=XY();return function(){var n=Vf(e),o;if(t){var i=Vf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KY(this,o)}}var Gn=function(e){WY(r,e);var t=JY(r);function r(n){UY(this,r);var o,i;return o=t.call(this,n),Kn(lT(o),"props",void 0),o.props=new cT((i=n)===null||i===void 0?void 0:i.props),o}return r}(be);Kn(Gn,"controlType","image-column"),Kn(Gn,"controlName","\u56FE\u7247"),Kn(Gn,"controlIcon","image-column"),Kn(Gn,"controlFieldType",S.IMAGE),Kn(Gn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function aT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cf(e){return Cf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cf(e)}function ZY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i0(e,t)}function YY(e,t){return t&&(eee(t)==="object"||typeof t=="function")?t:aT(e)}function i0(e,t){return i0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},i0(e,t)}function eee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ree(e){var t=tee();return function(){var n=Cf(e),o;if(t){var i=Cf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YY(this,o)}}var fT=function(e){ZY(r,e);var t=ree(r);function r(n){QY(this,r);var o,i;return o=t.call(this,n),o0(aT(o),"props",void 0),o.props=new cT((i=n)===null||i===void 0?void 0:i.props),o}return r}(ge);o0(fT,"controlType","image-column"),o0(fT,"controlFieldType",S.IMAGE);function nee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zf(e){return zf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zf(e)}function iee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u0(e,t)}function uee(e,t){return t&&(cee(t)==="object"||typeof t=="function")?t:nee(e)}function u0(e,t){return u0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},u0(e,t)}function cee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aee(e){var t=lee();return function(){var n=zf(e),o;if(t){var i=zf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uee(this,o)}}var sT=function(e){iee(r,e);var t=aee(r);function r(n){oee(this,r);var o,i;o=t.call(this,n);var u;return o.caption=(u=(i=n)===null||i===void 0?void 0:i.caption)!==null&&u!==void 0?u:Jn.controlName,o}return r}(ie);function pT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hf(e){return Hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hf(e)}function see(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c0(e,t)}function pee(e,t){return t&&(_ee(t)==="object"||typeof t=="function")?t:pT(e)}function c0(e,t){return c0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},c0(e,t)}function _ee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dee(e){var t=yee();return function(){var n=Hf(e),o;if(t){var i=Hf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pee(this,o)}}var Jn=function(e){see(r,e);var t=dee(r);function r(n){fee(this,r);var o,i;return o=t.call(this,n),Xn(pT(o),"props",void 0),o.props=new sT((i=n)===null||i===void 0?void 0:i.props),o}return r}(be);Xn(Jn,"controlType","people-column"),Xn(Jn,"controlName","\u4EBA\u5458"),Xn(Jn,"controlIcon","people-column"),Xn(Jn,"controlFieldType",S.EMPLOYEES),Xn(Jn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function _T(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qf(e){return qf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qf(e)}function hee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a0(e,t)}function bee(e,t){return t&&(gee(t)==="object"||typeof t=="function")?t:_T(e)}function a0(e,t){return a0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},a0(e,t)}function gee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Oee(e){var t=mee();return function(){var n=qf(e),o;if(t){var i=qf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bee(this,o)}}var yT=function(e){hee(r,e);var t=Oee(r);function r(n){vee(this,r);var o,i;return o=t.call(this,n),l0(_T(o),"props",void 0),o.props=new sT((i=n)===null||i===void 0?void 0:i.props),o}return r}(ge);l0(yT,"controlType","people-column"),l0(yT,"controlFieldType",S.EMPLOYEES);function Uf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wf(e){return Wf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wf(e)}function 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&&s0(e,t)}function wee(e,t){return t&&($ee(t)==="object"||typeof t=="function")?t:Uf(e)}function s0(e,t){return s0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},s0(e,t)}function $ee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hT(e){var t=Pee();return function(){var n=Wf(e),o;if(t){var i=Wf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wee(this,o)}}var Ree=function(e){vT(r,e);var t=hT(r);function r(n){dT(this,r);var o;return o=t.call(this,n),Tr.call(Uf(o),n),o}return r}(jt),p0=function(e){vT(r,e);var t=hT(r);function r(n){dT(this,r);var o,i,u,c;o=t.call(this,n),f0(Uf(o),"showLinkOperation",void 0),f0(Uf(o),"linkOperationOption",void 0);var l;o.caption=(l=(i=n)===null||i===void 0?void 0:i.caption)!==null&&l!==void 0?l:Zn.controlName;var a;return o.showLinkOperation=(a=(u=n)===null||u===void 0?void 0:u.showLinkOperation)!==null&&a!==void 0?a:!1,o.linkOperationOption=new er((c=n)===null||c===void 0?void 0:c.linkOperationOption),o}return r}(ie);f0(p0,"Rules",Ree);function bT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function See(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kf(e){return Kf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kf(e)}function Eee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_0(e,t)}function Tee(e,t){return t&&(Iee(t)==="object"||typeof t=="function")?t:bT(e)}function _0(e,t){return _0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_0(e,t)}function Iee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Aee(e){var t=Bee();return function(){var n=Kf(e),o;if(t){var i=Kf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Tee(this,o)}}var Zn=function(e){Eee(r,e);var t=Aee(r);function r(n){See(this,r);var o,i;return o=t.call(this,n),Qn(bT(o),"props",void 0),o.props=new p0((i=n)===null||i===void 0?void 0:i.props),o}return r}(be);Qn(Zn,"controlType","location-column"),Qn(Zn,"controlName","\u5730\u5740"),Qn(Zn,"controlIcon","location-column"),Qn(Zn,"controlFieldType",S.ADDRESS),Qn(Zn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function gT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gf(e){return Gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gf(e)}function kee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d0(e,t)}function Dee(e,t){return t&&(Nee(t)==="object"||typeof t=="function")?t:gT(e)}function d0(e,t){return d0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},d0(e,t)}function Nee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jee(e){var t=Fee();return function(){var n=Gf(e),o;if(t){var i=Gf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Dee(this,o)}}var mT=function(e){kee(r,e);var t=jee(r);function r(n){xee(this,r);var o,i;return o=t.call(this,n),y0(gT(o),"props",void 0),o.props=new p0((i=n)===null||i===void 0?void 0:i.props),o}return r}(ge);y0(mT,"controlType","location-column"),y0(mT,"controlFieldType",S.ADDRESS);function v0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xf(e){return Xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xf(e)}function Lee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h0(e,t)}function Vee(e,t){return t&&(Cee(t)==="object"||typeof t=="function")?t:v0(e)}function h0(e,t){return h0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},h0(e,t)}function Cee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hee(e){var t=zee();return function(){var n=Xf(e),o;if(t){var i=Xf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vee(this,o)}}var wT=function(e){Lee(r,e);var t=Hee(r);function r(n){Mee(this,r);var o,i,u,c;o=t.call(this,n),OT(v0(o),"fieldCodeList",void 0),OT(v0(o),"sortFieldCode",void 0);var l;o.caption=(l=(i=n)===null||i===void 0?void 0:i.caption)!==null&&l!==void 0?l:Mr.controlName;var a;o.fieldCodeList=(a=(u=n)===null||u===void 0?void 0:u.fieldCodeList)!==null&&a!==void 0?a:[];var f;return o.sortFieldCode=(f=(c=n)===null||c===void 0?void 0:c.sortFieldCode)!==null&&f!==void 0?f:"",o}return r}(ie);function Yn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $T(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Uee(e,t,r){return t&&$T(e.prototype,t),r&&$T(e,r),e}function bt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function No(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?No=Reflect.get:No=function(o,i,u){var c=Zee(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},No(e,t,r||e)}function jr(e){return jr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jr(e)}function Wee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b0(e,t)}function Kee(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Gee(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){bt(e,o,r[o])})}return e}function Xee(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Jee(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Xee(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Qee(e,t){return t&&(Yee(t)==="object"||typeof t=="function")?t:Yn(e)}function b0(e,t){return b0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},b0(e,t)}function Zee(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=jr(e),e!==null););return e}function Yee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ete(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tte(e){var t=ete();return function(){var n=jr(e),o;if(t){var i=jr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Qee(this,o)}}var rte=1,Mr=function(t){Wee(n,t);var r=tte(n);function n(o){qee(this,n);var i,u,c;i=r.call(this,o),bt(Yn(i),"excludes",void 0),bt(Yn(i),"childrenMaxLength",void 0),bt(Yn(i),"props",void 0),bt(Yn(i),"children",void 0);var l=Kee(this,n)?this.constructor:void 0,a=l.excludes,f=l.childrenMaxLength;return i.props=new wT((u=o)===null||u===void 0?void 0:u.props),Ft(Yn(i),"children",(c=o)===null||c===void 0?void 0:c.children),i.excludes=Yt(a),i.childrenMaxLength=f,i}return Uee(n,[{key:"judgeJoinChildren",value:function(i){var u=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i);return u&&this.childrenMaxLength>this.children.length}},{key:"toDataBindModel",value:function(i){var u=No(jr(n.prototype),"toDataBindModel",this).call(this,i);if(u){var c=this.props.fieldCodeList;u.props.fieldCodeList=c}return u}},{key:"toSchema",value:function(){var i=No(jr(n.prototype),"toSchema",this).call(this);return Jee(Gee({},i),{children:this.children.map(function(u){return u.toSchema()})})}}]),n}(be);bt(Mr,"controlType","custom-column"),bt(Mr,"controlName","\u81EA\u5B9A\u4E49"),bt(Mr,"controlIcon","custom-column"),bt(Mr,"excludes",[]),bt(Mr,"childrenMaxLength",rte),bt(Mr,"setting",[{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0}]);function Jf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qf(e){return Qf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qf(e)}function ote(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m0(e,t)}function ite(e,t){return t&&(ute(t)==="object"||typeof t=="function")?t:Jf(e)}function m0(e,t){return m0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},m0(e,t)}function ute(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lte(e){var t=cte();return function(){var n=Qf(e),o;if(t){var i=Qf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ite(this,o)}}var ate=function(e){ote(r,e);var t=lte(r);function r(n){nte(this,r);var o,i,u;return o=t.call(this,n),g0(Jf(o),"props",void 0),g0(Jf(o),"children",void 0),o.props=new wT((i=n)===null||i===void 0?void 0:i.props),Ft(Jf(o),"children",(u=n)===null||u===void 0?void 0:u.children),o}return r}(ge);g0(ate,"controlType","custom-column");function PT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ste(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zf(e){return Zf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zf(e)}function pte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&O0(e,t)}function _te(e,t){return t&&(yte(t)==="object"||typeof t=="function")?t:PT(e)}function O0(e,t){return O0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},O0(e,t)}function yte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vte(e){var t=dte();return function(){var n=Zf(e),o;if(t){var i=Zf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _te(this,o)}}var RT=function(e){pte(r,e);var t=vte(r);function r(n){fte(this,r);var o,i,u;o=t.call(this,n),ste(PT(o),"datasourceBind",void 0);var c;o.caption=(c=(i=n)===null||i===void 0?void 0:i.caption)!==null&&c!==void 0?c:Lr.controlName;var l;return o.datasourceBind=new Co((l=(u=n)===null||u===void 0?void 0:u.datasourceBind)!==null&&l!==void 0?l:{attributes:Lr.controlCustomAttributes}),o}return r}(ie);function ST(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ET(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bte(e,t,r){return t&&ET(e.prototype,t),r&&ET(e,r),e}function eo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yf(e){return Yf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yf(e)}function gte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w0(e,t)}function mte(e,t){return t&&(Ote(t)==="object"||typeof t=="function")?t:ST(e)}function w0(e,t){return w0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},w0(e,t)}function Ote(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $te(e){var t=wte();return function(){var n=Yf(e),o;if(t){var i=Yf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mte(this,o)}}var Lr=function(e){gte(r,e);var t=$te(r);function r(n){hte(this,r);var o,i;return o=t.call(this,n),eo(ST(o),"props",void 0),o.props=new RT((i=n)===null||i===void 0?void 0:i.props),o}return bte(r,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(be);eo(Lr,"controlType","employee-column"),eo(Lr,"controlName","\u4EBA\u5458"),eo(Lr,"controlIcon","employee-column"),eo(Lr,"controlFieldType",S.EMPLOYEES),eo(Lr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function TT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function es(e){return es=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},es(e)}function Rte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&P0(e,t)}function Ste(e,t){return t&&(Ete(t)==="object"||typeof t=="function")?t:TT(e)}function P0(e,t){return P0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},P0(e,t)}function Ete(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ite(e){var t=Tte();return function(){var n=es(e),o;if(t){var i=es(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ste(this,o)}}var IT=function(e){Rte(r,e);var t=Ite(r);function r(n){Pte(this,r);var o,i;return o=t.call(this,n),$0(TT(o),"props",void 0),o.props=new RT((i=n)===null||i===void 0?void 0:i.props),o}return r}(ge);$0(IT,"controlType","employee-column"),$0(IT,"controlFieldType",S.EMPLOYEES);function ts(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rs(e){return rs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rs(e)}function Ate(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&S0(e,t)}function xte(e,t){return t&&(kte(t)==="object"||typeof t=="function")?t:ts(e)}function S0(e,t){return S0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},S0(e,t)}function kte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Dte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nte(e){var t=Dte();return function(){var n=rs(e),o;if(t){var i=rs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xte(this,o)}}var BT=function(e){Ate(r,e);var t=Nte(r);function r(n){Bte(this,r);var o,i,u,c,l;o=t.call(this,n),R0(ts(o),"lineEllipsis",void 0),R0(ts(o),"showLinkOperation",void 0),R0(ts(o),"linkOperationOption",void 0);var a;o.caption=(a=(i=n)===null||i===void 0?void 0:i.caption)!==null&&a!==void 0?a:to.controlName;var f;o.showLinkOperation=(f=(u=n)===null||u===void 0?void 0:u.showLinkOperation)!==null&&f!==void 0?f:!1,o.linkOperationOption=new er((c=n)===null||c===void 0?void 0:c.linkOperationOption);var s;return o.lineEllipsis=(s=(l=n)===null||l===void 0?void 0:l.lineEllipsis)!==null&&s!==void 0?s:1,o}return r}(ie);function E0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ns(e){return ns=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ns(e)}function jte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&T0(e,t)}function Mte(e,t){return t&&(Lte(t)==="object"||typeof t=="function")?t:E0(e)}function T0(e,t){return T0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},T0(e,t)}function Lte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Cte(e){var t=Vte();return function(){var n=ns(e),o;if(t){var i=ns(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Mte(this,o)}}var to=function(e){jte(r,e);var t=Cte(r);function r(n){Fte(this,r);var o,i;return o=t.call(this,n),Vr(E0(o),"props",void 0),Vr(E0(o),"children",void 0),o.props=new BT((i=n)===null||i===void 0?void 0:i.props),o}return r}(be);Vr(to,"controlType","approval-status-column"),Vr(to,"controlName","\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),Vr(to,"controlIcon","approval-status-column"),Vr(to,"excludes",[]),Vr(to,"setting",[{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-line-ellipsis",visible:!0}]);function I0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function B0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function os(e){return os=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},os(e)}function Hte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&A0(e,t)}function qte(e,t){return t&&(Ute(t)==="object"||typeof t=="function")?t:I0(e)}function A0(e,t){return A0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},A0(e,t)}function Ute(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kte(e){var t=Wte();return function(){var n=os(e),o;if(t){var i=os(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qte(this,o)}}var Gte=function(e){Hte(r,e);var t=Kte(r);function r(n){zte(this,r);var o,i;return o=t.call(this,n),B0(I0(o),"props",void 0),B0(I0(o),"children",void 0),o.props=new BT((i=n)===null||i===void 0?void 0:i.props),o}return r}(ge);B0(Gte,"controlType","approval-status-column");function gt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function is(e){return is=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},is(e)}function xT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&x0(e,t)}function Xte(e,t){return t&&(Jte(t)==="object"||typeof t=="function")?t:gt(e)}function x0(e,t){return x0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},x0(e,t)}function Jte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kT(e){var t=Qte();return function(){var n=is(e),o;if(t){var i=is(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xte(this,o)}}var Zte=function(e){xT(r,e);var t=kT(r);function r(n){AT(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(Rr),k0=function(e){xT(r,e);var t=kT(r);function r(n){AT(this,r);var o,i,u,c,l,a,f,s,p,_,h;o=t.call(this,n),mt(gt(o),"search",void 0),mt(gt(o),"cancel",void 0),mt(gt(o),"searchType",void 0),mt(gt(o),"labelPosition",void 0),mt(gt(o),"viewType",void 0),mt(gt(o),"isLoading",void 0),mt(gt(o),"custom",void 0),mt(gt(o),"queryTypeMap",void 0),mt(gt(o),"childMinWidth",void 0),mt(gt(o),"colGap",void 0);var d;o.searchType=(d=(i=n)===null||i===void 0?void 0:i.searchType)!==null&&d!==void 0?d:"model";var b;o.labelPosition=(b=(u=n)===null||u===void 0?void 0:u.labelPosition)!==null&&b!==void 0?b:"top";var y;o.viewType=(y=(c=n)===null||c===void 0?void 0:c.viewType)!==null&&y!==void 0?y:"mini";var g;o.search=new tr((g=(l=n)===null||l===void 0?void 0:l.search)!==null&&g!==void 0?g:{content:"\u67E5\u8BE2",isShow:!0});var O;o.cancel=new tr((O=(a=n)===null||a===void 0?void 0:a.cancel)!==null&&O!==void 0?O:{content:"\u91CD\u7F6E",isShow:!0});var w;o.isLoading=(w=(f=n)===null||f===void 0?void 0:f.isLoading)!==null&&w!==void 0?w:!1;var P;o.custom=((P=(s=n)===null||s===void 0?void 0:s.custom)!==null&&P!==void 0?P:[]).map(function(I){return new tr(I)});var E;o.queryTypeMap=(E=(p=n)===null||p===void 0?void 0:p.queryTypeMap)!==null&&E!==void 0?E:[];var T;o.childMinWidth=(T=(_=n)===null||_===void 0?void 0:_.childMinWidth)!==null&&T!==void 0?T:230;var B;return o.colGap=(B=(h=n)===null||h===void 0?void 0:h.colGap)!==null&&B!==void 0?B:24,o}return r}(pp);mt(k0,"RuntimeRules",Zte);function DT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function D0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function us(e){return us=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},us(e)}function ere(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&N0(e,t)}function tre(e,t){return t&&(rre(t)==="object"||typeof t=="function")?t:DT(e)}function N0(e,t){return N0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},N0(e,t)}function rre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ore(e){var t=nre();return function(){var n=us(e),o;if(t){var i=us(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tre(this,o)}}var NT=function(e){ere(r,e);var t=ore(r);function r(n){Yte(this,r);var o,i;return o=t.call(this,n),D0(DT(o),"props",void 0),o.props=new k0((i=n)===null||i===void 0?void 0:i.props),o}return r}(qk);D0(NT,"controlType","simple-search"),D0(NT,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0},{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE]},{key:"search-view-type",visible:!0}]);function F0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ire(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function j0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cs(e){return cs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cs(e)}function ure(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&M0(e,t)}function cre(e,t){return t&&(lre(t)==="object"||typeof t=="function")?t:F0(e)}function M0(e,t){return M0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},M0(e,t)}function lre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function are(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fre(e){var t=are();return function(){var n=cs(e),o;if(t){var i=cs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cre(this,o)}}var sre=function(e){ure(r,e);var t=fre(r);function r(n){ire(this,r);var o,i,u;o=t.call(this,n),j0(F0(o),"props",void 0),j0(F0(o),"children",void 0),o.props=new k0((i=n)===null||i===void 0?void 0:i.props);var c;return o.children=(c=(u=n)===null||u===void 0?void 0:u.children)!==null&&c!==void 0?c:[],o}return r}(Qk);j0(sre,"controlType","simple-search");const pre=(e,t)=>{const r=Array.isArray(e),n=r?e:[e];Pre(t==null?void 0:t.events),bre(n),gre(n);const o=hre(n),i=mre(o,t);let u=Kr(xe(i,c=>vre(c,t)));return r?u:u[0]},_re=[m.DIVIDER,m.TEXT,m.TITLE,m.LINK,m.BUTTON,"list-btn-export-list","list-btn-export-record"],yre=["subtable","grid-table"],dre=["simple-search"];function vre(e,t){var o,i,u,c,l,a;let r=e;if(r.controlType||(r.is_layout_control===!0?r.controlType="layout":_re.includes(r.type)?r.controlType="base":r.controlType="form",yre.includes(r.type)&&(r.controlType="list"),dre.includes(r.type)&&(r.controlType="search-view")),delete r.is_layout_control,e.props.lable_position&&(e.props.labelPosition=e.props.lable_position),e.props.select_mode&&(e.props.optionsFormat=e.props.select_mode),e.props.value&&(e.props.defaultValue=e.props.value),Ae((o=e==null?void 0:e.props)==null?void 0:o.caption)&&(r.props.caption=e.props.caption.zh),Ae((i=e==null?void 0:e.props)==null?void 0:i.placeholder)&&(r.props.placeholder=e.props.placeholder.zh),Ae((u=e==null?void 0:e.props)==null?void 0:u.placeholder_end)&&(r.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(r.type="department",e.props.value.length&&(r.props.default_value=e.props.value),r.props.showType=e.props.show_tree?"tree":"default",r.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(r.type="auto-number",r.props.defaultValue=e.props.value),e.type==="file"&&(r.type="attachment",r.props.attachmentAccept=(c=e.attachment_format)==null?void 0:c.split(","),r.props.showType=e.props.show_type==="title"?"default":"table"),e.type==="image"&&(r.props.attachmentAccept=(l=e.attachment_format)==null?void 0:l.split(",")),e.type==="date-pick"&&(r.type="date-picker"),e.type==="rich-text"&&(Ae(e.props.value)?r.props.defaultValue=e.props.value.zh:r.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(Ae(e.props.value)?r.props.content=e.props.value.zh:r.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(r.props.showState="image"),e.type==="user-search"&&(r.type="employee",r.props.defaultValue=e.props.value),e.type==="address"&&(r.props.addressType=e.props.address_type_value),r.type==="subtable"){const f=r.props.entry_type||r.props.entryType;r.props.openType=f==="subpage"?"modal":"default",((a=r.children[0])==null?void 0:a.type)==="subtable-row"&&r.props.headers&&(r.props.headers=r.props.headers.map((s,p)=>{const _=new kW.Designer;_.props.caption=Ae(s.field_name)?s.field_name.zh:s.field_name;const h=_.toSchema();h.id=s.header_id;const d=r.children[0].children[p].children[0];return d&&(h.children=[d]),h}),r.children=[])}if(r.type==="subtable-cell"&&(r.type="subtable-column"),["radio","checkbox","select","select-multiple"].includes(e.type)&&(e.props.options.map(f=>{f.label=Ae(f.text)?f.text.zh:f.text,f.id=f.id||f.opt_id||f.optId||f.data_id}),r=e),e.type==="grid-row"){const f=24/r.children.length;r.children=r.children.map(s=>{const p=new VR.Designer;p.props.span=f;const _=p.toSchema();return _.children.push(s),_})}if(e.type==="grid-layout-row"&&(r.type="row"),e.type==="grid-layout-col"&&(r.type="col"),e.type==="group-panel"&&(r.type="card-group",r.props.collapse=r.props.flod==="no"?"none":r.props.flod),e.type==="tabs-pane"&&(r.type="tab-pane"),e.type==="calc"){const f=r==null?void 0:r.children[0],s=r==null?void 0:r.children[1],p={};f&&(FT(r,t),p.result=f.props.data_bind,r.id=f.id,r.props=f.props,r.props.script_src=f.props.script_src,r.props.script_echo=f.props.script_echo,r.props.precision=f.props.precision,r.props.micrometer=f.props.is_show_money,r.props.showUpperCase=f.props.is_show_chn),s&&(p.unit=s.props.data_bind,r.props.default_value={unit:s.props.value}),r.props.dataBind=p,delete r.children}if(e.type==="amount-currency"){r.type="amount",r.controlType="form";const f=r==null?void 0:r.children[0],s=r==null?void 0:r.children[1],p={},_={};f&&(FT(r,t),r.id=f.id,p.amount=f.props.data_bind,r.props.range_min=Wr(f.props.range_min),r.props.range_max=Wr(f.props.range_max),_.amount=Wr(f.props.value),r.props.required=f.props.required,r.props.is_hide=f.props.is_hide,r.props.default_state=f.props.default_state,r.props.caption=Ae(f.props.caption)?f.props.caption.zh:f.props.caption,r.props.is_hide_caption=f.props.is_hide_caption,r.props.showUpperCase=f.props.is_show_chn),s&&(p.currency=s.props.data_bind,_.currency=s.props.value,r.props.datasourceBind=s.props.datasource_bind,r.props.options=s.props.options.map(h=>({label:h.text,value:h.value}))),r.props.dataBind=p,r.props.defaultValue=_,delete r.children}if(e.type==="date-range"){r.controlType="form";const f=r==null?void 0:r.children[0],s=r==null?void 0:r.children[1];r.props.placeholderStart=Ae(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,r.props.caption=Ae(e.props.caption)?e.props.caption.zh:e.props.caption;const p={};f&&(p.min=f.props.data_bind),s&&(p.max=s.props.data_bind),r.props.dataBind=p,delete r.children}return e.type==="score"&&(r.props.defaultValue=r.props.value*1),["input","textarea"].includes(e.type)&&(r.props.defaultValue=Ae(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(r.props.range_min=Wr(e.props.range_min),r.props.range_max=Wr(e.props.range_max),r.props.defaultValue=Wr(e.props.value)),e.type==="list-page-btn-custom-button"&&(e.type="button"),e.type==="button"&&e.props.button_type==="dashed"&&(r.props.buttonType="default"),Rre(r,t==null?void 0:t.control_events),r}function FT(e,t){if(!t)return;const{displayBoList:r=[],behaviors:n=[]}=t,o=e.id,i=e.children[0].id;r.forEach(u=>{u.id===o&&(u.id=i);const c=u.show_controls.findIndex(a=>a===o),l=u.hide_controls.findIndex(a=>a===o);c>-1&&u.show_controls.splice(c,1,i),l>-1&&u.hide_controls.splice(l,1,i)}),n.forEach(u=>{u.ctrl_id===o&&(u.id=i)})}function hre(e){if(!Array.isArray(e)||!e.find(o=>o.type==="grid"))return e;const n=new nX.Designer().toSchema();return n.children=e,[n]}function bre(e){e.forEach(t=>{t.children&&$re(t.children)})}function gre(e){e.forEach(t=>{var n,o;if(!(t&&t.children))return;const r=t.children;for(let i=0;i<r.length;i++){const u=r[i],c=(o=(n=r[i])==null?void 0:n.children)==null?void 0:o[0];u.type==="grid-row"&&c&&["group-panel","subtable","tab"].includes(c.type)&&r.splice(i,1,c)}})}function mre(e,t){var _,h,d,b,y,g,O,w;if(!(Array.isArray(e)&&e.length===1))return e;const r=e[0];if(r.type!=="list-page")return e;const{props:n,children:o}=r,[i,u,c]=o;Ore(i),c.props.is_fixed_header=(_=n==null?void 0:n.source_config)==null?void 0:_.is_fixed_header,wre(c,u);const l=(d=(h=n==null?void 0:n.source_config)==null?void 0:h.data_code)!=null?d:t==null?void 0:t.dataCode,a=((y=(b=n==null?void 0:n.source_config)==null?void 0:b.svc_code)!=null?y:l)?`${l}_selectMore`:void 0,f=(O=(g=n==null?void 0:n.source_config)==null?void 0:g.orders)!=null?O:[],s=new FG.Designer;s.props.datasourceBind=new se({dataCode:l,svcCode:a,orders:d2(f)}),s.props.isShowSubList=n.is_show_sublist,s.props.triggerType=n.timing_type,s.props.triggerFieldCode=n.ctrl_field_code,(w=n==null?void 0:n.sublist_page)==null||w.sublists.forEach(P=>{P.title=Ae(P.title)?P.title.zh:P.title}),s.props.sublistPage=n.sublist_page;const p=s.toSchema();return p.children.push(i,c),[p]}function Ore(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(t=>{var n,o;const r=Ae(t.placeholder)?t.placeholder.zh:t.placeholder;t.type==="number-range"&&(t.type="search-number-range",t.placeholderStart=r,t.placeholderEnd=r),t.type==="date-pick"&&(t.type="search-date-range",t.placeholderStart=r,t.placeholderEnd=r,t.dateType=(o=(n=t.dateType)==null?void 0:n.replace)==null?void 0:o.call(n,/range$/)),(t.type==="automatic-number"||t.type==="auto-number")&&(t.type="search-input",t.props.defaultValue="")})}function wre(e,t){e.children=t.children.filter(r=>r.type!=="list-page-btn-custom-head"),e.type="grid-table",e.props.sublist_page&&(e.props.sublist_page.form_bind={data_code:e.props.sublist_page.data_code,form_key:e.props.sublist_page.form_key}),Array.isArray(e.props.headers)&&(e.props.headers=e.props.headers.map(r=>{var o,i,u;let n={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:r.field_code,field_name:Ae(r.field_name)?r.field_name.zh:r.field_name}};return n.props.caption=Ae(r.field_name)?r.field_name.zh:r.field_name,n.props.filter_tags=r.is_filter_tags,n.props.fixed=r.fixed,n.props.display_bo_list=r.display_bo_list,n.props.date_type=r.date_type,n.props.optionConfig="none",r.header_width_config&&(n.props.widthType=r.header_width_config==="1"?"auto":"px"),n.props.widthType==="px"&&r.header_width&&(n.props.width=Number(r.header_width)),r.table_header_type==="order"?(n.type="order-column",n.props.fixed=!0):r.table_header_type==="operation"?(n.type="operation-column",n.props.check=(o=r.check)!=null?o:{},n.props.check.openType="window",n.props.delete=(i=r.delete)!=null?i:{},n.props.delete.openType="window",n.props.edit=(u=r.edit)!=null?u:{},n.props.edit.openType="window",n.props.fixed=!0):(n.type=r.field_type+"-column",r.field_type==="auto_number"&&(n.type="auto-number-column"),r.field_type==="relation"&&(n.type="varchar-column")),r.convert_switch&&(n.props.optionConfig=r.convert_type===1?"datasource":"custom"),n.props.optionConfig==="datasource"?n.props.datasource_bind=new se({svcCode:r.svc_code,displayBoList:r.display_bo_list,valueFieldCode:r.field_match,dataCode:r.field_source}):n.props.optionConfig==="custom"&&(n.props.options=r.custom_match_bo_list),n}))}function $re(e){var r;let t=null;for(let n=0;n<e.length;n++){const o=e[n];if(!!o){if(o.children&&((r=o.children[0])==null?void 0:r.type)==="group-panel"){t=o.children[0];continue}t&&(t.children.push(o),e.splice(n,1),n--)}}}function Pre(e){!e||(e.did_mount=e.did_mount.map(t=>t.name),e.will_submit=e.will_submit.map(t=>t.name),e.did_submit=e.did_submit.map(t=>t.name))}function Rre(e,t){var n;if(!t||!e.props.events)return;const r=Object.keys(e.props.events);!r.length||(r.forEach(o=>{!e.props.events[o].length||(t[e.id]||(t[e.id]={}),t[e.id][o]||(t[e.id][o]=[]),t[e.id][o].push(...e.props.events[o].map(i=>i.name)))}),(n=t[e.id])!=null&&n.on_blur&&(t[e.id].on_change||(t[e.id].on_change=[]),t[e.id].on_change.push(...t[e.id].on_blur)))}const Sre=(e,t)=>{const r=Array.isArray(e);let o=Kr(xe(r?e:[e],i=>Ere(i)));return r?o:o[0]};function Ere(e,t){return e.type===m.LIST_VIEW&&e.children.find(n=>n.type===m.GRID_TABLE).props.headers.forEach(n=>{!n.props.data_bind&&n.props.field_code&&(n.props.data_bind=new ft({dataCode:e.props.datasource_bind.data_code,fieldCode:n.props.field_code}))}),e}const Tre=(e,t)=>{const r=Array.isArray(e);let o=Kr(xe(r?e:[e],i=>Ire(i)));return r?o:o[0]};function Ire(e,t){return[m.BUTTON,m.CREATE_FORM_LIST_BUTTON,m.BATCH_SUBMISSION_LIST_BUTTON,m.SUBMISSION_RECORD_LIST_BUTTON,m.IMPORT_RECORD_LIST_BUTTON,m.EXPORT_RECORD_LIST_BUTTON,m.EXPORT_LIST_BUTTON,m.FORM_SELECT_BUTTON,m.LIST_SELECT_BUTTON].includes(e.type)&&(e.props.button_type==="default"&&(e.props.button_type="secondary"),e.props.button_type==="danger"&&(e.props.button_type="secondary",e.props.color="danger"),e.props.icon||(e.props.icon="iconfenlei2")),e.type===m.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===m.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}const Bre=(e,t)=>{const r=Array.isArray(e);let o=Kr(xe(r?e:[e],i=>Are(i)));return r?o:o[0]};function Are(e,t){if(e.props.icon){let r=e.props.icon;switch(r){case"icongeren":r="iconyyzy-renyuan";break;case"iconjine1":r="iconcaiwu";break;case"iconhuibao":r="iconyyzy-tianxie";break;case"iconwenjian":r="iconyyzy-wenjianjia1";break;case"iconyingpin":r="iconyyzy-gongzuo";break;case"iconpiliangtijiaojilu":r="iconyyzy-renwu";break}e.props.icon=r}return e}const xre=(e,t)=>{const r=Array.isArray(e);let o=Kr(xe(r?e:[e],i=>Dre(i)));return r?o:o[0]},kre=[m.ROW,m.TAB,m.SUBTABLE,m.GRID_ROW,m.CARD_GROUP];function Dre(e,t){return e.type===m.TAB_PANE&&(e.children=e.children.map(r=>{if(kre.includes(r.type))return r;const n=new iW.Designer,o=new VR.Designer;n.children.push(o);const i=n.toSchema();return i.children[0].children.push(r),i})),e}const Nre=(e,t)=>{const r=Array.isArray(e);let o=Kr(xe(r?e:[e],i=>Fre(i)));return r?o:o[0]};function Fre(e,t){return e.type===m.GRID_TABLE&&e.props.headers.forEach(r=>{r.type===m.OPERATION_COLUMN&&(r.props.check.priorityProcess=!0)}),e}const jre=(e,t)=>{const r=Array.isArray(e);let o=xe(r?e:[e],i=>Mre(i));return r?o:o[0]};function Mre(e,t){return e.type===m.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}const Lre=(e,t)=>{const r=Array.isArray(e);let o=xe(r?e:[e],i=>Vre(i));return r?o:o[0]};function wr(e,t){e.field_code&&(e.field_type=t)}function Vre(e,t){var n;const r={[m.TITLE]:S.AUTO_NUMBER,[m.ADDRESS]:S.ADDRESS,[m.ATTACHMENT]:S.FILE,[m.AUTO_NUMBER]:S.AUTO_NUMBER,[m.CHECKBOX]:S.ARRAY,[m.DATE_PICKER]:S.TIMESTAMP,[m.DEPARTMENT]:S.DEPARTMENTS,[m.EMPLOYEE]:S.EMPLOYEES,[m.EMPLOYEE2]:S.EMPLOYEES,[m.IMAGE]:S.IMAGE,[m.INPUT]:S.VARCHAR,[m.NUMBER]:S.DECIMAL,[m.RADIO]:S.VARCHAR,[m.RICH_TEXT]:S.TEXT,[m.SCORE]:S.DECIMAL,[m.SELECT]:S.VARCHAR,[m.SELECT_MULTIPLE]:S.ARRAY,[m.SELECT_RELATION]:S.VARCHAR,[m.TEXTAREA]:S.TEXT,[m.TREE]:S.ARRAY,[m.SEARCH_DATE_RANGE]:S.ARRAY,[m.SEARCH_INPUT]:S.VARCHAR,[m.SEARCH_NUMBER_RANGE]:S.ARRAY};return r.hasOwnProperty(e.type)&&wr(e.props.data_bind,r[e.type]),e.type===m.AMOUNT&&(wr(e.props.data_bind.amount,S.DECIMAL),wr(e.props.data_bind.currency,S.VARCHAR)),e.type===m.CALC&&(wr(e.props.data_bind.result,S.DECIMAL),wr(e.props.data_bind.unit,S.VARCHAR)),e.type===m.DATE_RANGE&&(wr(e.props.data_bind.min,S.TIMESTAMP),wr(e.props.data_bind.max,S.TIMESTAMP)),e.type===m.VUE_FORM_ITEM&&wr(e.props.data_bind,(n=e.field_type)!=null?n:S.ANY),e}const Cre=(e,t)=>{const r=Array.isArray(e);let o=xe(r?e:[e],i=>zre(i));return r?o:o[0]};function zre(e,t){return e.type===m.GRID_TABLE&&e.props.headers.forEach(r=>{r.type.endsWith("-column")&&(r.props.fixed?(r.props.fixed="left",r.type===m.OPERATION_COLUMN&&(r.props.fixed="right")):r.props.fixed="none")}),e}const Hre=(e,t)=>{const r=Array.isArray(e);let o=xe(r?e:[e],i=>qre(i));return r?o:o[0]};function qre(e,t){return e.type===m.SIMPLE_SEARCH&&e.children.length&&(e.props.query_type_map||(e.props.query_type_map=[]),e.children.forEach(r=>{var n,o;[S.VARCHAR,S.TEXT,S.AUTO_NUMBER].includes((o=(n=r.props)==null?void 0:n.data_bind)==null?void 0:o.field_type)&&e.props.query_type_map.push({query_type:"LIKE",field_code:r.props.data_bind.field_code})})),e}const Ure=(e,t)=>{const r=Array.isArray(e);let o=xe(r?e:[e],i=>Wre(i));return r?o:o[0]};function Wre(e,t){return[m.SELECT,m.SELECT_RELATION,m.SELECT_MULTIPLE,m.RADIO,m.CHECKBOX,m.TREE,m.DEPARTMENT2,m.EMPLOYEE2,m.DEPARTMENT,m.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===m.SUBTABLE&&e.props.headers.forEach(r=>{[m.SELECT,m.SELECT_RELATION,m.SELECT_MULTIPLE,m.RADIO,m.CHECKBOX,m.TREE,m.DEPARTMENT2,m.EMPLOYEE2,m.DEPARTMENT,m.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}const Kre=(e,t)=>{const r=Array.isArray(e);let o=xe(r?e:[e],i=>Gre(i));return r?o:o[0]};function Gre(e,t){return[m.SELECT,m.SELECT_RELATION,m.SELECT_MULTIPLE,m.RADIO,m.CHECKBOX,m.TREE,m.DEPARTMENT2,m.EMPLOYEE2,m.DEPARTMENT,m.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===m.SUBTABLE&&e.props.headers.forEach(r=>{[m.SELECT,m.SELECT_RELATION,m.SELECT_MULTIPLE,m.RADIO,m.CHECKBOX,m.TREE,m.DEPARTMENT2,m.EMPLOYEE2,m.DEPARTMENT,m.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}const Xre=(e,t)=>{const r=Array.isArray(e);let o=xe(r?e:[e],i=>Jre(i));return r?o:o[0]};function Jre(e,t){return e.type===m.TITLE&&e.props.config.push(Lt.ShowTitle),e.type===m.GRID_TABLE&&e.props.headers.map(r=>{var n,o,i,u,c,l,a,f,s,p,_,h,d,b,y,g,O,w,P,E,T,B;if(r.type===m.OPERATION_COLUMN){if(r.props.width_type==="auto"?r.props.auto_width={min_width:120,max_width:120,flex:1}:r.props.width_type==="px"&&(r.props.auto_width={min_width:r.props.width,max_width:r.props.width,flex:1}),r.props.width_type="auto",r.children=(n=r==null?void 0:r.children)!=null?n:[],delete r.props.custom,((o=r.props)==null?void 0:o.check)!==void 0){const I=new V_.Designer;Object.defineProperty(I,"id",{value:"listPageCheckBtnId"}),I.props.code="view",I.props.icon="iconliulan1",I.props.command="view",I.props.content=(i=r.props)==null?void 0:i.check.content,I.props.priorityProcess=(u=r.props)==null?void 0:u.check.priority_process,I.props.openType=(c=r.props)==null?void 0:c.check.open_type,I.props.formKey=(l=r.props)==null?void 0:l.check.form_key,(a=r.props)!=null&&a.check.is_show&&r.children.push(I.toSchema()),(f=r.props)==null||delete f.check}if(((s=r.props)==null?void 0:s.edit)!==void 0){const I=new V_.Designer;Object.defineProperty(I,"id",{value:"listPageEditBtnId"}),I.props.code="edit",I.props.icon="iconbianji1",I.props.command="edit",I.props.content=(p=r.props)==null?void 0:p.edit.content,I.props.priorityProcess=(_=r.props)==null?void 0:_.edit.priority_process,I.props.openType=(h=r.props)==null?void 0:h.edit.open_type,I.props.formKey=(d=r.props)==null?void 0:d.edit.form_key,(b=r.props)!=null&&b.edit.is_show&&r.children.push(I.toSchema()),(y=r.props)==null||delete y.edit}if(((g=r.props)==null?void 0:g.delete)!==void 0){const I=new V_.Designer;Object.defineProperty(I,"id",{value:"listPageDeleteBtnId"}),I.props.code="delete",I.props.icon="iconlajitong",I.props.command="delete",I.props.content=(O=r.props)==null?void 0:O.delete.content,I.props.priorityProcess=(w=r.props)==null?void 0:w.delete.priority_process,I.props.openType=(P=r.props)==null?void 0:P.delete.open_type,I.props.formKey=(E=r.props)==null?void 0:E.delete.form_key,I.props.needConfirm=!0,I.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",(T=r.props)!=null&&T.delete.is_show&&r.children.push(I.toSchema()),(B=r.props)==null||delete B.delete}}}),[m.SELECT,m.SELECT_RELATION,m.SELECT_MULTIPLE,m.RADIO,m.CHECKBOX,m.TREE,m.DEPARTMENT2,m.EMPLOYEE2,m.DEPARTMENT,m.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===m.SUBTABLE&&e.props.headers.forEach(r=>{[m.SELECT,m.SELECT_RELATION,m.SELECT_MULTIPLE,m.RADIO,m.CHECKBOX,m.TREE,m.DEPARTMENT2,m.EMPLOYEE2,m.DEPARTMENT,m.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}var jT={"v1.0":pre,"v2.0":Sre,"v2.1":Tre,"v2.2":Bre,"v2.3":xre,"v2.4":Nre,"v2.5":jre,"v2.6":Lre,"v2.7":Cre,"v2.8":Hre,"v2.9":Ure,"v2.10":Kre,"v3.0":Xre,"v3.1":()=>{}};const MT=(e,t)=>{const r=LT(e),n=LT(t),o=r.pop(),i=n.pop(),u=zT(r,n);return u!==0?u:o&&i?zT(o.split("."),i.split(".")):o||i?o?-1:1:0},ls=(e,t,r)=>{ene(r);const n=MT(e,t);return HT[r].includes(n)},Qre=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,LT=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(Qre);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},VT=e=>e==="*"||e==="x"||e==="X",CT=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},Zre=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],Yre=(e,t)=>{if(VT(e)||VT(t))return 0;const[r,n]=Zre(CT(e),CT(t));return r>n?1:r<n?-1:0},zT=(e,t)=>{for(let r=0;r<Math.max(e.length,t.length);r++){const n=Yre(e[r]||"0",t[r]||"0");if(n!==0)return n}return 0},HT={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},qT=Object.keys(HT),ene=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(qT.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${qT.join("|")}`)};function L0(e){return e.replace(/^v/,"")}const ro=Object.keys(jT).map(e=>L0(e)).sort(MT),Fo=ro[ro.length-1];class tne{constructor(t,r=Fo){this.schemaVersion=t,this.toVersion=r,ls(r,Fo,">")?uo(`Version Builder: The specified ${r} is an undefined version, and the current latest version is ${Fo}`):(!ro.includes(L0(r))||!ro.includes(L0(t)))&&uo(`Version Builder: Please give me a valid version number, The valid version is: ${ro.join(",")}, But give me a ${t}`)}dataCleaner(t,r){if(ls(this.toVersion,this.schemaVersion,"="))return t;const n=this.callDataCleanerKeys.reduce((o,i,u,c)=>{var s;const l=(s=c[u+1])!=null?s:this.toVersion;Lo(`Version Builder: current version: ${i}, nextVersion: ${l}`);const a=jT[i];let f=o;if(typeof a=="function"){const p=a(o,r);p&&(f=p)}return f},t);return Lo(`Version Builder: Version conversion completed, evolving from ${this.schemaVersion} to ${this.toVersion}`),n}get runDataCleanerKeys(){return ro.filter(t=>ls(t,this.schemaVersion,">=")&&ls(t,this.toVersion,"<"))}get callDataCleanerKeys(){return this.runDataCleanerKeys.map(t=>"v"+t)}get version(){return Fo}static get version(){return Fo}}qr.VersionBuilder=tne,Object.defineProperty(qr,"__esModule",{value:!0})});