@byteluck-fe/model-driven-upgrade 2.8.2-beta.12 → 2.8.2-beta.13

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(ke,Cn){typeof exports=="object"&&typeof module!="undefined"?Cn(exports):typeof define=="function"&&define.amd?define(["exports"],Cn):(ke=typeof globalThis!="undefined"?globalThis:ke||self,Cn(ke.modelDrivenUpgrade={}))})(this,function(ke){"use strict";var Cn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",BR="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",IR="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",AR="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",kR="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",DR="{caption}\u5FC5\u586B",xR="\u8BF7\u8F93\u5165\u6807\u9898",FR="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",jR="\u8BF7\u8F93\u5165\u884C\u6807\u9898",LR="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",MR="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",NR="\u8BF7\u7ED1\u5B9A\u8868\u5355",VR="\u8BF7\u7ED1\u5B9A\u5217\u8868",zR="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",HR="\u8BF7\u8F93\u5165\u663E\u793A\u503C",qR="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",UR="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",CR="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",WR="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",KR="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",GR="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",XR="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",JR="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",QR="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",ZR="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",YR="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",t3="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",e3="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",n3="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",o3="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",r3="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",i3="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",u3="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",c3="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",l3="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",a3="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",f3="\u8BF7\u7ED1\u5B9A\u670D\u52A1",_3="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",y3="\u8BF7\u9009\u62E9\u7701",s3="\u8BF7\u9009\u62E9\u5E02",p3="\u8BF7\u9009\u62E9\u533A",d3="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",v3="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",h3="\u8BF7\u8F93\u5165\u5217\u5BBD",b3="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",g3="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",m3="\u8BF7\u9009\u62E9\u63A7\u4EF6",O3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",w3="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",$3="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",P3="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",E3="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",S3="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",T3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",R3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",B3="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",I3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",A3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",k3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",D3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",x3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",F3="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",j3="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",L3="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",M3="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",N3="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",V3="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",z3="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",H3="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",q3="\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",W3="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",K3="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",G3={isNotNumber:Cn,isNotString:BR,isNotObject:IR,isNotArray:AR,isNotBoolean:kR,runtimeRequired:DR,pleaseEnterCaption:xR,pleaseEnterCaptionTip:FR,pleaseEnterRowCaption:jR,pleaseEnterPlaceholder:LR,pleaseEnterFieldCode:MR,pleaseEnterForm:NR,pleaseEnterList:VR,pleaseEnterProcess:zR,pleaseEnterLabel:HR,pleaseEnterValue:qR,bizKeyNotBindFiled:UR,pleaseSelectOneField:CR,pleaseEnterNumberRange:WR,pleaseEnterAValueGreaterThanMin:KR,pleaseEnterAValueLessThanMax:GR,numberRangeSetError:XR,stringRangeError:JR,attachmentMaxSize:QR,pleaseEnterTotalScoreSetting:ZR,theTotalScoreMustNotBeLessThan1:YR,scoreDefaultValueRange:t3,attachmentLimitError:e3,PleaseReselectTheOptionalQuantity:n3,TheMaximumLengthIsGreaterThanTheMinimumLength:o3,TheMinimumLengthIsGreaterThanTheMaximumLength:r3,PleaseSelectTheCorrectOptionSettings:i3,optionIdIsRepeat:u3,optionIsRequired:c3,pleaseEnterDataCode:l3,pleaseEnterValueFieldCode:a3,pleaseEnterSvcCode:f3,pleaseBindAtLeastOneDisplayValue:_3,pleaseSelectProvince:y3,pleaseSelectCity:s3,pleaseSelectDistrict:p3,limitRowsCannotBeLessThan0:d3,TheNumberOfRowsCannotBeLessThanMinRows:v3,pleaseEnterColumnWidth:h3,pleaseSetTheLogicalRelationshipOfAllRuleConditions:b3,pleaseCompleteAllRulesAndConditions:g3,pleaseSelectControl:m3,pleaseSelectAtLeastOneColumn:O3,pleaseSelectFillBackMode:w3,pleaseSelectDashboard:$3,rootNodeIsRequired:P3,theViewNameCannotBeEmpty:E3,pleaseSelectOcrType:S3,pleaseSelectAtLeastOneFieldToFillIn:T3,pleaseChooseAtLeastOne:R3,pleaseEnterButtonContent:B3,pleaseEnterDataCodeInDataSetting:I3,pleaseEnterValueFieldCodeInDataSetting:A3,pleaseEnterSvcCodeInDataSetting:k3,pleaseBindAtLeastOneDisplayValueInDataSetting:D3,rootNodeIsRequiredInDataSetting:x3,pleaseEnterMaxHeight:F3,pleaseEnter:j3,pleaseEnterWatermark:L3,pleaseEnterFileName:M3,pleaseUploadAtLeastOnePrintTemplate:N3,pleaseAssignBusiness:V3,pleaseAssignExternal:z3,pleaseEnterAliasCode:H3,pleaseSelectDataCode:q3,pleaseSelectSvcCode:U3,pleaseSelectJoinFieldCode:C3,pleaseSelectMainFieldCode:W3,pleaseSelectSortFieldCode:K3},X3="Please enter a number",J3="Please enter a string",Q3="Please enter an object",Z3="Please enter an array",Y3="Please enter a boolean",tB="{caption} Required",eB="Please enter the title",nB="Please enter the bubble prompt",oB="Please enter the row title",rB="Please enter the prompt text",iB="Please bind data items",uB="Please bind the form",cB="Please bind the list",lB="Please bind the process",aB="Please enter the displayed value",fB="Please enter the stored value",_B="The document number is not bound to the data item",yB="Please select at least one display field",sB="Please enter a value greater than or equal to {min} and less than or equal to {max}",pB="Please enter a value greater than or equal to {min}",dB="Please enter a value less than or equal to {max}",vB="The value range is set incorrectly",hB="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",bB="The attachment size must be between 0MB and 1000MB",gB="Please fill in the total score setting",mB="The total score cannot be less than 1",OB="The default value must be between {min} and {max}",wB="The number of attachments uploaded must be between {min} and {max}",$B="Please re-select the optional quantity",PB="The maximum length of the control must be greater than the minimum length",EB="The minimum length of the control must be less than the maximum length",SB="Please select the correct option setting",TB="Option ID cannot be repeated",RB="Please enter at least one option",BB="Please bind the data source",IB="Please bind the stored value",AB="Please bind the service",kB="At least one display value must be bound",DB="Please select a province",xB="Please select a city",FB="Please select a district",jB="The minimum number of lines to fill in cannot be less than 0",LB="The number of rows cannot be less than {min} rows",MB="Please enter the column width",NB="Please set the logical relationship of all rule conditions",VB="Please complete all rules and conditions",zB="please select control",HB="Please select the dashboard",qB="View name cannot be empty",UB="Please select recognition type",CB="Please select at least one field to fill in",WB="Please select at least one",KB="Please enter the button title",GB="Please bind the business model in the data settings",XB="Please bind storage values in data settings",JB="Please bind the service in the data settings",QB="Please bind at least one display value in the data settings",ZB="Please select the root node in the data settings",YB="Please enter the maximum height",t1="The input content cannot be empty",e1="Watermark cannot be empty",n1="File name cannot be empty",o1="Please upload at least one printing template!\uFF01",r1="Please select a specific business department",i1="Please select a specified external organization",u1="Please enter a sub table alias",c1="Please select the associated table to set the business model",l1="Please select the association table to set the binding service",a1="Select associated sub table fields",f1="Please select the associated main table field",_1="Please select the sort field",y1={isNotNumber:X3,isNotString:J3,isNotObject:Q3,isNotArray:Z3,isNotBoolean:Y3,runtimeRequired:tB,pleaseEnterCaption:eB,pleaseEnterCaptionTip:nB,pleaseEnterRowCaption:oB,pleaseEnterPlaceholder:rB,pleaseEnterFieldCode:iB,pleaseEnterForm:uB,pleaseEnterList:cB,pleaseEnterProcess:lB,pleaseEnterLabel:aB,pleaseEnterValue:fB,bizKeyNotBindFiled:_B,pleaseSelectOneField:yB,pleaseEnterNumberRange:sB,pleaseEnterAValueGreaterThanMin:pB,pleaseEnterAValueLessThanMax:dB,numberRangeSetError:vB,stringRangeError:hB,attachmentMaxSize:bB,pleaseEnterTotalScoreSetting:gB,theTotalScoreMustNotBeLessThan1:mB,scoreDefaultValueRange:OB,attachmentLimitError:wB,PleaseReselectTheOptionalQuantity:$B,TheMaximumLengthIsGreaterThanTheMinimumLength:PB,TheMinimumLengthIsGreaterThanTheMaximumLength:EB,PleaseSelectTheCorrectOptionSettings:SB,optionIdIsRepeat:TB,optionIsRequired:RB,pleaseEnterDataCode:BB,pleaseEnterValueFieldCode:IB,pleaseEnterSvcCode:AB,pleaseBindAtLeastOneDisplayValue:kB,pleaseSelectProvince:DB,pleaseSelectCity:xB,pleaseSelectDistrict:FB,limitRowsCannotBeLessThan0:jB,TheNumberOfRowsCannotBeLessThanMinRows:LB,pleaseEnterColumnWidth:MB,pleaseSetTheLogicalRelationshipOfAllRuleConditions:NB,pleaseCompleteAllRulesAndConditions:VB,pleaseSelectControl:zB,pleaseSelectDashboard:HB,theViewNameCannotBeEmpty:qB,pleaseSelectOcrType:UB,pleaseSelectAtLeastOneFieldToFillIn:CB,pleaseChooseAtLeastOne:WB,pleaseEnterButtonContent:KB,pleaseEnterDataCodeInDataSetting:GB,pleaseEnterValueFieldCodeInDataSetting:XB,pleaseEnterSvcCodeInDataSetting:JB,pleaseBindAtLeastOneDisplayValueInDataSetting:QB,rootNodeIsRequiredInDataSetting:ZB,pleaseEnterMaxHeight:YB,pleaseEnter:t1,pleaseEnterWatermark:e1,pleaseEnterFileName:n1,pleaseUploadAtLeastOnePrintTemplate:o1,pleaseAssignBusiness:r1,pleaseAssignExternal:i1,pleaseEnterAliasCode:u1,pleaseSelectDataCode:c1,pleaseSelectSvcCode:l1,pleaseSelectJoinFieldCode:a1,pleaseSelectMainFieldCode:f1,pleaseSelectSortFieldCode:_1},s1="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",p1="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",d1="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",v1="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",h1="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",b1="{caption}\u5FC5\u9808",g1="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",m1="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",O1="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",w1="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$1="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",P1="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",E1="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",S1="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",T1="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",R1="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",B1="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",I1="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",A1="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",k1="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",D1="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",x1="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",F1="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",j1="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",L1="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",M1="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",N1="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",V1="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",z1="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",H1="\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",q1="\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",U1="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",C1="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",W1="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",K1="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",G1="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",X1="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",J1="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Q1="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Z1="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Y1="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",tI="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",eI="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",nI="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",oI="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",rI="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",iI="please select control",uI="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",cI="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",lI="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",aI="\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",fI="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",_I="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",yI="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",sI="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",pI="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",dI="\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",vI="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",hI="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",bI="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",gI="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",mI="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",OI="\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",wI="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",$I="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",PI="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",EI="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",SI="\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",TI="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",RI="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",BI="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",II={isNotNumber:s1,isNotString:p1,isNotObject:d1,isNotArray:v1,isNotBoolean:h1,runtimeRequired:b1,pleaseEnterCaption:g1,pleaseEnterCaptionTip:m1,pleaseEnterRowCaption:O1,pleaseEnterPlaceholder:w1,pleaseEnterFieldCode:$1,pleaseEnterForm:P1,pleaseEnterList:E1,pleaseEnterProcess:S1,pleaseEnterLabel:T1,pleaseEnterValue:R1,bizKeyNotBindFiled:B1,pleaseSelectOneField:I1,pleaseEnterNumberRange:A1,pleaseEnterAValueGreaterThanMin:k1,pleaseEnterAValueLessThanMax:D1,numberRangeSetError:x1,stringRangeError:F1,attachmentMaxSize:j1,pleaseEnterTotalScoreSetting:L1,theTotalScoreMustNotBeLessThan1:M1,scoreDefaultValueRange:N1,attachmentLimitError:V1,PleaseReselectTheOptionalQuantity:z1,TheMaximumLengthIsGreaterThanTheMinimumLength:H1,TheMinimumLengthIsGreaterThanTheMaximumLength:q1,PleaseSelectTheCorrectOptionSettings:U1,optionIdIsRepeat:C1,optionIsRequired:W1,pleaseEnterDataCode:K1,pleaseEnterValueFieldCode:G1,pleaseEnterSvcCode:X1,pleaseBindAtLeastOneDisplayValue:J1,pleaseSelectProvince:Q1,pleaseSelectCity:Z1,pleaseSelectDistrict:Y1,limitRowsCannotBeLessThan0:tI,TheNumberOfRowsCannotBeLessThanMinRows:eI,pleaseEnterColumnWidth:nI,pleaseSetTheLogicalRelationshipOfAllRuleConditions:oI,pleaseCompleteAllRulesAndConditions:rI,pleaseSelectControl:iI,pleaseSelectDashboard:uI,theViewNameCannotBeEmpty:cI,pleaseSelectOcrType:lI,pleaseSelectAtLeastOneFieldToFillIn:aI,pleaseChooseAtLeastOne:fI,pleaseEnterButtonContent:_I,pleaseEnterDataCodeInDataSetting:yI,pleaseEnterValueFieldCodeInDataSetting:sI,pleaseEnterSvcCodeInDataSetting:pI,pleaseBindAtLeastOneDisplayValueInDataSetting:dI,rootNodeIsRequiredInDataSetting:vI,pleaseEnterMaxHeight:hI,pleaseEnter:bI,pleaseEnterWatermark:gI,pleaseEnterFileName:mI,pleaseUploadAtLeastOnePrintTemplate:OI,pleaseAssignBusiness:wI,pleaseAssignExternal:$I,pleaseEnterAliasCode:PI,pleaseSelectDataCode:EI,pleaseSelectSvcCode:SI,pleaseSelectJoinFieldCode:TI,pleaseSelectMainFieldCode:RI,pleaseSelectSortFieldCode:BI},AI={zhCN:G3,enUS:y1,jaJP:II},kI="zh-CN";function ht(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var mo=function(e){return e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search",e}({}),s=function(e){return e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",e.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.ORGANIZATION_SELECTION="organization-selection",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.OPERATION_BUTTON="operation-button",e.EMPLOYEE_COLUMN="employee-column",e.Approval_Status_Column="approval-status-column",e.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.GRID_LAYOUT_CONTAINER="grid-layout-container",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.ACTION_BAR="action-bar",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2",e.GRID_LAYOUT_WRAP="grid-layout-wrap",e}({}),g=function(e){return e.VARCHAR="varchar",e.TEXT="text",e.ARRAY="array",e.ADDRESS="location",e.DECIMAL="decimal",e.DECIMAL_RANGE="decimal_range",e.TIMESTAMP="timestamp",e.EMPLOYEES="people",e.DEPARTMENTS="department",e.MONEY="money",e.TIMESCOPE="timescope",e.FILE="file",e.IMAGE="image",e.AUTO_NUMBER="auto_number",e.CALC="calc",e.RELATION="relation",e.LIST="list",e.RELATION_FIELD="relation-field",e.REFERENCE_FIELD="reference-field",e.CALC_FIELD="calc",e.JSON="json",e.BIGINT="bigint",e.ANY="ANY",e.ENCRYPTED_FIELD="encrypted_field",e}({}),at;at={},ht(at,"array","array-column"),ht(at,"auto_number","auto-number-column"),ht(at,"decimal","decimal-column"),ht(at,"department","department-column"),ht(at,"file","file-column"),ht(at,"image","image-column"),ht(at,"location","location-column"),ht(at,"people","employee-column"),ht(at,"text","text-column"),ht(at,"timescope","timescope-column"),ht(at,"timestamp","timestamp-column"),ht(at,"varchar","varchar-column"),ht(at,"relation","varchar-column");var De=function(e){return e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime",e}({}),Xh="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",DI=Xh+"0123456789";function Rt(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",n=0;n<e;n++){var o=n===0?Xh:DI,r=Math.random()*o.length;t+=o[parseInt(String(r),10)]}return t}function Ia(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function xI(e){if(Array.isArray(e))return Ia(e)}function FI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jh(e,t,n){return t=Wn(t),NI(e,ka()?Reflect.construct(t,n||[],Wn(e).constructor):t.apply(e,n))}function Qh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Oo(e,t,n){return ka()?Oo=Reflect.construct:Oo=function(r,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(r,c),l=new a;return u&&Kn(l,u.prototype),l},Oo.apply(null,arguments)}function Wn(e){return Wn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wn(e)}function Zh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kn(e,t)}function jI(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function LI(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function MI(){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 NI(e,t){return t&&(VI(t)==="object"||typeof t=="function")?t:FI(e)}function Kn(e,t){return Kn=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kn(e,t)}function Yh(e){return xI(e)||LI(e)||zI(e)||MI()}function VI(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zI(e,t){if(!!e){if(typeof e=="string")return Ia(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ia(e,t)}}function Aa(e){var t=typeof Map=="function"?new Map:void 0;return Aa=function(o){if(o===null||!jI(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(o))return t.get(o);t.set(o,r)}function r(){return Oo(o,arguments,Wn(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Kn(r,o)},Aa(e)}function ka(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ka=function(){return!!e})()}var Da=console;function xa(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o,r=t.slice(1);(o=Da).warn.apply(o,["\u{1F9D0} Driven Warning:"+t[0]].concat(Yh(r)))}function wo(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o,r=t.slice(1);(o=Da).log.apply(o,["\u{1F680} Driven Log:"+t[0]].concat(Yh(r)))}function HI(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Fa=function(e){Zh(t,e);function t(n){Qh(this,t);var o;return o=Jh(this,t,[n]),o.name="\u{1F4A5} Driven Error",o.message=n?HI(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return t}(Aa(Error)),qI=function(e){Zh(t,e);function t(n){Qh(this,t);var o;return o=Jh(this,t,[n]),o.name="\u{1F6A8} Driven Reference Error",o}return t}(Fa);function Gn(e){throw new Fa(e)}function t0(e){throw new qI(e)}function UI(e){Da.error(new Fa(e))}var CI=Object.prototype.toString;function e0(e,t){return CI.call(e)==="[object "+t+"]"}function WI(e){return e0(e,"String")}function KI(e){return e0(e,"Promise")}var GI=function(){function e(t){var n,o;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((o=(n=t.messages)!==null&&n!==void 0?n:this.getPreImport(t.locale))!==null&&o!==void 0?o:{}),t.variableRegExp&&(this.variableRegExp=t.variableRegExp),this.setLocale(t.locale)}return e.prototype.setLocale=function(t){var n=this;this.locale=t,this._messageCache.clear();var o=this.getMessageData();KI(o)?o.then(function(r){n._messageCache.clear(),n.messages[n.localeInMessageKey]=r}):this.messages[this.localeInMessageKey]=o},e.prototype.getMessageData=function(){var t=this._messages[this.localeInMessageKey];return typeof t=="function"?t():t},e.prototype.translate=function(t,n,o){var r=this.getMessage(t);return r?this.formatMessage(r,o):this.formatMessage(n,o)},e.prototype.getMessage=function(t){if(this._messageCache.has(t))return this._messageCache.get(t);var n=this.getPathArray(t),o=n.reduce(function(r,i,u,c){if(r!==void 0){var a=r[i];if(!(u===c.length-1&&!WI(a)))return a}},this.message);return this._messageCache.set(t,o),o},e.prototype.formatMessage=function(t,n){return n?t.replace(this.variableRegExp,function(o,r){var i=n[r];return i!==void 0?String(i):o}):t},e.prototype.getPreImport=function(t){var n;if(window.okI18nPreImport){var o=this.getLocaleInMessageKey(t);return window.okI18nPreImport.hasOwnProperty(o)?window.okI18nPreImport:(n={},n[o]=window.okI18nPreImport,n)}},e.prototype.getPathArray=function(t){return t.split(".")},e.prototype.getLocaleInMessageKey=function(t){return t.replace(/-/g,"")},Object.defineProperty(e.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"message",{get:function(){var t;return(t=this.messages[this.localeInMessageKey])!==null&&t!==void 0?t:{}},enumerable:!1,configurable:!0}),e}();function XI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n0(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function JI(e,t,n){return t&&n0(e.prototype,t),n&&n0(e,n),e}function QI(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d=function(){function e(){XI(this,e)}return JI(e,null,[{key:"getMessage",value:function(n){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",o)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:kI;return new GI({locale:n,messages:AI})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),e}();QI(d,"$i18n",d.resetI18n());function ZI(e,t,n){var o=t.replace(/\[(\d)]/g,function(i,u){return"."+u}).split("."),r=!1;return o.reduce(function(i,u,c,a){var l=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,u)){xa("Can not set ".concat(t,"'s ").concat(u," property in current %o, Because there is no ").concat(u," property on the %o"),i,i);return}return c===a.length-1&&!Object.is(l[u],n)&&(l[u]=n,r=!0),l[u]}},e),r}var YI=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ja={exports:{}};(function(e){(function(t){var n=function(h,$,P){if(!l($)||y($)||p($)||b($)||a($))return $;var E,T=0,j=0;if(f($))for(E=[],j=$.length;T<j;T++)E.push(n(h,$[T],P));else{E={};for(var A in $)Object.prototype.hasOwnProperty.call($,A)&&(E[h(A,P)]=n(h,$[A],P))}return E},o=function(h,$){$=$||{};var P=$.separator||"_",E=$.split||/(?=[A-Z])/;return h.split(E).join(P)},r=function(h){return O(h)?h:(h=h.replace(/[\-_\s]+(.)?/g,function($,P){return P?P.toUpperCase():""}),h.substr(0,1).toLowerCase()+h.substr(1))},i=function(h){var $=r(h);return $.substr(0,1).toUpperCase()+$.substr(1)},u=function(h,$){return o(h,$).toLowerCase()},c=Object.prototype.toString,a=function(h){return typeof h=="function"},l=function(h){return h===Object(h)},f=function(h){return c.call(h)=="[object Array]"},y=function(h){return c.call(h)=="[object Date]"},p=function(h){return c.call(h)=="[object RegExp]"},b=function(h){return c.call(h)=="[object Boolean]"},O=function(h){return h=h-0,h===h},m=function(h,$){var P=$&&"process"in $?$.process:$;return typeof P!="function"?h:function(E,T){return P(E,h,T)}},w={camelize:r,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(h,$){return n(m(r,$),h)},decamelizeKeys:function(h,$){return n(m(u,$),h,$)},pascalizeKeys:function(h,$){return n(m(i,$),h)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=w:t.humps=w})(YI)})(ja);var o0={};Object.defineProperty(o0,"__esModule",{value:!0});function La(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:La(t));{const t={};for(const n in e){const o=e[n];t[n]=typeof o!="object"||o===null?o:La(o)}return t}}var tA=o0.default=La;function eA(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ne(e){if(e!==void 0)return(typeof e=="undefined"?"undefined":eA(e))==="object"?tA(e):e}function ft(e){return r0(e)&&"zh"in e}function r0(e){return Object.prototype.toString.call(e)==="[object Object]"}function Ma(e){return Array.isArray(e)}function xe(e){return isNaN(parseFloat(e))?"":Number(e)}function nA(e){return e.reduce(function(t,n){return t.includes(n)||t.push(n),t},[])}function C(e,t){var n=[];return Array.isArray(e)&&(n=e.map(function(o){var r=o;return Array.isArray(o==null?void 0:o.children)&&(r.children=C(o.children,t)),Array.isArray(o==null?void 0:o.footers)&&(r.footers=C(o.footers,t)),t(r)})),n}function oA(e){return ja.exports.camelizeKeys(e)}function Fe(e){return ja.exports.decamelizeKeys(e)}function Na(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function rA(e){if(Array.isArray(e))return Na(e)}function i0(e,t,n,o,r,i,u){try{var c=e[i](u),a=c.value}catch(l){n(l);return}c.done?t(a):Promise.resolve(a).then(o,r)}function iA(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(a){i0(i,o,r,u,c,"next",a)}function c(a){i0(i,o,r,u,c,"throw",a)}u(void 0)})}}function uA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u0(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function cA(e,t,n){return t&&u0(e.prototype,t),n&&u0(e,n),e}function c0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lA(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function aA(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Va(e){return rA(e)||lA(e)||fA(e)||aA()}function fA(e,t){if(!!e){if(typeof e=="string")return Na(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Na(e,t)}}function _A(e,t){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,o=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){u.label=l[1];break}if(l[0]===6&&u.label<r[1]){u.label=r[1],r=l;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(l);break}r[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(f){l=[6,f],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var yA=function(){function e(){uA(this,e),c0(this,"_events",new Map),c0(this,"debug",!1)}return cA(e,[{key:"emit",value:function(n){for(var o=arguments.length,r=new Array(o>1?o-1:0),i=1;i<o;i++)r[i-1]=arguments[i];var u=this;return iA(function(){var c,a,l,f,y,p,b,O,m,w,h,$;return _A(this,function(P){switch(P.label){case 0:if(c=u._events.get(n),a=[],!c)return[3,10];l=c.slice(),f=!0,y=!1,p=void 0,P.label=1;case 1:P.trys.push([1,8,9,10]),b=l[Symbol.iterator](),P.label=2;case 2:if(f=(O=b.next()).done)return[3,7];if(m=O.value,!c.includes(m))return[3,6];P.label=3;case 3:return P.trys.push([3,5,,6]),u.debug&&wo.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(m.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+m.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(r.map(function(){return"%o"}).join(","),"\u3002")].concat(Va(r))),[4,m.apply(null,Va(r))];case 4:return w=P.sent(),u.debug&&wo.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(m.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+m.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(r.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Va(r),[w])),a.push(w),w===!1?[3,7]:[3,6];case 5:return h=P.sent(),UI(String(h)+":"+String(h.stack)),[3,6];case 6:return f=!0,[3,2];case 7:return[3,10];case 8:return $=P.sent(),y=!0,p=$,[3,10];case 9:try{!f&&b.return!=null&&b.return()}finally{if(y)throw p}return[7];case 10:return[2,a]}})})()}},{key:"on",value:function(n,o){if(this._events.has(n)){var r;(r=this._events.get(n))===null||r===void 0||r.push(o)}else this._events.set(n,[o])}},{key:"off",value:function(n,o){if(this._events.has(n)){var r=this._events.get(n),i=r==null?void 0:r.indexOf(o);r==null||r.splice(i,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),e}();function sA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l0(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function pA(e,t,n){return t&&l0(e.prototype,t),n&&l0(e,n),e}function dA(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var vA=[{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"}],hA=function(){function e(){sA(this,e)}return pA(e,null,[{key:"getEventsFromKeys",value:function(n){var o=typeof n=="string"?[n]:n;return e.events.filter(function(r){return o.includes(r.key)})}},{key:"getEventsFromControl",value:function(n){var o=[],r=n.eventKeys;o=o.concat(e.events.filter(function(u){return r.includes(u.key)}));var i=n.customEvents.map(function(u){var c=u.key;return{key:c,code:u.key,name:u.name}});return o=o.concat(i),o}}]),e}();dA(hA,"events",vA);function za(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function bA(e){if(Array.isArray(e))return za(e)}function gA(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function mA(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function a0(e){return bA(e)||gA(e)||OA(e)||mA()}function OA(e,t){if(!!e){if(typeof e=="string")return za(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return za(e,t)}}function Ha(e,t){var n;!((n=Object.getOwnPropertyDescriptors(e)[t])===null||n===void 0)&&n.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function f0(e,t,n){n!=="Runtime"&&(e.parent=t,Ha(e,"parent"))}function wA(e,t,n){e.forEach(function(o){f0(o,t,n)})}var _0=Symbol("targetKey");function y0(e){var t;return(t=e[_0])!==null&&t!==void 0?t:e}function s0(e,t,n){return wA(e,t,n),new Proxy(e,{get:function(r,i){for(var u=arguments.length,c=new Array(u>2?u-2:0),a=2;a<u;a++)c[a-2]=arguments[a];var l;return i===_0?r:(l=Reflect).get.apply(l,[r,i].concat(a0(c)))},set:function(r,i,u){for(var c=arguments.length,a=new Array(c>3?c-3:0),l=3;l<c;l++)a[l-3]=arguments[l];var f;if(Ma(e)&&i==="length"&&u===e.length)return!0;var y=(f=Reflect).set.apply(f,[r,i,u].concat(a0(a)));return r0(u)&&f0(u,t,n),y}})}function Kt(e,t,n,o,r){var i=o!=null?o:e,u=s0(y0(n!=null?n:[]),i,r);Object.defineProperty(e,t,{get:function(){return u},set:function(a){u=s0(y0(a),i,r)},enumerable:!0})}function $A(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p0(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function PA(e,t,n){return t&&p0(e.prototype,t),n&&p0(e,n),e}function oe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d0=[],$o=function(){function e(t){$A(this,e),oe(this,"registeredControlTypes",new Set),oe(this,"controlConfigMap",new Map),oe(this,"_controls",[]),oe(this,"_type",void 0),this._type=t,this._initControls(t)}return PA(e,[{key:"registerControlConfig",value:function(n,o){return this.controlConfigMap.set(n,o),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||Gn("".concat(n.name," is not a Control"));var o=this._controls.findIndex(function(r){return r.controlType===n.controlType});return o>-1&&(xa("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(o,1)),this.registeredControlTypes.add(n.controlType),this._controls.push(n),this}},{key:"isLayoutControl",value:function(n){return n.controlType===mo.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===mo.FORM}},{key:"isListControl",value:function(n){return n.controlType===mo.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===mo.COLUMN}},{key:"createControl",value:function(n,o){var r=this;if(Array.isArray(n))return n.map(function(f){return r.createControl(f,o)});if(n.children&&(n.children=n.children.map(function(f){return r.createControl(f,o)})),this.isListControl(n)){var i=n.props;i.headers&&(i.headers=i.headers.map(function(f){return r.createControl(f,o)})),i.footers&&(i.footers=i.footers.map(function(f){var y;return f&&(y=r.createControl(f,o)),y}))}var u=this.getControlFormType(n.type);if(u){var c=n;if(typeof o=="function"){var a=o(c);a&&(c=a)}var l;return u.mode==="Runtime"?(l=c,l.fieldType=u.controlFieldType,this._setParentPrototypeToSchema(l,this)):l=new u(c),l}else Gn("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(n,o){delete n.parent,Object.defineProperty(n,"parent",{configurable:!0,get:function(){return o}}),Ha(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,o){o._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var i=n.id,u=o._controlParentIdMap,c=o.instanceMap;if(!(!u||!c)){var a=u[i],l=c[i];if(!(!a&&!l)){var f=l.findIndex(function(b){return b==n}),y=c[a]||[],p;return y.length!==l.length?p=y[0]:p=y[f],p}}}}),Ha(n,"parent"))}},{key:"createControlInstance",value:function(n,o){var r=this.getControlFormType(n);if(r)return new r(o)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(o){return o.controlType===n})}},{key:"_initControls",value:function(n){var o=this;this.constructor.staticControls.forEach(function(r){o.register(r[n]),e.staticControlsRuntimeRules.set(r.Runtime.controlType,r.Property.RuntimeRules),r.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,o){var r=e.staticControlsRuntimeRules.get(n),i=[];if(r){var u=new r(o);i=Array.from(u)}return i}},{key:"register",value:function(n,o){var r=n.Designer,i=n.Runtime,u=n.Property;(!r||!i||!r.__is_control__||!i.__is_control__)&&Gn("".concat(n," is can't register as a Control"));var c=this.staticControls.findIndex(function(a){return a.Designer.controlType===r.controlType});return c>-1&&(xa("The ".concat(r.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(c,1)),this.staticRegisteredTypes.add(r.controlType),this.staticControls.push(n),u.mode=o,this}}]),e}();oe($o,"staticControlsRuntimeRules",new Map),oe($o,"staticControls",d0),oe($o,"staticRegisteredTypes",new Set(d0.map(function(e){return e.Designer.controlType}))),oe($o,"staticRegisteredConfigs",new Map);function EA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bt(e,t,n){return t=Po(t),SA(e,v0()?Reflect.construct(t,n||[],Po(e).constructor):t.apply(e,n))}function S(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Po(e){return Po=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Po(e)}function It(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qa(e,t)}function SA(e,t){return t&&(TA(t)==="object"||typeof t=="function")?t:EA(e)}function qa(e,t){return qa=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qa(e,t)}function TA(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function v0(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(v0=function(){return!!e})()}var At=function e(t){S(this,e),v(this,"dataCode",void 0),v(this,"fieldCode",void 0),v(this,"fieldType",void 0),v(this,"aliasCode",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.fieldCode=(o=t==null?void 0:t.fieldCode)!==null&&o!==void 0?o:"";var r;this.fieldType=(r=t==null?void 0:t.fieldType)!==null&&r!==void 0?r:"",this.aliasCode=t==null?void 0:t.aliasCode},Ua=function e(t){S(this,e),v(this,"minWidth",void 0),v(this,"maxWidth",void 0),v(this,"flex",void 0);var n;this.minWidth=(n=t==null?void 0:t.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=t==null?void 0:t.maxWidth;var o;this.flex=(o=t==null?void 0:t.flex)!==null&&o!==void 0?o:1},Ca=function(e){It(t,e);function t(n){S(this,t);var o;o=Bt(this,t,[n]),v(o,"width",void 0),v(o,"widthType",void 0);var r;o.width=(r=n==null?void 0:n.width)!==null&&r!==void 0?r:240;var i;return o.widthType=(i=n==null?void 0:n.widthType)!==null&&i!==void 0?i:"auto",o}return t}(Ua),h0=function e(t){S(this,e),v(this,"pc",void 0),v(this,"mobile",void 0),this.pc=new Ca(t==null?void 0:t.pc),this.mobile=t!=null&&t.mobile?new Ca(t==null?void 0:t.mobile):new Ca({width:130,minWidth:180})},RA=function e(t){S(this,e),v(this,"type",void 0),v(this,"customOptions",void 0);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"firstThree";var o;this.customOptions=(o=t==null?void 0:t.customOptions)!==null&&o!==void 0?o:[]},je=function e(t){S(this,e),v(this,"dataCode",void 0),v(this,"formKey",void 0),v(this,"appId",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var r;this.appId=(r=t==null?void 0:t.appId)!==null&&r!==void 0?r:""},BA=function(e){It(t,e);function t(n){S(this,t);var o;o=Bt(this,t,[n]),v(o,"primaryControlId",void 0);var r;return o.primaryControlId=(r=n==null?void 0:n.primaryControlId)!==null&&r!==void 0?r:"",o}return t}(je),b0=function e(t){S(this,e),v(this,"fieldCode",void 0),v(this,"dataCode",void 0);var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.dataCode=(o=t==null?void 0:t.dataCode)!==null&&o!==void 0?o:""},Wa=function e(t){S(this,e);var n;v(this,"appId",void 0),v(this,"formKey",void 0),v(this,"headers",void 0);var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var r;this.formKey=(r=t==null?void 0:t.formKey)!==null&&r!==void 0?r:"";var i;this.headers=(i=t==null||(n=t.headers)===null||n===void 0?void 0:n.map(function(u){return new b0(u)}))!==null&&i!==void 0?i:[]},IA=function e(t){S(this,e),v(this,"fieldName",void 0),v(this,"fieldCode",void 0),v(this,"fieldType",void 0);var n;this.fieldName=(n=t==null?void 0:t.fieldName)!==null&&n!==void 0?n:"";var o;this.fieldCode=(o=t==null?void 0:t.fieldCode)!==null&&o!==void 0?o:"";var r;this.fieldType=(r=t==null?void 0:t.fieldType)!==null&&r!==void 0?r:g.VARCHAR},AA=function(e){It(t,e);function t(n){S(this,t);var o;o=Bt(this,t,[n]),v(o,"title",void 0),v(o,"svcCode",void 0),v(o,"isOpenFilter",void 0),v(o,"filters",void 0);var r;o.title=(r=n==null?void 0:n.title)!==null&&r!==void 0?r:"";var i;o.svcCode=(i=n==null?void 0:n.svcCode)!==null&&i!==void 0?i:"";var u;o.isOpenFilter=(u=n==null?void 0:n.isOpenFilter)!==null&&u!==void 0?u:!1;var c;return o.filters=(c=n==null?void 0:n.filters)!==null&&c!==void 0?c:[],o}return t}(je),kA=function e(t){S(this,e);var n,o;v(this,"type","sublist-page"),v(this,"formBind",void 0),v(this,"displayFields",void 0),v(this,"sublists",void 0),this.formBind=new je(t==null?void 0:t.formBind);var r;this.displayFields=(r=t==null||(n=t.displayFields)===null||n===void 0?void 0:n.map(function(u){return new IA(u)}))!==null&&r!==void 0?r:[];var i;this.sublists=(i=t==null||(o=t.sublists)===null||o===void 0?void 0:o.map(function(u){return new AA(u)}))!==null&&i!==void 0?i:[]},DA=function e(t){S(this,e),v(this,"type",void 0),v(this,"value",void 0),v(this,"dataCode",void 0),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value,this.dataCode=t==null?void 0:t.dataCode},Xn=function e(t){S(this,e),v(this,"type",void 0),v(this,"value",void 0),v(this,"displayBos",void 0);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"custom";var o;this.value=(o=t==null?void 0:t.value)!==null&&o!==void 0?o:[];var r;this.displayBos=(r=t==null?void 0:t.displayBos)!==null&&r!==void 0?r:[]},Ka=function e(t){var n=this;S(this,e),v(this,"id",void 0),v(this,"ruleId",void 0),v(this,"type","conditions"),v(this,"level",void 0),v(this,"value",void 0),v(this,"children",void 0);var o;this.id=(o=t==null?void 0:t.id)!==null&&o!==void 0?o:Rt();var r;this.ruleId=(r=t==null?void 0:t.ruleId)!==null&&r!==void 0?r:new Date().valueOf();var i;this.level=(i=t==null?void 0:t.level)!==null&&i!==void 0?i:0;var u;this.value=(u=t==null?void 0:t.value)!==null&&u!==void 0?u:"and",this.children=[],Array.isArray(t==null?void 0:t.children)&&(t==null||t.children.map(function(c){if(c.children!==void 0){var a,l=new e(c);(a=n.children)===null||a===void 0||a.push(l)}else{var f,y=new Eo(c);(f=n.children)===null||f===void 0||f.push(y)}}))},Eo=function e(t){S(this,e),v(this,"id",void 0),v(this,"ruleId",void 0),v(this,"type","condition"),v(this,"symbol",void 0),v(this,"checked",void 0),v(this,"describe",void 0),v(this,"leftVariableBo",void 0),v(this,"rightVariableBo",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Rt();var o;this.ruleId=(o=t==null?void 0:t.ruleId)!==null&&o!==void 0?o:new Date().valueOf();var r;this.symbol=(r=t==null?void 0:t.symbol)!==null&&r!==void 0?r:"";var i;this.checked=(i=t==null?void 0:t.checked)!==null&&i!==void 0?i:!1;var u;this.describe=(u=t==null?void 0:t.describe)!==null&&u!==void 0?u:"",this.leftVariableBo=new DA(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new Xn(t==null?void 0:t.rightVariableBo)},xA=function e(t){S(this,e),v(this,"aliasCode",void 0),v(this,"datasourceBind",void 0),v(this,"relationFields",void 0);var n;this.aliasCode=(n=t==null?void 0:t.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new X(t==null?void 0:t.datasourceBind);var o;this.relationFields=(o=t==null?void 0:t.relationFields)!==null&&o!==void 0?o:[]},st=function e(t){S(this,e),v(this,"controlId",void 0),v(this,"fieldCode",void 0),v(this,"fieldType",void 0),v(this,"propName",void 0);var n;this.controlId=(n=t==null?void 0:t.controlId)!==null&&n!==void 0?n:"";var o;this.fieldCode=(o=t==null?void 0:t.fieldCode)!==null&&o!==void 0?o:"";var r;this.fieldType=(r=t==null?void 0:t.fieldType)!==null&&r!==void 0?r:"";var i;this.propName=(i=t==null?void 0:t.propName)!==null&&i!==void 0?i:""},Ga=function e(t){S(this,e),v(this,"type",void 0),v(this,"value",void 0),v(this,"fieldType",void 0);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"FIELD";var o;this.value=(o=t==null?void 0:t.value)!==null&&o!==void 0?o:"",this.fieldType=t==null?void 0:t.fieldType},FA=function e(t){S(this,e),v(this,"columnName",void 0),v(this,"desc",void 0);var n;this.columnName=(n=t.columnName)!==null&&n!==void 0?n:"";var o;this.desc=(o=t.desc)!==null&&o!==void 0?o:!1};function Xa(e){var t,n,o,r;this.filters=(r=e==null||(t=e.filters)===null||t===void 0?void 0:t.map(function(c){return c.children!==void 0?new Ka(c):new Eo(c)}))!==null&&r!==void 0?r:[];var i;this.viewFilters=(i=e==null||(n=e.viewFilters)===null||n===void 0?void 0:n.map(function(c){return c.children!==void 0?new Ka(c):new Eo(c)}))!==null&&i!==void 0?i:[];var u;this.orders=(u=e==null||(o=e.orders)===null||o===void 0?void 0:o.map(function(c){return new FA(c)}))!==null&&u!==void 0?u:[]}var X=function e(t){var n=this;S(this,e),v(this,"dataCode",void 0),v(this,"valueFieldCode",void 0),v(this,"displayBoList",void 0),v(this,"keywordMapping",void 0),v(this,"svcCode",void 0),v(this,"appId",void 0),v(this,"filters",void 0),v(this,"viewFilters",void 0),v(this,"isOpenViewFilters",void 0),v(this,"orders",void 0),v(this,"showOrder",void 0);var o;this.dataCode=(o=t==null?void 0:t.dataCode)!==null&&o!==void 0?o:"";var r;this.appId=(r=t==null?void 0:t.appId)!==null&&r!==void 0?r:"";var i;this.valueFieldCode=(i=t==null?void 0:t.valueFieldCode)!==null&&i!==void 0?i:"",this.displayBoList=[];var u;this.isOpenViewFilters=(u=t==null?void 0:t.isOpenViewFilters)!==null&&u!==void 0?u:0,Array.isArray(t==null?void 0:t.displayBoList)&&(t==null||t.displayBoList.map(function(f){var y;(y=n.displayBoList)===null||y===void 0||y.push(new Ga(f))}));var c;this.keywordMapping=(c=t==null?void 0:t.keywordMapping)!==null&&c!==void 0?c:"";var a;this.showOrder=(a=t==null?void 0:t.showOrder)!==null&&a!==void 0?a:!0;var l;this.svcCode=(l=t==null?void 0:t.svcCode)!==null&&l!==void 0?l:"",Xa.call(this,t)},Ja=function e(t){S(this,e),v(this,"dataCode",void 0),v(this,"displayBoList",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.displayBoList=(o=t==null?void 0:t.displayBoList)!==null&&o!==void 0?o:[]},Gt=function e(t){S(this,e),v(this,"code",void 0),v(this,"color",void 0),v(this,"command",void 0),v(this,"confirmMessage",void 0),v(this,"defaultState",void 0),v(this,"formKey",void 0),v(this,"formType",void 0),v(this,"icon",void 0),v(this,"needConfirm",void 0),v(this,"openType",void 0),v(this,"priorityProcess",void 0);var n;this.code=(n=t==null?void 0:t.code)!==null&&n!==void 0?n:"view";var o;this.color=(o=t==null?void 0:t.color)!==null&&o!==void 0?o:"primary";var r;this.command=(r=t==null?void 0:t.command)!==null&&r!==void 0?r:"view";var i;this.confirmMessage=(i=t==null?void 0:t.confirmMessage)!==null&&i!==void 0?i:void 0;var u;this.defaultState=(u=t==null?void 0:t.defaultState)!==null&&u!==void 0?u:"default";var c;this.formKey=(c=t==null?void 0:t.formKey)!==null&&c!==void 0?c:void 0,this.formType=t==null?void 0:t.formType;var a;this.icon=(a=t==null?void 0:t.icon)!==null&&a!==void 0?a:"iconliulan1";var l;this.needConfirm=(l=t==null?void 0:t.needConfirm)!==null&&l!==void 0?l:!1;var f;this.openType=(f=t==null?void 0:t.openType)!==null&&f!==void 0?f:"modal";var y;this.priorityProcess=(y=t==null?void 0:t.priorityProcess)!==null&&y!==void 0?y:!0},g0=function e(t){S(this,e);var n;v(this,"name",void 0),v(this,"key",void 0),v(this,"value",void 0);var o;this.name=(o=t==null?void 0:t.name)!==null&&o!==void 0?o:"";var r;this.key=(r=t==null?void 0:t.key)!==null&&r!==void 0?r:"";var i;this.value=(i=t==null||(n=t.value)===null||n===void 0?void 0:n.map(function(u){return new Ga(u)}))!==null&&i!==void 0?i:[]},So=function(e){It(t,e);function t(n){S(this,t);var o,r;o=Bt(this,t,[n]),v(o,"attributes",void 0);var i;return o.attributes=(i=n==null||(r=n.attributes)===null||r===void 0?void 0:r.map(function(u){return new g0(u)}))!==null&&i!==void 0?i:[],o}return t}(X),jA=function(e){It(t,e);function t(n){S(this,t);var o,r;o=Bt(this,t,[n]),v(o,"attributes",void 0),v(o,"formCode",void 0);var i;o.attributes=(i=n==null||(r=n.attributes)===null||r===void 0?void 0:r.map(function(c){return new g0(c)}))!==null&&i!==void 0?i:[];var u;return o.formCode=(u=n==null?void 0:n.formCode)!==null&&u!==void 0?u:"",o}return t}(X),m0=function(e){It(t,e);function t(n){S(this,t);var o;o=Bt(this,t,[n]),v(o,"rootNode",void 0),v(o,"filterCode",void 0),o.rootNode=new Xn(n==null?void 0:n.rootNode);var r;return o.filterCode=(r=n==null?void 0:n.filterCode)!==null&&r!==void 0?r:"",o}return t}(So),O0=function e(t){S(this,e);var n;v(this,"dataCode",void 0),v(this,"appId",void 0),v(this,"fillList",void 0);var o;this.dataCode=(o=t==null?void 0:t.dataCode)!==null&&o!==void 0?o:"";var r;this.appId=(r=t==null?void 0:t.appId)!==null&&r!==void 0?r:"";var i;this.fillList=(i=t==null||(n=t.fillList)===null||n===void 0?void 0:n.map(function(u){return new st(u)}))!==null&&i!==void 0?i:[]},w0=function(e){It(t,e);function t(n){S(this,t);var o;return o=Bt(this,t,[n]),v(o,"filters",void 0),v(o,"viewFilters",void 0),v(o,"orders",void 0),Xa.call(o,n),o}return t}(O0),$0=function(e){It(t,e);function t(n){S(this,t);var o;o=Bt(this,t,[n]),v(o,"mode",void 0),v(o,"multiple",void 0);var r;o.mode=(r=n==null?void 0:n.mode)!==null&&r!==void 0?r:"current";var i;return o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1,o}return t}(O0),Qa=function e(t){S(this,e),v(this,"stencilName",void 0),v(this,"expression",void 0),v(this,"errMessage",void 0);var n;this.stencilName=(n=t==null?void 0:t.stencilName)!==null&&n!==void 0?n:"";var o;this.expression=(o=t==null?void 0:t.expression)!==null&&o!==void 0?o:"";var r;this.errMessage=(r=t==null?void 0:t.errMessage)!==null&&r!==void 0?r:""},LA=function e(t){S(this,e),v(this,"id",void 0),v(this,"label",void 0),v(this,"value",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Rt(8);var o;this.label=(o=t==null?void 0:t.label)!==null&&o!==void 0?o:"";var r;this.value=(r=t==null?void 0:t.value)!==null&&r!==void 0?r:this.label};function Xt(e){var t;return(t=e==null?void 0:e.map(function(n){return new LA(n)}))!==null&&t!==void 0?t:[]}var Za=function e(){S(this,e)},MA=function(e){It(t,e);function t(n){S(this,t);var o;return o=Bt(this,t),v(o,"amount",void 0),v(o,"currency",void 0),o.amount=new At(n==null?void 0:n.amount),o.currency=new At(n==null?void 0:n.currency),o}return t}(Za),NA=function e(t){S(this,e),v(this,"amount",void 0),v(this,"currency",void 0);var n;this.amount=(n=t==null?void 0:t.amount)!==null&&n!==void 0?n:"";var o;this.currency=(o=t==null?void 0:t.currency)!==null&&o!==void 0?o:"CNY"},VA=function(e){It(t,e);function t(n){S(this,t);var o;return o=Bt(this,t),v(o,"min",void 0),v(o,"max",void 0),o.min=new At(n==null?void 0:n.min),o.max=new At(n==null?void 0:n.max),o}return t}(Za),zA=function e(t){S(this,e),v(this,"min",void 0),v(this,"max",void 0);var n;this.min=(n=t==null?void 0:t.min)!==null&&n!==void 0?n:"";var o;this.max=(o=t==null?void 0:t.max)!==null&&o!==void 0?o:""},HA=function e(t){S(this,e),v(this,"city",void 0),v(this,"cityDisplay",void 0),v(this,"district",void 0),v(this,"districtDisplay",void 0),v(this,"province",void 0),v(this,"provinceDisplay",void 0);var n;this.city=(n=t==null?void 0:t.city)!==null&&n!==void 0?n:"";var o;this.cityDisplay=(o=t==null?void 0:t.cityDisplay)!==null&&o!==void 0?o:"";var r;this.district=(r=t==null?void 0:t.district)!==null&&r!==void 0?r:"";var i;this.districtDisplay=(i=t==null?void 0:t.districtDisplay)!==null&&i!==void 0?i:"";var u;this.province=(u=t==null?void 0:t.province)!==null&&u!==void 0?u:"";var c;this.provinceDisplay=(c=t==null?void 0:t.provinceDisplay)!==null&&c!==void 0?c:""},qA=function(e){It(t,e);function t(n){S(this,t);var o;return o=Bt(this,t),v(o,"result",void 0),v(o,"unit",void 0),o.result=new At(n==null?void 0:n.result),o.unit=new At(n==null?void 0:n.unit),o}return t}(Za),UA=function e(t){S(this,e),v(this,"result",void 0),v(this,"unit",void 0);var n;this.result=(n=t==null?void 0:t.result)!==null&&n!==void 0?n:0;var o;this.unit=(o=t==null?void 0:t.unit)!==null&&o!==void 0?o:""},CA=function(e){return e.CNY="CNY",e.USD="USD",e.JPY="JPY",e.EUR="EUR",e.INR="INR",e.IDR="IDR",e.BRL="BRL",e.AED="AED",e.AUD="AUD",e.CAD="CAD",e.EGP="EGP",e.GBP="GBP",e.ZAR="ZAR",e.KRW="KRW",e.MAD="MAD",e.MXN="MXN",e.MYR="MYR",e.PHP="PHP",e.PLN="PLN",e.RUB="RUB",e.SGD="SGD",e.THB="THB",e.TRY="TRY",e.TWD="TWD",e.VND="VND",e.HKD="HKD",e.IEP="IEP",e}({}),_=function(e){return e.DEFAULT_DISPLAY="defaultDisplay",e.REQUIRED="required",e.IS_HIDE="isHide",e.IS_SHOW_UNIT="isShowUnit",e.IMD_SEARCH="immediatelySearch",e.MULTIPLE="multiple",e.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",e.CAPTION="caption",e.IS_HIDE_CAPTION="isHideCaption",e.DEFAULT_SHOW_OPTIONS="defaultShowOptions",e.CAN_SEARCH="canSearch",e.CAN_CHECK="canCheck",e.CAN_EDIT="canEdit",e.CAN_DELETE="canDelete",e.SHOW_UPPER_CASE="showUpperCase",e.MICROMETER="micrometer",e.PRECISION="precision",e.PERCENTAGE="percentage",e.OPTIONAL_LEVEL="optionalLevel",e.CONTAINS_SUB_NODE="containsSubNode",e.DEFAULT_COLLAPSE="defaultCollapse",e.CAN_VIEW_FORM="canViewForm",e.VIEW_FORM_MODEL_TYPE="viewFormModelType",e.SERVER_PAGINATION="serverPagination",e.IS_SHOW_CAPTION_TIP="isShowCaptionTip",e.IS_SHOW_WATERMARK="isShowWatermark",e.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions",e.IS_PASTE="isPaste",e}({}),WA=function(e){return e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT",e}({}),re=function e(t){S(this,e),v(this,"isShow",void 0),v(this,"priorityProcess",void 0),v(this,"formKey",void 0),v(this,"content",void 0),v(this,"openType",void 0),v(this,"type",void 0);var n;this.isShow=(n=t==null?void 0:t.isShow)!==null&&n!==void 0?n:!0;var o;this.content=(o=t==null?void 0:t.content)!==null&&o!==void 0?o:"";var r;this.formKey=(r=t==null?void 0:t.formKey)!==null&&r!==void 0?r:"";var i;this.openType=(i=t==null?void 0:t.openType)!==null&&i!==void 0?i:"modal";var u;this.type=(u=t==null?void 0:t.type)!==null&&u!==void 0?u:"";var c;this.priorityProcess=(c=t==null?void 0:t.priorityProcess)!==null&&c!==void 0?c:!1},KA=function e(t){S(this,e);var n;v(this,"id",void 0),v(this,"title",void 0),v(this,"filters",void 0),v(this,"viewFilters",void 0),v(this,"headers",void 0);var o;this.id=(o=t==null?void 0:t.id)!==null&&o!==void 0?o:Rt(8);var r;this.title=(r=t==null?void 0:t.title)!==null&&r!==void 0?r:"";var i;this.headers=(i=t==null||(n=t.headers)===null||n===void 0?void 0:n.map(function(u){return new b0(u)}))!==null&&i!==void 0?i:[],Xa.call(this,t)},GA=function e(t){S(this,e),v(this,"width",void 0),v(this,"height",void 0),v(this,"widthConfig",void 0),v(this,"heightConfig",void 0);var n;this.width=(n=t==null?void 0:t.width)!==null&&n!==void 0?n:"";var o;this.height=(o=t==null?void 0:t.height)!==null&&o!==void 0?o:"";var r;this.widthConfig=(r=t==null?void 0:t.widthConfig)!==null&&r!==void 0?r:"fill";var i;this.heightConfig=(i=t==null?void 0:t.heightConfig)!==null&&i!==void 0?i:"fill"},XA=function e(t){S(this,e),v(this,"optCode",void 0),v(this,"optType",void 0);var n;this.optCode=(n=t==null?void 0:t.optCode)!==null&&n!==void 0?n:"";var o;this.optType=(o=t==null?void 0:t.optType)!==null&&o!==void 0?o:""},JA=function e(t){S(this,e);var n;v(this,"id",void 0),v(this,"name",void 0),v(this,"color",void 0),v(this,"filters",void 0);var o;this.id=(o=t==null?void 0:t.id)!==null&&o!==void 0?o:Rt();var r;this.name=(r=t==null?void 0:t.name)!==null&&r!==void 0?r:"";var i;this.color=(i=t==null?void 0:t.color)!==null&&i!==void 0?i:"theme";var u;this.filters=(u=t==null||(n=t.filters)===null||n===void 0?void 0:n.map(function(c){return c.children!==void 0?new Ka(c):new Eo(c)}))!==null&&u!==void 0?u:[]},QA=function e(t){S(this,e),v(this,"id",void 0),v(this,"script",void 0),v(this,"color",void 0);var n;this.id=(n=t.id)!==null&&n!==void 0?n:Rt();var o;this.script=(o=t.script)!==null&&o!==void 0?o:"";var r;this.color=(r=t.color)!==null&&r!==void 0?r:"theme"};function ZA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YA(e,t,n){return t=Jn(t),nk(e,ef()?Reflect.construct(t,n||[],Jn(e).constructor):t.apply(e,n))}function Ya(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function To(e,t,n){return ef()?To=Reflect.construct:To=function(r,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(r,c),l=new a;return u&&Qn(l,u.prototype),l},To.apply(null,arguments)}function ie(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jn(e){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jn(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&&Qn(e,t)}function ek(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function nk(e,t){return t&&(ok(t)==="object"||typeof t=="function")?t:ZA(e)}function Qn(e,t){return Qn=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qn(e,t)}function ok(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tf(e){var t=typeof Map=="function"?new Map:void 0;return tf=function(o){if(o===null||!ek(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(o))return t.get(o);t.set(o,r)}function r(){return To(o,arguments,Jn(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Qn(r,o)},tf(e)}function ef(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ef=function(){return!!e})()}var W=function e(t){Ya(this,e),ie(this,"isHide",{type:"boolean"})},be=function(e){tk(t,e);function t(n){return Ya(this,t),YA(this,t)}return t}(tf(Array)),K=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Ya(this,e),ie(this,"isHide",void 0),ie(this,"className",void 0),ie(this,"style",void 0),ie(this,"caption",void 0);var o;this.isHide=(o=t==null?void 0:t.isHide)!==null&&o!==void 0?o:!1,this.style=new GA(t==null?void 0:t.style);var r;this.caption=(r=t==null?void 0:t.caption)!==null&&r!==void 0?r:n};ie(K,"mode",void 0),ie(K,"Rules",W),ie(K,"RuntimeRules",be);function Nt(){return Nt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Nt.apply(this,arguments)}function rk(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function nf(e){return nf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nf(e)}function Ro(e,t){return Ro=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ro(e,t)}function ik(){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 Bo(e,t,n){return ik()?Bo=Reflect.construct:Bo=function(r,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(r,c),l=new a;return u&&Ro(l,u.prototype),l},Bo.apply(null,arguments)}function uk(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function of(e){var t=typeof Map=="function"?new Map:void 0;return of=function(o){if(o===null||!uk(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(o))return t.get(o);t.set(o,r)}function r(){return Bo(o,arguments,nf(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Ro(r,o)},of(e)}var ck=/%[sdj%]/g,P0=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(P0=function(t,n){typeof console!="undefined"&&console.warn&&n.every(function(o){return typeof o=="string"})&&console.warn(t,n)});function rf(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var o=n.field;t[o]=t[o]||[],t[o].push(n)}),t}function bt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=1,r=t[0],i=t.length;if(typeof r=="function")return r.apply(null,t.slice(1));if(typeof r=="string"){var u=String(r).replace(ck,function(c){if(c==="%%")return"%";if(o>=i)return c;switch(c){case"%s":return String(t[o++]);case"%d":return Number(t[o++]);case"%j":try{return JSON.stringify(t[o++])}catch(a){return"[Circular]"}break;default:return c}});return u}return r}function lk(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function G(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||lk(t)&&typeof e=="string"&&!e)}function ak(e,t,n){var o=[],r=0,i=e.length;function u(c){o.push.apply(o,c),r++,r===i&&n(o)}e.forEach(function(c){t(c,u)})}function E0(e,t,n){var o=0,r=e.length;function i(u){if(u&&u.length){n(u);return}var c=o;o=o+1,c<r?t(e[c],i):n([])}i([])}function fk(e){var t=[];return Object.keys(e).forEach(function(n){t.push.apply(t,e[n])}),t}var S0=function(e){rk(t,e);function t(n,o){var r;return r=e.call(this,"Async Validation Error")||this,r.errors=n,r.fields=o,r}return t}(of(Error));function _k(e,t,n,o){if(t.first){var r=new Promise(function(y,p){var b=function(w){return o(w),w.length?p(new S0(w,rf(w))):y()},O=fk(e);E0(O,n,b)});return r.catch(function(y){return y}),r}var i=t.firstFields||[];i===!0&&(i=Object.keys(e));var u=Object.keys(e),c=u.length,a=0,l=[],f=new Promise(function(y,p){var b=function(m){if(l.push.apply(l,m),a++,a===c)return o(l),l.length?p(new S0(l,rf(l))):y()};u.length||(o(l),y()),u.forEach(function(O){var m=e[O];i.indexOf(O)!==-1?E0(m,n,b):ak(m,n,b)})});return f.catch(function(y){return y}),f}function T0(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 R0(e,t){if(t){for(var n in t)if(t.hasOwnProperty(n)){var o=t[n];typeof o=="object"&&typeof e[n]=="object"?e[n]=Nt(Nt({},e[n]),o):e[n]=o}}return e}function B0(e,t,n,o,r,i){e.required&&(!n.hasOwnProperty(e.field)||G(t,i||e.type))&&o.push(bt(r.messages.required,e.fullField))}function yk(e,t,n,o,r){(/^\s+$/.test(t)||t==="")&&o.push(bt(r.messages.whitespace,e.fullField))}var uf={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},Zn={integer:function(t){return Zn.number(t)&&parseInt(t,10)===t},float:function(t){return Zn.number(t)&&!Zn.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(n){return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!Zn.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(uf.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(uf.url)},hex:function(t){return typeof t=="string"&&!!t.match(uf.hex)}};function sk(e,t,n,o,r){if(e.required&&t===void 0){B0(e,t,n,o,r);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],u=e.type;i.indexOf(u)>-1?Zn[u](t)||o.push(bt(r.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&o.push(bt(r.messages.types[u],e.fullField,e.type))}function pk(e,t,n,o,r){var i=typeof e.len=="number",u=typeof e.min=="number",c=typeof e.max=="number",a=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l=t,f=null,y=typeof t=="number",p=typeof t=="string",b=Array.isArray(t);if(y?f="number":p?f="string":b&&(f="array"),!f)return!1;b&&(l=t.length),p&&(l=t.replace(a,"_").length),i?l!==e.len&&o.push(bt(r.messages[f].len,e.fullField,e.len)):u&&!c&&l<e.min?o.push(bt(r.messages[f].min,e.fullField,e.min)):c&&!u&&l>e.max?o.push(bt(r.messages[f].max,e.fullField,e.max)):u&&c&&(l<e.min||l>e.max)&&o.push(bt(r.messages[f].range,e.fullField,e.min,e.max))}var Le="enum";function dk(e,t,n,o,r){e[Le]=Array.isArray(e[Le])?e[Le]:[],e[Le].indexOf(t)===-1&&o.push(bt(r.messages[Le],e.fullField,e[Le].join(", ")))}function vk(e,t,n,o,r){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||o.push(bt(r.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var i=new RegExp(e.pattern);i.test(t)||o.push(bt(r.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var k={required:B0,whitespace:yk,type:sk,range:pk,enum:dk,pattern:vk};function hk(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(G(t,"string")&&!e.required)return n();k.required(e,t,o,i,r,"string"),G(t,"string")||(k.type(e,t,o,i,r),k.range(e,t,o,i,r),k.pattern(e,t,o,i,r),e.whitespace===!0&&k.whitespace(e,t,o,i,r))}n(i)}function bk(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(G(t)&&!e.required)return n();k.required(e,t,o,i,r),t!==void 0&&k.type(e,t,o,i,r)}n(i)}function gk(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(t===""&&(t=void 0),G(t)&&!e.required)return n();k.required(e,t,o,i,r),t!==void 0&&(k.type(e,t,o,i,r),k.range(e,t,o,i,r))}n(i)}function mk(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(G(t)&&!e.required)return n();k.required(e,t,o,i,r),t!==void 0&&k.type(e,t,o,i,r)}n(i)}function Ok(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(G(t)&&!e.required)return n();k.required(e,t,o,i,r),G(t)||k.type(e,t,o,i,r)}n(i)}function wk(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(G(t)&&!e.required)return n();k.required(e,t,o,i,r),t!==void 0&&(k.type(e,t,o,i,r),k.range(e,t,o,i,r))}n(i)}function $k(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(G(t)&&!e.required)return n();k.required(e,t,o,i,r),t!==void 0&&(k.type(e,t,o,i,r),k.range(e,t,o,i,r))}n(i)}function Pk(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(t==null&&!e.required)return n();k.required(e,t,o,i,r,"array"),t!=null&&(k.type(e,t,o,i,r),k.range(e,t,o,i,r))}n(i)}function Ek(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(G(t)&&!e.required)return n();k.required(e,t,o,i,r),t!==void 0&&k.type(e,t,o,i,r)}n(i)}var Sk="enum";function Tk(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(G(t)&&!e.required)return n();k.required(e,t,o,i,r),t!==void 0&&k[Sk](e,t,o,i,r)}n(i)}function Rk(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(G(t,"string")&&!e.required)return n();k.required(e,t,o,i,r),G(t,"string")||k.pattern(e,t,o,i,r)}n(i)}function Bk(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(G(t,"date")&&!e.required)return n();if(k.required(e,t,o,i,r),!G(t,"date")){var c;t instanceof Date?c=t:c=new Date(t),k.type(e,c,o,i,r),c&&k.range(e,c.getTime(),o,i,r)}}n(i)}function Ik(e,t,n,o,r){var i=[],u=Array.isArray(t)?"array":typeof t;k.required(e,t,o,i,r,u),n(i)}function cf(e,t,n,o,r){var i=e.type,u=[],c=e.required||!e.required&&o.hasOwnProperty(e.field);if(c){if(G(t,i)&&!e.required)return n();k.required(e,t,o,u,r,i),G(t,i)||k.type(e,t,o,u,r)}n(u)}function Ak(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(G(t)&&!e.required)return n();k.required(e,t,o,i,r)}n(i)}var Yn={string:hk,method:bk,number:gk,boolean:mk,regexp:Ok,integer:wk,float:$k,array:Pk,object:Ek,enum:Tk,pattern:Rk,date:Bk,url:cf,hex:cf,email:cf,required:Ik,any:Ak};function lf(){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 af=lf();function ue(e){this.rules=null,this._messages=af,this.define(e)}ue.prototype={messages:function(t){return t&&(this._messages=R0(lf(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if(typeof t!="object"||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var n,o;for(n in t)t.hasOwnProperty(n)&&(o=t[n],this.rules[n]=Array.isArray(o)?o:[o])},validate:function(t,n,o){var r=this;n===void 0&&(n={}),o===void 0&&(o=function(){});var i=t,u=n,c=o;if(typeof u=="function"&&(c=u,u={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(),Promise.resolve();function a(m){var w,h=[],$={};function P(E){if(Array.isArray(E)){var T;h=(T=h).concat.apply(T,E)}else h.push(E)}for(w=0;w<m.length;w++)P(m[w]);h.length?$=rf(h):(h=null,$=null),c(h,$)}if(u.messages){var l=this.messages();l===af&&(l=lf()),R0(l,u.messages),u.messages=l}else u.messages=this.messages();var f,y,p={},b=u.keys||Object.keys(this.rules);b.forEach(function(m){f=r.rules[m],y=i[m],f.forEach(function(w){var h=w;typeof h.transform=="function"&&(i===t&&(i=Nt({},i)),y=i[m]=h.transform(y)),typeof h=="function"?h={validator:h}:h=Nt({},h),h.validator=r.getValidationMethod(h),h.field=m,h.fullField=h.fullField||m,h.type=r.getType(h),h.validator&&(p[m]=p[m]||[],p[m].push({rule:h,value:y,source:i,field:m}))})});var O={};return _k(p,u,function(m,w){var h=m.rule,$=(h.type==="object"||h.type==="array")&&(typeof h.fields=="object"||typeof h.defaultField=="object");$=$&&(h.required||!h.required&&m.value),h.field=m.field;function P(j,A){return Nt(Nt({},A),{},{fullField:h.fullField+"."+j})}function E(j){j===void 0&&(j=[]);var A=j;if(Array.isArray(A)||(A=[A]),!u.suppressWarning&&A.length&&ue.warning("async-validator:",A),A.length&&h.message!==void 0&&(A=[].concat(h.message)),A=A.map(T0(h)),u.first&&A.length)return O[h.field]=1,w(A);if(!$)w(A);else{if(h.required&&!m.value)return h.message!==void 0?A=[].concat(h.message).map(T0(h)):u.error&&(A=[u.error(h,bt(u.messages.required,h.field))]),w(A);var it={};if(h.defaultField)for(var B in m.value)m.value.hasOwnProperty(B)&&(it[B]=h.defaultField);it=Nt(Nt({},it),m.rule.fields);for(var Ct in it)if(it.hasOwnProperty(Ct)){var go=Array.isArray(it[Ct])?it[Ct]:[it[Ct]];it[Ct]=go.map(P.bind(null,Ct))}var Un=new ue(it);Un.messages(u.messages),m.rule.options&&(m.rule.options.messages=u.messages,m.rule.options.error=u.error),Un.validate(m.value,m.rule.options||u,function(Ae){var Wt=[];A&&A.length&&Wt.push.apply(Wt,A),Ae&&Ae.length&&Wt.push.apply(Wt,Ae),w(Wt.length?Wt:null)})}}var T;h.asyncValidator?T=h.asyncValidator(h,m.value,E,m.source,u):h.validator&&(T=h.validator(h,m.value,E,m.source,u),T===!0?E():T===!1?E(h.message||h.field+" fails"):T instanceof Array?E(T):T instanceof Error&&E(T.message)),T&&T.then&&T.then(function(){return E()},function(j){return E(j)})},function(m){a(m)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!Yn.hasOwnProperty(t.type))throw new Error(bt("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if(typeof t.validator=="function")return t.validator;var n=Object.keys(t),o=n.indexOf("message");return o!==-1&&n.splice(o,1),n.length===1&&n[0]==="required"?Yn.required:Yn[this.getType(t)]||!1}},ue.register=function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Yn[t]=n},ue.warning=P0,ue.messages=af,ue.validators=Yn;var kk={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 Dk(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new ue(e);return n.messages(Object.assign(kk,t)),n}var xk=new yA;function ff(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function Fk(e){if(Array.isArray(e))return e}function jk(e){if(Array.isArray(e))return ff(e)}function I0(e,t,n,o,r,i,u){try{var c=e[i](u),a=c.value}catch(l){n(l);return}c.done?t(a):Promise.resolve(a).then(o,r)}function A0(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(a){I0(i,o,r,u,c,"next",a)}function c(a){I0(i,o,r,u,c,"throw",a)}u(void 0)})}}function Lk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k0(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Mk(e,t,n){return t&&k0(e.prototype,t),n&&k0(e,n),e}function L(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function D0(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function x0(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Nk(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Vk(){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 F0(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){L(e,r,n[r])})}return e}function zk(e){return Fk(e)||x0(e)||j0(e)||Nk()}function _f(e){return jk(e)||x0(e)||j0(e)||Vk()}function Hk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function j0(e,t){if(!!e){if(typeof e=="string")return ff(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ff(e,t)}}function L0(e,t){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,o=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){u.label=l[1];break}if(l[0]===6&&u.label<r[1]){u.label=r[1],r=l;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(l);break}r[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(f){l=[6,f],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var M=function(){function t(n){var o=this;Lk(this,t),L(this,"id",void 0),L(this,"name",void 0),L(this,"icon",void 0),L(this,"type",void 0),L(this,"controlType",void 0),L(this,"props",void 0),L(this,"setting",[]),L(this,"fieldType",void 0),L(this,"eventKeys",[]),L(this,"customEvents",[]),L(this,"parent",null),L(this,"updateSetting",N0),L(this,"removeSetting",M0),this._callControlHooks("preInstance",n);var r=D0(this,t)?this.constructor:void 0,i=r.controlName,u=r.controlIcon,c=r.controlType,a=r.controlFieldType,l=r.controlEventKeys,f=r.controlCustomEvents,y=r.name,p=r.setting;i&&u&&c||t0("The ".concat(y," controlName,controlIcon,controlType is not define"));var b;this.id=(b=n==null?void 0:n.id)!==null&&b!==void 0?b:Rt(10),this.name=i,this.icon=u;var O;this.type=(O=n==null?void 0:n.type)!==null&&O!==void 0?O:c,this.props=new K(n==null?void 0:n.props,(D0(this,t)?this.constructor:void 0).controlName);var m;this.controlType=(m=n==null?void 0:n.controlType)!==null&&m!==void 0?m:"base",this.setting=ne(p);var w;this.fieldType=(w=n==null?void 0:n.fieldType)!==null&&w!==void 0?w:a,this.eventKeys=ne(l),this.customEvents=ne(f),Promise.resolve().then(function(){o._callControlHooks("postInstance",n)})}return Mk(t,[{key:"rules",get:function(){var o=this.props.constructor.Rules;return o?new o(this.props):{}}},{key:"_callControlHooks",value:function(){for(var o=arguments.length,r=new Array(o),i=0;i<o;i++)r[i]=arguments[i];var u,c=zk(r),a=c[0],l=c.slice(1);return(u=xk).emit.apply(u,[a,this].concat(_f(l)))}},{key:"preUpdate",value:function(o,r){this._callControlHooks("preUpdateProps",o,r)}},{key:"postUpdate",value:function(o,r){this._callControlHooks("postUpdateProps",o,r)}},{key:"updateProps",value:function(o,r){this.preUpdate(o,r),ZI(this.props,o,r),this.postUpdate(o,r)}},{key:"preValidate",value:function(){var o=this;return A0(function(){var r,i,u;return L0(this,function(c){switch(c.label){case 0:return r=F0({},o.rules),[4,o._callControlHooks("preValidate",r)];case 1:return i=c.sent(),u=i[i.length-1],[2,u===!1?void 0:u]}})})()}},{key:"validate",value:function(o,r){var i=this;return A0(function(){var u,c,a,l;return L0(this,function(f){switch(f.label){case 0:return[4,i.preValidate()];case 1:u=f.sent(),c=u!==void 0?u:F0({},i.rules),Array.isArray(r)&&r.forEach(function(y){c.hasOwnProperty(y)&&delete c[y]}),a=Dk(c,o),f.label=2;case 2:return f.trys.push([2,4,,5]),[4,a.validate(i.props)];case 3:return f.sent(),[2,!0];case 4:throw l=f.sent(),l.control||(l.control=i),l;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=this.fieldType,i=this.id,u=this.type,c=this.props,a=c.dataBind,l=c.datasourceBind,f=c.optionConfig,y=c.caption,p=c.required,b=c.maxLength,O=c.options,m=c.encrypted,w=c.encryptedMode;if(!(!r&&!a&&!l)){var h={parentId:o,fieldType:r,controlId:i,caption:y,type:u,props:{}};switch(a&&(h.dataBind=a),f){case"datasource":case void 0:l&&(h.datasourceBind=l);break;case"custom":h.props.options=O;break}return p!==void 0&&(h.required=p),b!==void 0&&(h.maxLength=b),m!==void 0&&(h.encrypted=m),w!==void 0&&(h.encryptedMode=w),h}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:ne(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(o,r){if(o==="setting"){if(r.add){var i;(i=this.setting).push.apply(i,_f(r.add))}r.remove&&this.removeSettingItem(r.remove),r.update}}}]),t}();L(M,"mode","Designer"),L(M,"controlName","\u63A7\u4EF6"),L(M,"controlIcon","icon"),L(M,"controlType","control"),L(M,"controlFieldType",void 0),L(M,"controlEventKeys",[]),L(M,"controlCustomEvents",[]),L(M,"setting",[]),L(M,"__is_control__",!0),L(M,"removeSettingItem",M0),L(M,"updateSettingItem",N0);function M0(e){var t=this,n=Array.isArray(e)?e:[e];n.forEach(function(o){var r,i=typeof o!="string",u=(r=t.setting)===null||r===void 0?void 0:r.findIndex(function(l){return l.key===(i?o.key:o)});if(u!==-1){var c,a;i?t.setting[u].showItems=(c=t.setting[u].showItems)===null||c===void 0?void 0:c.filter(function(l){return!o.hideItems.includes(l)}):t.setting.splice(u,1),i&&!(!((a=t.setting[u].showItems)===null||a===void 0)&&a.length)&&t.setting.splice(u,1)}})}function N0(e,t){var n=this,o=typeof e=="string"?[e]:e;o.forEach(function(r){var i=n.setting.find(function(l){return l.key===r});if(i){if(typeof t=="boolean")i.visible=t;else if((typeof t=="undefined"?"undefined":Hk(t))==="object"){var u,c=(u=t.type)!==null&&u!==void 0?u:"replace";if(c==="replace")i.showItems=t.showItems;else{var a;(a=i.showItems).push.apply(a,_f(t.showItems))}}}})}function qk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function V0(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Uk(e,t,n){return t&&V0(e.prototype,t),n&&V0(e,n),e}function gt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ck(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var Jt=function(){function t(n){qk(this,t),gt(this,"id",void 0),gt(this,"type",void 0),gt(this,"controlType",void 0),gt(this,"props",void 0),gt(this,"fieldType",void 0),gt(this,"customEvents",[]),gt(this,"pageStatus",void 0),gt(this,"parent",null);var o=Ck(this,t)?this.constructor:void 0,r=o.controlType,i=o.controlFieldType,u=o.name,c=o.controlCustomEvents;r||t0("The ".concat(u," controlType is not define"));var a;this.id=(a=n==null?void 0:n.id)!==null&&a!==void 0?a:Rt(10);var l;this.type=(l=n==null?void 0:n.type)!==null&&l!==void 0?l:r,this.props=new K(n==null?void 0:n.props),this.customEvents=c;var f;this.controlType=(f=n==null?void 0:n.controlType)!==null&&f!==void 0?f:"base";var y;this.fieldType=(y=n==null?void 0:n.fieldType)!==null&&y!==void 0?y:i;var p;this.pageStatus=(p=n==null?void 0:n.pageStatus)!==null&&p!==void 0?p:WA.UNKNOWN}return Uk(t,[{key:"rules",get:function(){var o=this.props.constructor.RuntimeRules;if(o){var r=new o(this.props);return Array.from(r)}return[]}}]),t}();gt(Jt,"mode","Runtime"),gt(Jt,"controlType","control"),gt(Jt,"controlFieldType",void 0),gt(Jt,"__is_control__",!0),gt(Jt,"controlCustomEvents",[]);function yf(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:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:d.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:d.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,o,r){o.length===0&&r(d.getMessage("optionIsRequired")),r()}},{type:"array",validator:function(n,o,r){var i=o.map(function(c){return c.value}),u=nA(i);i.length!==u.length?r(d.getMessage("optionIdIsRepeat")):r()},message:d.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(n,o,r){o.length===0&&r(d.getMessage("pleaseBindAtLeastOneDisplayValue")),r()},message:d.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}])}function Io(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:d.getMessage("isNotString")},key:{type:"string",required:!0,message:d.getMessage("isNotString")},value:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(r,i,u){i.length===0&&u(d.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),u()},message:d.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}]}function Wk(e){return(e==null?void 0:e.dataCode)!==void 0&&(e==null?void 0:e.fieldCode)!==void 0}function Kk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ao(e,t,n){return t=Do(t),Gk(e,z0()?Reflect.construct(t,n||[],Do(e).constructor):t.apply(e,n))}function ko(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function V(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Do(e){return Do=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Do(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&&sf(e,t)}function Gk(e,t){return t&&(Xk(t)==="object"||typeof t=="function")?t:Kk(e)}function sf(e,t){return sf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sf(e,t)}function Xk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function z0(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(z0=function(){return!!e})()}var ut=function(e){xo(t,e);function t(n){ko(this,t);var o;o=Ao(this,t,[n]),V(o,"dataBind",{}),V(o,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),V(o,"isHideCaption",{type:"boolean"}),V(o,"labelPosition",{type:"enum",enum:["top","left"]}),V(o,"defaultState",{type:"enum",enum:["default","readonly"]}),V(o,"required",{type:"boolean"}),V(o,"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")});var r={fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")}};if(Wk(n.dataBind))o.dataBind={type:"object",required:!0,fields:ne(r),message:d.getMessage("pleaseEnterFieldCode")};else{var i={type:"object",required:!0,fields:{},message:d.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(u){i.fields[u]={type:"object",required:!0,fields:ne(r),message:d.getMessage("pleaseEnterFieldCode")}}),o.dataBind=i}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return t}(W),z=function(e){xo(t,e);function t(n){ko(this,t);var o;o=Ao(this,t,[n]);var r=n.isHide?!1:n.required;return r&&o.push({type:"string",required:r,message:n.requiredMessage!==""?n.requiredMessage:d.getMessage("runtimeRequired",{caption:n.caption})}),o}return t}(be),D=function(e){xo(t,e);function t(n){ko(this,t);var o;o=Ao(this,t,[n]),V(o,"caption",void 0),V(o,"isHideCaption",void 0),V(o,"isShowCaptionTip",void 0),V(o,"captionTip",void 0),V(o,"labelPosition",void 0),V(o,"dataBind",void 0),V(o,"defaultValue",void 0),V(o,"placeholder",void 0),V(o,"defaultState",void 0),V(o,"required",void 0),V(o,"requiredMessage",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:"";var i;o.isHideCaption=(i=n==null?void 0:n.isHideCaption)!==null&&i!==void 0?i:!1;var u;o.isShowCaptionTip=(u=n==null?void 0:n.isShowCaptionTip)!==null&&u!==void 0?u:!1;var c;o.captionTip=(c=n==null?void 0:n.captionTip)!==null&&c!==void 0?c:"";var a;o.defaultState=(a=n==null?void 0:n.defaultState)!==null&&a!==void 0?a:"default";var l;o.labelPosition=(l=n==null?void 0:n.labelPosition)!==null&&l!==void 0?l:"top";var f;o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"";var y;o.required=(y=n==null?void 0:n.required)!==null&&y!==void 0?y:!1;var p;o.requiredMessage=(p=n==null?void 0:n.requiredMessage)!==null&&p!==void 0?p:"",o.dataBind=new At(n==null?void 0:n.dataBind);var b;return o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:"",o}return t}(K);V(D,"Rules",ut),V(D,"RuntimeRules",z);var Me=function(e){xo(t,e);function t(n){ko(this,t);var o;return o=Ao(this,t,[n]),V(o,"optionConfig",{type:"enum",enum:["custom","datasource"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")}),V(o,"options",[{type:"array",message:d.getMessage("isNotArray")}]),V(o,"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),yf.call(o,n),o}return t}(ut);function Jk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qk(e,t,n){return t=jo(t),t2(e,H0()?Reflect.construct(t,n||[],jo(e).constructor):t.apply(e,n))}function Zk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jo(e){return jo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jo(e)}function 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&&pf(e,t)}function t2(e,t){return t&&(e2(t)==="object"||typeof t=="function")?t:Jk(e)}function pf(e,t){return pf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},pf(e,t)}function e2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function H0(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(H0=function(){return!!e})()}var x=function(e){Yk(t,e);function t(n){Zk(this,t);var o;return o=Qk(this,t,[n]),Fo(o,"controlType","form"),Fo(o,"props",void 0),o.props=new D(n==null?void 0:n.props),o}return t}(M);Fo(x,"controlEventKeys",["on_change","on_focus","on_blur"]),Fo(x,"controlCustomAttributes",void 0);function n2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o2(e,t,n){return t=Lo(t),u2(e,q0()?Reflect.construct(t,n||[],Lo(e).constructor):t.apply(e,n))}function r2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function df(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lo(e){return Lo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lo(e)}function i2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vf(e,t)}function u2(e,t){return t&&(c2(t)==="object"||typeof t=="function")?t:n2(e)}function vf(e,t){return vf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vf(e,t)}function c2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function q0(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(q0=function(){return!!e})()}var F=function(e){i2(t,e);function t(n){r2(this,t);var o;return o=o2(this,t,[n]),df(o,"controlType","form"),df(o,"props",void 0),df(o,"value",void 0),o.props=new D(n==null?void 0:n.props),o}return t}(Jt);function l2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a2(e,t,n){return t=Mo(t),y2(e,U0()?Reflect.construct(t,n||[],Mo(e).constructor):t.apply(e,n))}function f2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mo(e){return Mo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mo(e)}function _2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hf(e,t)}function y2(e,t){return t&&(s2(t)==="object"||typeof t=="function")?t:l2(e)}function hf(e,t){return hf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hf(e,t)}function s2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function U0(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(U0=function(){return!!e})()}var Q=function(e){_2(t,e);function t(n){return f2(this,t),a2(this,t,[n])}return t}(K);function bf(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function p2(e){if(Array.isArray(e))return bf(e)}function d2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C0(e,t,n,o,r,i,u){try{var c=e[i](u),a=c.value}catch(l){n(l);return}c.done?t(a):Promise.resolve(a).then(o,r)}function v2(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(a){C0(i,o,r,u,c,"next",a)}function c(a){C0(i,o,r,u,c,"throw",a)}u(void 0)})}}function h2(e,t,n){return t=le(t),T2(e,G0()?Reflect.construct(t,n||[],le(e).constructor):t.apply(e,n))}function b2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function W0(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function g2(e,t,n){return t&&W0(e.prototype,t),n&&W0(e,n),e}function ce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ne(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Ne=Reflect.get:Ne=function(r,i,u){var c=R2(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Ne(e,t,n||e)}function le(e){return le=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},le(e)}function m2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gf(e,t)}function O2(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function w2(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function $2(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function P2(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){ce(e,r,n[r])})}return e}function E2(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function S2(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):E2(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function T2(e,t){return t&&(B2(t)==="object"||typeof t=="function")?t:d2(e)}function gf(e,t){return gf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gf(e,t)}function R2(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=le(e),e!==null););return e}function K0(e){return p2(e)||w2(e)||I2(e)||$2()}function B2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function I2(e,t){if(!!e){if(typeof e=="string")return bf(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return bf(e,t)}}function G0(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(G0=function(){return!!e})()}function A2(e,t){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,o=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){u.label=l[1];break}if(l[0]===6&&u.label<r[1]){u.label=r[1],r=l;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(l);break}r[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(f){l=[6,f],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var k2=1e4,Z=function(t){m2(n,t);function n(o){b2(this,n);var r;r=h2(this,n,[o]),ce(r,"controlType","layout"),ce(r,"children",void 0),ce(r,"excludes",void 0),ce(r,"childrenMaxLength",void 0),ce(r,"props",void 0);var i=O2(this,n)?this.constructor:void 0,u=i.excludes,c=i.childrenMaxLength;return r.props=new Q(o==null?void 0:o.props),Kt(r,"children",o==null?void 0:o.children,void 0,"Designer"),r.excludes=ne(u),r.childrenMaxLength=c,r}return g2(n,[{key:"judgeExcludesChildren",value:function(r){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(r)}},{key:"judgeJoinChildren",value:function(r){var i=this.judgeExcludesChildren(r);return i&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(r,i){var u=this,c=this,a=function(){return Ne(le(n.prototype),"validate",u)};return v2(function(){return A2(this,function(l){switch(l.label){case 0:return[4,a().call(c,r,i)];case 1:return l.sent(),[4,Promise.all(c.children.map(function(f){return f.validate(r,i)}))];case 2:return l.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,i=Ne(le(n.prototype),"toDataBindModel",this).call(this),u=i?[i]:[];return this.children.reduce(function(c,a){var l=a.toDataBindModel(r);if(Array.isArray(l)){var f=l.filter(function(y){return!!y});return K0(c).concat(K0(f))}return l&&c.push(l),c},u)}},{key:"toSchema",value:function(){var r=Ne(le(n.prototype),"toSchema",this).call(this),i=this.children.map(function(u){var c=u.toSchema();return c});return S2(P2({},r),{children:i})}}]),n}(M);ce(Z,"excludes",!1),ce(Z,"childrenMaxLength",k2);function D2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x2(e,t,n){return t=No(t),L2(e,X0()?Reflect.construct(t,n||[],No(e).constructor):t.apply(e,n))}function F2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function No(e){return No=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},No(e)}function j2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Of(e,t)}function L2(e,t){return t&&(M2(t)==="object"||typeof t=="function")?t:D2(e)}function Of(e,t){return Of=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Of(e,t)}function M2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function X0(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(X0=function(){return!!e})()}var ge=function(e){j2(t,e);function t(n){F2(this,t);var o;return o=x2(this,t,[n]),mf(o,"controlType","layout"),mf(o,"children",void 0),mf(o,"props",void 0),o.props=new Q(n==null?void 0:n.props),Kt(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return t}(Jt);function N2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V2(e,t,n){return t=Vo(t),q2(e,J0()?Reflect.construct(t,n||[],Vo(e).constructor):t.apply(e,n))}function z2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ve(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vo(e){return Vo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vo(e)}function H2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wf(e,t)}function q2(e,t){return t&&(U2(t)==="object"||typeof t=="function")?t:N2(e)}function wf(e,t){return wf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wf(e,t)}function U2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function J0(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(J0=function(){return!!e})()}var $f=function(e){H2(t,e);function t(n,o,r){z2(this,t);var i;i=V2(this,t,[o]),Ve(i,"headers",void 0),Ve(i,"footers",void 0),Ve(i,"pageIndex",void 0),Ve(i,"pageSize",void 0),Ve(i,"pageSizeOptions",void 0),Ve(i,"totalCount",void 0),Kt(i,"headers",o==null?void 0:o.headers,n,r),Kt(i,"footers",o==null?void 0:o.footers,n);var u;i.pageIndex=(u=o==null?void 0:o.pageIndex)!==null&&u!==void 0?u:1;var c;i.pageSize=(c=o==null?void 0:o.pageSize)!==null&&c!==void 0?c:20;var a;i.pageSizeOptions=(a=o==null?void 0:o.pageSizeOptions)!==null&&a!==void 0?a:[20];var l;return i.totalCount=(l=o==null?void 0:o.totalCount)!==null&&l!==void 0?l:0,i}return t}(K);function Pf(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function C2(e){if(Array.isArray(e))return Pf(e)}function W2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Q0(e,t,n,o,r,i,u){try{var c=e[i](u),a=c.value}catch(l){n(l);return}c.done?t(a):Promise.resolve(a).then(o,r)}function K2(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(a){Q0(i,o,r,u,c,"next",a)}function c(a){Q0(i,o,r,u,c,"throw",a)}u(void 0)})}}function G2(e,t,n){return t=ae(t),eD(e,nb()?Reflect.construct(t,n||[],ae(e).constructor):t.apply(e,n))}function X2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Z0(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function J2(e,t,n){return t&&Z0(e.prototype,t),n&&Z0(e,n),e}function zo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ze(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?ze=Reflect.get:ze=function(r,i,u){var c=nD(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},ze(e,t,n||e)}function ae(e){return ae=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ae(e)}function Q2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ef(e,t)}function Z2(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Y2(){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 Y0(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){zo(e,r,n[r])})}return e}function tD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function tb(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):tD(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function eD(e,t){return t&&(oD(t)==="object"||typeof t=="function")?t:W2(e)}function Ef(e,t){return Ef=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ef(e,t)}function nD(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ae(e),e!==null););return e}function eb(e){return C2(e)||Z2(e)||rD(e)||Y2()}function oD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rD(e,t){if(!!e){if(typeof e=="string")return Pf(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Pf(e,t)}}function nb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(nb=function(){return!!e})()}function iD(e,t){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,o=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){u.label=l[1];break}if(l[0]===6&&u.label<r[1]){u.label=r[1],r=l;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(l);break}r[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(f){l=[6,f],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var Sf=function(e){Q2(t,e);function t(n){X2(this,t);var o;return o=G2(this,t,[n]),zo(o,"controlType","list"),zo(o,"props",void 0),o.props=new $f(o,n==null?void 0:n.props,"Designer"),o}return J2(t,[{key:"validate",value:function(o,r){var i=this,u=this,c=function(){return ze(ae(t.prototype),"validate",i)};return K2(function(){return iD(this,function(a){switch(a.label){case 0:return[4,c().call(u,o)];case 1:return a.sent(),[4,Promise.all(u.props.headers.map(function(l){return l.validate(o,r)}))];case 2:return a.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var o=ze(ae(t.prototype),"toDataBindModel",this).call(this),r=o?[o]:[],i=this.id;return this.props.headers.reduce(function(u,c){var a=c.toDataBindModel(i);if(Array.isArray(a)){var l=a.filter(function(f){return!!f});return eb(u).concat(eb(l))}return a&&u.push(a),u},r)}},{key:"toSchema",value:function(){var o,r,i=ze(ae(t.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(a){return a.toSchema()}),c=(r=this.props)===null||r===void 0||(o=r.footers)===null||o===void 0?void 0:o.map(function(a){if(a)return a.toSchema()});return tb(Y0({},i),{props:tb(Y0({},this.props),{headers:u,footers:c})})}}]),t}(M);zo(Sf,"controlFieldType",g.LIST);function uD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tf(e,t,n){return t=Ho(t),cD(e,ob()?Reflect.construct(t,n||[],Ho(e).constructor):t.apply(e,n))}function Rf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ho(e){return Ho=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ho(e)}function Bf(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&If(e,t)}function cD(e,t){return t&&(lD(t)==="object"||typeof t=="function")?t:uD(e)}function If(e,t){return If=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},If(e,t)}function lD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ob(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ob=function(){return!!e})()}var Vt=function(e){Bf(t,e);function t(n){Rf(this,t);var o;return o=Tf(this,t,[n]),Y(o,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),Y(o,"width",{type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")}),o.width.required=n.widthType==="px",o}return t}(W),U=function(e){Bf(t,e);function t(n){Rf(this,t);var o;o=Tf(this,t,[n]),Y(o,"widthType",void 0),Y(o,"width",void 0),Y(o,"caption",void 0),Y(o,"dataBind",void 0),Y(o,"autoWidth",void 0),Y(o,"fixed",void 0),Y(o,"sort",void 0),Y(o,"align",void 0),Y(o,"colSpan",void 0),Y(o,"autoHeight",void 0),Y(o,"children",void 0);var r;o.width=(r=n==null?void 0:n.width)!==null&&r!==void 0?r:150,o.widthType=(n==null?void 0:n.widthType)||"auto";var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:"none",o.autoWidth=new Ua(n==null?void 0:n.autoWidth),o.dataBind=new At(n==null?void 0:n.dataBind);var c;o.sort=(c=n==null?void 0:n.sort)!==null&&c!==void 0?c:!0,o.align=n==null?void 0:n.align,o.colSpan=n==null?void 0:n.colSpan;var a;return o.autoHeight=(a=n==null?void 0:n.autoHeight)!==null&&a!==void 0?a:!1,o}return t}(K);Y(U,"Rules",Vt);var rb=function(e){Bf(t,e);function t(n){Rf(this,t);var o;return o=Tf(this,t,[n]),Y(o,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")}),Y(o,"options",[{type:"array",message:d.getMessage("isNotArray")}]),Y(o,"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),yf.call(o,n),o}return t}(Vt);function aD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fD(e,t,n){return t=He(t),hD(e,ub()?Reflect.construct(t,n||[],He(e).constructor):t.apply(e,n))}function _D(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ib(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function yD(e,t,n){return t&&ib(e.prototype,t),n&&ib(e,n),e}function qo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Uo(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Uo=Reflect.get:Uo=function(r,i,u){var c=bD(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Uo(e,t,n||e)}function He(e){return He=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},He(e)}function sD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Af(e,t)}function pD(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){qo(e,r,n[r])})}return e}function dD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function vD(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):dD(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function hD(e,t){return t&&(gD(t)==="object"||typeof t=="function")?t:aD(e)}function Af(e,t){return Af=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Af(e,t)}function bD(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=He(e),e!==null););return e}function gD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ub(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ub=function(){return!!e})()}var tt=function(e){sD(t,e);function t(n){_D(this,t);var o;return o=fD(this,t,[n]),qo(o,"controlType","column"),qo(o,"props",void 0),qo(o,"children",void 0),o.props=new U(n==null?void 0:n.props),Kt(o,"children",n==null?void 0:n.children,void 0,"Designer"),o}return yD(t,[{key:"toSchema",value:function(){var o=Uo(He(t.prototype),"toSchema",this).call(this);return vD(pD({},o),{children:this.children?this.children.map(function(r){return r.toSchema()}):[]})}}]),t}(M);function mD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OD(e,t,n){return t=Co(t),PD(e,cb()?Reflect.construct(t,n||[],Co(e).constructor):t.apply(e,n))}function wD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Co(e){return Co=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Co(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&&Df(e,t)}function PD(e,t){return t&&(ED(t)==="object"||typeof t=="function")?t:mD(e)}function Df(e,t){return Df=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Df(e,t)}function ED(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(cb=function(){return!!e})()}var et=function(e){$D(t,e);function t(n){wD(this,t);var o;return o=OD(this,t,[n]),kf(o,"controlType","column"),kf(o,"props",void 0),kf(o,"children",void 0),o.props=new U(n==null?void 0:n.props),Kt(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return t}(Jt);function SD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TD(e,t,n){return t=Wo(t),AD(e,lb()?Reflect.construct(t,n||[],Wo(e).constructor):t.apply(e,n))}function RD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BD(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wo(e){return Wo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wo(e)}function ID(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xf(e,t)}function AD(e,t){return t&&(kD(t)==="object"||typeof t=="function")?t:SD(e)}function xf(e,t){return xf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xf(e,t)}function kD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(lb=function(){return!!e})()}var Ff=function(e){ID(t,e);function t(n){RD(this,t);var o;return o=TD(this,t,[n]),BD(o,"dataBind",void 0),o.dataBind=new At(n==null?void 0:n.dataBind),o}return t}(Q);function DD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xD(e,t,n){return t=Ko(t),LD(e,fb()?Reflect.construct(t,n||[],Ko(e).constructor):t.apply(e,n))}function FD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ab(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ko(e){return Ko=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ko(e)}function jD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jf(e,t)}function LD(e,t){return t&&(MD(t)==="object"||typeof t=="function")?t:DD(e)}function jf(e,t){return jf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jf(e,t)}function MD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(fb=function(){return!!e})()}var ND=function(e){jD(t,e);function t(n){FD(this,t);var o;return o=xD(this,t,[n]),ab(o,"controlType","search"),ab(o,"props",void 0),o.props=new Ff(n==null?void 0:n.props),o}return t}(Z);function VD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zD(e,t,n){return t=Go(t),UD(e,yb()?Reflect.construct(t,n||[],Go(e).constructor):t.apply(e,n))}function HD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Go(e){return Go=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Go(e)}function qD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lf(e,t)}function UD(e,t){return t&&(CD(t)==="object"||typeof t=="function")?t:VD(e)}function Lf(e,t){return Lf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Lf(e,t)}function CD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(yb=function(){return!!e})()}var WD=function(e){qD(t,e);function t(n){HD(this,t);var o;return o=zD(this,t,[n]),_b(o,"controlType","search"),_b(o,"props",void 0),o.props=new Ff(n==null?void 0:n.props),o}return t}(ge);function fe(e){e.hasOwnProperty("linkOperationOption")&&e.hasOwnProperty("showLinkOperation")&&e.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}}}])}function KD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GD(e,t,n){return t=Xo(t),QD(e,sb()?Reflect.construct(t,n||[],Xo(e).constructor):t.apply(e,n))}function XD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xo(e){return Xo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xo(e)}function JD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mf(e,t)}function QD(e,t){return t&&(ZD(t)==="object"||typeof t=="function")?t:KD(e)}function Mf(e,t){return Mf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Mf(e,t)}function ZD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(sb=function(){return!!e})()}var YD=function(e){JD(t,e);function t(n){XD(this,t);var o;o=GD(this,t,[n]),qe(o,"content",void 0),qe(o,"fontSize",void 0),qe(o,"color",void 0),qe(o,"icon",void 0),qe(o,"align",void 0),qe(o,"showState",void 0);var r;o.fontSize=(r=n==null?void 0:n.fontSize)!==null&&r!==void 0?r:"14px";var i;o.color=(i=n==null?void 0:n.color)!==null&&i!==void 0?i:"#646A73";var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:"page-hint";var c;o.showState=(c=n==null?void 0:n.showState)!==null&&c!==void 0?c:"text";var a;o.content=(a=n==null?void 0:n.content)!==null&&a!==void 0?a:"\u8BF4\u660E\u6587\u5B57";var l;return o.align=(l=n==null?void 0:n.align)!==null&&l!==void 0?l:"",o}return t}(K);function tx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ex(e,t,n){return t=Jo(t),ix(e,vb()?Reflect.construct(t,n||[],Jo(e).constructor):t.apply(e,n))}function nx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pb(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function ox(e,t,n){return t&&pb(e.prototype,t),n&&pb(e,n),e}function db(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jo(e){return Jo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jo(e)}function rx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nf(e,t)}function ix(e,t){return t&&(ux(t)==="object"||typeof t=="function")?t:tx(e)}function Nf(e,t){return Nf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Nf(e,t)}function ux(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(vb=function(){return!!e})()}var cx=function(e){rx(t,e);function t(n){nx(this,t);var o;return o=ex(this,t,[n]),db(o,"props",void 0),o.props=new YD(n==null?void 0:n.props),o}return ox(t,null,[{key:"controlName",get:function(){return"\u8BF4\u660E\u6587\u5B57"}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),t}(M);db(cx,"setting",[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}]);function lx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ax(e,t,n){return t=Qo(t),yx(e,hb()?Reflect.construct(t,n||[],Qo(e).constructor):t.apply(e,n))}function fx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qo(e){return Qo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qo(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&&zf(e,t)}function yx(e,t){return t&&(sx(t)==="object"||typeof t=="function")?t:lx(e)}function zf(e,t){return zf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zf(e,t)}function sx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(hb=function(){return!!e})()}var px=function(e){_x(t,e);function t(n){fx(this,t);var o;o=ax(this,t,[n]),Vf(o,"content",void 0),Vf(o,"url",void 0),Vf(o,"openMode",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5";var i;o.url=(i=n==null?void 0:n.url)!==null&&i!==void 0?i:"";var u;return o.openMode=(u=n==null?void 0:n.openMode)!==null&&u!==void 0?u:"new",o}return t}(K);function dx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vx(e,t,n){return t=Zo(t),mx(e,gb()?Reflect.construct(t,n||[],Zo(e).constructor):t.apply(e,n))}function hx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bb(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function bx(e,t,n){return t&&bb(e.prototype,t),n&&bb(e,n),e}function Hf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zo(e){return Zo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zo(e)}function gx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qf(e,t)}function mx(e,t){return t&&(Ox(t)==="object"||typeof t=="function")?t:dx(e)}function qf(e,t){return qf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qf(e,t)}function Ox(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(gb=function(){return!!e})()}var mb=function(e){gx(t,e);function t(n){hx(this,t);var o;return o=vx(this,t,[n]),Hf(o,"props",void 0),o.props=new px(n==null?void 0:n.props),o}return bx(t,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),t}(M);Hf(mb,"controlEventKeys",["on_click"]),Hf(mb,"setting",[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}]);function wx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $x(e,t,n){return t=Yo(t),Sx(e,Ob()?Reflect.construct(t,n||[],Yo(e).constructor):t.apply(e,n))}function Px(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yo(e){return Yo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yo(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&&Uf(e,t)}function Sx(e,t){return t&&(Tx(t)==="object"||typeof t=="function")?t:wx(e)}function Uf(e,t){return Uf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Uf(e,t)}function Tx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ob(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ob=function(){return!!e})()}var mt=function(e){Ex(t,e);function t(n){Px(this,t);var o;o=$x(this,t,[n]),Qt(o,"content",void 0),Qt(o,"buttonType",void 0),Qt(o,"showType",void 0),Qt(o,"color",void 0),Qt(o,"icon",void 0),Qt(o,"defaultState",void 0),Qt(o,"command",void 0),Qt(o,"isLoading",void 0),Qt(o,"optObj",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:"\u6309\u94AE";var i;o.buttonType=(i=n==null?void 0:n.buttonType)!==null&&i!==void 0?i:"primary";var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"text";var c;o.color=(c=n==null?void 0:n.color)!==null&&c!==void 0?c:"primary";var a;o.icon=(a=n==null?void 0:n.icon)!==null&&a!==void 0?a:"iconfenlei2";var l;o.defaultState=(l=n==null?void 0:n.defaultState)!==null&&l!==void 0?l:"default";var f;o.command=(f=n==null?void 0:n.command)!==null&&f!==void 0?f:"custom";var y;o.isLoading=(y=n==null?void 0:n.isLoading)!==null&&y!==void 0?y:!1;var p;return o.optObj=new XA((p=n==null?void 0:n.optObj)!==null&&p!==void 0?p:{}),o}return t}(K);function Rx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bx(e,t,n){return t=tr(t),Dx(e,$b()?Reflect.construct(t,n||[],tr(e).constructor):t.apply(e,n))}function Ix(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wb(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Ax(e,t,n){return t&&wb(e.prototype,t),n&&wb(e,n),e}function Cf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tr(e){return tr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tr(e)}function kx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wf(e,t)}function Dx(e,t){return t&&(xx(t)==="object"||typeof t=="function")?t:Rx(e)}function Wf(e,t){return Wf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wf(e,t)}function xx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $b(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return($b=function(){return!!e})()}var pt=function(e){kx(t,e);function t(n){Ix(this,t);var o;return o=Bx(this,t,[n]),Cf(o,"props",void 0),o.props=new mt(n==null?void 0:n.props),o}return Ax(t,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),t}(M);Cf(pt,"controlEventKeys",["on_click"]),Cf(pt,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"super-setting",visible:!0}]);function _e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var me=function(e){return e.ShowBizKey="is_show_biz_key",e.ShowSubmitUser="is_show_submit_user",e.ShowSubmitTime="is_show_submit_time",e.ShowSubmitDept="is_show_submit_dept",e.ShowCurrentApprovar="is_show_current_approvar",e.ShowTitle="is_show_title",e}({}),Kf=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:Rt(8),value:["",""]};_e(this,e),I(this,"dateConfigType",void 0),I(this,"dateLimitType",void 0),I(this,"id",void 0),I(this,"value",void 0),this.id=t.id,this.dateConfigType=t.dateConfigType,this.dateLimitType=t.dateLimitType,this.value=t.value},Fx=function(e){return e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile",e}({}),Gf=function e(t){_e(this,e),I(this,"id",void 0),I(this,"text",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Rt();var o;this.text=(o=t==null?void 0:t.text)!==null&&o!==void 0?o:""},jx=function(e){return e.SOLID="solid-line",e.DASHED="dashed-line",e.BOLD_SOLID="bold-solid-line",e.BOLD_DASHED="bold-dashed-line",e.DOUBLE_SOLID="double-solid-line",e.DOUBLE_DASHED="double-dashed-line",e}({}),Pb=function e(t){_e(this,e),I(this,"type",void 0),I(this,"person",void 0),I(this,"signatureType",void 0),I(this,"telephone",void 0),I(this,"company",void 0),I(this,"remark",void 0);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"private";var o;this.person=new Xn((o=t==null?void 0:t.person)!==null&&o!==void 0?o:{type:"form"});var r;this.signatureType=(r=t==null?void 0:t.signatureType)!==null&&r!==void 0?r:[];var i,u;this.telephone=(u=t==null?void 0:t.telephone)!==null&&u!==void 0?u:new Xn((i=t==null?void 0:t.telephone)!==null&&i!==void 0?i:{type:"form"});var c,a;this.company=(a=t==null?void 0:t.company)!==null&&a!==void 0?a:new Xn((c=t==null?void 0:t.company)!==null&&c!==void 0?c:{type:"form"});var l;this.remark=(l=t==null?void 0:t.remark)!==null&&l!==void 0?l:""},Lx=function e(t){_e(this,e);var n;I(this,"fileControl",void 0),I(this,"undersignedList",void 0),I(this,"statusControl",void 0),I(this,"completeControl",void 0),I(this,"completeTimeControl",void 0);var o;this.fileControl=(o=t==null?void 0:t.fileControl)!==null&&o!==void 0?o:"";var r;this.undersignedList=(r=t==null||(n=t.undersignedList)===null||n===void 0?void 0:n.map(function(a){return new Pb(a)}))!==null&&r!==void 0?r:[new Pb];var i;this.statusControl=(i=t==null?void 0:t.statusControl)!==null&&i!==void 0?i:"";var u;this.completeControl=(u=t==null?void 0:t.completeControl)!==null&&u!==void 0?u:"";var c;this.completeTimeControl=(c=t==null?void 0:t.completeTimeControl)!==null&&c!==void 0?c:""},Eb=function e(t){_e(this,e),I(this,"id",void 0),I(this,"appId",void 0),I(this,"dataCode",void 0),I(this,"svcCode",void 0),I(this,"name",void 0),I(this,"fieldList",void 0),I(this,"active",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Rt(8);var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var i;this.svcCode=(i=t==null?void 0:t.svcCode)!==null&&i!==void 0?i:"";var u;this.name=(u=t==null?void 0:t.name)!==null&&u!==void 0?u:"";var c;this.fieldList=(c=t==null?void 0:t.fieldList)!==null&&c!==void 0?c:[];var a;this.active=(a=t==null?void 0:t.active)!==null&&a!==void 0?a:!1},Sb=function e(t){_e(this,e),I(this,"active",void 0),I(this,"text",void 0);var n;this.active=(n=t==null?void 0:t.active)!==null&&n!==void 0?n:!1;var o;this.text=(o=t==null?void 0:t.text)!==null&&o!==void 0?o:""},Mx=function e(t){_e(this,e),I(this,"types",void 0),I(this,"history",void 0),I(this,"collaborativeRecord",void 0),I(this,"logicToDelete",void 0),I(this,"watermark",void 0),I(this,"autoRename",void 0);var n;this.types=(n=t==null?void 0:t.types)!==null&&n!==void 0?n:["word","ppt","excel"];var o;this.history=(o=t==null?void 0:t.history)!==null&&o!==void 0?o:!1;var r;this.collaborativeRecord=(r=t==null?void 0:t.collaborativeRecord)!==null&&r!==void 0?r:!1;var i;this.logicToDelete=(i=t==null?void 0:t.logicToDelete)!==null&&i!==void 0?i:!0,this.watermark=new Sb(t==null?void 0:t.watermark),this.autoRename=new Sb(t==null?void 0:t.autoRename)},Nx=480;function er(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var Vx=function e(t){_e(this,e),I(this,"fileId",void 0),I(this,"fileName",void 0),I(this,"ruleName",void 0),I(this,"isDefault",void 0),I(this,"rules",void 0);var n;this.fileId=(n=t==null?void 0:t.fileId)!==null&&n!==void 0?n:"";var o;this.fileName=(o=t==null?void 0:t.fileName)!==null&&o!==void 0?o:"";var r;this.ruleName=(r=t==null?void 0:t.ruleName)!==null&&r!==void 0?r:"";var i;this.isDefault=(i=t.isDefault)!==null&&i!==void 0?i:!1;var u;this.rules=(u=t.rules)!==null&&u!==void 0?u:[]},zx=function(e){return e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",e}({}),Tb=function(e){return e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS",e}({}),Ue=function(e){return e.ALL="all",e.ASSIGN="assign",e}({}),Hx=function(e){return e.ALL="all",e.ADMIN="admin",e}({});function qx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ux(e,t,n){return t=nr(t),Kx(e,Bb()?Reflect.construct(t,n||[],nr(e).constructor):t.apply(e,n))}function Cx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nr(e){return nr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nr(e)}function Wx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xf(e,t)}function Kx(e,t){return t&&(Gx(t)==="object"||typeof t=="function")?t:qx(e)}function Xf(e,t){return Xf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xf(e,t)}function Gx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Bb=function(){return!!e})()}var Xx=function(e){Wx(t,e);function t(n){Cx(this,t);var o;o=Ux(this,t,[n]),Rb(o,"color",void 0),Rb(o,"lineStyle",void 0);var r;o.color=(r=n==null?void 0:n.color)!==null&&r!==void 0?r:"#000";var i;return o.lineStyle=(i=n==null?void 0:n.lineStyle)!==null&&i!==void 0?i:jx.SOLID,o}return t}(K);function Jx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qx(e,t,n){return t=or(t),eF(e,kb()?Reflect.construct(t,n||[],or(e).constructor):t.apply(e,n))}function Zx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ib(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Yx(e,t,n){return t&&Ib(e.prototype,t),n&&Ib(e,n),e}function Ab(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function or(e){return or=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},or(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&&Jf(e,t)}function eF(e,t){return t&&(nF(t)==="object"||typeof t=="function")?t:Jx(e)}function Jf(e,t){return Jf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jf(e,t)}function nF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(kb=function(){return!!e})()}var oF=function(e){tF(t,e);function t(n){Zx(this,t);var o;return o=Qx(this,t,[n]),Ab(o,"props",void 0),o.props=new Xx(n==null?void 0:n.props),o}return Yx(t,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),t}(M);Ab(oF,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]}]);function rF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Db(e,t,n){return t=rr(t),iF(e,jb()?Reflect.construct(t,n||[],rr(e).constructor):t.apply(e,n))}function xb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ye(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rr(e){return rr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rr(e)}function Fb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qf(e,t)}function iF(e,t){return t&&(uF(t)==="object"||typeof t=="function")?t:rF(e)}function Qf(e,t){return Qf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qf(e,t)}function uF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(jb=function(){return!!e})()}var cF=function(e){Fb(t,e);function t(n){xb(this,t);var o;return o=Db(this,t,[n]),ye(o,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),ye(o,"dataBind",{type:"any"}),ye(o,"config",{type:"array"}),n.config.includes(me.ShowBizKey)&&(o.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")}},message:d.getMessage("bizKeyNotBindFiled")}),!n.isHide&&n.config.length===0&&(o.config={type:"array",min:1,required:!0,message:d.getMessage("pleaseSelectOneField")}),o}return t}(W),Lb=function(e){Fb(t,e);function t(n){xb(this,t);var o;o=Db(this,t,[n]),ye(o,"dataBind",void 0),ye(o,"caption",void 0),ye(o,"config",void 0),ye(o,"position",void 0),o.dataBind=new At(n==null?void 0:n.dataBind);var r;o.config=(r=n==null?void 0:n.config)!==null&&r!==void 0?r:[me.ShowSubmitUser,me.ShowSubmitDept,me.ShowSubmitTime,me.ShowCurrentApprovar,me.ShowTitle];var i,u;o.caption=(u=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:to==null?void 0:to.controlName)!==null&&u!==void 0?u:"";var c;return o.position=(c=n==null?void 0:n.position)!==null&&c!==void 0?c:"top",o}return t}(K);ye(Lb,"Rules",cF);function lF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aF(e,t,n){return t=ir(t),sF(e,Nb()?Reflect.construct(t,n||[],ir(e).constructor):t.apply(e,n))}function fF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mb(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function _F(e,t,n){return t&&Mb(e.prototype,t),n&&Mb(e,n),e}function Zf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ir(e){return ir=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ir(e)}function yF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yf(e,t)}function sF(e,t){return t&&(pF(t)==="object"||typeof t=="function")?t:lF(e)}function Yf(e,t){return Yf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yf(e,t)}function pF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Nb=function(){return!!e})()}var to=function(e){yF(t,e);function t(n){fF(this,t);var o;return o=aF(this,t,[n]),Zf(o,"props",void 0),o.props=new Lb(n==null?void 0:n.props),o}return _F(t,null,[{key:"controlName",get:function(){return"\u6807\u9898\u7EC4\u4EF6"}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),t}(M);Zf(to,"controlFieldType",g.AUTO_NUMBER),Zf(to,"setting",[{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}]);function dF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vb(e,t,n){return t=cr(t),vF(e,qb()?Reflect.construct(t,n||[],cr(e).constructor):t.apply(e,n))}function zb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ur(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cr(e){return cr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cr(e)}function Hb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&t_(e,t)}function vF(e,t){return t&&(hF(t)==="object"||typeof t=="function")?t:dF(e)}function t_(e,t){return t_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},t_(e,t)}function hF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(qb=function(){return!!e})()}var bF=function(e){Hb(t,e);function t(n){zb(this,t);var o;return o=Vb(this,t,[n]),ur(o,"formKey",{type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}),o}return t}(W),Ub=function(e){Hb(t,e);function t(n){zb(this,t);var o;o=Vb(this,t,[n]),ur(o,"formKey",void 0),ur(o,"openType",void 0);var r;o.icon=(r=n==null?void 0:n.icon)!==null&&r!==void 0?r:ar.controlIcon;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:ar.controlName;var u;o.formKey=(u=n==null?void 0:n.formKey)!==null&&u!==void 0?u:"";var c;return o.openType=(c=n==null?void 0:n.openType)!==null&&c!==void 0?c:"modal",o}return t}(mt);ur(Ub,"Rules",bF);function gF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mF(e,t,n){return t=lr(t),PF(e,Wb()?Reflect.construct(t,n||[],lr(e).constructor):t.apply(e,n))}function OF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cb(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function wF(e,t,n){return t&&Cb(e.prototype,t),n&&Cb(e,n),e}function e_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lr(e){return lr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},lr(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&&n_(e,t)}function PF(e,t){return t&&(EF(t)==="object"||typeof t=="function")?t:gF(e)}function n_(e,t){return n_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},n_(e,t)}function EF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Wb=function(){return!!e})()}var ar=function(e){$F(t,e);function t(n){OF(this,t);var o;return o=mF(this,t,[n]),e_(o,"props",void 0),o.props=new Ub(n==null?void 0:n.props),o}return wF(t,null,[{key:"controlName",get:function(){return"\u521B\u5EFA\u5355\u636E"}},{key:"controlIcon",get:function(){return"iconchuangjiandanju"}},{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),t}(pt);e_(ar,"controlEventKeys",["on_click","on_click_finish"]),e_(ar,"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 SF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kb(e,t,n){return t=fr(t),TF(e,Jb()?Reflect.construct(t,n||[],fr(e).constructor):t.apply(e,n))}function Gb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fr(e){return fr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fr(e)}function Xb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 TF(e,t){return t&&(RF(t)==="object"||typeof t=="function")?t:SF(e)}function o_(e,t){return o_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},o_(e,t)}function RF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Jb=function(){return!!e})()}var BF=function(e){Xb(t,e);function t(n){Gb(this,t);var o;return o=Kb(this,t,[n]),Ce(o,"processKey",[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterProcess")}]),o}return t}(W),Qb=function(e){Xb(t,e);function t(n){Gb(this,t);var o;o=Kb(this,t,[n]),Ce(o,"processKey",void 0),Ce(o,"initiatorMode",void 0),Ce(o,"fieldCode",void 0),Ce(o,"employeeId",void 0);var r;o.icon=(r=n==null?void 0:n.icon)!==null&&r!==void 0?r:yr.controlIcon;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:yr.controlName;var u;o.initiatorMode=(u=n==null?void 0:n.initiatorMode)!==null&&u!==void 0?u:"currentInitiator";var c;o.processKey=(c=n==null?void 0:n.processKey)!==null&&c!==void 0?c:"";var a;o.fieldCode=(a=n==null?void 0:n.fieldCode)!==null&&a!==void 0?a:"";var l;return o.employeeId=(l=n==null?void 0:n.employeeId)!==null&&l!==void 0?l:"",o}return t}(mt);Ce(Qb,"Rules",BF);function IF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AF(e,t,n){return t=_r(t),FF(e,Yb()?Reflect.construct(t,n||[],_r(e).constructor):t.apply(e,n))}function kF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zb(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function DF(e,t,n){return t&&Zb(e.prototype,t),n&&Zb(e,n),e}function r_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _r(e){return _r=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_r(e)}function xF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i_(e,t)}function FF(e,t){return t&&(jF(t)==="object"||typeof t=="function")?t:IF(e)}function i_(e,t){return i_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},i_(e,t)}function jF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Yb=function(){return!!e})()}var yr=function(e){xF(t,e);function t(n){kF(this,t);var o;return o=AF(this,t,[n]),r_(o,"props",void 0),o.props=new Qb(n==null?void 0:n.props),o}return DF(t,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u63D0\u4EA4"}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),t}(pt);r_(yr,"controlEventKeys",["on_click","on_click_finish"]),r_(yr,"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 LF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MF(e,t,n){return t=sr(t),zF(e,tg()?Reflect.construct(t,n||[],sr(e).constructor):t.apply(e,n))}function NF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sr(e){return sr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sr(e)}function VF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u_(e,t)}function zF(e,t){return t&&(HF(t)==="object"||typeof t=="function")?t:LF(e)}function u_(e,t){return u_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},u_(e,t)}function HF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tg=function(){return!!e})()}var qF=function(e){VF(t,e);function t(n){NF(this,t);var o;o=MF(this,t,[n]);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:dr.controlName;var i;return o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:dr.controlIcon,o}return t}(mt);function UF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CF(e,t,n){return t=pr(t),XF(e,ng()?Reflect.construct(t,n||[],pr(e).constructor):t.apply(e,n))}function WF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function KF(e,t,n){return t&&eg(e.prototype,t),n&&eg(e,n),e}function c_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pr(e){return pr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pr(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&&l_(e,t)}function XF(e,t){return t&&(JF(t)==="object"||typeof t=="function")?t:UF(e)}function l_(e,t){return l_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},l_(e,t)}function JF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ng(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ng=function(){return!!e})()}var dr=function(e){GF(t,e);function t(n){WF(this,t);var o;return o=CF(this,t,[n]),c_(o,"props",void 0),o.props=new qF(n==null?void 0:n.props),o}return KF(t,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),t}(pt);c_(dr,"controlEventKeys",["on_click"]),c_(dr,"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 QF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZF(e,t,n){return t=vr(t),ej(e,rg()?Reflect.construct(t,n||[],vr(e).constructor):t.apply(e,n))}function YF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function og(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vr(e){return vr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vr(e)}function tj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a_(e,t)}function ej(e,t){return t&&(nj(t)==="object"||typeof t=="function")?t:QF(e)}function a_(e,t){return a_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},a_(e,t)}function nj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(rg=function(){return!!e})()}var oj=function(e){tj(t,e);function t(n){YF(this,t);var o,r;o=ZF(this,t,[n]),og(o,"templateList",void 0),og(o,"templateType",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:br.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:br.controlName;var c;o.templateType=(c=n==null?void 0:n.templateType)!==null&&c!==void 0?c:"system";var a;return o.templateList=(a=n==null||(r=n.templateList)===null||r===void 0?void 0:r.map(function(l){return new Eb(l)}))!==null&&a!==void 0?a:[new Eb({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return t}(mt);function rj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ij(e,t,n){return t=hr(t),aj(e,ug()?Reflect.construct(t,n||[],hr(e).constructor):t.apply(e,n))}function uj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ig(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function cj(e,t,n){return t&&ig(e.prototype,t),n&&ig(e,n),e}function f_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hr(e){return hr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hr(e)}function lj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&__(e,t)}function aj(e,t){return t&&(fj(t)==="object"||typeof t=="function")?t:rj(e)}function __(e,t){return __=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},__(e,t)}function fj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ug(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ug=function(){return!!e})()}var br=function(e){lj(t,e);function t(n){uj(this,t);var o;return o=ij(this,t,[n]),f_(o,"props",void 0),o.props=new oj(n==null?void 0:n.props),o}return cj(t,null,[{key:"controlName",get:function(){return"\u5BFC\u51FA"}},{key:"controlIcon",get:function(){return"iconxiazai1"}},{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),t}(pt);f_(br,"controlEventKeys",["on_click","on_click_finish"]),f_(br,"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 _j(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yj(e,t,n){return t=gr(t),dj(e,cg()?Reflect.construct(t,n||[],gr(e).constructor):t.apply(e,n))}function sj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gr(e){return gr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gr(e)}function pj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y_(e,t)}function dj(e,t){return t&&(vj(t)==="object"||typeof t=="function")?t:_j(e)}function y_(e,t){return y_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},y_(e,t)}function vj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(cg=function(){return!!e})()}var hj=function(e){pj(t,e);function t(n){sj(this,t);var o;o=yj(this,t,[n]);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:Or.controlName;var i;return o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Or.controlIcon,o}return t}(mt);function bj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gj(e,t,n){return t=mr(t),$j(e,ag()?Reflect.construct(t,n||[],mr(e).constructor):t.apply(e,n))}function mj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Oj(e,t,n){return t&&lg(e.prototype,t),n&&lg(e,n),e}function s_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mr(e){return mr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mr(e)}function wj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p_(e,t)}function $j(e,t){return t&&(Pj(t)==="object"||typeof t=="function")?t:bj(e)}function p_(e,t){return p_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},p_(e,t)}function Pj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ag(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ag=function(){return!!e})()}var Or=function(e){wj(t,e);function t(n){mj(this,t);var o;return o=gj(this,t,[n]),s_(o,"props",void 0),o.props=new hj(n==null?void 0:n.props),o}return Oj(t,null,[{key:"controlName",get:function(){return"\u5BFC\u51FA\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"icondaochujilu"}},{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),t}(pt);s_(Or,"controlEventKeys",["on_click"]),s_(Or,"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 Ej(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sj(e,t,n){return t=wr(t),Rj(e,_g()?Reflect.construct(t,n||[],wr(e).constructor):t.apply(e,n))}function fg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wr(e){return wr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wr(e)}function Tj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v_(e,t)}function Rj(e,t){return t&&(Bj(t)==="object"||typeof t=="function")?t:Ej(e)}function v_(e,t){return v_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},v_(e,t)}function Bj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _g(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_g=function(){return!!e})()}var Ij=function e(t){fg(this,e),d_(this,"dataCode",void 0),this.dataCode=t.dataCode},Aj=function(e){Tj(t,e);function t(n){fg(this,t);var o,r;o=Sj(this,t,[n]),d_(o,"canImportList",void 0),d_(o,"templateType",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Pr.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Pr.controlIcon;var c;o.canImportList=(c=n==null||(r=n.canImportList)===null||r===void 0?void 0:r.map(function(l){return new Ij(l)}))!==null&&c!==void 0?c:[];var a;return o.templateType=(a=n==null?void 0:n.templateType)!==null&&a!==void 0?a:"system",o}return t}(mt);function kj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dj(e,t,n){return t=$r(t),Lj(e,sg()?Reflect.construct(t,n||[],$r(e).constructor):t.apply(e,n))}function xj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Fj(e,t,n){return t&&yg(e.prototype,t),n&&yg(e,n),e}function h_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $r(e){return $r=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$r(e)}function jj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b_(e,t)}function Lj(e,t){return t&&(Mj(t)==="object"||typeof t=="function")?t:kj(e)}function b_(e,t){return b_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},b_(e,t)}function Mj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(sg=function(){return!!e})()}var Pr=function(e){jj(t,e);function t(n){xj(this,t);var o;return o=Dj(this,t,[n]),h_(o,"props",void 0),o.props=new Aj(n==null?void 0:n.props),o}return Fj(t,null,[{key:"controlName",get:function(){return"\u5BFC\u5165"}},{key:"controlIcon",get:function(){return"iconshangchuan3"}},{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),t}(pt);h_(Pr,"controlEventKeys",["on_click","on_click_finish"]),h_(Pr,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}]);function Er(){return{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:d.getMessage("pleaseSelectControl")}}}}}}function Nj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pg(e,t,n){return t=Sr(t),Vj(e,bg()?Reflect.construct(t,n||[],Sr(e).constructor):t.apply(e,n))}function dg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sr(e){return Sr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sr(e)}function vg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g_(e,t)}function hg(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Zt(e,r,n[r])})}return e}function Vj(e,t){return t&&(zj(t)==="object"||typeof t=="function")?t:Nj(e)}function g_(e,t){return g_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},g_(e,t)}function zj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(bg=function(){return!!e})()}var Hj=function(e){vg(t,e);function t(n){dg(this,t);var o;return o=pg(this,t,[n]),Zt(o,"fillPayload",{type:"object",fields:hg({},Er())}),Zt(o,"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}}}),Zt(o,"fillBack",{type:"object",fields:hg({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},Er())}),(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:d.getMessage("pleaseSelectControl")}),o}return t}(W),gg=function(e){vg(t,e);function t(n){dg(this,t);var o;o=pg(this,t,[n]),Zt(o,"fillPayload",void 0),Zt(o,"formBind",void 0),Zt(o,"fillBack",void 0),Zt(o,"command",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:Rr.controlName;var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Rr.controlIcon;var u;return o.command=(u=n==null?void 0:n.command)!==null&&u!==void 0?u:"create",o.fillPayload=new w0(n==null?void 0:n.fillPayload),o.formBind=new BA(n==null?void 0:n.formBind),o.fillBack=new $0(n==null?void 0:n.fillBack),o}return t}(mt);Zt(gg,"Rules",Hj);function qj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uj(e,t,n){return t=Tr(t),Gj(e,Og()?Reflect.construct(t,n||[],Tr(e).constructor):t.apply(e,n))}function Cj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Wj(e,t,n){return t&&mg(e.prototype,t),n&&mg(e,n),e}function m_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tr(e){return Tr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tr(e)}function Kj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&O_(e,t)}function Gj(e,t){return t&&(Xj(t)==="object"||typeof t=="function")?t:qj(e)}function O_(e,t){return O_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},O_(e,t)}function Xj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Og(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Og=function(){return!!e})()}var Rr=function(e){Kj(t,e);function t(n){Cj(this,t);var o;return o=Uj(this,t,[n]),m_(o,"props",void 0),o.props=new gg(n==null?void 0:n.props),o}return Wj(t,null,[{key:"controlName",get:function(){return"\u8868\u5355\u64CD\u4F5C"}},{key:"controlIcon",get:function(){return"iconbiaodancaozuo"}},{key:"controlType",get:function(){return"form-select-button"}}]),t}(pt);m_(Rr,"controlEventKeys",["on_click","on_click_finish"]),m_(Rr,"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:[_.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function Jj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wg(e,t,n){return t=Br(t),Qj(e,Sg()?Reflect.construct(t,n||[],Br(e).constructor):t.apply(e,n))}function $g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Br(e){return Br=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Br(e)}function Pg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w_(e,t)}function Eg(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){kt(e,r,n[r])})}return e}function Qj(e,t){return t&&(Zj(t)==="object"||typeof t=="function")?t:Jj(e)}function w_(e,t){return w_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},w_(e,t)}function Zj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Sg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Sg=function(){return!!e})()}var Yj=function(e){Pg(t,e);function t(n){$g(this,t);var o;return o=wg(this,t,[n]),kt(o,"fillPayload",{type:"object",fields:Eg({},Er())}),kt(o,"listPageBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}}),kt(o,"fillBack",{type:"object",fields:Eg({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},Er())}),o}return t}(W),Tg=function(e){Pg(t,e);function t(n){$g(this,t);var o;o=wg(this,t,[n]),kt(o,"fillPayload",void 0),kt(o,"listPageBind",void 0),kt(o,"disableFilling",void 0),kt(o,"fillBack",void 0),kt(o,"showSelectedDetail",void 0),kt(o,"selectedContentConfig",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:Ar.controlName;var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Ar.controlIcon,o.fillPayload=new w0(n==null?void 0:n.fillPayload),o.listPageBind=new Wa(n==null?void 0:n.listPageBind),o.fillBack=new $0(n==null?void 0:n.fillBack);var u;o.showSelectedDetail=(u=n==null?void 0:n.showSelectedDetail)!==null&&u!==void 0?u:!1,o.selectedContentConfig=new Ja(n==null?void 0:n.selectedContentConfig);var c;return o.disableFilling=(c=n==null?void 0:n.disableFilling)!==null&&c!==void 0?c:!0,o}return t}(mt);kt(Tg,"Rules",Yj);function tL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eL(e,t,n){return t=Ir(t),iL(e,Bg()?Reflect.construct(t,n||[],Ir(e).constructor):t.apply(e,n))}function nL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function oL(e,t,n){return t&&Rg(e.prototype,t),n&&Rg(e,n),e}function $_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ir(e){return Ir=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ir(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&&P_(e,t)}function iL(e,t){return t&&(uL(t)==="object"||typeof t=="function")?t:tL(e)}function P_(e,t){return P_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},P_(e,t)}function uL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Bg=function(){return!!e})()}var Ar=function(e){rL(t,e);function t(n){nL(this,t);var o;return o=eL(this,t,[n]),$_(o,"props",void 0),o.props=new Tg(n==null?void 0:n.props),o}return oL(t,null,[{key:"controlName",get:function(){return"\u5217\u8868\u9009\u62E9"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-select-button"}}]),t}(pt);$_(Ar,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),$_(Ar,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function cL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E_(e,t,n){return t=kr(t),lL(e,Ag()?Reflect.construct(t,n||[],kr(e).constructor):t.apply(e,n))}function S_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ig(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kr(e){return kr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kr(e)}function T_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&R_(e,t)}function lL(e,t){return t&&(aL(t)==="object"||typeof t=="function")?t:cL(e)}function R_(e,t){return R_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},R_(e,t)}function aL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ag(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ag=function(){return!!e})()}var fL=function(e){T_(t,e);function t(n){return S_(this,t),E_(this,t,[n])}return t}(W),_L=function(e){T_(t,e);function t(n){return S_(this,t),E_(this,t,[n])}return t}(be),B_=function(e){T_(t,e);function t(n){return S_(this,t),E_(this,t,[n])}return t}(K);Ig(B_,"Rules",fL),Ig(B_,"RuntimeRules",_L);function yL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sL(e,t,n){return t=Dr(t),hL(e,xg()?Reflect.construct(t,n||[],Dr(e).constructor):t.apply(e,n))}function pL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function dL(e,t,n){return t&&kg(e.prototype,t),n&&kg(e,n),e}function Dg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Dr(e){return Dr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dr(e)}function vL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&I_(e,t)}function hL(e,t){return t&&(bL(t)==="object"||typeof t=="function")?t:yL(e)}function I_(e,t){return I_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},I_(e,t)}function bL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(xg=function(){return!!e})()}var gL=function(e){vL(t,e);function t(n){pL(this,t);var o;return o=sL(this,t,[n]),Dg(o,"props",void 0),o.props=new B_(n==null?void 0:n.props),o}return dL(t,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),t}(M);Dg(gL,"setting",[]);function mL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fg(e,t,n){return t=xr(t),OL(e,Mg()?Reflect.construct(t,n||[],xr(e).constructor):t.apply(e,n))}function jg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Et(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xr(e){return xr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xr(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&&A_(e,t)}function OL(e,t){return t&&(wL(t)==="object"||typeof t=="function")?t:mL(e)}function A_(e,t){return A_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},A_(e,t)}function wL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Mg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Mg=function(){return!!e})()}var $L=function(e){Lg(t,e);function t(n){jg(this,t);var o;return o=Fg(this,t,[n]),Et(o,"dashboardKey",{type:"string",required:!0,message:d.getMessage("pleaseSelectDashboard")}),Et(o,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),Et(o,"isHideCaption",{type:"boolean"}),Et(o,"labelPosition",{type:"enum",enum:["top","left"]}),Et(o,"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return t}(W),Ng=function(e){Lg(t,e);function t(n){jg(this,t);var o;o=Fg(this,t,[n]),Et(o,"dashboardKey",void 0),Et(o,"caption",void 0),Et(o,"isHideCaption",void 0),Et(o,"isShowCaptionTip",void 0),Et(o,"captionTip",void 0),Et(o,"labelPosition",void 0);var r;o.dashboardKey=(r=n==null?void 0:n.dashboardKey)!==null&&r!==void 0?r:"";var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var c;o.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var l;return o.labelPosition=(l=n==null?void 0:n.labelPosition)!==null&&l!==void 0?l:"top",o}return t}(K);Et(Ng,"Rules",$L);function PL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EL(e,t,n){return t=Fr(t),BL(e,Hg()?Reflect.construct(t,n||[],Fr(e).constructor):t.apply(e,n))}function SL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function TL(e,t,n){return t&&Vg(e.prototype,t),n&&Vg(e,n),e}function zg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fr(e){return Fr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fr(e)}function 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&&k_(e,t)}function BL(e,t){return t&&(IL(t)==="object"||typeof t=="function")?t:PL(e)}function k_(e,t){return k_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},k_(e,t)}function IL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Hg=function(){return!!e})()}var AL=function(e){RL(t,e);function t(n){SL(this,t);var o;return o=EL(this,t,[n]),zg(o,"props",void 0),o.props=new Ng(n==null?void 0:n.props),o}return TL(t,null,[{key:"controlName",get:function(){return"\u4EEA\u8868\u76D8"}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),t}(M);zg(AL,"setting",[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE,_.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function kL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qg(e,t,n){return t=jr(t),DL(e,Wg()?Reflect.construct(t,n||[],jr(e).constructor):t.apply(e,n))}function Ug(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jr(e){return jr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jr(e)}function Cg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&D_(e,t)}function DL(e,t){return t&&(xL(t)==="object"||typeof t=="function")?t:kL(e)}function D_(e,t){return D_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},D_(e,t)}function xL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Wg=function(){return!!e})()}var FL=function(e){Cg(t,e);function t(n){Ug(this,t);var o;return o=qg(this,t,[n]),eo(o,"showType",{type:"enum",enum:["select","tabs"]}),eo(o,"viewList",{type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:d.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}}}),o}return t}(W),Kg=function(e){Cg(t,e);function t(n){Ug(this,t);var o,r;o=qg(this,t,[n]),eo(o,"showType",void 0),eo(o,"viewList",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"select";var u;return o.viewList=(u=n==null||(r=n.viewList)===null||r===void 0?void 0:r.map(function(c){return new KA(c)}))!==null&&u!==void 0?u:[],o}return t}(K);eo(Kg,"Rules",FL);function jL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LL(e,t,n){return t=Lr(t),zL(e,Jg()?Reflect.construct(t,n||[],Lr(e).constructor):t.apply(e,n))}function ML(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function NL(e,t,n){return t&&Gg(e.prototype,t),n&&Gg(e,n),e}function Xg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lr(e){return Lr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lr(e)}function VL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&x_(e,t)}function zL(e,t){return t&&(HL(t)==="object"||typeof t=="function")?t:jL(e)}function x_(e,t){return x_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},x_(e,t)}function HL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Jg=function(){return!!e})()}var qL=function(e){VL(t,e);function t(n){ML(this,t);var o;return o=LL(this,t,[n]),Xg(o,"props",void 0),o.props=new Kg(n==null?void 0:n.props),o}return NL(t,null,[{key:"controlName",get:function(){return"\u5217\u8868\u89C6\u56FE"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-view-select"}}]),t}(M);Xg(qL,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}]);function UL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qg(e,t,n){return t=Mr(t),CL(e,tm()?Reflect.construct(t,n||[],Mr(e).constructor):t.apply(e,n))}function Zg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mr(e){return Mr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mr(e)}function Yg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&F_(e,t)}function CL(e,t){return t&&(WL(t)==="object"||typeof t=="function")?t:UL(e)}function F_(e,t){return F_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},F_(e,t)}function WL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tm=function(){return!!e})()}var KL=function(e){Yg(t,e);function t(n){Zg(this,t);var o;return o=Qg(this,t,[n]),dt(o,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),dt(o,"isHideCaption",{type:"boolean"}),dt(o,"labelPosition",{type:"enum",enum:["top","left"]}),dt(o,"ocrType",{type:"string",required:!0,message:d.getMessage("pleaseSelectOcrType")}),dt(o,"fillList",{type:"array",validator:function(i,u,c){var a=u.every(function(l){return!l.controlId});if(a){c(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}c()}}),dt(o,"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return t}(W),em=function(e){Yg(t,e);function t(n){Zg(this,t);var o,r;o=Qg(this,t,[n]),dt(o,"caption",void 0),dt(o,"isHideCaption",void 0),dt(o,"isShowCaptionTip",void 0),dt(o,"captionTip",void 0),dt(o,"labelPosition",void 0),dt(o,"ocrType",void 0),dt(o,"fillList",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:no.controlName;var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var c;o.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var l;o.labelPosition=(l=n==null?void 0:n.labelPosition)!==null&&l!==void 0?l:"top";var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:no.controlName;var y;o.icon=(y=n==null?void 0:n.icon)!==null&&y!==void 0?y:no.controlIcon;var p;o.ocrType=(p=n==null?void 0:n.ocrType)!==null&&p!==void 0?p:"";var b;return o.fillList=(b=n==null||(r=n.fillList)===null||r===void 0?void 0:r.map(function(O){return new st(O)}))!==null&&b!==void 0?b:[],o}return t}(mt);dt(em,"Rules",KL);function GL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XL(e,t,n){return t=Nr(t),YL(e,om()?Reflect.construct(t,n||[],Nr(e).constructor):t.apply(e,n))}function JL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function QL(e,t,n){return t&&nm(e.prototype,t),n&&nm(e,n),e}function j_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nr(e){return Nr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nr(e)}function ZL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 YL(e,t){return t&&(tM(t)==="object"||typeof t=="function")?t:GL(e)}function L_(e,t){return L_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},L_(e,t)}function tM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function om(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(om=function(){return!!e})()}var no=function(e){ZL(t,e);function t(n){JL(this,t);var o;return o=XL(this,t,[n]),j_(o,"props",void 0),o.props=new em(n==null?void 0:n.props),o}return QL(t,null,[{key:"controlName",get:function(){return"\u6587\u5B57\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconwenzishibie"}},{key:"controlType",get:function(){return"text-ocr-button"}}]),t}(pt);j_(no,"controlEventKeys",["on_click","on_click_finish"]),j_(no,"setting",[{key:"caption",showItems:[_.CAPTION,_.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:[_.IS_HIDE,_.IS_SHOW_CAPTION_TIP]},{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 rm(e,t,n){return t=Vr(t),nM(e,cm()?Reflect.construct(t,n||[],Vr(e).constructor):t.apply(e,n))}function im(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vr(e){return Vr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vr(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&&M_(e,t)}function nM(e,t){return t&&(oM(t)==="object"||typeof t=="function")?t:eM(e)}function M_(e,t){return M_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},M_(e,t)}function oM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(cm=function(){return!!e})()}var rM=function(e){um(t,e);function t(n){im(this,t);var o;return o=rm(this,t,[n]),vt(o,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),vt(o,"isHideCaption",{type:"boolean"}),vt(o,"labelPosition",{type:"enum",enum:["top","left"]}),vt(o,"invoiceCheck",{type:"boolean"}),vt(o,"fillList",{type:"array",validator:function(i,u,c){var a=u.every(function(l){return!l.controlId});if(a){c(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}c()}}),vt(o,"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return t}(W),lm=function(e){um(t,e);function t(n){im(this,t);var o,r;o=rm(this,t,[n]),vt(o,"caption",void 0),vt(o,"isHideCaption",void 0),vt(o,"isShowCaptionTip",void 0),vt(o,"captionTip",void 0),vt(o,"labelPosition",void 0),vt(o,"invoiceCheck",void 0),vt(o,"fillList",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:oo.controlName;var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var c;o.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var l;o.labelPosition=(l=n==null?void 0:n.labelPosition)!==null&&l!==void 0?l:"top";var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:oo.controlName;var y;o.icon=(y=n==null?void 0:n.icon)!==null&&y!==void 0?y:oo.controlIcon;var p;o.invoiceCheck=(p=n==null?void 0:n.invoiceCheck)!==null&&p!==void 0?p:!0;var b;return o.fillList=(b=n==null||(r=n.fillList)===null||r===void 0?void 0:r.map(function(O){return new st(O)}))!==null&&b!==void 0?b:[],o}return t}(mt);vt(lm,"Rules",rM);function iM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uM(e,t,n){return t=zr(t),fM(e,fm()?Reflect.construct(t,n||[],zr(e).constructor):t.apply(e,n))}function cM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function am(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function lM(e,t,n){return t&&am(e.prototype,t),n&&am(e,n),e}function N_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zr(e){return zr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zr(e)}function aM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&V_(e,t)}function fM(e,t){return t&&(_M(t)==="object"||typeof t=="function")?t:iM(e)}function V_(e,t){return V_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},V_(e,t)}function _M(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(fm=function(){return!!e})()}var oo=function(e){aM(t,e);function t(n){cM(this,t);var o;return o=uM(this,t,[n]),N_(o,"props",void 0),o.props=new lm(n==null?void 0:n.props),o}return lM(t,null,[{key:"controlName",get:function(){return"\u53D1\u7968\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconfabiaoshibie1"}},{key:"controlType",get:function(){return"invoice-check-button"}}]),t}(pt);N_(oo,"controlEventKeys",["on_click","on_click_finish"]),N_(oo,"setting",[{key:"caption",showItems:[_.CAPTION,_.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:[_.IS_HIDE,_.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function yM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _m(e,t,n){return t=qr(t),sM(e,pm()?Reflect.construct(t,n||[],qr(e).constructor):t.apply(e,n))}function ym(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qr(e){return qr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qr(e)}function 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&&z_(e,t)}function sM(e,t){return t&&(pM(t)==="object"||typeof t=="function")?t:yM(e)}function z_(e,t){return z_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},z_(e,t)}function pM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(pm=function(){return!!e})()}var dM=function(e){sm(t,e);function t(){ym(this,t);var n;return n=_m(this,t,arguments),Hr(n,"printTemplates",{type:"array",min:1,required:!0,message:d.getMessage("pleaseUploadAtLeastOnePrintTemplate")}),n}return t}(W),dm=function(e){sm(t,e);function t(n){ym(this,t);var o,r;o=_m(this,t,[n]),Hr(o,"printTemplates",void 0),Hr(o,"autoSelectTemplate",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Cr.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:Cr.controlName;var c;o.printTemplates=(c=n==null||(r=n.printTemplates)===null||r===void 0?void 0:r.map(function(l){return new Vx(l)}))!==null&&c!==void 0?c:[];var a;return o.autoSelectTemplate=(a=n==null?void 0:n.autoSelectTemplate)!==null&&a!==void 0?a:!1,o}return t}(mt);Hr(dm,"Rules",dM);function vM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hM(e,t,n){return t=Ur(t),OM(e,hm()?Reflect.construct(t,n||[],Ur(e).constructor):t.apply(e,n))}function bM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function gM(e,t,n){return t&&vm(e.prototype,t),n&&vm(e,n),e}function H_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ur(e){return Ur=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ur(e)}function mM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&q_(e,t)}function OM(e,t){return t&&(wM(t)==="object"||typeof t=="function")?t:vM(e)}function q_(e,t){return q_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},q_(e,t)}function wM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(hm=function(){return!!e})()}var Cr=function(e){mM(t,e);function t(n){bM(this,t);var o;return o=hM(this,t,[n]),H_(o,"props",void 0),o.props=new dm(n==null?void 0:n.props),o}return gM(t,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u6253\u5370"}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),t}(pt);H_(Cr,"controlEventKeys",["on_click","on_click_finish"]),H_(Cr,"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 $M(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PM(e,t,n){return t=Wr(t),TM(e,bm()?Reflect.construct(t,n||[],Wr(e).constructor):t.apply(e,n))}function EM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wr(e){return Wr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wr(e)}function 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&&U_(e,t)}function TM(e,t){return t&&(RM(t)==="object"||typeof t=="function")?t:$M(e)}function U_(e,t){return U_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},U_(e,t)}function RM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(bm=function(){return!!e})()}var BM=function(e){SM(t,e);function t(n){EM(this,t);var o;o=PM(this,t,[n]);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:Gr.controlName;var i;return o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Gr.controlIcon,o}return t}(mt);function IM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AM(e,t,n){return t=Kr(t),FM(e,mm()?Reflect.construct(t,n||[],Kr(e).constructor):t.apply(e,n))}function kM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function DM(e,t,n){return t&&gm(e.prototype,t),n&&gm(e,n),e}function C_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Kr(e){return Kr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kr(e)}function xM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&W_(e,t)}function FM(e,t){return t&&(jM(t)==="object"||typeof t=="function")?t:IM(e)}function W_(e,t){return W_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},W_(e,t)}function jM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(mm=function(){return!!e})()}var Gr=function(e){xM(t,e);function t(n){kM(this,t);var o;return o=AM(this,t,[n]),C_(o,"props",void 0),o.props=new BM(n==null?void 0:n.props),o}return DM(t,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u6253\u5370\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),t}(pt);C_(Gr,"controlEventKeys",["on_click"]),C_(Gr,"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 LM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Om(e,t,n){return t=Xr(t),MM(e,Pm()?Reflect.construct(t,n||[],Xr(e).constructor):t.apply(e,n))}function wm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xr(e){return Xr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xr(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&&K_(e,t)}function MM(e,t){return t&&(NM(t)==="object"||typeof t=="function")?t:LM(e)}function K_(e,t){return K_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},K_(e,t)}function NM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Pm=function(){return!!e})()}var VM=function(e){$m(t,e);function t(n){wm(this,t);var o;return o=Om(this,t,[n]),_t(o,"formKey",{type:"string",required:!1}),(n.command==="edit"||n.command==="view")&&(o.formKey={type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}),o}return t}(W),Jr=function(e){$m(t,e);function t(n){wm(this,t);var o;o=Om(this,t,[n]),_t(o,"content",void 0),_t(o,"code",void 0),_t(o,"command",void 0),_t(o,"color",void 0),_t(o,"icon",void 0),_t(o,"formKey",void 0),_t(o,"openType",void 0),_t(o,"needConfirm",void 0),_t(o,"confirmMessage",void 0),_t(o,"options",void 0),_t(o,"defaultState",void 0),_t(o,"priorityProcess",void 0),_t(o,"isLoading",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:"\u6309\u94AE",o.code=n==null?void 0:n.code;var i;o.command=(i=n==null?void 0:n.command)!==null&&i!==void 0?i:"custom";var u;o.color=(u=n==null?void 0:n.color)!==null&&u!==void 0?u:"primary",o.icon=n==null?void 0:n.icon,o.formKey=n==null?void 0:n.formKey,o.openType=n==null?void 0:n.openType,o.needConfirm=n==null?void 0:n.needConfirm,o.confirmMessage=n==null?void 0:n.confirmMessage,o.options=n==null?void 0:n.options;var c;o.defaultState=(c=n==null?void 0:n.defaultState)!==null&&c!==void 0?c:"default",o.priorityProcess=n==null?void 0:n.priorityProcess;var a;return o.isLoading=(a=n==null?void 0:n.isLoading)!==null&&a!==void 0?a:!1,o}return t}(K);_t(Jr,"Rules",VM);function zM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HM(e,t,n){return t=Qr(t),WM(e,Sm()?Reflect.construct(t,n||[],Qr(e).constructor):t.apply(e,n))}function qM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Em(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function UM(e,t,n){return t&&Em(e.prototype,t),n&&Em(e,n),e}function G_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qr(e){return Qr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qr(e)}function CM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&X_(e,t)}function WM(e,t){return t&&(KM(t)==="object"||typeof t=="function")?t:zM(e)}function X_(e,t){return X_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},X_(e,t)}function KM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Sm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Sm=function(){return!!e})()}var Zr=function(e){CM(t,e);function t(n){qM(this,t);var o;return o=HM(this,t,[n]),G_(o,"props",void 0),o.props=new Jr(n==null?void 0:n.props),o}return UM(t,null,[{key:"controlName",get:function(){return"\u64CD\u4F5C\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"operation-button"}}]),t}(M);G_(Zr,"controlEventKeys",["on_click"]),G_(Zr,"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:[_.IS_HIDE]},{key:"super-setting",visible:!0}]);function GM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XM(e,t,n){return t=Yr(t),t5(e,Rm()?Reflect.construct(t,n||[],Yr(e).constructor):t.apply(e,n))}function JM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function QM(e,t,n){return t&&Tm(e.prototype,t),n&&Tm(e,n),e}function ZM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yr(e){return Yr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yr(e)}function YM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&J_(e,t)}function t5(e,t){return t&&(e5(t)==="object"||typeof t=="function")?t:GM(e)}function J_(e,t){return J_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},J_(e,t)}function e5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Rm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Rm=function(){return!!e})()}var n5=function(e){YM(t,e);function t(n){JM(this,t);var o;return o=XM(this,t,[n]),ZM(o,"props",void 0),o.props=new Jr(n==null?void 0:n.props),o}return QM(t,null,[{key:"controlType",get:function(){return"operation-button"}}]),t}(Jt),Q_={Designer:Zr,Runtime:n5,Property:Jr};function o5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r5(e,t,n){return t=ti(t),c5(e,Bm()?Reflect.construct(t,n||[],ti(e).constructor):t.apply(e,n))}function i5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ti(e){return ti=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ti(e)}function u5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 c5(e,t){return t&&(l5(t)==="object"||typeof t=="function")?t:o5(e)}function Z_(e,t){return Z_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Z_(e,t)}function l5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Bm=function(){return!!e})()}var a5=function(e){u5(t,e);function t(n){i5(this,t);var o;o=r5(this,t,[n]),se(o,"content",void 0),se(o,"buttonType",void 0),se(o,"showType",void 0),se(o,"color",void 0),se(o,"icon",void 0),se(o,"defaultState",void 0),se(o,"command",void 0),se(o,"isLoading",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:ni.controlName;var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:ni.controlIcon;var u;o.buttonType=(u=n==null?void 0:n.buttonType)!==null&&u!==void 0?u:"primary";var c;o.showType=(c=n==null?void 0:n.showType)!==null&&c!==void 0?c:"iconText";var a;o.color=(a=n==null?void 0:n.color)!==null&&a!==void 0?a:"danger";var l;o.isHide=(l=n==null?void 0:n.isHide)!==null&&l!==void 0?l:!1;var f;o.defaultState=(f=n==null?void 0:n.defaultState)!==null&&f!==void 0?f:"default";var y;o.command=(y=n==null?void 0:n.command)!==null&&y!==void 0?y:"custom";var p;return o.isLoading=(p=n==null?void 0:n.isLoading)!==null&&p!==void 0?p:!1,o}return t}(K);function f5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _5(e,t,n){return t=ei(t),d5(e,Am()?Reflect.construct(t,n||[],ei(e).constructor):t.apply(e,n))}function y5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Im(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function s5(e,t,n){return t&&Im(e.prototype,t),n&&Im(e,n),e}function Y_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ei(e){return ei=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ei(e)}function p5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ty(e,t)}function d5(e,t){return t&&(v5(t)==="object"||typeof t=="function")?t:f5(e)}function ty(e,t){return ty=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ty(e,t)}function v5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Am(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Am=function(){return!!e})()}var ni=function(e){p5(t,e);function t(n){y5(this,t);var o;return o=_5(this,t,[n]),Y_(o,"props",void 0),o.props=new a5(n==null?void 0:n.props),o}return s5(t,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u5220\u9664"}},{key:"controlIcon",get:function(){return"iconlajitong"}},{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),t}(M);Y_(ni,"controlEventKeys",["on_click"]),Y_(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:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"super-setting",visible:!0}]);function h5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ey(e,t,n){return t=oi(t),b5(e,km()?Reflect.construct(t,n||[],oi(e).constructor):t.apply(e,n))}function ny(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oi(e){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oi(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&&ry(e,t)}function b5(e,t){return t&&(g5(t)==="object"||typeof t=="function")?t:h5(e)}function ry(e,t){return ry=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ry(e,t)}function g5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function km(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(km=function(){return!!e})()}var m5=function(e){oy(t,e);function t(n){ny(this,t);var o;return o=ey(this,t,[n]),Dt(o,"maxLength",{type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),Dt(o,"minLength",{type:"number",max:200,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),Dt(o,"defaultValue",[{type:"string",max:200,min:0,message:d.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=d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o.defaultValue[1].pattern=er(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return t}(ut),O5=function(e){oy(t,e);function t(n){ny(this,t);var o;return o=ey(this,t,[n]),o.push({type:"string",message:d.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:er(n.regularRules.expression),message:n.regularRules.errMessage}),o}return t}(z),ro=function(e){oy(t,e);function t(n){ny(this,t);var o;o=ey(this,t,[n]),Dt(o,"maxLength",void 0),Dt(o,"minLength",void 0),Dt(o,"regularRules",void 0),Dt(o,"defaultValue",void 0),Dt(o,"encrypted",void 0),Dt(o,"encryptedMode",void 0);var r;o.maxLength=(r=n==null?void 0:n.maxLength)!==null&&r!==void 0?r:200;var i;o.minLength=(i=n==null?void 0:n.minLength)!==null&&i!==void 0?i:0,o.regularRules=new Qa(n==null?void 0:n.regularRules);var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:"";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:io.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var l;o.encrypted=(l=n==null?void 0:n.encrypted)!==null&&l!==void 0?l:!1;var f;return o.encryptedMode=(f=n==null?void 0:n.encryptedMode)!==null&&f!==void 0?f:"",o}return t}(D);Dt(ro,"Rules",m5),Dt(ro,"RuntimeRules",O5);function w5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $5(e,t,n){return t=ii(t),T5(e,xm()?Reflect.construct(t,n||[],ii(e).constructor):t.apply(e,n))}function P5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function E5(e,t,n){return t&&Dm(e.prototype,t),n&&Dm(e,n),e}function ri(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ii(e){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ii(e)}function S5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 T5(e,t){return t&&(R5(t)==="object"||typeof t=="function")?t:w5(e)}function iy(e,t){return iy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},iy(e,t)}function R5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(xm=function(){return!!e})()}var io=function(e){S5(t,e);function t(n){P5(this,t);var o;return o=$5(this,t,[n]),ri(o,"props",void 0),o.props=new ro(n==null?void 0:n.props),o}return E5(t,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconSingleline_new1"}},{key:"controlType",get:function(){return"input"}}]),t}(x);ri(io,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),ri(io,"controlFieldType",g.VARCHAR),ri(io,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP,_.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 B5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I5(e,t,n){return t=ui(t),x5(e,Lm()?Reflect.construct(t,n||[],ui(e).constructor):t.apply(e,n))}function A5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function k5(e,t,n){return t&&Fm(e.prototype,t),n&&Fm(e,n),e}function jm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ui(e){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ui(e)}function 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&&uy(e,t)}function x5(e,t){return t&&(F5(t)==="object"||typeof t=="function")?t:B5(e)}function uy(e,t){return uy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},uy(e,t)}function F5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Lm=function(){return!!e})()}var j5=function(e){D5(t,e);function t(n){A5(this,t);var o;return o=I5(this,t,[n]),jm(o,"props",void 0),o.props=new ro(n==null?void 0:n.props),o}return k5(t,null,[{key:"controlType",get:function(){return"input"}}]),t}(F);jm(j5,"controlFieldType",g.VARCHAR);function L5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cy(e,t,n){return t=ci(t),M5(e,Mm()?Reflect.construct(t,n||[],ci(e).constructor):t.apply(e,n))}function ly(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ci(e){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ci(e)}function ay(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 M5(e,t){return t&&(N5(t)==="object"||typeof t=="function")?t:L5(e)}function fy(e,t){return fy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fy(e,t)}function N5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Mm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Mm=function(){return!!e})()}var V5=function(e){ay(t,e);function t(n){ly(this,t);var o;o=cy(this,t,[n]),nt(o,"limitMax",{type:"number",min:void 0,message:d.getMessage("PleaseReselectTheOptionalQuantity")});var r=n.limitMax==="unlimited";r&&(o.limitMax.type="string");var i=function(u){return u==="unlimited"?void 0:u};return o.limitMax.min=i(n.limitMin),o}return t}(Me),z5=function(e){ay(t,e);function t(n){ly(this,t);var o;return o=cy(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o.push({type:"array",max:typeof n.limitMax=="number"?n.limitMax:void 0,min:typeof n.limitMin=="number"?n.limitMin:void 0}),o}return t}(z),li=function(e){ay(t,e);function t(n){ly(this,t);var o;o=cy(this,t,[n]),nt(o,"checkboxMode",void 0),nt(o,"options",void 0),nt(o,"optionsOrder",void 0),nt(o,"limitMax",void 0),nt(o,"limitMin",void 0),nt(o,"otherOption",void 0),nt(o,"optionConfig",void 0),nt(o,"optionsFormat",void 0),nt(o,"defaultShowOptions",void 0),nt(o,"datasourceBind",void 0),nt(o,"multistageFilling",void 0),nt(o,"interreaction",void 0),nt(o,"defaultValue",void 0),nt(o,"openMultistageFilling",void 0);var r;o.options=Xt((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var i;o.checkboxMode=(i=n==null?void 0:n.checkboxMode)!==null&&i!==void 0?i:"horizontal";var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"custom";var c;o.optionsOrder=(c=n==null?void 0:n.optionsOrder)!==null&&c!==void 0?c:!1;var a;o.otherOption=(a=n==null?void 0:n.otherOption)!==null&&a!==void 0?a:!1;var l;o.limitMin=(l=n==null?void 0:n.limitMin)!==null&&l!==void 0?l:"unlimited";var f;o.limitMax=(f=n==null?void 0:n.limitMax)!==null&&f!==void 0?f:"unlimited",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var y;o.interreaction=(y=n==null?void 0:n.interreaction)!==null&&y!==void 0?y:[];var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:_i.controlName;var b;o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:[];var O;o.optionsFormat=(O=n==null?void 0:n.optionsFormat)!==null&&O!==void 0?O:"horizontal";var m;o.defaultShowOptions=(m=n==null?void 0:n.defaultShowOptions)!==null&&m!==void 0?m:!0;var w;return o.openMultistageFilling=(w=n==null?void 0:n.openMultistageFilling)!==null&&w!==void 0?w:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(h){var $;($=o.multistageFilling)===null||$===void 0||$.push(new st(h))})),o}return t}(D);nt(li,"Rules",V5),nt(li,"RuntimeRules",z5);function H5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q5(e,t,n){return t=fi(t),K5(e,Vm()?Reflect.construct(t,n||[],fi(e).constructor):t.apply(e,n))}function U5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function C5(e,t,n){return t&&Nm(e.prototype,t),n&&Nm(e,n),e}function ai(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fi(e){return fi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fi(e)}function W5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_y(e,t)}function K5(e,t){return t&&(G5(t)==="object"||typeof t=="function")?t:H5(e)}function _y(e,t){return _y=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_y(e,t)}function G5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Vm=function(){return!!e})()}var _i=function(e){W5(t,e);function t(n){U5(this,t);var o;return o=q5(this,t,[n]),ai(o,"props",void 0),o.props=new li(n==null?void 0:n.props),o}return C5(t,null,[{key:"controlName",get:function(){return"\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),t}(x);ai(_i,"controlEventKeys",["on_change","on_click"]),ai(_i,"controlFieldType",g.ARRAY),ai(_i,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.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 X5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function J5(e,t,n){return t=yi(t),tN(e,qm()?Reflect.construct(t,n||[],yi(e).constructor):t.apply(e,n))}function Q5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Z5(e,t,n){return t&&zm(e.prototype,t),n&&zm(e,n),e}function Hm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yi(e){return yi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yi(e)}function 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&&yy(e,t)}function tN(e,t){return t&&(eN(t)==="object"||typeof t=="function")?t:X5(e)}function yy(e,t){return yy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yy(e,t)}function eN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(qm=function(){return!!e})()}var nN=function(e){Y5(t,e);function t(n){Q5(this,t);var o;return o=J5(this,t,[n]),Hm(o,"props",void 0),o.props=new li(n==null?void 0:n.props),o}return Z5(t,null,[{key:"controlType",get:function(){return"checkbox"}}]),t}(F);Hm(nN,"controlFieldType",g.ARRAY);function oN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Um(e,t,n){return t=si(t),rN(e,Km()?Reflect.construct(t,n||[],si(e).constructor):t.apply(e,n))}function Cm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ot(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function si(e){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},si(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&&sy(e,t)}function rN(e,t){return t&&(iN(t)==="object"||typeof t=="function")?t:oN(e)}function sy(e,t){return sy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sy(e,t)}function iN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Km(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Km=function(){return!!e})()}var uN=function(e){Wm(t,e);function t(n){return Cm(this,t),Um(this,t,[n])}return t}(Me),py=function(e){Wm(t,e);function t(n){Cm(this,t);var o;o=Um(this,t,[n]),Ot(o,"radioMode",void 0),Ot(o,"options",void 0),Ot(o,"optionConfig",void 0),Ot(o,"optionsFormat",void 0),Ot(o,"defaultShowOptions",void 0),Ot(o,"otherOption",void 0),Ot(o,"optionsOrder",void 0),Ot(o,"datasourceBind",void 0),Ot(o,"multistageFilling",void 0),Ot(o,"interreaction",void 0),Ot(o,"defaultValue",void 0),Ot(o,"openMultistageFilling",void 0);var r;o.options=Xt((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var i;o.radioMode=(i=n==null?void 0:n.radioMode)!==null&&i!==void 0?i:"horizontal";var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"custom";var c;o.otherOption=(c=n==null?void 0:n.otherOption)!==null&&c!==void 0?c:!1;var a;o.optionsOrder=(a=n==null?void 0:n.optionsOrder)!==null&&a!==void 0?a:!1;var l;o.defaultShowOptions=(l=n==null?void 0:n.defaultShowOptions)!==null&&l!==void 0?l:!0;var f;o.optionsFormat=(f=n==null?void 0:n.optionsFormat)!==null&&f!==void 0?f:"horizontal",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var y;o.interreaction=(y=n==null?void 0:n.interreaction)!==null&&y!==void 0?y:[];var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:vi.controlName;var b;o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:"";var O;return o.openMultistageFilling=(O=n==null?void 0:n.openMultistageFilling)!==null&&O!==void 0?O:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(m){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new st(m))})),o}return t}(D);Ot(py,"Rules",uN);function cN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lN(e,t,n){return t=di(t),yN(e,Xm()?Reflect.construct(t,n||[],di(e).constructor):t.apply(e,n))}function aN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function fN(e,t,n){return t&&Gm(e.prototype,t),n&&Gm(e,n),e}function pi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function di(e){return di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},di(e)}function _N(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dy(e,t)}function yN(e,t){return t&&(sN(t)==="object"||typeof t=="function")?t:cN(e)}function dy(e,t){return dy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dy(e,t)}function sN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Xm=function(){return!!e})()}var vi=function(e){_N(t,e);function t(n){aN(this,t);var o;return o=lN(this,t,[n]),pi(o,"props",void 0),o.props=new py(n==null?void 0:n.props),o}return fN(t,null,[{key:"controlName",get:function(){return"\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),t}(x);pi(vi,"controlEventKeys",["on_change","on_click"]),pi(vi,"controlFieldType",g.VARCHAR),pi(vi,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}]);function pN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dN(e,t,n){return t=hi(t),gN(e,Zm()?Reflect.construct(t,n||[],hi(e).constructor):t.apply(e,n))}function vN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function hN(e,t,n){return t&&Jm(e.prototype,t),n&&Jm(e,n),e}function Qm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hi(e){return hi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hi(e)}function bN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vy(e,t)}function gN(e,t){return t&&(mN(t)==="object"||typeof t=="function")?t:pN(e)}function vy(e,t){return vy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vy(e,t)}function mN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Zm=function(){return!!e})()}var ON=function(e){bN(t,e);function t(n){vN(this,t);var o;return o=dN(this,t,[n]),Qm(o,"props",void 0),o.props=new py(n==null?void 0:n.props),o}return hN(t,null,[{key:"controlType",get:function(){return"radio"}}]),t}(F);Qm(ON,"controlFieldType",g.VARCHAR);function wN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hy(e,t,n){return t=bi(t),$N(e,Ym()?Reflect.construct(t,n||[],bi(e).constructor):t.apply(e,n))}function by(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ct(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bi(e){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bi(e)}function gy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&my(e,t)}function $N(e,t){return t&&(PN(t)==="object"||typeof t=="function")?t:wN(e)}function my(e,t){return my=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},my(e,t)}function PN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ym(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ym=function(){return!!e})()}var EN=function(e){gy(t,e);function t(n){by(this,t);var o;o=hy(this,t,[n]),ct(o,"defaultValue",[{type:"number",min:0,max:200,message:d.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}]),ct(o,"rangeMax",{type:"any"});var r=n.rangeMax===""?void 0:n.rangeMax,i=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue[0].max=r,o.defaultValue[0].min=i,o.defaultValue[0].message=d.getMessage("pleaseEnterNumberRange",{max:r,min:i}),i&&r!==void 0&&(o.rangeMax={type:"number",min:i,message:d.getMessage("numberRangeSetError")}),o.defaultValue[1].pattern=er(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return t}(ut),SN=function(e){gy(t,e);function t(n){by(this,t);var o;o=hy(this,t,[n]),o[0]!==void 0&&(o[0].type="number");var r=n.rangeMax!==""?n.rangeMax:void 0,i=n.rangeMin!==""?n.rangeMin:void 0;return o.push({type:"number",max:r,min:i,message:d.getMessage(r===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:r,min:i})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:er(n.regularRules.expression),message:n.regularRules.errMessage}),o}return t}(z),gi=function(e){gy(t,e);function t(n){by(this,t);var o;o=hy(this,t,[n]),ct(o,"rangeMin",void 0),ct(o,"rangeMax",void 0),ct(o,"numberType",void 0),ct(o,"percentageFormat",void 0),ct(o,"micrometer",void 0),ct(o,"precision",void 0),ct(o,"showUpperCase",void 0),ct(o,"isShowUnit",void 0),ct(o,"unitPosition",void 0),ct(o,"unit",void 0),ct(o,"defaultValue",void 0),ct(o,"regularRules",void 0);var r;o.rangeMin=(r=n==null?void 0:n.rangeMin)!==null&&r!==void 0?r:"";var i;o.rangeMax=(i=n==null?void 0:n.rangeMax)!==null&&i!==void 0?i:"";var u;o.numberType=(u=n==null?void 0:n.numberType)!==null&&u!==void 0?u:"number";var c;o.percentageFormat=(c=n==null?void 0:n.percentageFormat)!==null&&c!==void 0?c:!1;var a;o.micrometer=(a=n==null?void 0:n.micrometer)!==null&&a!==void 0?a:!1;var l;o.precision=(l=n==null?void 0:n.precision)!==null&&l!==void 0?l:0;var f;o.showUpperCase=(f=n==null?void 0:n.showUpperCase)!==null&&f!==void 0?f:!1;var y;o.isShowUnit=(y=n==null?void 0:n.isShowUnit)!==null&&y!==void 0?y:!1;var p;o.unitPosition=(p=n==null?void 0:n.unitPosition)!==null&&p!==void 0?p:"right";var b;o.unit=(b=n==null?void 0:n.unit)!==null&&b!==void 0?b:"";var O;o.caption=(O=n==null?void 0:n.caption)!==null&&O!==void 0?O:wi.controlName;var m;o.placeholder=(m=n==null?void 0:n.placeholder)!==null&&m!==void 0?m:"\u8BF7\u8F93\u5165";var w;return o.defaultValue=(w=n==null?void 0:n.defaultValue)!==null&&w!==void 0?w:"",o.regularRules=new Qa(n==null?void 0:n.regularRules),o}return t}(D);ct(gi,"Rules",EN),ct(gi,"RuntimeRules",SN);function TN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RN(e,t,n){return t=We(t),kN(e,eO()?Reflect.construct(t,n||[],We(e).constructor):t.apply(e,n))}function BN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function IN(e,t,n){return t&&tO(e.prototype,t),n&&tO(e,n),e}function mi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Oi(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Oi=Reflect.get:Oi=function(r,i,u){var c=DN(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Oi(e,t,n||e)}function We(e){return We=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},We(e)}function AN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Oy(e,t)}function kN(e,t){return t&&(xN(t)==="object"||typeof t=="function")?t:TN(e)}function Oy(e,t){return Oy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Oy(e,t)}function DN(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=We(e),e!==null););return e}function xN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(eO=function(){return!!e})()}var wi=function(e){AN(t,e);function t(n){BN(this,t);var o;return o=RN(this,t,[n]),mi(o,"props",void 0),o.props=new gi(n==null?void 0:n.props),o}return IN(t,[{key:"toDataBindModel",value:function(o){var r=Oi(We(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.precision,c=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=c}return r}}],[{key:"controlName",get:function(){return"\u6570\u5B57"}},{key:"controlIcon",get:function(){return"iconnuminput_new"}},{key:"controlType",get:function(){return"number"}}]),t}(x);mi(wi,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),mi(wi,"controlFieldType",g.DECIMAL),mi(wi,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_UNIT,_.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:[_.SHOW_UPPER_CASE,_.MICROMETER,_.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function FN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jN(e,t,n){return t=$i(t),VN(e,rO()?Reflect.construct(t,n||[],$i(e).constructor):t.apply(e,n))}function LN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function MN(e,t,n){return t&&nO(e.prototype,t),n&&nO(e,n),e}function oO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $i(e){return $i=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$i(e)}function NN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wy(e,t)}function VN(e,t){return t&&(zN(t)==="object"||typeof t=="function")?t:FN(e)}function wy(e,t){return wy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wy(e,t)}function zN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(rO=function(){return!!e})()}var HN=function(e){NN(t,e);function t(n){LN(this,t);var o;return o=jN(this,t,[n]),oO(o,"props",void 0),o.props=new gi(n==null?void 0:n.props),o}return MN(t,null,[{key:"controlType",get:function(){return"number"}}]),t}(F);oO(HN,"controlFieldType",g.DECIMAL);function qN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UN(e,t,n){return t=Pi(t),KN(e,iO()?Reflect.construct(t,n||[],Pi(e).constructor):t.apply(e,n))}function CN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pi(e){return Pi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pi(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&&$y(e,t)}function KN(e,t){return t&&(GN(t)==="object"||typeof t=="function")?t:qN(e)}function $y(e,t){return $y=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$y(e,t)}function GN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(iO=function(){return!!e})()}var uO=function(e){WN(t,e);function t(n){CN(this,t);var o,r;o=UN(this,t,[n]),pe(o,"dateType",void 0),pe(o,"dateFormat",void 0),pe(o,"commonTimeSetting",void 0),pe(o,"setValueType",void 0),pe(o,"defaultValue",void 0),pe(o,"limitDateList",void 0),pe(o,"allowDateRange",void 0),pe(o,"filterWeekend",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:De.DATE;var u;o.dateFormat=(u=n==null?void 0:n.dateFormat)!==null&&u!==void 0?u:"";var c;o.commonTimeSetting=(c=n==null?void 0:n.commonTimeSetting)!==null&&c!==void 0?c:[];var a;o.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:Sy.controlName;var f;o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"\u8BF7\u8F93\u5165\u65E5\u671F";var y;o.defaultValue=(y=n==null?void 0:n.defaultValue)!==null&&y!==void 0?y:"";var p;o.limitDateList=(p=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function(m){return new Kf(m)}))!==null&&p!==void 0?p:[];var b;o.allowDateRange=(b=n==null?void 0:n.allowDateRange)!==null&&b!==void 0?b:["",""];var O;return o.filterWeekend=(O=n==null?void 0:n.filterWeekend)!==null&&O!==void 0?O:!1,o}return t}(D);function XN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JN(e,t,n){return t=Ke(t),t6(e,lO()?Reflect.construct(t,n||[],Ke(e).constructor):t.apply(e,n))}function QN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function ZN(e,t,n){return t&&cO(e.prototype,t),n&&cO(e,n),e}function Py(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ei(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Ei=Reflect.get:Ei=function(r,i,u){var c=e6(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Ei(e,t,n||e)}function Ke(e){return Ke=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ke(e)}function YN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ey(e,t)}function t6(e,t){return t&&(n6(t)==="object"||typeof t=="function")?t:XN(e)}function Ey(e,t){return Ey=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ey(e,t)}function e6(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ke(e),e!==null););return e}function n6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(lO=function(){return!!e})()}var Sy=function(e){YN(t,e);function t(n){QN(this,t);var o;return o=JN(this,t,[n]),Py(o,"props",void 0),o.props=new uO(n==null?void 0:n.props),o}return ZN(t,[{key:"toDataBindModel",value:function(o){var r=Ei(Ke(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props.dateType;r.props.dateType=i}return r}}],[{key:"controlName",get:function(){return"\u65E5\u671F"}},{key:"controlIcon",get:function(){return"iconriqi1"}},{key:"controlType",get:function(){return"date-picker"}}]),t}(x);Py(Sy,"controlFieldType",g.TIMESTAMP),Py(Sy,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function o6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r6(e,t,n){return t=Si(t),l6(e,_O()?Reflect.construct(t,n||[],Si(e).constructor):t.apply(e,n))}function i6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function u6(e,t,n){return t&&aO(e.prototype,t),n&&aO(e,n),e}function fO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Si(e){return Si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Si(e)}function c6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ty(e,t)}function l6(e,t){return t&&(a6(t)==="object"||typeof t=="function")?t:o6(e)}function Ty(e,t){return Ty=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ty(e,t)}function a6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _O(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_O=function(){return!!e})()}var f6=function(e){c6(t,e);function t(n){i6(this,t);var o;return o=r6(this,t,[n]),fO(o,"props",void 0),o.props=new uO(n==null?void 0:n.props),o}return u6(t,null,[{key:"controlType",get:function(){return"date-picker"}}]),t}(F);fO(f6,"controlFieldType",g.TIMESTAMP);function _6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yO(e,t,n){return t=Ti(t),y6(e,dO()?Reflect.construct(t,n||[],Ti(e).constructor):t.apply(e,n))}function sO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function St(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ti(e){return Ti=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ti(e)}function pO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ry(e,t)}function y6(e,t){return t&&(s6(t)==="object"||typeof t=="function")?t:_6(e)}function Ry(e,t){return Ry=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ry(e,t)}function s6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(dO=function(){return!!e})()}var p6=function(e){pO(t,e);function t(n){sO(this,t);var o;return o=yO(this,t,[n]),o[0]!==void 0&&(o[0].type="object"),n.required&&!n.isHide&&o.push({type:"object",fields:{max:{type:"string",required:n.required,message:o[0].message},min:{type:"string",required:n.required,message:o[0].message}}}),o}return t}(z),By=function(e){pO(t,e);function t(n){sO(this,t);var o,r;o=yO(this,t,[n]),St(o,"dataBind",void 0),St(o,"rangeMin",void 0),St(o,"rangeMax",void 0),St(o,"placeholderStart",void 0),St(o,"placeholderEnd",void 0),St(o,"dateFormat",void 0),St(o,"commonTimeSetting",void 0),St(o,"dateType",void 0),St(o,"setValueType",void 0),St(o,"defaultValue",void 0),St(o,"limitDateList",void 0),o.dataBind=new VA(n==null?void 0:n.dataBind),o.defaultValue=new zA(n==null?void 0:n.defaultValue);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:De.DATE;var u;o.dateFormat=(u=n==null?void 0:n.dateFormat)!==null&&u!==void 0?u:"";var c;o.commonTimeSetting=(c=n==null?void 0:n.commonTimeSetting)!==null&&c!==void 0?c:[];var a;o.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var l;o.rangeMin=(l=n==null?void 0:n.rangeMin)!==null&&l!==void 0?l:"";var f;o.rangeMax=(f=n==null?void 0:n.rangeMax)!==null&&f!==void 0?f:"";var y;o.placeholderStart=(y=n==null?void 0:n.placeholderStart)!==null&&y!==void 0?y:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F";var p;o.placeholderEnd=(p=n==null?void 0:n.placeholderEnd)!==null&&p!==void 0?p:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F";var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:ky.controlName;var O;return o.limitDateList=(O=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function(m){return new Kf(m)}))!==null&&O!==void 0?O:[],o}return t}(D);St(By,"RuntimeRules",p6);function d6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v6(e,t,n){return t=Ge(t),m6(e,hO()?Reflect.construct(t,n||[],Ge(e).constructor):t.apply(e,n))}function h6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function b6(e,t,n){return t&&vO(e.prototype,t),n&&vO(e,n),e}function Iy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ri(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Ri=Reflect.get:Ri=function(r,i,u){var c=O6(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Ri(e,t,n||e)}function Ge(e){return Ge=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ge(e)}function g6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ay(e,t)}function m6(e,t){return t&&(w6(t)==="object"||typeof t=="function")?t:d6(e)}function Ay(e,t){return Ay=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ay(e,t)}function O6(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ge(e),e!==null););return e}function w6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(hO=function(){return!!e})()}var ky=function(e){g6(t,e);function t(n){h6(this,t);var o;return o=v6(this,t,[n]),Iy(o,"props",void 0),o.props=new By(n==null?void 0:n.props),o}return b6(t,[{key:"toDataBindModel",value:function(o){var r=Ri(Ge(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props.dateType;r.props.dateType=i}return r}}],[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"date-range"}}]),t}(x);Iy(ky,"controlFieldType",g.TIMESCOPE),Iy(ky,"setting",[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function $6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P6(e,t,n){return t=Bi(t),R6(e,mO()?Reflect.construct(t,n||[],Bi(e).constructor):t.apply(e,n))}function E6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function S6(e,t,n){return t&&bO(e.prototype,t),n&&bO(e,n),e}function gO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bi(e){return Bi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bi(e)}function T6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dy(e,t)}function R6(e,t){return t&&(B6(t)==="object"||typeof t=="function")?t:$6(e)}function Dy(e,t){return Dy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dy(e,t)}function B6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(mO=function(){return!!e})()}var I6=function(e){T6(t,e);function t(n){E6(this,t);var o;return o=P6(this,t,[n]),gO(o,"props",void 0),o.props=new By(n==null?void 0:n.props),o}return S6(t,null,[{key:"controlType",get:function(){return"date-range"}}]),t}(F);gO(I6,"controlFieldType",g.TIMESCOPE);function A6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xy(e,t,n){return t=Ii(t),k6(e,OO()?Reflect.construct(t,n||[],Ii(e).constructor):t.apply(e,n))}function Fy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ii(e){return Ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ii(e)}function jy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ly(e,t)}function k6(e,t){return t&&(D6(t)==="object"||typeof t=="function")?t:A6(e)}function Ly(e,t){return Ly=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ly(e,t)}function D6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(OO=function(){return!!e})()}var x6=function(e){jy(t,e);function t(n){Fy(this,t);var o;return o=xy(this,t,[n]),xt(o,"maxLength",{type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),xt(o,"minLength",{type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),xt(o,"defaultValue",{type:"string",max:200,min:0,message:d.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=d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return t}(ut),F6=function(e){jy(t,e);function t(n){Fy(this,t);var o;return o=xy(this,t,[n]),o.push({type:"string",max:n.maxLength,min:n.minLength,message:d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return t}(z),Ai=function(e){jy(t,e);function t(n){Fy(this,t);var o;o=xy(this,t,[n]),xt(o,"maxLength",void 0),xt(o,"minLength",void 0),xt(o,"defaultValue",void 0),xt(o,"lineEllipsis",void 0),xt(o,"autoSize",void 0),xt(o,"maxRows",void 0);var r;o.maxLength=(r=n==null?void 0:n.maxLength)!==null&&r!==void 0?r:5e4;var i;o.minLength=(i=n==null?void 0:n.minLength)!==null&&i!==void 0?i:0;var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:"";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:xi.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var l;o.lineEllipsis=(l=n==null?void 0:n.lineEllipsis)!==null&&l!==void 0?l:4;var f;return o.autoSize=(f=n==null?void 0:n.autoSize)!==null&&f!==void 0?f:!1,o.maxRows=n==null?void 0:n.maxRows,o}return t}(D);xt(Ai,"Rules",x6),xt(Ai,"RuntimeRules",F6);function j6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L6(e,t,n){return t=Di(t),z6(e,$O()?Reflect.construct(t,n||[],Di(e).constructor):t.apply(e,n))}function M6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function N6(e,t,n){return t&&wO(e.prototype,t),n&&wO(e,n),e}function ki(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Di(e){return Di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Di(e)}function V6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 z6(e,t){return t&&(H6(t)==="object"||typeof t=="function")?t:j6(e)}function My(e,t){return My=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},My(e,t)}function H6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $O(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return($O=function(){return!!e})()}var xi=function(e){V6(t,e);function t(n){M6(this,t);var o;return o=L6(this,t,[n]),ki(o,"props",void 0),o.props=new Ai(n==null?void 0:n.props),o}return N6(t,null,[{key:"controlName",get:function(){return"\u591A\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconMultilineline_new1"}},{key:"controlType",get:function(){return"textarea"}}]),t}(x);ki(xi,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),ki(xi,"controlFieldType",g.TEXT),ki(xi,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.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 q6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U6(e,t,n){return t=Fi(t),G6(e,SO()?Reflect.construct(t,n||[],Fi(e).constructor):t.apply(e,n))}function C6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function W6(e,t,n){return t&&PO(e.prototype,t),n&&PO(e,n),e}function EO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fi(e){return Fi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fi(e)}function K6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 G6(e,t){return t&&(X6(t)==="object"||typeof t=="function")?t:q6(e)}function Ny(e,t){return Ny=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ny(e,t)}function X6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(SO=function(){return!!e})()}var J6=function(e){K6(t,e);function t(n){C6(this,t);var o;return o=U6(this,t,[n]),EO(o,"props",void 0),o.props=new Ai(n==null?void 0:n.props),o}return W6(t,null,[{key:"controlType",get:function(){return"textarea"}}]),t}(F);EO(J6,"controlFieldType",g.TEXT);function Q6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vy(e,t,n){return t=ji(t),Z6(e,TO()?Reflect.construct(t,n||[],ji(e).constructor):t.apply(e,n))}function zy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function de(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ji(e){return ji=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ji(e)}function Hy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qy(e,t)}function Z6(e,t){return t&&(Y6(t)==="object"||typeof t=="function")?t:Q6(e)}function qy(e,t){return qy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qy(e,t)}function Y6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(TO=function(){return!!e})()}var t4=function(e){Hy(t,e);function t(n){zy(this,t);var o;return o=Vy(this,t,[n]),de(o,"maxLength",{type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),de(o,"minLength",{type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),de(o,"defaultValue",{type:"string",max:200,min:0,message:d.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=d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return t}(ut),e4=function(e){Hy(t,e);function t(n){zy(this,t);var o;return o=Vy(this,t,[n]),o.push({type:"string",max:n.maxLength,min:n.minLength,message:d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return t}(z),Li=function(e){Hy(t,e);function t(n){zy(this,t);var o;o=Vy(this,t,[n]),de(o,"maxLength",void 0),de(o,"minLength",void 0),de(o,"defaultValue",void 0);var r;o.maxLength=(r=n==null?void 0:n.maxLength)!==null&&r!==void 0?r:5e4;var i;o.minLength=(i=n==null?void 0:n.minLength)!==null&&i!==void 0?i:0;var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:"";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Vi.controlName;var a;return o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165",o}return t}(D);de(Li,"Rules",t4),de(Li,"RuntimeRules",e4);function n4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o4(e,t,n){return t=Ni(t),c4(e,BO()?Reflect.construct(t,n||[],Ni(e).constructor):t.apply(e,n))}function r4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i4(e,t,n){return t&&RO(e.prototype,t),n&&RO(e,n),e}function Mi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ni(e){return Ni=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ni(e)}function u4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uy(e,t)}function c4(e,t){return t&&(l4(t)==="object"||typeof t=="function")?t:n4(e)}function Uy(e,t){return Uy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Uy(e,t)}function l4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(BO=function(){return!!e})()}var Vi=function(e){u4(t,e);function t(n){r4(this,t);var o;return o=o4(this,t,[n]),Mi(o,"props",void 0),o.props=new Li(n==null?void 0:n.props),o}return i4(t,null,[{key:"controlName",get:function(){return"\u5BCC\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconRichtextbox_new"}},{key:"controlType",get:function(){return"rich-text"}}]),t}(x);Mi(Vi,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Mi(Vi,"controlFieldType",g.TEXT),Mi(Vi,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}]);function a4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f4(e,t,n){return t=zi(t),p4(e,kO()?Reflect.construct(t,n||[],zi(e).constructor):t.apply(e,n))}function _4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function y4(e,t,n){return t&&IO(e.prototype,t),n&&IO(e,n),e}function AO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zi(e){return zi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zi(e)}function s4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cy(e,t)}function p4(e,t){return t&&(d4(t)==="object"||typeof t=="function")?t:a4(e)}function Cy(e,t){return Cy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cy(e,t)}function d4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(kO=function(){return!!e})()}var v4=function(e){s4(t,e);function t(n){_4(this,t);var o;return o=f4(this,t,[n]),AO(o,"props",void 0),o.props=new Li(n==null?void 0:n.props),o}return y4(t,null,[{key:"controlType",get:function(){return"rich-text"}}]),t}(F);AO(v4,"controlFieldType",g.TEXT);function h4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DO(e,t,n){return t=Hi(t),b4(e,jO()?Reflect.construct(t,n||[],Hi(e).constructor):t.apply(e,n))}function xO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hi(e){return Hi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hi(e)}function FO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wy(e,t)}function b4(e,t){return t&&(g4(t)==="object"||typeof t=="function")?t:h4(e)}function Wy(e,t){return Wy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wy(e,t)}function g4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(jO=function(){return!!e})()}var m4=function(e){FO(t,e);function t(n){xO(this,t);var o;return o=DO(this,t,[n]),wt(o,"formBind",{type:"object",fields:{formKey:{type:"string",message:d.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return t}(Me),Ky=function(e){FO(t,e);function t(n){xO(this,t);var o;o=DO(this,t,[n]),wt(o,"options",void 0),wt(o,"defaultShowOptions",void 0),wt(o,"optionConfig",void 0),wt(o,"defaultValue",void 0),wt(o,"datasourceBind",void 0),wt(o,"multistageFilling",void 0),wt(o,"allowCopyOptions",void 0),wt(o,"openMultistageFilling",void 0),wt(o,"viewFormModelType",void 0),wt(o,"canViewForm",void 0),wt(o,"formBind",void 0);var r;o.options=Xt((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var i;o.defaultShowOptions=(i=n==null?void 0:n.defaultShowOptions)!==null&&i!==void 0?i:!0;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"custom",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Jy.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9";var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:"";var f;o.allowCopyOptions=(f=n==null?void 0:n.allowCopyOptions)!==null&&f!==void 0?f:!1;var y;o.openMultistageFilling=(y=n==null?void 0:n.openMultistageFilling)!==null&&y!==void 0?y:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var m;(m=o.multistageFilling)===null||m===void 0||m.push(new st(O))}));var p;o.canViewForm=(p=n==null?void 0:n.canViewForm)!==null&&p!==void 0?p:!1;var b;return o.viewFormModelType=(b=n==null?void 0:n.viewFormModelType)!==null&&b!==void 0?b:"window",o.formBind=new je(n==null?void 0:n.formBind),o}return t}(D);wt(Ky,"Rules",m4);function O4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w4(e,t,n){return t=qi(t),S4(e,MO()?Reflect.construct(t,n||[],qi(e).constructor):t.apply(e,n))}function $4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function P4(e,t,n){return t&&LO(e.prototype,t),n&&LO(e,n),e}function Gy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qi(e){return qi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qi(e)}function E4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xy(e,t)}function S4(e,t){return t&&(T4(t)==="object"||typeof t=="function")?t:O4(e)}function Xy(e,t){return Xy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xy(e,t)}function T4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(MO=function(){return!!e})()}var Jy=function(e){E4(t,e);function t(n){$4(this,t);var o;return o=w4(this,t,[n]),Gy(o,"props",void 0),o.props=new Ky(n==null?void 0:n.props),o}return P4(t,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconxiala1"}},{key:"controlType",get:function(){return"select"}}]),t}(x);Gy(Jy,"controlFieldType",g.VARCHAR),Gy(Jy,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.DEFAULT_SHOW_OPTIONS,_.IS_SHOW_CAPTION_TIP,_.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[_.CAN_VIEW_FORM,_.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]);function R4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B4(e,t,n){return t=Ui(t),D4(e,zO()?Reflect.construct(t,n||[],Ui(e).constructor):t.apply(e,n))}function I4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function A4(e,t,n){return t&&NO(e.prototype,t),n&&NO(e,n),e}function VO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ui(e){return Ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ui(e)}function k4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qy(e,t)}function D4(e,t){return t&&(x4(t)==="object"||typeof t=="function")?t:R4(e)}function Qy(e,t){return Qy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qy(e,t)}function x4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(zO=function(){return!!e})()}var F4=function(e){k4(t,e);function t(n){I4(this,t);var o;return o=B4(this,t,[n]),VO(o,"props",void 0),o.props=new Ky(n==null?void 0:n.props),o}return A4(t,null,[{key:"controlType",get:function(){return"select"}}]),t}(F);VO(F4,"controlFieldType",g.VARCHAR);function j4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zy(e,t,n){return t=Ci(t),L4(e,HO()?Reflect.construct(t,n||[],Ci(e).constructor):t.apply(e,n))}function Yy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ci(e){return Ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ci(e)}function ts(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&es(e,t)}function L4(e,t){return t&&(M4(t)==="object"||typeof t=="function")?t:j4(e)}function es(e,t){return es=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},es(e,t)}function M4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(HO=function(){return!!e})()}var N4=function(e){ts(t,e);function t(n){Yy(this,t);var o;return o=Zy(this,t,[n]),$t(o,"formBind",{type:"object",fields:{formKey:{type:"string",message:d.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return t}(Me),V4=function(e){ts(t,e);function t(n){Yy(this,t);var o;return o=Zy(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(z),Wi=function(e){ts(t,e);function t(n){Yy(this,t);var o;o=Zy(this,t,[n]),$t(o,"options",void 0),$t(o,"defaultShowOptions",void 0),$t(o,"optionConfig",void 0),$t(o,"defaultValue",void 0),$t(o,"datasourceBind",void 0),$t(o,"multistageFilling",void 0),$t(o,"openMultistageFilling",void 0),$t(o,"viewFormModelType",void 0),$t(o,"canViewForm",void 0),$t(o,"formBind",void 0);var r;o.options=Xt((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var i;o.defaultShowOptions=(i=n==null?void 0:n.defaultShowOptions)!==null&&i!==void 0?i:!0;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"custom",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:rs.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9";var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var f;o.openMultistageFilling=(f=n==null?void 0:n.openMultistageFilling)!==null&&f!==void 0?f:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(b){var O;(O=o.multistageFilling)===null||O===void 0||O.push(new st(b))}));var y;o.canViewForm=(y=n==null?void 0:n.canViewForm)!==null&&y!==void 0?y:!1;var p;return o.viewFormModelType=(p=n==null?void 0:n.viewFormModelType)!==null&&p!==void 0?p:"window",o.formBind=new je(n==null?void 0:n.formBind),o}return t}(D);$t(Wi,"Rules",N4),$t(Wi,"RuntimeRules",V4);function z4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function H4(e,t,n){return t=Ki(t),W4(e,UO()?Reflect.construct(t,n||[],Ki(e).constructor):t.apply(e,n))}function q4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function U4(e,t,n){return t&&qO(e.prototype,t),n&&qO(e,n),e}function ns(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ki(e){return Ki=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ki(e)}function C4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&os(e,t)}function W4(e,t){return t&&(K4(t)==="object"||typeof t=="function")?t:z4(e)}function os(e,t){return os=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},os(e,t)}function K4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function UO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(UO=function(){return!!e})()}var rs=function(e){C4(t,e);function t(n){q4(this,t);var o;return o=H4(this,t,[n]),ns(o,"props",void 0),o.props=new Wi(n==null?void 0:n.props),o}return U4(t,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconxialaduoxuan"}},{key:"controlType",get:function(){return"select-multiple"}}]),t}(x);ns(rs,"controlFieldType",g.ARRAY),ns(rs,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.DEFAULT_SHOW_OPTIONS,_.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[_.CAN_VIEW_FORM,_.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]);function G4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X4(e,t,n){return t=Gi(t),Y4(e,KO()?Reflect.construct(t,n||[],Gi(e).constructor):t.apply(e,n))}function J4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Q4(e,t,n){return t&&CO(e.prototype,t),n&&CO(e,n),e}function WO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gi(e){return Gi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gi(e)}function Z4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&is(e,t)}function Y4(e,t){return t&&(t7(t)==="object"||typeof t=="function")?t:G4(e)}function is(e,t){return is=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},is(e,t)}function t7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(KO=function(){return!!e})()}var e7=function(e){Z4(t,e);function t(n){J4(this,t);var o;return o=X4(this,t,[n]),WO(o,"props",void 0),o.props=new Wi(n==null?void 0:n.props),o}return Q4(t,null,[{key:"controlType",get:function(){return"select-multiple"}}]),t}(F);WO(e7,"controlFieldType",g.ARRAY);function n7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GO(e,t,n){return t=Xi(t),o7(e,QO()?Reflect.construct(t,n||[],Xi(e).constructor):t.apply(e,n))}function XO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xi(e){return Xi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xi(e)}function JO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&us(e,t)}function o7(e,t){return t&&(r7(t)==="object"||typeof t=="function")?t:n7(e)}function us(e,t){return us=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},us(e,t)}function r7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(QO=function(){return!!e})()}var i7=function(e){JO(t,e);function t(n){XO(this,t);var o;return o=GO(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(z),cs=function(e){JO(t,e);function t(n){XO(this,t);var o;o=GO(this,t,[n]),Yt(o,"showType",void 0),Yt(o,"range",void 0),Yt(o,"rangeOptions",void 0),Yt(o,"multiple",void 0),Yt(o,"defaultValueType",void 0),Yt(o,"defaultValue",void 0),Yt(o,"multistageFilling",void 0),Yt(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.range=(i=n==null?void 0:n.range)!==null&&i!==void 0?i:"all";var u;o.rangeOptions=(u=n==null?void 0:n.rangeOptions)!==null&&u!==void 0?u:[];var c;o.multiple=(c=n==null?void 0:n.multiple)!==null&&c!==void 0?c:!1;var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:fs.controlName;var y;o.placeholder=(y=n==null?void 0:n.placeholder)!==null&&y!==void 0?y:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var p;return o.openMultistageFilling=(p=n==null?void 0:n.openMultistageFilling)!==null&&p!==void 0?p:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(b){var O;(O=o.multistageFilling)===null||O===void 0||O.push(new st(b))})),o}return t}(D);Yt(cs,"RuntimeRules",i7);function u7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c7(e,t,n){return t=Ji(t),_7(e,YO()?Reflect.construct(t,n||[],Ji(e).constructor):t.apply(e,n))}function l7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function a7(e,t,n){return t&&ZO(e.prototype,t),n&&ZO(e,n),e}function ls(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ji(e){return Ji=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ji(e)}function 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&&as(e,t)}function _7(e,t){return t&&(y7(t)==="object"||typeof t=="function")?t:u7(e)}function as(e,t){return as=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},as(e,t)}function y7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(YO=function(){return!!e})()}var fs=function(e){f7(t,e);function t(n){l7(this,t);var o;return o=c7(this,t,[n]),ls(o,"props",void 0),o.props=new cs(n==null?void 0:n.props),o}return a7(t,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),t}(x);ls(fs,"controlFieldType",g.EMPLOYEES),ls(fs,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.MULTIPLE,_.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 s7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p7(e,t,n){return t=Qi(t),b7(e,nw()?Reflect.construct(t,n||[],Qi(e).constructor):t.apply(e,n))}function d7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function v7(e,t,n){return t&&tw(e.prototype,t),n&&tw(e,n),e}function ew(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qi(e){return Qi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qi(e)}function 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&&_s(e,t)}function b7(e,t){return t&&(g7(t)==="object"||typeof t=="function")?t:s7(e)}function _s(e,t){return _s=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_s(e,t)}function g7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(nw=function(){return!!e})()}var m7=function(e){h7(t,e);function t(n){d7(this,t);var o;return o=p7(this,t,[n]),ew(o,"props",void 0),o.props=new cs(n==null?void 0:n.props),o}return v7(t,null,[{key:"controlType",get:function(){return"employee"}}]),t}(F);ew(m7,"controlFieldType",g.EMPLOYEES);function O7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ys(e,t,n){return t=Zi(t),w7(e,ow()?Reflect.construct(t,n||[],Zi(e).constructor):t.apply(e,n))}function ss(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zi(e){return Zi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zi(e)}function ps(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ds(e,t)}function w7(e,t){return t&&($7(t)==="object"||typeof t=="function")?t:O7(e)}function ds(e,t){return ds=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ds(e,t)}function $7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ow(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ow=function(){return!!e})()}var P7=10485760,E7=104857600,S7=1048576e3,T7=function(e){ps(t,e);function t(n){ss(this,t);var o;return o=ys(this,t,[n]),Pt(o,"maxSize",{type:"number",min:0,max:S7,message:d.getMessage("attachmentMaxSize")}),o}return t}(ut),R7=function(e){ps(t,e);function t(n){ss(this,t);var o;return o=ys(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o.push({type:"array",max:n.maxLimit,min:n.minLimit,message:d.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),o}return t}(z),Yi=function(e){ps(t,e);function t(n){ss(this,t);var o;o=ys(this,t,[n]),Pt(o,"defaultValue",void 0),Pt(o,"showType",void 0),Pt(o,"resultShowType",void 0),Pt(o,"attachmentAccept",void 0),Pt(o,"maxLimit",void 0),Pt(o,"minLimit",void 0),Pt(o,"isShowWatermark",void 0),Pt(o,"watermarkFx",void 0),Pt(o,"maxSize",void 0),Pt(o,"operation",void 0);var r;o.defaultValue=(r=n==null?void 0:n.defaultValue)!==null&&r!==void 0?r:[];var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.resultShowType=(u=n==null?void 0:n.resultShowType)!==null&&u!==void 0?u:"simple";var c;o.attachmentAccept=(c=n==null?void 0:n.attachmentAccept)!==null&&c!==void 0?c:[];var a;o.maxLimit=(a=n==null?void 0:n.maxLimit)!==null&&a!==void 0?a:10;var l;o.minLimit=(l=n==null?void 0:n.minLimit)!==null&&l!==void 0?l:0;var f;o.maxSize=(f=n==null?void 0:n.maxSize)!==null&&f!==void 0?f:E7;var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:uo.controlName;var p;o.placeholder=(p=n==null?void 0:n.placeholder)!==null&&p!==void 0?p:"\u4E0A\u4F20\u9644\u4EF6";var b;o.isShowWatermark=(b=n==null?void 0:n.isShowWatermark)!==null&&b!==void 0?b:!1;var O;o.watermarkFx=(O=n==null?void 0:n.watermarkFx)!==null&&O!==void 0?O:{};var m;return o.operation=(m=n==null?void 0:n.operation)!==null&&m!==void 0?m:["info","preview","download"],o}return t}(D);Pt(Yi,"Rules",T7),Pt(Yi,"RuntimeRules",R7);function B7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I7(e,t,n){return t=eu(t),x7(e,iw()?Reflect.construct(t,n||[],eu(e).constructor):t.apply(e,n))}function A7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function k7(e,t,n){return t&&rw(e.prototype,t),n&&rw(e,n),e}function tu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function eu(e){return eu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},eu(e)}function D7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vs(e,t)}function x7(e,t){return t&&(F7(t)==="object"||typeof t=="function")?t:B7(e)}function vs(e,t){return vs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vs(e,t)}function F7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(iw=function(){return!!e})()}var uo=function(e){D7(t,e);function t(n){A7(this,t);var o;return o=I7(this,t,[n]),tu(o,"props",void 0),o.props=new Yi(n==null?void 0:n.props),o}return k7(t,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),t}(x);tu(uo,"controlEventKeys",["on_change"]),tu(uo,"controlFieldType",g.FILE),tu(uo,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.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-operation",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function j7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L7(e,t,n){return t=nu(t),z7(e,lw()?Reflect.construct(t,n||[],nu(e).constructor):t.apply(e,n))}function M7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function N7(e,t,n){return t&&uw(e.prototype,t),n&&uw(e,n),e}function cw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nu(e){return nu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nu(e)}function V7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 z7(e,t){return t&&(H7(t)==="object"||typeof t=="function")?t:j7(e)}function hs(e,t){return hs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hs(e,t)}function H7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(lw=function(){return!!e})()}var q7=function(e){V7(t,e);function t(n){M7(this,t);var o;return o=L7(this,t,[n]),cw(o,"props",void 0),o.props=new Yi(n==null?void 0:n.props),o}return N7(t,null,[{key:"controlType",get:function(){return"attachment"}}]),t}(F);cw(q7,"controlFieldType",g.FILE);function U7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C7(e,t,n){return t=ou(t),X7(e,_w()?Reflect.construct(t,n||[],ou(e).constructor):t.apply(e,n))}function W7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function K7(e,t,n){return t&&aw(e.prototype,t),n&&aw(e,n),e}function fw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ou(e){return ou=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ou(e)}function G7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bs(e,t)}function X7(e,t){return t&&(J7(t)==="object"||typeof t=="function")?t:U7(e)}function bs(e,t){return bs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},bs(e,t)}function J7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _w(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_w=function(){return!!e})()}var yw=function(e){G7(t,e);function t(n){W7(this,t);var o,r,i;o=C7(this,t,[n]),o.props.showType="image";var u;o.props.caption=(u=n==null||(r=n.props)===null||r===void 0?void 0:r.caption)!==null&&u!==void 0?u:t.controlName;var c;return o.props.placeholder=(c=n==null||(i=n.props)===null||i===void 0?void 0:i.placeholder)!==null&&c!==void 0?c:"\u4E0A\u4F20\u56FE\u7247",o}return K7(t,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),t}(uo);fw(yw,"controlFieldType",g.IMAGE),fw(yw,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP,_.IS_SHOW_WATERMARK]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function Q7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gs(e,t,n){return t=ru(t),e9(e,sw()?Reflect.construct(t,n||[],ru(e).constructor):t.apply(e,n))}function ms(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ru(e){return ru=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ru(e)}function Os(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ws(e,t)}function Z7(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){lt(e,r,n[r])})}return e}function Y7(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function t9(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Y7(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function e9(e,t){return t&&(n9(t)==="object"||typeof t=="function")?t:Q7(e)}function ws(e,t){return ws=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ws(e,t)}function n9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(sw=function(){return!!e})()}var o9=function(e){Os(t,e);function t(n){ms(this,t);var o;o=gs(this,t,[n]),lt(o,"defaultValue",{type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:d.getMessage("pleaseEnterNumberRange")}]}}),lt(o,"rangeMax",{type:"any"});var r=n.rangeMax===""?void 0:n.rangeMax,i=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue.fields.amount[0].max=r,o.defaultValue.fields.amount[0].min=i,o.defaultValue.fields.amount[0].message=d.getMessage("pleaseEnterNumberRange",{max:r,min:i}),i&&r!==void 0&&(o.rangeMax={type:"number",min:i,message:d.getMessage("numberRangeSetError")}),o}return t}(Me),r9=function(e){Os(t,e);function t(n){ms(this,t);var o;o=gs(this,t,[n]),o[0]!==void 0&&(o[0].type="object");var r=n.rangeMax===""?void 0:n.rangeMax,i=n.rangeMin===""?void 0:n.rangeMin;return o.push({type:"object",fields:{amount:[t9(Z7({},o[0]),{type:"number"}),{type:"number",min:i,max:r,message:d.getMessage(r===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:r,min:i})}],currency:{type:"string"}}}),o}return t}(z),iu=function(e){Os(t,e);function t(n){ms(this,t);var o;o=gs(this,t,[n]),lt(o,"rangeMin",void 0),lt(o,"rangeMax",void 0),lt(o,"showUpperCase",void 0),lt(o,"submitSelectCurrency",void 0),lt(o,"micrometer",void 0),lt(o,"precision",void 0),lt(o,"optionConfig",void 0),lt(o,"dataBind",void 0),lt(o,"datasourceBind",void 0),lt(o,"defaultValue",void 0),lt(o,"options",void 0);var r;o.rangeMin=(r=n==null?void 0:n.rangeMin)!==null&&r!==void 0?r:"";var i;o.rangeMax=(i=n==null?void 0:n.rangeMax)!==null&&i!==void 0?i:"";var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"datasource";var c;o.micrometer=(c=n==null?void 0:n.micrometer)!==null&&c!==void 0?c:!1;var a;o.precision=(a=n==null?void 0:n.precision)!==null&&a!==void 0?a:2,o.dataBind=new MA(n==null?void 0:n.dataBind);var l;o.datasourceBind=new X((l=n==null?void 0:n.datasourceBind)!==null&&l!==void 0?l:{displayBoList:[new Ga({value:"name"})]});var f;o.defaultValue=new NA((f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:{amount:"",currency:CA.CNY}),o.options=Xt(n==null?void 0:n.options);var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:lu.controlName;var p;o.placeholder=(p=n==null?void 0:n.placeholder)!==null&&p!==void 0?p:"\u8BF7\u8F93\u5165";var b;o.submitSelectCurrency=(b=n==null?void 0:n.submitSelectCurrency)!==null&&b!==void 0?b:!1;var O;return o.showUpperCase=(O=n==null?void 0:n.showUpperCase)!==null&&O!==void 0?O:!1,o}return t}(D);lt(iu,"Rules",o9),lt(iu,"RuntimeRules",r9);function i9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u9(e,t,n){return t=Xe(t),f9(e,dw()?Reflect.construct(t,n||[],Xe(e).constructor):t.apply(e,n))}function c9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function l9(e,t,n){return t&&pw(e.prototype,t),n&&pw(e,n),e}function uu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cu(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?cu=Reflect.get:cu=function(r,i,u){var c=_9(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},cu(e,t,n||e)}function Xe(e){return Xe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xe(e)}function a9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$s(e,t)}function f9(e,t){return t&&(y9(t)==="object"||typeof t=="function")?t:i9(e)}function $s(e,t){return $s=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$s(e,t)}function _9(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Xe(e),e!==null););return e}function y9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(dw=function(){return!!e})()}var lu=function(e){a9(t,e);function t(n){c9(this,t);var o;return o=u9(this,t,[n]),uu(o,"props",void 0),o.props=new iu(n==null?void 0:n.props),o}return l9(t,[{key:"toDataBindModel",value:function(o){var r=cu(Xe(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.precision,c=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=c}return r}}],[{key:"controlName",get:function(){return"\u91D1\u989D"}},{key:"controlType",get:function(){return"amount"}},{key:"controlIcon",get:function(){return"iconjine"}}]),t}(x);uu(lu,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),uu(lu,"controlFieldType",g.MONEY),uu(lu,"setting",[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.SUBMIT_SELECT_CURRENCY,_.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[_.SHOW_UPPER_CASE,_.MICROMETER,_.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function s9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p9(e,t,n){return t=au(t),b9(e,bw()?Reflect.construct(t,n||[],au(e).constructor):t.apply(e,n))}function d9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function v9(e,t,n){return t&&vw(e.prototype,t),n&&vw(e,n),e}function hw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function au(e){return au=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},au(e)}function h9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ps(e,t)}function b9(e,t){return t&&(g9(t)==="object"||typeof t=="function")?t:s9(e)}function Ps(e,t){return Ps=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ps(e,t)}function g9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(bw=function(){return!!e})()}var m9=function(e){h9(t,e);function t(n){d9(this,t);var o;return o=p9(this,t,[n]),hw(o,"props",void 0),o.props=new iu(n==null?void 0:n.props),o}return v9(t,null,[{key:"controlType",get:function(){return"amount"}}]),t}(F);hw(m9,"controlFieldType",g.MONEY);function O9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Es(e,t,n){return t=fu(t),w9(e,gw()?Reflect.construct(t,n||[],fu(e).constructor):t.apply(e,n))}function Ss(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function te(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fu(e){return fu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fu(e)}function Ts(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rs(e,t)}function w9(e,t){return t&&($9(t)==="object"||typeof t=="function")?t:O9(e)}function Rs(e,t){return Rs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rs(e,t)}function $9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(gw=function(){return!!e})()}var P9=function(e){Ts(t,e);function t(n){Ss(this,t);var o;return o=Es(this,t,[n]),te(o,"totalScore",[{type:"number",required:!0,message:d.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:d.getMessage("theTotalScoreMustNotBeLessThan1")}]),te(o,"defaultValue",{type:"number",min:0,max:5,message:d.getMessage("scoreDefaultValueRange")}),o.defaultValue.max=n.totalScore,o.defaultValue.message=d.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:0}),o}return t}(ut),E9=function(e){Ts(t,e);function t(n){Ss(this,t);var o;o=Es(this,t,[n]),o[0]!==void 0&&(o[0].type="number");var r=n.required?1:0;return o.push({type:"number",min:r,max:n.totalScore,message:d.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:r})}),o}return t}(z),_u=function(e){Ts(t,e);function t(n){Ss(this,t);var o,r;o=Es(this,t,[n]),te(o,"totalScore",void 0),te(o,"scoreType",void 0),te(o,"isShowExplain",void 0),te(o,"explain",void 0),te(o,"defaultValue",void 0);var i;o.totalScore=(i=n==null?void 0:n.totalScore)!==null&&i!==void 0?i:5;var u;o.scoreType=(u=n==null?void 0:n.scoreType)!==null&&u!==void 0?u:Fx.STAR;var c;o.isShowExplain=(c=n==null?void 0:n.isShowExplain)!==null&&c!==void 0?c:!0;var a;o.explain=(a=n==null||(r=n.explain)===null||r===void 0?void 0:r.map(function(y){return new Gf(y)}))!==null&&a!==void 0?a:Array(o.totalScore).fill(void 0).map(function(){return new Gf});var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:0;var f;return o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:pu.controlName,o}return t}(D);te(_u,"Rules",P9),te(_u,"RuntimeRules",E9);function Bs(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function S9(e){if(Array.isArray(e))return Bs(e)}function T9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R9(e,t,n){return t=Je(t),x9(e,Ow()?Reflect.construct(t,n||[],Je(e).constructor):t.apply(e,n))}function B9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function I9(e,t,n){return t&&mw(e.prototype,t),n&&mw(e,n),e}function yu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function su(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?su=Reflect.get:su=function(r,i,u){var c=F9(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},su(e,t,n||e)}function Je(e){return Je=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Je(e)}function A9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Is(e,t)}function k9(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function D9(){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 x9(e,t){return t&&(L9(t)==="object"||typeof t=="function")?t:T9(e)}function Is(e,t){return Is=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Is(e,t)}function F9(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Je(e),e!==null););return e}function j9(e){return S9(e)||k9(e)||M9(e)||D9()}function L9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function M9(e,t){if(!!e){if(typeof e=="string")return Bs(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Bs(e,t)}}function Ow(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ow=function(){return!!e})()}var pu=function(e){A9(t,e);function t(n){B9(this,t);var o;return o=R9(this,t,[n]),yu(o,"props",void 0),o.props=new _u(n==null?void 0:n.props),o}return I9(t,[{key:"postUpdate",value:function(o,r){if(o==="totalScore"){if(r===this.props.explain.length)return;if(this.props.explain.length>r)this.props.explain=this.props.explain.slice(0,r);else{var i,u=r-this.props.explain.length,c=Array(u).fill(void 0).map(function(){return new Gf});(i=this.props.explain).push.apply(i,j9(c))}}su(Je(t.prototype),"postUpdate",this).call(this,o,r)}}],[{key:"controlName",get:function(){return"\u8BC4\u5206"}},{key:"controlIcon",get:function(){return"iconpingfen"}},{key:"controlType",get:function(){return"score"}}]),t}(x);yu(pu,"controlEventKeys",["on_change","on_click"]),yu(pu,"controlFieldType",g.DECIMAL),yu(pu,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.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 N9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V9(e,t,n){return t=du(t),U9(e,Pw()?Reflect.construct(t,n||[],du(e).constructor):t.apply(e,n))}function z9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ww(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function H9(e,t,n){return t&&ww(e.prototype,t),n&&ww(e,n),e}function $w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function du(e){return du=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},du(e)}function q9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&As(e,t)}function U9(e,t){return t&&(C9(t)==="object"||typeof t=="function")?t:N9(e)}function As(e,t){return As=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},As(e,t)}function C9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Pw=function(){return!!e})()}var W9=function(e){q9(t,e);function t(n){z9(this,t);var o;return o=V9(this,t,[n]),$w(o,"props",void 0),o.props=new _u(n==null?void 0:n.props),o}return H9(t,null,[{key:"controlType",get:function(){return"score"}}]),t}(F);$w(W9,"controlFieldType",g.DECIMAL);function K9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ew(e,t,n){return t=hu(t),G9(e,Rw()?Reflect.construct(t,n||[],hu(e).constructor):t.apply(e,n))}function Sw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hu(e){return hu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hu(e)}function 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&&ks(e,t)}function G9(e,t){return t&&(X9(t)==="object"||typeof t=="function")?t:K9(e)}function ks(e,t){return ks=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ks(e,t)}function X9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Rw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Rw=function(){return!!e})()}var J9=function(e){Tw(t,e);function t(n){Sw(this,t);var o;if(o=Ew(this,t,[n]),o[0]!==void 0&&(o[0].type="object"),n.required&&!n.isHide){var r={type:"object",fields:{province:{type:"string",required:n.required,message:d.getMessage("pleaseSelectProvince")}}};n.addressType.includes("city")&&(r.fields.city={type:"string",required:n.required,message:d.getMessage("pleaseSelectCity")}),n.addressType.includes("district")&&(r.fields.district={type:"string",required:n.required,message:d.getMessage("pleaseSelectDistrict")}),o.push(r)}return o}return t}(z),Ds=function(e){Tw(t,e);function t(n){Sw(this,t);var o;o=Ew(this,t,[n]),vu(o,"defaultValueType",void 0),vu(o,"defaultValue",void 0),vu(o,"addressType",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:js.controlName;var i;o.defaultValueType=(i=n==null?void 0:n.defaultValueType)!==null&&i!==void 0?i:"default";var u;o.addressType=(u=n==null?void 0:n.addressType)!==null&&u!==void 0?u:["province","city","district"];var c;o.defaultValue=new HA((c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:{});var a;return o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9\u5730\u5740",o}return t}(D);vu(Ds,"RuntimeRules",J9);function Q9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Z9(e,t,n){return t=bu(t),n8(e,Iw()?Reflect.construct(t,n||[],bu(e).constructor):t.apply(e,n))}function Y9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function t8(e,t,n){return t&&Bw(e.prototype,t),n&&Bw(e,n),e}function xs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bu(e){return bu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bu(e)}function e8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fs(e,t)}function n8(e,t){return t&&(o8(t)==="object"||typeof t=="function")?t:Q9(e)}function Fs(e,t){return Fs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fs(e,t)}function o8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Iw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Iw=function(){return!!e})()}var js=function(e){e8(t,e);function t(n){Y9(this,t);var o;return o=Z9(this,t,[n]),xs(o,"props",void 0),o.props=new Ds(n==null?void 0:n.props),o}return t8(t,null,[{key:"controlName",get:function(){return"\u5730\u5740"}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),t}(x);xs(js,"controlFieldType",g.ADDRESS),xs(js,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function r8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i8(e,t,n){return t=gu(t),a8(e,Dw()?Reflect.construct(t,n||[],gu(e).constructor):t.apply(e,n))}function u8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Aw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function c8(e,t,n){return t&&Aw(e.prototype,t),n&&Aw(e,n),e}function kw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gu(e){return gu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gu(e)}function l8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ls(e,t)}function a8(e,t){return t&&(f8(t)==="object"||typeof t=="function")?t:r8(e)}function Ls(e,t){return Ls=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ls(e,t)}function f8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Dw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Dw=function(){return!!e})()}var _8=function(e){l8(t,e);function t(n){u8(this,t);var o;return o=i8(this,t,[n]),kw(o,"props",void 0),o.props=new Ds(n==null?void 0:n.props),o}return c8(t,null,[{key:"controlName",get:function(){return"\u7701\u5E02\u533A"}},{key:"controlIcon",get:function(){return"iconicon_site_management11"}},{key:"controlType",get:function(){return"address"}}]),t}(F);kw(_8,"controlFieldType",g.ADDRESS);function y8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xw(e,t,n){return t=mu(t),s8(e,Lw()?Reflect.construct(t,n||[],mu(e).constructor):t.apply(e,n))}function Fw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ft(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mu(e){return mu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mu(e)}function jw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 s8(e,t){return t&&(p8(t)==="object"||typeof t=="function")?t:y8(e)}function Ms(e,t){return Ms=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ms(e,t)}function p8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Lw=function(){return!!e})()}var d8=function(e){jw(t,e);function t(n){Fw(this,t);var o;return o=xw(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(z),Ns=function(e){jw(t,e);function t(n){Fw(this,t);var o;o=xw(this,t,[n]),Ft(o,"showType",void 0),Ft(o,"range",void 0),Ft(o,"defaultValueType",void 0),Ft(o,"multiple",void 0),Ft(o,"rangeOptions",void 0),Ft(o,"defaultValue",void 0),Ft(o,"displayLevel",void 0),Ft(o,"showSubDept",void 0),Ft(o,"multistageFilling",void 0),Ft(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1;var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var c;o.defaultValueType=(c=n==null?void 0:n.defaultValueType)!==null&&c!==void 0?c:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var f;o.displayLevel=(f=n==null?void 0:n.displayLevel)!==null&&f!==void 0?f:1;var y;o.showSubDept=(y=n==null?void 0:n.showSubDept)!==null&&y!==void 0?y:!0;var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:$u.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u8BF7\u9009\u62E9\u90E8\u95E8";var O;return o.openMultistageFilling=(O=n==null?void 0:n.openMultistageFilling)!==null&&O!==void 0?O:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(m){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new st(m))})),o}return t}(D);Ft(Ns,"RuntimeRules",d8);function v8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h8(e,t,n){return t=Qe(t),O8(e,Nw()?Reflect.construct(t,n||[],Qe(e).constructor):t.apply(e,n))}function b8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function g8(e,t,n){return t&&Mw(e.prototype,t),n&&Mw(e,n),e}function Ou(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wu(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?wu=Reflect.get:wu=function(r,i,u){var c=w8(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},wu(e,t,n||e)}function Qe(e){return Qe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qe(e)}function m8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vs(e,t)}function O8(e,t){return t&&($8(t)==="object"||typeof t=="function")?t:v8(e)}function Vs(e,t){return Vs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vs(e,t)}function w8(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Qe(e),e!==null););return e}function $8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Nw=function(){return!!e})()}var $u=function(e){m8(t,e);function t(n){b8(this,t);var o;return o=h8(this,t,[n]),Ou(o,"props",void 0),o.props=new Ns(n==null?void 0:n.props),o}return g8(t,[{key:"toDataBindModel",value:function(o){var r=wu(Qe(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.displayLevel,c=i.showSubDept;r.props.displayLevel=u,r.props.showSubDept=c}return r}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),t}(x);Ou($u,"controlName","\u90E8\u95E8"),Ou($u,"controlFieldType",g.DEPARTMENTS),Ou($u,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.MULTIPLE,_.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 P8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E8(e,t,n){return t=Pu(t),B8(e,Hw()?Reflect.construct(t,n||[],Pu(e).constructor):t.apply(e,n))}function S8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function T8(e,t,n){return t&&Vw(e.prototype,t),n&&Vw(e,n),e}function zw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pu(e){return Pu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pu(e)}function R8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zs(e,t)}function B8(e,t){return t&&(I8(t)==="object"||typeof t=="function")?t:P8(e)}function zs(e,t){return zs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zs(e,t)}function I8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Hw=function(){return!!e})()}var A8=function(e){R8(t,e);function t(n){S8(this,t);var o;return o=E8(this,t,[n]),zw(o,"props",void 0),o.props=new Ns(n==null?void 0:n.props),o}return T8(t,null,[{key:"controlType",get:function(){return"department"}}]),t}(F);zw(A8,"controlFieldType",g.DEPARTMENTS);function k8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D8(e,t,n){return t=Eu(t),L8(e,qw()?Reflect.construct(t,n||[],Eu(e).constructor):t.apply(e,n))}function x8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function F8(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Eu(e){return Eu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Eu(e)}function j8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hs(e,t)}function L8(e,t){return t&&(M8(t)==="object"||typeof t=="function")?t:k8(e)}function Hs(e,t){return Hs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hs(e,t)}function M8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(qw=function(){return!!e})()}var Uw=function(e){j8(t,e);function t(n){x8(this,t);var o;o=D8(this,t,[n]),F8(o,"defaultValue",void 0);var r;o.defaultValue=(r=n==null?void 0:n.defaultValue)!==null&&r!==void 0?r:"";var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Ru.controlName;var u;return o.placeholder=(u=n==null?void 0:n.placeholder)!==null&&u!==void 0?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",o}return t}(D);function N8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V8(e,t,n){return t=Tu(t),U8(e,Ww()?Reflect.construct(t,n||[],Tu(e).constructor):t.apply(e,n))}function z8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function H8(e,t,n){return t&&Cw(e.prototype,t),n&&Cw(e,n),e}function Su(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tu(e){return Tu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tu(e)}function q8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qs(e,t)}function U8(e,t){return t&&(C8(t)==="object"||typeof t=="function")?t:N8(e)}function qs(e,t){return qs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qs(e,t)}function C8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ww(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ww=function(){return!!e})()}var Ru=function(e){q8(t,e);function t(n){z8(this,t);var o;return o=V8(this,t,[n]),Su(o,"props",void 0),o.props=new Uw(n==null?void 0:n.props),o}return H8(t,null,[{key:"controlName",get:function(){return"\u81EA\u52A8\u7F16\u53F7"}},{key:"controlIcon",get:function(){return"iconnumber_new"}},{key:"controlType",get:function(){return"auto-number"}}]),t}(x);Su(Ru,"controlEventKeys",["on_change"]),Su(Ru,"controlFieldType",g.AUTO_NUMBER),Su(Ru,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function W8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function K8(e,t,n){return t=Bu(t),Q8(e,Xw()?Reflect.construct(t,n||[],Bu(e).constructor):t.apply(e,n))}function G8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function X8(e,t,n){return t&&Kw(e.prototype,t),n&&Kw(e,n),e}function Gw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bu(e){return Bu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bu(e)}function J8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Us(e,t)}function Q8(e,t){return t&&(Z8(t)==="object"||typeof t=="function")?t:W8(e)}function Us(e,t){return Us=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Us(e,t)}function Z8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Xw=function(){return!!e})()}var Y8=function(e){J8(t,e);function t(n){G8(this,t);var o;return o=K8(this,t,[n]),Gw(o,"props",void 0),o.props=new Uw(n==null?void 0:n.props),o}return X8(t,null,[{key:"controlType",get:function(){return"auto-number"}}]),t}(F);Gw(Y8,"controlFieldType",g.AUTO_NUMBER);function tV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cs(e,t,n){return t=Iu(t),eV(e,Jw()?Reflect.construct(t,n||[],Iu(e).constructor):t.apply(e,n))}function Ws(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Iu(e){return Iu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Iu(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&&Gs(e,t)}function eV(e,t){return t&&(nV(t)==="object"||typeof t=="function")?t:tV(e)}function Gs(e,t){return Gs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gs(e,t)}function nV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Jw=function(){return!!e})()}var oV=function(e){Ks(t,e);function t(n){Ws(this,t);var o;return o=Cs(this,t,[n]),o.dataBind.fields.result.required=!1,o.dataBind.fields.result.fields.fieldCode.required=!1,o.dataBind.fields.result.fields.dataCode.required=!1,o.dataBind.fields.unit.required=!1,o.dataBind.fields.unit.fields.fieldCode.required=!1,o.dataBind.fields.unit.fields.dataCode.required=!1,o}return t}(ut),rV=function(e){Ks(t,e);function t(n){Ws(this,t);var o;return o=Cs(this,t,[n]),o[0]!==void 0&&(o[0].type="object"),o.push({type:"object",message:d.getMessage("isNotObject"),fields:{result:[{type:"number",message:d.getMessage("isNotNumber")}],unit:{type:"string",message:d.getMessage("isNotString")}}}),o}return t}(z),Au=function(e){Ks(t,e);function t(n){Ws(this,t);var o;o=Cs(this,t,[n]),zt(o,"precision",void 0),zt(o,"micrometer",void 0),zt(o,"showUpperCase",void 0),zt(o,"scriptSrc",void 0),zt(o,"scriptEcho",void 0),zt(o,"dataBind",void 0),zt(o,"defaultValue",void 0),zt(o,"calcOnMounted",void 0);var r;o.precision=(r=n==null?void 0:n.precision)!==null&&r!==void 0?r:0;var i;o.micrometer=(i=n==null?void 0:n.micrometer)!==null&&i!==void 0?i:!1;var u;o.showUpperCase=(u=n==null?void 0:n.showUpperCase)!==null&&u!==void 0?u:!1,o.dataBind=new qA(n==null?void 0:n.dataBind),o.defaultValue=new UA(n==null?void 0:n.defaultValue);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:xu.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var l;o.scriptEcho=(l=n==null?void 0:n.scriptEcho)!==null&&l!==void 0?l:[];var f;o.scriptSrc=(f=n==null?void 0:n.scriptSrc)!==null&&f!==void 0?f:"";var y;return o.calcOnMounted=(y=n==null?void 0:n.calcOnMounted)!==null&&y!==void 0?y:!1,o}return t}(D);zt(Au,"Rules",oV),zt(Au,"RuntimeRules",rV);function iV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uV(e,t,n){return t=Ze(t),fV(e,Zw()?Reflect.construct(t,n||[],Ze(e).constructor):t.apply(e,n))}function cV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function lV(e,t,n){return t&&Qw(e.prototype,t),n&&Qw(e,n),e}function ku(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Du(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Du=Reflect.get:Du=function(r,i,u){var c=_V(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Du(e,t,n||e)}function Ze(e){return Ze=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ze(e)}function aV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xs(e,t)}function fV(e,t){return t&&(yV(t)==="object"||typeof t=="function")?t:iV(e)}function Xs(e,t){return Xs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xs(e,t)}function _V(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ze(e),e!==null););return e}function yV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Zw=function(){return!!e})()}var xu=function(e){aV(t,e);function t(n){cV(this,t);var o;return o=uV(this,t,[n]),ku(o,"props",void 0),o.props=new Au(n==null?void 0:n.props),o}return lV(t,[{key:"toDataBindModel",value:function(o){var r=Du(Ze(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.precision,c=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=c}return r}}],[{key:"controlName",get:function(){return"\u8BA1\u7B97\u516C\u5F0F"}},{key:"controlType",get:function(){return"calc"}},{key:"controlIcon",get:function(){return"iconcalculation_new"}}]),t}(x);ku(xu,"controlEventKeys",["on_change"]),ku(xu,"controlFieldType",g.CALC),ku(xu,"setting",[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"calc-on-mounted",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[_.SHOW_UPPER_CASE,_.MICROMETER,_.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function sV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pV(e,t,n){return t=Fu(t),bV(e,e$()?Reflect.construct(t,n||[],Fu(e).constructor):t.apply(e,n))}function dV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function vV(e,t,n){return t&&Yw(e.prototype,t),n&&Yw(e,n),e}function t$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fu(e){return Fu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fu(e)}function hV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Js(e,t)}function bV(e,t){return t&&(gV(t)==="object"||typeof t=="function")?t:sV(e)}function Js(e,t){return Js=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Js(e,t)}function gV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function e$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(e$=function(){return!!e})()}var mV=function(e){hV(t,e);function t(n){dV(this,t);var o;return o=pV(this,t,[n]),t$(o,"props",void 0),o.props=new Au(n==null?void 0:n.props),o}return vV(t,null,[{key:"controlType",get:function(){return"calc"}}]),t}(F);t$(mV,"controlFieldType",g.CALC);function OV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n$(e,t,n){return t=ju(t),wV(e,i$()?Reflect.construct(t,n||[],ju(e).constructor):t.apply(e,n))}function o$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ye(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ju(e){return ju=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ju(e)}function r$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qs(e,t)}function wV(e,t){return t&&($V(t)==="object"||typeof t=="function")?t:OV(e)}function Qs(e,t){return Qs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qs(e,t)}function $V(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function i$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(i$=function(){return!!e})()}var PV=function(e){r$(t,e);function t(n){o$(this,t);var o;return o=n$(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o.push({validator:function(i,u){if(n.required){var c=u.every(function(a){return!a});return c?Promise.reject(d.getMessage("runtimeRequired",{caption:n.caption})):Promise.resolve()}else return Promise.resolve()}}),o}return t}(z),Zs=function(e){r$(t,e);function t(n){o$(this,t);var o;o=n$(this,t,[n]),Ye(o,"rangeMin",void 0),Ye(o,"rangeMax",void 0),Ye(o,"placeholderStart",void 0),Ye(o,"placeholderEnd",void 0),Ye(o,"defaultValue",void 0);var r;o.defaultValue=(r=n==null?void 0:n.defaultValue)!==null&&r!==void 0?r:["",""];var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var u;o.rangeMax=(u=n==null?void 0:n.rangeMax)!==null&&u!==void 0?u:"";var c;o.placeholderStart=(c=n==null?void 0:n.placeholderStart)!==null&&c!==void 0?c:"\u6700\u5C0F\u503C";var a;o.placeholderEnd=(a=n==null?void 0:n.placeholderEnd)!==null&&a!==void 0?a:"\u6700\u5927\u503C";var l;return o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:ep.controlName,o}return t}(D);Ye(Zs,"RuntimeRules",PV);function EV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SV(e,t,n){return t=Lu(t),IV(e,c$()?Reflect.construct(t,n||[],Lu(e).constructor):t.apply(e,n))}function TV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function RV(e,t,n){return t&&u$(e.prototype,t),n&&u$(e,n),e}function Ys(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lu(e){return Lu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lu(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&&tp(e,t)}function IV(e,t){return t&&(AV(t)==="object"||typeof t=="function")?t:EV(e)}function tp(e,t){return tp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},tp(e,t)}function AV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function c$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(c$=function(){return!!e})()}var ep=function(e){BV(t,e);function t(n){TV(this,t);var o;return o=SV(this,t,[n]),Ys(o,"props",void 0),o.props=new Zs(n==null?void 0:n.props),o}return RV(t,null,[{key:"controlName",get:function(){return"\u6570\u5B57\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconshuziqujian"}},{key:"controlType",get:function(){return"search-number-range"}}]),t}(x);Ys(ep,"controlFieldType",g.DECIMAL_RANGE),Ys(ep,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function kV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DV(e,t,n){return t=Mu(t),LV(e,f$()?Reflect.construct(t,n||[],Mu(e).constructor):t.apply(e,n))}function xV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function FV(e,t,n){return t&&l$(e.prototype,t),n&&l$(e,n),e}function a$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mu(e){return Mu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mu(e)}function jV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&np(e,t)}function LV(e,t){return t&&(MV(t)==="object"||typeof t=="function")?t:kV(e)}function np(e,t){return np=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},np(e,t)}function MV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function f$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(f$=function(){return!!e})()}var NV=function(e){jV(t,e);function t(n){xV(this,t);var o;return o=DV(this,t,[n]),a$(o,"props",void 0),o.props=new Zs(n==null?void 0:n.props),o}return FV(t,null,[{key:"controlType",get:function(){return"search-number-range"}}]),t}(F);a$(NV,"controlFieldType",g.DECIMAL_RANGE);function VV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _$(e,t,n){return t=Nu(t),zV(e,p$()?Reflect.construct(t,n||[],Nu(e).constructor):t.apply(e,n))}function y$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nu(e){return Nu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nu(e)}function s$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&op(e,t)}function zV(e,t){return t&&(HV(t)==="object"||typeof t=="function")?t:VV(e)}function op(e,t){return op=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},op(e,t)}function HV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function p$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(p$=function(){return!!e})()}var qV=function(e){s$(t,e);function t(n){y$(this,t);var o;return o=_$(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),n.required&&!n.isHide&&o.push({type:"array",fields:{0:{type:"string",required:n.required,message:o[0].message},1:{type:"string",required:n.required,message:o[0].message}}}),o}return t}(z),rp=function(e){s$(t,e);function t(n){y$(this,t);var o,r;o=_$(this,t,[n]),jt(o,"rangeMin",void 0),jt(o,"rangeMax",void 0),jt(o,"placeholderStart",void 0),jt(o,"placeholderEnd",void 0),jt(o,"dateType",void 0),jt(o,"dateFormat",void 0),jt(o,"commonTimeSetting",void 0),jt(o,"setValueType",void 0),jt(o,"defaultValue",void 0),jt(o,"limitDateList",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:["",""];var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:De.DATE;var c;o.dateFormat=(c=n==null?void 0:n.dateFormat)!==null&&c!==void 0?c:"";var a;o.commonTimeSetting=(a=n==null?void 0:n.commonTimeSetting)!==null&&a!==void 0?a:[];var l;o.setValueType=(l=n==null?void 0:n.setValueType)!==null&&l!==void 0?l:"custom";var f;o.rangeMin=(f=n==null?void 0:n.rangeMin)!==null&&f!==void 0?f:"";var y;o.rangeMax=(y=n==null?void 0:n.rangeMax)!==null&&y!==void 0?y:"";var p;o.placeholderStart=(p=n==null?void 0:n.placeholderStart)!==null&&p!==void 0?p:"\u5F00\u59CB\u65E5\u671F";var b;o.placeholderEnd=(b=n==null?void 0:n.placeholderEnd)!==null&&b!==void 0?b:"\u7ED3\u675F\u65E5\u671F";var O;o.caption=(O=n==null?void 0:n.caption)!==null&&O!==void 0?O:cp.controlName;var m;return o.limitDateList=(m=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function(w){return new Kf(w)}))!==null&&m!==void 0?m:[],o}return t}(D);jt(rp,"RuntimeRules",qV);function UV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CV(e,t,n){return t=Vu(t),XV(e,v$()?Reflect.construct(t,n||[],Vu(e).constructor):t.apply(e,n))}function WV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function KV(e,t,n){return t&&d$(e.prototype,t),n&&d$(e,n),e}function ip(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vu(e){return Vu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vu(e)}function GV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&up(e,t)}function XV(e,t){return t&&(JV(t)==="object"||typeof t=="function")?t:UV(e)}function up(e,t){return up=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},up(e,t)}function JV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function v$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(v$=function(){return!!e})()}var cp=function(e){GV(t,e);function t(n){WV(this,t);var o;return o=CV(this,t,[n]),ip(o,"props",void 0),o.props=new rp(n==null?void 0:n.props),o}return KV(t,null,[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"search-date-range"}}]),t}(x);ip(cp,"controlFieldType",g.ARRAY),ip(cp,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function QV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZV(e,t,n){return t=zu(t),nz(e,g$()?Reflect.construct(t,n||[],zu(e).constructor):t.apply(e,n))}function YV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function tz(e,t,n){return t&&h$(e.prototype,t),n&&h$(e,n),e}function b$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zu(e){return zu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zu(e)}function ez(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lp(e,t)}function nz(e,t){return t&&(oz(t)==="object"||typeof t=="function")?t:QV(e)}function lp(e,t){return lp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},lp(e,t)}function oz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function g$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(g$=function(){return!!e})()}var rz=function(e){ez(t,e);function t(n){YV(this,t);var o;return o=ZV(this,t,[n]),b$(o,"props",void 0),o.props=new rp(n==null?void 0:n.props),o}return tz(t,null,[{key:"controlType",get:function(){return"search-date-range"}}]),t}(F);b$(rz,"controlFieldType",g.ARRAY);function iz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ap(e,t,n){return t=Hu(t),uz(e,m$()?Reflect.construct(t,n||[],Hu(e).constructor):t.apply(e,n))}function fp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hu(e){return Hu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hu(e)}function _p(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yp(e,t)}function uz(e,t){return t&&(cz(t)==="object"||typeof t=="function")?t:iz(e)}function yp(e,t){return yp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yp(e,t)}function cz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function m$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(m$=function(){return!!e})()}var lz=function(e){_p(t,e);function t(n){fp(this,t);var o;return o=ap(this,t,[n]),o.dataBind={type:"any"},o}return t}(ut),az=function(e){_p(t,e);function t(n){fp(this,t);var o;return o=ap(this,t,[n]),o[0]!==void 0&&(o[0].type="any"),o}return t}(z),qu=function(e){_p(t,e);function t(n){fp(this,t);var o;o=ap(this,t,[n]),tn(o,"controlExportName",void 0),tn(o,"permissions",void 0),tn(o,"defaultValue",void 0),tn(o,"isInlineEdit",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Wu.controlName;var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:void 0;var u;o.controlExportName=(u=n==null?void 0:n.controlExportName)!==null&&u!==void 0?u:"";var c;o.permissions=(c=n==null?void 0:n.permissions)!==null&&c!==void 0?c:[];var a;return o.isInlineEdit=(a=n==null?void 0:n.isInlineEdit)!==null&&a!==void 0?a:!1,o}return t}(D);tn(qu,"Rules",lz),tn(qu,"RuntimeRules",az);function fz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _z(e,t,n){return t=Cu(t),dz(e,w$()?Reflect.construct(t,n||[],Cu(e).constructor):t.apply(e,n))}function yz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function O$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function sz(e,t,n){return t&&O$(e.prototype,t),n&&O$(e,n),e}function Uu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cu(e){return Cu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cu(e)}function pz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sp(e,t)}function dz(e,t){return t&&(vz(t)==="object"||typeof t=="function")?t:fz(e)}function sp(e,t){return sp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sp(e,t)}function vz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function w$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(w$=function(){return!!e})()}var Wu=function(e){pz(t,e);function t(n){yz(this,t);var o;return o=_z(this,t,[n]),Uu(o,"props",void 0),o.props=new qu(n==null?void 0:n.props),o}return sz(t,null,[{key:"controlName",get:function(){return"Vue\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return"vue-form-item"}}]),t}(x);Uu(Wu,"controlFieldType",g.ANY),Uu(Wu,"controlEventKeys",[]),Uu(Wu,"setting",[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE,_.IS_HIDE_CAPTION,_.REQUIRED,_.IS_SHOW_CAPTION_TIP,_.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}]);function hz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bz(e,t,n){return t=Ku(t),wz(e,E$()?Reflect.construct(t,n||[],Ku(e).constructor):t.apply(e,n))}function gz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function mz(e,t,n){return t&&$$(e.prototype,t),n&&$$(e,n),e}function P$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ku(e){return Ku=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ku(e)}function Oz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pp(e,t)}function wz(e,t){return t&&($z(t)==="object"||typeof t=="function")?t:hz(e)}function pp(e,t){return pp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},pp(e,t)}function $z(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function E$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(E$=function(){return!!e})()}var Pz=function(e){Oz(t,e);function t(n){gz(this,t);var o;return o=bz(this,t,[n]),P$(o,"props",void 0),o.props=new qu(n==null?void 0:n.props),o}return mz(t,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),t}(F);P$(Pz,"controlFieldType",g.ANY);function Ez(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S$(e,t,n){return t=Gu(t),Sz(e,B$()?Reflect.construct(t,n||[],Gu(e).constructor):t.apply(e,n))}function T$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gu(e){return Gu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gu(e)}function R$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dp(e,t)}function Sz(e,t){return t&&(Tz(t)==="object"||typeof t=="function")?t:Ez(e)}function dp(e,t){return dp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dp(e,t)}function Tz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function B$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(B$=function(){return!!e})()}var Rz=function(e){R$(t,e);function t(n){T$(this,t);var o;return o=S$(this,t,[n]),yt(o,"listPageBind",[{type:"object",message:d.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}]}}]),yt(o,"formBind",{type:"object",fields:{formKey:{type:"string",message:d.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return t}(Me),vp=function(e){R$(t,e);function t(n){T$(this,t);var o;o=S$(this,t,[n]),yt(o,"options",void 0),yt(o,"optionConfig",void 0),yt(o,"defaultValue",void 0),yt(o,"listPageBind",void 0),yt(o,"datasourceBind",void 0),yt(o,"multistageFilling",void 0),yt(o,"viewFormModelType",void 0),yt(o,"canViewForm",void 0),yt(o,"formBind",void 0),yt(o,"openMultistageFilling",void 0),yt(o,"showSelectedDetail",void 0),yt(o,"selectedContentConfig",void 0);var r;o.options=Xt((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[]);var i;o.optionConfig=(i=n==null?void 0:n.optionConfig)!==null&&i!==void 0?i:"datasource",o.listPageBind=new Wa(n==null?void 0:n.listPageBind),o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Qu.controlName;var c;o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:"\u8BF7\u9009\u62E9";var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:"";var l;o.openMultistageFilling=(l=n==null?void 0:n.openMultistageFilling)!==null&&l!==void 0?l:!1;var f;o.showSelectedDetail=(f=n==null?void 0:n.showSelectedDetail)!==null&&f!==void 0?f:!1,o.selectedContentConfig=new Ja(n==null?void 0:n.selectedContentConfig),o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(b){var O;(O=o.multistageFilling)===null||O===void 0||O.push(new st(b))}));var y;o.canViewForm=(y=n==null?void 0:n.canViewForm)!==null&&y!==void 0?y:!1;var p;return o.viewFormModelType=(p=n==null?void 0:n.viewFormModelType)!==null&&p!==void 0?p:"window",o.formBind=new je(n==null?void 0:n.formBind),o}return t}(D);yt(vp,"Rules",Rz);function Bz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Iz(e,t,n){return t=Ju(t),xz(e,A$()?Reflect.construct(t,n||[],Ju(e).constructor):t.apply(e,n))}function Az(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function kz(e,t,n){return t&&I$(e.prototype,t),n&&I$(e,n),e}function Xu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ju(e){return Ju=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ju(e)}function 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&&hp(e,t)}function xz(e,t){return t&&(Fz(t)==="object"||typeof t=="function")?t:Bz(e)}function hp(e,t){return hp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hp(e,t)}function Fz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function A$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(A$=function(){return!!e})()}var Qu=function(e){Dz(t,e);function t(n){Az(this,t);var o;return o=Iz(this,t,[n]),Xu(o,"props",void 0),o.props=new vp(n==null?void 0:n.props),o}return kz(t,null,[{key:"controlName",get:function(){return"\u5173\u8054\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconguanliandanxuan"}},{key:"controlType",get:function(){return"select-relation"}}]),t}(x);Xu(Qu,"controlFieldType",g.VARCHAR),Xu(Qu,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0,showItems:[_.CAN_VIEW_FORM,_.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]),Xu(Qu,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);function jz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lz(e,t,n){return t=Zu(t),zz(e,x$()?Reflect.construct(t,n||[],Zu(e).constructor):t.apply(e,n))}function Mz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Nz(e,t,n){return t&&k$(e.prototype,t),n&&k$(e,n),e}function D$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zu(e){return Zu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zu(e)}function Vz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bp(e,t)}function zz(e,t){return t&&(Hz(t)==="object"||typeof t=="function")?t:jz(e)}function bp(e,t){return bp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},bp(e,t)}function Hz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function x$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(x$=function(){return!!e})()}var qz=function(e){Vz(t,e);function t(n){Mz(this,t);var o;return o=Lz(this,t,[n]),D$(o,"props",void 0),o.props=new vp(n==null?void 0:n.props),o}return Nz(t,null,[{key:"controlType",get:function(){return"select-relation"}}]),t}(F);D$(qz,"controlFieldType",g.VARCHAR);function Uz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cz(e,t,n){return t=Yu(t),Gz(e,F$()?Reflect.construct(t,n||[],Yu(e).constructor):t.apply(e,n))}function Wz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yu(e){return Yu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yu(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&&gp(e,t)}function Gz(e,t){return t&&(Xz(t)==="object"||typeof t=="function")?t:Uz(e)}function gp(e,t){return gp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gp(e,t)}function Xz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function F$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(F$=function(){return!!e})()}var j$=function(e){Kz(t,e);function t(n){return Wz(this,t),Cz(this,t,[n])}return t}(ro);function Jz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qz(e,t,n){return t=tc(t),eH(e,N$()?Reflect.construct(t,n||[],tc(e).constructor):t.apply(e,n))}function Zz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function L$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Yz(e,t,n){return t&&L$(e.prototype,t),n&&L$(e,n),e}function M$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tc(e){return tc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tc(e)}function tH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mp(e,t)}function eH(e,t){return t&&(nH(t)==="object"||typeof t=="function")?t:Jz(e)}function mp(e,t){return mp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},mp(e,t)}function nH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function N$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(N$=function(){return!!e})()}var oH=function(e){tH(t,e);function t(n){Zz(this,t);var o;return o=Qz(this,t,[n]),M$(o,"props",void 0),o.props=new j$(n==null?void 0:n.props),o}return Yz(t,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),t}(io);M$(oH,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED]},{key:"super-setting",visible:!0}]);function rH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iH(e,t,n){return t=ec(t),aH(e,H$()?Reflect.construct(t,n||[],ec(e).constructor):t.apply(e,n))}function uH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function V$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function cH(e,t,n){return t&&V$(e.prototype,t),n&&V$(e,n),e}function z$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ec(e){return ec=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ec(e)}function lH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Op(e,t)}function aH(e,t){return t&&(fH(t)==="object"||typeof t=="function")?t:rH(e)}function Op(e,t){return Op=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Op(e,t)}function fH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function H$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(H$=function(){return!!e})()}var _H=function(e){lH(t,e);function t(n){uH(this,t);var o;return o=iH(this,t,[n]),z$(o,"props",void 0),o.props=new j$(n==null?void 0:n.props),o}return cH(t,null,[{key:"controlType",get:function(){return"search-input"}}]),t}(F);z$(_H,"controlFieldType",g.VARCHAR);function yH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wp(e,t,n){return t=nc(t),sH(e,q$()?Reflect.construct(t,n||[],nc(e).constructor):t.apply(e,n))}function $p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nc(e){return nc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nc(e)}function Pp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ep(e,t)}function sH(e,t){return t&&(pH(t)==="object"||typeof t=="function")?t:yH(e)}function Ep(e,t){return Ep=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ep(e,t)}function pH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function q$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(q$=function(){return!!e})()}var dH=function(e){Pp(t,e);function t(n){$p(this,t);var o;return o=wp(this,t,[n]),q(o,"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),Io.call(o,n,Oe.controlCustomAttributes,!0),o.datasourceBind[1].fields&&(o.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:d.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:d.getMessage("rootNodeIsRequired")}}}]),o}return t}(ut),vH=function(e){Pp(t,e);function t(n){$p(this,t);var o;return o=wp(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(z),oc=function(e){Pp(t,e);function t(n){$p(this,t);var o,r;o=wp(this,t,[n]),q(o,"placeholder",void 0),q(o,"multiple",void 0),q(o,"canSearch",void 0),q(o,"levelType",void 0),q(o,"optionalLevel",void 0),q(o,"containsSubNode",void 0),q(o,"defaultDisplay",void 0),q(o,"isShowIncludeSub",void 0),q(o,"isDefaultCheckSub",void 0),q(o,"isShowFilterItem",void 0),q(o,"defaultCollapse",void 0),q(o,"defaultCollapseLevel",void 0),q(o,"optionConfig","datasource"),q(o,"datasourceBind",void 0),q(o,"filterItemDatasourceBind",void 0),q(o,"multistageFilling",void 0),q(o,"defaultValue",void 0),q(o,"openMultistageFilling",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Oe.controlName;var u;o.placeholder=(u=n==null?void 0:n.placeholder)!==null&&u!==void 0?u:"\u8BF7\u9009\u62E9";var c;o.multiple=(c=n==null?void 0:n.multiple)!==null&&c!==void 0?c:!1;var a;o.canSearch=(a=n==null?void 0:n.canSearch)!==null&&a!==void 0?a:!0;var l;o.levelType=(l=n==null?void 0:n.levelType)!==null&&l!==void 0?l:"all";var f;o.optionalLevel=(f=n==null?void 0:n.optionalLevel)!==null&&f!==void 0?f:1;var y;o.containsSubNode=(y=n==null?void 0:n.containsSubNode)!==null&&y!==void 0?y:!1;var p;o.isShowFilterItem=(p=n==null?void 0:n.isShowFilterItem)!==null&&p!==void 0?p:!1;var b;o.isShowIncludeSub=(b=n==null?void 0:n.isShowIncludeSub)!==null&&b!==void 0?b:!1;var O;o.isDefaultCheckSub=(O=n==null?void 0:n.isDefaultCheckSub)!==null&&O!==void 0?O:!1;var m;o.defaultCollapse=(m=n==null?void 0:n.defaultCollapse)!==null&&m!==void 0?m:"all";var w;o.defaultCollapseLevel=(w=n==null?void 0:n.defaultCollapseLevel)!==null&&w!==void 0?w:1;var h;o.datasourceBind=new m0((h=n==null?void 0:n.datasourceBind)!==null&&h!==void 0?h:{attributes:Oe.controlCustomAttributes});var $;o.filterItemDatasourceBind=new m0(($=n==null?void 0:n.filterItemDatasourceBind)!==null&&$!==void 0?$:{attributes:Oe.controlCustomAttributes});var P;o.openMultistageFilling=(P=n==null?void 0:n.openMultistageFilling)!==null&&P!==void 0?P:!1;var E;o.defaultDisplay=(E=n==null?void 0:n.defaultDisplay)!==null&&E!==void 0?E:!1;var T;o.multistageFilling=(T=n==null||(r=n.multistageFilling)===null||r===void 0?void 0:r.map(function(A){return new st(A)}))!==null&&T!==void 0?T:[];var j;return o.defaultValue=(j=n==null?void 0:n.defaultValue)!==null&&j!==void 0?j:[],o}return t}(D);q(oc,"Rules",dH),q(oc,"RuntimeRules",vH);function hH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bH(e,t,n){return t=ic(t),wH(e,C$()?Reflect.construct(t,n||[],ic(e).constructor):t.apply(e,n))}function gH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function U$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function mH(e,t,n){return t&&U$(e.prototype,t),n&&U$(e,n),e}function rc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ic(e){return ic=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ic(e)}function OH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sp(e,t)}function wH(e,t){return t&&($H(t)==="object"||typeof t=="function")?t:hH(e)}function Sp(e,t){return Sp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sp(e,t)}function $H(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function C$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(C$=function(){return!!e})()}var Oe=function(e){OH(t,e);function t(n){gH(this,t);var o;return o=bH(this,t,[n]),rc(o,"props",void 0),o.props=new oc(n==null?void 0:n.props),o}return mH(t,null,[{key:"controlName",get:function(){return"\u6811"}},{key:"controlIcon",get:function(){return"icontree"}},{key:"controlType",get:function(){return"tree"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}]),t}(x);rc(Oe,"controlEventKeys",["on_change","on_click"]),rc(Oe,"controlFieldType",g.ARRAY),rc(Oe,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.MULTIPLE,_.CAN_SEARCH,_.DEFAULT_DISPLAY,_.CONTAINS_SUB_NODE,_.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 PH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EH(e,t,n){return t=uc(t),BH(e,G$()?Reflect.construct(t,n||[],uc(e).constructor):t.apply(e,n))}function SH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function W$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function TH(e,t,n){return t&&W$(e.prototype,t),n&&W$(e,n),e}function K$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uc(e){return uc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},uc(e)}function RH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tp(e,t)}function BH(e,t){return t&&(IH(t)==="object"||typeof t=="function")?t:PH(e)}function Tp(e,t){return Tp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Tp(e,t)}function IH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function G$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(G$=function(){return!!e})()}var AH=function(e){RH(t,e);function t(n){SH(this,t);var o;return o=EH(this,t,[n]),K$(o,"props",void 0),o.props=new oc(n==null?void 0:n.props),o}return TH(t,null,[{key:"controlType",get:function(){return"tree"}}]),t}(F);K$(AH,"controlFieldType",g.ARRAY);function kH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rp(e,t,n){return t=cc(t),DH(e,X$()?Reflect.construct(t,n||[],cc(e).constructor):t.apply(e,n))}function Bp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ot(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cc(e){return cc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cc(e)}function Ip(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ap(e,t)}function DH(e,t){return t&&(xH(t)==="object"||typeof t=="function")?t:kH(e)}function Ap(e,t){return Ap=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ap(e,t)}function xH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function X$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(X$=function(){return!!e})()}var FH=function(e){Ip(t,e);function t(n){Bp(this,t);var o;return o=Rp(this,t,[n]),ot(o,"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),ot(o,"externalScope",{type:"any"}),Io.call(o,n,co.controlCustomAttributes),n.externalType===Ue.ASSIGN&&(o.externalScope={type:"array",required:!0,message:d.getMessage("pleaseAssignExternal")}),o}return t}(ut),jH=function(e){Ip(t,e);function t(n){Bp(this,t);var o;return o=Rp(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(z),lc=function(e){Ip(t,e);function t(n){Bp(this,t);var o;o=Rp(this,t,[n]),ot(o,"showType",void 0),ot(o,"range",void 0),ot(o,"rangeOptions",void 0),ot(o,"multiple",void 0),ot(o,"defaultValueType",void 0),ot(o,"defaultValue",void 0),ot(o,"multistageFilling",void 0),ot(o,"datasourceBind",void 0),ot(o,"datasourceType",void 0),ot(o,"insideType",void 0),ot(o,"externalType",void 0),ot(o,"externalScope",void 0),ot(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.range=(i=n==null?void 0:n.range)!==null&&i!==void 0?i:"all";var u;o.rangeOptions=(u=n==null?void 0:n.rangeOptions)!==null&&u!==void 0?u:[];var c;o.multiple=(c=n==null?void 0:n.multiple)!==null&&c!==void 0?c:!1;var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:co.controlName;var y;o.placeholder=(y=n==null?void 0:n.placeholder)!==null&&y!==void 0?y:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var p;o.datasourceBind=new So((p=n==null?void 0:n.datasourceBind)!==null&&p!==void 0?p:{attributes:co.controlCustomAttributes});var b;o.datasourceType=(b=n==null?void 0:n.datasourceType)!==null&&b!==void 0?b:zx.INTERNAL;var O;o.insideType=(O=n==null?void 0:n.insideType)!==null&&O!==void 0?O:Hx.ADMIN;var m;o.externalType=(m=n==null?void 0:n.externalType)!==null&&m!==void 0?m:Ue.ALL;var w;o.externalScope=(w=n==null?void 0:n.externalScope)!==null&&w!==void 0?w:[];var h;return o.openMultistageFilling=(h=n==null?void 0:n.openMultistageFilling)!==null&&h!==void 0?h:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function($){var P;(P=o.multistageFilling)===null||P===void 0||P.push(new st($))})),o}return t}(D);ot(lc,"Rules",FH),ot(lc,"RuntimeRules",jH);function LH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MH(e,t,n){return t=ac(t),HH(e,Q$()?Reflect.construct(t,n||[],ac(e).constructor):t.apply(e,n))}function NH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function VH(e,t,n){return t&&J$(e.prototype,t),n&&J$(e,n),e}function kp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ac(e){return ac=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ac(e)}function zH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dp(e,t)}function HH(e,t){return t&&(qH(t)==="object"||typeof t=="function")?t:LH(e)}function Dp(e,t){return Dp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dp(e,t)}function qH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Q$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Q$=function(){return!!e})()}var co=function(e){zH(t,e);function t(n){NH(this,t);var o;return o=MH(this,t,[n]),kp(o,"props",void 0),o.props=new lc(n==null?void 0:n.props),o}return VH(t,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),t}(x);kp(co,"controlFieldType",g.EMPLOYEES),kp(co,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.MULTIPLE,_.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 UH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CH(e,t,n){return t=fc(t),XH(e,tP()?Reflect.construct(t,n||[],fc(e).constructor):t.apply(e,n))}function WH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Z$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function KH(e,t,n){return t&&Z$(e.prototype,t),n&&Z$(e,n),e}function Y$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fc(e){return fc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fc(e)}function GH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xp(e,t)}function XH(e,t){return t&&(JH(t)==="object"||typeof t=="function")?t:UH(e)}function xp(e,t){return xp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xp(e,t)}function JH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tP=function(){return!!e})()}var QH=function(e){GH(t,e);function t(n){WH(this,t);var o;return o=CH(this,t,[n]),Y$(o,"props",void 0),o.props=new lc(n==null?void 0:n.props),o}return KH(t,null,[{key:"controlType",get:function(){return"employee2"}}]),t}(F);Y$(QH,"controlFieldType",g.EMPLOYEES);function ZH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eP(e,t,n){return t=_c(t),YH(e,rP()?Reflect.construct(t,n||[],_c(e).constructor):t.apply(e,n))}function nP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ht(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _c(e){return _c=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_c(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&&Fp(e,t)}function YH(e,t){return t&&(tq(t)==="object"||typeof t=="function")?t:ZH(e)}function Fp(e,t){return Fp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fp(e,t)}function tq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(rP=function(){return!!e})()}var eq=function(e){oP(t,e);function t(n){nP(this,t);var o;return o=eP(this,t,[n]),Ht(o,"signatureConfig",void 0),o.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fields:n.signatureConfig.undersignedList.reduce(function(r,i,u){return r[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator:function(a,l,f){if(i.type==="public"&&Ma(l.value)&&l.value.length===0){f("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}f()}},company:{type:"object",required:!0,validator:function(a,l,f){if(i.type==="public"&&i.signatureType.includes("company")&&Ma(l.value)&&l.value.length===0){f("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}f()}}}},r},{})}}},o}return t}(ut),jp=function(e){oP(t,e);function t(n){nP(this,t);var o;o=eP(this,t,[n]),Ht(o,"buttonType",void 0),Ht(o,"content",void 0),Ht(o,"showType",void 0),Ht(o,"color",void 0),Ht(o,"icon",void 0),Ht(o,"command",""),Ht(o,"isLoading",!1),Ht(o,"signatureConfig",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:pc.controlName;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u53D1\u8D77\u7B7E\u7F72";var u;o.buttonType=(u=n==null?void 0:n.buttonType)!==null&&u!==void 0?u:"primary";var c;o.showType=(c=n==null?void 0:n.showType)!==null&&c!==void 0?c:"text";var a;o.color=(a=n==null?void 0:n.color)!==null&&a!==void 0?a:"primary";var l;return o.icon=(l=n==null?void 0:n.icon)!==null&&l!==void 0?l:"iconfenlei2",o.signatureConfig=new Lx(n==null?void 0:n.signatureConfig),o}return t}(D);Ht(jp,"Rules",eq);function nq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oq(e,t,n){return t=sc(t),cq(e,uP()?Reflect.construct(t,n||[],sc(e).constructor):t.apply(e,n))}function rq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function iq(e,t,n){return t&&iP(e.prototype,t),n&&iP(e,n),e}function yc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sc(e){return sc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sc(e)}function uq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 cq(e,t){return t&&(lq(t)==="object"||typeof t=="function")?t:nq(e)}function Lp(e,t){return Lp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Lp(e,t)}function lq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(uP=function(){return!!e})()}var pc=function(e){uq(t,e);function t(n){rq(this,t);var o;return o=oq(this,t,[n]),yc(o,"props",void 0),o.props=new jp(n==null?void 0:n.props),o}return iq(t,null,[{key:"controlName",get:function(){return"\u7535\u5B50\u7B7E\u7AE0"}},{key:"controlIcon",get:function(){return"icondianziqianzhang"}},{key:"controlType",get:function(){return"electronic-signature"}}]),t}(x);yc(pc,"controlEventKeys",["on_click","on_click_finish"]),yc(pc,"controlFieldType",g.VARCHAR),yc(pc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[_.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 aq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fq(e,t,n){return t=dc(t),pq(e,aP()?Reflect.construct(t,n||[],dc(e).constructor):t.apply(e,n))}function _q(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function yq(e,t,n){return t&&cP(e.prototype,t),n&&cP(e,n),e}function lP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dc(e){return dc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dc(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&&Mp(e,t)}function pq(e,t){return t&&(dq(t)==="object"||typeof t=="function")?t:aq(e)}function Mp(e,t){return Mp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Mp(e,t)}function dq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(aP=function(){return!!e})()}var vq=function(e){sq(t,e);function t(n){_q(this,t);var o;return o=fq(this,t,[n]),lP(o,"props",void 0),o.props=new jp(n==null?void 0:n.props),o}return yq(t,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),t}(F);lP(vq,"controlFieldType",g.VARCHAR);function hq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Np(e,t,n){return t=vc(t),bq(e,fP()?Reflect.construct(t,n||[],vc(e).constructor):t.apply(e,n))}function Vp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vc(e){return vc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vc(e)}function zp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 bq(e,t){return t&&(gq(t)==="object"||typeof t=="function")?t:hq(e)}function Hp(e,t){return Hp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hp(e,t)}function gq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(fP=function(){return!!e})()}var mq=function(e){zp(t,e);function t(n){Vp(this,t);var o;return o=Np(this,t,[n]),rt(o,"content",{type:"string",required:!0,message:d.getMessage("pleaseEnterButtonContent")}),rt(o,"canAdd",void 0),rt(o,"wpsSetting",{type:"object",fields:{watermark:{type:"object",validator:function(i,u,c){if(u.active&&!u.text){c(d.getMessage("pleaseEnterWatermark"));return}c()}},autoRename:{type:"object",validator:function(i,u,c){if(u.active&&!u.text){c(d.getMessage("pleaseEnterFileName"));return}c()}}}}),o.canAdd={type:"boolean",validator:function(i,u,c){if(n.canAdd&&!n.addLocal&&!n.addOnline){c(d.getMessage("pleaseChooseAtLeastOne"));return}c()}},o}return t}(ut),Oq=function(e){zp(t,e);function t(n){Vp(this,t);var o;return o=Np(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(z),hc=function(e){zp(t,e);function t(n){Vp(this,t);var o;o=Np(this,t,[n]),rt(o,"content",void 0),rt(o,"canAdd",void 0),rt(o,"addLocal",void 0),rt(o,"addOnline",void 0),rt(o,"canDownload",void 0),rt(o,"canEdit",void 0),rt(o,"canExport",void 0),rt(o,"canDelete",void 0),rt(o,"wpsSetting",void 0),rt(o,"maxSize",void 0),rt(o,"defaultValue",void 0),rt(o,"revisionsMode",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:mc.controlName;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u65B0\u5EFA\u6587\u6863";var u;o.canAdd=(u=n==null?void 0:n.canAdd)!==null&&u!==void 0?u:!0;var c;o.addLocal=(c=n==null?void 0:n.addLocal)!==null&&c!==void 0?c:!0;var a;o.addOnline=(a=n==null?void 0:n.addOnline)!==null&&a!==void 0?a:!0;var l;o.canEdit=(l=n==null?void 0:n.canEdit)!==null&&l!==void 0?l:!0;var f;o.canDownload=(f=n==null?void 0:n.canDownload)!==null&&f!==void 0?f:!0;var y;o.canExport=(y=n==null?void 0:n.canExport)!==null&&y!==void 0?y:!0;var p;o.canDelete=(p=n==null?void 0:n.canDelete)!==null&&p!==void 0?p:!1;var b;o.maxSize=(b=n==null?void 0:n.maxSize)!==null&&b!==void 0?b:P7;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:[],o.wpsSetting=new Mx(n==null?void 0:n.wpsSetting);var m;return o.revisionsMode=(m=n==null?void 0:n.revisionsMode)!==null&&m!==void 0?m:!1,o}return t}(D);rt(hc,"Rules",mq),rt(hc,"RuntimeRules",Oq);function wq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $q(e,t,n){return t=gc(t),Tq(e,yP()?Reflect.construct(t,n||[],gc(e).constructor):t.apply(e,n))}function Pq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _P(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Eq(e,t,n){return t&&_P(e.prototype,t),n&&_P(e,n),e}function bc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gc(e){return gc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gc(e)}function 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&&qp(e,t)}function Tq(e,t){return t&&(Rq(t)==="object"||typeof t=="function")?t:wq(e)}function qp(e,t){return qp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qp(e,t)}function Rq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(yP=function(){return!!e})()}var mc=function(e){Sq(t,e);function t(n){Pq(this,t);var o;return o=$q(this,t,[n]),bc(o,"props",void 0),o.props=new hc(n==null?void 0:n.props),o}return Eq(t,null,[{key:"controlName",get:function(){return"\u5728\u7EBF\u6587\u6863"}},{key:"controlIcon",get:function(){return"iconwps"}},{key:"controlType",get:function(){return"wps"}}]),t}(x);bc(mc,"controlEventKeys",["on_change","on_wps_open"]),bc(mc,"controlFieldType",g.FILE),bc(mc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_SHOW_CAPTION_TIP,_.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 Bq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Iq(e,t,n){return t=Oc(t),xq(e,dP()?Reflect.construct(t,n||[],Oc(e).constructor):t.apply(e,n))}function Aq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function kq(e,t,n){return t&&sP(e.prototype,t),n&&sP(e,n),e}function pP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Oc(e){return Oc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oc(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&&Up(e,t)}function xq(e,t){return t&&(Fq(t)==="object"||typeof t=="function")?t:Bq(e)}function Up(e,t){return Up=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Up(e,t)}function Fq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(dP=function(){return!!e})()}var jq=function(e){Dq(t,e);function t(n){Aq(this,t);var o;return o=Iq(this,t,[n]),pP(o,"props",void 0),o.props=new hc(n==null?void 0:n.props),o}return kq(t,null,[{key:"controlType",get:function(){return"wps"}}]),t}(F);pP(jq,"controlFieldType",g.FILE);function Lq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cp(e,t,n){return t=wc(t),Mq(e,vP()?Reflect.construct(t,n||[],wc(e).constructor):t.apply(e,n))}function Wp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wc(e){return wc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wc(e)}function Kp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gp(e,t)}function Mq(e,t){return t&&(Nq(t)==="object"||typeof t=="function")?t:Lq(e)}function Gp(e,t){return Gp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gp(e,t)}function Nq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(vP=function(){return!!e})()}var Vq=function(e){Kp(t,e);function t(n){Wp(this,t);var o;return o=Cp(this,t,[n]),J(o,"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),J(o,"businessScope",{type:"any"}),Io.call(o,n,nn.controlCustomAttributes),n.businessType===Ue.ASSIGN&&(o.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")}),o}return t}(ut),zq=function(e){Kp(t,e);function t(n){Wp(this,t);var o;return o=Cp(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(z),$c=function(e){Kp(t,e);function t(n){Wp(this,t);var o;o=Cp(this,t,[n]),J(o,"showType",void 0),J(o,"range",void 0),J(o,"defaultValueType",void 0),J(o,"multiple",void 0),J(o,"rangeOptions",void 0),J(o,"defaultValue",void 0),J(o,"displayLevel",void 0),J(o,"showSubDept",void 0),J(o,"multistageFilling",void 0),J(o,"datasourceBind",void 0),J(o,"datasourceType",void 0),J(o,"businessType",void 0),J(o,"businessScope",void 0),J(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1;var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var c;o.defaultValueType=(c=n==null?void 0:n.defaultValueType)!==null&&c!==void 0?c:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var f;o.displayLevel=(f=n==null?void 0:n.displayLevel)!==null&&f!==void 0?f:1;var y;o.showSubDept=(y=n==null?void 0:n.showSubDept)!==null&&y!==void 0?y:!0;var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:nn.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u8BF7\u9009\u62E9\u90E8\u95E8";var O;o.datasourceBind=new So((O=n==null?void 0:n.datasourceBind)!==null&&O!==void 0?O:{attributes:nn.controlCustomAttributes});var m;o.datasourceType=(m=n==null?void 0:n.datasourceType)!==null&&m!==void 0?m:Tb.INTERNAL;var w;o.businessScope=(w=n==null?void 0:n.businessScope)!==null&&w!==void 0?w:[];var h;o.businessType=(h=n==null?void 0:n.businessType)!==null&&h!==void 0?h:Ue.ALL;var $;return o.openMultistageFilling=($=n==null?void 0:n.openMultistageFilling)!==null&&$!==void 0?$:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(P){var E;(E=o.multistageFilling)===null||E===void 0||E.push(new st(P))})),o}return t}(D);J($c,"Rules",Vq),J($c,"RuntimeRules",zq);function Hq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qq(e,t,n){return t=en(t),Kq(e,bP()?Reflect.construct(t,n||[],en(e).constructor):t.apply(e,n))}function Uq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Cq(e,t,n){return t&&hP(e.prototype,t),n&&hP(e,n),e}function Pc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ec(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Ec=Reflect.get:Ec=function(r,i,u){var c=Gq(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Ec(e,t,n||e)}function en(e){return en=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},en(e)}function Wq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xp(e,t)}function Kq(e,t){return t&&(Xq(t)==="object"||typeof t=="function")?t:Hq(e)}function Xp(e,t){return Xp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xp(e,t)}function Gq(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=en(e),e!==null););return e}function Xq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(bP=function(){return!!e})()}var nn=function(e){Wq(t,e);function t(n){Uq(this,t);var o;return o=qq(this,t,[n]),Pc(o,"props",void 0),o.props=new $c(n==null?void 0:n.props),o}return Cq(t,[{key:"toDataBindModel",value:function(o){var r=Ec(en(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.displayLevel,c=i.showSubDept;r.props.displayLevel=u,r.props.showSubDept=c}return r}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),t}(x);Pc(nn,"controlName","\u90E8\u95E8"),Pc(nn,"controlFieldType",g.DEPARTMENTS),Pc(nn,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.MULTIPLE,_.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 Jq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qq(e,t,n){return t=Sc(t),eU(e,OP()?Reflect.construct(t,n||[],Sc(e).constructor):t.apply(e,n))}function Zq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Yq(e,t,n){return t&&gP(e.prototype,t),n&&gP(e,n),e}function mP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sc(e){return Sc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sc(e)}function tU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 eU(e,t){return t&&(nU(t)==="object"||typeof t=="function")?t:Jq(e)}function Jp(e,t){return Jp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jp(e,t)}function nU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(OP=function(){return!!e})()}var oU=function(e){tU(t,e);function t(n){Zq(this,t);var o;return o=Qq(this,t,[n]),mP(o,"props",void 0),o.props=new $c(n==null?void 0:n.props),o}return Yq(t,null,[{key:"controlType",get:function(){return"department2"}}]),t}(F);mP(oU,"controlFieldType",g.DEPARTMENTS);function rU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qp(e,t,n){return t=Tc(t),iU(e,wP()?Reflect.construct(t,n||[],Tc(e).constructor):t.apply(e,n))}function Zp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function H(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tc(e){return Tc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tc(e)}function Yp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&td(e,t)}function iU(e,t){return t&&(uU(t)==="object"||typeof t=="function")?t:rU(e)}function td(e,t){return td=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},td(e,t)}function uU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(wP=function(){return!!e})()}var cU=function(e){Yp(t,e);function t(n){Zp(this,t);var o;return o=Qp(this,t,[n]),H(o,"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),H(o,"businessScope",{type:"any"}),Io.call(o,n,rn.controlCustomAttributes),n.businessType===Ue.ASSIGN&&(o.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")}),o}return t}(ut),lU=function(e){Yp(t,e);function t(n){Zp(this,t);var o;return o=Qp(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(z),Rc=function(e){Yp(t,e);function t(n){Zp(this,t);var o;o=Qp(this,t,[n]),H(o,"showType",void 0),H(o,"range",void 0),H(o,"defaultValueType",void 0),H(o,"multiple",void 0),H(o,"rangeOptions",void 0),H(o,"defaultValue",void 0),H(o,"displayLevel",void 0),H(o,"showSubDept",void 0),H(o,"multistageFilling",void 0),H(o,"datasourceBind",void 0),H(o,"listPageBind",void 0),H(o,"datasourceType",void 0),H(o,"businessType",void 0),H(o,"businessScope",void 0),H(o,"organizingFunction",void 0),H(o,"organizationView",void 0),H(o,"openMultistageFilling",void 0),H(o,"showSelectedDetail",void 0),H(o,"selectedContentConfig",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1;var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all",o.listPageBind=new Wa(n==null?void 0:n.listPageBind);var c;o.defaultValueType=(c=n==null?void 0:n.defaultValueType)!==null&&c!==void 0?c:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var f;o.displayLevel=(f=n==null?void 0:n.displayLevel)!==null&&f!==void 0?f:1;var y;o.showSubDept=(y=n==null?void 0:n.showSubDept)!==null&&y!==void 0?y:!0;var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:rn.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u8BF7\u9009\u62E9\u7EC4\u7EC7";var O;o.datasourceBind=new jA((O=n==null?void 0:n.datasourceBind)!==null&&O!==void 0?O:{attributes:rn.controlCustomAttributes});var m;o.datasourceType=(m=n==null?void 0:n.datasourceType)!==null&&m!==void 0?m:Tb.INTERNAL;var w;o.businessScope=(w=n==null?void 0:n.businessScope)!==null&&w!==void 0?w:[];var h;o.businessType=(h=n==null?void 0:n.businessType)!==null&&h!==void 0?h:Ue.ALL;var $;o.organizingFunction=($=n==null?void 0:n.organizingFunction)!==null&&$!==void 0?$:void 0;var P;o.organizationView=(P=n==null?void 0:n.organizationView)!==null&&P!==void 0?P:void 0;var E;o.showSelectedDetail=(E=n==null?void 0:n.showSelectedDetail)!==null&&E!==void 0?E:!1,o.selectedContentConfig=new Ja(n==null?void 0:n.selectedContentConfig);var T;return o.openMultistageFilling=(T=n==null?void 0:n.openMultistageFilling)!==null&&T!==void 0?T:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(j){var A;(A=o.multistageFilling)===null||A===void 0||A.push(new st(j))})),o}return t}(D);H(Rc,"Rules",cU),H(Rc,"RuntimeRules",lU);function aU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fU(e,t,n){return t=on(t),pU(e,PP()?Reflect.construct(t,n||[],on(e).constructor):t.apply(e,n))}function _U(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $P(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function yU(e,t,n){return t&&$P(e.prototype,t),n&&$P(e,n),e}function Bc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ic(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Ic=Reflect.get:Ic=function(r,i,u){var c=dU(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Ic(e,t,n||e)}function on(e){return on=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},on(e)}function sU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ed(e,t)}function pU(e,t){return t&&(vU(t)==="object"||typeof t=="function")?t:aU(e)}function ed(e,t){return ed=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ed(e,t)}function dU(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=on(e),e!==null););return e}function vU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(PP=function(){return!!e})()}var rn=function(e){sU(t,e);function t(n){_U(this,t);var o;return o=fU(this,t,[n]),Bc(o,"props",void 0),o.props=new Rc(n==null?void 0:n.props),o}return yU(t,[{key:"toDataBindModel",value:function(o){var r=Ic(on(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.displayLevel,c=i.showSubDept;r.props.displayLevel=u,r.props.showSubDept=c}return r}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"organization-selection"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),t}(x);Bc(rn,"controlName","\u4E1A\u52A1\u7EC4\u7EC7"),Bc(rn,"controlFieldType",g.DEPARTMENTS),Bc(rn,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.MULTIPLE,_.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 hU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bU(e,t,n){return t=Ac(t),wU(e,TP()?Reflect.construct(t,n||[],Ac(e).constructor):t.apply(e,n))}function gU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function EP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function mU(e,t,n){return t&&EP(e.prototype,t),n&&EP(e,n),e}function SP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ac(e){return Ac=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ac(e)}function OU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nd(e,t)}function wU(e,t){return t&&($U(t)==="object"||typeof t=="function")?t:hU(e)}function nd(e,t){return nd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},nd(e,t)}function $U(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(TP=function(){return!!e})()}var PU=function(e){OU(t,e);function t(n){gU(this,t);var o;return o=bU(this,t,[n]),SP(o,"props",void 0),o.props=new Rc(n==null?void 0:n.props),o}return mU(t,null,[{key:"controlType",get:function(){return"organization-selection"}}]),t}(F);SP(PU,"controlFieldType",g.DEPARTMENTS);function EU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SU(e,t,n){return t=kc(t),AU(e,BP()?Reflect.construct(t,n||[],kc(e).constructor):t.apply(e,n))}function TU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function RU(e,t,n){return t&&RP(e.prototype,t),n&&RP(e,n),e}function BU(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kc(e){return kc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kc(e)}function 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&&od(e,t)}function AU(e,t){return t&&(kU(t)==="object"||typeof t=="function")?t:EU(e)}function od(e,t){return od=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},od(e,t)}function kU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(BP=function(){return!!e})()}var DU=function(e){IU(t,e);function t(n){return TU(this,t),SU(this,t,[n])}return RU(t,null,[{key:"controlName",get:function(){return"\u753B\u5E03"}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),t}(Z);BU(DU,"excludes",[s.GRID]);function xU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FU(e,t,n){return t=Dc(t),MU(e,AP()?Reflect.construct(t,n||[],Dc(e).constructor):t.apply(e,n))}function jU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Dc(e){return Dc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dc(e)}function LU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rd(e,t)}function MU(e,t){return t&&(NU(t)==="object"||typeof t=="function")?t:xU(e)}function rd(e,t){return rd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rd(e,t)}function NU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(AP=function(){return!!e})()}var VU=24,lo=function(e){LU(t,e);function t(n){jU(this,t);var o;o=FU(this,t,[n]),IP(o,"span",void 0),IP(o,"offset",void 0);var r;o.span=(r=n==null?void 0:n.span)!==null&&r!==void 0?r:VU;var i;return o.offset=(i=n==null?void 0:n.offset)!==null&&i!==void 0?i:0,o}return t}(Q);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,n){return t=xc(t),WU(e,DP()?Reflect.construct(t,n||[],xc(e).constructor):t.apply(e,n))}function qU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function UU(e,t,n){return t&&kP(e.prototype,t),n&&kP(e,n),e}function id(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xc(e){return xc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xc(e)}function CU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ud(e,t)}function WU(e,t){return t&&(KU(t)==="object"||typeof t=="function")?t:zU(e)}function ud(e,t){return ud=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ud(e,t)}function KU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(DP=function(){return!!e})()}var ao=function(e){CU(t,e);function t(n){qU(this,t);var o;return o=HU(this,t,[n]),id(o,"props",void 0),o.props=new lo(n==null?void 0:n.props),o}return UU(t,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),t}(Z);id(ao,"excludes",[s.COL,s.CARD_GROUP,s.SUBTABLE,s.SUBTABLE_COLUMN,s.GRID_LAYOUT_CONTAINER,s.DIVIDER]),id(ao,"childrenMaxLength",1);function GU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XU(e,t,n){return t=Fc(t),tC(e,FP()?Reflect.construct(t,n||[],Fc(e).constructor):t.apply(e,n))}function JU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function QU(e,t,n){return t&&xP(e.prototype,t),n&&xP(e,n),e}function ZU(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fc(e){return Fc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fc(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&&cd(e,t)}function tC(e,t){return t&&(eC(t)==="object"||typeof t=="function")?t:GU(e)}function cd(e,t){return cd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cd(e,t)}function eC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(FP=function(){return!!e})()}var nC=function(e){YU(t,e);function t(n){JU(this,t);var o;return o=XU(this,t,[n]),ZU(o,"props",void 0),o.props=new lo(n==null?void 0:n.props),o}return QU(t,null,[{key:"controlType",get:function(){return"col"}}]),t}(ge),jP={Designer:ao,Runtime:nC,Property:lo};function oC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rC(e,t,n){return t=jc(t),cC(e,MP()?Reflect.construct(t,n||[],jc(e).constructor):t.apply(e,n))}function iC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jc(e){return jc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jc(e)}function uC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 cC(e,t){return t&&(lC(t)==="object"||typeof t=="function")?t:oC(e)}function ld(e,t){return ld=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ld(e,t)}function lC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(MP=function(){return!!e})()}var ad=function(e){uC(t,e);function t(n){iC(this,t);var o;o=rC(this,t,[n]),LP(o,"layoutMode",void 0),LP(o,"gutter",void 0);var r;o.layoutMode=(r=n==null?void 0:n.layoutMode)!==null&&r!==void 0?r:"select";var i;return o.gutter=(i=n==null?void 0:n.gutter)!==null&&i!==void 0?i:0,o}return t}(Q);function aC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fC(e,t,n){return t=Lc(t),pC(e,VP()?Reflect.construct(t,n||[],Lc(e).constructor):t.apply(e,n))}function _C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function yC(e,t,n){return t&&NP(e.prototype,t),n&&NP(e,n),e}function fd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lc(e){return Lc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lc(e)}function sC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_d(e,t)}function pC(e,t){return t&&(dC(t)==="object"||typeof t=="function")?t:aC(e)}function _d(e,t){return _d=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_d(e,t)}function dC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(VP=function(){return!!e})()}var yd=function(e){sC(t,e);function t(n){_C(this,t);var o;return o=fC(this,t,[n]),fd(o,"props",void 0),o.props=new ad(n==null?void 0:n.props),o}return yC(t,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),t}(Z);fd(yd,"excludes",[s.ROW]),fd(yd,"setting",[{key:"col-setting",visible:!0}]);function vC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hC(e,t,n){return t=Mc(t),wC(e,HP()?Reflect.construct(t,n||[],Mc(e).constructor):t.apply(e,n))}function bC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function gC(e,t,n){return t&&zP(e.prototype,t),n&&zP(e,n),e}function mC(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mc(e){return Mc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mc(e)}function OC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sd(e,t)}function wC(e,t){return t&&($C(t)==="object"||typeof t=="function")?t:vC(e)}function sd(e,t){return sd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sd(e,t)}function $C(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(HP=function(){return!!e})()}var PC=function(e){OC(t,e);function t(n){bC(this,t);var o;return o=hC(this,t,[n]),mC(o,"props",void 0),o.props=new ad(n==null?void 0:n.props),o}return gC(t,null,[{key:"controlType",get:function(){return"row"}}]),t}(ge);function EC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SC(e,t,n){return t=Nc(t),IC(e,UP()?Reflect.construct(t,n||[],Nc(e).constructor):t.apply(e,n))}function TC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function RC(e,t,n){return t&&qP(e.prototype,t),n&&qP(e,n),e}function pd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nc(e){return Nc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nc(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&&dd(e,t)}function IC(e,t){return t&&(AC(t)==="object"||typeof t=="function")?t:EC(e)}function dd(e,t){return dd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dd(e,t)}function AC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function UP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(UP=function(){return!!e})()}var kC=4,Vc=function(e){BC(t,e);function t(n){return TC(this,t),SC(this,t,[n])}return RC(t,null,[{key:"controlName",get:function(){return"\u6805\u683C\u7B49\u5206\u884C"}},{key:"controlType",get:function(){return"grid-row"}},{key:"controlIcon",get:function(){return"grid-row"}}]),t}(yd);pd(Vc,"excludes",[s.GRID_ROW]),pd(Vc,"setting",[]),pd(Vc,"childrenMaxLength",kC);function DC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xC(e,t,n){return t=zc(t),MC(e,WP()?Reflect.construct(t,n||[],zc(e).constructor):t.apply(e,n))}function FC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function jC(e,t,n){return t&&CP(e.prototype,t),n&&CP(e,n),e}function zc(e){return zc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zc(e)}function LC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vd(e,t)}function MC(e,t){return t&&(NC(t)==="object"||typeof t=="function")?t:DC(e)}function vd(e,t){return vd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vd(e,t)}function NC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(WP=function(){return!!e})()}var VC=function(e){LC(t,e);function t(n){return FC(this,t),xC(this,t,[n])}return jC(t,null,[{key:"controlType",get:function(){return"grid-row"}}]),t}(PC);function zC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HC(e,t,n){return t=Hc(t),CC(e,KP()?Reflect.construct(t,n||[],Hc(e).constructor):t.apply(e,n))}function qC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hc(e){return Hc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hc(e)}function UC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 CC(e,t){return t&&(WC(t)==="object"||typeof t=="function")?t:zC(e)}function hd(e,t){return hd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hd(e,t)}function WC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(KP=function(){return!!e})()}var KC=function(e){UC(t,e);function t(n){return qC(this,t),HC(this,t,[n])}return t}(ad),GC={Designer:Vc,Runtime:VC,Property:KC};function XC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GP(e,t,n){return t=Uc(t),JC(e,QP()?Reflect.construct(t,n||[],Uc(e).constructor):t.apply(e,n))}function XP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Uc(e){return Uc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Uc(e)}function JP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bd(e,t)}function JC(e,t){return t&&(QC(t)==="object"||typeof t=="function")?t:XC(e)}function bd(e,t){return bd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},bd(e,t)}function QC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(QP=function(){return!!e})()}var ZC=function(e){JP(t,e);function t(){XP(this,t);var n;return n=GP(this,t,arguments),qc(n,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),n}return t}(Q.Rules),ZP=function(e){JP(t,e);function t(n){XP(this,t);var o;o=GP(this,t,[n]),qc(o,"caption",void 0),qc(o,"collapse",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:"\u5206\u7EC4";var i;return o.collapse=(i=n==null?void 0:n.collapse)!==null&&i!==void 0?i:"none",o}return t}(Q);qc(ZP,"Rules",ZC);function YC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tW(e,t,n){return t=Cc(t),rW(e,tE()?Reflect.construct(t,n||[],Cc(e).constructor):t.apply(e,n))}function eW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function nW(e,t,n){return t&&YP(e.prototype,t),n&&YP(e,n),e}function gd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cc(e){return Cc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cc(e)}function oW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&md(e,t)}function rW(e,t){return t&&(iW(t)==="object"||typeof t=="function")?t:YC(e)}function md(e,t){return md=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},md(e,t)}function iW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tE=function(){return!!e})()}var eE=function(e){oW(t,e);function t(n){eW(this,t);var o;return o=tW(this,t,[n]),gd(o,"props",void 0),o.props=new ZP(n==null?void 0:n.props),o}return nW(t,null,[{key:"controlName",get:function(){return"\u5206\u7EC4"}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),t}(Z);gd(eE,"setting",[{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}]),gd(eE,"excludes",[s.CARD_GROUP]);function uW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nE(e,t,n){return t=Wc(t),cW(e,iE()?Reflect.construct(t,n||[],Wc(e).constructor):t.apply(e,n))}function oE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wc(e){return Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wc(e)}function rE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Od(e,t)}function cW(e,t){return t&&(lW(t)==="object"||typeof t=="function")?t:uW(e)}function Od(e,t){return Od=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Od(e,t)}function lW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(iE=function(){return!!e})()}var aW=function(e){rE(t,e);function t(n){oE(this,t);var o;return o=nE(this,t,[n]),qt(o,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),qt(o,"width",{type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")}),qt(o,"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return t}(W),Kc=function(e){rE(t,e);function t(n){oE(this,t);var o;o=nE(this,t,[n]),qt(o,"metaAutoWidth",void 0),qt(o,"caption",void 0),qt(o,"fixed",void 0),qt(o,"isShowCaptionTip",void 0),qt(o,"captionTip",void 0),qt(o,"isHideCaption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:"";var i;o.fixed=(i=n==null?void 0:n.fixed)!==null&&i!==void 0?i:!1;var u;o.isShowCaptionTip=(u=n==null?void 0:n.isShowCaptionTip)!==null&&u!==void 0?u:!1;var c;o.captionTip=(c=n==null?void 0:n.captionTip)!==null&&c!==void 0?c:"";var a;return o.isHideCaption=(a=n==null?void 0:n.isHideCaption)!==null&&a!==void 0?a:!1,o.metaAutoWidth=new h0(n==null?void 0:n.metaAutoWidth),o}return t}(Q);qt(Kc,"Rules",aW);function fW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _W(e,t,n){return t=Gc(t),pW(e,uE()?Reflect.construct(t,n||[],Gc(e).constructor):t.apply(e,n))}function yW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function we(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gc(e){return Gc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gc(e)}function sW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wd(e,t)}function pW(e,t){return t&&(dW(t)==="object"||typeof t=="function")?t:fW(e)}function wd(e,t){return wd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wd(e,t)}function dW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(uE=function(){return!!e})()}var Lt=function(e){sW(t,e);function t(n){yW(this,t);var o;return o=_W(this,t,[n]),we(o,"props",void 0),o.props=new Kc(n==null?void 0:n.props),o}return t}(Z);we(Lt,"controlName","\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),we(Lt,"controlType","subtable-column"),we(Lt,"controlIcon","subtable-column"),we(Lt,"childrenMaxLength",1),we(Lt,"excludes",[s.SUBTABLE,s.SUBTABLE_COLUMN,s.ROW,s.COL,s.CARD_GROUP,s.DIVIDER,s.TEXT]),we(Lt,"setting",[{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"common-setting",showItems:[_.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}]);function vW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hW(e,t,n){return t=Xc(t),mW(e,lE()?Reflect.construct(t,n||[],Xc(e).constructor):t.apply(e,n))}function bW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xc(e){return Xc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xc(e)}function gW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$d(e,t)}function mW(e,t){return t&&(OW(t)==="object"||typeof t=="function")?t:vW(e)}function $d(e,t){return $d=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$d(e,t)}function OW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(lE=function(){return!!e})()}var aE=function(e){gW(t,e);function t(n){bW(this,t);var o;return o=hW(this,t,[n]),cE(o,"props",void 0),o.props=new Kc(n==null?void 0:n.props),o}return t}(ge);cE(aE,"controlType","subtable-column");var wW={Designer:Lt,Runtime:aE,Property:Kc};function $W(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PW(e,t,n){return t=Jc(t),TW(e,fE()?Reflect.construct(t,n||[],Jc(e).constructor):t.apply(e,n))}function EW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jc(e){return Jc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jc(e)}function SW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pd(e,t)}function TW(e,t){return t&&(RW(t)==="object"||typeof t=="function")?t:$W(e)}function Pd(e,t){return Pd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Pd(e,t)}function RW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(fE=function(){return!!e})()}var BW=function(e){SW(t,e);function t(n){return EW(this,t),PW(this,t,[n])}return t}(Q);function IW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AW(e,t,n){return t=Qc(t),xW(e,_E()?Reflect.construct(t,n||[],Qc(e).constructor):t.apply(e,n))}function kW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qc(e){return Qc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qc(e)}function DW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ed(e,t)}function xW(e,t){return t&&(FW(t)==="object"||typeof t=="function")?t:IW(e)}function Ed(e,t){return Ed=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ed(e,t)}function FW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _E(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_E=function(){return!!e})()}var un=function(e){DW(t,e);function t(n){kW(this,t);var o;return o=AW(this,t,[n]),$e(o,"props",void 0),o.props=new BW(n==null?void 0:n.props),o}return t}(Z);$e(un,"controlName","\u660E\u7EC6\u5B50\u8868\u884C"),$e(un,"controlType","subtable-row"),$e(un,"controlIcon","subtable-row"),$e(un,"childrenMaxLength",1),$e(un,"excludes",[s.SUBTABLE,s.SUBTABLE_COLUMN,s.SUBTABLE_ROW,s.ROW,s.COL,s.CARD_GROUP,s.DIVIDER,s.TEXT]),$e(un,"setting",[{key:"caption",showItems:[_.CAPTION],visible:!0}]);function jW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LW(e,t,n){return t=Zc(t),VW(e,yE()?Reflect.construct(t,n||[],Zc(e).constructor):t.apply(e,n))}function MW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zc(e){return Zc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zc(e)}function NW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sd(e,t)}function VW(e,t){return t&&(zW(t)==="object"||typeof t=="function")?t:jW(e)}function Sd(e,t){return Sd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sd(e,t)}function zW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(yE=function(){return!!e})()}var sE=function(e){NW(t,e);function t(n){MW(this,t);var o;o=LW(this,t,[n]),Tt(o,"widthType",void 0),Tt(o,"width",void 0),Tt(o,"caption",void 0),Tt(o,"fieldCode",void 0),Tt(o,"fieldType",void 0),Tt(o,"fieldName",void 0),Tt(o,"datasourceBind",void 0),Tt(o,"fixed",void 0),Tt(o,"textCleanFormart",void 0),Tt(o,"decimalKeepPrecision",void 0),Tt(o,"timestampDateType",void 0),Tt(o,"departmentDisplayLevel",void 0);var r;o.width=(r=n==null?void 0:n.width)!==null&&r!==void 0?r:200,o.widthType=(n==null?void 0:n.widthType)||"auto";var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:!1;var c;o.fieldCode=(c=n==null?void 0:n.fieldCode)!==null&&c!==void 0?c:"";var a;o.fieldType=(a=n==null?void 0:n.fieldType)!==null&&a!==void 0?a:g.VARCHAR;var l;o.fieldName=(l=n==null?void 0:n.fieldName)!==null&&l!==void 0?l:"",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var f;o.textCleanFormart=(f=n==null?void 0:n.textCleanFormart)!==null&&f!==void 0?f:!1;var y;o.decimalKeepPrecision=(y=n==null?void 0:n.decimalKeepPrecision)!==null&&y!==void 0?y:0;var p;o.timestampDateType=(p=n==null?void 0:n.timestampDateType)!==null&&p!==void 0?p:De.DATE;var b;return o.departmentDisplayLevel=(b=n==null?void 0:n.departmentDisplayLevel)!==null&&b!==void 0?b:1,o}return t}(Q);function HW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qW(e,t,n){return t=Yc(t),WW(e,pE()?Reflect.construct(t,n||[],Yc(e).constructor):t.apply(e,n))}function UW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yc(e){return Yc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yc(e)}function CW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Td(e,t)}function WW(e,t){return t&&(KW(t)==="object"||typeof t=="function")?t:HW(e)}function Td(e,t){return Td=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Td(e,t)}function KW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(pE=function(){return!!e})()}var cn=function(e){CW(t,e);function t(n){UW(this,t);var o;return o=qW(this,t,[n]),Pe(o,"props",void 0),o.props=new sE(n==null?void 0:n.props),o}return t}(Z);Pe(cn,"controlName","\u5217\u8868\u5355\u5143\u683C"),Pe(cn,"controlType","gridtable-column"),Pe(cn,"controlIcon","gridtable-column"),Pe(cn,"childrenMaxLength",1),Pe(cn,"excludes",[s.GRID_TABLE,s.GRID_TABLE_COLUMN,s.ROW,s.COL,s.CARD_GROUP,s.DIVIDER,s.TEXT]),Pe(cn,"setting",[{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}]);function GW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XW(e,t,n){return t=tl(t),ZW(e,vE()?Reflect.construct(t,n||[],tl(e).constructor):t.apply(e,n))}function JW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tl(e){return tl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tl(e)}function QW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rd(e,t)}function ZW(e,t){return t&&(YW(t)==="object"||typeof t=="function")?t:GW(e)}function Rd(e,t){return Rd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rd(e,t)}function YW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(vE=function(){return!!e})()}var tK=function(e){QW(t,e);function t(n){JW(this,t);var o;return o=XW(this,t,[n]),dE(o,"props",void 0),o.props=new sE(n==null?void 0:n.props),o}return t}(ge);dE(tK,"controlType","gridtable-column");function eK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nK(e,t,n){return t=el(t),iK(e,bE()?Reflect.construct(t,n||[],el(e).constructor):t.apply(e,n))}function oK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function el(e){return el=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},el(e)}function rK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bd(e,t)}function iK(e,t){return t&&(uK(t)==="object"||typeof t=="function")?t:eK(e)}function Bd(e,t){return Bd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bd(e,t)}function uK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(bE=function(){return!!e})()}var cK=function(e){rK(t,e);function t(n){oK(this,t);var o;o=nK(this,t,[n]),hE(o,"childMinWidth",void 0),hE(o,"colGap",void 0);var r;o.childMinWidth=(r=n==null?void 0:n.childMinWidth)!==null&&r!==void 0?r:230;var i;return o.colGap=(i=n==null?void 0:n.colGap)!==null&&i!==void 0?i:24,o}return t}(Q);function lK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aK(e,t,n){return t=nl(t),sK(e,mE()?Reflect.construct(t,n||[],nl(e).constructor):t.apply(e,n))}function fK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function _K(e,t,n){return t&&gE(e.prototype,t),n&&gE(e,n),e}function Id(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nl(e){return nl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nl(e)}function 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&&Ad(e,t)}function sK(e,t){return t&&(pK(t)==="object"||typeof t=="function")?t:lK(e)}function Ad(e,t){return Ad=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ad(e,t)}function pK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(mE=function(){return!!e})()}var OE=function(e){yK(t,e);function t(n){fK(this,t);var o;return o=aK(this,t,[n]),Id(o,"props",void 0),o.props=new cK(n==null?void 0:n.props),o}return _K(t,null,[{key:"controlName",get:function(){return"\u6362\u884C\u5BB9\u5668"}},{key:"controlType",get:function(){return"grid-layout-container"}},{key:"controlIcon",get:function(){return"icona-huanhangrongqi1"}}]),t}(Z);Id(OE,"excludes",[s.GRID_LAYOUT_CONTAINER,s.CARD_GROUP,s.TAB]),Id(OE,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}]);function dK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vK(e,t,n){return t=ol(t),mK(e,wE()?Reflect.construct(t,n||[],ol(e).constructor):t.apply(e,n))}function hK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bK(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ol(e){return ol=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ol(e)}function 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&&kd(e,t)}function mK(e,t){return t&&(OK(t)==="object"||typeof t=="function")?t:dK(e)}function kd(e,t){return kd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kd(e,t)}function OK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(wE=function(){return!!e})()}var wK=function(e){gK(t,e);function t(n){hK(this,t);var o;o=vK(this,t,[n]),bK(o,"mobileShowType",void 0);var r;return o.mobileShowType=(r=n==null?void 0:n.mobileShowType)!==null&&r!==void 0?r:"vertical",o}return t}(Q);function $K(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $E(e,t,n){return t=rl(t),PK(e,SE()?Reflect.construct(t,n||[],rl(e).constructor):t.apply(e,n))}function PE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rl(e){return rl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rl(e)}function EE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xd(e,t)}function PK(e,t){return t&&(EK(t)==="object"||typeof t=="function")?t:$K(e)}function xd(e,t){return xd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xd(e,t)}function EK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(SE=function(){return!!e})()}var SK=function(e){EE(t,e);function t(n){PE(this,t);var o;return o=$E(this,t,[n]),Dd(o,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),o}return t}(W),TE=function(e){EE(t,e);function t(n){PE(this,t);var o;o=$E(this,t,[n]),Dd(o,"caption",void 0);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:al.controlName,o}return t}(Q);Dd(TE,"Rules",SK);function TK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RK(e,t,n){return t=il(t),kK(e,BE()?Reflect.construct(t,n||[],il(e).constructor):t.apply(e,n))}function BK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function IK(e,t,n){return t&&RE(e.prototype,t),n&&RE(e,n),e}function Fd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function il(e){return il=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},il(e)}function AK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jd(e,t)}function kK(e,t){return t&&(DK(t)==="object"||typeof t=="function")?t:TK(e)}function jd(e,t){return jd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jd(e,t)}function DK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(BE=function(){return!!e})()}var ul=function(e){AK(t,e);function t(n){BK(this,t);var o;return o=RK(this,t,[n]),Fd(o,"props",void 0),o.props=new TE(n==null?void 0:n.props),o}return IK(t,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u5355\u5143"}},{key:"controlType",get:function(){return"tab-pane"}},{key:"controlIcon",get:function(){return"tab-pane"}}]),t}(Z);Fd(ul,"excludes",[s.TAB]),Fd(ul,"setting",[{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"super-setting",visible:!0}]);function xK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FK(e,t,n){return t=ll(t),NK(e,AE()?Reflect.construct(t,n||[],ll(e).constructor):t.apply(e,n))}function jK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function LK(e,t,n){return t&&IE(e.prototype,t),n&&IE(e,n),e}function cl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ll(e){return ll=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ll(e)}function 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&&Ld(e,t)}function NK(e,t){return t&&(VK(t)==="object"||typeof t=="function")?t:xK(e)}function Ld(e,t){return Ld=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ld(e,t)}function VK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(AE=function(){return!!e})()}var al=function(e){MK(t,e);function t(n){jK(this,t);var o;o=FK(this,t,[n]),cl(o,"props",void 0),o.props=new wK(n==null?void 0:n.props);var r;return o.children=(r=n==null?void 0:n.children)!==null&&r!==void 0?r:[new ul,new ul],o}return LK(t,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u9875"}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),t}(Z);cl(al,"excludes",[s.TAB]),cl(al,"controlEventKeys",["on_change_tab"]),cl(al,"setting",[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}]);function zK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HK(e,t,n){return t=fl(t),CK(e,kE()?Reflect.construct(t,n||[],fl(e).constructor):t.apply(e,n))}function qK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fl(e){return fl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fl(e)}function UK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Md(e,t)}function CK(e,t){return t&&(WK(t)==="object"||typeof t=="function")?t:zK(e)}function Md(e,t){return Md=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Md(e,t)}function WK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(kE=function(){return!!e})()}var KK=function(e){UK(t,e);function t(n){return qK(this,t),HK(this,t,[n])}return t}(Q);function GK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XK(e,t,n){return t=_l(t),YK(e,FE()?Reflect.construct(t,n||[],_l(e).constructor):t.apply(e,n))}function JK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function QK(e,t,n){return t&&DE(e.prototype,t),n&&DE(e,n),e}function xE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _l(e){return _l=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_l(e)}function ZK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nd(e,t)}function YK(e,t){return t&&(tG(t)==="object"||typeof t=="function")?t:GK(e)}function Nd(e,t){return Nd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Nd(e,t)}function tG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(FE=function(){return!!e})()}var eG=function(e){ZK(t,e);function t(n){JK(this,t);var o;return o=XK(this,t,[n]),xE(o,"props",void 0),o.props=new KK({}),o.children=(n==null?void 0:n.children)||[new ao({props:new lo({span:12})}),new ao({props:new lo({span:12})})],o}return QK(t,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),t}(Z);xE(eG,"excludes",[s.GRID_ROW,s.ROW,s.GRID,s.SUBTABLE,s.TAB,s.TOOLBOX]);function nG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vd(e,t,n){return t=yl(t),oG(e,jE()?Reflect.construct(t,n||[],yl(e).constructor):t.apply(e,n))}function zd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function N(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yl(e){return yl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yl(e)}function Hd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qd(e,t)}function oG(e,t){return t&&(rG(t)==="object"||typeof t=="function")?t:nG(e)}function qd(e,t){return qd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qd(e,t)}function rG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(jE=function(){return!!e})()}var iG=function(e){Hd(t,e);function t(n){zd(this,t);var o;return o=Vd(this,t,[n]),o.push({type:"object",fields:{}}),o}return t}(be),uG=function(e){Hd(t,e);function t(n){zd(this,t);var o;if(o=Vd(this,t,[n]),N(o,"triggerFieldCode",{type:"any"}),N(o,"datasourceBind",{type:"any"}),N(o,"joinRelation",[{type:"any"}]),console.log("--ListViewControlPropertyRules--"),n.triggerType===2&&n.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")}),n.isShowJoinRelation&&(o.joinRelation=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),yf.call(o,{optionConfig:"datasource",datasourceBind:n.datasourceBind,options:[]}),Array.isArray(o.datasourceBind)&&o.datasourceBind.length>1){var r=o.datasourceBind.find(function(i){return i.type==="object"&&i.fields});r&&(delete r.fields.valueFieldCode,delete r.fields.displayBoList)}return o}return t}(W),fo=function(e){Hd(t,e);function t(n){zd(this,t);var o,r,i;o=Vd(this,t,[n]),N(o,"datasourceBind",void 0),N(o,"isLoading",void 0),N(o,"isShowSubList",void 0),N(o,"triggerType",void 0),N(o,"triggerFieldCode",void 0),N(o,"sublistPage",void 0),N(o,"isShowJoinRelation",void 0),N(o,"joinRelation",void 0),N(o,"showType",void 0),N(o,"showFullScreen",void 0),N(o,"isFixedHeader",void 0),N(o,"selectionType",void 0),N(o,"isShowSelection",void 0),N(o,"isAllLoaded",void 0),N(o,"countType",void 0),N(o,"countLimit",void 0),N(o,"rowStyleType",void 0),N(o,"rowStyleBgColor",void 0),N(o,"rowStyleRules",void 0),N(o,"rowStyleRulesScript",void 0),o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var u;o.isLoading=(u=n==null?void 0:n.isLoading)!==null&&u!==void 0?u:!1;var c;o.isShowSubList=(c=n==null?void 0:n.isShowSubList)!==null&&c!==void 0?c:!1;var a;o.triggerType=(a=n==null?void 0:n.triggerType)!==null&&a!==void 0?a:1;var l;o.triggerFieldCode=(l=n==null?void 0:n.triggerFieldCode)!==null&&l!==void 0?l:"",o.sublistPage=new kA(n==null?void 0:n.sublistPage);var f;o.isShowJoinRelation=(f=n==null?void 0:n.isShowJoinRelation)!==null&&f!==void 0?f:!1,o.joinRelation=new xA(n==null?void 0:n.joinRelation);var y;o.showType=(y=n==null?void 0:n.showType)!==null&&y!==void 0?y:"stretch";var p;o.showFullScreen=(p=n==null?void 0:n.showFullScreen)!==null&&p!==void 0?p:!1;var b;o.selectionType=(b=n==null?void 0:n.selectionType)!==null&&b!==void 0?b:"multiple";var O;o.isFixedHeader=(O=n==null?void 0:n.isFixedHeader)!==null&&O!==void 0?O:!1;var m;o.isShowSelection=(m=n==null?void 0:n.isShowSelection)!==null&&m!==void 0?m:!1;var w;o.isAllLoaded=(w=n==null?void 0:n.isAllLoaded)!==null&&w!==void 0?w:!0,o.countType=n==null?void 0:n.countType;var h;o.countLimit=(h=n==null?void 0:n.countLimit)!==null&&h!==void 0?h:1e5;var $;o.rowStyleType=($=n==null?void 0:n.rowStyleType)!==null&&$!==void 0?$:"none";var P;o.rowStyleBgColor=(P=n==null?void 0:n.rowStyleBgColor)!==null&&P!==void 0?P:"theme";var E;o.rowStyleRules=(n==null?void 0:n.rowStyleRules)&&Array.isArray(n==null?void 0:n.rowStyleRules)?(E=n==null||(r=n.rowStyleRules)===null||r===void 0?void 0:r.map(function(j){return new JA(j)}))!==null&&E!==void 0?E:[]:[];var T;return o.rowStyleRulesScript=(n==null?void 0:n.rowStyleRulesScript)&&Array.isArray(n==null?void 0:n.rowStyleRulesScript)?(T=n==null||(i=n.rowStyleRulesScript)===null||i===void 0?void 0:i.map(function(j){return new QA(j)}))!==null&&T!==void 0?T:[]:[],o}return t}(Q);N(fo,"Rules",uG),N(fo,"RuntimeRules",iG);function cG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lG(e,t,n){return t=pl(t),yG(e,ME()?Reflect.construct(t,n||[],pl(e).constructor):t.apply(e,n))}function aG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function fG(e,t,n){return t&&LE(e.prototype,t),n&&LE(e,n),e}function sl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pl(e){return pl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pl(e)}function _G(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ud(e,t)}function yG(e,t){return t&&(sG(t)==="object"||typeof t=="function")?t:cG(e)}function Ud(e,t){return Ud=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ud(e,t)}function sG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ME(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ME=function(){return!!e})()}var dl=function(e){_G(t,e);function t(n){aG(this,t);var o;return o=lG(this,t,[n]),sl(o,"props",void 0),o.props=new fo(n==null?void 0:n.props),o}return fG(t,null,[{key:"controlName",get:function(){return"\u5217\u8868\u5BB9\u5668"}},{key:"controlType",get:function(){return"list-view"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),t}(Z);sl(dl,"excludes",[s.ROW]),sl(dl,"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"]),sl(dl,"setting",[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"list-row-style",visible:!0},{key:"super-setting",visible:!0}]);function pG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dG(e,t,n){return t=vl(t),mG(e,VE()?Reflect.construct(t,n||[],vl(e).constructor):t.apply(e,n))}function vG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function hG(e,t,n){return t&&NE(e.prototype,t),n&&NE(e,n),e}function bG(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vl(e){return vl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vl(e)}function gG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cd(e,t)}function mG(e,t){return t&&(OG(t)==="object"||typeof t=="function")?t:pG(e)}function Cd(e,t){return Cd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cd(e,t)}function OG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(VE=function(){return!!e})()}var wG=function(e){gG(t,e);function t(n){vG(this,t);var o;return o=dG(this,t,[n]),bG(o,"props",void 0),o.props=new fo(n==null?void 0:n.props),o}return hG(t,null,[{key:"controlType",get:function(){return"list-view"}}]),t}(ge),$G={Designer:dl,Runtime:wG,Property:fo};function PG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zE(e,t,n){return t=hl(t),EG(e,UE()?Reflect.construct(t,n||[],hl(e).constructor):t.apply(e,n))}function HE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ve(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hl(e){return hl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hl(e)}function qE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wd(e,t)}function EG(e,t){return t&&(SG(t)==="object"||typeof t=="function")?t:PG(e)}function Wd(e,t){return Wd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wd(e,t)}function SG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function UE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(UE=function(){return!!e})()}var TG=function(e){qE(t,e);function t(n){HE(this,t);var o;return o=zE(this,t,[n]),o.push({type:"object",fields:{}}),o}return t}(be),bl=function(e){qE(t,e);function t(n){HE(this,t);var o;o=zE(this,t,[n]),ve(o,"save",void 0),ve(o,"cancel",void 0),ve(o,"saveAs",void 0),ve(o,"print",void 0),ve(o,"custom",void 0),ve(o,"isLoading",void 0),ve(o,"datasourceBind",void 0);var r;o.save=new re((r=n==null?void 0:n.save)!==null&&r!==void 0?r:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var i;o.cancel=new re((i=n==null?void 0:n.cancel)!==null&&i!==void 0?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var u;o.saveAs=new re((u=n==null?void 0:n.saveAs)!==null&&u!==void 0?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1});var c;o.print=new re((c=n==null?void 0:n.print)!==null&&c!==void 0?c:{content:"\u6253\u5370",type:"print",isShow:!1});var a;o.custom=((a=n==null?void 0:n.custom)!==null&&a!==void 0?a:[]).map(function(f){return new re(f)});var l;return o.isLoading=(l=n==null?void 0:n.isLoading)!==null&&l!==void 0?l:!1,o.datasourceBind=new X(n==null?void 0:n.datasourceBind),o}return t}(Q);ve(bl,"RuntimeRules",TG);function RG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BG(e,t,n){return t=gl(t),DG(e,KE()?Reflect.construct(t,n||[],gl(e).constructor):t.apply(e,n))}function IG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function AG(e,t,n){return t&&CE(e.prototype,t),n&&CE(e,n),e}function WE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gl(e){return gl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gl(e)}function kG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kd(e,t)}function DG(e,t){return t&&(xG(t)==="object"||typeof t=="function")?t:RG(e)}function Kd(e,t){return Kd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kd(e,t)}function xG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(KE=function(){return!!e})()}var GE=function(e){kG(t,e);function t(n){IG(this,t);var o;return o=BG(this,t,[n]),WE(o,"props",void 0),o.props=new bl(n==null?void 0:n.props),o}return AG(t,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),t}(Z);WE(GE,"excludes",[]);function FG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jG(e,t,n){return t=ml(t),zG(e,JE()?Reflect.construct(t,n||[],ml(e).constructor):t.apply(e,n))}function LG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function MG(e,t,n){return t&&XE(e.prototype,t),n&&XE(e,n),e}function NG(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ml(e){return ml=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ml(e)}function VG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gd(e,t)}function zG(e,t){return t&&(HG(t)==="object"||typeof t=="function")?t:FG(e)}function Gd(e,t){return Gd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gd(e,t)}function HG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(JE=function(){return!!e})()}var qG=function(e){VG(t,e);function t(n){LG(this,t);var o;return o=jG(this,t,[n]),NG(o,"props",void 0),o.props=new bl(n==null?void 0:n.props),o}return MG(t,null,[{key:"controlType",get:function(){return"data-view"}}]),t}(ge),UG={Designer:GE,Runtime:qG,Property:bl};function CG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WG(e,t,n){return t=Ol(t),XG(e,QE()?Reflect.construct(t,n||[],Ol(e).constructor):t.apply(e,n))}function KG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ol(e){return Ol=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ol(e)}function GG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jd(e,t)}function XG(e,t){return t&&(JG(t)==="object"||typeof t=="function")?t:CG(e)}function Jd(e,t){return Jd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jd(e,t)}function JG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(QE=function(){return!!e})()}var QG=function(e){GG(t,e);function t(n){KG(this,t);var o;o=WG(this,t,[n]),Xd(o,"position",void 0),Xd(o,"opacity",void 0),Xd(o,"align",void 0);var r;o.position=(r=n==null?void 0:n.position)!==null&&r!==void 0?r:"bottom";var i;o.opacity=(i=n==null?void 0:n.opacity)!==null&&i!==void 0?i:!0;var u;return o.align=(u=n==null?void 0:n.align)!==null&&u!==void 0?u:"right",o}return t}(Q);function ZG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YG(e,t,n){return t=wl(t),oX(e,YE()?Reflect.construct(t,n||[],wl(e).constructor):t.apply(e,n))}function tX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function eX(e,t,n){return t&&ZE(e.prototype,t),n&&ZE(e,n),e}function Qd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wl(e){return wl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wl(e)}function nX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zd(e,t)}function oX(e,t){return t&&(rX(t)==="object"||typeof t=="function")?t:ZG(e)}function Zd(e,t){return Zd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zd(e,t)}function rX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(YE=function(){return!!e})()}var tS=function(e){nX(t,e);function t(n){tX(this,t);var o;o=YG(this,t,[n]),Qd(o,"props",void 0);var r;return o.props=new QG((r=n==null?void 0:n.props)!==null&&r!==void 0?r:{}),o}return eX(t,null,[{key:"controlName",get:function(){return"\u6309\u94AE\u64CD\u4F5C\u680F"}},{key:"controlType",get:function(){return"action-bar"}},{key:"controlIcon",get:function(){return"action-bar"}}]),t}(Z);Qd(tS,"excludes",[]),Qd(tS,"setting",[{key:"action-buttons",visible:!0},{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0}]);function iX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yd(e,t,n){return t=$l(t),uX(e,eS()?Reflect.construct(t,n||[],$l(e).constructor):t.apply(e,n))}function tv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $l(e){return $l=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$l(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&&nv(e,t)}function uX(e,t){return t&&(cX(t)==="object"||typeof t=="function")?t:iX(e)}function nv(e,t){return nv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},nv(e,t)}function cX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(eS=function(){return!!e})()}var lX=function(e){ev(t,e);function t(n){tv(this,t);var o;return o=Yd(this,t,[n]),R(o,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),R(o,"limitRows",[{type:"number",required:!0,message:d.getMessage("isNotNumber")},{type:"number",min:0,message:d.getMessage("limitRowsCannotBeLessThan0")}]),R(o,"formKey",{type:"string",required:!1,message:d.getMessage("pleaseEnterForm")}),R(o,"maxHeight",{type:"number",required:!0,message:d.getMessage("pleaseEnterMaxHeight")}),R(o,"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),R(o,"mobileRowCaption",{type:"string",required:!1,message:d.getMessage("pleaseEnterRowCaption")}),n.openType==="modal"&&(o.formKey.required=!0),n.isShowCaptionTip&&(o.captionTip.required=!0),n.mobileShowType==="tile"&&(o.mobileRowCaption.required=!0),o}return t}(W),aX=function(e){ev(t,e);function t(n){tv(this,t);var o;return o=Yd(this,t,[n]),n.isHide||o.push({type:"array",required:n.limitRows>0,message:d.getMessage("runtimeRequired",{caption:n.caption})},{type:"array",validator:function(i,u,c){u.length<n.limitRows&&c(d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})),c()},message:d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})}),o}return t}(be),ov=function(e){ev(t,e);function t(n,o){tv(this,t);var r;r=Yd(this,t,[n,o,t.mode]),R(r,"caption",void 0),R(r,"labelPosition",void 0),R(r,"isHideCaption",void 0),R(r,"isShowCaptionTip",void 0),R(r,"captionTip",void 0),R(r,"defaultState",void 0),R(r,"limitRows",void 0),R(r,"maxRows",void 0),R(r,"defaultRows",void 0),R(r,"datasourceBind",void 0),R(r,"printMode",void 0),R(r,"openType",void 0),R(r,"formKey",void 0),R(r,"useCustomHeight",void 0),R(r,"maxHeight",void 0),R(r,"canAdd",void 0),R(r,"canDelete",void 0),R(r,"canCheck",void 0),R(r,"canEdit",void 0),R(r,"canImport",void 0),R(r,"canExport",void 0),R(r,"canClear",void 0),R(r,"isPaste",void 0),R(r,"mobileShowType",void 0),R(r,"mobileDefaultNum",void 0),R(r,"dataStorageDoc",void 0),R(r,"serverPagination",void 0),R(r,"fixedColumn",void 0),R(r,"mobileRowCaption",void 0),R(r,"mobileIsTile",void 0);var i;r.caption=(i=o==null?void 0:o.caption)!==null&&i!==void 0?i:uv.controlName;var u;r.isHideCaption=(u=o==null?void 0:o.isHideCaption)!==null&&u!==void 0?u:!1;var c;r.defaultState=(c=o==null?void 0:o.defaultState)!==null&&c!==void 0?c:"default";var a;r.labelPosition=(a=o==null?void 0:o.labelPosition)!==null&&a!==void 0?a:"top";var l;r.openType=(l=o==null?void 0:o.openType)!==null&&l!==void 0?l:"default";var f;r.formKey=(f=o==null?void 0:o.formKey)!==null&&f!==void 0?f:"";var y;r.useCustomHeight=(y=o==null?void 0:o.useCustomHeight)!==null&&y!==void 0?y:!1;var p;r.maxHeight=(p=o==null?void 0:o.maxHeight)!==null&&p!==void 0?p:Nx;var b;r.printMode=(b=o==null?void 0:o.printMode)!==null&&b!==void 0?b:"row";var O;r.limitRows=(O=o==null?void 0:o.limitRows)!==null&&O!==void 0?O:1;var m;r.maxRows=(m=o==null?void 0:o.maxRows)!==null&&m!==void 0?m:null;var w;r.defaultRows=(w=o==null?void 0:o.defaultRows)!==null&&w!==void 0?w:1,r.datasourceBind=new X(o==null?void 0:o.datasourceBind);var h;r.canAdd=(h=o==null?void 0:o.canAdd)!==null&&h!==void 0?h:!0;var $;r.canDelete=($=o==null?void 0:o.canDelete)!==null&&$!==void 0?$:!0;var P;r.canCheck=(P=o==null?void 0:o.canCheck)!==null&&P!==void 0?P:!1;var E;r.canEdit=(E=o==null?void 0:o.canEdit)!==null&&E!==void 0?E:!1;var T;r.canImport=(T=o==null?void 0:o.canImport)!==null&&T!==void 0?T:!1;var j;r.canExport=(j=o==null?void 0:o.canExport)!==null&&j!==void 0?j:!1;var A;r.canClear=(A=o==null?void 0:o.canClear)!==null&&A!==void 0?A:!0;var it;r.serverPagination=(it=o==null?void 0:o.serverPagination)!==null&&it!==void 0?it:!1;var B;r.isShowCaptionTip=(B=o==null?void 0:o.isShowCaptionTip)!==null&&B!==void 0?B:!1;var Ct;r.captionTip=(Ct=o==null?void 0:o.captionTip)!==null&&Ct!==void 0?Ct:"";var go;r.mobileShowType=(go=o==null?void 0:o.mobileShowType)!==null&&go!==void 0?go:"list";var Un;r.mobileDefaultNum=(Un=o==null?void 0:o.mobileDefaultNum)!==null&&Un!==void 0?Un:10;var Ae;r.dataStorageDoc=(Ae=o==null?void 0:o.dataStorageDoc)!==null&&Ae!==void 0?Ae:new RA;var Wt;r.fixedColumn=(Wt=o==null?void 0:o.fixedColumn)!==null&&Wt!==void 0?Wt:[];var Uh;r.mobileRowCaption=(Uh=o==null?void 0:o.mobileRowCaption)!==null&&Uh!==void 0?Uh:"\u660E\u7EC6";var Ch;r.mobileIsTile=(Ch=o==null?void 0:o.mobileIsTile)!==null&&Ch!==void 0?Ch:!1;var Wh;r.isPaste=(Wh=o==null?void 0:o.isPaste)!==null&&Wh!==void 0?Wh:!1;var Kh;r.pageSize=(Kh=o==null?void 0:o.pageSize)!==null&&Kh!==void 0?Kh:10;var Gh;return r.pageSizeOptions=(Gh=o==null?void 0:o.pageSizeOptions)!==null&&Gh!==void 0?Gh:[10,20,50,100],r}return t}($f);R(ov,"Rules",lX),R(ov,"RuntimeRules",aX);function fX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _X(e,t,n){return t=Pl(t),dX(e,oS()?Reflect.construct(t,n||[],Pl(e).constructor):t.apply(e,n))}function yX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function sX(e,t,n){return t&&nS(e.prototype,t),n&&nS(e,n),e}function rv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pl(e){return Pl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pl(e)}function pX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&iv(e,t)}function dX(e,t){return t&&(vX(t)==="object"||typeof t=="function")?t:fX(e)}function iv(e,t){return iv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},iv(e,t)}function vX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(oS=function(){return!!e})()}var uv=function(e){pX(t,e);function t(n){yX(this,t);var o,r,i;return o=_X(this,t,[n]),rv(o,"props",void 0),o.props=new ov(o,n==null?void 0:n.props),(n==null||(r=n.props)===null||r===void 0?void 0:r.headers)===void 0&&(o.props.headers=[new Lt,new Lt,new Lt]),(n==null||(i=n.props)===null||i===void 0?void 0:i.footers)===void 0&&(o.props.footers=[]),o}return sX(t,[{key:"addColumn",value:function(o,r){var i=o!==void 0&&typeof o!="number"?o:new Lt,u=typeof o=="number"?o:r;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}],[{key:"controlName",get:function(){return"\u660E\u7EC6\u5B50\u8868"}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),t}(Sf);rv(uv,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),rv(uv,"setting",[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE,_.IS_SHOW_CAPTION_TIP,_.IS_PASTE,_.SERVER_PAGINATION]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"max-rows",visible:!0},{key:"list-pager",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}]);function hX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bX(e,t,n){return t=El(t),OX(e,rS()?Reflect.construct(t,n||[],El(e).constructor):t.apply(e,n))}function gX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function El(e){return El=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},El(e)}function mX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 OX(e,t){return t&&(wX(t)==="object"||typeof t=="function")?t:hX(e)}function cv(e,t){return cv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cv(e,t)}function wX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(rS=function(){return!!e})()}var $X=function(e){mX(t,e);function t(n,o){gX(this,t);var r;r=bX(this,t,[n,o]),_o(r,"isFixedHeader",void 0),_o(r,"selectionType",void 0),_o(r,"isShowToolbar",void 0),_o(r,"isShowSelection",void 0),_o(r,"isShowCustomColumns",void 0);var i;r.isFixedHeader=(i=o==null?void 0:o.isFixedHeader)!==null&&i!==void 0?i:!1,r.selectionType=o==null?void 0:o.selectionType;var u;r.isShowToolbar=(u=o==null?void 0:o.isShowToolbar)!==null&&u!==void 0?u:!0;var c;r.isShowSelection=(c=o==null?void 0:o.isShowSelection)!==null&&c!==void 0?c:!1;var a;r.isShowCustomColumns=(a=o==null?void 0:o.isShowCustomColumns)!==null&&a!==void 0?a:!0;var l;return r.pageSizeOptions=(l=o==null?void 0:o.pageSizeOptions)!==null&&l!==void 0?l:[10,20,50,100,500],r}return t}($f);function PX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iS(e,t,n){return t=Sl(t),SX(e,lS()?Reflect.construct(t,n||[],Sl(e).constructor):t.apply(e,n))}function uS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function EX(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sl(e){return Sl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sl(e)}function cS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 SX(e,t){return t&&(TX(t)==="object"||typeof t=="function")?t:PX(e)}function lv(e,t){return lv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},lv(e,t)}function TX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(lS=function(){return!!e})()}var RX=function(e){cS(t,e);function t(n){uS(this,t);var o;return o=iS(this,t,[n]),o.caption.required=!1,o}return t}(Vt),av=function(e){cS(t,e);function t(n){uS(this,t);var o,r,i;o=iS(this,t,[n]);var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:"left";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:ln.controlName;var a;o.width=(a=n==null?void 0:n.width)!==null&&a!==void 0?a:60;var l;o.autoWidth.minWidth=(l=n==null||(r=n.autoWidth)===null||r===void 0?void 0:r.minWidth)!==null&&l!==void 0?l:60;var f;o.autoWidth.flex=(f=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.flex)!==null&&f!==void 0?f:.4;var y;return o.widthType=(y=n==null?void 0:n.widthType)!==null&&y!==void 0?y:"px",o}return t}(U);EX(av,"Rules",RX);function BX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IX(e,t,n){return t=Tl(t),DX(e,aS()?Reflect.construct(t,n||[],Tl(e).constructor):t.apply(e,n))}function AX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tl(e){return Tl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tl(e)}function kX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fv(e,t)}function DX(e,t){return t&&(xX(t)==="object"||typeof t=="function")?t:BX(e)}function fv(e,t){return fv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fv(e,t)}function xX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(aS=function(){return!!e})()}var ln=function(e){kX(t,e);function t(n){AX(this,t);var o;return o=IX(this,t,[n]),yo(o,"props",void 0),o.props=new av(n==null?void 0:n.props),o}return t}(tt);yo(ln,"controlType","order-column"),yo(ln,"controlName","\u5E8F\u53F7"),yo(ln,"controlIcon","order-column"),yo(ln,"setting",[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}]);function FX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jX(e,t,n){return t=Rl(t),NX(e,fS()?Reflect.construct(t,n||[],Rl(e).constructor):t.apply(e,n))}function LX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rl(e){return Rl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rl(e)}function MX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 NX(e,t){return t&&(VX(t)==="object"||typeof t=="function")?t:FX(e)}function yv(e,t){return yv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yv(e,t)}function VX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(fS=function(){return!!e})()}var _S=function(e){MX(t,e);function t(n){LX(this,t);var o;return o=jX(this,t,[n]),_v(o,"props",void 0),o.props=new av(n==null?void 0:n.props),o}return t}(et);_v(_S,"controlType","order-column"),_v(_S,"controlFieldType",g.DECIMAL);function zX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HX(e,t,n){return t=Bl(t),CX(e,sS()?Reflect.construct(t,n||[],Bl(e).constructor):t.apply(e,n))}function qX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bl(e){return Bl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bl(e)}function 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&&sv(e,t)}function CX(e,t){return t&&(WX(t)==="object"||typeof t=="function")?t:zX(e)}function sv(e,t){return sv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sv(e,t)}function WX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(sS=function(){return!!e})()}var pS=function(e){UX(t,e);function t(n){qX(this,t);var o,r;o=HX(this,t,[n]),yS(o,"showType",void 0),yS(o,"limit",void 0);var i;o.fixed=(i=n==null?void 0:n.fixed)!==null&&i!==void 0?i:"right",o.widthType="auto";var u;o.autoWidth.minWidth=(u=n==null||(r=n.autoWidth)===null||r===void 0?void 0:r.minWidth)!==null&&u!==void 0?u:84;var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:an.controlName;var a;o.showType=(a=n==null?void 0:n.showType)!==null&&a!==void 0?a:"icon";var l;return o.limit=(l=n==null?void 0:n.limit)!==null&&l!==void 0?l:3,o}return t}(U);function KX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dS(e,t,n,o,r,i,u){try{var c=e[i](u),a=c.value}catch(l){n(l);return}c.done?t(a):Promise.resolve(a).then(o,r)}function GX(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(a){dS(i,o,r,u,c,"next",a)}function c(a){dS(i,o,r,u,c,"throw",a)}u(void 0)})}}function XX(e,t,n){return t=Ee(t),YX(e,hS()?Reflect.construct(t,n||[],Ee(e).constructor):t.apply(e,n))}function JX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function QX(e,t,n){return t&&vS(e.prototype,t),n&&vS(e,n),e}function so(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function po(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?po=Reflect.get:po=function(r,i,u){var c=tJ(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},po(e,t,n||e)}function Ee(e){return Ee=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ee(e)}function ZX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pv(e,t)}function YX(e,t){return t&&(eJ(t)==="object"||typeof t=="function")?t:KX(e)}function pv(e,t){return pv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},pv(e,t)}function tJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ee(e),e!==null););return e}function eJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(hS=function(){return!!e})()}function nJ(e,t){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,o=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){u.label=l[1];break}if(l[0]===6&&u.label<r[1]){u.label=r[1],r=l;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(l);break}r[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(f){l=[6,f],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var an=function(e){ZX(t,e);function t(n){JX(this,t);var o;return o=XX(this,t,[n]),so(o,"props",void 0),o.props=new pS(n==null?void 0:n.props),o}return QX(t,[{key:"toDataBindModel",value:function(){var o=po(Ee(t.prototype),"toDataBindModel",this).call(this);return this.children.map(function(r){if(r.type===Zr.controlType){var i=r;o.props[i.props.command]=i.props}}),o}},{key:"validate",value:function(o,r){var i=this,u=this,c=function(){return po(Ee(t.prototype),"validate",i)};return GX(function(){return nJ(this,function(a){switch(a.label){case 0:return[4,c().call(u,o,r)];case 1:return a.sent(),[4,Promise.all(u.children.map(function(l){return l.validate(o,r)}))];case 2:return a.sent(),[2,!0]}})})()}}]),t}(tt);so(an,"controlType","operation-column"),so(an,"controlName","\u64CD\u4F5C"),so(an,"controlIcon","operation-column"),so(an,"setting",[{key:"caption",showItems:[_.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 oJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rJ(e,t,n){return t=Il(t),cJ(e,bS()?Reflect.construct(t,n||[],Il(e).constructor):t.apply(e,n))}function iJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Il(e){return Il=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Il(e)}function 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&&vv(e,t)}function cJ(e,t){return t&&(lJ(t)==="object"||typeof t=="function")?t:oJ(e)}function vv(e,t){return vv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vv(e,t)}function lJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(bS=function(){return!!e})()}var gS=function(e){uJ(t,e);function t(n){iJ(this,t);var o;return o=rJ(this,t,[n]),dv(o,"props",void 0),o.props=new pS(n==null?void 0:n.props),o}return t}(et);dv(gS,"controlType","operation-column"),dv(gS,"controlFieldType",g.FILE);function aJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mS(e,t,n,o,r,i,u){try{var c=e[i](u),a=c.value}catch(l){n(l);return}c.done?t(a):Promise.resolve(a).then(o,r)}function fJ(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(a){mS(i,o,r,u,c,"next",a)}function c(a){mS(i,o,r,u,c,"throw",a)}u(void 0)})}}function _J(e,t,n){return t=Se(t),bJ(e,wS()?Reflect.construct(t,n||[],Se(e).constructor):t.apply(e,n))}function yJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function sJ(e,t,n){return t&&OS(e.prototype,t),n&&OS(e,n),e}function Al(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vo(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?vo=Reflect.get:vo=function(r,i,u){var c=gJ(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},vo(e,t,n||e)}function Se(e){return Se=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Se(e)}function pJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hv(e,t)}function dJ(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Al(e,r,n[r])})}return e}function vJ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function hJ(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):vJ(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function bJ(e,t){return t&&(mJ(t)==="object"||typeof t=="function")?t:aJ(e)}function hv(e,t){return hv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hv(e,t)}function gJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Se(e),e!==null););return e}function mJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(wS=function(){return!!e})()}function OJ(e,t){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,o=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){u.label=l[1];break}if(l[0]===6&&u.label<r[1]){u.label=r[1],r=l;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(l);break}r[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(f){l=[6,f],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var wJ=function(e){pJ(t,e);function t(n){yJ(this,t);var o,r;return o=_J(this,t,[n]),Al(o,"props",void 0),Al(o,"children",void 0),o.props=new $X(o,n==null?void 0:n.props),Kt(o,"children",n==null?void 0:n.children,void 0,"Designer"),(n==null?void 0:n.props.headers)===void 0&&(o.props.headers=[new ln,new an]),(n==null||(r=n.props)===null||r===void 0?void 0:r.footers)===void 0&&(o.props.footers=[]),o}return sJ(t,[{key:"toSchema",value:function(){var o=vo(Se(t.prototype),"toSchema",this).call(this),r=this.children.map(function(i){return i.toSchema()});return hJ(dJ({},o),{children:r})}},{key:"validate",value:function(o,r){var i=this,u=this,c=function(){return vo(Se(t.prototype),"validate",i)};return fJ(function(){return OJ(this,function(a){switch(a.label){case 0:return[4,c().call(u,o,r)];case 1:return a.sent(),[4,Promise.all(u.children.map(function(l){return l.validate(o,r)}))];case 2:return a.sent(),[2,!0]}})})()}}],[{key:"controlName",get:function(){return"\u8868\u683C"}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),t}(Sf);Al(wJ,"setting",[{key:"list-fixed-header",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 $S(e,t,n){return t=kl(t),PJ(e,SS()?Reflect.construct(t,n||[],kl(e).constructor):t.apply(e,n))}function PS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Te(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kl(e){return kl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kl(e)}function ES(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bv(e,t)}function PJ(e,t){return t&&(EJ(t)==="object"||typeof t=="function")?t:$J(e)}function bv(e,t){return bv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},bv(e,t)}function EJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(SS=function(){return!!e})()}var SJ=function(e){ES(t,e);function t(n){PS(this,t);var o;return o=$S(this,t,[n]),fe.call(o,n),o}return t}(rb),gv=function(e){ES(t,e);function t(n){PS(this,t);var o;o=$S(this,t,[n]),Te(o,"optionConfig",void 0),Te(o,"datasourceBind",void 0),Te(o,"showLinkOperation",void 0),Te(o,"linkOperationOption",void 0),Te(o,"options",void 0),Te(o,"lineEllipsis",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:_n.controlName;var i;o.optionConfig=(i=n==null?void 0:n.optionConfig)!==null&&i!==void 0?i:"none",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var u;o.options=Xt((u=n==null?void 0:n.options)!==null&&u!==void 0?u:[{}]);var c;o.showLinkOperation=(c=n==null?void 0:n.showLinkOperation)!==null&&c!==void 0?c:!1,o.linkOperationOption=new Gt(n==null?void 0:n.linkOperationOption);var a;return o.lineEllipsis=(a=n==null?void 0:n.lineEllipsis)!==null&&a!==void 0?a:1,o}return t}(U);Te(gv,"Rules",SJ);function TJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RJ(e,t,n){return t=Dl(t),AJ(e,TS()?Reflect.construct(t,n||[],Dl(e).constructor):t.apply(e,n))}function BJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Dl(e){return Dl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dl(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&&mv(e,t)}function AJ(e,t){return t&&(kJ(t)==="object"||typeof t=="function")?t:TJ(e)}function mv(e,t){return mv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},mv(e,t)}function kJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(TS=function(){return!!e})()}var _n=function(e){IJ(t,e);function t(n){BJ(this,t);var o;return o=RJ(this,t,[n]),fn(o,"props",void 0),o.props=new gv(n==null?void 0:n.props),o}return t}(tt);fn(_n,"controlType","varchar-column"),fn(_n,"controlName","\u77ED\u6587\u672C"),fn(_n,"controlIcon","varchar-column"),fn(_n,"controlFieldType",g.VARCHAR),fn(_n,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function DJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xJ(e,t,n){return t=xl(t),LJ(e,RS()?Reflect.construct(t,n||[],xl(e).constructor):t.apply(e,n))}function FJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ov(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xl(e){return xl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xl(e)}function jJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wv(e,t)}function LJ(e,t){return t&&(MJ(t)==="object"||typeof t=="function")?t:DJ(e)}function wv(e,t){return wv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wv(e,t)}function MJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(RS=function(){return!!e})()}var BS=function(e){jJ(t,e);function t(n){FJ(this,t);var o;return o=xJ(this,t,[n]),Ov(o,"props",void 0),o.props=new gv(n==null?void 0:n.props),o}return t}(et);Ov(BS,"controlType","varchar-column"),Ov(BS,"controlFieldType",g.VARCHAR);function NJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IS(e,t,n){return t=Fl(t),VJ(e,DS()?Reflect.construct(t,n||[],Fl(e).constructor):t.apply(e,n))}function AS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ho(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fl(e){return Fl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fl(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&&$v(e,t)}function VJ(e,t){return t&&(zJ(t)==="object"||typeof t=="function")?t:NJ(e)}function $v(e,t){return $v=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$v(e,t)}function zJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(DS=function(){return!!e})()}var HJ=function(e){kS(t,e);function t(n){AS(this,t);var o;return o=IS(this,t,[n]),fe.call(o,n),o}return t}(Vt),Pv=function(e){kS(t,e);function t(n){AS(this,t);var o;o=IS(this,t,[n]),ho(o,"escapeHTML",void 0),ho(o,"showLinkOperation",void 0),ho(o,"linkOperationOption",void 0),ho(o,"lineEllipsis",void 0);var r;o.escapeHTML=(r=n==null?void 0:n.escapeHTML)!==null&&r!==void 0?r:!1;var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:pn.controlName;var u;o.lineEllipsis=(u=n==null?void 0:n.lineEllipsis)!==null&&u!==void 0?u:1;var c;return o.showLinkOperation=(c=n==null?void 0:n.showLinkOperation)!==null&&c!==void 0?c:!1,o.linkOperationOption=new Gt(n==null?void 0:n.linkOperationOption),o}return t}(U);ho(Pv,"Rules",HJ);function qJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UJ(e,t,n){return t=sn(t),GJ(e,FS()?Reflect.construct(t,n||[],sn(e).constructor):t.apply(e,n))}function CJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function WJ(e,t,n){return t&&xS(e.prototype,t),n&&xS(e,n),e}function yn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jl(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?jl=Reflect.get:jl=function(r,i,u){var c=XJ(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},jl(e,t,n||e)}function sn(e){return sn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sn(e)}function KJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ev(e,t)}function GJ(e,t){return t&&(JJ(t)==="object"||typeof t=="function")?t:qJ(e)}function Ev(e,t){return Ev=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ev(e,t)}function XJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=sn(e),e!==null););return e}function JJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(FS=function(){return!!e})()}var pn=function(e){KJ(t,e);function t(n){CJ(this,t);var o;return o=UJ(this,t,[n]),yn(o,"props",void 0),o.props=new Pv(n==null?void 0:n.props),o}return WJ(t,[{key:"toDataBindModel",value:function(o){var r=jl(sn(t.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.escapeHTML;r.props.escapeHTML=i}return r}}]),t}(tt);yn(pn,"controlType","text-column"),yn(pn,"controlName","\u957F\u6587\u672C"),yn(pn,"controlIcon","text-column"),yn(pn,"controlFieldType",g.TEXT),yn(pn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function QJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZJ(e,t,n){return t=Ll(t),eQ(e,jS()?Reflect.construct(t,n||[],Ll(e).constructor):t.apply(e,n))}function YJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ll(e){return Ll=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ll(e)}function tQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tv(e,t)}function eQ(e,t){return t&&(nQ(t)==="object"||typeof t=="function")?t:QJ(e)}function Tv(e,t){return Tv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Tv(e,t)}function nQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(jS=function(){return!!e})()}var LS=function(e){tQ(t,e);function t(n){YJ(this,t);var o;return o=ZJ(this,t,[n]),Sv(o,"props",void 0),o.props=new Pv(n==null?void 0:n.props),o}return t}(et);Sv(LS,"controlType","text-column"),Sv(LS,"controlFieldType",g.TEXT);function oQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MS(e,t,n){return t=Ml(t),rQ(e,zS()?Reflect.construct(t,n||[],Ml(e).constructor):t.apply(e,n))}function NS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ml(e){return Ml=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ml(e)}function VS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rv(e,t)}function rQ(e,t){return t&&(iQ(t)==="object"||typeof t=="function")?t:oQ(e)}function Rv(e,t){return Rv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rv(e,t)}function iQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(zS=function(){return!!e})()}var uQ=function(e){VS(t,e);function t(n){NS(this,t);var o;return o=MS(this,t,[n]),fe.call(o,n),o}return t}(Vt),Bv=function(e){VS(t,e);function t(n){NS(this,t);var o;o=MS(this,t,[n]),ee(o,"optionConfig",void 0),ee(o,"datasourceBind",void 0),ee(o,"showLinkOperation",void 0),ee(o,"linkOperationOption",void 0),ee(o,"options",void 0),ee(o,"precision",void 0),ee(o,"micrometer",void 0),ee(o,"percentageFormat",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:hn.controlName;var i;o.precision=(i=n==null?void 0:n.precision)!==null&&i!==void 0?i:0;var u;o.micrometer=(u=n==null?void 0:n.micrometer)!==null&&u!==void 0?u:!1;var c;o.percentageFormat=(c=n==null?void 0:n.percentageFormat)!==null&&c!==void 0?c:!1;var a;o.optionConfig=(a=n==null?void 0:n.optionConfig)!==null&&a!==void 0?a:"none",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var l;o.options=Xt((l=n==null?void 0:n.options)!==null&&l!==void 0?l:[{}]);var f;return o.showLinkOperation=(f=n==null?void 0:n.showLinkOperation)!==null&&f!==void 0?f:!1,o.linkOperationOption=new Gt(n==null?void 0:n.linkOperationOption),o}return t}(U);ee(Bv,"Rules",uQ);function cQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lQ(e,t,n){return t=vn(t),yQ(e,qS()?Reflect.construct(t,n||[],vn(e).constructor):t.apply(e,n))}function aQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function fQ(e,t,n){return t&&HS(e.prototype,t),n&&HS(e,n),e}function dn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nl(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Nl=Reflect.get:Nl=function(r,i,u){var c=sQ(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Nl(e,t,n||e)}function vn(e){return vn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vn(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&&Iv(e,t)}function yQ(e,t){return t&&(pQ(t)==="object"||typeof t=="function")?t:cQ(e)}function Iv(e,t){return Iv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Iv(e,t)}function sQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=vn(e),e!==null););return e}function pQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(qS=function(){return!!e})()}var hn=function(e){_Q(t,e);function t(n){aQ(this,t);var o;return o=lQ(this,t,[n]),dn(o,"props",void 0),o.props=new Bv(n==null?void 0:n.props),o}return fQ(t,[{key:"toDataBindModel",value:function(o){var r=Nl(vn(t.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props,u=i.precision,c=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=c}return r}}]),t}(tt);dn(hn,"controlType","decimal-column"),dn(hn,"controlName","\u6570\u503C"),dn(hn,"controlIcon","decimal-column"),dn(hn,"controlFieldType",g.DECIMAL),dn(hn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[_.MICROMETER,_.PRECISION,_.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function dQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vQ(e,t,n){return t=Vl(t),gQ(e,US()?Reflect.construct(t,n||[],Vl(e).constructor):t.apply(e,n))}function hQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Av(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vl(e){return Vl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vl(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&&kv(e,t)}function gQ(e,t){return t&&(mQ(t)==="object"||typeof t=="function")?t:dQ(e)}function kv(e,t){return kv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kv(e,t)}function mQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function US(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(US=function(){return!!e})()}var CS=function(e){bQ(t,e);function t(n){hQ(this,t);var o;return o=vQ(this,t,[n]),Av(o,"props",void 0),o.props=new Bv(n==null?void 0:n.props),o}return t}(et);Av(CS,"controlType","decimal-column"),Av(CS,"controlFieldType",g.DECIMAL);function OQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WS(e,t,n){return t=Hl(t),wQ(e,XS()?Reflect.construct(t,n||[],Hl(e).constructor):t.apply(e,n))}function KS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hl(e){return Hl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hl(e)}function 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&&Dv(e,t)}function wQ(e,t){return t&&($Q(t)==="object"||typeof t=="function")?t:OQ(e)}function Dv(e,t){return Dv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dv(e,t)}function $Q(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(XS=function(){return!!e})()}var PQ=function(e){GS(t,e);function t(n){KS(this,t);var o;return o=WS(this,t,[n]),fe.call(o,n),o}return t}(Vt),xv=function(e){GS(t,e);function t(n){KS(this,t);var o;o=WS(this,t,[n]),zl(o,"dateType",void 0),zl(o,"showLinkOperation",void 0),zl(o,"linkOperationOption",void 0);var r;o.dateType=(r=n==null?void 0:n.dateType)!==null&&r!==void 0?r:De.DATE;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Gt(n==null?void 0:n.linkOperationOption);var u;return o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:mn.controlName,o}return t}(U);zl(xv,"Rules",PQ);function EQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SQ(e,t,n){return t=gn(t),IQ(e,QS()?Reflect.construct(t,n||[],gn(e).constructor):t.apply(e,n))}function TQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function RQ(e,t,n){return t&&JS(e.prototype,t),n&&JS(e,n),e}function bn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ql(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?ql=Reflect.get:ql=function(r,i,u){var c=AQ(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},ql(e,t,n||e)}function gn(e){return gn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gn(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&&Fv(e,t)}function IQ(e,t){return t&&(kQ(t)==="object"||typeof t=="function")?t:EQ(e)}function Fv(e,t){return Fv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fv(e,t)}function AQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=gn(e),e!==null););return e}function kQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(QS=function(){return!!e})()}var mn=function(e){BQ(t,e);function t(n){TQ(this,t);var o;return o=SQ(this,t,[n]),bn(o,"props",void 0),o.props=new xv(n==null?void 0:n.props),o}return RQ(t,[{key:"toDataBindModel",value:function(o){var r=ql(gn(t.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.dateType;r.props.dateType=i}return r}}]),t}(tt);bn(mn,"controlType","timescope-column"),bn(mn,"controlName","\u65E5\u671F\u533A\u95F4"),bn(mn,"controlIcon","timescope-column"),bn(mn,"controlFieldType",g.TIMESCOPE),bn(mn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.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 DQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xQ(e,t,n){return t=Ul(t),LQ(e,ZS()?Reflect.construct(t,n||[],Ul(e).constructor):t.apply(e,n))}function FQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ul(e){return Ul=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ul(e)}function jQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lv(e,t)}function LQ(e,t){return t&&(MQ(t)==="object"||typeof t=="function")?t:DQ(e)}function Lv(e,t){return Lv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Lv(e,t)}function MQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ZS=function(){return!!e})()}var YS=function(e){jQ(t,e);function t(n){FQ(this,t);var o;return o=xQ(this,t,[n]),jv(o,"props",void 0),o.props=new xv(n==null?void 0:n.props),o}return t}(et);jv(YS,"controlType","timescope-column"),jv(YS,"controlFieldType",g.TIMESCOPE);function NQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tT(e,t,n){return t=Wl(t),VQ(e,oT()?Reflect.construct(t,n||[],Wl(e).constructor):t.apply(e,n))}function eT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wl(e){return Wl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wl(e)}function nT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mv(e,t)}function VQ(e,t){return t&&(zQ(t)==="object"||typeof t=="function")?t:NQ(e)}function Mv(e,t){return Mv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Mv(e,t)}function zQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(oT=function(){return!!e})()}var HQ=function(e){nT(t,e);function t(n){eT(this,t);var o;return o=tT(this,t,[n]),fe.call(o,n),o}return t}(Vt),Nv=function(e){nT(t,e);function t(n){eT(this,t);var o;o=tT(this,t,[n]),Cl(o,"dateType",void 0),Cl(o,"showLinkOperation",void 0),Cl(o,"linkOperationOption",void 0);var r;o.dateType=(r=n==null?void 0:n.dateType)!==null&&r!==void 0?r:De.DATE;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Gt(n==null?void 0:n.linkOperationOption);var u;return o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:$n.controlName,o}return t}(U);Cl(Nv,"Rules",HQ);function qQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UQ(e,t,n){return t=wn(t),GQ(e,iT()?Reflect.construct(t,n||[],wn(e).constructor):t.apply(e,n))}function CQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rT(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function WQ(e,t,n){return t&&rT(e.prototype,t),n&&rT(e,n),e}function On(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Kl(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Kl=Reflect.get:Kl=function(r,i,u){var c=XQ(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Kl(e,t,n||e)}function wn(e){return wn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wn(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&&Vv(e,t)}function GQ(e,t){return t&&(JQ(t)==="object"||typeof t=="function")?t:qQ(e)}function Vv(e,t){return Vv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vv(e,t)}function XQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=wn(e),e!==null););return e}function JQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(iT=function(){return!!e})()}var $n=function(e){KQ(t,e);function t(n){CQ(this,t);var o;return o=UQ(this,t,[n]),On(o,"props",void 0),o.props=new Nv(n==null?void 0:n.props),o}return WQ(t,[{key:"toDataBindModel",value:function(o){var r=Kl(wn(t.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.dateType;r.props.dateType=i}return r}}]),t}(tt);On($n,"controlType","timestamp-column"),On($n,"controlName","\u65E5\u671F"),On($n,"controlIcon","timestamp-column"),On($n,"controlFieldType",g.TIMESTAMP),On($n,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.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 QQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZQ(e,t,n){return t=Gl(t),eZ(e,uT()?Reflect.construct(t,n||[],Gl(e).constructor):t.apply(e,n))}function YQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gl(e){return Gl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gl(e)}function tZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hv(e,t)}function eZ(e,t){return t&&(nZ(t)==="object"||typeof t=="function")?t:QQ(e)}function Hv(e,t){return Hv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hv(e,t)}function nZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(uT=function(){return!!e})()}var cT=function(e){tZ(t,e);function t(n){YQ(this,t);var o;return o=ZQ(this,t,[n]),zv(o,"props",void 0),o.props=new Nv(n==null?void 0:n.props),o}return t}(et);zv(cT,"controlType","timestamp-column"),zv(cT,"controlFieldType",g.TIMESTAMP);function oZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lT(e,t,n){return t=Xl(t),rZ(e,_T()?Reflect.construct(t,n||[],Xl(e).constructor):t.apply(e,n))}function aT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xl(e){return Xl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xl(e)}function fT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 rZ(e,t){return t&&(iZ(t)==="object"||typeof t=="function")?t:oZ(e)}function qv(e,t){return qv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qv(e,t)}function iZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _T(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_T=function(){return!!e})()}var uZ=function(e){fT(t,e);function t(n){aT(this,t);var o;return o=lT(this,t,[n]),fe.call(o,n),o}return t}(rb),Uv=function(e){fT(t,e);function t(n){aT(this,t);var o;o=lT(this,t,[n]),Pn(o,"optionConfig",void 0),Pn(o,"datasourceBind",void 0),Pn(o,"showLinkOperation",void 0),Pn(o,"linkOperationOption",void 0),Pn(o,"options",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Sn.controlName;var i;o.optionConfig=(i=n==null?void 0:n.optionConfig)!==null&&i!==void 0?i:"none",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Gt(n==null?void 0:n.linkOperationOption);var c;return o.options=Xt((c=n==null?void 0:n.options)!==null&&c!==void 0?c:[{}]),o}return t}(U);Pn(Uv,"Rules",uZ);function cZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lZ(e,t,n){return t=Jl(t),_Z(e,yT()?Reflect.construct(t,n||[],Jl(e).constructor):t.apply(e,n))}function aZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function En(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jl(e){return Jl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jl(e)}function fZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cv(e,t)}function _Z(e,t){return t&&(yZ(t)==="object"||typeof t=="function")?t:cZ(e)}function Cv(e,t){return Cv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cv(e,t)}function yZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(yT=function(){return!!e})()}var Sn=function(e){fZ(t,e);function t(n){aZ(this,t);var o;return o=lZ(this,t,[n]),En(o,"props",void 0),o.props=new Uv(n==null?void 0:n.props),o}return t}(tt);En(Sn,"controlType","array-column"),En(Sn,"controlName","\u6570\u7EC4"),En(Sn,"controlIcon","array-column"),En(Sn,"controlFieldType",g.ARRAY),En(Sn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}]);function sZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pZ(e,t,n){return t=Ql(t),hZ(e,sT()?Reflect.construct(t,n||[],Ql(e).constructor):t.apply(e,n))}function dZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ql(e){return Ql=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ql(e)}function vZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kv(e,t)}function hZ(e,t){return t&&(bZ(t)==="object"||typeof t=="function")?t:sZ(e)}function Kv(e,t){return Kv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kv(e,t)}function bZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(sT=function(){return!!e})()}var pT=function(e){vZ(t,e);function t(n){dZ(this,t);var o;return o=pZ(this,t,[n]),Wv(o,"props",void 0),o.props=new Uv(n==null?void 0:n.props),o}return t}(et);Wv(pT,"controlType","array-column"),Wv(pT,"controlFieldType",g.ARRAY);function gZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mZ(e,t,n){return t=Zl(t),PZ(e,dT()?Reflect.construct(t,n||[],Zl(e).constructor):t.apply(e,n))}function OZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wZ(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zl(e){return Zl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zl(e)}function $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&&Gv(e,t)}function PZ(e,t){return t&&(EZ(t)==="object"||typeof t=="function")?t:gZ(e)}function Gv(e,t){return Gv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gv(e,t)}function EZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(dT=function(){return!!e})()}var vT=function(e){$Z(t,e);function t(n){OZ(this,t);var o;o=mZ(this,t,[n]),wZ(o,"displayLevel",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Bn.controlName;var i;return o.displayLevel=(i=n==null?void 0:n.displayLevel)!==null&&i!==void 0?i:1,o}return t}(U);function SZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TZ(e,t,n){return t=Rn(t),AZ(e,bT()?Reflect.construct(t,n||[],Rn(e).constructor):t.apply(e,n))}function RZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hT(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function BZ(e,t,n){return t&&hT(e.prototype,t),n&&hT(e,n),e}function Tn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yl(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Yl=Reflect.get:Yl=function(r,i,u){var c=kZ(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Yl(e,t,n||e)}function Rn(e){return Rn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rn(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&&Xv(e,t)}function AZ(e,t){return t&&(DZ(t)==="object"||typeof t=="function")?t:SZ(e)}function Xv(e,t){return Xv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xv(e,t)}function kZ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Rn(e),e!==null););return e}function DZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(bT=function(){return!!e})()}var Bn=function(e){IZ(t,e);function t(n){RZ(this,t);var o;return o=TZ(this,t,[n]),Tn(o,"props",void 0),o.props=new vT(n==null?void 0:n.props),o}return BZ(t,[{key:"toDataBindModel",value:function(o){var r=Yl(Rn(t.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.displayLevel;r.props.displayLevel=i}return r}}]),t}(tt);Tn(Bn,"controlType","department-column"),Tn(Bn,"controlName","\u90E8\u95E8"),Tn(Bn,"controlIcon","department-column"),Tn(Bn,"controlFieldType",g.DEPARTMENTS),Tn(Bn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.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 xZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FZ(e,t,n){return t=ta(t),MZ(e,gT()?Reflect.construct(t,n||[],ta(e).constructor):t.apply(e,n))}function jZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ta(e){return ta=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ta(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&&Qv(e,t)}function MZ(e,t){return t&&(NZ(t)==="object"||typeof t=="function")?t:xZ(e)}function Qv(e,t){return Qv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qv(e,t)}function NZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(gT=function(){return!!e})()}var mT=function(e){LZ(t,e);function t(n){jZ(this,t);var o;return o=FZ(this,t,[n]),Jv(o,"props",void 0),o.props=new vT(n==null?void 0:n.props),o}return t}(et);Jv(mT,"controlType","department-column"),Jv(mT,"controlFieldType",g.DEPARTMENTS);function VZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OT(e,t,n){return t=ea(t),zZ(e,PT()?Reflect.construct(t,n||[],ea(e).constructor):t.apply(e,n))}function wT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ea(e){return ea=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ea(e)}function $T(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yv(e,t)}function zZ(e,t){return t&&(HZ(t)==="object"||typeof t=="function")?t:VZ(e)}function Yv(e,t){return Yv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yv(e,t)}function HZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(PT=function(){return!!e})()}var qZ=function(e){$T(t,e);function t(n){wT(this,t);var o;return o=OT(this,t,[n]),fe.call(o,n),o}return t}(Vt),th=function(e){$T(t,e);function t(n){wT(this,t);var o;o=OT(this,t,[n]),Zv(o,"showLinkOperation",void 0),Zv(o,"linkOperationOption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:An.controlName;var i;return o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Gt(n==null?void 0:n.linkOperationOption),o}return t}(U);Zv(th,"Rules",qZ);function UZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CZ(e,t,n){return t=na(t),GZ(e,ET()?Reflect.construct(t,n||[],na(e).constructor):t.apply(e,n))}function WZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function In(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function na(e){return na=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},na(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&&eh(e,t)}function GZ(e,t){return t&&(XZ(t)==="object"||typeof t=="function")?t:UZ(e)}function eh(e,t){return eh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},eh(e,t)}function XZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ET(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ET=function(){return!!e})()}var An=function(e){KZ(t,e);function t(n){WZ(this,t);var o;return o=CZ(this,t,[n]),In(o,"props",void 0),o.props=new th(n==null?void 0:n.props),o}return t}(tt);In(An,"controlType","auto-number-column"),In(An,"controlName","\u81EA\u52A8\u7F16\u53F7"),In(An,"controlIcon","auto-number-column"),In(An,"controlFieldType",g.AUTO_NUMBER),In(An,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}]);function JZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QZ(e,t,n){return t=oa(t),tY(e,ST()?Reflect.construct(t,n||[],oa(e).constructor):t.apply(e,n))}function ZZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oa(e){return oa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oa(e)}function 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&&oh(e,t)}function tY(e,t){return t&&(eY(t)==="object"||typeof t=="function")?t:JZ(e)}function oh(e,t){return oh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},oh(e,t)}function eY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ST(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ST=function(){return!!e})()}var TT=function(e){YZ(t,e);function t(n){ZZ(this,t);var o;return o=QZ(this,t,[n]),nh(o,"props",void 0),o.props=new th(n==null?void 0:n.props),o}return t}(et);nh(TT,"controlType","auto-number-column"),nh(TT,"controlFieldType",g.AUTO_NUMBER);function nY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oY(e,t,n){return t=ra(t),cY(e,RT()?Reflect.construct(t,n||[],ra(e).constructor):t.apply(e,n))}function rY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iY(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ra(e){return ra=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ra(e)}function uY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rh(e,t)}function cY(e,t){return t&&(lY(t)==="object"||typeof t=="function")?t:nY(e)}function rh(e,t){return rh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rh(e,t)}function lY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(RT=function(){return!!e})()}var BT=function(e){uY(t,e);function t(n){rY(this,t);var o;o=oY(this,t,[n]),iY(o,"operation",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Dn.controlName;var i;return o.operation=(i=n==null?void 0:n.operation)!==null&&i!==void 0?i:["info","preview","download"],o}return t}(U);function aY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fY(e,t,n){return t=ia(t),sY(e,IT()?Reflect.construct(t,n||[],ia(e).constructor):t.apply(e,n))}function _Y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ia(e){return ia=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ia(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&&ih(e,t)}function sY(e,t){return t&&(pY(t)==="object"||typeof t=="function")?t:aY(e)}function ih(e,t){return ih=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ih(e,t)}function pY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(IT=function(){return!!e})()}var Dn=function(e){yY(t,e);function t(n){_Y(this,t);var o;return o=fY(this,t,[n]),kn(o,"props",void 0),o.props=new BT(n==null?void 0:n.props),o}return t}(tt);kn(Dn,"controlType","file-column"),kn(Dn,"controlName","\u9644\u4EF6"),kn(Dn,"controlIcon","file-column"),kn(Dn,"controlFieldType",g.FILE),kn(Dn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"attachment-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function dY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vY(e,t,n){return t=ua(t),gY(e,AT()?Reflect.construct(t,n||[],ua(e).constructor):t.apply(e,n))}function hY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ua(e){return ua=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ua(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&&ch(e,t)}function gY(e,t){return t&&(mY(t)==="object"||typeof t=="function")?t:dY(e)}function ch(e,t){return ch=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ch(e,t)}function mY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(AT=function(){return!!e})()}var kT=function(e){bY(t,e);function t(n){hY(this,t);var o;return o=vY(this,t,[n]),uh(o,"props",void 0),o.props=new BT(n==null?void 0:n.props),o}return t}(et);uh(kT,"controlType","file-column"),uh(kT,"controlFieldType",g.FILE);function OY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wY(e,t,n){return t=ca(t),EY(e,DT()?Reflect.construct(t,n||[],ca(e).constructor):t.apply(e,n))}function $Y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ca(e){return ca=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ca(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&&lh(e,t)}function EY(e,t){return t&&(SY(t)==="object"||typeof t=="function")?t:OY(e)}function lh(e,t){return lh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},lh(e,t)}function SY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(DT=function(){return!!e})()}var xT=function(e){PY(t,e);function t(n){$Y(this,t);var o;o=wY(this,t,[n]);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Fn.controlName,o}return t}(U);function TY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RY(e,t,n){return t=la(t),AY(e,FT()?Reflect.construct(t,n||[],la(e).constructor):t.apply(e,n))}function BY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function la(e){return la=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},la(e)}function IY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ah(e,t)}function AY(e,t){return t&&(kY(t)==="object"||typeof t=="function")?t:TY(e)}function ah(e,t){return ah=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ah(e,t)}function kY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(FT=function(){return!!e})()}var Fn=function(e){IY(t,e);function t(n){BY(this,t);var o;return o=RY(this,t,[n]),xn(o,"props",void 0),o.props=new xT(n==null?void 0:n.props),o}return t}(tt);xn(Fn,"controlType","image-column"),xn(Fn,"controlName","\u56FE\u7247"),xn(Fn,"controlIcon","image-column"),xn(Fn,"controlFieldType",g.IMAGE),xn(Fn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.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 DY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xY(e,t,n){return t=aa(t),LY(e,jT()?Reflect.construct(t,n||[],aa(e).constructor):t.apply(e,n))}function FY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function aa(e){return aa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},aa(e)}function jY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_h(e,t)}function LY(e,t){return t&&(MY(t)==="object"||typeof t=="function")?t:DY(e)}function _h(e,t){return _h=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_h(e,t)}function MY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(jT=function(){return!!e})()}var LT=function(e){jY(t,e);function t(n){FY(this,t);var o;return o=xY(this,t,[n]),fh(o,"props",void 0),o.props=new xT(n==null?void 0:n.props),o}return t}(et);fh(LT,"controlType","image-column"),fh(LT,"controlFieldType",g.IMAGE);function NY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VY(e,t,n){return t=fa(t),qY(e,MT()?Reflect.construct(t,n||[],fa(e).constructor):t.apply(e,n))}function zY(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(n){return n.__proto__||Object.getPrototypeOf(n)},fa(e)}function HY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yh(e,t)}function qY(e,t){return t&&(UY(t)==="object"||typeof t=="function")?t:NY(e)}function yh(e,t){return yh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yh(e,t)}function UY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(MT=function(){return!!e})()}var NT=function(e){HY(t,e);function t(n){zY(this,t);var o;o=VY(this,t,[n]);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Ln.controlName,o}return t}(U);function CY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WY(e,t,n){return t=_a(t),XY(e,VT()?Reflect.construct(t,n||[],_a(e).constructor):t.apply(e,n))}function KY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _a(e){return _a=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_a(e)}function GY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sh(e,t)}function XY(e,t){return t&&(JY(t)==="object"||typeof t=="function")?t:CY(e)}function sh(e,t){return sh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sh(e,t)}function JY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(VT=function(){return!!e})()}var Ln=function(e){GY(t,e);function t(n){KY(this,t);var o;return o=WY(this,t,[n]),jn(o,"props",void 0),o.props=new NT(n==null?void 0:n.props),o}return t}(tt);jn(Ln,"controlType","people-column"),jn(Ln,"controlName","\u4EBA\u5458"),jn(Ln,"controlIcon","people-column"),jn(Ln,"controlFieldType",g.EMPLOYEES),jn(Ln,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.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 QY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZY(e,t,n){return t=ya(t),ett(e,zT()?Reflect.construct(t,n||[],ya(e).constructor):t.apply(e,n))}function YY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ph(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ya(e){return ya=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ya(e)}function ttt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ett(e,t){return t&&(ntt(t)==="object"||typeof t=="function")?t:QY(e)}function dh(e,t){return dh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dh(e,t)}function ntt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(zT=function(){return!!e})()}var HT=function(e){ttt(t,e);function t(n){YY(this,t);var o;return o=ZY(this,t,[n]),ph(o,"props",void 0),o.props=new NT(n==null?void 0:n.props),o}return t}(et);ph(HT,"controlType","people-column"),ph(HT,"controlFieldType",g.EMPLOYEES);function ott(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qT(e,t,n){return t=sa(t),rtt(e,WT()?Reflect.construct(t,n||[],sa(e).constructor):t.apply(e,n))}function UT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sa(e){return sa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sa(e)}function CT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 rtt(e,t){return t&&(itt(t)==="object"||typeof t=="function")?t:ott(e)}function hh(e,t){return hh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hh(e,t)}function itt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(WT=function(){return!!e})()}var utt=function(e){CT(t,e);function t(n){UT(this,t);var o;return o=qT(this,t,[n]),fe.call(o,n),o}return t}(Vt),bh=function(e){CT(t,e);function t(n){UT(this,t);var o;o=qT(this,t,[n]),vh(o,"showLinkOperation",void 0),vh(o,"linkOperationOption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Nn.controlName;var i;return o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Gt(n==null?void 0:n.linkOperationOption),o}return t}(U);vh(bh,"Rules",utt);function ctt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ltt(e,t,n){return t=pa(t),_tt(e,KT()?Reflect.construct(t,n||[],pa(e).constructor):t.apply(e,n))}function att(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pa(e){return pa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pa(e)}function ftt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _tt(e,t){return t&&(ytt(t)==="object"||typeof t=="function")?t:ctt(e)}function gh(e,t){return gh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gh(e,t)}function ytt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(KT=function(){return!!e})()}var Nn=function(e){ftt(t,e);function t(n){att(this,t);var o;return o=ltt(this,t,[n]),Mn(o,"props",void 0),o.props=new bh(n==null?void 0:n.props),o}return t}(tt);Mn(Nn,"controlType","location-column"),Mn(Nn,"controlName","\u5730\u5740"),Mn(Nn,"controlIcon","location-column"),Mn(Nn,"controlFieldType",g.ADDRESS),Mn(Nn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}]);function stt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ptt(e,t,n){return t=da(t),htt(e,GT()?Reflect.construct(t,n||[],da(e).constructor):t.apply(e,n))}function dtt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function da(e){return da=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},da(e)}function vtt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 htt(e,t){return t&&(btt(t)==="object"||typeof t=="function")?t:stt(e)}function Oh(e,t){return Oh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Oh(e,t)}function btt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(GT=function(){return!!e})()}var XT=function(e){vtt(t,e);function t(n){dtt(this,t);var o;return o=ptt(this,t,[n]),mh(o,"props",void 0),o.props=new bh(n==null?void 0:n.props),o}return t}(et);mh(XT,"controlType","location-column"),mh(XT,"controlFieldType",g.ADDRESS);function gtt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JT(e,t,n){return t=ha(t),mtt(e,YT()?Reflect.construct(t,n||[],ha(e).constructor):t.apply(e,n))}function QT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function va(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ha(e){return ha=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ha(e)}function ZT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wh(e,t)}function mtt(e,t){return t&&(Ott(t)==="object"||typeof t=="function")?t:gtt(e)}function wh(e,t){return wh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wh(e,t)}function Ott(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(YT=function(){return!!e})()}var wtt=function(e){ZT(t,e);function t(n){QT(this,t);var o;return o=JT(this,t,[n]),va(o,"sortFieldCode",{type:"string",message:d.getMessage("pleaseSelectSortFieldCode")}),n.sort===!0&&(o.sortFieldCode.required=!0),o}return t}(Vt),$h=function(e){ZT(t,e);function t(n){QT(this,t);var o;o=JT(this,t,[n]),va(o,"fieldCodeList",void 0),va(o,"sortFieldCode",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Re.controlName;var i;o.fieldCodeList=(i=n==null?void 0:n.fieldCodeList)!==null&&i!==void 0?i:[];var u;return o.sortFieldCode=(u=n==null?void 0:n.sortFieldCode)!==null&&u!==void 0?u:"",o}return t}(U);va($h,"Rules",wtt);function $tt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ptt(e,t,n){return t=Vn(t),Btt(e,eR()?Reflect.construct(t,n||[],Vn(e).constructor):t.apply(e,n))}function Ett(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tR(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Stt(e,t,n){return t&&tR(e.prototype,t),n&&tR(e,n),e}function Ut(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ba(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?ba=Reflect.get:ba=function(r,i,u){var c=Itt(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},ba(e,t,n||e)}function Vn(e){return Vn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vn(e)}function Ttt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Rtt(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Btt(e,t){return t&&(Att(t)==="object"||typeof t=="function")?t:$tt(e)}function Ph(e,t){return Ph=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ph(e,t)}function Itt(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Vn(e),e!==null););return e}function Att(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(eR=function(){return!!e})()}var ktt=1,Re=function(t){Ttt(n,t);function n(o){Ett(this,n);var r;r=Ptt(this,n,[o]),Ut(r,"excludes",void 0),Ut(r,"childrenMaxLength",void 0),Ut(r,"props",void 0),Ut(r,"children",void 0);var i=Rtt(this,n)?this.constructor:void 0,u=i.excludes,c=i.childrenMaxLength;return r.props=new $h(o==null?void 0:o.props),Kt(r,"children",o==null?void 0:o.children,void 0,"Designer"),r.excludes=ne(u),r.childrenMaxLength=c,r}return Stt(n,[{key:"judgeJoinChildren",value:function(r){var i=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(r);return i&&this.childrenMaxLength>this.children.length}},{key:"toDataBindModel",value:function(r){var i=ba(Vn(n.prototype),"toDataBindModel",this).call(this,r);if(i){var u=this.props.fieldCodeList;i.props.fieldCodeList=u}return i}}]),n}(tt);Ut(Re,"controlType","custom-column"),Ut(Re,"controlName","\u81EA\u5B9A\u4E49"),Ut(Re,"controlIcon","custom-column"),Ut(Re,"excludes",[]),Ut(Re,"childrenMaxLength",ktt),Ut(Re,"setting",[{key:"caption",showItems:[_.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 Dtt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xtt(e,t,n){return t=ga(t),Ltt(e,nR()?Reflect.construct(t,n||[],ga(e).constructor):t.apply(e,n))}function Ftt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Eh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ga(e){return ga=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ga(e)}function jtt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sh(e,t)}function Ltt(e,t){return t&&(Mtt(t)==="object"||typeof t=="function")?t:Dtt(e)}function Sh(e,t){return Sh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sh(e,t)}function Mtt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(nR=function(){return!!e})()}var Ntt=function(e){jtt(t,e);function t(n){Ftt(this,t);var o;return o=xtt(this,t,[n]),Eh(o,"props",void 0),Eh(o,"children",void 0),o.props=new $h(n==null?void 0:n.props),Kt(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return t}(et);Eh(Ntt,"controlType","custom-column");function Vtt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ztt(e,t,n){return t=ma(t),Ctt(e,oR()?Reflect.construct(t,n||[],ma(e).constructor):t.apply(e,n))}function Htt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qtt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ma(e){return ma=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ma(e)}function Utt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Th(e,t)}function Ctt(e,t){return t&&(Wtt(t)==="object"||typeof t=="function")?t:Vtt(e)}function Th(e,t){return Th=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Th(e,t)}function Wtt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(oR=function(){return!!e})()}var rR=function(e){Utt(t,e);function t(n){Htt(this,t);var o;o=ztt(this,t,[n]),qtt(o,"datasourceBind",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Be.controlName;var i;return o.datasourceBind=new So((i=n==null?void 0:n.datasourceBind)!==null&&i!==void 0?i:{attributes:Be.controlCustomAttributes}),o}return t}(U);function Ktt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gtt(e,t,n){return t=Oa(t),Ztt(e,uR()?Reflect.construct(t,n||[],Oa(e).constructor):t.apply(e,n))}function Xtt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iR(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Jtt(e,t,n){return t&&iR(e.prototype,t),n&&iR(e,n),e}function zn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Oa(e){return Oa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oa(e)}function Qtt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ztt(e,t){return t&&(Ytt(t)==="object"||typeof t=="function")?t:Ktt(e)}function Rh(e,t){return Rh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rh(e,t)}function Ytt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(uR=function(){return!!e})()}var Be=function(e){Qtt(t,e);function t(n){Xtt(this,t);var o;return o=Gtt(this,t,[n]),zn(o,"props",void 0),o.props=new rR(n==null?void 0:n.props),o}return Jtt(t,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),t}(tt);zn(Be,"controlType","employee-column"),zn(Be,"controlName","\u4EBA\u5458"),zn(Be,"controlIcon","employee-column"),zn(Be,"controlFieldType",g.EMPLOYEES),zn(Be,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.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 tet(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eet(e,t,n){return t=wa(t),ret(e,cR()?Reflect.construct(t,n||[],wa(e).constructor):t.apply(e,n))}function net(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wa(e){return wa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wa(e)}function oet(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ret(e,t){return t&&(iet(t)==="object"||typeof t=="function")?t:tet(e)}function Ih(e,t){return Ih=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ih(e,t)}function iet(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(cR=function(){return!!e})()}var lR=function(e){oet(t,e);function t(n){net(this,t);var o;return o=eet(this,t,[n]),Bh(o,"props",void 0),o.props=new rR(n==null?void 0:n.props),o}return t}(et);Bh(lR,"controlType","employee-column"),Bh(lR,"controlFieldType",g.EMPLOYEES);function uet(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cet(e,t,n){return t=$a(t),_et(e,aR()?Reflect.construct(t,n||[],$a(e).constructor):t.apply(e,n))}function aet(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ah(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $a(e){return $a=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$a(e)}function fet(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kh(e,t)}function _et(e,t){return t&&(yet(t)==="object"||typeof t=="function")?t:uet(e)}function kh(e,t){return kh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kh(e,t)}function yet(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(aR=function(){return!!e})()}var fR=function(e){fet(t,e);function t(n){aet(this,t);var o;o=cet(this,t,[n]),Ah(o,"lineEllipsis",void 0),Ah(o,"showLinkOperation",void 0),Ah(o,"linkOperationOption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Hn.controlName;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Gt(n==null?void 0:n.linkOperationOption);var u;return o.lineEllipsis=(u=n==null?void 0:n.lineEllipsis)!==null&&u!==void 0?u:1,o}return t}(U);function set(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pet(e,t,n){return t=Pa(t),het(e,_R()?Reflect.construct(t,n||[],Pa(e).constructor):t.apply(e,n))}function det(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ie(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pa(e){return Pa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pa(e)}function vet(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 het(e,t){return t&&(bet(t)==="object"||typeof t=="function")?t:set(e)}function Dh(e,t){return Dh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dh(e,t)}function bet(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _R(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_R=function(){return!!e})()}var Hn=function(e){vet(t,e);function t(n){det(this,t);var o;return o=pet(this,t,[n]),Ie(o,"props",void 0),Ie(o,"children",void 0),o.props=new fR(n==null?void 0:n.props),o}return t}(tt);Ie(Hn,"controlType","approval-status-column"),Ie(Hn,"controlName","\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),Ie(Hn,"controlIcon","approval-status-column"),Ie(Hn,"excludes",[]),Ie(Hn,"setting",[{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0}]);function get(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function met(e,t,n){return t=Ea(t),$et(e,yR()?Reflect.construct(t,n||[],Ea(e).constructor):t.apply(e,n))}function Oet(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ea(e){return Ea=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ea(e)}function wet(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fh(e,t)}function $et(e,t){return t&&(Pet(t)==="object"||typeof t=="function")?t:get(e)}function Fh(e,t){return Fh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fh(e,t)}function Pet(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(yR=function(){return!!e})()}var Eet=function(e){wet(t,e);function t(n){Oet(this,t);var o;return o=met(this,t,[n]),xh(o,"props",void 0),xh(o,"children",void 0),o.props=new fR(n==null?void 0:n.props),o}return t}(et);xh(Eet,"controlType","approval-status-column");function Tet(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sR(e,t,n){return t=Sa(t),Ret(e,vR()?Reflect.construct(t,n||[],Sa(e).constructor):t.apply(e,n))}function pR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sa(e){return Sa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sa(e)}function dR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ret(e,t){return t&&(Bet(t)==="object"||typeof t=="function")?t:Tet(e)}function jh(e,t){return jh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jh(e,t)}function Bet(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(vR=function(){return!!e})()}var Iet=function(e){dR(t,e);function t(n){pR(this,t);var o;return o=sR(this,t,[n]),o.push({type:"object",fields:{}}),o}return t}(be),Lh=function(e){dR(t,e);function t(n){pR(this,t);var o;o=sR(this,t,[n]),Mt(o,"search",void 0),Mt(o,"cancel",void 0),Mt(o,"searchType",void 0),Mt(o,"labelPosition",void 0),Mt(o,"viewType",void 0),Mt(o,"isLoading",void 0),Mt(o,"custom",void 0),Mt(o,"queryTypeMap",void 0),Mt(o,"childMinWidth",void 0),Mt(o,"colGap",void 0);var r;o.searchType=(r=n==null?void 0:n.searchType)!==null&&r!==void 0?r:"model";var i;o.labelPosition=(i=n==null?void 0:n.labelPosition)!==null&&i!==void 0?i:"top";var u;o.viewType=(u=n==null?void 0:n.viewType)!==null&&u!==void 0?u:"mini";var c;o.search=new re((c=n==null?void 0:n.search)!==null&&c!==void 0?c:{content:"\u67E5\u8BE2",isShow:!0});var a;o.cancel=new re((a=n==null?void 0:n.cancel)!==null&&a!==void 0?a:{content:"\u91CD\u7F6E",isShow:!0});var l;o.isLoading=(l=n==null?void 0:n.isLoading)!==null&&l!==void 0?l:!1;var f;o.custom=((f=n==null?void 0:n.custom)!==null&&f!==void 0?f:[]).map(function(O){return new re(O)});var y;o.queryTypeMap=(y=n==null?void 0:n.queryTypeMap)!==null&&y!==void 0?y:[];var p;o.childMinWidth=(p=n==null?void 0:n.childMinWidth)!==null&&p!==void 0?p:230;var b;return o.colGap=(b=n==null?void 0:n.colGap)!==null&&b!==void 0?b:24,o}return t}(Ff);Mt(Lh,"RuntimeRules",Iet);function Aet(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ket(e,t,n){return t=Ta(t),Fet(e,hR()?Reflect.construct(t,n||[],Ta(e).constructor):t.apply(e,n))}function Det(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ta(e){return Ta=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ta(e)}function xet(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Fet(e,t){return t&&(jet(t)==="object"||typeof t=="function")?t:Aet(e)}function Nh(e,t){return Nh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Nh(e,t)}function jet(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(hR=function(){return!!e})()}var bR=function(e){xet(t,e);function t(n){Det(this,t);var o;return o=ket(this,t,[n]),Mh(o,"props",void 0),o.props=new Lh(n==null?void 0:n.props),o}return t}(ND);Mh(bR,"controlType","simple-search"),Mh(bR,"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:[_.IS_HIDE]},{key:"search-view-type",visible:!0}]);function Let(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Met(e,t,n){return t=Ra(t),zet(e,gR()?Reflect.construct(t,n||[],Ra(e).constructor):t.apply(e,n))}function Net(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ra(e){return Ra=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ra(e)}function Vet(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zh(e,t)}function zet(e,t){return t&&(Het(t)==="object"||typeof t=="function")?t:Let(e)}function zh(e,t){return zh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zh(e,t)}function Het(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(gR=function(){return!!e})()}var qet=function(e){Vet(t,e);function t(n){Net(this,t);var o;o=Met(this,t,[n]),Vh(o,"props",void 0),Vh(o,"children",void 0),o.props=new Lh(n==null?void 0:n.props);var r;return o.children=(r=n==null?void 0:n.children)!==null&&r!==void 0?r:[],o}return t}(WD);Vh(qet,"controlType","simple-search");const Uet=(e,t)=>{const n=Array.isArray(e),o=n?e:[e];nnt(t==null?void 0:t.events),Jet(o),Qet(o);const r=Xet(o),i=Zet(r,t);let u=Fe(C(i,c=>Get(c,t)));return n?u:u[0]},Cet=[s.DIVIDER,s.TEXT,s.TITLE,s.LINK,s.BUTTON,"list-btn-export-list","list-btn-export-record"],Wet=["subtable","grid-table"],Ket=["simple-search"];function Get(e,t){var r,i,u,c,a,l;let n=e;if(n.controlType||(n.is_layout_control===!0?n.controlType="layout":Cet.includes(n.type)?n.controlType="base":n.controlType="form",Wet.includes(n.type)&&(n.controlType="list"),Ket.includes(n.type)&&(n.controlType="search-view")),delete n.is_layout_control,e.props.lable_position&&(e.props.labelPosition=e.props.lable_position),e.props.select_mode&&(e.props.optionsFormat=e.props.select_mode),e.props.value&&(e.props.defaultValue=e.props.value),ft((r=e==null?void 0:e.props)==null?void 0:r.caption)&&(n.props.caption=e.props.caption.zh),ft((i=e==null?void 0:e.props)==null?void 0:i.placeholder)&&(n.props.placeholder=e.props.placeholder.zh),ft((u=e==null?void 0:e.props)==null?void 0:u.placeholder_end)&&(n.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(n.type="department",e.props.value.length&&(n.props.default_value=e.props.value),n.props.showType=e.props.show_tree?"tree":"default",n.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(n.type="auto-number",n.props.defaultValue=e.props.value),e.type==="file"&&(n.type="attachment",n.props.attachmentAccept=(c=e.attachment_format)==null?void 0:c.split(","),n.props.showType=e.props.show_type==="title"?"default":"table"),e.type==="image"&&(n.props.attachmentAccept=(a=e.attachment_format)==null?void 0:a.split(",")),e.type==="date-pick"&&(n.type="date-picker"),e.type==="rich-text"&&(ft(e.props.value)?n.props.defaultValue=e.props.value.zh:n.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(ft(e.props.value)?n.props.content=e.props.value.zh:n.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(n.props.showState="image"),e.type==="user-search"&&(n.type="employee",n.props.defaultValue=e.props.value),e.type==="address"&&(n.props.addressType=e.props.address_type_value),n.type==="subtable"){const f=n.props.entry_type||n.props.entryType;n.props.openType=f==="subpage"?"modal":"default",((l=n.children[0])==null?void 0:l.type)==="subtable-row"&&n.props.headers&&(n.props.headers=n.props.headers.map((y,p)=>{const b=new wW.Designer;b.props.caption=ft(y.field_name)?y.field_name.zh:y.field_name;const O=b.toSchema();O.id=y.header_id;const m=n.children[0].children[p].children[0];return m&&(O.children=[m]),O}),n.children=[])}if(n.type==="subtable-cell"&&(n.type="subtable-column"),["radio","checkbox","select","select-multiple"].includes(e.type)&&(e.props.options.map(f=>{f.label=ft(f.text)?f.text.zh:f.text,f.id=f.id||f.opt_id||f.optId||f.data_id}),n=e),e.type==="grid-row"){const f=24/n.children.length;n.children=n.children.map(y=>{const p=new jP.Designer;p.props.span=f;const b=p.toSchema();return b.children.push(y),b})}if(e.type==="grid-layout-row"&&(n.type="row"),e.type==="grid-layout-col"&&(n.type="col"),e.type==="group-panel"&&(n.type="card-group",n.props.collapse=n.props.flod==="no"?"none":n.props.flod),e.type==="tabs-pane"&&(n.type="tab-pane"),e.type==="calc"){const f=n==null?void 0:n.children[0],y=n==null?void 0:n.children[1],p={};f&&(mR(n,t),p.result=f.props.data_bind,n.id=f.id,n.props=f.props,n.props.script_src=f.props.script_src,n.props.script_echo=f.props.script_echo,n.props.precision=f.props.precision,n.props.micrometer=f.props.is_show_money,n.props.showUpperCase=f.props.is_show_chn),y&&(p.unit=y.props.data_bind,n.props.default_value={unit:y.props.value}),n.props.dataBind=p,delete n.children}if(e.type==="amount-currency"){n.type="amount",n.controlType="form";const f=n==null?void 0:n.children[0],y=n==null?void 0:n.children[1],p={},b={};f&&(mR(n,t),n.id=f.id,p.amount=f.props.data_bind,n.props.range_min=xe(f.props.range_min),n.props.range_max=xe(f.props.range_max),b.amount=xe(f.props.value),n.props.required=f.props.required,n.props.is_hide=f.props.is_hide,n.props.default_state=f.props.default_state,n.props.caption=ft(f.props.caption)?f.props.caption.zh:f.props.caption,n.props.is_hide_caption=f.props.is_hide_caption,n.props.showUpperCase=f.props.is_show_chn),y&&(p.currency=y.props.data_bind,b.currency=y.props.value,n.props.datasourceBind=y.props.datasource_bind,n.props.options=y.props.options.map(O=>({label:O.text,value:O.value}))),n.props.dataBind=p,n.props.defaultValue=b,delete n.children}if(e.type==="date-range"){n.controlType="form";const f=n==null?void 0:n.children[0],y=n==null?void 0:n.children[1];n.props.placeholderStart=ft(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,n.props.caption=ft(e.props.caption)?e.props.caption.zh:e.props.caption;const p={};f&&(p.min=f.props.data_bind),y&&(p.max=y.props.data_bind),n.props.dataBind=p,delete n.children}return e.type==="score"&&(n.props.defaultValue=n.props.value*1),["input","textarea"].includes(e.type)&&(n.props.defaultValue=ft(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(n.props.range_min=xe(e.props.range_min),n.props.range_max=xe(e.props.range_max),n.props.defaultValue=xe(e.props.value)),e.type==="list-page-btn-custom-button"&&(e.type="button"),e.type==="button"&&e.props.button_type==="dashed"&&(n.props.buttonType="default"),ont(n,t==null?void 0:t.control_events),n}function mR(e,t){if(!t)return;const{displayBoList:n=[],behaviors:o=[]}=t,r=e.id,i=e.children[0].id;n.forEach(u=>{u.id===r&&(u.id=i);const c=u.show_controls.findIndex(l=>l===r),a=u.hide_controls.findIndex(l=>l===r);c>-1&&u.show_controls.splice(c,1,i),a>-1&&u.hide_controls.splice(a,1,i)}),o.forEach(u=>{u.ctrl_id===r&&(u.id=i)})}function Xet(e){if(!Array.isArray(e)||!e.find(r=>r.type==="grid"))return e;const o=new UG.Designer().toSchema();return o.children=e,[o]}function Jet(e){e.forEach(t=>{t.children&&ent(t.children)})}function Qet(e){e.forEach(t=>{var o,r;if(!(t&&t.children))return;const n=t.children;for(let i=0;i<n.length;i++){const u=n[i],c=(r=(o=n[i])==null?void 0:o.children)==null?void 0:r[0];u.type==="grid-row"&&c&&["group-panel","subtable","tab"].includes(c.type)&&n.splice(i,1,c)}})}function Zet(e,t){var b,O,m,w,h,$,P,E;if(!(Array.isArray(e)&&e.length===1))return e;const n=e[0];if(n.type!=="list-page")return e;const{props:o,children:r}=n,[i,u,c]=r;Yet(i),c.props.is_fixed_header=(b=o==null?void 0:o.source_config)==null?void 0:b.is_fixed_header,tnt(c,u);const a=(m=(O=o==null?void 0:o.source_config)==null?void 0:O.data_code)!=null?m:t==null?void 0:t.dataCode,l=((h=(w=o==null?void 0:o.source_config)==null?void 0:w.svc_code)!=null?h:a)?`${a}_selectMore`:void 0,f=(P=($=o==null?void 0:o.source_config)==null?void 0:$.orders)!=null?P:[],y=new $G.Designer;y.props.datasourceBind=new X({dataCode:a,svcCode:l,orders:oA(f)}),y.props.isShowSubList=o.is_show_sublist,y.props.triggerType=o.timing_type,y.props.triggerFieldCode=o.ctrl_field_code,(E=o==null?void 0:o.sublist_page)==null||E.sublists.forEach(T=>{T.title=ft(T.title)?T.title.zh:T.title}),y.props.sublistPage=o.sublist_page;const p=y.toSchema();return p.children.push(i,c),[p]}function Yet(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(t=>{var o,r;const n=ft(t.placeholder)?t.placeholder.zh:t.placeholder;t.type==="number-range"&&(t.type="search-number-range",t.placeholderStart=n,t.placeholderEnd=n),t.type==="date-pick"&&(t.type="search-date-range",t.placeholderStart=n,t.placeholderEnd=n,t.dateType=(r=(o=t.dateType)==null?void 0:o.replace)==null?void 0:r.call(o,/range$/)),(t.type==="automatic-number"||t.type==="auto-number")&&(t.type="search-input",t.props.defaultValue="")})}function tnt(e,t){e.children=t.children.filter(n=>n.type!=="list-page-btn-custom-head"),e.type="grid-table",e.props.sublist_page&&(e.props.sublist_page.form_bind={data_code:e.props.sublist_page.data_code,form_key:e.props.sublist_page.form_key}),Array.isArray(e.props.headers)&&(e.props.headers=e.props.headers.map(n=>{var r,i,u;let o={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:n.field_code,field_name:ft(n.field_name)?n.field_name.zh:n.field_name}};return o.props.caption=ft(n.field_name)?n.field_name.zh:n.field_name,o.props.filter_tags=n.is_filter_tags,o.props.fixed=n.fixed,o.props.display_bo_list=n.display_bo_list,o.props.date_type=n.date_type,o.props.optionConfig="none",n.header_width_config&&(o.props.widthType=n.header_width_config==="1"?"auto":"px"),o.props.widthType==="px"&&n.header_width&&(o.props.width=Number(n.header_width)),n.table_header_type==="order"?(o.type="order-column",o.props.fixed=!0):n.table_header_type==="operation"?(o.type="operation-column",o.props.check=(r=n.check)!=null?r:{},o.props.check.openType="window",o.props.delete=(i=n.delete)!=null?i:{},o.props.delete.openType="window",o.props.edit=(u=n.edit)!=null?u:{},o.props.edit.openType="window",o.props.fixed=!0):(o.type=n.field_type+"-column",n.field_type==="auto_number"&&(o.type="auto-number-column"),n.field_type==="relation"&&(o.type="varchar-column")),n.convert_switch&&(o.props.optionConfig=n.convert_type===1?"datasource":"custom"),o.props.optionConfig==="datasource"?o.props.datasource_bind=new X({svcCode:n.svc_code,displayBoList:n.display_bo_list,valueFieldCode:n.field_match,dataCode:n.field_source}):o.props.optionConfig==="custom"&&(o.props.options=n.custom_match_bo_list),o}))}function ent(e){var n;let t=null;for(let o=0;o<e.length;o++){const r=e[o];if(!!r){if(r.children&&((n=r.children[0])==null?void 0:n.type)==="group-panel"){t=r.children[0];continue}t&&(t.children.push(r),e.splice(o,1),o--)}}}function nnt(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 ont(e,t){var o;if(!t||!e.props.events)return;const n=Object.keys(e.props.events);!n.length||(n.forEach(r=>{!e.props.events[r].length||(t[e.id]||(t[e.id]={}),t[e.id][r]||(t[e.id][r]=[]),t[e.id][r].push(...e.props.events[r].map(i=>i.name)))}),(o=t[e.id])!=null&&o.on_blur&&(t[e.id].on_change||(t[e.id].on_change=[]),t[e.id].on_change.push(...t[e.id].on_blur)))}const rnt=(e,t)=>{const n=Array.isArray(e);let r=Fe(C(n?e:[e],i=>int(i)));return n?r:r[0]};function int(e,t){return e.type===s.LIST_VIEW&&e.children.find(o=>o.type===s.GRID_TABLE).props.headers.forEach(o=>{!o.props.data_bind&&o.props.field_code&&(o.props.data_bind=new At({dataCode:e.props.datasource_bind.data_code,fieldCode:o.props.field_code}))}),e}const unt=(e,t)=>{const n=Array.isArray(e);let r=Fe(C(n?e:[e],i=>cnt(i)));return n?r:r[0]};function cnt(e,t){return[s.BUTTON,s.CREATE_FORM_LIST_BUTTON,s.BATCH_SUBMISSION_LIST_BUTTON,s.SUBMISSION_RECORD_LIST_BUTTON,s.IMPORT_RECORD_LIST_BUTTON,s.EXPORT_RECORD_LIST_BUTTON,s.EXPORT_LIST_BUTTON,s.FORM_SELECT_BUTTON,s.LIST_SELECT_BUTTON].includes(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===s.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===s.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}const lnt=(e,t)=>{const n=Array.isArray(e);let r=Fe(C(n?e:[e],i=>ant(i)));return n?r:r[0]};function ant(e,t){if(e.props.icon){let n=e.props.icon;switch(n){case"icongeren":n="iconyyzy-renyuan";break;case"iconjine1":n="iconcaiwu";break;case"iconhuibao":n="iconyyzy-tianxie";break;case"iconwenjian":n="iconyyzy-wenjianjia1";break;case"iconyingpin":n="iconyyzy-gongzuo";break;case"iconpiliangtijiaojilu":n="iconyyzy-renwu";break}e.props.icon=n}return e}const fnt=(e,t)=>{const n=Array.isArray(e);let r=Fe(C(n?e:[e],i=>ynt(i)));return n?r:r[0]},_nt=[s.ROW,s.TAB,s.SUBTABLE,s.GRID_ROW,s.CARD_GROUP];function ynt(e,t){return e.type===s.TAB_PANE&&(e.children=e.children.map(n=>{if(_nt.includes(n.type))return n;const o=new GC.Designer,r=new jP.Designer;o.children.push(r);const i=o.toSchema();return i.children[0].children.push(n),i})),e}const snt=(e,t)=>{const n=Array.isArray(e);let r=Fe(C(n?e:[e],i=>pnt(i)));return n?r:r[0]};function pnt(e,t){return e.type===s.GRID_TABLE&&e.props.headers.forEach(n=>{n.type===s.OPERATION_COLUMN&&(n.props.check.priorityProcess=!0)}),e}const dnt=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>vnt(i));return n?r:r[0]};function vnt(e,t){return e.type===s.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}const hnt=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>bnt(i));return n?r:r[0]};function he(e,t){e.field_code&&(e.field_type=t)}function bnt(e,t){var o;const n={[s.TITLE]:g.AUTO_NUMBER,[s.ADDRESS]:g.ADDRESS,[s.ATTACHMENT]:g.FILE,[s.AUTO_NUMBER]:g.AUTO_NUMBER,[s.CHECKBOX]:g.ARRAY,[s.DATE_PICKER]:g.TIMESTAMP,[s.DEPARTMENT]:g.DEPARTMENTS,[s.DEPARTMENT2]:g.DEPARTMENTS,[s.EMPLOYEE]:g.EMPLOYEES,[s.EMPLOYEE2]:g.EMPLOYEES,[s.IMAGE]:g.IMAGE,[s.INPUT]:g.VARCHAR,[s.NUMBER]:g.DECIMAL,[s.RADIO]:g.VARCHAR,[s.RICH_TEXT]:g.TEXT,[s.SCORE]:g.DECIMAL,[s.SELECT]:g.VARCHAR,[s.SELECT_MULTIPLE]:g.ARRAY,[s.SELECT_RELATION]:g.VARCHAR,[s.TEXTAREA]:g.TEXT,[s.TREE]:g.ARRAY,[s.SEARCH_DATE_RANGE]:g.ARRAY,[s.SEARCH_INPUT]:g.VARCHAR,[s.SEARCH_NUMBER_RANGE]:g.ARRAY};return n.hasOwnProperty(e.type)&&he(e.props.data_bind,n[e.type]),e.type===s.AMOUNT&&(he(e.props.data_bind.amount,g.DECIMAL),he(e.props.data_bind.currency,g.VARCHAR)),e.type===s.CALC&&(he(e.props.data_bind.result,g.DECIMAL),he(e.props.data_bind.unit,g.VARCHAR)),e.type===s.DATE_RANGE&&(he(e.props.data_bind.min,g.TIMESTAMP),he(e.props.data_bind.max,g.TIMESTAMP)),e.type===s.VUE_FORM_ITEM&&he(e.props.data_bind,(o=e.field_type)!=null?o:g.ANY),e}const gnt=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>mnt(i));return n?r:r[0]};function mnt(e,t){return e.type===s.GRID_TABLE&&e.props.headers.forEach(n=>{n.type.endsWith("-column")&&(n.props.fixed?(n.props.fixed="left",n.type===s.OPERATION_COLUMN&&(n.props.fixed="right")):n.props.fixed="none")}),e}const Ont=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>wnt(i));return n?r:r[0]};function wnt(e,t){return e.type===s.SIMPLE_SEARCH&&e.children.length&&(e.props.query_type_map||(e.props.query_type_map=[]),e.children.forEach(n=>{var o,r;[g.VARCHAR,g.TEXT,g.AUTO_NUMBER].includes((r=(o=n.props)==null?void 0:o.data_bind)==null?void 0:r.field_type)&&e.props.query_type_map.push({query_type:"LIKE",field_code:n.props.data_bind.field_code})})),e}const $nt=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>Pnt(i));return n?r:r[0]};function Pnt(e,t){return[s.SELECT,s.SELECT_RELATION,s.SELECT_MULTIPLE,s.RADIO,s.CHECKBOX,s.TREE,s.DEPARTMENT2,s.EMPLOYEE2,s.DEPARTMENT,s.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===s.SUBTABLE&&e.props.headers.forEach(n=>{[s.SELECT,s.SELECT_RELATION,s.SELECT_MULTIPLE,s.RADIO,s.CHECKBOX,s.TREE,s.DEPARTMENT2,s.EMPLOYEE2,s.DEPARTMENT,s.EMPLOYEE].includes(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),e}const Ent=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>Snt(i));return n?r:r[0]};function Snt(e,t){return[s.SELECT,s.SELECT_RELATION,s.SELECT_MULTIPLE,s.RADIO,s.CHECKBOX,s.TREE,s.DEPARTMENT2,s.EMPLOYEE2,s.DEPARTMENT,s.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===s.SUBTABLE&&e.props.headers.forEach(n=>{[s.SELECT,s.SELECT_RELATION,s.SELECT_MULTIPLE,s.RADIO,s.CHECKBOX,s.TREE,s.DEPARTMENT2,s.EMPLOYEE2,s.DEPARTMENT,s.EMPLOYEE].includes(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),e}const Tnt=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>Rnt(i));return n?r:r[0]};function Rnt(e,t){return e.type===s.TITLE&&e.props.config.push(me.ShowTitle),e.type===s.GRID_TABLE&&e.props.headers.map(n=>{var o,r,i,u,c,a,l,f,y,p,b,O,m,w,h,$,P,E,T,j,A,it;if(n.type===s.OPERATION_COLUMN){if(n.props.width_type==="auto"?n.props.auto_width={min_width:120,max_width:120,flex:1}:n.props.width_type==="px"&&(n.props.auto_width={min_width:n.props.width,max_width:n.props.width,flex:1}),n.props.width_type="auto",n.children=(o=n==null?void 0:n.children)!=null?o:[],delete n.props.custom,((r=n.props)==null?void 0:r.check)!==void 0){const B=new Q_.Designer;Object.defineProperty(B,"id",{value:"listPageCheckBtnId"}),B.props.code="view",B.props.icon="iconliulan1",B.props.command="view",B.props.content=(i=n.props)==null?void 0:i.check.content,B.props.priorityProcess=(u=n.props)==null?void 0:u.check.priority_process,B.props.openType=(c=n.props)==null?void 0:c.check.open_type,B.props.formKey=(a=n.props)==null?void 0:a.check.form_key,(l=n.props)!=null&&l.check.is_show&&n.children.push(B.toSchema()),(f=n.props)==null||delete f.check}if(((y=n.props)==null?void 0:y.edit)!==void 0){const B=new Q_.Designer;Object.defineProperty(B,"id",{value:"listPageEditBtnId"}),B.props.code="edit",B.props.icon="iconbianji1",B.props.command="edit",B.props.content=(p=n.props)==null?void 0:p.edit.content,B.props.priorityProcess=(b=n.props)==null?void 0:b.edit.priority_process,B.props.openType=(O=n.props)==null?void 0:O.edit.open_type,B.props.formKey=(m=n.props)==null?void 0:m.edit.form_key,(w=n.props)!=null&&w.edit.is_show&&n.children.push(B.toSchema()),(h=n.props)==null||delete h.edit}if((($=n.props)==null?void 0:$.delete)!==void 0){const B=new Q_.Designer;Object.defineProperty(B,"id",{value:"listPageDeleteBtnId"}),B.props.code="delete",B.props.icon="iconlajitong",B.props.command="delete",B.props.content=(P=n.props)==null?void 0:P.delete.content,B.props.priorityProcess=(E=n.props)==null?void 0:E.delete.priority_process,B.props.openType=(T=n.props)==null?void 0:T.delete.open_type,B.props.formKey=(j=n.props)==null?void 0:j.delete.form_key,B.props.needConfirm=!0,B.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",(A=n.props)!=null&&A.delete.is_show&&n.children.push(B.toSchema()),(it=n.props)==null||delete it.delete}}}),[s.SELECT,s.SELECT_RELATION,s.SELECT_MULTIPLE,s.RADIO,s.CHECKBOX,s.TREE,s.DEPARTMENT2,s.EMPLOYEE2,s.DEPARTMENT,s.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===s.SUBTABLE&&e.props.headers.forEach(n=>{[s.SELECT,s.SELECT_RELATION,s.SELECT_MULTIPLE,s.RADIO,s.CHECKBOX,s.TREE,s.DEPARTMENT2,s.EMPLOYEE2,s.DEPARTMENT,s.EMPLOYEE].includes(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),e}const Bnt=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>Int(i,t));return n?r:r[0]};function Int(e,t){e.type===s.SUBTABLE&&e.props.headers.map(o=>{var i;o.props.meta_auto_width=new h0,o.props.width_type==="px"&&(o.props.meta_auto_width.pc.width=o.props.width,o.props.meta_auto_width.pc.width_type="px"),delete o.props.width,delete o.props.width_type;const r=(i=o.children)==null?void 0:i[0];r&&r.type===s.CALC&&r.props.calc_on_mounted===void 0&&(r.props.calc_on_mounted=!0)});const n={[s.SUBTABLE]:[{key:"page_index",value:1},{key:"page_size",value:10},{key:"page_size_options",value:[10,20,50,100]},{key:"total_count",value:0}],[s.GRID_TABLE]:[{key:"page_index",value:1},{key:"page_size",value:20},{key:"page_size_options",value:[10,20,50,100]},{key:"total_count",value:0},{key:"is_show_selection",value:!1}],[s.LIST_VIEW]:[{key:"selection_type",value:"multiple"},{key:"row_style_type",value:"none"},{key:"is_show_selection",value:!1}],[s.SIMPLE_SEARCH]:[{key:"col-gap",value:24},{key:"child-min-width",value:230}],[s.IMPORT_RECORD_LIST_BUTTON]:[{key:"template-type",value:"system"}]};return e.type in n&&n[e.type].forEach(o=>{e.props[o.key]===void 0&&(e.props[o.key]=o.value)}),e.type===s.GRID_TABLE&&e.props.headers.forEach(o=>{o.type===s.OPERATION_COLUMN&&(o.props.limit===void 0&&(o.props.limit=3),o.props.show_type===void 0&&(o.props.show_type="icon")),o.props.flex===void 0&&(o.props.flex=1),o.props.auto_width===void 0&&(o.props.auto_width=new Ua)}),e.type===s.CALC&&e.props.calc_on_mounted===void 0&&(e.props.calc_on_mounted=!0),Ant(t),e}function Ant(e){if(!(!e||!e.listeners)){if(Object.keys(e.listeners).forEach(t=>{let n,o,r;e.listeners[t].forEach((i,u)=>{switch(i.event_key||i.eventKey){case"on_click_finish":o=i,r=u;break;case"on_click":n=i;break}}),o&&(o.cases[0].handlers.unshift(Hh()),n?(o.cases.forEach(i=>{n.cases[0].handlers.push(i)}),e.listeners[t].splice(r,1)):o.event_key="on_click")}),!e.listeners.form_submit)e.listeners.form_submit=[{event_key:"on_click",event_param:[],cases:[knt()]}];else if(e.listeners.form_submit&&e.listeners.form_submit&&e.listeners.form_submit[0]&&e.listeners.form_submit[0].cases&&e.listeners.form_submit[0].cases[0]&&e.listeners.form_submit[0].cases[0].handlers){let t=!1;e.listeners.form_submit[0].cases[0].handlers.forEach(n=>{n.method==="actionOperate"&&(t=!0)}),t||e.listeners.form_submit[0].cases[0].handlers.push(Hh())}}}function knt(){return{id:"case"+new Date().getTime(),name:"\u9ED8\u8BA4\u60C5\u5F62",match_type:"AND",match_rules:[],handlers:[Hh()]}}function Hh(){return{id:"handler"+new Date().getTime(),method:"actionOperate",params:{control_id:"",opt_type:"",opt_code:"",is_error_continue:!1}}}const Dnt=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>xnt(i,t));return n?r:r[0]};function xnt(e,t){if(e.type===s.LIST_VIEW){if(e.props.is_show_selection===!1){const n=[s.BATCH_SUBMISSION_LIST_BUTTON,s.LIST_PAGE_BTN_BATCH_PRINT,s.BATCH_DELETE_LIST_BUTTON];e.children.forEach(o=>{o.type===s.GRID_TABLE&&o.children.map(u=>u.type).some(u=>n.includes(u))===!0&&(e.props.is_show_selection=!0,o.props.is_show_selection=!0)})}e.props.caption===""&&(e.props.caption=t==null?void 0:t.formName),e.props.is_all_loaded===void 0&&(e.props.is_all_loaded=!0)}return e.type===s.TEXTAREA&&e.props.auto_size===void 0&&(e.props.auto_size=!1),e.type===s.SUBTABLE&&e.props.mobile_default_num===void 0&&(e.props.mobile_default_num=e.props.mobile_show_type==="tile"?5:10),e.type===s.TREE&&e.props.default_display===void 0&&(e.props.default_display=!1),e.type===s.GRID_TABLE&&e.props.is_show_toolbar===void 0&&(e.props.is_show_toolbar=!0),e.type===s.NUMBER&&e.props.regular_rules===void 0&&(e.props.regular_rules=new Qa),e}const Fnt=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>jnt(i));return n?r:r[0]};function jnt(e,t){return[s.LIST_PAGE_BTN_BATCH_PRINT_RECORD,s.EXPORT_LIST_BUTTON,s.EXPORT_RECORD_LIST_BUTTON,s.CREATE_FORM_LIST_BUTTON,s.IMPORT_RECORD_LIST_BUTTON,s.SUBMISSION_RECORD_LIST_BUTTON,s.BATCH_DELETE_LIST_BUTTON,s.BUTTON,s.SUBMISSION_RECORD_LIST_BUTTON,s.LIST_PAGE_BTN_BATCH_PRINT].includes(e.type)&&(e.control_type="base"),e.type===s.SUBTABLE&&e.props.mobile_default_num===void 0&&(e.props.mobile_default_num=e.props.mobile_show_type==="tile"?5:10),e}const Lnt=(e,t)=>{const n=Array.isArray(e),o=n?e:[e],r={};let i=C(o,u=>{const c=Mnt(u);return r[u.id]=u,c});return Nnt(r,t),n?i:i[0]};function Mnt(e,t){if(e.type===s.ORGANIZATION_SELECTION){const n=e.props.selected_content_config,o=n==null?void 0:n.display_bo_list;o&&o.forEach(r=>{r.value==="org_type_code"&&(r.label="\u4E1A\u52A1\u7C7B\u578B"),r.value==="org_pattern_code"&&(r.label="\u7EC4\u7EC7\u5F62\u6001")})}return e.type===s.LIST_SELECT_BUTTON&&e.props.disable_filling===void 0&&(e.props.disable_filling=!1),e}function Nnt(e,t){var n,o;if((t==null?void 0:t.formType)===1&&(t==null?void 0:t.events)!==void 0){const r=(o=(n=t==null?void 0:t.events)==null?void 0:n.did_mount)!=null?o:[];r.length>0&&(t.events.did_init=r,t.events.did_mount=[]),t.events.did_init===void 0&&(t.events.did_init=[])}}var OR={"v1.0":Uet,"v2.0":rnt,"v2.1":unt,"v2.2":lnt,"v2.3":fnt,"v2.4":snt,"v2.5":dnt,"v2.6":hnt,"v2.7":gnt,"v2.8":Ont,"v2.9":$nt,"v2.10":Ent,"v3.0":Tnt,"v3.1":Bnt,"v3.2":Dnt,"v3.3":Fnt,"v3.4":Lnt,"v3.5":()=>{}};const wR=(e,t)=>{const n=$R(e),o=$R(t),r=n.pop(),i=o.pop(),u=SR(n,o);return u!==0?u:r&&i?SR(r.split("."),i.split(".")):r||i?r?-1:1:0},Ba=(e,t,n)=>{qnt(n);const o=wR(e,t);return TR[n].includes(o)},Vnt=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,$R=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(Vnt);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},PR=e=>e==="*"||e==="x"||e==="X",ER=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},znt=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],Hnt=(e,t)=>{if(PR(e)||PR(t))return 0;const[n,o]=znt(ER(e),ER(t));return n>o?1:n<o?-1:0},SR=(e,t)=>{for(let n=0;n<Math.max(e.length,t.length);n++){const o=Hnt(e[n]||"0",t[n]||"0");if(o!==0)return o}return 0},TR={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},RR=Object.keys(TR),qnt=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(RR.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${RR.join("|")}`)};function qh(e){return e.replace(/^v/,"")}const qn=Object.keys(OR).map(e=>qh(e)).sort(wR),bo=qn[qn.length-1];class Unt{constructor(t,n=bo){this.schemaVersion=t,this.toVersion=n,Ba(n,bo,">")?Gn(`Version Builder: The specified ${n} is an undefined version, and the current latest version is ${bo}`):(!qn.includes(qh(n))||!qn.includes(qh(t)))&&Gn(`Version Builder: Please give me a valid version number, The valid version is: ${qn.join(",")}, But give me a ${t}`)}dataCleaner(t,n){if(Ba(this.toVersion,this.schemaVersion,"="))return t;const o=this.callDataCleanerKeys.reduce((r,i,u,c)=>{var y;const a=(y=c[u+1])!=null?y:this.toVersion;wo(`Version Builder: current version: ${i}, nextVersion: ${a}`);const l=OR[i];let f=r;if(typeof l=="function"){const p=l(r,n);p&&(f=p)}return f},t);return wo(`Version Builder: Version conversion completed, evolving from ${this.schemaVersion} to ${this.toVersion}`),o}get runDataCleanerKeys(){return qn.filter(t=>Ba(t,this.schemaVersion,">=")&&Ba(t,this.toVersion,"<"))}get callDataCleanerKeys(){return this.runDataCleanerKeys.map(t=>"v"+t)}get version(){return bo}static get version(){return bo}}ke.VersionBuilder=Unt,Object.defineProperty(ke,"__esModule",{value:!0})});
1
+ (function(xe,Wn){typeof exports=="object"&&typeof module!="undefined"?Wn(exports):typeof define=="function"&&define.amd?define(["exports"],Wn):(xe=typeof globalThis!="undefined"?globalThis:xe||self,Wn(xe.modelDrivenUpgrade={}))})(this,function(xe){"use strict";var Wn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",UR="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",CR="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",WR="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",KR="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",GR="{caption}\u5FC5\u586B",XR="\u8BF7\u8F93\u5165\u6807\u9898",JR="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",QR="\u8BF7\u8F93\u5165\u884C\u6807\u9898",ZR="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",YR="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",t3="\u8BF7\u7ED1\u5B9A\u8868\u5355",e3="\u8BF7\u7ED1\u5B9A\u5217\u8868",n3="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",o3="\u8BF7\u8F93\u5165\u663E\u793A\u503C",r3="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",i3="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",u3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",c3="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",l3="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",a3="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",f3="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",_3="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",y3="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",s3="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",p3="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",d3="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",v3="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",h3="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",b3="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",g3="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",m3="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",O3="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",w3="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",$3="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",P3="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",E3="\u8BF7\u7ED1\u5B9A\u670D\u52A1",S3="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",T3="\u8BF7\u9009\u62E9\u7701",R3="\u8BF7\u9009\u62E9\u5E02",B3="\u8BF7\u9009\u62E9\u533A",I3="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",A3="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",k3="\u8BF7\u8F93\u5165\u5217\u5BBD",D3="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",x3="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",F3="\u8BF7\u9009\u62E9\u63A7\u4EF6",j3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",L3="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",M3="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",N3="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",V3="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",z3="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",H3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",q3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",U3="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",C3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",W3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",K3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",G3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",X3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",J3="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Q3="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Z3="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Y3="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",tB="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",eB="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",nB="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",oB="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",rB="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",iB="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",uB="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",cB="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",lB="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",aB={isNotNumber:Wn,isNotString:UR,isNotObject:CR,isNotArray:WR,isNotBoolean:KR,runtimeRequired:GR,pleaseEnterCaption:XR,pleaseEnterCaptionTip:JR,pleaseEnterRowCaption:QR,pleaseEnterPlaceholder:ZR,pleaseEnterFieldCode:YR,pleaseEnterForm:t3,pleaseEnterList:e3,pleaseEnterProcess:n3,pleaseEnterLabel:o3,pleaseEnterValue:r3,bizKeyNotBindFiled:i3,pleaseSelectOneField:u3,pleaseEnterNumberRange:c3,pleaseEnterAValueGreaterThanMin:l3,pleaseEnterAValueLessThanMax:a3,numberRangeSetError:f3,stringRangeError:_3,attachmentMaxSize:y3,pleaseEnterTotalScoreSetting:s3,theTotalScoreMustNotBeLessThan1:p3,scoreDefaultValueRange:d3,attachmentLimitError:v3,PleaseReselectTheOptionalQuantity:h3,TheMaximumLengthIsGreaterThanTheMinimumLength:b3,TheMinimumLengthIsGreaterThanTheMaximumLength:g3,PleaseSelectTheCorrectOptionSettings:m3,optionIdIsRepeat:O3,optionIsRequired:w3,pleaseEnterDataCode:$3,pleaseEnterValueFieldCode:P3,pleaseEnterSvcCode:E3,pleaseBindAtLeastOneDisplayValue:S3,pleaseSelectProvince:T3,pleaseSelectCity:R3,pleaseSelectDistrict:B3,limitRowsCannotBeLessThan0:I3,TheNumberOfRowsCannotBeLessThanMinRows:A3,pleaseEnterColumnWidth:k3,pleaseSetTheLogicalRelationshipOfAllRuleConditions:D3,pleaseCompleteAllRulesAndConditions:x3,pleaseSelectControl:F3,pleaseSelectAtLeastOneColumn:j3,pleaseSelectFillBackMode:L3,pleaseSelectDashboard:M3,rootNodeIsRequired:N3,theViewNameCannotBeEmpty:V3,pleaseSelectOcrType:z3,pleaseSelectAtLeastOneFieldToFillIn:H3,pleaseChooseAtLeastOne:q3,pleaseEnterButtonContent:U3,pleaseEnterDataCodeInDataSetting:C3,pleaseEnterValueFieldCodeInDataSetting:W3,pleaseEnterSvcCodeInDataSetting:K3,pleaseBindAtLeastOneDisplayValueInDataSetting:G3,rootNodeIsRequiredInDataSetting:X3,pleaseEnterMaxHeight:J3,pleaseEnter:Q3,pleaseEnterWatermark:Z3,pleaseEnterFileName:Y3,pleaseUploadAtLeastOnePrintTemplate:tB,pleaseAssignBusiness:eB,pleaseAssignExternal:nB,pleaseEnterAliasCode:oB,pleaseSelectDataCode:rB,pleaseSelectSvcCode:iB,pleaseSelectJoinFieldCode:uB,pleaseSelectMainFieldCode:cB,pleaseSelectSortFieldCode:lB},fB="Please enter a number",_B="Please enter a string",yB="Please enter an object",sB="Please enter an array",pB="Please enter a boolean",dB="{caption} Required",vB="Please enter the title",hB="Please enter the bubble prompt",bB="Please enter the row title",gB="Please enter the prompt text",mB="Please bind data items",OB="Please bind the form",wB="Please bind the list",$B="Please bind the process",PB="Please enter the displayed value",EB="Please enter the stored value",SB="The document number is not bound to the data item",TB="Please select at least one display field",RB="Please enter a value greater than or equal to {min} and less than or equal to {max}",BB="Please enter a value greater than or equal to {min}",IB="Please enter a value less than or equal to {max}",AB="The value range is set incorrectly",kB="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",DB="The attachment size must be between 0MB and 1000MB",xB="Please fill in the total score setting",FB="The total score cannot be less than 1",jB="The default value must be between {min} and {max}",LB="The number of attachments uploaded must be between {min} and {max}",MB="Please re-select the optional quantity",NB="The maximum length of the control must be greater than the minimum length",VB="The minimum length of the control must be less than the maximum length",zB="Please select the correct option setting",HB="Option ID cannot be repeated",qB="Please enter at least one option",UB="Please bind the data source",CB="Please bind the stored value",WB="Please bind the service",KB="At least one display value must be bound",GB="Please select a province",XB="Please select a city",JB="Please select a district",QB="The minimum number of lines to fill in cannot be less than 0",ZB="The number of rows cannot be less than {min} rows",YB="Please enter the column width",t1="Please set the logical relationship of all rule conditions",e1="Please complete all rules and conditions",n1="please select control",o1="Please select the dashboard",r1="View name cannot be empty",i1="Please select recognition type",u1="Please select at least one field to fill in",c1="Please select at least one",l1="Please enter the button title",a1="Please bind the business model in the data settings",f1="Please bind storage values in data settings",_1="Please bind the service in the data settings",y1="Please bind at least one display value in the data settings",s1="Please select the root node in the data settings",p1="Please enter the maximum height",d1="The input content cannot be empty",v1="Watermark cannot be empty",h1="File name cannot be empty",b1="Please upload at least one printing template!\uFF01",g1="Please select a specific business department",m1="Please select a specified external organization",O1="Please enter a sub table alias",w1="Please select the associated table to set the business model",$1="Please select the association table to set the binding service",P1="Select associated sub table fields",E1="Please select the associated main table field",S1="Please select the sort field",T1={isNotNumber:fB,isNotString:_B,isNotObject:yB,isNotArray:sB,isNotBoolean:pB,runtimeRequired:dB,pleaseEnterCaption:vB,pleaseEnterCaptionTip:hB,pleaseEnterRowCaption:bB,pleaseEnterPlaceholder:gB,pleaseEnterFieldCode:mB,pleaseEnterForm:OB,pleaseEnterList:wB,pleaseEnterProcess:$B,pleaseEnterLabel:PB,pleaseEnterValue:EB,bizKeyNotBindFiled:SB,pleaseSelectOneField:TB,pleaseEnterNumberRange:RB,pleaseEnterAValueGreaterThanMin:BB,pleaseEnterAValueLessThanMax:IB,numberRangeSetError:AB,stringRangeError:kB,attachmentMaxSize:DB,pleaseEnterTotalScoreSetting:xB,theTotalScoreMustNotBeLessThan1:FB,scoreDefaultValueRange:jB,attachmentLimitError:LB,PleaseReselectTheOptionalQuantity:MB,TheMaximumLengthIsGreaterThanTheMinimumLength:NB,TheMinimumLengthIsGreaterThanTheMaximumLength:VB,PleaseSelectTheCorrectOptionSettings:zB,optionIdIsRepeat:HB,optionIsRequired:qB,pleaseEnterDataCode:UB,pleaseEnterValueFieldCode:CB,pleaseEnterSvcCode:WB,pleaseBindAtLeastOneDisplayValue:KB,pleaseSelectProvince:GB,pleaseSelectCity:XB,pleaseSelectDistrict:JB,limitRowsCannotBeLessThan0:QB,TheNumberOfRowsCannotBeLessThanMinRows:ZB,pleaseEnterColumnWidth:YB,pleaseSetTheLogicalRelationshipOfAllRuleConditions:t1,pleaseCompleteAllRulesAndConditions:e1,pleaseSelectControl:n1,pleaseSelectDashboard:o1,theViewNameCannotBeEmpty:r1,pleaseSelectOcrType:i1,pleaseSelectAtLeastOneFieldToFillIn:u1,pleaseChooseAtLeastOne:c1,pleaseEnterButtonContent:l1,pleaseEnterDataCodeInDataSetting:a1,pleaseEnterValueFieldCodeInDataSetting:f1,pleaseEnterSvcCodeInDataSetting:_1,pleaseBindAtLeastOneDisplayValueInDataSetting:y1,rootNodeIsRequiredInDataSetting:s1,pleaseEnterMaxHeight:p1,pleaseEnter:d1,pleaseEnterWatermark:v1,pleaseEnterFileName:h1,pleaseUploadAtLeastOnePrintTemplate:b1,pleaseAssignBusiness:g1,pleaseAssignExternal:m1,pleaseEnterAliasCode:O1,pleaseSelectDataCode:w1,pleaseSelectSvcCode:$1,pleaseSelectJoinFieldCode:P1,pleaseSelectMainFieldCode:E1,pleaseSelectSortFieldCode:S1},R1="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",B1="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",I1="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",A1="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",k1="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",D1="{caption}\u5FC5\u9808",x1="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",F1="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",j1="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",L1="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",M1="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",N1="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",V1="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",z1="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",H1="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",q1="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",U1="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",C1="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",W1="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",K1="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",G1="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",X1="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",J1="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Q1="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Z1="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Y1="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",tI="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",eI="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",nI="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",oI="\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",rI="\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",iI="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",uI="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",cI="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",lI="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",aI="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",fI="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",_I="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",yI="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",sI="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",pI="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",dI="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",vI="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",hI="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",bI="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",gI="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",mI="please select control",OI="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",wI="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",$I="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",PI="\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",EI="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",SI="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",TI="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",RI="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",BI="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",II="\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",AI="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",kI="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",DI="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",xI="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",FI="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",jI="\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",LI="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",MI="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",NI="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",VI="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",zI="\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",HI="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",qI="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",UI="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",CI={isNotNumber:R1,isNotString:B1,isNotObject:I1,isNotArray:A1,isNotBoolean:k1,runtimeRequired:D1,pleaseEnterCaption:x1,pleaseEnterCaptionTip:F1,pleaseEnterRowCaption:j1,pleaseEnterPlaceholder:L1,pleaseEnterFieldCode:M1,pleaseEnterForm:N1,pleaseEnterList:V1,pleaseEnterProcess:z1,pleaseEnterLabel:H1,pleaseEnterValue:q1,bizKeyNotBindFiled:U1,pleaseSelectOneField:C1,pleaseEnterNumberRange:W1,pleaseEnterAValueGreaterThanMin:K1,pleaseEnterAValueLessThanMax:G1,numberRangeSetError:X1,stringRangeError:J1,attachmentMaxSize:Q1,pleaseEnterTotalScoreSetting:Z1,theTotalScoreMustNotBeLessThan1:Y1,scoreDefaultValueRange:tI,attachmentLimitError:eI,PleaseReselectTheOptionalQuantity:nI,TheMaximumLengthIsGreaterThanTheMinimumLength:oI,TheMinimumLengthIsGreaterThanTheMaximumLength:rI,PleaseSelectTheCorrectOptionSettings:iI,optionIdIsRepeat:uI,optionIsRequired:cI,pleaseEnterDataCode:lI,pleaseEnterValueFieldCode:aI,pleaseEnterSvcCode:fI,pleaseBindAtLeastOneDisplayValue:_I,pleaseSelectProvince:yI,pleaseSelectCity:sI,pleaseSelectDistrict:pI,limitRowsCannotBeLessThan0:dI,TheNumberOfRowsCannotBeLessThanMinRows:vI,pleaseEnterColumnWidth:hI,pleaseSetTheLogicalRelationshipOfAllRuleConditions:bI,pleaseCompleteAllRulesAndConditions:gI,pleaseSelectControl:mI,pleaseSelectDashboard:OI,theViewNameCannotBeEmpty:wI,pleaseSelectOcrType:$I,pleaseSelectAtLeastOneFieldToFillIn:PI,pleaseChooseAtLeastOne:EI,pleaseEnterButtonContent:SI,pleaseEnterDataCodeInDataSetting:TI,pleaseEnterValueFieldCodeInDataSetting:RI,pleaseEnterSvcCodeInDataSetting:BI,pleaseBindAtLeastOneDisplayValueInDataSetting:II,rootNodeIsRequiredInDataSetting:AI,pleaseEnterMaxHeight:kI,pleaseEnter:DI,pleaseEnterWatermark:xI,pleaseEnterFileName:FI,pleaseUploadAtLeastOnePrintTemplate:jI,pleaseAssignBusiness:LI,pleaseAssignExternal:MI,pleaseEnterAliasCode:NI,pleaseSelectDataCode:VI,pleaseSelectSvcCode:zI,pleaseSelectJoinFieldCode:HI,pleaseSelectMainFieldCode:qI,pleaseSelectSortFieldCode:UI},WI={zhCN:aB,enUS:T1,jaJP:CI},o0;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(o0||(o0={}));var r0;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(r0||(r0={}));var KI="zh-CN";function ht(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Fe;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(Fe||(Fe={}));var i0;(function(e){e[e.FORM=0]="FORM",e[e.LIST=1]="LIST",e[e.REPORT=2]="REPORT",e[e.DASHBOARD=3]="DASHBOARD",e[e.VUE=4]="VUE",e[e.FREE_PAGE=5]="FREE_PAGE"})(i0||(i0={}));var s;(function(e){e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",e.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.ORGANIZATION_SELECTION="organization-selection",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.OPERATION_BUTTON="operation-button",e.EMPLOYEE_COLUMN="employee-column",e.Approval_Status_Column="approval-status-column",e.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.GRID_LAYOUT_CONTAINER="grid-layout-container",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.ACTION_BAR="action-bar",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2",e.GRID_LAYOUT_WRAP="grid-layout-wrap"})(s||(s={}));var u0;(function(e){e.SAVE="save",e.DRAFT="draft",e.UNSUBMIT="unsubmit",e.AUDIT="audit",e.UNAUDIT="unaudit",e.CANCEL="cancel",e.FORM_SUBMIT="form_submit"})(u0||(u0={}));var g;(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"})(g||(g={}));var at;at={},ht(at,"array","array-column"),ht(at,"auto_number","auto-number-column"),ht(at,"decimal","decimal-column"),ht(at,"department","department-column"),ht(at,"file","file-column"),ht(at,"image","image-column"),ht(at,"location","location-column"),ht(at,"people","employee-column"),ht(at,"text","text-column"),ht(at,"timescope","timescope-column"),ht(at,"timestamp","timestamp-column"),ht(at,"varchar","varchar-column"),ht(at,"relation","varchar-column");var oe;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"})(oe||(oe={}));var c0="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",GI=c0+"0123456789";function Rt(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",n=0;n<e;n++){var o=n===0?c0:GI,r=Math.random()*o.length;t+=o[parseInt(String(r),10)]}return t}function Aa(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function XI(e){if(Array.isArray(e))return Aa(e)}function JI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l0(e,t,n){return t=Kn(t),tA(e,Da()?Reflect.construct(t,n||[],Kn(e).constructor):t.apply(e,n))}function a0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Oo(e,t,n){return Da()?Oo=Reflect.construct:Oo=function(r,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(r,c),l=new a;return u&&Gn(l,u.prototype),l},Oo.apply(null,arguments)}function Kn(e){return Kn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kn(e)}function f0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gn(e,t)}function QI(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function ZI(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function YI(){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 tA(e,t){return t&&(eA(t)==="object"||typeof t=="function")?t:JI(e)}function Gn(e,t){return Gn=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gn(e,t)}function _0(e){return XI(e)||ZI(e)||nA(e)||YI()}function eA(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nA(e,t){if(!!e){if(typeof e=="string")return Aa(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Aa(e,t)}}function ka(e){var t=typeof Map=="function"?new Map:void 0;return ka=function(o){if(o===null||!QI(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(o))return t.get(o);t.set(o,r)}function r(){return Oo(o,arguments,Kn(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Gn(r,o)},ka(e)}function Da(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Da=function(){return!!e})()}var xa=console;function Fa(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o,r=t.slice(1);(o=xa).warn.apply(o,["\u{1F9D0} Driven Warning:"+t[0]].concat(_0(r)))}function wo(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o,r=t.slice(1);(o=xa).log.apply(o,["\u{1F680} Driven Log:"+t[0]].concat(_0(r)))}function oA(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var ja=function(e){f0(t,e);function t(n){a0(this,t);var o;return o=l0(this,t,[n]),o.name="\u{1F4A5} Driven Error",o.message=n?oA(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return t}(ka(Error)),rA=function(e){f0(t,e);function t(n){a0(this,t);var o;return o=l0(this,t,[n]),o.name="\u{1F6A8} Driven Reference Error",o}return t}(ja);function Xn(e){throw new ja(e)}function y0(e){throw new rA(e)}function iA(e){xa.error(new ja(e))}var uA=Object.prototype.toString;function s0(e,t){return uA.call(e)==="[object "+t+"]"}function cA(e){return s0(e,"String")}function lA(e){return s0(e,"Promise")}var aA=function(){function e(t){var n,o;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((o=(n=t.messages)!==null&&n!==void 0?n:this.getPreImport(t.locale))!==null&&o!==void 0?o:{}),t.variableRegExp&&(this.variableRegExp=t.variableRegExp),this.setLocale(t.locale)}return e.prototype.setLocale=function(t){var n=this;this.locale=t,this._messageCache.clear();var o=this.getMessageData();lA(o)?o.then(function(r){n._messageCache.clear(),n.messages[n.localeInMessageKey]=r}):this.messages[this.localeInMessageKey]=o},e.prototype.getMessageData=function(){var t=this._messages[this.localeInMessageKey];return typeof t=="function"?t():t},e.prototype.translate=function(t,n,o){var r=this.getMessage(t);return r?this.formatMessage(r,o):this.formatMessage(n,o)},e.prototype.getMessage=function(t){if(this._messageCache.has(t))return this._messageCache.get(t);var n=this.getPathArray(t),o=n.reduce(function(r,i,u,c){if(r!==void 0){var a=r[i];if(!(u===c.length-1&&!cA(a)))return a}},this.message);return this._messageCache.set(t,o),o},e.prototype.formatMessage=function(t,n){return n?t.replace(this.variableRegExp,function(o,r){var i=n[r];return i!==void 0?String(i):o}):t},e.prototype.getPreImport=function(t){var n;if(window.okI18nPreImport){var o=this.getLocaleInMessageKey(t);return window.okI18nPreImport.hasOwnProperty(o)?window.okI18nPreImport:(n={},n[o]=window.okI18nPreImport,n)}},e.prototype.getPathArray=function(t){return t.split(".")},e.prototype.getLocaleInMessageKey=function(t){return t.replace(/-/g,"")},Object.defineProperty(e.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"message",{get:function(){var t;return(t=this.messages[this.localeInMessageKey])!==null&&t!==void 0?t:{}},enumerable:!1,configurable:!0}),e}();function fA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p0(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function _A(e,t,n){return t&&p0(e.prototype,t),n&&p0(e,n),e}function yA(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d=function(){function e(){fA(this,e)}return _A(e,null,[{key:"getMessage",value:function(n){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",o)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:KI;return new aA({locale:n,messages:WI})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),e}();yA(d,"$i18n",d.resetI18n());function sA(e,t,n){var o=t.replace(/\[(\d)]/g,function(i,u){return"."+u}).split("."),r=!1;return o.reduce(function(i,u,c,a){var l=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,u)){Fa("Can not set ".concat(t,"'s ").concat(u," property in current %o, Because there is no ").concat(u," property on the %o"),i,i);return}return c===a.length-1&&!Object.is(l[u],n)&&(l[u]=n,r=!0),l[u]}},e),r}var pA=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},La={exports:{}};(function(e){(function(t){var n=function(h,$,P){if(!l($)||y($)||p($)||b($)||a($))return $;var E,T=0,j=0;if(f($))for(E=[],j=$.length;T<j;T++)E.push(n(h,$[T],P));else{E={};for(var A in $)Object.prototype.hasOwnProperty.call($,A)&&(E[h(A,P)]=n(h,$[A],P))}return E},o=function(h,$){$=$||{};var P=$.separator||"_",E=$.split||/(?=[A-Z])/;return h.split(E).join(P)},r=function(h){return O(h)?h:(h=h.replace(/[\-_\s]+(.)?/g,function($,P){return P?P.toUpperCase():""}),h.substr(0,1).toLowerCase()+h.substr(1))},i=function(h){var $=r(h);return $.substr(0,1).toUpperCase()+$.substr(1)},u=function(h,$){return o(h,$).toLowerCase()},c=Object.prototype.toString,a=function(h){return typeof h=="function"},l=function(h){return h===Object(h)},f=function(h){return c.call(h)=="[object Array]"},y=function(h){return c.call(h)=="[object Date]"},p=function(h){return c.call(h)=="[object RegExp]"},b=function(h){return c.call(h)=="[object Boolean]"},O=function(h){return h=h-0,h===h},m=function(h,$){var P=$&&"process"in $?$.process:$;return typeof P!="function"?h:function(E,T){return P(E,h,T)}},w={camelize:r,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(h,$){return n(m(r,$),h)},decamelizeKeys:function(h,$){return n(m(u,$),h,$)},pascalizeKeys:function(h,$){return n(m(i,$),h)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=w:t.humps=w})(pA)})(La);var d0={};Object.defineProperty(d0,"__esModule",{value:!0});function Ma(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:Ma(t));{const t={};for(const n in e){const o=e[n];t[n]=typeof o!="object"||o===null?o:Ma(o)}return t}}var dA=d0.default=Ma;function vA(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function re(e){if(e!==void 0)return(typeof e=="undefined"?"undefined":vA(e))==="object"?dA(e):e}function ft(e){return v0(e)&&"zh"in e}function v0(e){return Object.prototype.toString.call(e)==="[object Object]"}function Na(e){return Array.isArray(e)}function je(e){return isNaN(parseFloat(e))?"":Number(e)}function hA(e){return e.reduce(function(t,n){return t.includes(n)||t.push(n),t},[])}function C(e,t){var n=[];return Array.isArray(e)&&(n=e.map(function(o){var r=o;return Array.isArray(o==null?void 0:o.children)&&(r.children=C(o.children,t)),Array.isArray(o==null?void 0:o.footers)&&(r.footers=C(o.footers,t)),t(r)})),n}function bA(e){return La.exports.camelizeKeys(e)}function Le(e){return La.exports.decamelizeKeys(e)}function Va(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function gA(e){if(Array.isArray(e))return Va(e)}function h0(e,t,n,o,r,i,u){try{var c=e[i](u),a=c.value}catch(l){n(l);return}c.done?t(a):Promise.resolve(a).then(o,r)}function mA(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(a){h0(i,o,r,u,c,"next",a)}function c(a){h0(i,o,r,u,c,"throw",a)}u(void 0)})}}function OA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b0(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function wA(e,t,n){return t&&b0(e.prototype,t),n&&b0(e,n),e}function g0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $A(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function PA(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function za(e){return gA(e)||$A(e)||EA(e)||PA()}function EA(e,t){if(!!e){if(typeof e=="string")return Va(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Va(e,t)}}function SA(e,t){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,o=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){u.label=l[1];break}if(l[0]===6&&u.label<r[1]){u.label=r[1],r=l;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(l);break}r[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(f){l=[6,f],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var TA=function(){function e(){OA(this,e),g0(this,"_events",new Map),g0(this,"debug",!1)}return wA(e,[{key:"emit",value:function(n){for(var o=arguments.length,r=new Array(o>1?o-1:0),i=1;i<o;i++)r[i-1]=arguments[i];var u=this;return mA(function(){var c,a,l,f,y,p,b,O,m,w,h,$;return SA(this,function(P){switch(P.label){case 0:if(c=u._events.get(n),a=[],!c)return[3,10];l=c.slice(),f=!0,y=!1,p=void 0,P.label=1;case 1:P.trys.push([1,8,9,10]),b=l[Symbol.iterator](),P.label=2;case 2:if(f=(O=b.next()).done)return[3,7];if(m=O.value,!c.includes(m))return[3,6];P.label=3;case 3:return P.trys.push([3,5,,6]),u.debug&&wo.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(m.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+m.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(r.map(function(){return"%o"}).join(","),"\u3002")].concat(za(r))),[4,m.apply(null,za(r))];case 4:return w=P.sent(),u.debug&&wo.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(m.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+m.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(r.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(za(r),[w])),a.push(w),w===!1?[3,7]:[3,6];case 5:return h=P.sent(),iA(String(h)+":"+String(h.stack)),[3,6];case 6:return f=!0,[3,2];case 7:return[3,10];case 8:return $=P.sent(),y=!0,p=$,[3,10];case 9:try{!f&&b.return!=null&&b.return()}finally{if(y)throw p}return[7];case 10:return[2,a]}})})()}},{key:"on",value:function(n,o){if(this._events.has(n)){var r;(r=this._events.get(n))===null||r===void 0||r.push(o)}else this._events.set(n,[o])}},{key:"off",value:function(n,o){if(this._events.has(n)){var r=this._events.get(n),i=r==null?void 0:r.indexOf(o);r==null||r.splice(i,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),e}();function RA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m0(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function BA(e,t,n){return t&&m0(e.prototype,t),n&&m0(e,n),e}function IA(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var AA=[{key:"on_click",name:"\u70B9\u51FB\u65F6",code:"click"},{key:"on_click_finish",name:"\u6267\u884C\u5B8C\u6210\u65F6",code:"click-finish"},{key:"on_change",name:"\u503C\u53D1\u751F\u53D8\u5316\u65F6",code:"change"},{key:"on_search",name:"\u641C\u7D22\u65F6",code:"search"},{key:"on_list_change",name:"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",code:"list-change"},{key:"on_list_search",name:"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",code:"list-search"},{key:"on_list_mounted",name:"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",code:"list-mounted"},{key:"on_list_delete",name:"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",code:"list-delete"},{key:"on_list_before_insert",name:"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",code:"list-before-insert"},{key:"on_input",name:"\u7528\u6237\u8F93\u5165\u65F6",code:"input"},{key:"on_blur",name:"\u5931\u53BB\u7126\u70B9\u65F6",code:"blur"},{key:"on_focus",name:"\u83B7\u53D6\u7126\u70B9\u65F6",code:"focus"},{key:"on_wps_open",name:"\u6253\u5F00\u6587\u4EF6\u65F6",code:"wps-open"},{key:"on_wps_save",name:"\u4FDD\u5B58\u6587\u4EF6\u65F6",code:"wps-save"},{key:"on_wps_rename",name:"\u91CD\u547D\u540D\u65F6",code:"wps-rename"},{key:"on_list_actions",name:"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",code:"list-actions"},{key:"on_list_render_operation",name:"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",code:"list-render-operation"},{key:"on_list_rowclick",name:"\u884C\u70B9\u51FB\u65F6",code:"list-rowclick"},{key:"on_list_before_rowdelete",name:"\u884C\u5220\u9664\u524D",code:"list-before-rowdelete"},{key:"on_list_before_import",name:"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",code:"list-before-import"},{key:"on_list_rows_checked",name:"\u884C\u9009\u4E2D\u65F6",code:"list-rows-checked"},{key:"on_change_tab",name:"\u6807\u7B7E\u9875\u5207\u6362\u65F6",code:"change-tab"},{key:"on_modal_ok",name:"\u5F39\u7A97\u786E\u8BA4\u65F6",code:"modal-ok"}],kA=function(){function e(){RA(this,e)}return BA(e,null,[{key:"getEventsFromKeys",value:function(n){var o=typeof n=="string"?[n]:n;return e.events.filter(function(r){return o.includes(r.key)})}},{key:"getEventsFromControl",value:function(n){var o=[],r=n.eventKeys;o=o.concat(e.events.filter(function(u){return r.includes(u.key)}));var i=n.customEvents.map(function(u){var c=u.key;return{key:c,code:u.key,name:u.name}});return o=o.concat(i),o}}]),e}();IA(kA,"events",AA);function Ha(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function DA(e){if(Array.isArray(e))return Ha(e)}function xA(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function FA(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function O0(e){return DA(e)||xA(e)||jA(e)||FA()}function jA(e,t){if(!!e){if(typeof e=="string")return Ha(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ha(e,t)}}function qa(e,t){var n;!((n=Object.getOwnPropertyDescriptors(e)[t])===null||n===void 0)&&n.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function w0(e,t,n){n!=="Runtime"&&(e.parent=t,qa(e,"parent"))}function LA(e,t,n){e.forEach(function(o){w0(o,t,n)})}var $0=Symbol("targetKey");function P0(e){var t;return(t=e[$0])!==null&&t!==void 0?t:e}function E0(e,t,n){return LA(e,t,n),new Proxy(e,{get:function(r,i){for(var u=arguments.length,c=new Array(u>2?u-2:0),a=2;a<u;a++)c[a-2]=arguments[a];var l;return i===$0?r:(l=Reflect).get.apply(l,[r,i].concat(O0(c)))},set:function(r,i,u){for(var c=arguments.length,a=new Array(c>3?c-3:0),l=3;l<c;l++)a[l-3]=arguments[l];var f;if(Na(e)&&i==="length"&&u===e.length)return!0;var y=(f=Reflect).set.apply(f,[r,i,u].concat(O0(a)));return v0(u)&&w0(u,t,n),y}})}function Kt(e,t,n,o,r){var i=o!=null?o:e,u=E0(P0(n!=null?n:[]),i,r);Object.defineProperty(e,t,{get:function(){return u},set:function(a){u=E0(P0(a),i,r)},enumerable:!0})}function MA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function S0(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function NA(e,t,n){return t&&S0(e.prototype,t),n&&S0(e,n),e}function ie(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var T0=[],$o=function(){function e(t){MA(this,e),ie(this,"registeredControlTypes",new Set),ie(this,"controlConfigMap",new Map),ie(this,"_controls",[]),ie(this,"_type",void 0),this._type=t,this._initControls(t)}return NA(e,[{key:"registerControlConfig",value:function(n,o){return this.controlConfigMap.set(n,o),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||Xn("".concat(n.name," is not a Control"));var o=this._controls.findIndex(function(r){return r.controlType===n.controlType});return o>-1&&(Fa("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(o,1)),this.registeredControlTypes.add(n.controlType),this._controls.push(n),this}},{key:"isLayoutControl",value:function(n){return n.controlType===Fe.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===Fe.FORM}},{key:"isListControl",value:function(n){return n.controlType===Fe.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===Fe.COLUMN}},{key:"createControl",value:function(n,o){var r=this;if(Array.isArray(n))return n.map(function(f){return r.createControl(f,o)});if(n.children&&(n.children=n.children.map(function(f){return r.createControl(f,o)})),this.isListControl(n)){var i=n.props;i.headers&&(i.headers=i.headers.map(function(f){return r.createControl(f,o)})),i.footers&&(i.footers=i.footers.map(function(f){var y;return f&&(y=r.createControl(f,o)),y}))}var u=this.getControlFormType(n.type);if(u){var c=n;if(typeof o=="function"){var a=o(c);a&&(c=a)}var l;return u.mode==="Runtime"?(l=c,l.fieldType=u.controlFieldType,this._setParentPrototypeToSchema(l,this)):l=new u(c),l}else Xn("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(n,o){delete n.parent,Object.defineProperty(n,"parent",{configurable:!0,get:function(){return o}}),qa(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,o){o._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var i=n.id,u=o._controlParentIdMap,c=o.instanceMap;if(!(!u||!c)){var a=u[i],l=c[i];if(!(!a&&!l)){var f=l.findIndex(function(b){return b==n}),y=c[a]||[],p;return y.length!==l.length?p=y[0]:p=y[f],p}}}}),qa(n,"parent"))}},{key:"createControlInstance",value:function(n,o){var r=this.getControlFormType(n);if(r)return new r(o)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(o){return o.controlType===n})}},{key:"_initControls",value:function(n){var o=this;this.constructor.staticControls.forEach(function(r){o.register(r[n]),e.staticControlsRuntimeRules.set(r.Runtime.controlType,r.Property.RuntimeRules),r.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,o){var r=e.staticControlsRuntimeRules.get(n),i=[];if(r){var u=new r(o);i=Array.from(u)}return i}},{key:"register",value:function(n,o){var r=n.Designer,i=n.Runtime,u=n.Property;(!r||!i||!r.__is_control__||!i.__is_control__)&&Xn("".concat(n," is can't register as a Control"));var c=this.staticControls.findIndex(function(a){return a.Designer.controlType===r.controlType});return c>-1&&(Fa("The ".concat(r.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(c,1)),this.staticRegisteredTypes.add(r.controlType),this.staticControls.push(n),u.mode=o,this}}]),e}();ie($o,"staticControlsRuntimeRules",new Map),ie($o,"staticControls",T0),ie($o,"staticRegisteredTypes",new Set(T0.map(function(e){return e.Designer.controlType}))),ie($o,"staticRegisteredConfigs",new Map);function VA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bt(e,t,n){return t=Po(t),zA(e,R0()?Reflect.construct(t,n||[],Po(e).constructor):t.apply(e,n))}function S(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Po(e){return Po=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Po(e)}function It(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ua(e,t)}function zA(e,t){return t&&(HA(t)==="object"||typeof t=="function")?t:VA(e)}function Ua(e,t){return Ua=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ua(e,t)}function HA(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function R0(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(R0=function(){return!!e})()}var At=function e(t){S(this,e),v(this,"dataCode",void 0),v(this,"fieldCode",void 0),v(this,"fieldType",void 0),v(this,"aliasCode",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.fieldCode=(o=t==null?void 0:t.fieldCode)!==null&&o!==void 0?o:"";var r;this.fieldType=(r=t==null?void 0:t.fieldType)!==null&&r!==void 0?r:"",this.aliasCode=t==null?void 0:t.aliasCode},Ca=function e(t){S(this,e),v(this,"minWidth",void 0),v(this,"maxWidth",void 0),v(this,"flex",void 0);var n;this.minWidth=(n=t==null?void 0:t.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=t==null?void 0:t.maxWidth;var o;this.flex=(o=t==null?void 0:t.flex)!==null&&o!==void 0?o:1},Wa=function(e){It(t,e);function t(n){S(this,t);var o;o=Bt(this,t,[n]),v(o,"width",void 0),v(o,"widthType",void 0);var r;o.width=(r=n==null?void 0:n.width)!==null&&r!==void 0?r:240;var i;return o.widthType=(i=n==null?void 0:n.widthType)!==null&&i!==void 0?i:"auto",o}return t}(Ca),B0=function e(t){S(this,e),v(this,"pc",void 0),v(this,"mobile",void 0),this.pc=new Wa(t==null?void 0:t.pc),this.mobile=t!=null&&t.mobile?new Wa(t==null?void 0:t.mobile):new Wa({width:130,minWidth:180})},qA=function e(t){S(this,e),v(this,"type",void 0),v(this,"customOptions",void 0);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"firstThree";var o;this.customOptions=(o=t==null?void 0:t.customOptions)!==null&&o!==void 0?o:[]},Me=function e(t){S(this,e),v(this,"dataCode",void 0),v(this,"formKey",void 0),v(this,"appId",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var r;this.appId=(r=t==null?void 0:t.appId)!==null&&r!==void 0?r:""},UA=function(e){It(t,e);function t(n){S(this,t);var o;o=Bt(this,t,[n]),v(o,"primaryControlId",void 0);var r;return o.primaryControlId=(r=n==null?void 0:n.primaryControlId)!==null&&r!==void 0?r:"",o}return t}(Me),I0=function e(t){S(this,e),v(this,"fieldCode",void 0),v(this,"dataCode",void 0);var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.dataCode=(o=t==null?void 0:t.dataCode)!==null&&o!==void 0?o:""},Ka=function e(t){S(this,e);var n;v(this,"appId",void 0),v(this,"formKey",void 0),v(this,"headers",void 0);var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var r;this.formKey=(r=t==null?void 0:t.formKey)!==null&&r!==void 0?r:"";var i;this.headers=(i=t==null||(n=t.headers)===null||n===void 0?void 0:n.map(function(u){return new I0(u)}))!==null&&i!==void 0?i:[]},CA=function e(t){S(this,e),v(this,"fieldName",void 0),v(this,"fieldCode",void 0),v(this,"fieldType",void 0);var n;this.fieldName=(n=t==null?void 0:t.fieldName)!==null&&n!==void 0?n:"";var o;this.fieldCode=(o=t==null?void 0:t.fieldCode)!==null&&o!==void 0?o:"";var r;this.fieldType=(r=t==null?void 0:t.fieldType)!==null&&r!==void 0?r:g.VARCHAR},WA=function(e){It(t,e);function t(n){S(this,t);var o;o=Bt(this,t,[n]),v(o,"title",void 0),v(o,"svcCode",void 0),v(o,"isOpenFilter",void 0),v(o,"filters",void 0);var r;o.title=(r=n==null?void 0:n.title)!==null&&r!==void 0?r:"";var i;o.svcCode=(i=n==null?void 0:n.svcCode)!==null&&i!==void 0?i:"";var u;o.isOpenFilter=(u=n==null?void 0:n.isOpenFilter)!==null&&u!==void 0?u:!1;var c;return o.filters=(c=n==null?void 0:n.filters)!==null&&c!==void 0?c:[],o}return t}(Me),KA=function e(t){S(this,e);var n,o;v(this,"type","sublist-page"),v(this,"formBind",void 0),v(this,"displayFields",void 0),v(this,"sublists",void 0),this.formBind=new Me(t==null?void 0:t.formBind);var r;this.displayFields=(r=t==null||(n=t.displayFields)===null||n===void 0?void 0:n.map(function(u){return new CA(u)}))!==null&&r!==void 0?r:[];var i;this.sublists=(i=t==null||(o=t.sublists)===null||o===void 0?void 0:o.map(function(u){return new WA(u)}))!==null&&i!==void 0?i:[]},GA=function e(t){S(this,e),v(this,"type",void 0),v(this,"value",void 0),v(this,"dataCode",void 0),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value,this.dataCode=t==null?void 0:t.dataCode},Jn=function e(t){S(this,e),v(this,"type",void 0),v(this,"value",void 0),v(this,"displayBos",void 0);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"custom";var o;this.value=(o=t==null?void 0:t.value)!==null&&o!==void 0?o:[];var r;this.displayBos=(r=t==null?void 0:t.displayBos)!==null&&r!==void 0?r:[]},Ga=function e(t){var n=this;S(this,e),v(this,"id",void 0),v(this,"ruleId",void 0),v(this,"type","conditions"),v(this,"level",void 0),v(this,"value",void 0),v(this,"children",void 0);var o;this.id=(o=t==null?void 0:t.id)!==null&&o!==void 0?o:Rt();var r;this.ruleId=(r=t==null?void 0:t.ruleId)!==null&&r!==void 0?r:new Date().valueOf();var i;this.level=(i=t==null?void 0:t.level)!==null&&i!==void 0?i:0;var u;this.value=(u=t==null?void 0:t.value)!==null&&u!==void 0?u:"and",this.children=[],Array.isArray(t==null?void 0:t.children)&&(t==null||t.children.map(function(c){if(c.children!==void 0){var a,l=new e(c);(a=n.children)===null||a===void 0||a.push(l)}else{var f,y=new Eo(c);(f=n.children)===null||f===void 0||f.push(y)}}))},Eo=function e(t){S(this,e),v(this,"id",void 0),v(this,"ruleId",void 0),v(this,"type","condition"),v(this,"symbol",void 0),v(this,"checked",void 0),v(this,"describe",void 0),v(this,"leftVariableBo",void 0),v(this,"rightVariableBo",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Rt();var o;this.ruleId=(o=t==null?void 0:t.ruleId)!==null&&o!==void 0?o:new Date().valueOf();var r;this.symbol=(r=t==null?void 0:t.symbol)!==null&&r!==void 0?r:"";var i;this.checked=(i=t==null?void 0:t.checked)!==null&&i!==void 0?i:!1;var u;this.describe=(u=t==null?void 0:t.describe)!==null&&u!==void 0?u:"",this.leftVariableBo=new GA(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new Jn(t==null?void 0:t.rightVariableBo)},XA=function e(t){S(this,e),v(this,"aliasCode",void 0),v(this,"datasourceBind",void 0),v(this,"relationFields",void 0);var n;this.aliasCode=(n=t==null?void 0:t.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new X(t==null?void 0:t.datasourceBind);var o;this.relationFields=(o=t==null?void 0:t.relationFields)!==null&&o!==void 0?o:[]},st=function e(t){S(this,e),v(this,"controlId",void 0),v(this,"fieldCode",void 0),v(this,"fieldType",void 0),v(this,"propName",void 0);var n;this.controlId=(n=t==null?void 0:t.controlId)!==null&&n!==void 0?n:"";var o;this.fieldCode=(o=t==null?void 0:t.fieldCode)!==null&&o!==void 0?o:"";var r;this.fieldType=(r=t==null?void 0:t.fieldType)!==null&&r!==void 0?r:"";var i;this.propName=(i=t==null?void 0:t.propName)!==null&&i!==void 0?i:""},Xa=function e(t){S(this,e),v(this,"type",void 0),v(this,"value",void 0),v(this,"fieldType",void 0);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"FIELD";var o;this.value=(o=t==null?void 0:t.value)!==null&&o!==void 0?o:"",this.fieldType=t==null?void 0:t.fieldType},JA=function e(t){S(this,e),v(this,"columnName",void 0),v(this,"desc",void 0);var n;this.columnName=(n=t.columnName)!==null&&n!==void 0?n:"";var o;this.desc=(o=t.desc)!==null&&o!==void 0?o:!1};function Ja(e){var t,n,o,r;this.filters=(r=e==null||(t=e.filters)===null||t===void 0?void 0:t.map(function(c){return c.children!==void 0?new Ga(c):new Eo(c)}))!==null&&r!==void 0?r:[];var i;this.viewFilters=(i=e==null||(n=e.viewFilters)===null||n===void 0?void 0:n.map(function(c){return c.children!==void 0?new Ga(c):new Eo(c)}))!==null&&i!==void 0?i:[];var u;this.orders=(u=e==null||(o=e.orders)===null||o===void 0?void 0:o.map(function(c){return new JA(c)}))!==null&&u!==void 0?u:[]}var X=function e(t){var n=this;S(this,e),v(this,"dataCode",void 0),v(this,"valueFieldCode",void 0),v(this,"displayBoList",void 0),v(this,"keywordMapping",void 0),v(this,"svcCode",void 0),v(this,"appId",void 0),v(this,"filters",void 0),v(this,"viewFilters",void 0),v(this,"isOpenViewFilters",void 0),v(this,"orders",void 0),v(this,"showOrder",void 0);var o;this.dataCode=(o=t==null?void 0:t.dataCode)!==null&&o!==void 0?o:"";var r;this.appId=(r=t==null?void 0:t.appId)!==null&&r!==void 0?r:"";var i;this.valueFieldCode=(i=t==null?void 0:t.valueFieldCode)!==null&&i!==void 0?i:"",this.displayBoList=[];var u;this.isOpenViewFilters=(u=t==null?void 0:t.isOpenViewFilters)!==null&&u!==void 0?u:0,Array.isArray(t==null?void 0:t.displayBoList)&&(t==null||t.displayBoList.map(function(f){var y;(y=n.displayBoList)===null||y===void 0||y.push(new Xa(f))}));var c;this.keywordMapping=(c=t==null?void 0:t.keywordMapping)!==null&&c!==void 0?c:"";var a;this.showOrder=(a=t==null?void 0:t.showOrder)!==null&&a!==void 0?a:!0;var l;this.svcCode=(l=t==null?void 0:t.svcCode)!==null&&l!==void 0?l:"",Ja.call(this,t)},Qa=function e(t){S(this,e),v(this,"dataCode",void 0),v(this,"displayBoList",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.displayBoList=(o=t==null?void 0:t.displayBoList)!==null&&o!==void 0?o:[]},Gt=function e(t){S(this,e),v(this,"code",void 0),v(this,"color",void 0),v(this,"command",void 0),v(this,"confirmMessage",void 0),v(this,"defaultState",void 0),v(this,"formKey",void 0),v(this,"formType",void 0),v(this,"icon",void 0),v(this,"needConfirm",void 0),v(this,"openType",void 0),v(this,"priorityProcess",void 0);var n;this.code=(n=t==null?void 0:t.code)!==null&&n!==void 0?n:"view";var o;this.color=(o=t==null?void 0:t.color)!==null&&o!==void 0?o:"primary";var r;this.command=(r=t==null?void 0:t.command)!==null&&r!==void 0?r:"view";var i;this.confirmMessage=(i=t==null?void 0:t.confirmMessage)!==null&&i!==void 0?i:void 0;var u;this.defaultState=(u=t==null?void 0:t.defaultState)!==null&&u!==void 0?u:"default";var c;this.formKey=(c=t==null?void 0:t.formKey)!==null&&c!==void 0?c:void 0,this.formType=t==null?void 0:t.formType;var a;this.icon=(a=t==null?void 0:t.icon)!==null&&a!==void 0?a:"iconliulan1";var l;this.needConfirm=(l=t==null?void 0:t.needConfirm)!==null&&l!==void 0?l:!1;var f;this.openType=(f=t==null?void 0:t.openType)!==null&&f!==void 0?f:"modal";var y;this.priorityProcess=(y=t==null?void 0:t.priorityProcess)!==null&&y!==void 0?y:!0},A0=function e(t){S(this,e);var n;v(this,"name",void 0),v(this,"key",void 0),v(this,"value",void 0);var o;this.name=(o=t==null?void 0:t.name)!==null&&o!==void 0?o:"";var r;this.key=(r=t==null?void 0:t.key)!==null&&r!==void 0?r:"";var i;this.value=(i=t==null||(n=t.value)===null||n===void 0?void 0:n.map(function(u){return new Xa(u)}))!==null&&i!==void 0?i:[]},So=function(e){It(t,e);function t(n){S(this,t);var o,r;o=Bt(this,t,[n]),v(o,"attributes",void 0);var i;return o.attributes=(i=n==null||(r=n.attributes)===null||r===void 0?void 0:r.map(function(u){return new A0(u)}))!==null&&i!==void 0?i:[],o}return t}(X),QA=function(e){It(t,e);function t(n){S(this,t);var o,r;o=Bt(this,t,[n]),v(o,"attributes",void 0),v(o,"formCode",void 0);var i;o.attributes=(i=n==null||(r=n.attributes)===null||r===void 0?void 0:r.map(function(c){return new A0(c)}))!==null&&i!==void 0?i:[];var u;return o.formCode=(u=n==null?void 0:n.formCode)!==null&&u!==void 0?u:"",o}return t}(X),k0=function(e){It(t,e);function t(n){S(this,t);var o;o=Bt(this,t,[n]),v(o,"rootNode",void 0),v(o,"filterCode",void 0),o.rootNode=new Jn(n==null?void 0:n.rootNode);var r;return o.filterCode=(r=n==null?void 0:n.filterCode)!==null&&r!==void 0?r:"",o}return t}(So),D0=function e(t){S(this,e);var n;v(this,"dataCode",void 0),v(this,"appId",void 0),v(this,"fillList",void 0);var o;this.dataCode=(o=t==null?void 0:t.dataCode)!==null&&o!==void 0?o:"";var r;this.appId=(r=t==null?void 0:t.appId)!==null&&r!==void 0?r:"";var i;this.fillList=(i=t==null||(n=t.fillList)===null||n===void 0?void 0:n.map(function(u){return new st(u)}))!==null&&i!==void 0?i:[]},x0=function(e){It(t,e);function t(n){S(this,t);var o;return o=Bt(this,t,[n]),v(o,"filters",void 0),v(o,"viewFilters",void 0),v(o,"orders",void 0),Ja.call(o,n),o}return t}(D0),F0=function(e){It(t,e);function t(n){S(this,t);var o;o=Bt(this,t,[n]),v(o,"mode",void 0),v(o,"multiple",void 0);var r;o.mode=(r=n==null?void 0:n.mode)!==null&&r!==void 0?r:"current";var i;return o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1,o}return t}(D0),Za=function e(t){S(this,e),v(this,"stencilName",void 0),v(this,"expression",void 0),v(this,"errMessage",void 0);var n;this.stencilName=(n=t==null?void 0:t.stencilName)!==null&&n!==void 0?n:"";var o;this.expression=(o=t==null?void 0:t.expression)!==null&&o!==void 0?o:"";var r;this.errMessage=(r=t==null?void 0:t.errMessage)!==null&&r!==void 0?r:""},ZA=function e(t){S(this,e),v(this,"id",void 0),v(this,"label",void 0),v(this,"value",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Rt(8);var o;this.label=(o=t==null?void 0:t.label)!==null&&o!==void 0?o:"";var r;this.value=(r=t==null?void 0:t.value)!==null&&r!==void 0?r:this.label};function Xt(e){var t;return(t=e==null?void 0:e.map(function(n){return new ZA(n)}))!==null&&t!==void 0?t:[]}var Ya=function e(){S(this,e)},YA=function(e){It(t,e);function t(n){S(this,t);var o;return o=Bt(this,t),v(o,"amount",void 0),v(o,"currency",void 0),o.amount=new At(n==null?void 0:n.amount),o.currency=new At(n==null?void 0:n.currency),o}return t}(Ya),tk=function e(t){S(this,e),v(this,"amount",void 0),v(this,"currency",void 0);var n;this.amount=(n=t==null?void 0:t.amount)!==null&&n!==void 0?n:"";var o;this.currency=(o=t==null?void 0:t.currency)!==null&&o!==void 0?o:"CNY"},ek=function(e){It(t,e);function t(n){S(this,t);var o;return o=Bt(this,t),v(o,"min",void 0),v(o,"max",void 0),o.min=new At(n==null?void 0:n.min),o.max=new At(n==null?void 0:n.max),o}return t}(Ya),nk=function e(t){S(this,e),v(this,"min",void 0),v(this,"max",void 0);var n;this.min=(n=t==null?void 0:t.min)!==null&&n!==void 0?n:"";var o;this.max=(o=t==null?void 0:t.max)!==null&&o!==void 0?o:""},ok=function e(t){S(this,e),v(this,"city",void 0),v(this,"cityDisplay",void 0),v(this,"district",void 0),v(this,"districtDisplay",void 0),v(this,"province",void 0),v(this,"provinceDisplay",void 0);var n;this.city=(n=t==null?void 0:t.city)!==null&&n!==void 0?n:"";var o;this.cityDisplay=(o=t==null?void 0:t.cityDisplay)!==null&&o!==void 0?o:"";var r;this.district=(r=t==null?void 0:t.district)!==null&&r!==void 0?r:"";var i;this.districtDisplay=(i=t==null?void 0:t.districtDisplay)!==null&&i!==void 0?i:"";var u;this.province=(u=t==null?void 0:t.province)!==null&&u!==void 0?u:"";var c;this.provinceDisplay=(c=t==null?void 0:t.provinceDisplay)!==null&&c!==void 0?c:""},rk=function(e){It(t,e);function t(n){S(this,t);var o;return o=Bt(this,t),v(o,"result",void 0),v(o,"unit",void 0),o.result=new At(n==null?void 0:n.result),o.unit=new At(n==null?void 0:n.unit),o}return t}(Ya),ik=function e(t){S(this,e),v(this,"result",void 0),v(this,"unit",void 0);var n;this.result=(n=t==null?void 0:t.result)!==null&&n!==void 0?n:0;var o;this.unit=(o=t==null?void 0:t.unit)!==null&&o!==void 0?o:""},tf;(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"})(tf||(tf={}));var _;(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.IS_SHOW_WATERMARK="isShowWatermark",e.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions",e.IS_PASTE="isPaste",e.SHOW_TABLE_INDEX="showTableIndex"})(_||(_={}));var ef;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"})(ef||(ef={}));var ue=function e(t){S(this,e),v(this,"isShow",void 0),v(this,"priorityProcess",void 0),v(this,"formKey",void 0),v(this,"content",void 0),v(this,"openType",void 0),v(this,"type",void 0);var n;this.isShow=(n=t==null?void 0:t.isShow)!==null&&n!==void 0?n:!0;var o;this.content=(o=t==null?void 0:t.content)!==null&&o!==void 0?o:"";var r;this.formKey=(r=t==null?void 0:t.formKey)!==null&&r!==void 0?r:"";var i;this.openType=(i=t==null?void 0:t.openType)!==null&&i!==void 0?i:"modal";var u;this.type=(u=t==null?void 0:t.type)!==null&&u!==void 0?u:"";var c;this.priorityProcess=(c=t==null?void 0:t.priorityProcess)!==null&&c!==void 0?c:!1},uk=function e(t){S(this,e);var n;v(this,"id",void 0),v(this,"title",void 0),v(this,"filters",void 0),v(this,"viewFilters",void 0),v(this,"headers",void 0);var o;this.id=(o=t==null?void 0:t.id)!==null&&o!==void 0?o:Rt(8);var r;this.title=(r=t==null?void 0:t.title)!==null&&r!==void 0?r:"";var i;this.headers=(i=t==null||(n=t.headers)===null||n===void 0?void 0:n.map(function(u){return new I0(u)}))!==null&&i!==void 0?i:[],Ja.call(this,t)},ck=function e(t){S(this,e),v(this,"width",void 0),v(this,"height",void 0),v(this,"widthConfig",void 0),v(this,"heightConfig",void 0);var n;this.width=(n=t==null?void 0:t.width)!==null&&n!==void 0?n:"";var o;this.height=(o=t==null?void 0:t.height)!==null&&o!==void 0?o:"";var r;this.widthConfig=(r=t==null?void 0:t.widthConfig)!==null&&r!==void 0?r:"fill";var i;this.heightConfig=(i=t==null?void 0:t.heightConfig)!==null&&i!==void 0?i:"fill"},lk=function e(t){S(this,e),v(this,"optCode",void 0),v(this,"optType",void 0);var n;this.optCode=(n=t==null?void 0:t.optCode)!==null&&n!==void 0?n:"";var o;this.optType=(o=t==null?void 0:t.optType)!==null&&o!==void 0?o:""},ak=function e(t){S(this,e);var n;v(this,"id",void 0),v(this,"name",void 0),v(this,"color",void 0),v(this,"filters",void 0);var o;this.id=(o=t==null?void 0:t.id)!==null&&o!==void 0?o:Rt();var r;this.name=(r=t==null?void 0:t.name)!==null&&r!==void 0?r:"";var i;this.color=(i=t==null?void 0:t.color)!==null&&i!==void 0?i:"theme";var u;this.filters=(u=t==null||(n=t.filters)===null||n===void 0?void 0:n.map(function(c){return c.children!==void 0?new Ga(c):new Eo(c)}))!==null&&u!==void 0?u:[]},fk=function e(t){S(this,e),v(this,"id",void 0),v(this,"script",void 0),v(this,"color",void 0);var n;this.id=(n=t.id)!==null&&n!==void 0?n:Rt();var o;this.script=(o=t.script)!==null&&o!==void 0?o:"";var r;this.color=(r=t.color)!==null&&r!==void 0?r:"theme"};function _k(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yk(e,t,n){return t=Qn(t),dk(e,rf()?Reflect.construct(t,n||[],Qn(e).constructor):t.apply(e,n))}function nf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function To(e,t,n){return rf()?To=Reflect.construct:To=function(r,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(r,c),l=new a;return u&&Zn(l,u.prototype),l},To.apply(null,arguments)}function ce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qn(e){return Qn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qn(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&&Zn(e,t)}function pk(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function dk(e,t){return t&&(vk(t)==="object"||typeof t=="function")?t:_k(e)}function Zn(e,t){return Zn=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zn(e,t)}function vk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function of(e){var t=typeof Map=="function"?new Map:void 0;return of=function(o){if(o===null||!pk(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(o))return t.get(o);t.set(o,r)}function r(){return To(o,arguments,Qn(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Zn(r,o)},of(e)}function rf(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(rf=function(){return!!e})()}var W=function e(t){nf(this,e),ce(this,"isHide",{type:"boolean"})},Oe=function(e){sk(t,e);function t(n){return nf(this,t),yk(this,t)}return t}(of(Array)),K=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";nf(this,e),ce(this,"isHide",void 0),ce(this,"className",void 0),ce(this,"style",void 0),ce(this,"caption",void 0);var o;this.isHide=(o=t==null?void 0:t.isHide)!==null&&o!==void 0?o:!1,this.style=new ck(t==null?void 0:t.style);var r;this.caption=(r=t==null?void 0:t.caption)!==null&&r!==void 0?r:n};ce(K,"mode",void 0),ce(K,"Rules",W),ce(K,"RuntimeRules",Oe);function Nt(){return Nt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Nt.apply(this,arguments)}function hk(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function uf(e){return uf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},uf(e)}function Ro(e,t){return Ro=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ro(e,t)}function bk(){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 Bo(e,t,n){return bk()?Bo=Reflect.construct:Bo=function(r,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(r,c),l=new a;return u&&Ro(l,u.prototype),l},Bo.apply(null,arguments)}function gk(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function cf(e){var t=typeof Map=="function"?new Map:void 0;return cf=function(o){if(o===null||!gk(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(o))return t.get(o);t.set(o,r)}function r(){return Bo(o,arguments,uf(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Ro(r,o)},cf(e)}var mk=/%[sdj%]/g,j0=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(j0=function(t,n){typeof console!="undefined"&&console.warn&&n.every(function(o){return typeof o=="string"})&&console.warn(t,n)});function lf(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var o=n.field;t[o]=t[o]||[],t[o].push(n)}),t}function bt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=1,r=t[0],i=t.length;if(typeof r=="function")return r.apply(null,t.slice(1));if(typeof r=="string"){var u=String(r).replace(mk,function(c){if(c==="%%")return"%";if(o>=i)return c;switch(c){case"%s":return String(t[o++]);case"%d":return Number(t[o++]);case"%j":try{return JSON.stringify(t[o++])}catch(a){return"[Circular]"}break;default:return c}});return u}return r}function Ok(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function G(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||Ok(t)&&typeof e=="string"&&!e)}function wk(e,t,n){var o=[],r=0,i=e.length;function u(c){o.push.apply(o,c),r++,r===i&&n(o)}e.forEach(function(c){t(c,u)})}function L0(e,t,n){var o=0,r=e.length;function i(u){if(u&&u.length){n(u);return}var c=o;o=o+1,c<r?t(e[c],i):n([])}i([])}function $k(e){var t=[];return Object.keys(e).forEach(function(n){t.push.apply(t,e[n])}),t}var M0=function(e){hk(t,e);function t(n,o){var r;return r=e.call(this,"Async Validation Error")||this,r.errors=n,r.fields=o,r}return t}(cf(Error));function Pk(e,t,n,o){if(t.first){var r=new Promise(function(y,p){var b=function(w){return o(w),w.length?p(new M0(w,lf(w))):y()},O=$k(e);L0(O,n,b)});return r.catch(function(y){return y}),r}var i=t.firstFields||[];i===!0&&(i=Object.keys(e));var u=Object.keys(e),c=u.length,a=0,l=[],f=new Promise(function(y,p){var b=function(m){if(l.push.apply(l,m),a++,a===c)return o(l),l.length?p(new M0(l,lf(l))):y()};u.length||(o(l),y()),u.forEach(function(O){var m=e[O];i.indexOf(O)!==-1?L0(m,n,b):wk(m,n,b)})});return f.catch(function(y){return y}),f}function N0(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 V0(e,t){if(t){for(var n in t)if(t.hasOwnProperty(n)){var o=t[n];typeof o=="object"&&typeof e[n]=="object"?e[n]=Nt(Nt({},e[n]),o):e[n]=o}}return e}function z0(e,t,n,o,r,i){e.required&&(!n.hasOwnProperty(e.field)||G(t,i||e.type))&&o.push(bt(r.messages.required,e.fullField))}function Ek(e,t,n,o,r){(/^\s+$/.test(t)||t==="")&&o.push(bt(r.messages.whitespace,e.fullField))}var af={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},Yn={integer:function(t){return Yn.number(t)&&parseInt(t,10)===t},float:function(t){return Yn.number(t)&&!Yn.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(n){return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!Yn.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(af.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(af.url)},hex:function(t){return typeof t=="string"&&!!t.match(af.hex)}};function Sk(e,t,n,o,r){if(e.required&&t===void 0){z0(e,t,n,o,r);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],u=e.type;i.indexOf(u)>-1?Yn[u](t)||o.push(bt(r.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&o.push(bt(r.messages.types[u],e.fullField,e.type))}function Tk(e,t,n,o,r){var i=typeof e.len=="number",u=typeof e.min=="number",c=typeof e.max=="number",a=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l=t,f=null,y=typeof t=="number",p=typeof t=="string",b=Array.isArray(t);if(y?f="number":p?f="string":b&&(f="array"),!f)return!1;b&&(l=t.length),p&&(l=t.replace(a,"_").length),i?l!==e.len&&o.push(bt(r.messages[f].len,e.fullField,e.len)):u&&!c&&l<e.min?o.push(bt(r.messages[f].min,e.fullField,e.min)):c&&!u&&l>e.max?o.push(bt(r.messages[f].max,e.fullField,e.max)):u&&c&&(l<e.min||l>e.max)&&o.push(bt(r.messages[f].range,e.fullField,e.min,e.max))}var Ne="enum";function Rk(e,t,n,o,r){e[Ne]=Array.isArray(e[Ne])?e[Ne]:[],e[Ne].indexOf(t)===-1&&o.push(bt(r.messages[Ne],e.fullField,e[Ne].join(", ")))}function Bk(e,t,n,o,r){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||o.push(bt(r.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var i=new RegExp(e.pattern);i.test(t)||o.push(bt(r.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var k={required:z0,whitespace:Ek,type:Sk,range:Tk,enum:Rk,pattern:Bk};function Ik(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(G(t,"string")&&!e.required)return n();k.required(e,t,o,i,r,"string"),G(t,"string")||(k.type(e,t,o,i,r),k.range(e,t,o,i,r),k.pattern(e,t,o,i,r),e.whitespace===!0&&k.whitespace(e,t,o,i,r))}n(i)}function Ak(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(G(t)&&!e.required)return n();k.required(e,t,o,i,r),t!==void 0&&k.type(e,t,o,i,r)}n(i)}function kk(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(t===""&&(t=void 0),G(t)&&!e.required)return n();k.required(e,t,o,i,r),t!==void 0&&(k.type(e,t,o,i,r),k.range(e,t,o,i,r))}n(i)}function Dk(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(G(t)&&!e.required)return n();k.required(e,t,o,i,r),t!==void 0&&k.type(e,t,o,i,r)}n(i)}function xk(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(G(t)&&!e.required)return n();k.required(e,t,o,i,r),G(t)||k.type(e,t,o,i,r)}n(i)}function Fk(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(G(t)&&!e.required)return n();k.required(e,t,o,i,r),t!==void 0&&(k.type(e,t,o,i,r),k.range(e,t,o,i,r))}n(i)}function jk(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(G(t)&&!e.required)return n();k.required(e,t,o,i,r),t!==void 0&&(k.type(e,t,o,i,r),k.range(e,t,o,i,r))}n(i)}function Lk(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(t==null&&!e.required)return n();k.required(e,t,o,i,r,"array"),t!=null&&(k.type(e,t,o,i,r),k.range(e,t,o,i,r))}n(i)}function Mk(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(G(t)&&!e.required)return n();k.required(e,t,o,i,r),t!==void 0&&k.type(e,t,o,i,r)}n(i)}var Nk="enum";function Vk(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(G(t)&&!e.required)return n();k.required(e,t,o,i,r),t!==void 0&&k[Nk](e,t,o,i,r)}n(i)}function zk(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(G(t,"string")&&!e.required)return n();k.required(e,t,o,i,r),G(t,"string")||k.pattern(e,t,o,i,r)}n(i)}function Hk(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(G(t,"date")&&!e.required)return n();if(k.required(e,t,o,i,r),!G(t,"date")){var c;t instanceof Date?c=t:c=new Date(t),k.type(e,c,o,i,r),c&&k.range(e,c.getTime(),o,i,r)}}n(i)}function qk(e,t,n,o,r){var i=[],u=Array.isArray(t)?"array":typeof t;k.required(e,t,o,i,r,u),n(i)}function ff(e,t,n,o,r){var i=e.type,u=[],c=e.required||!e.required&&o.hasOwnProperty(e.field);if(c){if(G(t,i)&&!e.required)return n();k.required(e,t,o,u,r,i),G(t,i)||k.type(e,t,o,u,r)}n(u)}function Uk(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(G(t)&&!e.required)return n();k.required(e,t,o,i,r)}n(i)}var to={string:Ik,method:Ak,number:kk,boolean:Dk,regexp:xk,integer:Fk,float:jk,array:Lk,object:Mk,enum:Vk,pattern:zk,date:Hk,url:ff,hex:ff,email:ff,required:qk,any:Uk};function _f(){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 yf=_f();function le(e){this.rules=null,this._messages=yf,this.define(e)}le.prototype={messages:function(t){return t&&(this._messages=V0(_f(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if(typeof t!="object"||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var n,o;for(n in t)t.hasOwnProperty(n)&&(o=t[n],this.rules[n]=Array.isArray(o)?o:[o])},validate:function(t,n,o){var r=this;n===void 0&&(n={}),o===void 0&&(o=function(){});var i=t,u=n,c=o;if(typeof u=="function"&&(c=u,u={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(),Promise.resolve();function a(m){var w,h=[],$={};function P(E){if(Array.isArray(E)){var T;h=(T=h).concat.apply(T,E)}else h.push(E)}for(w=0;w<m.length;w++)P(m[w]);h.length?$=lf(h):(h=null,$=null),c(h,$)}if(u.messages){var l=this.messages();l===yf&&(l=_f()),V0(l,u.messages),u.messages=l}else u.messages=this.messages();var f,y,p={},b=u.keys||Object.keys(this.rules);b.forEach(function(m){f=r.rules[m],y=i[m],f.forEach(function(w){var h=w;typeof h.transform=="function"&&(i===t&&(i=Nt({},i)),y=i[m]=h.transform(y)),typeof h=="function"?h={validator:h}:h=Nt({},h),h.validator=r.getValidationMethod(h),h.field=m,h.fullField=h.fullField||m,h.type=r.getType(h),h.validator&&(p[m]=p[m]||[],p[m].push({rule:h,value:y,source:i,field:m}))})});var O={};return Pk(p,u,function(m,w){var h=m.rule,$=(h.type==="object"||h.type==="array")&&(typeof h.fields=="object"||typeof h.defaultField=="object");$=$&&(h.required||!h.required&&m.value),h.field=m.field;function P(j,A){return Nt(Nt({},A),{},{fullField:h.fullField+"."+j})}function E(j){j===void 0&&(j=[]);var A=j;if(Array.isArray(A)||(A=[A]),!u.suppressWarning&&A.length&&le.warning("async-validator:",A),A.length&&h.message!==void 0&&(A=[].concat(h.message)),A=A.map(N0(h)),u.first&&A.length)return O[h.field]=1,w(A);if(!$)w(A);else{if(h.required&&!m.value)return h.message!==void 0?A=[].concat(h.message).map(N0(h)):u.error&&(A=[u.error(h,bt(u.messages.required,h.field))]),w(A);var it={};if(h.defaultField)for(var B in m.value)m.value.hasOwnProperty(B)&&(it[B]=h.defaultField);it=Nt(Nt({},it),m.rule.fields);for(var Ct in it)if(it.hasOwnProperty(Ct)){var mo=Array.isArray(it[Ct])?it[Ct]:[it[Ct]];it[Ct]=mo.map(P.bind(null,Ct))}var Cn=new le(it);Cn.messages(u.messages),m.rule.options&&(m.rule.options.messages=u.messages,m.rule.options.error=u.error),Cn.validate(m.value,m.rule.options||u,function(De){var Wt=[];A&&A.length&&Wt.push.apply(Wt,A),De&&De.length&&Wt.push.apply(Wt,De),w(Wt.length?Wt:null)})}}var T;h.asyncValidator?T=h.asyncValidator(h,m.value,E,m.source,u):h.validator&&(T=h.validator(h,m.value,E,m.source,u),T===!0?E():T===!1?E(h.message||h.field+" fails"):T instanceof Array?E(T):T instanceof Error&&E(T.message)),T&&T.then&&T.then(function(){return E()},function(j){return E(j)})},function(m){a(m)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!to.hasOwnProperty(t.type))throw new Error(bt("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if(typeof t.validator=="function")return t.validator;var n=Object.keys(t),o=n.indexOf("message");return o!==-1&&n.splice(o,1),n.length===1&&n[0]==="required"?to.required:to[this.getType(t)]||!1}},le.register=function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");to[t]=n},le.warning=j0,le.messages=yf,le.validators=to;var Ck={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 Wk(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new le(e);return n.messages(Object.assign(Ck,t)),n}var Kk=new TA;function sf(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function Gk(e){if(Array.isArray(e))return e}function Xk(e){if(Array.isArray(e))return sf(e)}function H0(e,t,n,o,r,i,u){try{var c=e[i](u),a=c.value}catch(l){n(l);return}c.done?t(a):Promise.resolve(a).then(o,r)}function q0(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(a){H0(i,o,r,u,c,"next",a)}function c(a){H0(i,o,r,u,c,"throw",a)}u(void 0)})}}function Jk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function U0(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Qk(e,t,n){return t&&U0(e.prototype,t),n&&U0(e,n),e}function L(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function C0(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function W0(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Zk(){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 Yk(){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 K0(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){L(e,r,n[r])})}return e}function t2(e){return Gk(e)||W0(e)||G0(e)||Zk()}function pf(e){return Xk(e)||W0(e)||G0(e)||Yk()}function e2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function G0(e,t){if(!!e){if(typeof e=="string")return sf(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return sf(e,t)}}function X0(e,t){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,o=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){u.label=l[1];break}if(l[0]===6&&u.label<r[1]){u.label=r[1],r=l;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(l);break}r[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(f){l=[6,f],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var M=function(){function t(n){var o=this;Jk(this,t),L(this,"id",void 0),L(this,"name",void 0),L(this,"icon",void 0),L(this,"type",void 0),L(this,"controlType",void 0),L(this,"props",void 0),L(this,"setting",[]),L(this,"fieldType",void 0),L(this,"eventKeys",[]),L(this,"customEvents",[]),L(this,"parent",null),L(this,"updateSetting",Q0),L(this,"removeSetting",J0),this._callControlHooks("preInstance",n);var r=C0(this,t)?this.constructor:void 0,i=r.controlName,u=r.controlIcon,c=r.controlType,a=r.controlFieldType,l=r.controlEventKeys,f=r.controlCustomEvents,y=r.name,p=r.setting;i&&u&&c||y0("The ".concat(y," controlName,controlIcon,controlType is not define"));var b;this.id=(b=n==null?void 0:n.id)!==null&&b!==void 0?b:Rt(10),this.name=i,this.icon=u;var O;this.type=(O=n==null?void 0:n.type)!==null&&O!==void 0?O:c,this.props=new K(n==null?void 0:n.props,(C0(this,t)?this.constructor:void 0).controlName);var m;this.controlType=(m=n==null?void 0:n.controlType)!==null&&m!==void 0?m:"base",this.setting=re(p);var w;this.fieldType=(w=n==null?void 0:n.fieldType)!==null&&w!==void 0?w:a,this.eventKeys=re(l),this.customEvents=re(f),Promise.resolve().then(function(){o._callControlHooks("postInstance",n)})}return Qk(t,[{key:"rules",get:function(){var o=this.props.constructor.Rules;return o?new o(this.props):{}}},{key:"_callControlHooks",value:function(){for(var o=arguments.length,r=new Array(o),i=0;i<o;i++)r[i]=arguments[i];var u,c=t2(r),a=c[0],l=c.slice(1);return(u=Kk).emit.apply(u,[a,this].concat(pf(l)))}},{key:"preUpdate",value:function(o,r){this._callControlHooks("preUpdateProps",o,r)}},{key:"postUpdate",value:function(o,r){this._callControlHooks("postUpdateProps",o,r)}},{key:"updateProps",value:function(o,r){this.preUpdate(o,r),sA(this.props,o,r),this.postUpdate(o,r)}},{key:"preValidate",value:function(){var o=this;return q0(function(){var r,i,u;return X0(this,function(c){switch(c.label){case 0:return r=K0({},o.rules),[4,o._callControlHooks("preValidate",r)];case 1:return i=c.sent(),u=i[i.length-1],[2,u===!1?void 0:u]}})})()}},{key:"validate",value:function(o,r){var i=this;return q0(function(){var u,c,a,l;return X0(this,function(f){switch(f.label){case 0:return[4,i.preValidate()];case 1:u=f.sent(),c=u!==void 0?u:K0({},i.rules),Array.isArray(r)&&r.forEach(function(y){c.hasOwnProperty(y)&&delete c[y]}),a=Wk(c,o),f.label=2;case 2:return f.trys.push([2,4,,5]),[4,a.validate(i.props)];case 3:return f.sent(),[2,!0];case 4:throw l=f.sent(),l.control||(l.control=i),l;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=this.fieldType,i=this.id,u=this.type,c=this.props,a=c.dataBind,l=c.datasourceBind,f=c.optionConfig,y=c.caption,p=c.required,b=c.maxLength,O=c.options,m=c.encrypted,w=c.encryptedMode;if(!(!r&&!a&&!l)){var h={parentId:o,fieldType:r,controlId:i,caption:y,type:u,props:{}};switch(a&&(h.dataBind=a),f){case"datasource":case void 0:l&&(h.datasourceBind=l);break;case"custom":h.props.options=O;break}return p!==void 0&&(h.required=p),b!==void 0&&(h.maxLength=b),m!==void 0&&(h.encrypted=m),w!==void 0&&(h.encryptedMode=w),h}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:re(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(o,r){if(o==="setting"){if(r.add){var i;(i=this.setting).push.apply(i,pf(r.add))}r.remove&&this.removeSettingItem(r.remove),r.update}}}]),t}();L(M,"mode","Designer"),L(M,"controlName","\u63A7\u4EF6"),L(M,"controlIcon","icon"),L(M,"controlType","control"),L(M,"controlFieldType",void 0),L(M,"controlEventKeys",[]),L(M,"controlCustomEvents",[]),L(M,"setting",[]),L(M,"__is_control__",!0),L(M,"removeSettingItem",J0),L(M,"updateSettingItem",Q0);function J0(e){var t=this,n=Array.isArray(e)?e:[e];n.forEach(function(o){var r,i=typeof o!="string",u=(r=t.setting)===null||r===void 0?void 0:r.findIndex(function(l){return l.key===(i?o.key:o)});if(u!==-1){var c,a;i?t.setting[u].showItems=(c=t.setting[u].showItems)===null||c===void 0?void 0:c.filter(function(l){return!o.hideItems.includes(l)}):t.setting.splice(u,1),i&&!(!((a=t.setting[u].showItems)===null||a===void 0)&&a.length)&&t.setting.splice(u,1)}})}function Q0(e,t){var n=this,o=typeof e=="string"?[e]:e;o.forEach(function(r){var i=n.setting.find(function(l){return l.key===r});if(i){if(typeof t=="boolean")i.visible=t;else if((typeof t=="undefined"?"undefined":e2(t))==="object"){var u,c=(u=t.type)!==null&&u!==void 0?u:"replace";if(c==="replace")i.showItems=t.showItems;else{var a;(a=i.showItems).push.apply(a,pf(t.showItems))}}}})}function n2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Z0(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function o2(e,t,n){return t&&Z0(e.prototype,t),n&&Z0(e,n),e}function gt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r2(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var Jt=function(){function t(n){n2(this,t),gt(this,"id",void 0),gt(this,"type",void 0),gt(this,"controlType",void 0),gt(this,"props",void 0),gt(this,"fieldType",void 0),gt(this,"customEvents",[]),gt(this,"pageStatus",void 0),gt(this,"parent",null);var o=r2(this,t)?this.constructor:void 0,r=o.controlType,i=o.controlFieldType,u=o.name,c=o.controlCustomEvents;r||y0("The ".concat(u," controlType is not define"));var a;this.id=(a=n==null?void 0:n.id)!==null&&a!==void 0?a:Rt(10);var l;this.type=(l=n==null?void 0:n.type)!==null&&l!==void 0?l:r,this.props=new K(n==null?void 0:n.props),this.customEvents=c;var f;this.controlType=(f=n==null?void 0:n.controlType)!==null&&f!==void 0?f:"base";var y;this.fieldType=(y=n==null?void 0:n.fieldType)!==null&&y!==void 0?y:i;var p;this.pageStatus=(p=n==null?void 0:n.pageStatus)!==null&&p!==void 0?p:ef.UNKNOWN}return o2(t,[{key:"rules",get:function(){var o=this.props.constructor.RuntimeRules;if(o){var r=new o(this.props);return Array.from(r)}return[]}}]),t}();gt(Jt,"mode","Runtime"),gt(Jt,"controlType","control"),gt(Jt,"controlFieldType",void 0),gt(Jt,"__is_control__",!0),gt(Jt,"controlCustomEvents",[]);function df(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:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:d.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:d.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,o,r){o.length===0&&r(d.getMessage("optionIsRequired")),r()}},{type:"array",validator:function(n,o,r){var i=o.map(function(c){return c.value}),u=hA(i);i.length!==u.length?r(d.getMessage("optionIdIsRepeat")):r()},message:d.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(n,o,r){o.length===0&&r(d.getMessage("pleaseBindAtLeastOneDisplayValue")),r()},message:d.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}])}function Io(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:d.getMessage("isNotString")},key:{type:"string",required:!0,message:d.getMessage("isNotString")},value:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(r,i,u){i.length===0&&u(d.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),u()},message:d.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}]}function i2(e){return(e==null?void 0:e.dataCode)!==void 0&&(e==null?void 0:e.fieldCode)!==void 0}function u2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ao(e,t,n){return t=Do(t),c2(e,Y0()?Reflect.construct(t,n||[],Do(e).constructor):t.apply(e,n))}function ko(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function V(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Do(e){return Do=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Do(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&&vf(e,t)}function c2(e,t){return t&&(l2(t)==="object"||typeof t=="function")?t:u2(e)}function vf(e,t){return vf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vf(e,t)}function l2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Y0(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Y0=function(){return!!e})()}var ut=function(e){xo(t,e);function t(n){ko(this,t);var o;o=Ao(this,t,[n]),V(o,"dataBind",{}),V(o,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),V(o,"isHideCaption",{type:"boolean"}),V(o,"labelPosition",{type:"enum",enum:["top","left"]}),V(o,"defaultState",{type:"enum",enum:["default","readonly"]}),V(o,"required",{type:"boolean"}),V(o,"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")});var r={fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")}};if(i2(n.dataBind))o.dataBind={type:"object",required:!0,fields:re(r),message:d.getMessage("pleaseEnterFieldCode")};else{var i={type:"object",required:!0,fields:{},message:d.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(u){i.fields[u]={type:"object",required:!0,fields:re(r),message:d.getMessage("pleaseEnterFieldCode")}}),o.dataBind=i}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return t}(W),z=function(e){xo(t,e);function t(n){ko(this,t);var o;o=Ao(this,t,[n]);var r=n.isHide?!1:n.required;return r&&o.push({type:"string",required:r,message:n.requiredMessage!==""?n.requiredMessage:d.getMessage("runtimeRequired",{caption:n.caption})}),o}return t}(Oe),D=function(e){xo(t,e);function t(n){ko(this,t);var o;o=Ao(this,t,[n]),V(o,"caption",void 0),V(o,"isHideCaption",void 0),V(o,"isShowCaptionTip",void 0),V(o,"captionTip",void 0),V(o,"labelPosition",void 0),V(o,"dataBind",void 0),V(o,"defaultValue",void 0),V(o,"placeholder",void 0),V(o,"defaultState",void 0),V(o,"required",void 0),V(o,"requiredMessage",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:"";var i;o.isHideCaption=(i=n==null?void 0:n.isHideCaption)!==null&&i!==void 0?i:!1;var u;o.isShowCaptionTip=(u=n==null?void 0:n.isShowCaptionTip)!==null&&u!==void 0?u:!1;var c;o.captionTip=(c=n==null?void 0:n.captionTip)!==null&&c!==void 0?c:"";var a;o.defaultState=(a=n==null?void 0:n.defaultState)!==null&&a!==void 0?a:"default";var l;o.labelPosition=(l=n==null?void 0:n.labelPosition)!==null&&l!==void 0?l:"top";var f;o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"";var y;o.required=(y=n==null?void 0:n.required)!==null&&y!==void 0?y:!1;var p;o.requiredMessage=(p=n==null?void 0:n.requiredMessage)!==null&&p!==void 0?p:"",o.dataBind=new At(n==null?void 0:n.dataBind);var b;return o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:"",o}return t}(K);V(D,"Rules",ut),V(D,"RuntimeRules",z);var Ve=function(e){xo(t,e);function t(n){ko(this,t);var o;return o=Ao(this,t,[n]),V(o,"optionConfig",{type:"enum",enum:["custom","datasource"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")}),V(o,"options",[{type:"array",message:d.getMessage("isNotArray")}]),V(o,"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),df.call(o,n),o}return t}(ut);function a2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f2(e,t,n){return t=jo(t),s2(e,tb()?Reflect.construct(t,n||[],jo(e).constructor):t.apply(e,n))}function _2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jo(e){return jo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jo(e)}function y2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hf(e,t)}function s2(e,t){return t&&(p2(t)==="object"||typeof t=="function")?t:a2(e)}function hf(e,t){return hf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hf(e,t)}function p2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tb=function(){return!!e})()}var x=function(e){y2(t,e);function t(n){_2(this,t);var o;return o=f2(this,t,[n]),Fo(o,"controlType","form"),Fo(o,"props",void 0),o.props=new D(n==null?void 0:n.props),o}return t}(M);Fo(x,"controlEventKeys",["on_change","on_focus","on_blur"]),Fo(x,"controlCustomAttributes",void 0);function d2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v2(e,t,n){return t=Lo(t),g2(e,eb()?Reflect.construct(t,n||[],Lo(e).constructor):t.apply(e,n))}function h2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lo(e){return Lo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lo(e)}function b2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gf(e,t)}function g2(e,t){return t&&(m2(t)==="object"||typeof t=="function")?t:d2(e)}function gf(e,t){return gf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gf(e,t)}function m2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(eb=function(){return!!e})()}var F=function(e){b2(t,e);function t(n){h2(this,t);var o;return o=v2(this,t,[n]),bf(o,"controlType","form"),bf(o,"props",void 0),bf(o,"value",void 0),o.props=new D(n==null?void 0:n.props),o}return t}(Jt);function O2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w2(e,t,n){return t=Mo(t),E2(e,nb()?Reflect.construct(t,n||[],Mo(e).constructor):t.apply(e,n))}function $2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mo(e){return Mo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mo(e)}function P2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mf(e,t)}function E2(e,t){return t&&(S2(t)==="object"||typeof t=="function")?t:O2(e)}function mf(e,t){return mf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},mf(e,t)}function S2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(nb=function(){return!!e})()}var Q=function(e){P2(t,e);function t(n){return $2(this,t),w2(this,t,[n])}return t}(K);function Of(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function T2(e){if(Array.isArray(e))return Of(e)}function R2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ob(e,t,n,o,r,i,u){try{var c=e[i](u),a=c.value}catch(l){n(l);return}c.done?t(a):Promise.resolve(a).then(o,r)}function B2(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(a){ob(i,o,r,u,c,"next",a)}function c(a){ob(i,o,r,u,c,"throw",a)}u(void 0)})}}function I2(e,t,n){return t=fe(t),V2(e,ub()?Reflect.construct(t,n||[],fe(e).constructor):t.apply(e,n))}function A2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rb(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function k2(e,t,n){return t&&rb(e.prototype,t),n&&rb(e,n),e}function ae(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ze(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?ze=Reflect.get:ze=function(r,i,u){var c=z2(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},ze(e,t,n||e)}function fe(e){return fe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fe(e)}function D2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wf(e,t)}function x2(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function F2(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function j2(){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 L2(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){ae(e,r,n[r])})}return e}function M2(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function N2(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):M2(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function V2(e,t){return t&&(H2(t)==="object"||typeof t=="function")?t:R2(e)}function wf(e,t){return wf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wf(e,t)}function z2(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=fe(e),e!==null););return e}function ib(e){return T2(e)||F2(e)||q2(e)||j2()}function H2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function q2(e,t){if(!!e){if(typeof e=="string")return Of(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Of(e,t)}}function ub(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ub=function(){return!!e})()}function U2(e,t){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,o=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){u.label=l[1];break}if(l[0]===6&&u.label<r[1]){u.label=r[1],r=l;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(l);break}r[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(f){l=[6,f],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var C2=1e4,Z=function(t){D2(n,t);function n(o){A2(this,n);var r;r=I2(this,n,[o]),ae(r,"controlType","layout"),ae(r,"children",void 0),ae(r,"excludes",void 0),ae(r,"childrenMaxLength",void 0),ae(r,"props",void 0);var i=x2(this,n)?this.constructor:void 0,u=i.excludes,c=i.childrenMaxLength;return r.props=new Q(o==null?void 0:o.props),Kt(r,"children",o==null?void 0:o.children,void 0,"Designer"),r.excludes=re(u),r.childrenMaxLength=c,r}return k2(n,[{key:"judgeExcludesChildren",value:function(r){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(r)}},{key:"judgeJoinChildren",value:function(r){var i=this.judgeExcludesChildren(r);return i&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(r,i){var u=this,c=this,a=function(){return ze(fe(n.prototype),"validate",u)};return B2(function(){return U2(this,function(l){switch(l.label){case 0:return[4,a().call(c,r,i)];case 1:return l.sent(),[4,Promise.all(c.children.map(function(f){return f.validate(r,i)}))];case 2:return l.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,i=ze(fe(n.prototype),"toDataBindModel",this).call(this),u=i?[i]:[];return this.children.reduce(function(c,a){var l=a.toDataBindModel(r);if(Array.isArray(l)){var f=l.filter(function(y){return!!y});return ib(c).concat(ib(f))}return l&&c.push(l),c},u)}},{key:"toSchema",value:function(){var r=ze(fe(n.prototype),"toSchema",this).call(this),i=this.children.map(function(u){var c=u.toSchema();return c});return N2(L2({},r),{children:i})}}]),n}(M);ae(Z,"excludes",!1),ae(Z,"childrenMaxLength",C2);function W2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function K2(e,t,n){return t=No(t),J2(e,cb()?Reflect.construct(t,n||[],No(e).constructor):t.apply(e,n))}function G2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function No(e){return No=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},No(e)}function X2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pf(e,t)}function J2(e,t){return t&&(Q2(t)==="object"||typeof t=="function")?t:W2(e)}function Pf(e,t){return Pf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Pf(e,t)}function Q2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(cb=function(){return!!e})()}var we=function(e){X2(t,e);function t(n){G2(this,t);var o;return o=K2(this,t,[n]),$f(o,"controlType","layout"),$f(o,"children",void 0),$f(o,"props",void 0),o.props=new Q(n==null?void 0:n.props),Kt(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return t}(Jt);function Z2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y2(e,t,n){return t=Vo(t),nD(e,lb()?Reflect.construct(t,n||[],Vo(e).constructor):t.apply(e,n))}function tD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function He(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vo(e){return Vo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vo(e)}function eD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ef(e,t)}function nD(e,t){return t&&(oD(t)==="object"||typeof t=="function")?t:Z2(e)}function Ef(e,t){return Ef=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ef(e,t)}function oD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(lb=function(){return!!e})()}var Sf=function(e){eD(t,e);function t(n,o,r){tD(this,t);var i;i=Y2(this,t,[o]),He(i,"headers",void 0),He(i,"footers",void 0),He(i,"pageIndex",void 0),He(i,"pageSize",void 0),He(i,"pageSizeOptions",void 0),He(i,"totalCount",void 0),Kt(i,"headers",o==null?void 0:o.headers,n,r),Kt(i,"footers",o==null?void 0:o.footers,n);var u;i.pageIndex=(u=o==null?void 0:o.pageIndex)!==null&&u!==void 0?u:1;var c;i.pageSize=(c=o==null?void 0:o.pageSize)!==null&&c!==void 0?c:20;var a;i.pageSizeOptions=(a=o==null?void 0:o.pageSizeOptions)!==null&&a!==void 0?a:[20];var l;return i.totalCount=(l=o==null?void 0:o.totalCount)!==null&&l!==void 0?l:0,i}return t}(K);function Tf(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function rD(e){if(Array.isArray(e))return Tf(e)}function iD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ab(e,t,n,o,r,i,u){try{var c=e[i](u),a=c.value}catch(l){n(l);return}c.done?t(a):Promise.resolve(a).then(o,r)}function uD(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(a){ab(i,o,r,u,c,"next",a)}function c(a){ab(i,o,r,u,c,"throw",a)}u(void 0)})}}function cD(e,t,n){return t=_e(t),pD(e,pb()?Reflect.construct(t,n||[],_e(e).constructor):t.apply(e,n))}function lD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fb(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function aD(e,t,n){return t&&fb(e.prototype,t),n&&fb(e,n),e}function zo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qe(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?qe=Reflect.get:qe=function(r,i,u){var c=dD(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},qe(e,t,n||e)}function _e(e){return _e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_e(e)}function fD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rf(e,t)}function _D(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function yD(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _b(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){zo(e,r,n[r])})}return e}function sD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function yb(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):sD(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function pD(e,t){return t&&(vD(t)==="object"||typeof t=="function")?t:iD(e)}function Rf(e,t){return Rf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rf(e,t)}function dD(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=_e(e),e!==null););return e}function sb(e){return rD(e)||_D(e)||hD(e)||yD()}function vD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hD(e,t){if(!!e){if(typeof e=="string")return Tf(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Tf(e,t)}}function pb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(pb=function(){return!!e})()}function bD(e,t){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,o=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){u.label=l[1];break}if(l[0]===6&&u.label<r[1]){u.label=r[1],r=l;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(l);break}r[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(f){l=[6,f],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var Bf=function(e){fD(t,e);function t(n){lD(this,t);var o;return o=cD(this,t,[n]),zo(o,"controlType","list"),zo(o,"props",void 0),o.props=new Sf(o,n==null?void 0:n.props,"Designer"),o}return aD(t,[{key:"validate",value:function(o,r){var i=this,u=this,c=function(){return qe(_e(t.prototype),"validate",i)};return uD(function(){return bD(this,function(a){switch(a.label){case 0:return[4,c().call(u,o)];case 1:return a.sent(),[4,Promise.all(u.props.headers.map(function(l){return l.validate(o,r)}))];case 2:return a.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var o=qe(_e(t.prototype),"toDataBindModel",this).call(this),r=o?[o]:[],i=this.id;return this.props.headers.reduce(function(u,c){var a=c.toDataBindModel(i);if(Array.isArray(a)){var l=a.filter(function(f){return!!f});return sb(u).concat(sb(l))}return a&&u.push(a),u},r)}},{key:"toSchema",value:function(){var o,r,i=qe(_e(t.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(a){return a.toSchema()}),c=(r=this.props)===null||r===void 0||(o=r.footers)===null||o===void 0?void 0:o.map(function(a){if(a)return a.toSchema()});return yb(_b({},i),{props:yb(_b({},this.props),{headers:u,footers:c})})}}]),t}(M);zo(Bf,"controlFieldType",g.LIST);function gD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function If(e,t,n){return t=Ho(t),mD(e,db()?Reflect.construct(t,n||[],Ho(e).constructor):t.apply(e,n))}function Af(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ho(e){return Ho=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ho(e)}function kf(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Df(e,t)}function mD(e,t){return t&&(OD(t)==="object"||typeof t=="function")?t:gD(e)}function Df(e,t){return Df=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Df(e,t)}function OD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function db(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(db=function(){return!!e})()}var Vt=function(e){kf(t,e);function t(n){Af(this,t);var o;return o=If(this,t,[n]),Y(o,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),Y(o,"width",{type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")}),o.width.required=n.widthType==="px",o}return t}(W),U=function(e){kf(t,e);function t(n){Af(this,t);var o;o=If(this,t,[n]),Y(o,"widthType",void 0),Y(o,"width",void 0),Y(o,"caption",void 0),Y(o,"dataBind",void 0),Y(o,"autoWidth",void 0),Y(o,"fixed",void 0),Y(o,"sort",void 0),Y(o,"align",void 0),Y(o,"colSpan",void 0),Y(o,"autoHeight",void 0),Y(o,"children",void 0);var r;o.width=(r=n==null?void 0:n.width)!==null&&r!==void 0?r:150,o.widthType=(n==null?void 0:n.widthType)||"auto";var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:"none",o.autoWidth=new Ca(n==null?void 0:n.autoWidth),o.dataBind=new At(n==null?void 0:n.dataBind);var c;o.sort=(c=n==null?void 0:n.sort)!==null&&c!==void 0?c:!0,o.align=n==null?void 0:n.align,o.colSpan=n==null?void 0:n.colSpan;var a;return o.autoHeight=(a=n==null?void 0:n.autoHeight)!==null&&a!==void 0?a:!1,o}return t}(K);Y(U,"Rules",Vt);var vb=function(e){kf(t,e);function t(n){Af(this,t);var o;return o=If(this,t,[n]),Y(o,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")}),Y(o,"options",[{type:"array",message:d.getMessage("isNotArray")}]),Y(o,"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),df.call(o,n),o}return t}(Vt);function wD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $D(e,t,n){return t=Ue(t),ID(e,bb()?Reflect.construct(t,n||[],Ue(e).constructor):t.apply(e,n))}function PD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hb(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function ED(e,t,n){return t&&hb(e.prototype,t),n&&hb(e,n),e}function qo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Uo(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Uo=Reflect.get:Uo=function(r,i,u){var c=AD(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Uo(e,t,n||e)}function Ue(e){return Ue=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ue(e)}function SD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xf(e,t)}function TD(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){qo(e,r,n[r])})}return e}function RD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function BD(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):RD(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function ID(e,t){return t&&(kD(t)==="object"||typeof t=="function")?t:wD(e)}function xf(e,t){return xf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xf(e,t)}function AD(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ue(e),e!==null););return e}function kD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(bb=function(){return!!e})()}var tt=function(e){SD(t,e);function t(n){PD(this,t);var o;return o=$D(this,t,[n]),qo(o,"controlType","column"),qo(o,"props",void 0),qo(o,"children",void 0),o.props=new U(n==null?void 0:n.props),Kt(o,"children",n==null?void 0:n.children,void 0,"Designer"),o}return ED(t,[{key:"toSchema",value:function(){var o=Uo(Ue(t.prototype),"toSchema",this).call(this);return BD(TD({},o),{children:this.children?this.children.map(function(r){return r.toSchema()}):[]})}}]),t}(M);function DD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xD(e,t,n){return t=Co(t),LD(e,gb()?Reflect.construct(t,n||[],Co(e).constructor):t.apply(e,n))}function FD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ff(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Co(e){return Co=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Co(e)}function jD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jf(e,t)}function LD(e,t){return t&&(MD(t)==="object"||typeof t=="function")?t:DD(e)}function jf(e,t){return jf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jf(e,t)}function MD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(gb=function(){return!!e})()}var et=function(e){jD(t,e);function t(n){FD(this,t);var o;return o=xD(this,t,[n]),Ff(o,"controlType","column"),Ff(o,"props",void 0),Ff(o,"children",void 0),o.props=new U(n==null?void 0:n.props),Kt(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return t}(Jt);function ND(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VD(e,t,n){return t=Wo(t),UD(e,mb()?Reflect.construct(t,n||[],Wo(e).constructor):t.apply(e,n))}function zD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HD(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wo(e){return Wo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wo(e)}function qD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lf(e,t)}function UD(e,t){return t&&(CD(t)==="object"||typeof t=="function")?t:ND(e)}function Lf(e,t){return Lf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Lf(e,t)}function CD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(mb=function(){return!!e})()}var Mf=function(e){qD(t,e);function t(n){zD(this,t);var o;return o=VD(this,t,[n]),HD(o,"dataBind",void 0),o.dataBind=new At(n==null?void 0:n.dataBind),o}return t}(Q);function WD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KD(e,t,n){return t=Ko(t),JD(e,wb()?Reflect.construct(t,n||[],Ko(e).constructor):t.apply(e,n))}function GD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ob(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ko(e){return Ko=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ko(e)}function XD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nf(e,t)}function JD(e,t){return t&&(QD(t)==="object"||typeof t=="function")?t:WD(e)}function Nf(e,t){return Nf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Nf(e,t)}function QD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(wb=function(){return!!e})()}var ZD=function(e){XD(t,e);function t(n){GD(this,t);var o;return o=KD(this,t,[n]),Ob(o,"controlType","search"),Ob(o,"props",void 0),o.props=new Mf(n==null?void 0:n.props),o}return t}(Z);function YD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tx(e,t,n){return t=Go(t),ox(e,Pb()?Reflect.construct(t,n||[],Go(e).constructor):t.apply(e,n))}function ex(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Go(e){return Go=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Go(e)}function nx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vf(e,t)}function ox(e,t){return t&&(rx(t)==="object"||typeof t=="function")?t:YD(e)}function Vf(e,t){return Vf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vf(e,t)}function rx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Pb=function(){return!!e})()}var ix=function(e){nx(t,e);function t(n){ex(this,t);var o;return o=tx(this,t,[n]),$b(o,"controlType","search"),$b(o,"props",void 0),o.props=new Mf(n==null?void 0:n.props),o}return t}(we);function ye(e){e.hasOwnProperty("linkOperationOption")&&e.hasOwnProperty("showLinkOperation")&&e.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}}}])}function ux(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cx(e,t,n){return t=Xo(t),fx(e,Eb()?Reflect.construct(t,n||[],Xo(e).constructor):t.apply(e,n))}function lx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xo(e){return Xo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xo(e)}function 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&&zf(e,t)}function fx(e,t){return t&&(_x(t)==="object"||typeof t=="function")?t:ux(e)}function zf(e,t){return zf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zf(e,t)}function _x(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Eb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Eb=function(){return!!e})()}var yx=function(e){ax(t,e);function t(n){lx(this,t);var o;o=cx(this,t,[n]),Ce(o,"content",void 0),Ce(o,"fontSize",void 0),Ce(o,"color",void 0),Ce(o,"icon",void 0),Ce(o,"align",void 0),Ce(o,"showState",void 0);var r;o.fontSize=(r=n==null?void 0:n.fontSize)!==null&&r!==void 0?r:"14px";var i;o.color=(i=n==null?void 0:n.color)!==null&&i!==void 0?i:"#646A73";var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:"page-hint";var c;o.showState=(c=n==null?void 0:n.showState)!==null&&c!==void 0?c:"text";var a;o.content=(a=n==null?void 0:n.content)!==null&&a!==void 0?a:"\u8BF4\u660E\u6587\u5B57";var l;return o.align=(l=n==null?void 0:n.align)!==null&&l!==void 0?l:"",o}return t}(K);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,n){return t=Jo(t),bx(e,Rb()?Reflect.construct(t,n||[],Jo(e).constructor):t.apply(e,n))}function dx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sb(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function vx(e,t,n){return t&&Sb(e.prototype,t),n&&Sb(e,n),e}function Tb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jo(e){return Jo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jo(e)}function hx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hf(e,t)}function bx(e,t){return t&&(gx(t)==="object"||typeof t=="function")?t:sx(e)}function Hf(e,t){return Hf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hf(e,t)}function gx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Rb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Rb=function(){return!!e})()}var mx=function(e){hx(t,e);function t(n){dx(this,t);var o;return o=px(this,t,[n]),Tb(o,"props",void 0),o.props=new yx(n==null?void 0:n.props),o}return vx(t,null,[{key:"controlName",get:function(){return"\u8BF4\u660E\u6587\u5B57"}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),t}(M);Tb(mx,"setting",[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}]);function Ox(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wx(e,t,n){return t=Qo(t),Ex(e,Bb()?Reflect.construct(t,n||[],Qo(e).constructor):t.apply(e,n))}function $x(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qo(e){return Qo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qo(e)}function Px(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uf(e,t)}function Ex(e,t){return t&&(Sx(t)==="object"||typeof t=="function")?t:Ox(e)}function Uf(e,t){return Uf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Uf(e,t)}function Sx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Bb=function(){return!!e})()}var Tx=function(e){Px(t,e);function t(n){$x(this,t);var o;o=wx(this,t,[n]),qf(o,"content",void 0),qf(o,"url",void 0),qf(o,"openMode",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5";var i;o.url=(i=n==null?void 0:n.url)!==null&&i!==void 0?i:"";var u;return o.openMode=(u=n==null?void 0:n.openMode)!==null&&u!==void 0?u:"new",o}return t}(K);function Rx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bx(e,t,n){return t=Zo(t),Dx(e,Ab()?Reflect.construct(t,n||[],Zo(e).constructor):t.apply(e,n))}function Ix(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ib(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Ax(e,t,n){return t&&Ib(e.prototype,t),n&&Ib(e,n),e}function Cf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zo(e){return Zo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zo(e)}function kx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wf(e,t)}function Dx(e,t){return t&&(xx(t)==="object"||typeof t=="function")?t:Rx(e)}function Wf(e,t){return Wf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wf(e,t)}function xx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ab(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ab=function(){return!!e})()}var kb=function(e){kx(t,e);function t(n){Ix(this,t);var o;return o=Bx(this,t,[n]),Cf(o,"props",void 0),o.props=new Tx(n==null?void 0:n.props),o}return Ax(t,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),t}(M);Cf(kb,"controlEventKeys",["on_click"]),Cf(kb,"setting",[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}]);function Fx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jx(e,t,n){return t=Yo(t),Nx(e,Db()?Reflect.construct(t,n||[],Yo(e).constructor):t.apply(e,n))}function Lx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yo(e){return Yo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yo(e)}function Mx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kf(e,t)}function Nx(e,t){return t&&(Vx(t)==="object"||typeof t=="function")?t:Fx(e)}function Kf(e,t){return Kf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kf(e,t)}function Vx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Db(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Db=function(){return!!e})()}var mt=function(e){Mx(t,e);function t(n){Lx(this,t);var o;o=jx(this,t,[n]),Qt(o,"content",void 0),Qt(o,"buttonType",void 0),Qt(o,"showType",void 0),Qt(o,"color",void 0),Qt(o,"icon",void 0),Qt(o,"defaultState",void 0),Qt(o,"command",void 0),Qt(o,"isLoading",void 0),Qt(o,"optObj",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:"\u6309\u94AE";var i;o.buttonType=(i=n==null?void 0:n.buttonType)!==null&&i!==void 0?i:"primary";var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"text";var c;o.color=(c=n==null?void 0:n.color)!==null&&c!==void 0?c:"primary";var a;o.icon=(a=n==null?void 0:n.icon)!==null&&a!==void 0?a:"iconfenlei2";var l;o.defaultState=(l=n==null?void 0:n.defaultState)!==null&&l!==void 0?l:"default";var f;o.command=(f=n==null?void 0:n.command)!==null&&f!==void 0?f:"custom";var y;o.isLoading=(y=n==null?void 0:n.isLoading)!==null&&y!==void 0?y:!1;var p;return o.optObj=new lk((p=n==null?void 0:n.optObj)!==null&&p!==void 0?p:{}),o}return t}(K);function zx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hx(e,t,n){return t=tr(t),Wx(e,Fb()?Reflect.construct(t,n||[],tr(e).constructor):t.apply(e,n))}function qx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xb(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Ux(e,t,n){return t&&xb(e.prototype,t),n&&xb(e,n),e}function Gf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tr(e){return tr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tr(e)}function Cx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xf(e,t)}function Wx(e,t){return t&&(Kx(t)==="object"||typeof t=="function")?t:zx(e)}function Xf(e,t){return Xf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xf(e,t)}function Kx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Fb=function(){return!!e})()}var pt=function(e){Cx(t,e);function t(n){qx(this,t);var o;return o=Hx(this,t,[n]),Gf(o,"props",void 0),o.props=new mt(n==null?void 0:n.props),o}return Ux(t,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),t}(M);Gf(pt,"controlEventKeys",["on_click"]),Gf(pt,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"super-setting",visible:!0}]);function se(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Zt;(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"})(Zt||(Zt={}));var jb;(function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"})(jb||(jb={}));var Lb;(function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"})(Lb||(Lb={}));var Jf=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:Rt(8),value:["",""]};se(this,e),I(this,"dateConfigType",void 0),I(this,"dateLimitType",void 0),I(this,"id",void 0),I(this,"value",void 0),this.id=t.id,this.dateConfigType=t.dateConfigType,this.dateLimitType=t.dateLimitType,this.value=t.value},Qf;(function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"})(Qf||(Qf={}));var Zf=function e(t){se(this,e),I(this,"id",void 0),I(this,"text",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Rt();var o;this.text=(o=t==null?void 0:t.text)!==null&&o!==void 0?o:""},Yf;(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"})(Yf||(Yf={}));var Mb=function e(t){se(this,e),I(this,"type",void 0),I(this,"person",void 0),I(this,"signatureType",void 0),I(this,"telephone",void 0),I(this,"company",void 0),I(this,"remark",void 0);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"private";var o;this.person=new Jn((o=t==null?void 0:t.person)!==null&&o!==void 0?o:{type:"form"});var r;this.signatureType=(r=t==null?void 0:t.signatureType)!==null&&r!==void 0?r:[];var i,u;this.telephone=(u=t==null?void 0:t.telephone)!==null&&u!==void 0?u:new Jn((i=t==null?void 0:t.telephone)!==null&&i!==void 0?i:{type:"form"});var c,a;this.company=(a=t==null?void 0:t.company)!==null&&a!==void 0?a:new Jn((c=t==null?void 0:t.company)!==null&&c!==void 0?c:{type:"form"});var l;this.remark=(l=t==null?void 0:t.remark)!==null&&l!==void 0?l:""},Gx=function e(t){se(this,e);var n;I(this,"fileControl",void 0),I(this,"undersignedList",void 0),I(this,"statusControl",void 0),I(this,"completeControl",void 0),I(this,"completeTimeControl",void 0);var o;this.fileControl=(o=t==null?void 0:t.fileControl)!==null&&o!==void 0?o:"";var r;this.undersignedList=(r=t==null||(n=t.undersignedList)===null||n===void 0?void 0:n.map(function(a){return new Mb(a)}))!==null&&r!==void 0?r:[new Mb];var i;this.statusControl=(i=t==null?void 0:t.statusControl)!==null&&i!==void 0?i:"";var u;this.completeControl=(u=t==null?void 0:t.completeControl)!==null&&u!==void 0?u:"";var c;this.completeTimeControl=(c=t==null?void 0:t.completeTimeControl)!==null&&c!==void 0?c:""},Nb=function e(t){se(this,e),I(this,"id",void 0),I(this,"appId",void 0),I(this,"dataCode",void 0),I(this,"svcCode",void 0),I(this,"name",void 0),I(this,"fieldList",void 0),I(this,"active",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Rt(8);var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var i;this.svcCode=(i=t==null?void 0:t.svcCode)!==null&&i!==void 0?i:"";var u;this.name=(u=t==null?void 0:t.name)!==null&&u!==void 0?u:"";var c;this.fieldList=(c=t==null?void 0:t.fieldList)!==null&&c!==void 0?c:[];var a;this.active=(a=t==null?void 0:t.active)!==null&&a!==void 0?a:!1},Vb=function e(t){se(this,e),I(this,"active",void 0),I(this,"text",void 0);var n;this.active=(n=t==null?void 0:t.active)!==null&&n!==void 0?n:!1;var o;this.text=(o=t==null?void 0:t.text)!==null&&o!==void 0?o:""},Xx=function e(t){se(this,e),I(this,"types",void 0),I(this,"history",void 0),I(this,"collaborativeRecord",void 0),I(this,"logicToDelete",void 0),I(this,"watermark",void 0),I(this,"autoRename",void 0);var n;this.types=(n=t==null?void 0:t.types)!==null&&n!==void 0?n:["word","ppt","excel"];var o;this.history=(o=t==null?void 0:t.history)!==null&&o!==void 0?o:!1;var r;this.collaborativeRecord=(r=t==null?void 0:t.collaborativeRecord)!==null&&r!==void 0?r:!1;var i;this.logicToDelete=(i=t==null?void 0:t.logicToDelete)!==null&&i!==void 0?i:!0,this.watermark=new Vb(t==null?void 0:t.watermark),this.autoRename=new Vb(t==null?void 0:t.autoRename)},Jx=480;function er(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var Qx=function e(t){se(this,e),I(this,"fileId",void 0),I(this,"fileName",void 0),I(this,"ruleName",void 0),I(this,"isDefault",void 0),I(this,"rules",void 0);var n;this.fileId=(n=t==null?void 0:t.fileId)!==null&&n!==void 0?n:"";var o;this.fileName=(o=t==null?void 0:t.fileName)!==null&&o!==void 0?o:"";var r;this.ruleName=(r=t==null?void 0:t.ruleName)!==null&&r!==void 0?r:"";var i;this.isDefault=(i=t.isDefault)!==null&&i!==void 0?i:!1;var u;this.rules=(u=t.rules)!==null&&u!==void 0?u:[]},zb;(function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"})(zb||(zb={}));var t_;(function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"})(t_||(t_={}));var nr;(function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"})(nr||(nr={}));var pe;(function(e){e.ALL="all",e.ASSIGN="assign"})(pe||(pe={}));var e_;(function(e){e.ALL="all",e.ADMIN="admin"})(e_||(e_={}));function Zx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yx(e,t,n){return t=or(t),nF(e,qb()?Reflect.construct(t,n||[],or(e).constructor):t.apply(e,n))}function tF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function or(e){return or=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},or(e)}function 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&&n_(e,t)}function nF(e,t){return t&&(oF(t)==="object"||typeof t=="function")?t:Zx(e)}function n_(e,t){return n_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},n_(e,t)}function oF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(qb=function(){return!!e})()}var rF=function(e){eF(t,e);function t(n){tF(this,t);var o;o=Yx(this,t,[n]),Hb(o,"color",void 0),Hb(o,"lineStyle",void 0);var r;o.color=(r=n==null?void 0:n.color)!==null&&r!==void 0?r:"#000";var i;return o.lineStyle=(i=n==null?void 0:n.lineStyle)!==null&&i!==void 0?i:Yf.SOLID,o}return t}(K);function iF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uF(e,t,n){return t=rr(t),fF(e,Wb()?Reflect.construct(t,n||[],rr(e).constructor):t.apply(e,n))}function cF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ub(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function lF(e,t,n){return t&&Ub(e.prototype,t),n&&Ub(e,n),e}function Cb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rr(e){return rr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rr(e)}function aF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o_(e,t)}function fF(e,t){return t&&(_F(t)==="object"||typeof t=="function")?t:iF(e)}function o_(e,t){return o_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},o_(e,t)}function _F(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Wb=function(){return!!e})()}var yF=function(e){aF(t,e);function t(n){cF(this,t);var o;return o=uF(this,t,[n]),Cb(o,"props",void 0),o.props=new rF(n==null?void 0:n.props),o}return lF(t,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),t}(M);Cb(yF,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]}]);function sF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kb(e,t,n){return t=ir(t),pF(e,Jb()?Reflect.construct(t,n||[],ir(e).constructor):t.apply(e,n))}function Gb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function de(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ir(e){return ir=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ir(e)}function Xb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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&&(dF(t)==="object"||typeof t=="function")?t:sF(e)}function r_(e,t){return r_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},r_(e,t)}function dF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Jb=function(){return!!e})()}var vF=function(e){Xb(t,e);function t(n){Gb(this,t);var o;return o=Kb(this,t,[n]),de(o,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),de(o,"dataBind",{type:"any"}),de(o,"config",{type:"array"}),n.config.includes(Zt.ShowBizKey)&&(o.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")}},message:d.getMessage("bizKeyNotBindFiled")}),!n.isHide&&n.config.length===0&&(o.config={type:"array",min:1,required:!0,message:d.getMessage("pleaseSelectOneField")}),o}return t}(W),Qb=function(e){Xb(t,e);function t(n){Gb(this,t);var o;o=Kb(this,t,[n]),de(o,"dataBind",void 0),de(o,"caption",void 0),de(o,"config",void 0),de(o,"position",void 0),o.dataBind=new At(n==null?void 0:n.dataBind);var r;o.config=(r=n==null?void 0:n.config)!==null&&r!==void 0?r:[Zt.ShowSubmitUser,Zt.ShowSubmitDept,Zt.ShowSubmitTime,Zt.ShowCurrentApprovar,Zt.ShowTitle];var i,u;o.caption=(u=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:eo==null?void 0:eo.controlName)!==null&&u!==void 0?u:"";var c;return o.position=(c=n==null?void 0:n.position)!==null&&c!==void 0?c:"top",o}return t}(K);de(Qb,"Rules",vF);function hF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bF(e,t,n){return t=ur(t),wF(e,Yb()?Reflect.construct(t,n||[],ur(e).constructor):t.apply(e,n))}function gF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zb(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function mF(e,t,n){return t&&Zb(e.prototype,t),n&&Zb(e,n),e}function i_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ur(e){return ur=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ur(e)}function OF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u_(e,t)}function wF(e,t){return t&&($F(t)==="object"||typeof t=="function")?t:hF(e)}function u_(e,t){return u_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},u_(e,t)}function $F(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Yb=function(){return!!e})()}var eo=function(e){OF(t,e);function t(n){gF(this,t);var o;return o=bF(this,t,[n]),i_(o,"props",void 0),o.props=new Qb(n==null?void 0:n.props),o}return mF(t,null,[{key:"controlName",get:function(){return"\u6807\u9898\u7EC4\u4EF6"}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),t}(M);i_(eo,"controlFieldType",g.AUTO_NUMBER),i_(eo,"setting",[{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}]);function PF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tg(e,t,n){return t=lr(t),EF(e,og()?Reflect.construct(t,n||[],lr(e).constructor):t.apply(e,n))}function eg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lr(e){return lr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},lr(e)}function ng(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c_(e,t)}function EF(e,t){return t&&(SF(t)==="object"||typeof t=="function")?t:PF(e)}function c_(e,t){return c_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},c_(e,t)}function SF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function og(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(og=function(){return!!e})()}var TF=function(e){ng(t,e);function t(n){eg(this,t);var o;return o=tg(this,t,[n]),cr(o,"formKey",{type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}),o}return t}(W),rg=function(e){ng(t,e);function t(n){eg(this,t);var o;o=tg(this,t,[n]),cr(o,"formKey",void 0),cr(o,"openType",void 0);var r;o.icon=(r=n==null?void 0:n.icon)!==null&&r!==void 0?r:fr.controlIcon;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:fr.controlName;var u;o.formKey=(u=n==null?void 0:n.formKey)!==null&&u!==void 0?u:"";var c;return o.openType=(c=n==null?void 0:n.openType)!==null&&c!==void 0?c:"modal",o}return t}(mt);cr(rg,"Rules",TF);function RF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BF(e,t,n){return t=ar(t),DF(e,ug()?Reflect.construct(t,n||[],ar(e).constructor):t.apply(e,n))}function IF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ig(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function AF(e,t,n){return t&&ig(e.prototype,t),n&&ig(e,n),e}function l_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ar(e){return ar=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ar(e)}function kF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a_(e,t)}function DF(e,t){return t&&(xF(t)==="object"||typeof t=="function")?t:RF(e)}function a_(e,t){return a_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},a_(e,t)}function xF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ug(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ug=function(){return!!e})()}var fr=function(e){kF(t,e);function t(n){IF(this,t);var o;return o=BF(this,t,[n]),l_(o,"props",void 0),o.props=new rg(n==null?void 0:n.props),o}return AF(t,null,[{key:"controlName",get:function(){return"\u521B\u5EFA\u5355\u636E"}},{key:"controlIcon",get:function(){return"iconchuangjiandanju"}},{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),t}(pt);l_(fr,"controlEventKeys",["on_click","on_click_finish"]),l_(fr,"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 FF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cg(e,t,n){return t=_r(t),jF(e,fg()?Reflect.construct(t,n||[],_r(e).constructor):t.apply(e,n))}function lg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function We(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _r(e){return _r=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_r(e)}function 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&&f_(e,t)}function jF(e,t){return t&&(LF(t)==="object"||typeof t=="function")?t:FF(e)}function f_(e,t){return f_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},f_(e,t)}function LF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(fg=function(){return!!e})()}var MF=function(e){ag(t,e);function t(n){lg(this,t);var o;return o=cg(this,t,[n]),We(o,"processKey",[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterProcess")}]),o}return t}(W),_g=function(e){ag(t,e);function t(n){lg(this,t);var o;o=cg(this,t,[n]),We(o,"processKey",void 0),We(o,"initiatorMode",void 0),We(o,"fieldCode",void 0),We(o,"employeeId",void 0);var r;o.icon=(r=n==null?void 0:n.icon)!==null&&r!==void 0?r:sr.controlIcon;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:sr.controlName;var u;o.initiatorMode=(u=n==null?void 0:n.initiatorMode)!==null&&u!==void 0?u:"currentInitiator";var c;o.processKey=(c=n==null?void 0:n.processKey)!==null&&c!==void 0?c:"";var a;o.fieldCode=(a=n==null?void 0:n.fieldCode)!==null&&a!==void 0?a:"";var l;return o.employeeId=(l=n==null?void 0:n.employeeId)!==null&&l!==void 0?l:"",o}return t}(mt);We(_g,"Rules",MF);function NF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VF(e,t,n){return t=yr(t),UF(e,sg()?Reflect.construct(t,n||[],yr(e).constructor):t.apply(e,n))}function zF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function HF(e,t,n){return t&&yg(e.prototype,t),n&&yg(e,n),e}function __(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yr(e){return yr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yr(e)}function qF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y_(e,t)}function UF(e,t){return t&&(CF(t)==="object"||typeof t=="function")?t:NF(e)}function y_(e,t){return y_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},y_(e,t)}function CF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(sg=function(){return!!e})()}var sr=function(e){qF(t,e);function t(n){zF(this,t);var o;return o=VF(this,t,[n]),__(o,"props",void 0),o.props=new _g(n==null?void 0:n.props),o}return HF(t,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u63D0\u4EA4"}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),t}(pt);__(sr,"controlEventKeys",["on_click","on_click_finish"]),__(sr,"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 WF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KF(e,t,n){return t=pr(t),JF(e,pg()?Reflect.construct(t,n||[],pr(e).constructor):t.apply(e,n))}function GF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pr(e){return pr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pr(e)}function XF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s_(e,t)}function JF(e,t){return t&&(QF(t)==="object"||typeof t=="function")?t:WF(e)}function s_(e,t){return s_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},s_(e,t)}function QF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(pg=function(){return!!e})()}var ZF=function(e){XF(t,e);function t(n){GF(this,t);var o;o=KF(this,t,[n]);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:vr.controlName;var i;return o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:vr.controlIcon,o}return t}(mt);function YF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tj(e,t,n){return t=dr(t),rj(e,vg()?Reflect.construct(t,n||[],dr(e).constructor):t.apply(e,n))}function ej(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function nj(e,t,n){return t&&dg(e.prototype,t),n&&dg(e,n),e}function p_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dr(e){return dr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dr(e)}function 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&&d_(e,t)}function rj(e,t){return t&&(ij(t)==="object"||typeof t=="function")?t:YF(e)}function d_(e,t){return d_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},d_(e,t)}function ij(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(vg=function(){return!!e})()}var vr=function(e){oj(t,e);function t(n){ej(this,t);var o;return o=tj(this,t,[n]),p_(o,"props",void 0),o.props=new ZF(n==null?void 0:n.props),o}return nj(t,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),t}(pt);p_(vr,"controlEventKeys",["on_click"]),p_(vr,"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 uj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cj(e,t,n){return t=hr(t),fj(e,bg()?Reflect.construct(t,n||[],hr(e).constructor):t.apply(e,n))}function lj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hr(e){return hr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hr(e)}function aj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v_(e,t)}function fj(e,t){return t&&(_j(t)==="object"||typeof t=="function")?t:uj(e)}function v_(e,t){return v_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},v_(e,t)}function _j(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(bg=function(){return!!e})()}var yj=function(e){aj(t,e);function t(n){lj(this,t);var o,r;o=cj(this,t,[n]),hg(o,"templateList",void 0),hg(o,"templateType",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:gr.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:gr.controlName;var c;o.templateType=(c=n==null?void 0:n.templateType)!==null&&c!==void 0?c:"system";var a;return o.templateList=(a=n==null||(r=n.templateList)===null||r===void 0?void 0:r.map(function(l){return new Nb(l)}))!==null&&a!==void 0?a:[new Nb({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return t}(mt);function sj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pj(e,t,n){return t=br(t),bj(e,mg()?Reflect.construct(t,n||[],br(e).constructor):t.apply(e,n))}function dj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function vj(e,t,n){return t&&gg(e.prototype,t),n&&gg(e,n),e}function h_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function br(e){return br=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},br(e)}function hj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b_(e,t)}function bj(e,t){return t&&(gj(t)==="object"||typeof t=="function")?t:sj(e)}function b_(e,t){return b_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},b_(e,t)}function gj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(mg=function(){return!!e})()}var gr=function(e){hj(t,e);function t(n){dj(this,t);var o;return o=pj(this,t,[n]),h_(o,"props",void 0),o.props=new yj(n==null?void 0:n.props),o}return vj(t,null,[{key:"controlName",get:function(){return"\u5BFC\u51FA"}},{key:"controlIcon",get:function(){return"iconxiazai1"}},{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),t}(pt);h_(gr,"controlEventKeys",["on_click","on_click_finish"]),h_(gr,"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 mj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oj(e,t,n){return t=mr(t),Pj(e,Og()?Reflect.construct(t,n||[],mr(e).constructor):t.apply(e,n))}function wj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mr(e){return mr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mr(e)}function $j(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g_(e,t)}function Pj(e,t){return t&&(Ej(t)==="object"||typeof t=="function")?t:mj(e)}function g_(e,t){return g_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},g_(e,t)}function Ej(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Og(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Og=function(){return!!e})()}var Sj=function(e){$j(t,e);function t(n){wj(this,t);var o;o=Oj(this,t,[n]);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:wr.controlName;var i;return o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:wr.controlIcon,o}return t}(mt);function Tj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rj(e,t,n){return t=Or(t),kj(e,$g()?Reflect.construct(t,n||[],Or(e).constructor):t.apply(e,n))}function Bj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Ij(e,t,n){return t&&wg(e.prototype,t),n&&wg(e,n),e}function m_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Or(e){return Or=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Or(e)}function Aj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&O_(e,t)}function kj(e,t){return t&&(Dj(t)==="object"||typeof t=="function")?t:Tj(e)}function O_(e,t){return O_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},O_(e,t)}function Dj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $g(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return($g=function(){return!!e})()}var wr=function(e){Aj(t,e);function t(n){Bj(this,t);var o;return o=Rj(this,t,[n]),m_(o,"props",void 0),o.props=new Sj(n==null?void 0:n.props),o}return Ij(t,null,[{key:"controlName",get:function(){return"\u5BFC\u51FA\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"icondaochujilu"}},{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),t}(pt);m_(wr,"controlEventKeys",["on_click"]),m_(wr,"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 xj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fj(e,t,n){return t=$r(t),Lj(e,Eg()?Reflect.construct(t,n||[],$r(e).constructor):t.apply(e,n))}function Pg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $r(e){return $r=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$r(e)}function jj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$_(e,t)}function Lj(e,t){return t&&(Mj(t)==="object"||typeof t=="function")?t:xj(e)}function $_(e,t){return $_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$_(e,t)}function Mj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Eg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Eg=function(){return!!e})()}var Nj=function e(t){Pg(this,e),w_(this,"dataCode",void 0),this.dataCode=t.dataCode},Vj=function(e){jj(t,e);function t(n){Pg(this,t);var o,r;o=Fj(this,t,[n]),w_(o,"canImportList",void 0),w_(o,"templateType",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Er.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Er.controlIcon;var c;o.canImportList=(c=n==null||(r=n.canImportList)===null||r===void 0?void 0:r.map(function(l){return new Nj(l)}))!==null&&c!==void 0?c:[];var a;return o.templateType=(a=n==null?void 0:n.templateType)!==null&&a!==void 0?a:"system",o}return t}(mt);function zj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hj(e,t,n){return t=Pr(t),Wj(e,Tg()?Reflect.construct(t,n||[],Pr(e).constructor):t.apply(e,n))}function qj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Uj(e,t,n){return t&&Sg(e.prototype,t),n&&Sg(e,n),e}function P_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pr(e){return Pr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pr(e)}function Cj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&E_(e,t)}function Wj(e,t){return t&&(Kj(t)==="object"||typeof t=="function")?t:zj(e)}function E_(e,t){return E_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},E_(e,t)}function Kj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Tg=function(){return!!e})()}var Er=function(e){Cj(t,e);function t(n){qj(this,t);var o;return o=Hj(this,t,[n]),P_(o,"props",void 0),o.props=new Vj(n==null?void 0:n.props),o}return Uj(t,null,[{key:"controlName",get:function(){return"\u5BFC\u5165"}},{key:"controlIcon",get:function(){return"iconshangchuan3"}},{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),t}(pt);P_(Er,"controlEventKeys",["on_click","on_click_finish"]),P_(Er,"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 Sr(){return{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:d.getMessage("pleaseSelectControl")}}}}}}function Gj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rg(e,t,n){return t=Tr(t),Xj(e,kg()?Reflect.construct(t,n||[],Tr(e).constructor):t.apply(e,n))}function Bg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tr(e){return Tr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tr(e)}function Ig(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&S_(e,t)}function Ag(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Yt(e,r,n[r])})}return e}function Xj(e,t){return t&&(Jj(t)==="object"||typeof t=="function")?t:Gj(e)}function S_(e,t){return S_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},S_(e,t)}function Jj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(kg=function(){return!!e})()}var Qj=function(e){Ig(t,e);function t(n){Bg(this,t);var o;return o=Rg(this,t,[n]),Yt(o,"fillPayload",{type:"object",fields:Ag({},Sr())}),Yt(o,"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}}}),Yt(o,"fillBack",{type:"object",fields:Ag({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},Sr())}),(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:d.getMessage("pleaseSelectControl")}),o}return t}(W),Dg=function(e){Ig(t,e);function t(n){Bg(this,t);var o;o=Rg(this,t,[n]),Yt(o,"fillPayload",void 0),Yt(o,"formBind",void 0),Yt(o,"fillBack",void 0),Yt(o,"command",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:Br.controlName;var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Br.controlIcon;var u;return o.command=(u=n==null?void 0:n.command)!==null&&u!==void 0?u:"create",o.fillPayload=new x0(n==null?void 0:n.fillPayload),o.formBind=new UA(n==null?void 0:n.formBind),o.fillBack=new F0(n==null?void 0:n.fillBack),o}return t}(mt);Yt(Dg,"Rules",Qj);function Zj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yj(e,t,n){return t=Rr(t),oL(e,Fg()?Reflect.construct(t,n||[],Rr(e).constructor):t.apply(e,n))}function tL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function eL(e,t,n){return t&&xg(e.prototype,t),n&&xg(e,n),e}function T_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rr(e){return Rr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rr(e)}function nL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&R_(e,t)}function oL(e,t){return t&&(rL(t)==="object"||typeof t=="function")?t:Zj(e)}function R_(e,t){return R_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},R_(e,t)}function rL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Fg=function(){return!!e})()}var Br=function(e){nL(t,e);function t(n){tL(this,t);var o;return o=Yj(this,t,[n]),T_(o,"props",void 0),o.props=new Dg(n==null?void 0:n.props),o}return eL(t,null,[{key:"controlName",get:function(){return"\u8868\u5355\u64CD\u4F5C"}},{key:"controlIcon",get:function(){return"iconbiaodancaozuo"}},{key:"controlType",get:function(){return"form-select-button"}}]),t}(pt);T_(Br,"controlEventKeys",["on_click","on_click_finish"]),T_(Br,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function iL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jg(e,t,n){return t=Ir(t),uL(e,Vg()?Reflect.construct(t,n||[],Ir(e).constructor):t.apply(e,n))}function Lg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ir(e){return Ir=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ir(e)}function Mg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&B_(e,t)}function Ng(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){kt(e,r,n[r])})}return e}function uL(e,t){return t&&(cL(t)==="object"||typeof t=="function")?t:iL(e)}function B_(e,t){return B_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},B_(e,t)}function cL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Vg=function(){return!!e})()}var lL=function(e){Mg(t,e);function t(n){Lg(this,t);var o;return o=jg(this,t,[n]),kt(o,"fillPayload",{type:"object",fields:Ng({},Sr())}),kt(o,"listPageBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}}),kt(o,"fillBack",{type:"object",fields:Ng({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},Sr())}),o}return t}(W),zg=function(e){Mg(t,e);function t(n){Lg(this,t);var o;o=jg(this,t,[n]),kt(o,"fillPayload",void 0),kt(o,"listPageBind",void 0),kt(o,"disableFilling",void 0),kt(o,"fillBack",void 0),kt(o,"showSelectedDetail",void 0),kt(o,"selectedContentConfig",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:kr.controlName;var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:kr.controlIcon,o.fillPayload=new x0(n==null?void 0:n.fillPayload),o.listPageBind=new Ka(n==null?void 0:n.listPageBind),o.fillBack=new F0(n==null?void 0:n.fillBack);var u;o.showSelectedDetail=(u=n==null?void 0:n.showSelectedDetail)!==null&&u!==void 0?u:!1,o.selectedContentConfig=new Qa(n==null?void 0:n.selectedContentConfig);var c;return o.disableFilling=(c=n==null?void 0:n.disableFilling)!==null&&c!==void 0?c:!0,o}return t}(mt);kt(zg,"Rules",lL);function aL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fL(e,t,n){return t=Ar(t),pL(e,qg()?Reflect.construct(t,n||[],Ar(e).constructor):t.apply(e,n))}function _L(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function yL(e,t,n){return t&&Hg(e.prototype,t),n&&Hg(e,n),e}function I_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ar(e){return Ar=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ar(e)}function sL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&A_(e,t)}function pL(e,t){return t&&(dL(t)==="object"||typeof t=="function")?t:aL(e)}function A_(e,t){return A_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},A_(e,t)}function dL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(qg=function(){return!!e})()}var kr=function(e){sL(t,e);function t(n){_L(this,t);var o;return o=fL(this,t,[n]),I_(o,"props",void 0),o.props=new zg(n==null?void 0:n.props),o}return yL(t,null,[{key:"controlName",get:function(){return"\u5217\u8868\u9009\u62E9"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-select-button"}}]),t}(pt);I_(kr,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),I_(kr,"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:[_.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function vL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k_(e,t,n){return t=Dr(t),hL(e,Cg()?Reflect.construct(t,n||[],Dr(e).constructor):t.apply(e,n))}function D_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ug(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Dr(e){return Dr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dr(e)}function 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&&F_(e,t)}function hL(e,t){return t&&(bL(t)==="object"||typeof t=="function")?t:vL(e)}function F_(e,t){return F_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},F_(e,t)}function bL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Cg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Cg=function(){return!!e})()}var gL=function(e){x_(t,e);function t(n){return D_(this,t),k_(this,t,[n])}return t}(W),mL=function(e){x_(t,e);function t(n){return D_(this,t),k_(this,t,[n])}return t}(Oe),j_=function(e){x_(t,e);function t(n){return D_(this,t),k_(this,t,[n])}return t}(K);Ug(j_,"Rules",gL),Ug(j_,"RuntimeRules",mL);function OL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wL(e,t,n){return t=xr(t),SL(e,Gg()?Reflect.construct(t,n||[],xr(e).constructor):t.apply(e,n))}function $L(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function PL(e,t,n){return t&&Wg(e.prototype,t),n&&Wg(e,n),e}function Kg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xr(e){return xr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xr(e)}function EL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&L_(e,t)}function SL(e,t){return t&&(TL(t)==="object"||typeof t=="function")?t:OL(e)}function L_(e,t){return L_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},L_(e,t)}function TL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Gg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Gg=function(){return!!e})()}var RL=function(e){EL(t,e);function t(n){$L(this,t);var o;return o=wL(this,t,[n]),Kg(o,"props",void 0),o.props=new j_(n==null?void 0:n.props),o}return PL(t,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),t}(M);Kg(RL,"setting",[]);function BL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xg(e,t,n){return t=Fr(t),IL(e,Zg()?Reflect.construct(t,n||[],Fr(e).constructor):t.apply(e,n))}function Jg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Et(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fr(e){return Fr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fr(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&&M_(e,t)}function IL(e,t){return t&&(AL(t)==="object"||typeof t=="function")?t:BL(e)}function M_(e,t){return M_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},M_(e,t)}function AL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Zg=function(){return!!e})()}var kL=function(e){Qg(t,e);function t(n){Jg(this,t);var o;return o=Xg(this,t,[n]),Et(o,"dashboardKey",{type:"string",required:!0,message:d.getMessage("pleaseSelectDashboard")}),Et(o,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),Et(o,"isHideCaption",{type:"boolean"}),Et(o,"labelPosition",{type:"enum",enum:["top","left"]}),Et(o,"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return t}(W),Yg=function(e){Qg(t,e);function t(n){Jg(this,t);var o;o=Xg(this,t,[n]),Et(o,"dashboardKey",void 0),Et(o,"caption",void 0),Et(o,"isHideCaption",void 0),Et(o,"isShowCaptionTip",void 0),Et(o,"captionTip",void 0),Et(o,"labelPosition",void 0);var r;o.dashboardKey=(r=n==null?void 0:n.dashboardKey)!==null&&r!==void 0?r:"";var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var c;o.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var l;return o.labelPosition=(l=n==null?void 0:n.labelPosition)!==null&&l!==void 0?l:"top",o}return t}(K);Et(Yg,"Rules",kL);function DL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xL(e,t,n){return t=jr(t),ML(e,nm()?Reflect.construct(t,n||[],jr(e).constructor):t.apply(e,n))}function FL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function jL(e,t,n){return t&&tm(e.prototype,t),n&&tm(e,n),e}function em(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jr(e){return jr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jr(e)}function LL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&N_(e,t)}function ML(e,t){return t&&(NL(t)==="object"||typeof t=="function")?t:DL(e)}function N_(e,t){return N_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},N_(e,t)}function NL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(nm=function(){return!!e})()}var VL=function(e){LL(t,e);function t(n){FL(this,t);var o;return o=xL(this,t,[n]),em(o,"props",void 0),o.props=new Yg(n==null?void 0:n.props),o}return jL(t,null,[{key:"controlName",get:function(){return"\u4EEA\u8868\u76D8"}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),t}(M);em(VL,"setting",[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE,_.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function zL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function om(e,t,n){return t=Lr(t),HL(e,um()?Reflect.construct(t,n||[],Lr(e).constructor):t.apply(e,n))}function rm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function no(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lr(e){return Lr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lr(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&&V_(e,t)}function HL(e,t){return t&&(qL(t)==="object"||typeof t=="function")?t:zL(e)}function V_(e,t){return V_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},V_(e,t)}function qL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function um(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(um=function(){return!!e})()}var UL=function(e){im(t,e);function t(n){rm(this,t);var o;return o=om(this,t,[n]),no(o,"showType",{type:"enum",enum:["select","tabs"]}),no(o,"viewList",{type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:d.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}}}),o}return t}(W),cm=function(e){im(t,e);function t(n){rm(this,t);var o,r;o=om(this,t,[n]),no(o,"showType",void 0),no(o,"viewList",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"select";var u;return o.viewList=(u=n==null||(r=n.viewList)===null||r===void 0?void 0:r.map(function(c){return new uk(c)}))!==null&&u!==void 0?u:[],o}return t}(K);no(cm,"Rules",UL);function CL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WL(e,t,n){return t=Mr(t),JL(e,fm()?Reflect.construct(t,n||[],Mr(e).constructor):t.apply(e,n))}function KL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function GL(e,t,n){return t&&lm(e.prototype,t),n&&lm(e,n),e}function am(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mr(e){return Mr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mr(e)}function 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&&z_(e,t)}function JL(e,t){return t&&(QL(t)==="object"||typeof t=="function")?t:CL(e)}function z_(e,t){return z_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},z_(e,t)}function QL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(fm=function(){return!!e})()}var ZL=function(e){XL(t,e);function t(n){KL(this,t);var o;return o=WL(this,t,[n]),am(o,"props",void 0),o.props=new cm(n==null?void 0:n.props),o}return GL(t,null,[{key:"controlName",get:function(){return"\u5217\u8868\u89C6\u56FE"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-view-select"}}]),t}(M);am(ZL,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}]);function YL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _m(e,t,n){return t=Nr(t),tM(e,pm()?Reflect.construct(t,n||[],Nr(e).constructor):t.apply(e,n))}function ym(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nr(e){return Nr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nr(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&&H_(e,t)}function tM(e,t){return t&&(eM(t)==="object"||typeof t=="function")?t:YL(e)}function H_(e,t){return H_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},H_(e,t)}function eM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(pm=function(){return!!e})()}var nM=function(e){sm(t,e);function t(n){ym(this,t);var o;return o=_m(this,t,[n]),dt(o,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),dt(o,"isHideCaption",{type:"boolean"}),dt(o,"labelPosition",{type:"enum",enum:["top","left"]}),dt(o,"ocrType",{type:"string",required:!0,message:d.getMessage("pleaseSelectOcrType")}),dt(o,"fillList",{type:"array",validator:function(i,u,c){var a=u.every(function(l){return!l.controlId});if(a){c(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}c()}}),dt(o,"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return t}(W),dm=function(e){sm(t,e);function t(n){ym(this,t);var o,r;o=_m(this,t,[n]),dt(o,"caption",void 0),dt(o,"isHideCaption",void 0),dt(o,"isShowCaptionTip",void 0),dt(o,"captionTip",void 0),dt(o,"labelPosition",void 0),dt(o,"ocrType",void 0),dt(o,"fillList",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:oo.controlName;var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var c;o.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var l;o.labelPosition=(l=n==null?void 0:n.labelPosition)!==null&&l!==void 0?l:"top";var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:oo.controlName;var y;o.icon=(y=n==null?void 0:n.icon)!==null&&y!==void 0?y:oo.controlIcon;var p;o.ocrType=(p=n==null?void 0:n.ocrType)!==null&&p!==void 0?p:"";var b;return o.fillList=(b=n==null||(r=n.fillList)===null||r===void 0?void 0:r.map(function(O){return new st(O)}))!==null&&b!==void 0?b:[],o}return t}(mt);dt(dm,"Rules",nM);function oM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rM(e,t,n){return t=Vr(t),lM(e,hm()?Reflect.construct(t,n||[],Vr(e).constructor):t.apply(e,n))}function iM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function uM(e,t,n){return t&&vm(e.prototype,t),n&&vm(e,n),e}function q_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vr(e){return Vr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vr(e)}function cM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&U_(e,t)}function lM(e,t){return t&&(aM(t)==="object"||typeof t=="function")?t:oM(e)}function U_(e,t){return U_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},U_(e,t)}function aM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(hm=function(){return!!e})()}var oo=function(e){cM(t,e);function t(n){iM(this,t);var o;return o=rM(this,t,[n]),q_(o,"props",void 0),o.props=new dm(n==null?void 0:n.props),o}return uM(t,null,[{key:"controlName",get:function(){return"\u6587\u5B57\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconwenzishibie"}},{key:"controlType",get:function(){return"text-ocr-button"}}]),t}(pt);q_(oo,"controlEventKeys",["on_click","on_click_finish"]),q_(oo,"setting",[{key:"caption",showItems:[_.CAPTION,_.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:[_.IS_HIDE,_.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function fM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bm(e,t,n){return t=zr(t),_M(e,Om()?Reflect.construct(t,n||[],zr(e).constructor):t.apply(e,n))}function gm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zr(e){return zr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zr(e)}function mm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&C_(e,t)}function _M(e,t){return t&&(yM(t)==="object"||typeof t=="function")?t:fM(e)}function C_(e,t){return C_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},C_(e,t)}function yM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Om(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Om=function(){return!!e})()}var sM=function(e){mm(t,e);function t(n){gm(this,t);var o;return o=bm(this,t,[n]),vt(o,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),vt(o,"isHideCaption",{type:"boolean"}),vt(o,"labelPosition",{type:"enum",enum:["top","left"]}),vt(o,"invoiceCheck",{type:"boolean"}),vt(o,"fillList",{type:"array",validator:function(i,u,c){var a=u.every(function(l){return!l.controlId});if(a){c(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}c()}}),vt(o,"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return t}(W),wm=function(e){mm(t,e);function t(n){gm(this,t);var o,r;o=bm(this,t,[n]),vt(o,"caption",void 0),vt(o,"isHideCaption",void 0),vt(o,"isShowCaptionTip",void 0),vt(o,"captionTip",void 0),vt(o,"labelPosition",void 0),vt(o,"invoiceCheck",void 0),vt(o,"fillList",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:ro.controlName;var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var c;o.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var l;o.labelPosition=(l=n==null?void 0:n.labelPosition)!==null&&l!==void 0?l:"top";var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:ro.controlName;var y;o.icon=(y=n==null?void 0:n.icon)!==null&&y!==void 0?y:ro.controlIcon;var p;o.invoiceCheck=(p=n==null?void 0:n.invoiceCheck)!==null&&p!==void 0?p:!0;var b;return o.fillList=(b=n==null||(r=n.fillList)===null||r===void 0?void 0:r.map(function(O){return new st(O)}))!==null&&b!==void 0?b:[],o}return t}(mt);vt(wm,"Rules",sM);function pM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dM(e,t,n){return t=Hr(t),gM(e,Pm()?Reflect.construct(t,n||[],Hr(e).constructor):t.apply(e,n))}function vM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $m(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function hM(e,t,n){return t&&$m(e.prototype,t),n&&$m(e,n),e}function W_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hr(e){return Hr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hr(e)}function bM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&K_(e,t)}function gM(e,t){return t&&(mM(t)==="object"||typeof t=="function")?t:pM(e)}function K_(e,t){return K_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},K_(e,t)}function mM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Pm=function(){return!!e})()}var ro=function(e){bM(t,e);function t(n){vM(this,t);var o;return o=dM(this,t,[n]),W_(o,"props",void 0),o.props=new wm(n==null?void 0:n.props),o}return hM(t,null,[{key:"controlName",get:function(){return"\u53D1\u7968\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconfabiaoshibie1"}},{key:"controlType",get:function(){return"invoice-check-button"}}]),t}(pt);W_(ro,"controlEventKeys",["on_click","on_click_finish"]),W_(ro,"setting",[{key:"caption",showItems:[_.CAPTION,_.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:[_.IS_HIDE,_.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function OM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Em(e,t,n){return t=Ur(t),wM(e,Rm()?Reflect.construct(t,n||[],Ur(e).constructor):t.apply(e,n))}function Sm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ur(e){return Ur=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ur(e)}function Tm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&G_(e,t)}function wM(e,t){return t&&($M(t)==="object"||typeof t=="function")?t:OM(e)}function G_(e,t){return G_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},G_(e,t)}function $M(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Rm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Rm=function(){return!!e})()}var PM=function(e){Tm(t,e);function t(){Sm(this,t);var n;return n=Em(this,t,arguments),qr(n,"printTemplates",{type:"array",min:1,required:!0,message:d.getMessage("pleaseUploadAtLeastOnePrintTemplate")}),n}return t}(W),Bm=function(e){Tm(t,e);function t(n){Sm(this,t);var o,r;o=Em(this,t,[n]),qr(o,"printTemplates",void 0),qr(o,"autoSelectTemplate",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Wr.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:Wr.controlName;var c;o.printTemplates=(c=n==null||(r=n.printTemplates)===null||r===void 0?void 0:r.map(function(l){return new Qx(l)}))!==null&&c!==void 0?c:[];var a;return o.autoSelectTemplate=(a=n==null?void 0:n.autoSelectTemplate)!==null&&a!==void 0?a:!1,o}return t}(mt);qr(Bm,"Rules",PM);function EM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SM(e,t,n){return t=Cr(t),IM(e,Am()?Reflect.construct(t,n||[],Cr(e).constructor):t.apply(e,n))}function TM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Im(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function RM(e,t,n){return t&&Im(e.prototype,t),n&&Im(e,n),e}function X_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cr(e){return Cr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cr(e)}function BM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&J_(e,t)}function IM(e,t){return t&&(AM(t)==="object"||typeof t=="function")?t:EM(e)}function J_(e,t){return J_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},J_(e,t)}function AM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Am(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Am=function(){return!!e})()}var Wr=function(e){BM(t,e);function t(n){TM(this,t);var o;return o=SM(this,t,[n]),X_(o,"props",void 0),o.props=new Bm(n==null?void 0:n.props),o}return RM(t,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u6253\u5370"}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),t}(pt);X_(Wr,"controlEventKeys",["on_click","on_click_finish"]),X_(Wr,"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 kM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DM(e,t,n){return t=Kr(t),jM(e,km()?Reflect.construct(t,n||[],Kr(e).constructor):t.apply(e,n))}function xM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kr(e){return Kr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kr(e)}function FM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Q_(e,t)}function jM(e,t){return t&&(LM(t)==="object"||typeof t=="function")?t:kM(e)}function Q_(e,t){return Q_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Q_(e,t)}function LM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function km(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(km=function(){return!!e})()}var MM=function(e){FM(t,e);function t(n){xM(this,t);var o;o=DM(this,t,[n]);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:Xr.controlName;var i;return o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Xr.controlIcon,o}return t}(mt);function NM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VM(e,t,n){return t=Gr(t),UM(e,xm()?Reflect.construct(t,n||[],Gr(e).constructor):t.apply(e,n))}function zM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function HM(e,t,n){return t&&Dm(e.prototype,t),n&&Dm(e,n),e}function Z_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gr(e){return Gr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gr(e)}function qM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Y_(e,t)}function UM(e,t){return t&&(CM(t)==="object"||typeof t=="function")?t:NM(e)}function Y_(e,t){return Y_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Y_(e,t)}function CM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(xm=function(){return!!e})()}var Xr=function(e){qM(t,e);function t(n){zM(this,t);var o;return o=VM(this,t,[n]),Z_(o,"props",void 0),o.props=new MM(n==null?void 0:n.props),o}return HM(t,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u6253\u5370\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),t}(pt);Z_(Xr,"controlEventKeys",["on_click"]),Z_(Xr,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function WM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fm(e,t,n){return t=Jr(t),KM(e,Mm()?Reflect.construct(t,n||[],Jr(e).constructor):t.apply(e,n))}function jm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jr(e){return Jr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jr(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&&ty(e,t)}function KM(e,t){return t&&(GM(t)==="object"||typeof t=="function")?t:WM(e)}function ty(e,t){return ty=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ty(e,t)}function GM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Mm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Mm=function(){return!!e})()}var XM=function(e){Lm(t,e);function t(n){jm(this,t);var o;return o=Fm(this,t,[n]),_t(o,"formKey",{type:"string",required:!1}),(n.command==="edit"||n.command==="view")&&(o.formKey={type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}),o}return t}(W),Qr=function(e){Lm(t,e);function t(n){jm(this,t);var o;o=Fm(this,t,[n]),_t(o,"content",void 0),_t(o,"code",void 0),_t(o,"command",void 0),_t(o,"color",void 0),_t(o,"icon",void 0),_t(o,"formKey",void 0),_t(o,"openType",void 0),_t(o,"needConfirm",void 0),_t(o,"confirmMessage",void 0),_t(o,"options",void 0),_t(o,"defaultState",void 0),_t(o,"priorityProcess",void 0),_t(o,"isLoading",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:"\u6309\u94AE",o.code=n==null?void 0:n.code;var i;o.command=(i=n==null?void 0:n.command)!==null&&i!==void 0?i:"custom";var u;o.color=(u=n==null?void 0:n.color)!==null&&u!==void 0?u:"primary",o.icon=n==null?void 0:n.icon,o.formKey=n==null?void 0:n.formKey,o.openType=n==null?void 0:n.openType,o.needConfirm=n==null?void 0:n.needConfirm,o.confirmMessage=n==null?void 0:n.confirmMessage,o.options=n==null?void 0:n.options;var c;o.defaultState=(c=n==null?void 0:n.defaultState)!==null&&c!==void 0?c:"default",o.priorityProcess=n==null?void 0:n.priorityProcess;var a;return o.isLoading=(a=n==null?void 0:n.isLoading)!==null&&a!==void 0?a:!1,o}return t}(K);_t(Qr,"Rules",XM);function JM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QM(e,t,n){return t=Zr(t),e5(e,Vm()?Reflect.construct(t,n||[],Zr(e).constructor):t.apply(e,n))}function ZM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function YM(e,t,n){return t&&Nm(e.prototype,t),n&&Nm(e,n),e}function ey(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zr(e){return Zr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zr(e)}function t5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ny(e,t)}function e5(e,t){return t&&(n5(t)==="object"||typeof t=="function")?t:JM(e)}function ny(e,t){return ny=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ny(e,t)}function n5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Vm=function(){return!!e})()}var Yr=function(e){t5(t,e);function t(n){ZM(this,t);var o;return o=QM(this,t,[n]),ey(o,"props",void 0),o.props=new Qr(n==null?void 0:n.props),o}return YM(t,null,[{key:"controlName",get:function(){return"\u64CD\u4F5C\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"operation-button"}}]),t}(M);ey(Yr,"controlEventKeys",["on_click"]),ey(Yr,"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:[_.IS_HIDE]},{key:"super-setting",visible:!0}]);function o5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r5(e,t,n){return t=ti(t),a5(e,Hm()?Reflect.construct(t,n||[],ti(e).constructor):t.apply(e,n))}function i5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function u5(e,t,n){return t&&zm(e.prototype,t),n&&zm(e,n),e}function c5(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ti(e){return ti=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ti(e)}function l5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 a5(e,t){return t&&(f5(t)==="object"||typeof t=="function")?t:o5(e)}function oy(e,t){return oy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},oy(e,t)}function f5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Hm=function(){return!!e})()}var _5=function(e){l5(t,e);function t(n){i5(this,t);var o;return o=r5(this,t,[n]),c5(o,"props",void 0),o.props=new Qr(n==null?void 0:n.props),o}return u5(t,null,[{key:"controlType",get:function(){return"operation-button"}}]),t}(Jt),ry={Designer:Yr,Runtime:_5,Property:Qr};function y5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s5(e,t,n){return t=ei(t),v5(e,qm()?Reflect.construct(t,n||[],ei(e).constructor):t.apply(e,n))}function p5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ve(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ei(e){return ei=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ei(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&&iy(e,t)}function v5(e,t){return t&&(h5(t)==="object"||typeof t=="function")?t:y5(e)}function iy(e,t){return iy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},iy(e,t)}function h5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(qm=function(){return!!e})()}var b5=function(e){d5(t,e);function t(n){p5(this,t);var o;o=s5(this,t,[n]),ve(o,"content",void 0),ve(o,"buttonType",void 0),ve(o,"showType",void 0),ve(o,"color",void 0),ve(o,"icon",void 0),ve(o,"defaultState",void 0),ve(o,"command",void 0),ve(o,"isLoading",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:oi.controlName;var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:oi.controlIcon;var u;o.buttonType=(u=n==null?void 0:n.buttonType)!==null&&u!==void 0?u:"primary";var c;o.showType=(c=n==null?void 0:n.showType)!==null&&c!==void 0?c:"iconText";var a;o.color=(a=n==null?void 0:n.color)!==null&&a!==void 0?a:"danger";var l;o.isHide=(l=n==null?void 0:n.isHide)!==null&&l!==void 0?l:!1;var f;o.defaultState=(f=n==null?void 0:n.defaultState)!==null&&f!==void 0?f:"default";var y;o.command=(y=n==null?void 0:n.command)!==null&&y!==void 0?y:"custom";var p;return o.isLoading=(p=n==null?void 0:n.isLoading)!==null&&p!==void 0?p:!1,o}return t}(K);function g5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m5(e,t,n){return t=ni(t),P5(e,Cm()?Reflect.construct(t,n||[],ni(e).constructor):t.apply(e,n))}function O5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Um(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function w5(e,t,n){return t&&Um(e.prototype,t),n&&Um(e,n),e}function uy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ni(e){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ni(e)}function $5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cy(e,t)}function P5(e,t){return t&&(E5(t)==="object"||typeof t=="function")?t:g5(e)}function cy(e,t){return cy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cy(e,t)}function E5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Cm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Cm=function(){return!!e})()}var oi=function(e){$5(t,e);function t(n){O5(this,t);var o;return o=m5(this,t,[n]),uy(o,"props",void 0),o.props=new b5(n==null?void 0:n.props),o}return w5(t,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u5220\u9664"}},{key:"controlIcon",get:function(){return"iconlajitong"}},{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),t}(M);uy(oi,"controlEventKeys",["on_click"]),uy(oi,"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:[_.IS_HIDE]},{key:"super-setting",visible:!0}]);function S5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ly(e,t,n){return t=ri(t),T5(e,Wm()?Reflect.construct(t,n||[],ri(e).constructor):t.apply(e,n))}function ay(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ri(e){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ri(e)}function fy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_y(e,t)}function T5(e,t){return t&&(R5(t)==="object"||typeof t=="function")?t:S5(e)}function _y(e,t){return _y=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_y(e,t)}function R5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Wm=function(){return!!e})()}var B5=function(e){fy(t,e);function t(n){ay(this,t);var o;return o=ly(this,t,[n]),Dt(o,"maxLength",{type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),Dt(o,"minLength",{type:"number",max:200,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),Dt(o,"defaultValue",[{type:"string",max:200,min:0,message:d.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=d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o.defaultValue[1].pattern=er(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return t}(ut),I5=function(e){fy(t,e);function t(n){ay(this,t);var o;return o=ly(this,t,[n]),o.push({type:"string",message:d.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:er(n.regularRules.expression),message:n.regularRules.errMessage}),o}return t}(z),io=function(e){fy(t,e);function t(n){ay(this,t);var o;o=ly(this,t,[n]),Dt(o,"maxLength",void 0),Dt(o,"minLength",void 0),Dt(o,"regularRules",void 0),Dt(o,"defaultValue",void 0),Dt(o,"encrypted",void 0),Dt(o,"encryptedMode",void 0);var r;o.maxLength=(r=n==null?void 0:n.maxLength)!==null&&r!==void 0?r:200;var i;o.minLength=(i=n==null?void 0:n.minLength)!==null&&i!==void 0?i:0,o.regularRules=new Za(n==null?void 0:n.regularRules);var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:"";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:uo.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var l;o.encrypted=(l=n==null?void 0:n.encrypted)!==null&&l!==void 0?l:!1;var f;return o.encryptedMode=(f=n==null?void 0:n.encryptedMode)!==null&&f!==void 0?f:"",o}return t}(D);Dt(io,"Rules",B5),Dt(io,"RuntimeRules",I5);function A5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k5(e,t,n){return t=ui(t),j5(e,Gm()?Reflect.construct(t,n||[],ui(e).constructor):t.apply(e,n))}function D5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Km(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function x5(e,t,n){return t&&Km(e.prototype,t),n&&Km(e,n),e}function ii(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ui(e){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ui(e)}function F5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yy(e,t)}function j5(e,t){return t&&(L5(t)==="object"||typeof t=="function")?t:A5(e)}function yy(e,t){return yy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yy(e,t)}function L5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Gm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Gm=function(){return!!e})()}var uo=function(e){F5(t,e);function t(n){D5(this,t);var o;return o=k5(this,t,[n]),ii(o,"props",void 0),o.props=new io(n==null?void 0:n.props),o}return x5(t,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconSingleline_new1"}},{key:"controlType",get:function(){return"input"}}]),t}(x);ii(uo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),ii(uo,"controlFieldType",g.VARCHAR),ii(uo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP,_.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 M5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N5(e,t,n){return t=ci(t),q5(e,Qm()?Reflect.construct(t,n||[],ci(e).constructor):t.apply(e,n))}function V5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function z5(e,t,n){return t&&Xm(e.prototype,t),n&&Xm(e,n),e}function Jm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ci(e){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ci(e)}function H5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 q5(e,t){return t&&(U5(t)==="object"||typeof t=="function")?t:M5(e)}function sy(e,t){return sy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sy(e,t)}function U5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Qm=function(){return!!e})()}var C5=function(e){H5(t,e);function t(n){V5(this,t);var o;return o=N5(this,t,[n]),Jm(o,"props",void 0),o.props=new io(n==null?void 0:n.props),o}return z5(t,null,[{key:"controlType",get:function(){return"input"}}]),t}(F);Jm(C5,"controlFieldType",g.VARCHAR);function W5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function py(e,t,n){return t=li(t),K5(e,Zm()?Reflect.construct(t,n||[],li(e).constructor):t.apply(e,n))}function dy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function li(e){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},li(e)}function vy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hy(e,t)}function K5(e,t){return t&&(G5(t)==="object"||typeof t=="function")?t:W5(e)}function hy(e,t){return hy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hy(e,t)}function G5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Zm=function(){return!!e})()}var X5=function(e){vy(t,e);function t(n){dy(this,t);var o;o=py(this,t,[n]),nt(o,"limitMax",{type:"number",min:void 0,message:d.getMessage("PleaseReselectTheOptionalQuantity")});var r=n.limitMax==="unlimited";r&&(o.limitMax.type="string");var i=function(u){return u==="unlimited"?void 0:u};return o.limitMax.min=i(n.limitMin),o}return t}(Ve),J5=function(e){vy(t,e);function t(n){dy(this,t);var o;return o=py(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o.push({type:"array",max:typeof n.limitMax=="number"?n.limitMax:void 0,min:typeof n.limitMin=="number"?n.limitMin:void 0}),o}return t}(z),ai=function(e){vy(t,e);function t(n){dy(this,t);var o;o=py(this,t,[n]),nt(o,"checkboxMode",void 0),nt(o,"options",void 0),nt(o,"optionsOrder",void 0),nt(o,"limitMax",void 0),nt(o,"limitMin",void 0),nt(o,"otherOption",void 0),nt(o,"optionConfig",void 0),nt(o,"optionsFormat",void 0),nt(o,"defaultShowOptions",void 0),nt(o,"datasourceBind",void 0),nt(o,"multistageFilling",void 0),nt(o,"interreaction",void 0),nt(o,"defaultValue",void 0),nt(o,"openMultistageFilling",void 0);var r;o.options=Xt((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var i;o.checkboxMode=(i=n==null?void 0:n.checkboxMode)!==null&&i!==void 0?i:"horizontal";var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"custom";var c;o.optionsOrder=(c=n==null?void 0:n.optionsOrder)!==null&&c!==void 0?c:!1;var a;o.otherOption=(a=n==null?void 0:n.otherOption)!==null&&a!==void 0?a:!1;var l;o.limitMin=(l=n==null?void 0:n.limitMin)!==null&&l!==void 0?l:"unlimited";var f;o.limitMax=(f=n==null?void 0:n.limitMax)!==null&&f!==void 0?f:"unlimited",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var y;o.interreaction=(y=n==null?void 0:n.interreaction)!==null&&y!==void 0?y:[];var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:yi.controlName;var b;o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:[];var O;o.optionsFormat=(O=n==null?void 0:n.optionsFormat)!==null&&O!==void 0?O:"horizontal";var m;o.defaultShowOptions=(m=n==null?void 0:n.defaultShowOptions)!==null&&m!==void 0?m:!0;var w;return o.openMultistageFilling=(w=n==null?void 0:n.openMultistageFilling)!==null&&w!==void 0?w:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(h){var $;($=o.multistageFilling)===null||$===void 0||$.push(new st(h))})),o}return t}(D);nt(ai,"Rules",X5),nt(ai,"RuntimeRules",J5);function Q5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Z5(e,t,n){return t=_i(t),nN(e,tO()?Reflect.construct(t,n||[],_i(e).constructor):t.apply(e,n))}function Y5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ym(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function tN(e,t,n){return t&&Ym(e.prototype,t),n&&Ym(e,n),e}function fi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _i(e){return _i=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_i(e)}function eN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&by(e,t)}function nN(e,t){return t&&(oN(t)==="object"||typeof t=="function")?t:Q5(e)}function by(e,t){return by=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},by(e,t)}function oN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tO=function(){return!!e})()}var yi=function(e){eN(t,e);function t(n){Y5(this,t);var o;return o=Z5(this,t,[n]),fi(o,"props",void 0),o.props=new ai(n==null?void 0:n.props),o}return tN(t,null,[{key:"controlName",get:function(){return"\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),t}(x);fi(yi,"controlEventKeys",["on_change","on_click"]),fi(yi,"controlFieldType",g.ARRAY),fi(yi,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.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 rN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iN(e,t,n){return t=si(t),aN(e,oO()?Reflect.construct(t,n||[],si(e).constructor):t.apply(e,n))}function uN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function cN(e,t,n){return t&&eO(e.prototype,t),n&&eO(e,n),e}function nO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function si(e){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},si(e)}function lN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gy(e,t)}function aN(e,t){return t&&(fN(t)==="object"||typeof t=="function")?t:rN(e)}function gy(e,t){return gy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gy(e,t)}function fN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(oO=function(){return!!e})()}var _N=function(e){lN(t,e);function t(n){uN(this,t);var o;return o=iN(this,t,[n]),nO(o,"props",void 0),o.props=new ai(n==null?void 0:n.props),o}return cN(t,null,[{key:"controlType",get:function(){return"checkbox"}}]),t}(F);nO(_N,"controlFieldType",g.ARRAY);function yN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rO(e,t,n){return t=pi(t),sN(e,cO()?Reflect.construct(t,n||[],pi(e).constructor):t.apply(e,n))}function iO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ot(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pi(e){return pi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pi(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&&my(e,t)}function sN(e,t){return t&&(pN(t)==="object"||typeof t=="function")?t:yN(e)}function my(e,t){return my=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},my(e,t)}function pN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(cO=function(){return!!e})()}var dN=function(e){uO(t,e);function t(n){return iO(this,t),rO(this,t,[n])}return t}(Ve),Oy=function(e){uO(t,e);function t(n){iO(this,t);var o;o=rO(this,t,[n]),Ot(o,"radioMode",void 0),Ot(o,"options",void 0),Ot(o,"optionConfig",void 0),Ot(o,"optionsFormat",void 0),Ot(o,"defaultShowOptions",void 0),Ot(o,"otherOption",void 0),Ot(o,"optionsOrder",void 0),Ot(o,"datasourceBind",void 0),Ot(o,"multistageFilling",void 0),Ot(o,"interreaction",void 0),Ot(o,"defaultValue",void 0),Ot(o,"openMultistageFilling",void 0);var r;o.options=Xt((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var i;o.radioMode=(i=n==null?void 0:n.radioMode)!==null&&i!==void 0?i:"horizontal";var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"custom";var c;o.otherOption=(c=n==null?void 0:n.otherOption)!==null&&c!==void 0?c:!1;var a;o.optionsOrder=(a=n==null?void 0:n.optionsOrder)!==null&&a!==void 0?a:!1;var l;o.defaultShowOptions=(l=n==null?void 0:n.defaultShowOptions)!==null&&l!==void 0?l:!0;var f;o.optionsFormat=(f=n==null?void 0:n.optionsFormat)!==null&&f!==void 0?f:"horizontal",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var y;o.interreaction=(y=n==null?void 0:n.interreaction)!==null&&y!==void 0?y:[];var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:hi.controlName;var b;o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:"";var O;return o.openMultistageFilling=(O=n==null?void 0:n.openMultistageFilling)!==null&&O!==void 0?O:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(m){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new st(m))})),o}return t}(D);Ot(Oy,"Rules",dN);function vN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hN(e,t,n){return t=vi(t),ON(e,aO()?Reflect.construct(t,n||[],vi(e).constructor):t.apply(e,n))}function bN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function gN(e,t,n){return t&&lO(e.prototype,t),n&&lO(e,n),e}function di(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vi(e){return vi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vi(e)}function mN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wy(e,t)}function ON(e,t){return t&&(wN(t)==="object"||typeof t=="function")?t:vN(e)}function wy(e,t){return wy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wy(e,t)}function wN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(aO=function(){return!!e})()}var hi=function(e){mN(t,e);function t(n){bN(this,t);var o;return o=hN(this,t,[n]),di(o,"props",void 0),o.props=new Oy(n==null?void 0:n.props),o}return gN(t,null,[{key:"controlName",get:function(){return"\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),t}(x);di(hi,"controlEventKeys",["on_change","on_click"]),di(hi,"controlFieldType",g.VARCHAR),di(hi,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",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 PN(e,t,n){return t=bi(t),RN(e,yO()?Reflect.construct(t,n||[],bi(e).constructor):t.apply(e,n))}function EN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function SN(e,t,n){return t&&fO(e.prototype,t),n&&fO(e,n),e}function _O(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bi(e){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bi(e)}function TN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$y(e,t)}function RN(e,t){return t&&(BN(t)==="object"||typeof t=="function")?t:$N(e)}function $y(e,t){return $y=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$y(e,t)}function BN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(yO=function(){return!!e})()}var IN=function(e){TN(t,e);function t(n){EN(this,t);var o;return o=PN(this,t,[n]),_O(o,"props",void 0),o.props=new Oy(n==null?void 0:n.props),o}return SN(t,null,[{key:"controlType",get:function(){return"radio"}}]),t}(F);_O(IN,"controlFieldType",g.VARCHAR);function AN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Py(e,t,n){return t=gi(t),kN(e,sO()?Reflect.construct(t,n||[],gi(e).constructor):t.apply(e,n))}function Ey(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ct(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gi(e){return gi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gi(e)}function Sy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ty(e,t)}function kN(e,t){return t&&(DN(t)==="object"||typeof t=="function")?t:AN(e)}function Ty(e,t){return Ty=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ty(e,t)}function DN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(sO=function(){return!!e})()}var xN=function(e){Sy(t,e);function t(n){Ey(this,t);var o;o=Py(this,t,[n]),ct(o,"defaultValue",[{type:"number",min:0,max:200,message:d.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}]),ct(o,"rangeMax",{type:"any"});var r=n.rangeMax===""?void 0:n.rangeMax,i=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue[0].max=r,o.defaultValue[0].min=i,o.defaultValue[0].message=d.getMessage("pleaseEnterNumberRange",{max:r,min:i}),i&&r!==void 0&&(o.rangeMax={type:"number",min:i,message:d.getMessage("numberRangeSetError")}),o.defaultValue[1].pattern=er(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return t}(ut),FN=function(e){Sy(t,e);function t(n){Ey(this,t);var o;o=Py(this,t,[n]),o[0]!==void 0&&(o[0].type="number");var r=n.rangeMax!==""?n.rangeMax:void 0,i=n.rangeMin!==""?n.rangeMin:void 0;return o.push({type:"number",max:r,min:i,message:d.getMessage(r===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:r,min:i})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:er(n.regularRules.expression),message:n.regularRules.errMessage}),o}return t}(z),mi=function(e){Sy(t,e);function t(n){Ey(this,t);var o;o=Py(this,t,[n]),ct(o,"rangeMin",void 0),ct(o,"rangeMax",void 0),ct(o,"numberType",void 0),ct(o,"percentageFormat",void 0),ct(o,"micrometer",void 0),ct(o,"precision",void 0),ct(o,"showUpperCase",void 0),ct(o,"isShowUnit",void 0),ct(o,"unitPosition",void 0),ct(o,"unit",void 0),ct(o,"defaultValue",void 0),ct(o,"regularRules",void 0);var r;o.rangeMin=(r=n==null?void 0:n.rangeMin)!==null&&r!==void 0?r:"";var i;o.rangeMax=(i=n==null?void 0:n.rangeMax)!==null&&i!==void 0?i:"";var u;o.numberType=(u=n==null?void 0:n.numberType)!==null&&u!==void 0?u:"number";var c;o.percentageFormat=(c=n==null?void 0:n.percentageFormat)!==null&&c!==void 0?c:!1;var a;o.micrometer=(a=n==null?void 0:n.micrometer)!==null&&a!==void 0?a:!1;var l;o.precision=(l=n==null?void 0:n.precision)!==null&&l!==void 0?l:0;var f;o.showUpperCase=(f=n==null?void 0:n.showUpperCase)!==null&&f!==void 0?f:!1;var y;o.isShowUnit=(y=n==null?void 0:n.isShowUnit)!==null&&y!==void 0?y:!1;var p;o.unitPosition=(p=n==null?void 0:n.unitPosition)!==null&&p!==void 0?p:"right";var b;o.unit=(b=n==null?void 0:n.unit)!==null&&b!==void 0?b:"";var O;o.caption=(O=n==null?void 0:n.caption)!==null&&O!==void 0?O:$i.controlName;var m;o.placeholder=(m=n==null?void 0:n.placeholder)!==null&&m!==void 0?m:"\u8BF7\u8F93\u5165";var w;return o.defaultValue=(w=n==null?void 0:n.defaultValue)!==null&&w!==void 0?w:"",o.regularRules=new Za(n==null?void 0:n.regularRules),o}return t}(D);ct(mi,"Rules",xN),ct(mi,"RuntimeRules",FN);function jN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LN(e,t,n){return t=Ke(t),zN(e,dO()?Reflect.construct(t,n||[],Ke(e).constructor):t.apply(e,n))}function MN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function NN(e,t,n){return t&&pO(e.prototype,t),n&&pO(e,n),e}function Oi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wi(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?wi=Reflect.get:wi=function(r,i,u){var c=HN(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},wi(e,t,n||e)}function Ke(e){return Ke=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ke(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&&Ry(e,t)}function zN(e,t){return t&&(qN(t)==="object"||typeof t=="function")?t:jN(e)}function Ry(e,t){return Ry=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ry(e,t)}function HN(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ke(e),e!==null););return e}function qN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(dO=function(){return!!e})()}var $i=function(e){VN(t,e);function t(n){MN(this,t);var o;return o=LN(this,t,[n]),Oi(o,"props",void 0),o.props=new mi(n==null?void 0:n.props),o}return NN(t,[{key:"toDataBindModel",value:function(o){var r=wi(Ke(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.precision,c=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=c}return r}}],[{key:"controlName",get:function(){return"\u6570\u5B57"}},{key:"controlIcon",get:function(){return"iconnuminput_new"}},{key:"controlType",get:function(){return"number"}}]),t}(x);Oi($i,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Oi($i,"controlFieldType",g.DECIMAL),Oi($i,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_UNIT,_.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:[_.SHOW_UPPER_CASE,_.MICROMETER,_.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function UN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CN(e,t,n){return t=Pi(t),XN(e,bO()?Reflect.construct(t,n||[],Pi(e).constructor):t.apply(e,n))}function WN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function KN(e,t,n){return t&&vO(e.prototype,t),n&&vO(e,n),e}function hO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pi(e){return Pi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pi(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&&By(e,t)}function XN(e,t){return t&&(JN(t)==="object"||typeof t=="function")?t:UN(e)}function By(e,t){return By=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},By(e,t)}function JN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(bO=function(){return!!e})()}var QN=function(e){GN(t,e);function t(n){WN(this,t);var o;return o=CN(this,t,[n]),hO(o,"props",void 0),o.props=new mi(n==null?void 0:n.props),o}return KN(t,null,[{key:"controlType",get:function(){return"number"}}]),t}(F);hO(QN,"controlFieldType",g.DECIMAL);function ZN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YN(e,t,n){return t=Ei(t),n6(e,gO()?Reflect.construct(t,n||[],Ei(e).constructor):t.apply(e,n))}function t6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function he(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ei(e){return Ei=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ei(e)}function e6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 n6(e,t){return t&&(o6(t)==="object"||typeof t=="function")?t:ZN(e)}function Iy(e,t){return Iy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Iy(e,t)}function o6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(gO=function(){return!!e})()}var mO=function(e){e6(t,e);function t(n){t6(this,t);var o,r;o=YN(this,t,[n]),he(o,"dateType",void 0),he(o,"dateFormat",void 0),he(o,"commonTimeSetting",void 0),he(o,"setValueType",void 0),he(o,"defaultValue",void 0),he(o,"limitDateList",void 0),he(o,"allowDateRange",void 0),he(o,"filterWeekend",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:oe.DATE;var u;o.dateFormat=(u=n==null?void 0:n.dateFormat)!==null&&u!==void 0?u:"";var c;o.commonTimeSetting=(c=n==null?void 0:n.commonTimeSetting)!==null&&c!==void 0?c:[];var a;o.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:Dy.controlName;var f;o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"\u8BF7\u8F93\u5165\u65E5\u671F";var y;o.defaultValue=(y=n==null?void 0:n.defaultValue)!==null&&y!==void 0?y:"";var p;o.limitDateList=(p=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function(m){return new Jf(m)}))!==null&&p!==void 0?p:[];var b;o.allowDateRange=(b=n==null?void 0:n.allowDateRange)!==null&&b!==void 0?b:["",""];var O;return o.filterWeekend=(O=n==null?void 0:n.filterWeekend)!==null&&O!==void 0?O:!1,o}return t}(D);function r6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i6(e,t,n){return t=Ge(t),a6(e,wO()?Reflect.construct(t,n||[],Ge(e).constructor):t.apply(e,n))}function u6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function c6(e,t,n){return t&&OO(e.prototype,t),n&&OO(e,n),e}function Ay(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Si(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Si=Reflect.get:Si=function(r,i,u){var c=f6(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Si(e,t,n||e)}function Ge(e){return Ge=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ge(e)}function l6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ky(e,t)}function a6(e,t){return t&&(_6(t)==="object"||typeof t=="function")?t:r6(e)}function ky(e,t){return ky=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ky(e,t)}function f6(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ge(e),e!==null););return e}function _6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(wO=function(){return!!e})()}var Dy=function(e){l6(t,e);function t(n){u6(this,t);var o;return o=i6(this,t,[n]),Ay(o,"props",void 0),o.props=new mO(n==null?void 0:n.props),o}return c6(t,[{key:"toDataBindModel",value:function(o){var r=Si(Ge(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props.dateType;r.props.dateType=i}return r}}],[{key:"controlName",get:function(){return"\u65E5\u671F"}},{key:"controlIcon",get:function(){return"iconriqi1"}},{key:"controlType",get:function(){return"date-picker"}}]),t}(x);Ay(Dy,"controlFieldType",g.TIMESTAMP),Ay(Dy,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function y6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s6(e,t,n){return t=Ti(t),h6(e,EO()?Reflect.construct(t,n||[],Ti(e).constructor):t.apply(e,n))}function p6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $O(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function d6(e,t,n){return t&&$O(e.prototype,t),n&&$O(e,n),e}function PO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ti(e){return Ti=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ti(e)}function v6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 h6(e,t){return t&&(b6(t)==="object"||typeof t=="function")?t:y6(e)}function xy(e,t){return xy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xy(e,t)}function b6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function EO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(EO=function(){return!!e})()}var g6=function(e){v6(t,e);function t(n){p6(this,t);var o;return o=s6(this,t,[n]),PO(o,"props",void 0),o.props=new mO(n==null?void 0:n.props),o}return d6(t,null,[{key:"controlType",get:function(){return"date-picker"}}]),t}(F);PO(g6,"controlFieldType",g.TIMESTAMP);function m6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SO(e,t,n){return t=Ri(t),O6(e,BO()?Reflect.construct(t,n||[],Ri(e).constructor):t.apply(e,n))}function TO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function St(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ri(e){return Ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ri(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&&Fy(e,t)}function O6(e,t){return t&&(w6(t)==="object"||typeof t=="function")?t:m6(e)}function Fy(e,t){return Fy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fy(e,t)}function w6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(BO=function(){return!!e})()}var $6=function(e){RO(t,e);function t(n){TO(this,t);var o;return o=SO(this,t,[n]),o[0]!==void 0&&(o[0].type="object"),n.required&&!n.isHide&&o.push({type:"object",fields:{max:{type:"string",required:n.required,message:o[0].message},min:{type:"string",required:n.required,message:o[0].message}}}),o}return t}(z),jy=function(e){RO(t,e);function t(n){TO(this,t);var o,r;o=SO(this,t,[n]),St(o,"dataBind",void 0),St(o,"rangeMin",void 0),St(o,"rangeMax",void 0),St(o,"placeholderStart",void 0),St(o,"placeholderEnd",void 0),St(o,"dateFormat",void 0),St(o,"commonTimeSetting",void 0),St(o,"dateType",void 0),St(o,"setValueType",void 0),St(o,"defaultValue",void 0),St(o,"limitDateList",void 0),o.dataBind=new ek(n==null?void 0:n.dataBind),o.defaultValue=new nk(n==null?void 0:n.defaultValue);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:oe.DATE;var u;o.dateFormat=(u=n==null?void 0:n.dateFormat)!==null&&u!==void 0?u:"";var c;o.commonTimeSetting=(c=n==null?void 0:n.commonTimeSetting)!==null&&c!==void 0?c:[];var a;o.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var l;o.rangeMin=(l=n==null?void 0:n.rangeMin)!==null&&l!==void 0?l:"";var f;o.rangeMax=(f=n==null?void 0:n.rangeMax)!==null&&f!==void 0?f:"";var y;o.placeholderStart=(y=n==null?void 0:n.placeholderStart)!==null&&y!==void 0?y:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F";var p;o.placeholderEnd=(p=n==null?void 0:n.placeholderEnd)!==null&&p!==void 0?p:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F";var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:Ny.controlName;var O;return o.limitDateList=(O=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function(m){return new Jf(m)}))!==null&&O!==void 0?O:[],o}return t}(D);St(jy,"RuntimeRules",$6);function P6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E6(e,t,n){return t=Xe(t),B6(e,AO()?Reflect.construct(t,n||[],Xe(e).constructor):t.apply(e,n))}function S6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function T6(e,t,n){return t&&IO(e.prototype,t),n&&IO(e,n),e}function Ly(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bi(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Bi=Reflect.get:Bi=function(r,i,u){var c=I6(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Bi(e,t,n||e)}function Xe(e){return Xe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xe(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&&My(e,t)}function B6(e,t){return t&&(A6(t)==="object"||typeof t=="function")?t:P6(e)}function My(e,t){return My=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},My(e,t)}function I6(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Xe(e),e!==null););return e}function A6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(AO=function(){return!!e})()}var Ny=function(e){R6(t,e);function t(n){S6(this,t);var o;return o=E6(this,t,[n]),Ly(o,"props",void 0),o.props=new jy(n==null?void 0:n.props),o}return T6(t,[{key:"toDataBindModel",value:function(o){var r=Bi(Xe(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props.dateType;r.props.dateType=i}return r}}],[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"date-range"}}]),t}(x);Ly(Ny,"controlFieldType",g.TIMESCOPE),Ly(Ny,"setting",[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function k6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D6(e,t,n){return t=Ii(t),L6(e,xO()?Reflect.construct(t,n||[],Ii(e).constructor):t.apply(e,n))}function x6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function F6(e,t,n){return t&&kO(e.prototype,t),n&&kO(e,n),e}function DO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ii(e){return Ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ii(e)}function 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&&Vy(e,t)}function L6(e,t){return t&&(M6(t)==="object"||typeof t=="function")?t:k6(e)}function Vy(e,t){return Vy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vy(e,t)}function M6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(xO=function(){return!!e})()}var N6=function(e){j6(t,e);function t(n){x6(this,t);var o;return o=D6(this,t,[n]),DO(o,"props",void 0),o.props=new jy(n==null?void 0:n.props),o}return F6(t,null,[{key:"controlType",get:function(){return"date-range"}}]),t}(F);DO(N6,"controlFieldType",g.TIMESCOPE);function V6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zy(e,t,n){return t=Ai(t),z6(e,FO()?Reflect.construct(t,n||[],Ai(e).constructor):t.apply(e,n))}function Hy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ai(e){return Ai=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ai(e)}function qy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uy(e,t)}function z6(e,t){return t&&(H6(t)==="object"||typeof t=="function")?t:V6(e)}function Uy(e,t){return Uy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Uy(e,t)}function H6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(FO=function(){return!!e})()}var q6=function(e){qy(t,e);function t(n){Hy(this,t);var o;return o=zy(this,t,[n]),xt(o,"maxLength",{type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),xt(o,"minLength",{type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),xt(o,"defaultValue",{type:"string",max:200,min:0,message:d.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=d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return t}(ut),U6=function(e){qy(t,e);function t(n){Hy(this,t);var o;return o=zy(this,t,[n]),o.push({type:"string",max:n.maxLength,min:n.minLength,message:d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return t}(z),ki=function(e){qy(t,e);function t(n){Hy(this,t);var o;o=zy(this,t,[n]),xt(o,"maxLength",void 0),xt(o,"minLength",void 0),xt(o,"defaultValue",void 0),xt(o,"lineEllipsis",void 0),xt(o,"autoSize",void 0),xt(o,"maxRows",void 0);var r;o.maxLength=(r=n==null?void 0:n.maxLength)!==null&&r!==void 0?r:5e4;var i;o.minLength=(i=n==null?void 0:n.minLength)!==null&&i!==void 0?i:0;var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:"";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Fi.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var l;o.lineEllipsis=(l=n==null?void 0:n.lineEllipsis)!==null&&l!==void 0?l:4;var f;return o.autoSize=(f=n==null?void 0:n.autoSize)!==null&&f!==void 0?f:!1,o.maxRows=n==null?void 0:n.maxRows,o}return t}(D);xt(ki,"Rules",q6),xt(ki,"RuntimeRules",U6);function C6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W6(e,t,n){return t=xi(t),J6(e,LO()?Reflect.construct(t,n||[],xi(e).constructor):t.apply(e,n))}function K6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function G6(e,t,n){return t&&jO(e.prototype,t),n&&jO(e,n),e}function Di(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xi(e){return xi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xi(e)}function X6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cy(e,t)}function J6(e,t){return t&&(Q6(t)==="object"||typeof t=="function")?t:C6(e)}function Cy(e,t){return Cy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cy(e,t)}function Q6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(LO=function(){return!!e})()}var Fi=function(e){X6(t,e);function t(n){K6(this,t);var o;return o=W6(this,t,[n]),Di(o,"props",void 0),o.props=new ki(n==null?void 0:n.props),o}return G6(t,null,[{key:"controlName",get:function(){return"\u591A\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconMultilineline_new1"}},{key:"controlType",get:function(){return"textarea"}}]),t}(x);Di(Fi,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Di(Fi,"controlFieldType",g.TEXT),Di(Fi,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.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 Z6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y6(e,t,n){return t=ji(t),o4(e,VO()?Reflect.construct(t,n||[],ji(e).constructor):t.apply(e,n))}function t4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function e4(e,t,n){return t&&MO(e.prototype,t),n&&MO(e,n),e}function NO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ji(e){return ji=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ji(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&&Wy(e,t)}function o4(e,t){return t&&(r4(t)==="object"||typeof t=="function")?t:Z6(e)}function Wy(e,t){return Wy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wy(e,t)}function r4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(VO=function(){return!!e})()}var i4=function(e){n4(t,e);function t(n){t4(this,t);var o;return o=Y6(this,t,[n]),NO(o,"props",void 0),o.props=new ki(n==null?void 0:n.props),o}return e4(t,null,[{key:"controlType",get:function(){return"textarea"}}]),t}(F);NO(i4,"controlFieldType",g.TEXT);function u4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ky(e,t,n){return t=Li(t),c4(e,zO()?Reflect.construct(t,n||[],Li(e).constructor):t.apply(e,n))}function Gy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function be(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Li(e){return Li=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Li(e)}function Xy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jy(e,t)}function c4(e,t){return t&&(l4(t)==="object"||typeof t=="function")?t:u4(e)}function Jy(e,t){return Jy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jy(e,t)}function l4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(zO=function(){return!!e})()}var a4=function(e){Xy(t,e);function t(n){Gy(this,t);var o;return o=Ky(this,t,[n]),be(o,"maxLength",{type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),be(o,"minLength",{type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),be(o,"defaultValue",{type:"string",max:200,min:0,message:d.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=d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return t}(ut),f4=function(e){Xy(t,e);function t(n){Gy(this,t);var o;return o=Ky(this,t,[n]),o.push({type:"string",max:n.maxLength,min:n.minLength,message:d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return t}(z),Mi=function(e){Xy(t,e);function t(n){Gy(this,t);var o;o=Ky(this,t,[n]),be(o,"maxLength",void 0),be(o,"minLength",void 0),be(o,"defaultValue",void 0);var r;o.maxLength=(r=n==null?void 0:n.maxLength)!==null&&r!==void 0?r:5e4;var i;o.minLength=(i=n==null?void 0:n.minLength)!==null&&i!==void 0?i:0;var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:"";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:zi.controlName;var a;return o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165",o}return t}(D);be(Mi,"Rules",a4),be(Mi,"RuntimeRules",f4);function _4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y4(e,t,n){return t=Vi(t),v4(e,qO()?Reflect.construct(t,n||[],Vi(e).constructor):t.apply(e,n))}function s4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function p4(e,t,n){return t&&HO(e.prototype,t),n&&HO(e,n),e}function Ni(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vi(e){return Vi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vi(e)}function d4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qy(e,t)}function v4(e,t){return t&&(h4(t)==="object"||typeof t=="function")?t:_4(e)}function Qy(e,t){return Qy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qy(e,t)}function h4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(qO=function(){return!!e})()}var zi=function(e){d4(t,e);function t(n){s4(this,t);var o;return o=y4(this,t,[n]),Ni(o,"props",void 0),o.props=new Mi(n==null?void 0:n.props),o}return p4(t,null,[{key:"controlName",get:function(){return"\u5BCC\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconRichtextbox_new"}},{key:"controlType",get:function(){return"rich-text"}}]),t}(x);Ni(zi,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Ni(zi,"controlFieldType",g.TEXT),Ni(zi,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.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 b4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g4(e,t,n){return t=Hi(t),$4(e,WO()?Reflect.construct(t,n||[],Hi(e).constructor):t.apply(e,n))}function m4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function O4(e,t,n){return t&&UO(e.prototype,t),n&&UO(e,n),e}function CO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hi(e){return Hi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hi(e)}function w4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zy(e,t)}function $4(e,t){return t&&(P4(t)==="object"||typeof t=="function")?t:b4(e)}function Zy(e,t){return Zy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zy(e,t)}function P4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(WO=function(){return!!e})()}var E4=function(e){w4(t,e);function t(n){m4(this,t);var o;return o=g4(this,t,[n]),CO(o,"props",void 0),o.props=new Mi(n==null?void 0:n.props),o}return O4(t,null,[{key:"controlType",get:function(){return"rich-text"}}]),t}(F);CO(E4,"controlFieldType",g.TEXT);function S4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KO(e,t,n){return t=qi(t),T4(e,JO()?Reflect.construct(t,n||[],qi(e).constructor):t.apply(e,n))}function GO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qi(e){return qi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qi(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&&Yy(e,t)}function T4(e,t){return t&&(R4(t)==="object"||typeof t=="function")?t:S4(e)}function Yy(e,t){return Yy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yy(e,t)}function R4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(JO=function(){return!!e})()}var B4=function(e){XO(t,e);function t(n){GO(this,t);var o;return o=KO(this,t,[n]),wt(o,"formBind",{type:"object",fields:{formKey:{type:"string",message:d.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return t}(Ve),ts=function(e){XO(t,e);function t(n){GO(this,t);var o;o=KO(this,t,[n]),wt(o,"options",void 0),wt(o,"defaultShowOptions",void 0),wt(o,"optionConfig",void 0),wt(o,"defaultValue",void 0),wt(o,"datasourceBind",void 0),wt(o,"multistageFilling",void 0),wt(o,"allowCopyOptions",void 0),wt(o,"openMultistageFilling",void 0),wt(o,"viewFormModelType",void 0),wt(o,"canViewForm",void 0),wt(o,"formBind",void 0);var r;o.options=Xt((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var i;o.defaultShowOptions=(i=n==null?void 0:n.defaultShowOptions)!==null&&i!==void 0?i:!0;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"custom",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:os.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9";var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:"";var f;o.allowCopyOptions=(f=n==null?void 0:n.allowCopyOptions)!==null&&f!==void 0?f:!1;var y;o.openMultistageFilling=(y=n==null?void 0:n.openMultistageFilling)!==null&&y!==void 0?y:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var m;(m=o.multistageFilling)===null||m===void 0||m.push(new st(O))}));var p;o.canViewForm=(p=n==null?void 0:n.canViewForm)!==null&&p!==void 0?p:!1;var b;return o.viewFormModelType=(b=n==null?void 0:n.viewFormModelType)!==null&&b!==void 0?b:"window",o.formBind=new Me(n==null?void 0:n.formBind),o}return t}(D);wt(ts,"Rules",B4);function I4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A4(e,t,n){return t=Ui(t),F4(e,ZO()?Reflect.construct(t,n||[],Ui(e).constructor):t.apply(e,n))}function k4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function D4(e,t,n){return t&&QO(e.prototype,t),n&&QO(e,n),e}function es(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ui(e){return Ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ui(e)}function x4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ns(e,t)}function F4(e,t){return t&&(j4(t)==="object"||typeof t=="function")?t:I4(e)}function ns(e,t){return ns=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ns(e,t)}function j4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ZO=function(){return!!e})()}var os=function(e){x4(t,e);function t(n){k4(this,t);var o;return o=A4(this,t,[n]),es(o,"props",void 0),o.props=new ts(n==null?void 0:n.props),o}return D4(t,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconxiala1"}},{key:"controlType",get:function(){return"select"}}]),t}(x);es(os,"controlFieldType",g.VARCHAR),es(os,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.DEFAULT_SHOW_OPTIONS,_.IS_SHOW_CAPTION_TIP,_.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[_.CAN_VIEW_FORM,_.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]);function L4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M4(e,t,n){return t=Ci(t),H4(e,ew()?Reflect.construct(t,n||[],Ci(e).constructor):t.apply(e,n))}function N4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function V4(e,t,n){return t&&YO(e.prototype,t),n&&YO(e,n),e}function tw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ci(e){return Ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ci(e)}function z4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rs(e,t)}function H4(e,t){return t&&(q4(t)==="object"||typeof t=="function")?t:L4(e)}function rs(e,t){return rs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rs(e,t)}function q4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ew(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ew=function(){return!!e})()}var U4=function(e){z4(t,e);function t(n){N4(this,t);var o;return o=M4(this,t,[n]),tw(o,"props",void 0),o.props=new ts(n==null?void 0:n.props),o}return V4(t,null,[{key:"controlType",get:function(){return"select"}}]),t}(F);tw(U4,"controlFieldType",g.VARCHAR);function C4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function is(e,t,n){return t=Wi(t),W4(e,nw()?Reflect.construct(t,n||[],Wi(e).constructor):t.apply(e,n))}function us(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wi(e){return Wi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wi(e)}function cs(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ls(e,t)}function W4(e,t){return t&&(K4(t)==="object"||typeof t=="function")?t:C4(e)}function ls(e,t){return ls=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ls(e,t)}function K4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(nw=function(){return!!e})()}var G4=function(e){cs(t,e);function t(n){us(this,t);var o;return o=is(this,t,[n]),$t(o,"formBind",{type:"object",fields:{formKey:{type:"string",message:d.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return t}(Ve),X4=function(e){cs(t,e);function t(n){us(this,t);var o;return o=is(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(z),Ki=function(e){cs(t,e);function t(n){us(this,t);var o;o=is(this,t,[n]),$t(o,"options",void 0),$t(o,"defaultShowOptions",void 0),$t(o,"optionConfig",void 0),$t(o,"defaultValue",void 0),$t(o,"datasourceBind",void 0),$t(o,"multistageFilling",void 0),$t(o,"openMultistageFilling",void 0),$t(o,"viewFormModelType",void 0),$t(o,"canViewForm",void 0),$t(o,"formBind",void 0);var r;o.options=Xt((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var i;o.defaultShowOptions=(i=n==null?void 0:n.defaultShowOptions)!==null&&i!==void 0?i:!0;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"custom",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:_s.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9";var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var f;o.openMultistageFilling=(f=n==null?void 0:n.openMultistageFilling)!==null&&f!==void 0?f:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(b){var O;(O=o.multistageFilling)===null||O===void 0||O.push(new st(b))}));var y;o.canViewForm=(y=n==null?void 0:n.canViewForm)!==null&&y!==void 0?y:!1;var p;return o.viewFormModelType=(p=n==null?void 0:n.viewFormModelType)!==null&&p!==void 0?p:"window",o.formBind=new Me(n==null?void 0:n.formBind),o}return t}(D);$t(Ki,"Rules",G4),$t(Ki,"RuntimeRules",X4);function J4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Q4(e,t,n){return t=Gi(t),e7(e,rw()?Reflect.construct(t,n||[],Gi(e).constructor):t.apply(e,n))}function Z4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ow(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Y4(e,t,n){return t&&ow(e.prototype,t),n&&ow(e,n),e}function as(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gi(e){return Gi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gi(e)}function 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&&fs(e,t)}function e7(e,t){return t&&(n7(t)==="object"||typeof t=="function")?t:J4(e)}function fs(e,t){return fs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fs(e,t)}function n7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(rw=function(){return!!e})()}var _s=function(e){t7(t,e);function t(n){Z4(this,t);var o;return o=Q4(this,t,[n]),as(o,"props",void 0),o.props=new Ki(n==null?void 0:n.props),o}return Y4(t,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconxialaduoxuan"}},{key:"controlType",get:function(){return"select-multiple"}}]),t}(x);as(_s,"controlFieldType",g.ARRAY),as(_s,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.DEFAULT_SHOW_OPTIONS,_.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[_.CAN_VIEW_FORM,_.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]);function o7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r7(e,t,n){return t=Xi(t),l7(e,cw()?Reflect.construct(t,n||[],Xi(e).constructor):t.apply(e,n))}function i7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function u7(e,t,n){return t&&iw(e.prototype,t),n&&iw(e,n),e}function uw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xi(e){return Xi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xi(e)}function c7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ys(e,t)}function l7(e,t){return t&&(a7(t)==="object"||typeof t=="function")?t:o7(e)}function ys(e,t){return ys=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ys(e,t)}function a7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(cw=function(){return!!e})()}var f7=function(e){c7(t,e);function t(n){i7(this,t);var o;return o=r7(this,t,[n]),uw(o,"props",void 0),o.props=new Ki(n==null?void 0:n.props),o}return u7(t,null,[{key:"controlType",get:function(){return"select-multiple"}}]),t}(F);uw(f7,"controlFieldType",g.ARRAY);function _7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lw(e,t,n){return t=Ji(t),y7(e,_w()?Reflect.construct(t,n||[],Ji(e).constructor):t.apply(e,n))}function aw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function te(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ji(e){return Ji=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ji(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&&ss(e,t)}function y7(e,t){return t&&(s7(t)==="object"||typeof t=="function")?t:_7(e)}function ss(e,t){return ss=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ss(e,t)}function s7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _w(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_w=function(){return!!e})()}var p7=function(e){fw(t,e);function t(n){aw(this,t);var o;return o=lw(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(z),ps=function(e){fw(t,e);function t(n){aw(this,t);var o;o=lw(this,t,[n]),te(o,"showType",void 0),te(o,"range",void 0),te(o,"rangeOptions",void 0),te(o,"multiple",void 0),te(o,"defaultValueType",void 0),te(o,"defaultValue",void 0),te(o,"multistageFilling",void 0),te(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.range=(i=n==null?void 0:n.range)!==null&&i!==void 0?i:"all";var u;o.rangeOptions=(u=n==null?void 0:n.rangeOptions)!==null&&u!==void 0?u:[];var c;o.multiple=(c=n==null?void 0:n.multiple)!==null&&c!==void 0?c:!1;var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:hs.controlName;var y;o.placeholder=(y=n==null?void 0:n.placeholder)!==null&&y!==void 0?y:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var p;return o.openMultistageFilling=(p=n==null?void 0:n.openMultistageFilling)!==null&&p!==void 0?p:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(b){var O;(O=o.multistageFilling)===null||O===void 0||O.push(new st(b))})),o}return t}(D);te(ps,"RuntimeRules",p7);function d7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v7(e,t,n){return t=Qi(t),m7(e,sw()?Reflect.construct(t,n||[],Qi(e).constructor):t.apply(e,n))}function h7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function b7(e,t,n){return t&&yw(e.prototype,t),n&&yw(e,n),e}function ds(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qi(e){return Qi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qi(e)}function g7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vs(e,t)}function m7(e,t){return t&&(O7(t)==="object"||typeof t=="function")?t:d7(e)}function vs(e,t){return vs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vs(e,t)}function O7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(sw=function(){return!!e})()}var hs=function(e){g7(t,e);function t(n){h7(this,t);var o;return o=v7(this,t,[n]),ds(o,"props",void 0),o.props=new ps(n==null?void 0:n.props),o}return b7(t,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),t}(x);ds(hs,"controlFieldType",g.EMPLOYEES),ds(hs,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.MULTIPLE,_.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 w7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $7(e,t,n){return t=Zi(t),T7(e,vw()?Reflect.construct(t,n||[],Zi(e).constructor):t.apply(e,n))}function P7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function E7(e,t,n){return t&&pw(e.prototype,t),n&&pw(e,n),e}function dw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zi(e){return Zi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zi(e)}function S7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bs(e,t)}function T7(e,t){return t&&(R7(t)==="object"||typeof t=="function")?t:w7(e)}function bs(e,t){return bs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},bs(e,t)}function R7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(vw=function(){return!!e})()}var B7=function(e){S7(t,e);function t(n){P7(this,t);var o;return o=$7(this,t,[n]),dw(o,"props",void 0),o.props=new ps(n==null?void 0:n.props),o}return E7(t,null,[{key:"controlType",get:function(){return"employee"}}]),t}(F);dw(B7,"controlFieldType",g.EMPLOYEES);function I7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gs(e,t,n){return t=Yi(t),A7(e,hw()?Reflect.construct(t,n||[],Yi(e).constructor):t.apply(e,n))}function ms(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yi(e){return Yi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yi(e)}function Os(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ws(e,t)}function A7(e,t){return t&&(k7(t)==="object"||typeof t=="function")?t:I7(e)}function ws(e,t){return ws=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ws(e,t)}function k7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(hw=function(){return!!e})()}var D7=10485760,x7=104857600,F7=1048576e3,j7=function(e){Os(t,e);function t(n){ms(this,t);var o;return o=gs(this,t,[n]),Pt(o,"maxSize",{type:"number",min:0,max:F7,message:d.getMessage("attachmentMaxSize")}),o}return t}(ut),L7=function(e){Os(t,e);function t(n){ms(this,t);var o;return o=gs(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o.push({type:"array",max:n.maxLimit,min:n.minLimit,message:d.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),o}return t}(z),tu=function(e){Os(t,e);function t(n){ms(this,t);var o;o=gs(this,t,[n]),Pt(o,"defaultValue",void 0),Pt(o,"showType",void 0),Pt(o,"resultShowType",void 0),Pt(o,"attachmentAccept",void 0),Pt(o,"maxLimit",void 0),Pt(o,"minLimit",void 0),Pt(o,"isShowWatermark",void 0),Pt(o,"watermarkFx",void 0),Pt(o,"maxSize",void 0),Pt(o,"operation",void 0);var r;o.defaultValue=(r=n==null?void 0:n.defaultValue)!==null&&r!==void 0?r:[];var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.resultShowType=(u=n==null?void 0:n.resultShowType)!==null&&u!==void 0?u:"simple";var c;o.attachmentAccept=(c=n==null?void 0:n.attachmentAccept)!==null&&c!==void 0?c:[];var a;o.maxLimit=(a=n==null?void 0:n.maxLimit)!==null&&a!==void 0?a:10;var l;o.minLimit=(l=n==null?void 0:n.minLimit)!==null&&l!==void 0?l:0;var f;o.maxSize=(f=n==null?void 0:n.maxSize)!==null&&f!==void 0?f:x7;var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:co.controlName;var p;o.placeholder=(p=n==null?void 0:n.placeholder)!==null&&p!==void 0?p:"\u4E0A\u4F20\u9644\u4EF6";var b;o.isShowWatermark=(b=n==null?void 0:n.isShowWatermark)!==null&&b!==void 0?b:!1;var O;o.watermarkFx=(O=n==null?void 0:n.watermarkFx)!==null&&O!==void 0?O:{};var m;return o.operation=(m=n==null?void 0:n.operation)!==null&&m!==void 0?m:["info","preview","download"],o}return t}(D);Pt(tu,"Rules",j7),Pt(tu,"RuntimeRules",L7);function M7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N7(e,t,n){return t=nu(t),q7(e,gw()?Reflect.construct(t,n||[],nu(e).constructor):t.apply(e,n))}function V7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function z7(e,t,n){return t&&bw(e.prototype,t),n&&bw(e,n),e}function eu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nu(e){return nu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nu(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&&$s(e,t)}function q7(e,t){return t&&(U7(t)==="object"||typeof t=="function")?t:M7(e)}function $s(e,t){return $s=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$s(e,t)}function U7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(gw=function(){return!!e})()}var co=function(e){H7(t,e);function t(n){V7(this,t);var o;return o=N7(this,t,[n]),eu(o,"props",void 0),o.props=new tu(n==null?void 0:n.props),o}return z7(t,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),t}(x);eu(co,"controlEventKeys",["on_change"]),eu(co,"controlFieldType",g.FILE),eu(co,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.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-operation",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function C7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W7(e,t,n){return t=ou(t),J7(e,ww()?Reflect.construct(t,n||[],ou(e).constructor):t.apply(e,n))}function K7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function G7(e,t,n){return t&&mw(e.prototype,t),n&&mw(e,n),e}function Ow(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ou(e){return ou=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ou(e)}function X7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ps(e,t)}function J7(e,t){return t&&(Q7(t)==="object"||typeof t=="function")?t:C7(e)}function Ps(e,t){return Ps=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ps(e,t)}function Q7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ww(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ww=function(){return!!e})()}var Z7=function(e){X7(t,e);function t(n){K7(this,t);var o;return o=W7(this,t,[n]),Ow(o,"props",void 0),o.props=new tu(n==null?void 0:n.props),o}return G7(t,null,[{key:"controlType",get:function(){return"attachment"}}]),t}(F);Ow(Z7,"controlFieldType",g.FILE);function Y7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function t9(e,t,n){return t=ru(t),r9(e,Ew()?Reflect.construct(t,n||[],ru(e).constructor):t.apply(e,n))}function e9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $w(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function n9(e,t,n){return t&&$w(e.prototype,t),n&&$w(e,n),e}function Pw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ru(e){return ru=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ru(e)}function o9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Es(e,t)}function r9(e,t){return t&&(i9(t)==="object"||typeof t=="function")?t:Y7(e)}function Es(e,t){return Es=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Es(e,t)}function i9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ew(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ew=function(){return!!e})()}var Sw=function(e){o9(t,e);function t(n){e9(this,t);var o,r,i;o=t9(this,t,[n]),o.props.showType="image";var u;o.props.caption=(u=n==null||(r=n.props)===null||r===void 0?void 0:r.caption)!==null&&u!==void 0?u:t.controlName;var c;return o.props.placeholder=(c=n==null||(i=n.props)===null||i===void 0?void 0:i.placeholder)!==null&&c!==void 0?c:"\u4E0A\u4F20\u56FE\u7247",o}return n9(t,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),t}(co);Pw(Sw,"controlFieldType",g.IMAGE),Pw(Sw,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP,_.IS_SHOW_WATERMARK]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function u9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ss(e,t,n){return t=iu(t),f9(e,Tw()?Reflect.construct(t,n||[],iu(e).constructor):t.apply(e,n))}function Ts(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function iu(e){return iu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},iu(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&&Bs(e,t)}function c9(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){lt(e,r,n[r])})}return e}function l9(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function a9(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):l9(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function f9(e,t){return t&&(_9(t)==="object"||typeof t=="function")?t:u9(e)}function Bs(e,t){return Bs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bs(e,t)}function _9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Tw=function(){return!!e})()}var y9=function(e){Rs(t,e);function t(n){Ts(this,t);var o;o=Ss(this,t,[n]),lt(o,"defaultValue",{type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:d.getMessage("pleaseEnterNumberRange")}]}}),lt(o,"rangeMax",{type:"any"});var r=n.rangeMax===""?void 0:n.rangeMax,i=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue.fields.amount[0].max=r,o.defaultValue.fields.amount[0].min=i,o.defaultValue.fields.amount[0].message=d.getMessage("pleaseEnterNumberRange",{max:r,min:i}),i&&r!==void 0&&(o.rangeMax={type:"number",min:i,message:d.getMessage("numberRangeSetError")}),o}return t}(Ve),s9=function(e){Rs(t,e);function t(n){Ts(this,t);var o;o=Ss(this,t,[n]),o[0]!==void 0&&(o[0].type="object");var r=n.rangeMax===""?void 0:n.rangeMax,i=n.rangeMin===""?void 0:n.rangeMin;return o.push({type:"object",fields:{amount:[a9(c9({},o[0]),{type:"number"}),{type:"number",min:i,max:r,message:d.getMessage(r===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:r,min:i})}],currency:{type:"string"}}}),o}return t}(z),uu=function(e){Rs(t,e);function t(n){Ts(this,t);var o;o=Ss(this,t,[n]),lt(o,"rangeMin",void 0),lt(o,"rangeMax",void 0),lt(o,"showUpperCase",void 0),lt(o,"submitSelectCurrency",void 0),lt(o,"micrometer",void 0),lt(o,"precision",void 0),lt(o,"optionConfig",void 0),lt(o,"dataBind",void 0),lt(o,"datasourceBind",void 0),lt(o,"defaultValue",void 0),lt(o,"options",void 0);var r;o.rangeMin=(r=n==null?void 0:n.rangeMin)!==null&&r!==void 0?r:"";var i;o.rangeMax=(i=n==null?void 0:n.rangeMax)!==null&&i!==void 0?i:"";var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"datasource";var c;o.micrometer=(c=n==null?void 0:n.micrometer)!==null&&c!==void 0?c:!1;var a;o.precision=(a=n==null?void 0:n.precision)!==null&&a!==void 0?a:2,o.dataBind=new YA(n==null?void 0:n.dataBind);var l;o.datasourceBind=new X((l=n==null?void 0:n.datasourceBind)!==null&&l!==void 0?l:{displayBoList:[new Xa({value:"name"})]});var f;o.defaultValue=new tk((f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:{amount:"",currency:tf.CNY}),o.options=Xt(n==null?void 0:n.options);var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:au.controlName;var p;o.placeholder=(p=n==null?void 0:n.placeholder)!==null&&p!==void 0?p:"\u8BF7\u8F93\u5165";var b;o.submitSelectCurrency=(b=n==null?void 0:n.submitSelectCurrency)!==null&&b!==void 0?b:!1;var O;return o.showUpperCase=(O=n==null?void 0:n.showUpperCase)!==null&&O!==void 0?O:!1,o}return t}(D);lt(uu,"Rules",y9),lt(uu,"RuntimeRules",s9);function p9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d9(e,t,n){return t=Je(t),g9(e,Bw()?Reflect.construct(t,n||[],Je(e).constructor):t.apply(e,n))}function v9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function h9(e,t,n){return t&&Rw(e.prototype,t),n&&Rw(e,n),e}function cu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lu(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?lu=Reflect.get:lu=function(r,i,u){var c=m9(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},lu(e,t,n||e)}function Je(e){return Je=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Je(e)}function b9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Is(e,t)}function g9(e,t){return t&&(O9(t)==="object"||typeof t=="function")?t:p9(e)}function Is(e,t){return Is=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Is(e,t)}function m9(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Je(e),e!==null););return e}function O9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Bw=function(){return!!e})()}var au=function(e){b9(t,e);function t(n){v9(this,t);var o;return o=d9(this,t,[n]),cu(o,"props",void 0),o.props=new uu(n==null?void 0:n.props),o}return h9(t,[{key:"toDataBindModel",value:function(o){var r=lu(Je(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.precision,c=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=c}return r}}],[{key:"controlName",get:function(){return"\u91D1\u989D"}},{key:"controlType",get:function(){return"amount"}},{key:"controlIcon",get:function(){return"iconjine"}}]),t}(x);cu(au,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),cu(au,"controlFieldType",g.MONEY),cu(au,"setting",[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.SUBMIT_SELECT_CURRENCY,_.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[_.SHOW_UPPER_CASE,_.MICROMETER,_.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function w9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $9(e,t,n){return t=fu(t),T9(e,kw()?Reflect.construct(t,n||[],fu(e).constructor):t.apply(e,n))}function P9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Iw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function E9(e,t,n){return t&&Iw(e.prototype,t),n&&Iw(e,n),e}function Aw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fu(e){return fu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fu(e)}function S9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&As(e,t)}function T9(e,t){return t&&(R9(t)==="object"||typeof t=="function")?t:w9(e)}function As(e,t){return As=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},As(e,t)}function R9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(kw=function(){return!!e})()}var B9=function(e){S9(t,e);function t(n){P9(this,t);var o;return o=$9(this,t,[n]),Aw(o,"props",void 0),o.props=new uu(n==null?void 0:n.props),o}return E9(t,null,[{key:"controlType",get:function(){return"amount"}}]),t}(F);Aw(B9,"controlFieldType",g.MONEY);function I9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ks(e,t,n){return t=_u(t),A9(e,Dw()?Reflect.construct(t,n||[],_u(e).constructor):t.apply(e,n))}function Ds(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _u(e){return _u=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_u(e)}function xs(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fs(e,t)}function A9(e,t){return t&&(k9(t)==="object"||typeof t=="function")?t:I9(e)}function Fs(e,t){return Fs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fs(e,t)}function k9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Dw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Dw=function(){return!!e})()}var D9=function(e){xs(t,e);function t(n){Ds(this,t);var o;return o=ks(this,t,[n]),ee(o,"totalScore",[{type:"number",required:!0,message:d.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:d.getMessage("theTotalScoreMustNotBeLessThan1")}]),ee(o,"defaultValue",{type:"number",min:0,max:5,message:d.getMessage("scoreDefaultValueRange")}),o.defaultValue.max=n.totalScore,o.defaultValue.message=d.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:0}),o}return t}(ut),x9=function(e){xs(t,e);function t(n){Ds(this,t);var o;o=ks(this,t,[n]),o[0]!==void 0&&(o[0].type="number");var r=n.required?1:0;return o.push({type:"number",min:r,max:n.totalScore,message:d.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:r})}),o}return t}(z),yu=function(e){xs(t,e);function t(n){Ds(this,t);var o,r;o=ks(this,t,[n]),ee(o,"totalScore",void 0),ee(o,"scoreType",void 0),ee(o,"isShowExplain",void 0),ee(o,"explain",void 0),ee(o,"defaultValue",void 0);var i;o.totalScore=(i=n==null?void 0:n.totalScore)!==null&&i!==void 0?i:5;var u;o.scoreType=(u=n==null?void 0:n.scoreType)!==null&&u!==void 0?u:Qf.STAR;var c;o.isShowExplain=(c=n==null?void 0:n.isShowExplain)!==null&&c!==void 0?c:!0;var a;o.explain=(a=n==null||(r=n.explain)===null||r===void 0?void 0:r.map(function(y){return new Zf(y)}))!==null&&a!==void 0?a:Array(o.totalScore).fill(void 0).map(function(){return new Zf});var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:0;var f;return o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:du.controlName,o}return t}(D);ee(yu,"Rules",D9),ee(yu,"RuntimeRules",x9);function js(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function F9(e){if(Array.isArray(e))return js(e)}function j9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L9(e,t,n){return t=Qe(t),q9(e,Fw()?Reflect.construct(t,n||[],Qe(e).constructor):t.apply(e,n))}function M9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function N9(e,t,n){return t&&xw(e.prototype,t),n&&xw(e,n),e}function su(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pu(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?pu=Reflect.get:pu=function(r,i,u){var c=U9(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},pu(e,t,n||e)}function Qe(e){return Qe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qe(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&&Ls(e,t)}function z9(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function H9(){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 q9(e,t){return t&&(W9(t)==="object"||typeof t=="function")?t:j9(e)}function Ls(e,t){return Ls=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ls(e,t)}function U9(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Qe(e),e!==null););return e}function C9(e){return F9(e)||z9(e)||K9(e)||H9()}function W9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function K9(e,t){if(!!e){if(typeof e=="string")return js(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return js(e,t)}}function Fw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Fw=function(){return!!e})()}var du=function(e){V9(t,e);function t(n){M9(this,t);var o;return o=L9(this,t,[n]),su(o,"props",void 0),o.props=new yu(n==null?void 0:n.props),o}return N9(t,[{key:"postUpdate",value:function(o,r){if(o==="totalScore"){if(r===this.props.explain.length)return;if(this.props.explain.length>r)this.props.explain=this.props.explain.slice(0,r);else{var i,u=r-this.props.explain.length,c=Array(u).fill(void 0).map(function(){return new Zf});(i=this.props.explain).push.apply(i,C9(c))}}pu(Qe(t.prototype),"postUpdate",this).call(this,o,r)}}],[{key:"controlName",get:function(){return"\u8BC4\u5206"}},{key:"controlIcon",get:function(){return"iconpingfen"}},{key:"controlType",get:function(){return"score"}}]),t}(x);su(du,"controlEventKeys",["on_change","on_click"]),su(du,"controlFieldType",g.DECIMAL),su(du,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.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 G9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X9(e,t,n){return t=vu(t),Y9(e,Mw()?Reflect.construct(t,n||[],vu(e).constructor):t.apply(e,n))}function J9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Q9(e,t,n){return t&&jw(e.prototype,t),n&&jw(e,n),e}function Lw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vu(e){return vu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vu(e)}function Z9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ms(e,t)}function Y9(e,t){return t&&(t8(t)==="object"||typeof t=="function")?t:G9(e)}function Ms(e,t){return Ms=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ms(e,t)}function t8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Mw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Mw=function(){return!!e})()}var e8=function(e){Z9(t,e);function t(n){J9(this,t);var o;return o=X9(this,t,[n]),Lw(o,"props",void 0),o.props=new yu(n==null?void 0:n.props),o}return Q9(t,null,[{key:"controlType",get:function(){return"score"}}]),t}(F);Lw(e8,"controlFieldType",g.DECIMAL);function n8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nw(e,t,n){return t=bu(t),o8(e,Hw()?Reflect.construct(t,n||[],bu(e).constructor):t.apply(e,n))}function Vw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bu(e){return bu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bu(e)}function zw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ns(e,t)}function o8(e,t){return t&&(r8(t)==="object"||typeof t=="function")?t:n8(e)}function Ns(e,t){return Ns=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ns(e,t)}function r8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Hw=function(){return!!e})()}var i8=function(e){zw(t,e);function t(n){Vw(this,t);var o;if(o=Nw(this,t,[n]),o[0]!==void 0&&(o[0].type="object"),n.required&&!n.isHide){var r={type:"object",fields:{province:{type:"string",required:n.required,message:d.getMessage("pleaseSelectProvince")}}};n.addressType.includes("city")&&(r.fields.city={type:"string",required:n.required,message:d.getMessage("pleaseSelectCity")}),n.addressType.includes("district")&&(r.fields.district={type:"string",required:n.required,message:d.getMessage("pleaseSelectDistrict")}),o.push(r)}return o}return t}(z),Vs=function(e){zw(t,e);function t(n){Vw(this,t);var o;o=Nw(this,t,[n]),hu(o,"defaultValueType",void 0),hu(o,"defaultValue",void 0),hu(o,"addressType",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:qs.controlName;var i;o.defaultValueType=(i=n==null?void 0:n.defaultValueType)!==null&&i!==void 0?i:"default";var u;o.addressType=(u=n==null?void 0:n.addressType)!==null&&u!==void 0?u:["province","city","district"];var c;o.defaultValue=new ok((c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:{});var a;return o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9\u5730\u5740",o}return t}(D);hu(Vs,"RuntimeRules",i8);function u8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c8(e,t,n){return t=gu(t),_8(e,Uw()?Reflect.construct(t,n||[],gu(e).constructor):t.apply(e,n))}function l8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function a8(e,t,n){return t&&qw(e.prototype,t),n&&qw(e,n),e}function zs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gu(e){return gu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gu(e)}function f8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _8(e,t){return t&&(y8(t)==="object"||typeof t=="function")?t:u8(e)}function Hs(e,t){return Hs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hs(e,t)}function y8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Uw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Uw=function(){return!!e})()}var qs=function(e){f8(t,e);function t(n){l8(this,t);var o;return o=c8(this,t,[n]),zs(o,"props",void 0),o.props=new Vs(n==null?void 0:n.props),o}return a8(t,null,[{key:"controlName",get:function(){return"\u5730\u5740"}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),t}(x);zs(qs,"controlFieldType",g.ADDRESS),zs(qs,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function s8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p8(e,t,n){return t=mu(t),b8(e,Kw()?Reflect.construct(t,n||[],mu(e).constructor):t.apply(e,n))}function d8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function v8(e,t,n){return t&&Cw(e.prototype,t),n&&Cw(e,n),e}function Ww(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mu(e){return mu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mu(e)}function h8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 b8(e,t){return t&&(g8(t)==="object"||typeof t=="function")?t:s8(e)}function Us(e,t){return Us=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Us(e,t)}function g8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Kw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Kw=function(){return!!e})()}var m8=function(e){h8(t,e);function t(n){d8(this,t);var o;return o=p8(this,t,[n]),Ww(o,"props",void 0),o.props=new Vs(n==null?void 0:n.props),o}return v8(t,null,[{key:"controlName",get:function(){return"\u7701\u5E02\u533A"}},{key:"controlIcon",get:function(){return"iconicon_site_management11"}},{key:"controlType",get:function(){return"address"}}]),t}(F);Ww(m8,"controlFieldType",g.ADDRESS);function O8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gw(e,t,n){return t=Ou(t),w8(e,Qw()?Reflect.construct(t,n||[],Ou(e).constructor):t.apply(e,n))}function Xw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ft(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ou(e){return Ou=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ou(e)}function Jw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 w8(e,t){return t&&($8(t)==="object"||typeof t=="function")?t:O8(e)}function Cs(e,t){return Cs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cs(e,t)}function $8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Qw=function(){return!!e})()}var P8=function(e){Jw(t,e);function t(n){Xw(this,t);var o;return o=Gw(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(z),Ws=function(e){Jw(t,e);function t(n){Xw(this,t);var o;o=Gw(this,t,[n]),Ft(o,"showType",void 0),Ft(o,"range",void 0),Ft(o,"defaultValueType",void 0),Ft(o,"multiple",void 0),Ft(o,"rangeOptions",void 0),Ft(o,"defaultValue",void 0),Ft(o,"displayLevel",void 0),Ft(o,"showSubDept",void 0),Ft(o,"multistageFilling",void 0),Ft(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1;var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var c;o.defaultValueType=(c=n==null?void 0:n.defaultValueType)!==null&&c!==void 0?c:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var f;o.displayLevel=(f=n==null?void 0:n.displayLevel)!==null&&f!==void 0?f:1;var y;o.showSubDept=(y=n==null?void 0:n.showSubDept)!==null&&y!==void 0?y:!0;var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:Pu.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u8BF7\u9009\u62E9\u90E8\u95E8";var O;return o.openMultistageFilling=(O=n==null?void 0:n.openMultistageFilling)!==null&&O!==void 0?O:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(m){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new st(m))})),o}return t}(D);Ft(Ws,"RuntimeRules",P8);function E8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S8(e,t,n){return t=Ze(t),I8(e,Yw()?Reflect.construct(t,n||[],Ze(e).constructor):t.apply(e,n))}function T8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function R8(e,t,n){return t&&Zw(e.prototype,t),n&&Zw(e,n),e}function wu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $u(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?$u=Reflect.get:$u=function(r,i,u){var c=A8(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},$u(e,t,n||e)}function Ze(e){return Ze=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ze(e)}function B8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ks(e,t)}function I8(e,t){return t&&(k8(t)==="object"||typeof t=="function")?t:E8(e)}function Ks(e,t){return Ks=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ks(e,t)}function A8(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ze(e),e!==null););return e}function k8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Yw=function(){return!!e})()}var Pu=function(e){B8(t,e);function t(n){T8(this,t);var o;return o=S8(this,t,[n]),wu(o,"props",void 0),o.props=new Ws(n==null?void 0:n.props),o}return R8(t,[{key:"toDataBindModel",value:function(o){var r=$u(Ze(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.displayLevel,c=i.showSubDept;r.props.displayLevel=u,r.props.showSubDept=c}return r}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),t}(x);wu(Pu,"controlName","\u90E8\u95E8"),wu(Pu,"controlFieldType",g.DEPARTMENTS),wu(Pu,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.MULTIPLE,_.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 D8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x8(e,t,n){return t=Eu(t),M8(e,n$()?Reflect.construct(t,n||[],Eu(e).constructor):t.apply(e,n))}function F8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function j8(e,t,n){return t&&t$(e.prototype,t),n&&t$(e,n),e}function e$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Eu(e){return Eu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Eu(e)}function L8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gs(e,t)}function M8(e,t){return t&&(N8(t)==="object"||typeof t=="function")?t:D8(e)}function Gs(e,t){return Gs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gs(e,t)}function N8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function n$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(n$=function(){return!!e})()}var V8=function(e){L8(t,e);function t(n){F8(this,t);var o;return o=x8(this,t,[n]),e$(o,"props",void 0),o.props=new Ws(n==null?void 0:n.props),o}return j8(t,null,[{key:"controlType",get:function(){return"department"}}]),t}(F);e$(V8,"controlFieldType",g.DEPARTMENTS);function z8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function H8(e,t,n){return t=Su(t),W8(e,o$()?Reflect.construct(t,n||[],Su(e).constructor):t.apply(e,n))}function q8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function U8(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Su(e){return Su=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Su(e)}function C8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xs(e,t)}function W8(e,t){return t&&(K8(t)==="object"||typeof t=="function")?t:z8(e)}function Xs(e,t){return Xs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xs(e,t)}function K8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function o$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(o$=function(){return!!e})()}var r$=function(e){C8(t,e);function t(n){q8(this,t);var o;o=H8(this,t,[n]),U8(o,"defaultValue",void 0);var r;o.defaultValue=(r=n==null?void 0:n.defaultValue)!==null&&r!==void 0?r:"";var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Bu.controlName;var u;return o.placeholder=(u=n==null?void 0:n.placeholder)!==null&&u!==void 0?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",o}return t}(D);function G8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X8(e,t,n){return t=Ru(t),Y8(e,u$()?Reflect.construct(t,n||[],Ru(e).constructor):t.apply(e,n))}function J8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Q8(e,t,n){return t&&i$(e.prototype,t),n&&i$(e,n),e}function Tu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ru(e){return Ru=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ru(e)}function Z8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Js(e,t)}function Y8(e,t){return t&&(tV(t)==="object"||typeof t=="function")?t:G8(e)}function Js(e,t){return Js=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Js(e,t)}function tV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function u$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(u$=function(){return!!e})()}var Bu=function(e){Z8(t,e);function t(n){J8(this,t);var o;return o=X8(this,t,[n]),Tu(o,"props",void 0),o.props=new r$(n==null?void 0:n.props),o}return Q8(t,null,[{key:"controlName",get:function(){return"\u81EA\u52A8\u7F16\u53F7"}},{key:"controlIcon",get:function(){return"iconnumber_new"}},{key:"controlType",get:function(){return"auto-number"}}]),t}(x);Tu(Bu,"controlEventKeys",["on_change"]),Tu(Bu,"controlFieldType",g.AUTO_NUMBER),Tu(Bu,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function eV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nV(e,t,n){return t=Iu(t),uV(e,a$()?Reflect.construct(t,n||[],Iu(e).constructor):t.apply(e,n))}function oV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function rV(e,t,n){return t&&c$(e.prototype,t),n&&c$(e,n),e}function l$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Iu(e){return Iu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Iu(e)}function 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&&Qs(e,t)}function uV(e,t){return t&&(cV(t)==="object"||typeof t=="function")?t:eV(e)}function Qs(e,t){return Qs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qs(e,t)}function cV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function a$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(a$=function(){return!!e})()}var lV=function(e){iV(t,e);function t(n){oV(this,t);var o;return o=nV(this,t,[n]),l$(o,"props",void 0),o.props=new r$(n==null?void 0:n.props),o}return rV(t,null,[{key:"controlType",get:function(){return"auto-number"}}]),t}(F);l$(lV,"controlFieldType",g.AUTO_NUMBER);function aV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zs(e,t,n){return t=Au(t),fV(e,f$()?Reflect.construct(t,n||[],Au(e).constructor):t.apply(e,n))}function Ys(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Au(e){return Au=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Au(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&&ep(e,t)}function fV(e,t){return t&&(_V(t)==="object"||typeof t=="function")?t:aV(e)}function ep(e,t){return ep=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ep(e,t)}function _V(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function f$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(f$=function(){return!!e})()}var yV=function(e){tp(t,e);function t(n){Ys(this,t);var o;return o=Zs(this,t,[n]),o.dataBind.fields.result.required=!1,o.dataBind.fields.result.fields.fieldCode.required=!1,o.dataBind.fields.result.fields.dataCode.required=!1,o.dataBind.fields.unit.required=!1,o.dataBind.fields.unit.fields.fieldCode.required=!1,o.dataBind.fields.unit.fields.dataCode.required=!1,o}return t}(ut),sV=function(e){tp(t,e);function t(n){Ys(this,t);var o;return o=Zs(this,t,[n]),o[0]!==void 0&&(o[0].type="object"),o.push({type:"object",message:d.getMessage("isNotObject"),fields:{result:[{type:"number",message:d.getMessage("isNotNumber")}],unit:{type:"string",message:d.getMessage("isNotString")}}}),o}return t}(z),ku=function(e){tp(t,e);function t(n){Ys(this,t);var o;o=Zs(this,t,[n]),zt(o,"precision",void 0),zt(o,"micrometer",void 0),zt(o,"showUpperCase",void 0),zt(o,"scriptSrc",void 0),zt(o,"scriptEcho",void 0),zt(o,"dataBind",void 0),zt(o,"defaultValue",void 0),zt(o,"calcOnMounted",void 0);var r;o.precision=(r=n==null?void 0:n.precision)!==null&&r!==void 0?r:0;var i;o.micrometer=(i=n==null?void 0:n.micrometer)!==null&&i!==void 0?i:!1;var u;o.showUpperCase=(u=n==null?void 0:n.showUpperCase)!==null&&u!==void 0?u:!1,o.dataBind=new rk(n==null?void 0:n.dataBind),o.defaultValue=new ik(n==null?void 0:n.defaultValue);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Fu.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var l;o.scriptEcho=(l=n==null?void 0:n.scriptEcho)!==null&&l!==void 0?l:[];var f;o.scriptSrc=(f=n==null?void 0:n.scriptSrc)!==null&&f!==void 0?f:"";var y;return o.calcOnMounted=(y=n==null?void 0:n.calcOnMounted)!==null&&y!==void 0?y:!1,o}return t}(D);zt(ku,"Rules",yV),zt(ku,"RuntimeRules",sV);function pV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dV(e,t,n){return t=Ye(t),gV(e,y$()?Reflect.construct(t,n||[],Ye(e).constructor):t.apply(e,n))}function vV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function hV(e,t,n){return t&&_$(e.prototype,t),n&&_$(e,n),e}function Du(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xu(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?xu=Reflect.get:xu=function(r,i,u){var c=mV(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},xu(e,t,n||e)}function Ye(e){return Ye=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ye(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&&np(e,t)}function gV(e,t){return t&&(OV(t)==="object"||typeof t=="function")?t:pV(e)}function np(e,t){return np=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},np(e,t)}function mV(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ye(e),e!==null););return e}function OV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function y$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(y$=function(){return!!e})()}var Fu=function(e){bV(t,e);function t(n){vV(this,t);var o;return o=dV(this,t,[n]),Du(o,"props",void 0),o.props=new ku(n==null?void 0:n.props),o}return hV(t,[{key:"toDataBindModel",value:function(o){var r=xu(Ye(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.precision,c=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=c}return r}}],[{key:"controlName",get:function(){return"\u8BA1\u7B97\u516C\u5F0F"}},{key:"controlType",get:function(){return"calc"}},{key:"controlIcon",get:function(){return"iconcalculation_new"}}]),t}(x);Du(Fu,"controlEventKeys",["on_change"]),Du(Fu,"controlFieldType",g.CALC),Du(Fu,"setting",[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"calc-on-mounted",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[_.SHOW_UPPER_CASE,_.MICROMETER,_.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function wV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $V(e,t,n){return t=ju(t),TV(e,d$()?Reflect.construct(t,n||[],ju(e).constructor):t.apply(e,n))}function PV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function EV(e,t,n){return t&&s$(e.prototype,t),n&&s$(e,n),e}function p$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ju(e){return ju=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ju(e)}function SV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&op(e,t)}function TV(e,t){return t&&(RV(t)==="object"||typeof t=="function")?t:wV(e)}function op(e,t){return op=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},op(e,t)}function RV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function d$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(d$=function(){return!!e})()}var BV=function(e){SV(t,e);function t(n){PV(this,t);var o;return o=$V(this,t,[n]),p$(o,"props",void 0),o.props=new ku(n==null?void 0:n.props),o}return EV(t,null,[{key:"controlType",get:function(){return"calc"}}]),t}(F);p$(BV,"controlFieldType",g.CALC);function IV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v$(e,t,n){return t=Lu(t),AV(e,g$()?Reflect.construct(t,n||[],Lu(e).constructor):t.apply(e,n))}function h$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lu(e){return Lu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lu(e)}function b$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rp(e,t)}function AV(e,t){return t&&(kV(t)==="object"||typeof t=="function")?t:IV(e)}function rp(e,t){return rp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rp(e,t)}function kV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function g$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(g$=function(){return!!e})()}var DV=function(e){b$(t,e);function t(n){h$(this,t);var o;return o=v$(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o.push({validator:function(i,u){if(n.required){var c=u.every(function(a){return!a});return c?Promise.reject(d.getMessage("runtimeRequired",{caption:n.caption})):Promise.resolve()}else return Promise.resolve()}}),o}return t}(z),ip=function(e){b$(t,e);function t(n){h$(this,t);var o;o=v$(this,t,[n]),tn(o,"rangeMin",void 0),tn(o,"rangeMax",void 0),tn(o,"placeholderStart",void 0),tn(o,"placeholderEnd",void 0),tn(o,"defaultValue",void 0);var r;o.defaultValue=(r=n==null?void 0:n.defaultValue)!==null&&r!==void 0?r:["",""];var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var u;o.rangeMax=(u=n==null?void 0:n.rangeMax)!==null&&u!==void 0?u:"";var c;o.placeholderStart=(c=n==null?void 0:n.placeholderStart)!==null&&c!==void 0?c:"\u6700\u5C0F\u503C";var a;o.placeholderEnd=(a=n==null?void 0:n.placeholderEnd)!==null&&a!==void 0?a:"\u6700\u5927\u503C";var l;return o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:lp.controlName,o}return t}(D);tn(ip,"RuntimeRules",DV);function xV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FV(e,t,n){return t=Mu(t),NV(e,O$()?Reflect.construct(t,n||[],Mu(e).constructor):t.apply(e,n))}function jV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function LV(e,t,n){return t&&m$(e.prototype,t),n&&m$(e,n),e}function up(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mu(e){return Mu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mu(e)}function MV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cp(e,t)}function NV(e,t){return t&&(VV(t)==="object"||typeof t=="function")?t:xV(e)}function cp(e,t){return cp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cp(e,t)}function VV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function O$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(O$=function(){return!!e})()}var lp=function(e){MV(t,e);function t(n){jV(this,t);var o;return o=FV(this,t,[n]),up(o,"props",void 0),o.props=new ip(n==null?void 0:n.props),o}return LV(t,null,[{key:"controlName",get:function(){return"\u6570\u5B57\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconshuziqujian"}},{key:"controlType",get:function(){return"search-number-range"}}]),t}(x);up(lp,"controlFieldType",g.DECIMAL_RANGE),up(lp,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function zV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HV(e,t,n){return t=Nu(t),WV(e,P$()?Reflect.construct(t,n||[],Nu(e).constructor):t.apply(e,n))}function qV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function UV(e,t,n){return t&&w$(e.prototype,t),n&&w$(e,n),e}function $$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nu(e){return Nu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nu(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&&ap(e,t)}function WV(e,t){return t&&(KV(t)==="object"||typeof t=="function")?t:zV(e)}function ap(e,t){return ap=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ap(e,t)}function KV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function P$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(P$=function(){return!!e})()}var GV=function(e){CV(t,e);function t(n){qV(this,t);var o;return o=HV(this,t,[n]),$$(o,"props",void 0),o.props=new ip(n==null?void 0:n.props),o}return UV(t,null,[{key:"controlType",get:function(){return"search-number-range"}}]),t}(F);$$(GV,"controlFieldType",g.DECIMAL_RANGE);function XV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E$(e,t,n){return t=Vu(t),JV(e,R$()?Reflect.construct(t,n||[],Vu(e).constructor):t.apply(e,n))}function S$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vu(e){return Vu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vu(e)}function T$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fp(e,t)}function JV(e,t){return t&&(QV(t)==="object"||typeof t=="function")?t:XV(e)}function fp(e,t){return fp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fp(e,t)}function QV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function R$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(R$=function(){return!!e})()}var ZV=function(e){T$(t,e);function t(n){S$(this,t);var o;return o=E$(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),n.required&&!n.isHide&&o.push({type:"array",fields:{0:{type:"string",required:n.required,message:o[0].message},1:{type:"string",required:n.required,message:o[0].message}}}),o}return t}(z),_p=function(e){T$(t,e);function t(n){S$(this,t);var o,r;o=E$(this,t,[n]),jt(o,"rangeMin",void 0),jt(o,"rangeMax",void 0),jt(o,"placeholderStart",void 0),jt(o,"placeholderEnd",void 0),jt(o,"dateType",void 0),jt(o,"dateFormat",void 0),jt(o,"commonTimeSetting",void 0),jt(o,"setValueType",void 0),jt(o,"defaultValue",void 0),jt(o,"limitDateList",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:["",""];var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:oe.DATE;var c;o.dateFormat=(c=n==null?void 0:n.dateFormat)!==null&&c!==void 0?c:"";var a;o.commonTimeSetting=(a=n==null?void 0:n.commonTimeSetting)!==null&&a!==void 0?a:[];var l;o.setValueType=(l=n==null?void 0:n.setValueType)!==null&&l!==void 0?l:"custom";var f;o.rangeMin=(f=n==null?void 0:n.rangeMin)!==null&&f!==void 0?f:"";var y;o.rangeMax=(y=n==null?void 0:n.rangeMax)!==null&&y!==void 0?y:"";var p;o.placeholderStart=(p=n==null?void 0:n.placeholderStart)!==null&&p!==void 0?p:"\u5F00\u59CB\u65E5\u671F";var b;o.placeholderEnd=(b=n==null?void 0:n.placeholderEnd)!==null&&b!==void 0?b:"\u7ED3\u675F\u65E5\u671F";var O;o.caption=(O=n==null?void 0:n.caption)!==null&&O!==void 0?O:pp.controlName;var m;return o.limitDateList=(m=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function(w){return new Jf(w)}))!==null&&m!==void 0?m:[],o}return t}(D);jt(_p,"RuntimeRules",ZV);function YV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tz(e,t,n){return t=zu(t),rz(e,I$()?Reflect.construct(t,n||[],zu(e).constructor):t.apply(e,n))}function ez(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function B$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function nz(e,t,n){return t&&B$(e.prototype,t),n&&B$(e,n),e}function yp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zu(e){return zu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zu(e)}function oz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sp(e,t)}function rz(e,t){return t&&(iz(t)==="object"||typeof t=="function")?t:YV(e)}function sp(e,t){return sp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sp(e,t)}function iz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function I$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(I$=function(){return!!e})()}var pp=function(e){oz(t,e);function t(n){ez(this,t);var o;return o=tz(this,t,[n]),yp(o,"props",void 0),o.props=new _p(n==null?void 0:n.props),o}return nz(t,null,[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"search-date-range"}}]),t}(x);yp(pp,"controlFieldType",g.ARRAY),yp(pp,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function uz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cz(e,t,n){return t=Hu(t),_z(e,D$()?Reflect.construct(t,n||[],Hu(e).constructor):t.apply(e,n))}function lz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function A$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function az(e,t,n){return t&&A$(e.prototype,t),n&&A$(e,n),e}function k$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hu(e){return Hu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hu(e)}function fz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dp(e,t)}function _z(e,t){return t&&(yz(t)==="object"||typeof t=="function")?t:uz(e)}function dp(e,t){return dp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dp(e,t)}function yz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function D$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(D$=function(){return!!e})()}var sz=function(e){fz(t,e);function t(n){lz(this,t);var o;return o=cz(this,t,[n]),k$(o,"props",void 0),o.props=new _p(n==null?void 0:n.props),o}return az(t,null,[{key:"controlType",get:function(){return"search-date-range"}}]),t}(F);k$(sz,"controlFieldType",g.ARRAY);function pz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vp(e,t,n){return t=qu(t),dz(e,x$()?Reflect.construct(t,n||[],qu(e).constructor):t.apply(e,n))}function hp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function en(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qu(e){return qu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qu(e)}function bp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gp(e,t)}function dz(e,t){return t&&(vz(t)==="object"||typeof t=="function")?t:pz(e)}function gp(e,t){return gp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gp(e,t)}function vz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function x$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(x$=function(){return!!e})()}var hz=function(e){bp(t,e);function t(n){hp(this,t);var o;return o=vp(this,t,[n]),o.dataBind={type:"any"},o}return t}(ut),bz=function(e){bp(t,e);function t(n){hp(this,t);var o;return o=vp(this,t,[n]),o[0]!==void 0&&(o[0].type="any"),o}return t}(z),Uu=function(e){bp(t,e);function t(n){hp(this,t);var o;o=vp(this,t,[n]),en(o,"controlExportName",void 0),en(o,"permissions",void 0),en(o,"defaultValue",void 0),en(o,"isInlineEdit",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Ku.controlName;var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:void 0;var u;o.controlExportName=(u=n==null?void 0:n.controlExportName)!==null&&u!==void 0?u:"";var c;o.permissions=(c=n==null?void 0:n.permissions)!==null&&c!==void 0?c:[];var a;return o.isInlineEdit=(a=n==null?void 0:n.isInlineEdit)!==null&&a!==void 0?a:!1,o}return t}(D);en(Uu,"Rules",hz),en(Uu,"RuntimeRules",bz);function gz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mz(e,t,n){return t=Wu(t),Pz(e,j$()?Reflect.construct(t,n||[],Wu(e).constructor):t.apply(e,n))}function Oz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function F$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function wz(e,t,n){return t&&F$(e.prototype,t),n&&F$(e,n),e}function Cu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wu(e){return Wu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wu(e)}function $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&&mp(e,t)}function Pz(e,t){return t&&(Ez(t)==="object"||typeof t=="function")?t:gz(e)}function mp(e,t){return mp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},mp(e,t)}function Ez(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function j$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(j$=function(){return!!e})()}var Ku=function(e){$z(t,e);function t(n){Oz(this,t);var o;return o=mz(this,t,[n]),Cu(o,"props",void 0),o.props=new Uu(n==null?void 0:n.props),o}return wz(t,null,[{key:"controlName",get:function(){return"Vue\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return"vue-form-item"}}]),t}(x);Cu(Ku,"controlFieldType",g.ANY),Cu(Ku,"controlEventKeys",[]),Cu(Ku,"setting",[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE,_.IS_HIDE_CAPTION,_.REQUIRED,_.IS_SHOW_CAPTION_TIP,_.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}]);function Sz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tz(e,t,n){return t=Gu(t),Az(e,N$()?Reflect.construct(t,n||[],Gu(e).constructor):t.apply(e,n))}function Rz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function L$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Bz(e,t,n){return t&&L$(e.prototype,t),n&&L$(e,n),e}function M$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gu(e){return Gu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gu(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&&Op(e,t)}function Az(e,t){return t&&(kz(t)==="object"||typeof t=="function")?t:Sz(e)}function Op(e,t){return Op=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Op(e,t)}function kz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function N$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(N$=function(){return!!e})()}var Dz=function(e){Iz(t,e);function t(n){Rz(this,t);var o;return o=Tz(this,t,[n]),M$(o,"props",void 0),o.props=new Uu(n==null?void 0:n.props),o}return Bz(t,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),t}(F);M$(Dz,"controlFieldType",g.ANY);function xz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V$(e,t,n){return t=Xu(t),Fz(e,q$()?Reflect.construct(t,n||[],Xu(e).constructor):t.apply(e,n))}function z$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xu(e){return Xu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xu(e)}function H$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wp(e,t)}function Fz(e,t){return t&&(jz(t)==="object"||typeof t=="function")?t:xz(e)}function wp(e,t){return wp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wp(e,t)}function jz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function q$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(q$=function(){return!!e})()}var Lz=function(e){H$(t,e);function t(n){z$(this,t);var o;return o=V$(this,t,[n]),yt(o,"listPageBind",[{type:"object",message:d.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}]}}]),yt(o,"formBind",{type:"object",fields:{formKey:{type:"string",message:d.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return t}(Ve),$p=function(e){H$(t,e);function t(n){z$(this,t);var o;o=V$(this,t,[n]),yt(o,"options",void 0),yt(o,"optionConfig",void 0),yt(o,"defaultValue",void 0),yt(o,"listPageBind",void 0),yt(o,"datasourceBind",void 0),yt(o,"multistageFilling",void 0),yt(o,"viewFormModelType",void 0),yt(o,"canViewForm",void 0),yt(o,"formBind",void 0),yt(o,"openMultistageFilling",void 0),yt(o,"showSelectedDetail",void 0),yt(o,"selectedContentConfig",void 0);var r;o.options=Xt((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[]);var i;o.optionConfig=(i=n==null?void 0:n.optionConfig)!==null&&i!==void 0?i:"datasource",o.listPageBind=new Ka(n==null?void 0:n.listPageBind),o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Zu.controlName;var c;o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:"\u8BF7\u9009\u62E9";var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:"";var l;o.openMultistageFilling=(l=n==null?void 0:n.openMultistageFilling)!==null&&l!==void 0?l:!1;var f;o.showSelectedDetail=(f=n==null?void 0:n.showSelectedDetail)!==null&&f!==void 0?f:!1,o.selectedContentConfig=new Qa(n==null?void 0:n.selectedContentConfig),o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(b){var O;(O=o.multistageFilling)===null||O===void 0||O.push(new st(b))}));var y;o.canViewForm=(y=n==null?void 0:n.canViewForm)!==null&&y!==void 0?y:!1;var p;return o.viewFormModelType=(p=n==null?void 0:n.viewFormModelType)!==null&&p!==void 0?p:"window",o.formBind=new Me(n==null?void 0:n.formBind),o}return t}(D);yt($p,"Rules",Lz);function Mz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nz(e,t,n){return t=Qu(t),qz(e,C$()?Reflect.construct(t,n||[],Qu(e).constructor):t.apply(e,n))}function Vz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function U$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function zz(e,t,n){return t&&U$(e.prototype,t),n&&U$(e,n),e}function Ju(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qu(e){return Qu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qu(e)}function Hz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pp(e,t)}function qz(e,t){return t&&(Uz(t)==="object"||typeof t=="function")?t:Mz(e)}function Pp(e,t){return Pp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Pp(e,t)}function Uz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function C$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(C$=function(){return!!e})()}var Zu=function(e){Hz(t,e);function t(n){Vz(this,t);var o;return o=Nz(this,t,[n]),Ju(o,"props",void 0),o.props=new $p(n==null?void 0:n.props),o}return zz(t,null,[{key:"controlName",get:function(){return"\u5173\u8054\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconguanliandanxuan"}},{key:"controlType",get:function(){return"select-relation"}}]),t}(x);Ju(Zu,"controlFieldType",g.VARCHAR),Ju(Zu,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0,showItems:[_.CAN_VIEW_FORM,_.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]),Ju(Zu,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);function Cz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wz(e,t,n){return t=Yu(t),Jz(e,G$()?Reflect.construct(t,n||[],Yu(e).constructor):t.apply(e,n))}function Kz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function W$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Gz(e,t,n){return t&&W$(e.prototype,t),n&&W$(e,n),e}function K$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yu(e){return Yu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yu(e)}function Xz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ep(e,t)}function Jz(e,t){return t&&(Qz(t)==="object"||typeof t=="function")?t:Cz(e)}function Ep(e,t){return Ep=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ep(e,t)}function Qz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function G$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(G$=function(){return!!e})()}var Zz=function(e){Xz(t,e);function t(n){Kz(this,t);var o;return o=Wz(this,t,[n]),K$(o,"props",void 0),o.props=new $p(n==null?void 0:n.props),o}return Gz(t,null,[{key:"controlType",get:function(){return"select-relation"}}]),t}(F);K$(Zz,"controlFieldType",g.VARCHAR);function Yz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tH(e,t,n){return t=tc(t),oH(e,X$()?Reflect.construct(t,n||[],tc(e).constructor):t.apply(e,n))}function eH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tc(e){return tc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tc(e)}function nH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sp(e,t)}function oH(e,t){return t&&(rH(t)==="object"||typeof t=="function")?t:Yz(e)}function Sp(e,t){return Sp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sp(e,t)}function rH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function X$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(X$=function(){return!!e})()}var J$=function(e){nH(t,e);function t(n){return eH(this,t),tH(this,t,[n])}return t}(io);function iH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uH(e,t,n){return t=ec(t),fH(e,Y$()?Reflect.construct(t,n||[],ec(e).constructor):t.apply(e,n))}function cH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Q$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function lH(e,t,n){return t&&Q$(e.prototype,t),n&&Q$(e,n),e}function Z$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ec(e){return ec=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ec(e)}function 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&&Tp(e,t)}function fH(e,t){return t&&(_H(t)==="object"||typeof t=="function")?t:iH(e)}function Tp(e,t){return Tp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Tp(e,t)}function _H(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Y$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Y$=function(){return!!e})()}var yH=function(e){aH(t,e);function t(n){cH(this,t);var o;return o=uH(this,t,[n]),Z$(o,"props",void 0),o.props=new J$(n==null?void 0:n.props),o}return lH(t,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),t}(uo);Z$(yH,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED]},{key:"super-setting",visible:!0}]);function sH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pH(e,t,n){return t=nc(t),bH(e,nP()?Reflect.construct(t,n||[],nc(e).constructor):t.apply(e,n))}function dH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function vH(e,t,n){return t&&tP(e.prototype,t),n&&tP(e,n),e}function eP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nc(e){return nc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nc(e)}function hH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rp(e,t)}function bH(e,t){return t&&(gH(t)==="object"||typeof t=="function")?t:sH(e)}function Rp(e,t){return Rp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rp(e,t)}function gH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(nP=function(){return!!e})()}var mH=function(e){hH(t,e);function t(n){dH(this,t);var o;return o=pH(this,t,[n]),eP(o,"props",void 0),o.props=new J$(n==null?void 0:n.props),o}return vH(t,null,[{key:"controlType",get:function(){return"search-input"}}]),t}(F);eP(mH,"controlFieldType",g.VARCHAR);function OH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bp(e,t,n){return t=oc(t),wH(e,oP()?Reflect.construct(t,n||[],oc(e).constructor):t.apply(e,n))}function Ip(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oc(e){return oc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oc(e)}function Ap(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kp(e,t)}function wH(e,t){return t&&($H(t)==="object"||typeof t=="function")?t:OH(e)}function kp(e,t){return kp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kp(e,t)}function $H(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(oP=function(){return!!e})()}var PH=function(e){Ap(t,e);function t(n){Ip(this,t);var o;return o=Bp(this,t,[n]),q(o,"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),Io.call(o,n,$e.controlCustomAttributes,!0),o.datasourceBind[1].fields&&(o.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:d.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:d.getMessage("rootNodeIsRequired")}}}]),o}return t}(ut),EH=function(e){Ap(t,e);function t(n){Ip(this,t);var o;return o=Bp(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(z),rc=function(e){Ap(t,e);function t(n){Ip(this,t);var o,r;o=Bp(this,t,[n]),q(o,"placeholder",void 0),q(o,"multiple",void 0),q(o,"canSearch",void 0),q(o,"levelType",void 0),q(o,"optionalLevel",void 0),q(o,"containsSubNode",void 0),q(o,"defaultDisplay",void 0),q(o,"isShowIncludeSub",void 0),q(o,"isDefaultCheckSub",void 0),q(o,"isShowFilterItem",void 0),q(o,"defaultCollapse",void 0),q(o,"defaultCollapseLevel",void 0),q(o,"optionConfig","datasource"),q(o,"datasourceBind",void 0),q(o,"filterItemDatasourceBind",void 0),q(o,"multistageFilling",void 0),q(o,"defaultValue",void 0),q(o,"openMultistageFilling",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:$e.controlName;var u;o.placeholder=(u=n==null?void 0:n.placeholder)!==null&&u!==void 0?u:"\u8BF7\u9009\u62E9";var c;o.multiple=(c=n==null?void 0:n.multiple)!==null&&c!==void 0?c:!1;var a;o.canSearch=(a=n==null?void 0:n.canSearch)!==null&&a!==void 0?a:!0;var l;o.levelType=(l=n==null?void 0:n.levelType)!==null&&l!==void 0?l:"all";var f;o.optionalLevel=(f=n==null?void 0:n.optionalLevel)!==null&&f!==void 0?f:1;var y;o.containsSubNode=(y=n==null?void 0:n.containsSubNode)!==null&&y!==void 0?y:!1;var p;o.isShowFilterItem=(p=n==null?void 0:n.isShowFilterItem)!==null&&p!==void 0?p:!1;var b;o.isShowIncludeSub=(b=n==null?void 0:n.isShowIncludeSub)!==null&&b!==void 0?b:!1;var O;o.isDefaultCheckSub=(O=n==null?void 0:n.isDefaultCheckSub)!==null&&O!==void 0?O:!1;var m;o.defaultCollapse=(m=n==null?void 0:n.defaultCollapse)!==null&&m!==void 0?m:"all";var w;o.defaultCollapseLevel=(w=n==null?void 0:n.defaultCollapseLevel)!==null&&w!==void 0?w:1;var h;o.datasourceBind=new k0((h=n==null?void 0:n.datasourceBind)!==null&&h!==void 0?h:{attributes:$e.controlCustomAttributes});var $;o.filterItemDatasourceBind=new k0(($=n==null?void 0:n.filterItemDatasourceBind)!==null&&$!==void 0?$:{attributes:$e.controlCustomAttributes});var P;o.openMultistageFilling=(P=n==null?void 0:n.openMultistageFilling)!==null&&P!==void 0?P:!1;var E;o.defaultDisplay=(E=n==null?void 0:n.defaultDisplay)!==null&&E!==void 0?E:!1;var T;o.multistageFilling=(T=n==null||(r=n.multistageFilling)===null||r===void 0?void 0:r.map(function(A){return new st(A)}))!==null&&T!==void 0?T:[];var j;return o.defaultValue=(j=n==null?void 0:n.defaultValue)!==null&&j!==void 0?j:[],o}return t}(D);q(rc,"Rules",PH),q(rc,"RuntimeRules",EH);function SH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TH(e,t,n){return t=uc(t),AH(e,iP()?Reflect.construct(t,n||[],uc(e).constructor):t.apply(e,n))}function RH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function BH(e,t,n){return t&&rP(e.prototype,t),n&&rP(e,n),e}function ic(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uc(e){return uc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},uc(e)}function IH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dp(e,t)}function AH(e,t){return t&&(kH(t)==="object"||typeof t=="function")?t:SH(e)}function Dp(e,t){return Dp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dp(e,t)}function kH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(iP=function(){return!!e})()}var $e=function(e){IH(t,e);function t(n){RH(this,t);var o;return o=TH(this,t,[n]),ic(o,"props",void 0),o.props=new rc(n==null?void 0:n.props),o}return BH(t,null,[{key:"controlName",get:function(){return"\u6811"}},{key:"controlIcon",get:function(){return"icontree"}},{key:"controlType",get:function(){return"tree"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}]),t}(x);ic($e,"controlEventKeys",["on_change","on_click"]),ic($e,"controlFieldType",g.ARRAY),ic($e,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.MULTIPLE,_.CAN_SEARCH,_.DEFAULT_DISPLAY,_.CONTAINS_SUB_NODE,_.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 DH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xH(e,t,n){return t=cc(t),MH(e,lP()?Reflect.construct(t,n||[],cc(e).constructor):t.apply(e,n))}function FH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function jH(e,t,n){return t&&uP(e.prototype,t),n&&uP(e,n),e}function cP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cc(e){return cc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cc(e)}function LH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xp(e,t)}function MH(e,t){return t&&(NH(t)==="object"||typeof t=="function")?t:DH(e)}function xp(e,t){return xp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xp(e,t)}function NH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(lP=function(){return!!e})()}var VH=function(e){LH(t,e);function t(n){FH(this,t);var o;return o=xH(this,t,[n]),cP(o,"props",void 0),o.props=new rc(n==null?void 0:n.props),o}return jH(t,null,[{key:"controlType",get:function(){return"tree"}}]),t}(F);cP(VH,"controlFieldType",g.ARRAY);function zH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fp(e,t,n){return t=lc(t),HH(e,aP()?Reflect.construct(t,n||[],lc(e).constructor):t.apply(e,n))}function jp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ot(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lc(e){return lc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},lc(e)}function Lp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mp(e,t)}function HH(e,t){return t&&(qH(t)==="object"||typeof t=="function")?t:zH(e)}function Mp(e,t){return Mp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Mp(e,t)}function qH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(aP=function(){return!!e})()}var UH=function(e){Lp(t,e);function t(n){jp(this,t);var o;return o=Fp(this,t,[n]),ot(o,"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),ot(o,"externalScope",{type:"any"}),Io.call(o,n,lo.controlCustomAttributes),n.externalType===pe.ASSIGN&&(o.externalScope={type:"array",required:!0,message:d.getMessage("pleaseAssignExternal")}),o}return t}(ut),CH=function(e){Lp(t,e);function t(n){jp(this,t);var o;return o=Fp(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(z),ac=function(e){Lp(t,e);function t(n){jp(this,t);var o;o=Fp(this,t,[n]),ot(o,"showType",void 0),ot(o,"range",void 0),ot(o,"rangeOptions",void 0),ot(o,"multiple",void 0),ot(o,"defaultValueType",void 0),ot(o,"defaultValue",void 0),ot(o,"multistageFilling",void 0),ot(o,"datasourceBind",void 0),ot(o,"datasourceType",void 0),ot(o,"insideType",void 0),ot(o,"externalType",void 0),ot(o,"externalScope",void 0),ot(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.range=(i=n==null?void 0:n.range)!==null&&i!==void 0?i:"all";var u;o.rangeOptions=(u=n==null?void 0:n.rangeOptions)!==null&&u!==void 0?u:[];var c;o.multiple=(c=n==null?void 0:n.multiple)!==null&&c!==void 0?c:!1;var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:lo.controlName;var y;o.placeholder=(y=n==null?void 0:n.placeholder)!==null&&y!==void 0?y:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var p;o.datasourceBind=new So((p=n==null?void 0:n.datasourceBind)!==null&&p!==void 0?p:{attributes:lo.controlCustomAttributes});var b;o.datasourceType=(b=n==null?void 0:n.datasourceType)!==null&&b!==void 0?b:t_.INTERNAL;var O;o.insideType=(O=n==null?void 0:n.insideType)!==null&&O!==void 0?O:e_.ADMIN;var m;o.externalType=(m=n==null?void 0:n.externalType)!==null&&m!==void 0?m:pe.ALL;var w;o.externalScope=(w=n==null?void 0:n.externalScope)!==null&&w!==void 0?w:[];var h;return o.openMultistageFilling=(h=n==null?void 0:n.openMultistageFilling)!==null&&h!==void 0?h:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function($){var P;(P=o.multistageFilling)===null||P===void 0||P.push(new st($))})),o}return t}(D);ot(ac,"Rules",UH),ot(ac,"RuntimeRules",CH);function WH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KH(e,t,n){return t=fc(t),QH(e,_P()?Reflect.construct(t,n||[],fc(e).constructor):t.apply(e,n))}function GH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function XH(e,t,n){return t&&fP(e.prototype,t),n&&fP(e,n),e}function Np(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fc(e){return fc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fc(e)}function JH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vp(e,t)}function QH(e,t){return t&&(ZH(t)==="object"||typeof t=="function")?t:WH(e)}function Vp(e,t){return Vp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vp(e,t)}function ZH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _P(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_P=function(){return!!e})()}var lo=function(e){JH(t,e);function t(n){GH(this,t);var o;return o=KH(this,t,[n]),Np(o,"props",void 0),o.props=new ac(n==null?void 0:n.props),o}return XH(t,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),t}(x);Np(lo,"controlFieldType",g.EMPLOYEES),Np(lo,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.MULTIPLE,_.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 YH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tq(e,t,n){return t=_c(t),rq(e,pP()?Reflect.construct(t,n||[],_c(e).constructor):t.apply(e,n))}function eq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function nq(e,t,n){return t&&yP(e.prototype,t),n&&yP(e,n),e}function sP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _c(e){return _c=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_c(e)}function oq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zp(e,t)}function rq(e,t){return t&&(iq(t)==="object"||typeof t=="function")?t:YH(e)}function zp(e,t){return zp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zp(e,t)}function iq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(pP=function(){return!!e})()}var uq=function(e){oq(t,e);function t(n){eq(this,t);var o;return o=tq(this,t,[n]),sP(o,"props",void 0),o.props=new ac(n==null?void 0:n.props),o}return nq(t,null,[{key:"controlType",get:function(){return"employee2"}}]),t}(F);sP(uq,"controlFieldType",g.EMPLOYEES);function cq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dP(e,t,n){return t=yc(t),lq(e,bP()?Reflect.construct(t,n||[],yc(e).constructor):t.apply(e,n))}function vP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ht(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yc(e){return yc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yc(e)}function hP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hp(e,t)}function lq(e,t){return t&&(aq(t)==="object"||typeof t=="function")?t:cq(e)}function Hp(e,t){return Hp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hp(e,t)}function aq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(bP=function(){return!!e})()}var fq=function(e){hP(t,e);function t(n){vP(this,t);var o;return o=dP(this,t,[n]),Ht(o,"signatureConfig",void 0),o.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fields:n.signatureConfig.undersignedList.reduce(function(r,i,u){return r[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator:function(a,l,f){if(i.type==="public"&&Na(l.value)&&l.value.length===0){f("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}f()}},company:{type:"object",required:!0,validator:function(a,l,f){if(i.type==="public"&&i.signatureType.includes("company")&&Na(l.value)&&l.value.length===0){f("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}f()}}}},r},{})}}},o}return t}(ut),qp=function(e){hP(t,e);function t(n){vP(this,t);var o;o=dP(this,t,[n]),Ht(o,"buttonType",void 0),Ht(o,"content",void 0),Ht(o,"showType",void 0),Ht(o,"color",void 0),Ht(o,"icon",void 0),Ht(o,"command",""),Ht(o,"isLoading",!1),Ht(o,"signatureConfig",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:dc.controlName;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u53D1\u8D77\u7B7E\u7F72";var u;o.buttonType=(u=n==null?void 0:n.buttonType)!==null&&u!==void 0?u:"primary";var c;o.showType=(c=n==null?void 0:n.showType)!==null&&c!==void 0?c:"text";var a;o.color=(a=n==null?void 0:n.color)!==null&&a!==void 0?a:"primary";var l;return o.icon=(l=n==null?void 0:n.icon)!==null&&l!==void 0?l:"iconfenlei2",o.signatureConfig=new Gx(n==null?void 0:n.signatureConfig),o}return t}(D);Ht(qp,"Rules",fq);function _q(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yq(e,t,n){return t=pc(t),vq(e,mP()?Reflect.construct(t,n||[],pc(e).constructor):t.apply(e,n))}function sq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function pq(e,t,n){return t&&gP(e.prototype,t),n&&gP(e,n),e}function sc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pc(e){return pc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pc(e)}function 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&&Up(e,t)}function vq(e,t){return t&&(hq(t)==="object"||typeof t=="function")?t:_q(e)}function Up(e,t){return Up=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Up(e,t)}function hq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(mP=function(){return!!e})()}var dc=function(e){dq(t,e);function t(n){sq(this,t);var o;return o=yq(this,t,[n]),sc(o,"props",void 0),o.props=new qp(n==null?void 0:n.props),o}return pq(t,null,[{key:"controlName",get:function(){return"\u7535\u5B50\u7B7E\u7AE0"}},{key:"controlIcon",get:function(){return"icondianziqianzhang"}},{key:"controlType",get:function(){return"electronic-signature"}}]),t}(x);sc(dc,"controlEventKeys",["on_click","on_click_finish"]),sc(dc,"controlFieldType",g.VARCHAR),sc(dc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[_.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 bq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gq(e,t,n){return t=vc(t),$q(e,$P()?Reflect.construct(t,n||[],vc(e).constructor):t.apply(e,n))}function mq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Oq(e,t,n){return t&&OP(e.prototype,t),n&&OP(e,n),e}function wP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vc(e){return vc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vc(e)}function wq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cp(e,t)}function $q(e,t){return t&&(Pq(t)==="object"||typeof t=="function")?t:bq(e)}function Cp(e,t){return Cp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cp(e,t)}function Pq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $P(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return($P=function(){return!!e})()}var Eq=function(e){wq(t,e);function t(n){mq(this,t);var o;return o=gq(this,t,[n]),wP(o,"props",void 0),o.props=new qp(n==null?void 0:n.props),o}return Oq(t,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),t}(F);wP(Eq,"controlFieldType",g.VARCHAR);function Sq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wp(e,t,n){return t=hc(t),Tq(e,PP()?Reflect.construct(t,n||[],hc(e).constructor):t.apply(e,n))}function Kp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hc(e){return hc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hc(e)}function Gp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xp(e,t)}function Tq(e,t){return t&&(Rq(t)==="object"||typeof t=="function")?t:Sq(e)}function Xp(e,t){return Xp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xp(e,t)}function Rq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(PP=function(){return!!e})()}var Bq=function(e){Gp(t,e);function t(n){Kp(this,t);var o;return o=Wp(this,t,[n]),rt(o,"content",{type:"string",required:!0,message:d.getMessage("pleaseEnterButtonContent")}),rt(o,"canAdd",void 0),rt(o,"wpsSetting",{type:"object",fields:{watermark:{type:"object",validator:function(i,u,c){if(u.active&&!u.text){c(d.getMessage("pleaseEnterWatermark"));return}c()}},autoRename:{type:"object",validator:function(i,u,c){if(u.active&&!u.text){c(d.getMessage("pleaseEnterFileName"));return}c()}}}}),o.canAdd={type:"boolean",validator:function(i,u,c){if(n.canAdd&&!n.addLocal&&!n.addOnline){c(d.getMessage("pleaseChooseAtLeastOne"));return}c()}},o}return t}(ut),Iq=function(e){Gp(t,e);function t(n){Kp(this,t);var o;return o=Wp(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(z),bc=function(e){Gp(t,e);function t(n){Kp(this,t);var o;o=Wp(this,t,[n]),rt(o,"content",void 0),rt(o,"canAdd",void 0),rt(o,"addLocal",void 0),rt(o,"addOnline",void 0),rt(o,"canDownload",void 0),rt(o,"canEdit",void 0),rt(o,"canExport",void 0),rt(o,"canDelete",void 0),rt(o,"wpsSetting",void 0),rt(o,"maxSize",void 0),rt(o,"defaultValue",void 0),rt(o,"revisionsMode",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Oc.controlName;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u65B0\u5EFA\u6587\u6863";var u;o.canAdd=(u=n==null?void 0:n.canAdd)!==null&&u!==void 0?u:!0;var c;o.addLocal=(c=n==null?void 0:n.addLocal)!==null&&c!==void 0?c:!0;var a;o.addOnline=(a=n==null?void 0:n.addOnline)!==null&&a!==void 0?a:!0;var l;o.canEdit=(l=n==null?void 0:n.canEdit)!==null&&l!==void 0?l:!0;var f;o.canDownload=(f=n==null?void 0:n.canDownload)!==null&&f!==void 0?f:!0;var y;o.canExport=(y=n==null?void 0:n.canExport)!==null&&y!==void 0?y:!0;var p;o.canDelete=(p=n==null?void 0:n.canDelete)!==null&&p!==void 0?p:!1;var b;o.maxSize=(b=n==null?void 0:n.maxSize)!==null&&b!==void 0?b:D7;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:[],o.wpsSetting=new Xx(n==null?void 0:n.wpsSetting);var m;return o.revisionsMode=(m=n==null?void 0:n.revisionsMode)!==null&&m!==void 0?m:!1,o}return t}(D);rt(bc,"Rules",Bq),rt(bc,"RuntimeRules",Iq);function Aq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kq(e,t,n){return t=mc(t),jq(e,SP()?Reflect.construct(t,n||[],mc(e).constructor):t.apply(e,n))}function Dq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function EP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function xq(e,t,n){return t&&EP(e.prototype,t),n&&EP(e,n),e}function gc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mc(e){return mc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mc(e)}function 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&&Jp(e,t)}function jq(e,t){return t&&(Lq(t)==="object"||typeof t=="function")?t:Aq(e)}function Jp(e,t){return Jp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jp(e,t)}function Lq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(SP=function(){return!!e})()}var Oc=function(e){Fq(t,e);function t(n){Dq(this,t);var o;return o=kq(this,t,[n]),gc(o,"props",void 0),o.props=new bc(n==null?void 0:n.props),o}return xq(t,null,[{key:"controlName",get:function(){return"\u5728\u7EBF\u6587\u6863"}},{key:"controlIcon",get:function(){return"iconwps"}},{key:"controlType",get:function(){return"wps"}}]),t}(x);gc(Oc,"controlEventKeys",["on_change","on_wps_open"]),gc(Oc,"controlFieldType",g.FILE),gc(Oc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_SHOW_CAPTION_TIP,_.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 Mq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nq(e,t,n){return t=wc(t),qq(e,BP()?Reflect.construct(t,n||[],wc(e).constructor):t.apply(e,n))}function Vq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function zq(e,t,n){return t&&TP(e.prototype,t),n&&TP(e,n),e}function RP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wc(e){return wc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wc(e)}function 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&&Qp(e,t)}function qq(e,t){return t&&(Uq(t)==="object"||typeof t=="function")?t:Mq(e)}function Qp(e,t){return Qp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qp(e,t)}function Uq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(BP=function(){return!!e})()}var Cq=function(e){Hq(t,e);function t(n){Vq(this,t);var o;return o=Nq(this,t,[n]),RP(o,"props",void 0),o.props=new bc(n==null?void 0:n.props),o}return zq(t,null,[{key:"controlType",get:function(){return"wps"}}]),t}(F);RP(Cq,"controlFieldType",g.FILE);function Wq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zp(e,t,n){return t=$c(t),Kq(e,IP()?Reflect.construct(t,n||[],$c(e).constructor):t.apply(e,n))}function Yp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $c(e){return $c=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$c(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&&ed(e,t)}function Kq(e,t){return t&&(Gq(t)==="object"||typeof t=="function")?t:Wq(e)}function ed(e,t){return ed=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ed(e,t)}function Gq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(IP=function(){return!!e})()}var Xq=function(e){td(t,e);function t(n){Yp(this,t);var o;return o=Zp(this,t,[n]),J(o,"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),J(o,"businessScope",{type:"any"}),Io.call(o,n,on.controlCustomAttributes),n.businessType===pe.ASSIGN&&(o.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")}),o}return t}(ut),Jq=function(e){td(t,e);function t(n){Yp(this,t);var o;return o=Zp(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(z),Pc=function(e){td(t,e);function t(n){Yp(this,t);var o;o=Zp(this,t,[n]),J(o,"showType",void 0),J(o,"range",void 0),J(o,"defaultValueType",void 0),J(o,"multiple",void 0),J(o,"rangeOptions",void 0),J(o,"defaultValue",void 0),J(o,"displayLevel",void 0),J(o,"showSubDept",void 0),J(o,"multistageFilling",void 0),J(o,"datasourceBind",void 0),J(o,"datasourceType",void 0),J(o,"businessType",void 0),J(o,"businessScope",void 0),J(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1;var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var c;o.defaultValueType=(c=n==null?void 0:n.defaultValueType)!==null&&c!==void 0?c:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var f;o.displayLevel=(f=n==null?void 0:n.displayLevel)!==null&&f!==void 0?f:1;var y;o.showSubDept=(y=n==null?void 0:n.showSubDept)!==null&&y!==void 0?y:!0;var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:on.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u8BF7\u9009\u62E9\u90E8\u95E8";var O;o.datasourceBind=new So((O=n==null?void 0:n.datasourceBind)!==null&&O!==void 0?O:{attributes:on.controlCustomAttributes});var m;o.datasourceType=(m=n==null?void 0:n.datasourceType)!==null&&m!==void 0?m:nr.INTERNAL;var w;o.businessScope=(w=n==null?void 0:n.businessScope)!==null&&w!==void 0?w:[];var h;o.businessType=(h=n==null?void 0:n.businessType)!==null&&h!==void 0?h:pe.ALL;var $;return o.openMultistageFilling=($=n==null?void 0:n.openMultistageFilling)!==null&&$!==void 0?$:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(P){var E;(E=o.multistageFilling)===null||E===void 0||E.push(new st(P))})),o}return t}(D);J(Pc,"Rules",Xq),J(Pc,"RuntimeRules",Jq);function Qq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zq(e,t,n){return t=nn(t),nU(e,kP()?Reflect.construct(t,n||[],nn(e).constructor):t.apply(e,n))}function Yq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function tU(e,t,n){return t&&AP(e.prototype,t),n&&AP(e,n),e}function Ec(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sc(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Sc=Reflect.get:Sc=function(r,i,u){var c=oU(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Sc(e,t,n||e)}function nn(e){return nn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nn(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&&nd(e,t)}function nU(e,t){return t&&(rU(t)==="object"||typeof t=="function")?t:Qq(e)}function nd(e,t){return nd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},nd(e,t)}function oU(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=nn(e),e!==null););return e}function rU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(kP=function(){return!!e})()}var on=function(e){eU(t,e);function t(n){Yq(this,t);var o;return o=Zq(this,t,[n]),Ec(o,"props",void 0),o.props=new Pc(n==null?void 0:n.props),o}return tU(t,[{key:"toDataBindModel",value:function(o){var r=Sc(nn(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.displayLevel,c=i.showSubDept;r.props.displayLevel=u,r.props.showSubDept=c}return r}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),t}(x);Ec(on,"controlName","\u90E8\u95E8"),Ec(on,"controlFieldType",g.DEPARTMENTS),Ec(on,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.MULTIPLE,_.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 iU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uU(e,t,n){return t=Tc(t),fU(e,FP()?Reflect.construct(t,n||[],Tc(e).constructor):t.apply(e,n))}function cU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function lU(e,t,n){return t&&DP(e.prototype,t),n&&DP(e,n),e}function xP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tc(e){return Tc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tc(e)}function aU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&od(e,t)}function fU(e,t){return t&&(_U(t)==="object"||typeof t=="function")?t:iU(e)}function od(e,t){return od=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},od(e,t)}function _U(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(FP=function(){return!!e})()}var yU=function(e){aU(t,e);function t(n){cU(this,t);var o;return o=uU(this,t,[n]),xP(o,"props",void 0),o.props=new Pc(n==null?void 0:n.props),o}return lU(t,null,[{key:"controlType",get:function(){return"department2"}}]),t}(F);xP(yU,"controlFieldType",g.DEPARTMENTS);function sU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rd(e,t,n){return t=Rc(t),pU(e,jP()?Reflect.construct(t,n||[],Rc(e).constructor):t.apply(e,n))}function id(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function H(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rc(e){return Rc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rc(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&&cd(e,t)}function pU(e,t){return t&&(dU(t)==="object"||typeof t=="function")?t:sU(e)}function cd(e,t){return cd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cd(e,t)}function dU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(jP=function(){return!!e})()}var vU=function(e){ud(t,e);function t(n){id(this,t);var o;return o=rd(this,t,[n]),H(o,"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),H(o,"businessScope",{type:"any"}),Io.call(o,n,un.controlCustomAttributes),n.businessType===pe.ASSIGN&&(o.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")}),o}return t}(ut),hU=function(e){ud(t,e);function t(n){id(this,t);var o;return o=rd(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(z),Bc=function(e){ud(t,e);function t(n){id(this,t);var o;o=rd(this,t,[n]),H(o,"showType",void 0),H(o,"range",void 0),H(o,"defaultValueType",void 0),H(o,"multiple",void 0),H(o,"rangeOptions",void 0),H(o,"defaultValue",void 0),H(o,"displayLevel",void 0),H(o,"showSubDept",void 0),H(o,"multistageFilling",void 0),H(o,"datasourceBind",void 0),H(o,"listPageBind",void 0),H(o,"datasourceType",void 0),H(o,"businessType",void 0),H(o,"businessScope",void 0),H(o,"organizingFunction",void 0),H(o,"organizationView",void 0),H(o,"openMultistageFilling",void 0),H(o,"showSelectedDetail",void 0),H(o,"selectedContentConfig",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1;var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all",o.listPageBind=new Ka(n==null?void 0:n.listPageBind);var c;o.defaultValueType=(c=n==null?void 0:n.defaultValueType)!==null&&c!==void 0?c:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var f;o.displayLevel=(f=n==null?void 0:n.displayLevel)!==null&&f!==void 0?f:1;var y;o.showSubDept=(y=n==null?void 0:n.showSubDept)!==null&&y!==void 0?y:!0;var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:un.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u8BF7\u9009\u62E9\u7EC4\u7EC7";var O;o.datasourceBind=new QA((O=n==null?void 0:n.datasourceBind)!==null&&O!==void 0?O:{attributes:un.controlCustomAttributes});var m;o.datasourceType=(m=n==null?void 0:n.datasourceType)!==null&&m!==void 0?m:nr.INTERNAL;var w;o.businessScope=(w=n==null?void 0:n.businessScope)!==null&&w!==void 0?w:[];var h;o.businessType=(h=n==null?void 0:n.businessType)!==null&&h!==void 0?h:pe.ALL;var $;o.organizingFunction=($=n==null?void 0:n.organizingFunction)!==null&&$!==void 0?$:void 0;var P;o.organizationView=(P=n==null?void 0:n.organizationView)!==null&&P!==void 0?P:void 0;var E;o.showSelectedDetail=(E=n==null?void 0:n.showSelectedDetail)!==null&&E!==void 0?E:!1,o.selectedContentConfig=new Qa(n==null?void 0:n.selectedContentConfig);var T;return o.openMultistageFilling=(T=n==null?void 0:n.openMultistageFilling)!==null&&T!==void 0?T:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(j){var A;(A=o.multistageFilling)===null||A===void 0||A.push(new st(j))})),o}return t}(D);H(Bc,"Rules",vU),H(Bc,"RuntimeRules",hU);function bU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gU(e,t,n){return t=rn(t),$U(e,MP()?Reflect.construct(t,n||[],rn(e).constructor):t.apply(e,n))}function mU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function OU(e,t,n){return t&&LP(e.prototype,t),n&&LP(e,n),e}function Ic(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ac(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Ac=Reflect.get:Ac=function(r,i,u){var c=PU(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Ac(e,t,n||e)}function rn(e){return rn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rn(e)}function wU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ld(e,t)}function $U(e,t){return t&&(EU(t)==="object"||typeof t=="function")?t:bU(e)}function ld(e,t){return ld=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ld(e,t)}function PU(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=rn(e),e!==null););return e}function EU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(MP=function(){return!!e})()}var un=function(e){wU(t,e);function t(n){mU(this,t);var o;return o=gU(this,t,[n]),Ic(o,"props",void 0),o.props=new Bc(n==null?void 0:n.props),o}return OU(t,[{key:"toDataBindModel",value:function(o){var r=Ac(rn(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.displayLevel,c=i.showSubDept;r.props.displayLevel=u,r.props.showSubDept=c}return r}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"organization-selection"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),t}(x);Ic(un,"controlName","\u4E1A\u52A1\u7EC4\u7EC7"),Ic(un,"controlFieldType",g.DEPARTMENTS),Ic(un,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.MULTIPLE,_.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 SU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TU(e,t,n){return t=kc(t),AU(e,zP()?Reflect.construct(t,n||[],kc(e).constructor):t.apply(e,n))}function RU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function BU(e,t,n){return t&&NP(e.prototype,t),n&&NP(e,n),e}function VP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kc(e){return kc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kc(e)}function 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&&ad(e,t)}function AU(e,t){return t&&(kU(t)==="object"||typeof t=="function")?t:SU(e)}function ad(e,t){return ad=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ad(e,t)}function kU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(zP=function(){return!!e})()}var DU=function(e){IU(t,e);function t(n){RU(this,t);var o;return o=TU(this,t,[n]),VP(o,"props",void 0),o.props=new Bc(n==null?void 0:n.props),o}return BU(t,null,[{key:"controlType",get:function(){return"organization-selection"}}]),t}(F);VP(DU,"controlFieldType",g.DEPARTMENTS);function xU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FU(e,t,n){return t=Dc(t),VU(e,qP()?Reflect.construct(t,n||[],Dc(e).constructor):t.apply(e,n))}function jU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function LU(e,t,n){return t&&HP(e.prototype,t),n&&HP(e,n),e}function MU(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Dc(e){return Dc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dc(e)}function NU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fd(e,t)}function VU(e,t){return t&&(zU(t)==="object"||typeof t=="function")?t:xU(e)}function fd(e,t){return fd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fd(e,t)}function zU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(qP=function(){return!!e})()}var HU=function(e){NU(t,e);function t(n){return jU(this,t),FU(this,t,[n])}return LU(t,null,[{key:"controlName",get:function(){return"\u753B\u5E03"}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),t}(Z);MU(HU,"excludes",[s.GRID]);function qU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UU(e,t,n){return t=xc(t),KU(e,CP()?Reflect.construct(t,n||[],xc(e).constructor):t.apply(e,n))}function CU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xc(e){return xc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xc(e)}function WU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_d(e,t)}function KU(e,t){return t&&(GU(t)==="object"||typeof t=="function")?t:qU(e)}function _d(e,t){return _d=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_d(e,t)}function GU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(CP=function(){return!!e})()}var XU=24,ao=function(e){WU(t,e);function t(n){CU(this,t);var o;o=UU(this,t,[n]),UP(o,"span",void 0),UP(o,"offset",void 0);var r;o.span=(r=n==null?void 0:n.span)!==null&&r!==void 0?r:XU;var i;return o.offset=(i=n==null?void 0:n.offset)!==null&&i!==void 0?i:0,o}return t}(Q);function JU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QU(e,t,n){return t=Fc(t),eC(e,KP()?Reflect.construct(t,n||[],Fc(e).constructor):t.apply(e,n))}function ZU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function YU(e,t,n){return t&&WP(e.prototype,t),n&&WP(e,n),e}function yd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fc(e){return Fc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fc(e)}function tC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sd(e,t)}function eC(e,t){return t&&(nC(t)==="object"||typeof t=="function")?t:JU(e)}function sd(e,t){return sd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sd(e,t)}function nC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(KP=function(){return!!e})()}var fo=function(e){tC(t,e);function t(n){ZU(this,t);var o;return o=QU(this,t,[n]),yd(o,"props",void 0),o.props=new ao(n==null?void 0:n.props),o}return YU(t,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),t}(Z);yd(fo,"excludes",[s.COL,s.CARD_GROUP,s.SUBTABLE,s.SUBTABLE_COLUMN,s.GRID_LAYOUT_CONTAINER,s.DIVIDER]),yd(fo,"childrenMaxLength",1);function oC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rC(e,t,n){return t=jc(t),aC(e,XP()?Reflect.construct(t,n||[],jc(e).constructor):t.apply(e,n))}function iC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function uC(e,t,n){return t&&GP(e.prototype,t),n&&GP(e,n),e}function cC(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jc(e){return jc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jc(e)}function lC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pd(e,t)}function aC(e,t){return t&&(fC(t)==="object"||typeof t=="function")?t:oC(e)}function pd(e,t){return pd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},pd(e,t)}function fC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(XP=function(){return!!e})()}var _C=function(e){lC(t,e);function t(n){iC(this,t);var o;return o=rC(this,t,[n]),cC(o,"props",void 0),o.props=new ao(n==null?void 0:n.props),o}return uC(t,null,[{key:"controlType",get:function(){return"col"}}]),t}(we),JP={Designer:fo,Runtime:_C,Property:ao};function yC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sC(e,t,n){return t=Lc(t),vC(e,ZP()?Reflect.construct(t,n||[],Lc(e).constructor):t.apply(e,n))}function pC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lc(e){return Lc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lc(e)}function dC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dd(e,t)}function vC(e,t){return t&&(hC(t)==="object"||typeof t=="function")?t:yC(e)}function dd(e,t){return dd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dd(e,t)}function hC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ZP=function(){return!!e})()}var vd=function(e){dC(t,e);function t(n){pC(this,t);var o;o=sC(this,t,[n]),QP(o,"layoutMode",void 0),QP(o,"gutter",void 0);var r;o.layoutMode=(r=n==null?void 0:n.layoutMode)!==null&&r!==void 0?r:"select";var i;return o.gutter=(i=n==null?void 0:n.gutter)!==null&&i!==void 0?i:0,o}return t}(Q);function bC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gC(e,t,n){return t=Mc(t),$C(e,tE()?Reflect.construct(t,n||[],Mc(e).constructor):t.apply(e,n))}function mC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function OC(e,t,n){return t&&YP(e.prototype,t),n&&YP(e,n),e}function hd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mc(e){return Mc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mc(e)}function wC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bd(e,t)}function $C(e,t){return t&&(PC(t)==="object"||typeof t=="function")?t:bC(e)}function bd(e,t){return bd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},bd(e,t)}function PC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tE=function(){return!!e})()}var gd=function(e){wC(t,e);function t(n){mC(this,t);var o;return o=gC(this,t,[n]),hd(o,"props",void 0),o.props=new vd(n==null?void 0:n.props),o}return OC(t,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),t}(Z);hd(gd,"excludes",[s.ROW]),hd(gd,"setting",[{key:"col-setting",visible:!0}]);function EC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SC(e,t,n){return t=Nc(t),AC(e,nE()?Reflect.construct(t,n||[],Nc(e).constructor):t.apply(e,n))}function TC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function RC(e,t,n){return t&&eE(e.prototype,t),n&&eE(e,n),e}function BC(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nc(e){return Nc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nc(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&&md(e,t)}function AC(e,t){return t&&(kC(t)==="object"||typeof t=="function")?t:EC(e)}function md(e,t){return md=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},md(e,t)}function kC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(nE=function(){return!!e})()}var DC=function(e){IC(t,e);function t(n){TC(this,t);var o;return o=SC(this,t,[n]),BC(o,"props",void 0),o.props=new vd(n==null?void 0:n.props),o}return RC(t,null,[{key:"controlType",get:function(){return"row"}}]),t}(we);function xC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FC(e,t,n){return t=Vc(t),NC(e,rE()?Reflect.construct(t,n||[],Vc(e).constructor):t.apply(e,n))}function jC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function LC(e,t,n){return t&&oE(e.prototype,t),n&&oE(e,n),e}function Od(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vc(e){return Vc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vc(e)}function MC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wd(e,t)}function NC(e,t){return t&&(VC(t)==="object"||typeof t=="function")?t:xC(e)}function wd(e,t){return wd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wd(e,t)}function VC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(rE=function(){return!!e})()}var zC=4,zc=function(e){MC(t,e);function t(n){return jC(this,t),FC(this,t,[n])}return LC(t,null,[{key:"controlName",get:function(){return"\u6805\u683C\u7B49\u5206\u884C"}},{key:"controlType",get:function(){return"grid-row"}},{key:"controlIcon",get:function(){return"grid-row"}}]),t}(gd);Od(zc,"excludes",[s.GRID_ROW]),Od(zc,"setting",[]),Od(zc,"childrenMaxLength",zC);function HC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qC(e,t,n){return t=Hc(t),KC(e,uE()?Reflect.construct(t,n||[],Hc(e).constructor):t.apply(e,n))}function UC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function CC(e,t,n){return t&&iE(e.prototype,t),n&&iE(e,n),e}function Hc(e){return Hc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hc(e)}function WC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$d(e,t)}function KC(e,t){return t&&(GC(t)==="object"||typeof t=="function")?t:HC(e)}function $d(e,t){return $d=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$d(e,t)}function GC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(uE=function(){return!!e})()}var XC=function(e){WC(t,e);function t(n){return UC(this,t),qC(this,t,[n])}return CC(t,null,[{key:"controlType",get:function(){return"grid-row"}}]),t}(DC);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,n){return t=qc(t),tW(e,cE()?Reflect.construct(t,n||[],qc(e).constructor):t.apply(e,n))}function ZC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qc(e){return qc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qc(e)}function YC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pd(e,t)}function tW(e,t){return t&&(eW(t)==="object"||typeof t=="function")?t:JC(e)}function Pd(e,t){return Pd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Pd(e,t)}function eW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(cE=function(){return!!e})()}var nW=function(e){YC(t,e);function t(n){return ZC(this,t),QC(this,t,[n])}return t}(vd),oW={Designer:zc,Runtime:XC,Property:nW};function rW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lE(e,t,n){return t=Cc(t),iW(e,_E()?Reflect.construct(t,n||[],Cc(e).constructor):t.apply(e,n))}function aE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Uc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cc(e){return Cc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cc(e)}function fE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ed(e,t)}function iW(e,t){return t&&(uW(t)==="object"||typeof t=="function")?t:rW(e)}function Ed(e,t){return Ed=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ed(e,t)}function uW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _E(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_E=function(){return!!e})()}var cW=function(e){fE(t,e);function t(){aE(this,t);var n;return n=lE(this,t,arguments),Uc(n,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),n}return t}(Q.Rules),yE=function(e){fE(t,e);function t(n){aE(this,t);var o;o=lE(this,t,[n]),Uc(o,"caption",void 0),Uc(o,"collapse",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:"\u5206\u7EC4";var i;return o.collapse=(i=n==null?void 0:n.collapse)!==null&&i!==void 0?i:"none",o}return t}(Q);Uc(yE,"Rules",cW);function lW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aW(e,t,n){return t=Wc(t),sW(e,pE()?Reflect.construct(t,n||[],Wc(e).constructor):t.apply(e,n))}function fW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function _W(e,t,n){return t&&sE(e.prototype,t),n&&sE(e,n),e}function Sd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wc(e){return Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wc(e)}function yW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Td(e,t)}function sW(e,t){return t&&(pW(t)==="object"||typeof t=="function")?t:lW(e)}function Td(e,t){return Td=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Td(e,t)}function pW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(pE=function(){return!!e})()}var dE=function(e){yW(t,e);function t(n){fW(this,t);var o;return o=aW(this,t,[n]),Sd(o,"props",void 0),o.props=new yE(n==null?void 0:n.props),o}return _W(t,null,[{key:"controlName",get:function(){return"\u5206\u7EC4"}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),t}(Z);Sd(dE,"setting",[{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}]),Sd(dE,"excludes",[s.CARD_GROUP]);function dW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vE(e,t,n){return t=Kc(t),vW(e,gE()?Reflect.construct(t,n||[],Kc(e).constructor):t.apply(e,n))}function hE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Kc(e){return Kc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kc(e)}function bE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rd(e,t)}function vW(e,t){return t&&(hW(t)==="object"||typeof t=="function")?t:dW(e)}function Rd(e,t){return Rd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rd(e,t)}function hW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(gE=function(){return!!e})()}var bW=function(e){bE(t,e);function t(n){hE(this,t);var o;return o=vE(this,t,[n]),qt(o,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),qt(o,"width",{type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")}),qt(o,"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return t}(W),Gc=function(e){bE(t,e);function t(n){hE(this,t);var o;o=vE(this,t,[n]),qt(o,"metaAutoWidth",void 0),qt(o,"caption",void 0),qt(o,"fixed",void 0),qt(o,"isShowCaptionTip",void 0),qt(o,"captionTip",void 0),qt(o,"isHideCaption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:"";var i;o.fixed=(i=n==null?void 0:n.fixed)!==null&&i!==void 0?i:!1;var u;o.isShowCaptionTip=(u=n==null?void 0:n.isShowCaptionTip)!==null&&u!==void 0?u:!1;var c;o.captionTip=(c=n==null?void 0:n.captionTip)!==null&&c!==void 0?c:"";var a;return o.isHideCaption=(a=n==null?void 0:n.isHideCaption)!==null&&a!==void 0?a:!1,o.metaAutoWidth=new B0(n==null?void 0:n.metaAutoWidth),o}return t}(Q);qt(Gc,"Rules",bW);function gW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mW(e,t,n){return t=Xc(t),$W(e,mE()?Reflect.construct(t,n||[],Xc(e).constructor):t.apply(e,n))}function OW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xc(e){return Xc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xc(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&&Bd(e,t)}function $W(e,t){return t&&(PW(t)==="object"||typeof t=="function")?t:gW(e)}function Bd(e,t){return Bd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bd(e,t)}function PW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(mE=function(){return!!e})()}var Lt=function(e){wW(t,e);function t(n){OW(this,t);var o;return o=mW(this,t,[n]),Pe(o,"props",void 0),o.props=new Gc(n==null?void 0:n.props),o}return t}(Z);Pe(Lt,"controlName","\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),Pe(Lt,"controlType","subtable-column"),Pe(Lt,"controlIcon","subtable-column"),Pe(Lt,"childrenMaxLength",1),Pe(Lt,"excludes",[s.SUBTABLE,s.SUBTABLE_COLUMN,s.ROW,s.COL,s.CARD_GROUP,s.DIVIDER,s.TEXT]),Pe(Lt,"setting",[{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"common-setting",showItems:[_.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}]);function EW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SW(e,t,n){return t=Jc(t),BW(e,wE()?Reflect.construct(t,n||[],Jc(e).constructor):t.apply(e,n))}function TW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jc(e){return Jc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jc(e)}function RW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Id(e,t)}function BW(e,t){return t&&(IW(t)==="object"||typeof t=="function")?t:EW(e)}function Id(e,t){return Id=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Id(e,t)}function IW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(wE=function(){return!!e})()}var $E=function(e){RW(t,e);function t(n){TW(this,t);var o;return o=SW(this,t,[n]),OE(o,"props",void 0),o.props=new Gc(n==null?void 0:n.props),o}return t}(we);OE($E,"controlType","subtable-column");var AW={Designer:Lt,Runtime:$E,Property:Gc};function kW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DW(e,t,n){return t=Qc(t),jW(e,PE()?Reflect.construct(t,n||[],Qc(e).constructor):t.apply(e,n))}function xW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qc(e){return Qc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qc(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&&Ad(e,t)}function jW(e,t){return t&&(LW(t)==="object"||typeof t=="function")?t:kW(e)}function Ad(e,t){return Ad=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ad(e,t)}function LW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(PE=function(){return!!e})()}var MW=function(e){FW(t,e);function t(n){return xW(this,t),DW(this,t,[n])}return t}(Q);function NW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VW(e,t,n){return t=Zc(t),qW(e,EE()?Reflect.construct(t,n||[],Zc(e).constructor):t.apply(e,n))}function zW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zc(e){return Zc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zc(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&&kd(e,t)}function qW(e,t){return t&&(UW(t)==="object"||typeof t=="function")?t:NW(e)}function kd(e,t){return kd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kd(e,t)}function UW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function EE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(EE=function(){return!!e})()}var cn=function(e){HW(t,e);function t(n){zW(this,t);var o;return o=VW(this,t,[n]),Ee(o,"props",void 0),o.props=new MW(n==null?void 0:n.props),o}return t}(Z);Ee(cn,"controlName","\u660E\u7EC6\u5B50\u8868\u884C"),Ee(cn,"controlType","subtable-row"),Ee(cn,"controlIcon","subtable-row"),Ee(cn,"childrenMaxLength",1),Ee(cn,"excludes",[s.SUBTABLE,s.SUBTABLE_COLUMN,s.SUBTABLE_ROW,s.ROW,s.COL,s.CARD_GROUP,s.DIVIDER,s.TEXT]),Ee(cn,"setting",[{key:"caption",showItems:[_.CAPTION],visible:!0}]);function CW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WW(e,t,n){return t=Yc(t),XW(e,SE()?Reflect.construct(t,n||[],Yc(e).constructor):t.apply(e,n))}function KW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yc(e){return Yc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yc(e)}function GW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dd(e,t)}function XW(e,t){return t&&(JW(t)==="object"||typeof t=="function")?t:CW(e)}function Dd(e,t){return Dd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dd(e,t)}function JW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(SE=function(){return!!e})()}var TE=function(e){GW(t,e);function t(n){KW(this,t);var o;o=WW(this,t,[n]),Tt(o,"widthType",void 0),Tt(o,"width",void 0),Tt(o,"caption",void 0),Tt(o,"fieldCode",void 0),Tt(o,"fieldType",void 0),Tt(o,"fieldName",void 0),Tt(o,"datasourceBind",void 0),Tt(o,"fixed",void 0),Tt(o,"textCleanFormart",void 0),Tt(o,"decimalKeepPrecision",void 0),Tt(o,"timestampDateType",void 0),Tt(o,"departmentDisplayLevel",void 0);var r;o.width=(r=n==null?void 0:n.width)!==null&&r!==void 0?r:200,o.widthType=(n==null?void 0:n.widthType)||"auto";var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:!1;var c;o.fieldCode=(c=n==null?void 0:n.fieldCode)!==null&&c!==void 0?c:"";var a;o.fieldType=(a=n==null?void 0:n.fieldType)!==null&&a!==void 0?a:g.VARCHAR;var l;o.fieldName=(l=n==null?void 0:n.fieldName)!==null&&l!==void 0?l:"",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var f;o.textCleanFormart=(f=n==null?void 0:n.textCleanFormart)!==null&&f!==void 0?f:!1;var y;o.decimalKeepPrecision=(y=n==null?void 0:n.decimalKeepPrecision)!==null&&y!==void 0?y:0;var p;o.timestampDateType=(p=n==null?void 0:n.timestampDateType)!==null&&p!==void 0?p:oe.DATE;var b;return o.departmentDisplayLevel=(b=n==null?void 0:n.departmentDisplayLevel)!==null&&b!==void 0?b:1,o}return t}(Q);function QW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZW(e,t,n){return t=tl(t),eK(e,RE()?Reflect.construct(t,n||[],tl(e).constructor):t.apply(e,n))}function YW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tl(e){return tl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tl(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&&xd(e,t)}function eK(e,t){return t&&(nK(t)==="object"||typeof t=="function")?t:QW(e)}function xd(e,t){return xd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xd(e,t)}function nK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(RE=function(){return!!e})()}var ln=function(e){tK(t,e);function t(n){YW(this,t);var o;return o=ZW(this,t,[n]),Se(o,"props",void 0),o.props=new TE(n==null?void 0:n.props),o}return t}(Z);Se(ln,"controlName","\u5217\u8868\u5355\u5143\u683C"),Se(ln,"controlType","gridtable-column"),Se(ln,"controlIcon","gridtable-column"),Se(ln,"childrenMaxLength",1),Se(ln,"excludes",[s.GRID_TABLE,s.GRID_TABLE_COLUMN,s.ROW,s.COL,s.CARD_GROUP,s.DIVIDER,s.TEXT]),Se(ln,"setting",[{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}]);function oK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rK(e,t,n){return t=el(t),cK(e,IE()?Reflect.construct(t,n||[],el(e).constructor):t.apply(e,n))}function iK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function el(e){return el=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},el(e)}function uK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fd(e,t)}function cK(e,t){return t&&(lK(t)==="object"||typeof t=="function")?t:oK(e)}function Fd(e,t){return Fd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fd(e,t)}function lK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(IE=function(){return!!e})()}var aK=function(e){uK(t,e);function t(n){iK(this,t);var o;return o=rK(this,t,[n]),BE(o,"props",void 0),o.props=new TE(n==null?void 0:n.props),o}return t}(we);BE(aK,"controlType","gridtable-column");function fK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _K(e,t,n){return t=nl(t),pK(e,kE()?Reflect.construct(t,n||[],nl(e).constructor):t.apply(e,n))}function yK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nl(e){return nl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nl(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&&jd(e,t)}function pK(e,t){return t&&(dK(t)==="object"||typeof t=="function")?t:fK(e)}function jd(e,t){return jd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jd(e,t)}function dK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(kE=function(){return!!e})()}var vK=function(e){sK(t,e);function t(n){yK(this,t);var o;o=_K(this,t,[n]),AE(o,"childMinWidth",void 0),AE(o,"colGap",void 0);var r;o.childMinWidth=(r=n==null?void 0:n.childMinWidth)!==null&&r!==void 0?r:230;var i;return o.colGap=(i=n==null?void 0:n.colGap)!==null&&i!==void 0?i:24,o}return t}(Q);function hK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bK(e,t,n){return t=ol(t),wK(e,xE()?Reflect.construct(t,n||[],ol(e).constructor):t.apply(e,n))}function gK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function mK(e,t,n){return t&&DE(e.prototype,t),n&&DE(e,n),e}function Ld(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ol(e){return ol=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ol(e)}function OK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Md(e,t)}function wK(e,t){return t&&($K(t)==="object"||typeof t=="function")?t:hK(e)}function Md(e,t){return Md=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Md(e,t)}function $K(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(xE=function(){return!!e})()}var FE=function(e){OK(t,e);function t(n){gK(this,t);var o;return o=bK(this,t,[n]),Ld(o,"props",void 0),o.props=new vK(n==null?void 0:n.props),o}return mK(t,null,[{key:"controlName",get:function(){return"\u6362\u884C\u5BB9\u5668"}},{key:"controlType",get:function(){return"grid-layout-container"}},{key:"controlIcon",get:function(){return"icona-huanhangrongqi1"}}]),t}(Z);Ld(FE,"excludes",[s.GRID_LAYOUT_CONTAINER,s.CARD_GROUP,s.TAB]),Ld(FE,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}]);function PK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EK(e,t,n){return t=rl(t),BK(e,jE()?Reflect.construct(t,n||[],rl(e).constructor):t.apply(e,n))}function SK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TK(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rl(e){return rl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rl(e)}function RK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nd(e,t)}function BK(e,t){return t&&(IK(t)==="object"||typeof t=="function")?t:PK(e)}function Nd(e,t){return Nd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Nd(e,t)}function IK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(jE=function(){return!!e})()}var AK=function(e){RK(t,e);function t(n){SK(this,t);var o;o=EK(this,t,[n]),TK(o,"mobileShowType",void 0);var r;return o.mobileShowType=(r=n==null?void 0:n.mobileShowType)!==null&&r!==void 0?r:"vertical",o}return t}(Q);function kK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LE(e,t,n){return t=il(t),DK(e,VE()?Reflect.construct(t,n||[],il(e).constructor):t.apply(e,n))}function ME(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function il(e){return il=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},il(e)}function NE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zd(e,t)}function DK(e,t){return t&&(xK(t)==="object"||typeof t=="function")?t:kK(e)}function zd(e,t){return zd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zd(e,t)}function xK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(VE=function(){return!!e})()}var FK=function(e){NE(t,e);function t(n){ME(this,t);var o;return o=LE(this,t,[n]),Vd(o,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),o}return t}(W),zE=function(e){NE(t,e);function t(n){ME(this,t);var o;o=LE(this,t,[n]),Vd(o,"caption",void 0);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:fl.controlName,o}return t}(Q);Vd(zE,"Rules",FK);function jK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LK(e,t,n){return t=ul(t),zK(e,qE()?Reflect.construct(t,n||[],ul(e).constructor):t.apply(e,n))}function MK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function NK(e,t,n){return t&&HE(e.prototype,t),n&&HE(e,n),e}function Hd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ul(e){return ul=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ul(e)}function VK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qd(e,t)}function zK(e,t){return t&&(HK(t)==="object"||typeof t=="function")?t:jK(e)}function qd(e,t){return qd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qd(e,t)}function HK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(qE=function(){return!!e})()}var cl=function(e){VK(t,e);function t(n){MK(this,t);var o;return o=LK(this,t,[n]),Hd(o,"props",void 0),o.props=new zE(n==null?void 0:n.props),o}return NK(t,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u5355\u5143"}},{key:"controlType",get:function(){return"tab-pane"}},{key:"controlIcon",get:function(){return"tab-pane"}}]),t}(Z);Hd(cl,"excludes",[s.TAB]),Hd(cl,"setting",[{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"super-setting",visible:!0}]);function qK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UK(e,t,n){return t=al(t),GK(e,CE()?Reflect.construct(t,n||[],al(e).constructor):t.apply(e,n))}function CK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function WK(e,t,n){return t&&UE(e.prototype,t),n&&UE(e,n),e}function ll(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function al(e){return al=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},al(e)}function KK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ud(e,t)}function GK(e,t){return t&&(XK(t)==="object"||typeof t=="function")?t:qK(e)}function Ud(e,t){return Ud=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ud(e,t)}function XK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(CE=function(){return!!e})()}var fl=function(e){KK(t,e);function t(n){CK(this,t);var o;o=UK(this,t,[n]),ll(o,"props",void 0),o.props=new AK(n==null?void 0:n.props);var r;return o.children=(r=n==null?void 0:n.children)!==null&&r!==void 0?r:[new cl,new cl],o}return WK(t,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u9875"}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),t}(Z);ll(fl,"excludes",[s.TAB]),ll(fl,"controlEventKeys",["on_change_tab"]),ll(fl,"setting",[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}]);function JK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QK(e,t,n){return t=_l(t),tG(e,WE()?Reflect.construct(t,n||[],_l(e).constructor):t.apply(e,n))}function ZK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _l(e){return _l=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_l(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&&Cd(e,t)}function tG(e,t){return t&&(eG(t)==="object"||typeof t=="function")?t:JK(e)}function Cd(e,t){return Cd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cd(e,t)}function eG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(WE=function(){return!!e})()}var nG=function(e){YK(t,e);function t(n){return ZK(this,t),QK(this,t,[n])}return t}(Q);function oG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rG(e,t,n){return t=yl(t),lG(e,XE()?Reflect.construct(t,n||[],yl(e).constructor):t.apply(e,n))}function iG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function uG(e,t,n){return t&&KE(e.prototype,t),n&&KE(e,n),e}function GE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yl(e){return yl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yl(e)}function cG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wd(e,t)}function lG(e,t){return t&&(aG(t)==="object"||typeof t=="function")?t:oG(e)}function Wd(e,t){return Wd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wd(e,t)}function aG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(XE=function(){return!!e})()}var fG=function(e){cG(t,e);function t(n){iG(this,t);var o;return o=rG(this,t,[n]),GE(o,"props",void 0),o.props=new nG({}),o.children=(n==null?void 0:n.children)||[new fo({props:new ao({span:12})}),new fo({props:new ao({span:12})})],o}return uG(t,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),t}(Z);GE(fG,"excludes",[s.GRID_ROW,s.ROW,s.GRID,s.SUBTABLE,s.TAB,s.TOOLBOX]);function _G(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kd(e,t,n){return t=sl(t),yG(e,JE()?Reflect.construct(t,n||[],sl(e).constructor):t.apply(e,n))}function Gd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function N(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sl(e){return sl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sl(e)}function Xd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jd(e,t)}function yG(e,t){return t&&(sG(t)==="object"||typeof t=="function")?t:_G(e)}function Jd(e,t){return Jd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jd(e,t)}function sG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(JE=function(){return!!e})()}var QE;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(QE||(QE={}));var pG=function(e){Xd(t,e);function t(n){Gd(this,t);var o;return o=Kd(this,t,[n]),o.push({type:"object",fields:{}}),o}return t}(Oe),dG=function(e){Xd(t,e);function t(n){Gd(this,t);var o;if(o=Kd(this,t,[n]),N(o,"triggerFieldCode",{type:"any"}),N(o,"datasourceBind",{type:"any"}),N(o,"joinRelation",[{type:"any"}]),console.log("--ListViewControlPropertyRules--"),n.triggerType===2&&n.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")}),n.isShowJoinRelation&&(o.joinRelation=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),df.call(o,{optionConfig:"datasource",datasourceBind:n.datasourceBind,options:[]}),Array.isArray(o.datasourceBind)&&o.datasourceBind.length>1){var r=o.datasourceBind.find(function(i){return i.type==="object"&&i.fields});r&&(delete r.fields.valueFieldCode,delete r.fields.displayBoList)}return o}return t}(W),_o=function(e){Xd(t,e);function t(n){Gd(this,t);var o,r,i;o=Kd(this,t,[n]),N(o,"datasourceBind",void 0),N(o,"isLoading",void 0),N(o,"isShowSubList",void 0),N(o,"triggerType",void 0),N(o,"triggerFieldCode",void 0),N(o,"sublistPage",void 0),N(o,"isShowJoinRelation",void 0),N(o,"joinRelation",void 0),N(o,"showType",void 0),N(o,"showFullScreen",void 0),N(o,"isFixedHeader",void 0),N(o,"selectionType",void 0),N(o,"isShowSelection",void 0),N(o,"isAllLoaded",void 0),N(o,"countType",void 0),N(o,"countLimit",void 0),N(o,"rowStyleType",void 0),N(o,"rowStyleBgColor",void 0),N(o,"rowStyleRules",void 0),N(o,"rowStyleRulesScript",void 0),o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var u;o.isLoading=(u=n==null?void 0:n.isLoading)!==null&&u!==void 0?u:!1;var c;o.isShowSubList=(c=n==null?void 0:n.isShowSubList)!==null&&c!==void 0?c:!1;var a;o.triggerType=(a=n==null?void 0:n.triggerType)!==null&&a!==void 0?a:1;var l;o.triggerFieldCode=(l=n==null?void 0:n.triggerFieldCode)!==null&&l!==void 0?l:"",o.sublistPage=new KA(n==null?void 0:n.sublistPage);var f;o.isShowJoinRelation=(f=n==null?void 0:n.isShowJoinRelation)!==null&&f!==void 0?f:!1,o.joinRelation=new XA(n==null?void 0:n.joinRelation);var y;o.showType=(y=n==null?void 0:n.showType)!==null&&y!==void 0?y:"stretch";var p;o.showFullScreen=(p=n==null?void 0:n.showFullScreen)!==null&&p!==void 0?p:!1;var b;o.selectionType=(b=n==null?void 0:n.selectionType)!==null&&b!==void 0?b:"multiple";var O;o.isFixedHeader=(O=n==null?void 0:n.isFixedHeader)!==null&&O!==void 0?O:!1;var m;o.isShowSelection=(m=n==null?void 0:n.isShowSelection)!==null&&m!==void 0?m:!1;var w;o.isAllLoaded=(w=n==null?void 0:n.isAllLoaded)!==null&&w!==void 0?w:!0,o.countType=n==null?void 0:n.countType;var h;o.countLimit=(h=n==null?void 0:n.countLimit)!==null&&h!==void 0?h:1e5;var $;o.rowStyleType=($=n==null?void 0:n.rowStyleType)!==null&&$!==void 0?$:"none";var P;o.rowStyleBgColor=(P=n==null?void 0:n.rowStyleBgColor)!==null&&P!==void 0?P:"theme";var E;o.rowStyleRules=(n==null?void 0:n.rowStyleRules)&&Array.isArray(n==null?void 0:n.rowStyleRules)?(E=n==null||(r=n.rowStyleRules)===null||r===void 0?void 0:r.map(function(j){return new ak(j)}))!==null&&E!==void 0?E:[]:[];var T;return o.rowStyleRulesScript=(n==null?void 0:n.rowStyleRulesScript)&&Array.isArray(n==null?void 0:n.rowStyleRulesScript)?(T=n==null||(i=n.rowStyleRulesScript)===null||i===void 0?void 0:i.map(function(j){return new fk(j)}))!==null&&T!==void 0?T:[]:[],o}return t}(Q);N(_o,"Rules",dG),N(_o,"RuntimeRules",pG);function vG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hG(e,t,n){return t=dl(t),OG(e,YE()?Reflect.construct(t,n||[],dl(e).constructor):t.apply(e,n))}function bG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function gG(e,t,n){return t&&ZE(e.prototype,t),n&&ZE(e,n),e}function pl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dl(e){return dl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dl(e)}function mG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qd(e,t)}function OG(e,t){return t&&(wG(t)==="object"||typeof t=="function")?t:vG(e)}function Qd(e,t){return Qd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qd(e,t)}function wG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(YE=function(){return!!e})()}var vl=function(e){mG(t,e);function t(n){bG(this,t);var o;return o=hG(this,t,[n]),pl(o,"props",void 0),o.props=new _o(n==null?void 0:n.props),o}return gG(t,null,[{key:"controlName",get:function(){return"\u5217\u8868\u5BB9\u5668"}},{key:"controlType",get:function(){return"list-view"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),t}(Z);pl(vl,"excludes",[s.ROW]),pl(vl,"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"]),pl(vl,"setting",[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"list-row-style",visible:!0},{key:"super-setting",visible:!0}]);function $G(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PG(e,t,n){return t=hl(t),BG(e,eS()?Reflect.construct(t,n||[],hl(e).constructor):t.apply(e,n))}function EG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function SG(e,t,n){return t&&tS(e.prototype,t),n&&tS(e,n),e}function TG(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hl(e){return hl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hl(e)}function RG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zd(e,t)}function BG(e,t){return t&&(IG(t)==="object"||typeof t=="function")?t:$G(e)}function Zd(e,t){return Zd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zd(e,t)}function IG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(eS=function(){return!!e})()}var AG=function(e){RG(t,e);function t(n){EG(this,t);var o;return o=PG(this,t,[n]),TG(o,"props",void 0),o.props=new _o(n==null?void 0:n.props),o}return SG(t,null,[{key:"controlType",get:function(){return"list-view"}}]),t}(we),kG={Designer:vl,Runtime:AG,Property:_o};function DG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nS(e,t,n){return t=bl(t),xG(e,iS()?Reflect.construct(t,n||[],bl(e).constructor):t.apply(e,n))}function oS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ge(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bl(e){return bl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bl(e)}function 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&&Yd(e,t)}function xG(e,t){return t&&(FG(t)==="object"||typeof t=="function")?t:DG(e)}function Yd(e,t){return Yd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yd(e,t)}function FG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(iS=function(){return!!e})()}var jG=function(e){rS(t,e);function t(n){oS(this,t);var o;return o=nS(this,t,[n]),o.push({type:"object",fields:{}}),o}return t}(Oe),gl=function(e){rS(t,e);function t(n){oS(this,t);var o;o=nS(this,t,[n]),ge(o,"save",void 0),ge(o,"cancel",void 0),ge(o,"saveAs",void 0),ge(o,"print",void 0),ge(o,"custom",void 0),ge(o,"isLoading",void 0),ge(o,"datasourceBind",void 0);var r;o.save=new ue((r=n==null?void 0:n.save)!==null&&r!==void 0?r:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var i;o.cancel=new ue((i=n==null?void 0:n.cancel)!==null&&i!==void 0?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var u;o.saveAs=new ue((u=n==null?void 0:n.saveAs)!==null&&u!==void 0?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1});var c;o.print=new ue((c=n==null?void 0:n.print)!==null&&c!==void 0?c:{content:"\u6253\u5370",type:"print",isShow:!1});var a;o.custom=((a=n==null?void 0:n.custom)!==null&&a!==void 0?a:[]).map(function(f){return new ue(f)});var l;return o.isLoading=(l=n==null?void 0:n.isLoading)!==null&&l!==void 0?l:!1,o.datasourceBind=new X(n==null?void 0:n.datasourceBind),o}return t}(Q);ge(gl,"RuntimeRules",jG);function LG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MG(e,t,n){return t=ml(t),HG(e,lS()?Reflect.construct(t,n||[],ml(e).constructor):t.apply(e,n))}function NG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function VG(e,t,n){return t&&uS(e.prototype,t),n&&uS(e,n),e}function cS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ml(e){return ml=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ml(e)}function zG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tv(e,t)}function HG(e,t){return t&&(qG(t)==="object"||typeof t=="function")?t:LG(e)}function tv(e,t){return tv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},tv(e,t)}function qG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(lS=function(){return!!e})()}var aS=function(e){zG(t,e);function t(n){NG(this,t);var o;return o=MG(this,t,[n]),cS(o,"props",void 0),o.props=new gl(n==null?void 0:n.props),o}return VG(t,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),t}(Z);cS(aS,"excludes",[]);function UG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CG(e,t,n){return t=Ol(t),JG(e,_S()?Reflect.construct(t,n||[],Ol(e).constructor):t.apply(e,n))}function WG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function KG(e,t,n){return t&&fS(e.prototype,t),n&&fS(e,n),e}function GG(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ol(e){return Ol=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ol(e)}function XG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ev(e,t)}function JG(e,t){return t&&(QG(t)==="object"||typeof t=="function")?t:UG(e)}function ev(e,t){return ev=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ev(e,t)}function QG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _S(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_S=function(){return!!e})()}var ZG=function(e){XG(t,e);function t(n){WG(this,t);var o;return o=CG(this,t,[n]),GG(o,"props",void 0),o.props=new gl(n==null?void 0:n.props),o}return KG(t,null,[{key:"controlType",get:function(){return"data-view"}}]),t}(we),YG={Designer:aS,Runtime:ZG,Property:gl};function tX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eX(e,t,n){return t=wl(t),rX(e,yS()?Reflect.construct(t,n||[],wl(e).constructor):t.apply(e,n))}function nX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wl(e){return wl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wl(e)}function oX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ov(e,t)}function rX(e,t){return t&&(iX(t)==="object"||typeof t=="function")?t:tX(e)}function ov(e,t){return ov=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ov(e,t)}function iX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(yS=function(){return!!e})()}var uX=function(e){oX(t,e);function t(n){nX(this,t);var o;o=eX(this,t,[n]),nv(o,"position",void 0),nv(o,"opacity",void 0),nv(o,"align",void 0);var r;o.position=(r=n==null?void 0:n.position)!==null&&r!==void 0?r:"bottom";var i;o.opacity=(i=n==null?void 0:n.opacity)!==null&&i!==void 0?i:!0;var u;return o.align=(u=n==null?void 0:n.align)!==null&&u!==void 0?u:"right",o}return t}(Q);function cX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lX(e,t,n){return t=$l(t),yX(e,pS()?Reflect.construct(t,n||[],$l(e).constructor):t.apply(e,n))}function aX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function fX(e,t,n){return t&&sS(e.prototype,t),n&&sS(e,n),e}function rv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $l(e){return $l=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$l(e)}function _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&&iv(e,t)}function yX(e,t){return t&&(sX(t)==="object"||typeof t=="function")?t:cX(e)}function iv(e,t){return iv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},iv(e,t)}function sX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(pS=function(){return!!e})()}var dS=function(e){_X(t,e);function t(n){aX(this,t);var o;o=lX(this,t,[n]),rv(o,"props",void 0);var r;return o.props=new uX((r=n==null?void 0:n.props)!==null&&r!==void 0?r:{}),o}return fX(t,null,[{key:"controlName",get:function(){return"\u6309\u94AE\u64CD\u4F5C\u680F"}},{key:"controlType",get:function(){return"action-bar"}},{key:"controlIcon",get:function(){return"action-bar"}}]),t}(Z);rv(dS,"excludes",[]),rv(dS,"setting",[{key:"action-buttons",visible:!0},{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0}]);function pX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uv(e,t,n){return t=Pl(t),dX(e,vS()?Reflect.construct(t,n||[],Pl(e).constructor):t.apply(e,n))}function cv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pl(e){return Pl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pl(e)}function lv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&av(e,t)}function dX(e,t){return t&&(vX(t)==="object"||typeof t=="function")?t:pX(e)}function av(e,t){return av=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},av(e,t)}function vX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(vS=function(){return!!e})()}var hX=function(e){lv(t,e);function t(n){cv(this,t);var o;return o=uv(this,t,[n]),R(o,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),R(o,"limitRows",[{type:"number",required:!0,message:d.getMessage("isNotNumber")},{type:"number",min:0,message:d.getMessage("limitRowsCannotBeLessThan0")}]),R(o,"formKey",{type:"string",required:!1,message:d.getMessage("pleaseEnterForm")}),R(o,"maxHeight",{type:"number",required:!0,message:d.getMessage("pleaseEnterMaxHeight")}),R(o,"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),R(o,"mobileRowCaption",{type:"string",required:!1,message:d.getMessage("pleaseEnterRowCaption")}),n.openType==="modal"&&(o.formKey.required=!0),n.isShowCaptionTip&&(o.captionTip.required=!0),n.mobileShowType==="tile"&&(o.mobileRowCaption.required=!0),o}return t}(W),bX=function(e){lv(t,e);function t(n){cv(this,t);var o;return o=uv(this,t,[n]),n.isHide||o.push({type:"array",required:n.limitRows>0,message:d.getMessage("runtimeRequired",{caption:n.caption})},{type:"array",validator:function(i,u,c){u.length<n.limitRows&&c(d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})),c()},message:d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})}),o}return t}(Oe),fv=function(e){lv(t,e);function t(n,o){cv(this,t);var r;r=uv(this,t,[n,o,t.mode]),R(r,"caption",void 0),R(r,"labelPosition",void 0),R(r,"isHideCaption",void 0),R(r,"isShowCaptionTip",void 0),R(r,"captionTip",void 0),R(r,"defaultState",void 0),R(r,"limitRows",void 0),R(r,"maxRows",void 0),R(r,"defaultRows",void 0),R(r,"datasourceBind",void 0),R(r,"printMode",void 0),R(r,"openType",void 0),R(r,"formKey",void 0),R(r,"useCustomHeight",void 0),R(r,"maxHeight",void 0),R(r,"canAdd",void 0),R(r,"canDelete",void 0),R(r,"canCheck",void 0),R(r,"canEdit",void 0),R(r,"canImport",void 0),R(r,"canExport",void 0),R(r,"canClear",void 0),R(r,"isPaste",void 0),R(r,"mobileShowType",void 0),R(r,"mobileDefaultNum",void 0),R(r,"dataStorageDoc",void 0),R(r,"serverPagination",void 0),R(r,"fixedColumn",void 0),R(r,"mobileRowCaption",void 0),R(r,"mobileIsTile",void 0),R(r,"showTableIndex",void 0);var i;r.caption=(i=o==null?void 0:o.caption)!==null&&i!==void 0?i:sv.controlName;var u;r.isHideCaption=(u=o==null?void 0:o.isHideCaption)!==null&&u!==void 0?u:!1;var c;r.defaultState=(c=o==null?void 0:o.defaultState)!==null&&c!==void 0?c:"default";var a;r.labelPosition=(a=o==null?void 0:o.labelPosition)!==null&&a!==void 0?a:"top";var l;r.openType=(l=o==null?void 0:o.openType)!==null&&l!==void 0?l:"default";var f;r.formKey=(f=o==null?void 0:o.formKey)!==null&&f!==void 0?f:"";var y;r.useCustomHeight=(y=o==null?void 0:o.useCustomHeight)!==null&&y!==void 0?y:!1;var p;r.maxHeight=(p=o==null?void 0:o.maxHeight)!==null&&p!==void 0?p:Jx;var b;r.printMode=(b=o==null?void 0:o.printMode)!==null&&b!==void 0?b:"row";var O;r.limitRows=(O=o==null?void 0:o.limitRows)!==null&&O!==void 0?O:1;var m;r.maxRows=(m=o==null?void 0:o.maxRows)!==null&&m!==void 0?m:null;var w;r.defaultRows=(w=o==null?void 0:o.defaultRows)!==null&&w!==void 0?w:1,r.datasourceBind=new X(o==null?void 0:o.datasourceBind);var h;r.canAdd=(h=o==null?void 0:o.canAdd)!==null&&h!==void 0?h:!0;var $;r.canDelete=($=o==null?void 0:o.canDelete)!==null&&$!==void 0?$:!0;var P;r.canCheck=(P=o==null?void 0:o.canCheck)!==null&&P!==void 0?P:!1;var E;r.canEdit=(E=o==null?void 0:o.canEdit)!==null&&E!==void 0?E:!1;var T;r.canImport=(T=o==null?void 0:o.canImport)!==null&&T!==void 0?T:!1;var j;r.canExport=(j=o==null?void 0:o.canExport)!==null&&j!==void 0?j:!1;var A;r.canClear=(A=o==null?void 0:o.canClear)!==null&&A!==void 0?A:!0;var it;r.serverPagination=(it=o==null?void 0:o.serverPagination)!==null&&it!==void 0?it:!1;var B;r.isShowCaptionTip=(B=o==null?void 0:o.isShowCaptionTip)!==null&&B!==void 0?B:!1;var Ct;r.captionTip=(Ct=o==null?void 0:o.captionTip)!==null&&Ct!==void 0?Ct:"";var mo;r.mobileShowType=(mo=o==null?void 0:o.mobileShowType)!==null&&mo!==void 0?mo:"list";var Cn;r.mobileDefaultNum=(Cn=o==null?void 0:o.mobileDefaultNum)!==null&&Cn!==void 0?Cn:10;var De;r.dataStorageDoc=(De=o==null?void 0:o.dataStorageDoc)!==null&&De!==void 0?De:new qA;var Wt;r.fixedColumn=(Wt=o==null?void 0:o.fixedColumn)!==null&&Wt!==void 0?Wt:[];var Qh;r.mobileRowCaption=(Qh=o==null?void 0:o.mobileRowCaption)!==null&&Qh!==void 0?Qh:"\u660E\u7EC6";var Zh;r.mobileIsTile=(Zh=o==null?void 0:o.mobileIsTile)!==null&&Zh!==void 0?Zh:!1;var Yh;r.isPaste=(Yh=o==null?void 0:o.isPaste)!==null&&Yh!==void 0?Yh:!1;var t0;r.pageSize=(t0=o==null?void 0:o.pageSize)!==null&&t0!==void 0?t0:10;var e0;r.pageSizeOptions=(e0=o==null?void 0:o.pageSizeOptions)!==null&&e0!==void 0?e0:[10,20,50,100];var n0;return r.showTableIndex=(n0=o==null?void 0:o.showTableIndex)!==null&&n0!==void 0?n0:!0,r}return t}(Sf);R(fv,"Rules",hX),R(fv,"RuntimeRules",bX);function gX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mX(e,t,n){return t=El(t),PX(e,bS()?Reflect.construct(t,n||[],El(e).constructor):t.apply(e,n))}function OX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function wX(e,t,n){return t&&hS(e.prototype,t),n&&hS(e,n),e}function _v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function El(e){return El=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},El(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&&yv(e,t)}function PX(e,t){return t&&(EX(t)==="object"||typeof t=="function")?t:gX(e)}function yv(e,t){return yv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yv(e,t)}function EX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(bS=function(){return!!e})()}var sv=function(e){$X(t,e);function t(n){OX(this,t);var o,r,i;return o=mX(this,t,[n]),_v(o,"props",void 0),o.props=new fv(o,n==null?void 0:n.props),(n==null||(r=n.props)===null||r===void 0?void 0:r.headers)===void 0&&(o.props.headers=[new Lt,new Lt,new Lt]),(n==null||(i=n.props)===null||i===void 0?void 0:i.footers)===void 0&&(o.props.footers=[]),o}return wX(t,[{key:"addColumn",value:function(o,r){var i=o!==void 0&&typeof o!="number"?o:new Lt,u=typeof o=="number"?o:r;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}],[{key:"controlName",get:function(){return"\u660E\u7EC6\u5B50\u8868"}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),t}(Bf);_v(sv,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),_v(sv,"setting",[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE,_.IS_SHOW_CAPTION_TIP,_.IS_PASTE,_.SERVER_PAGINATION,_.SHOW_TABLE_INDEX]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"max-rows",visible:!0},{key:"list-pager",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}]);function SX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TX(e,t,n){return t=Sl(t),IX(e,gS()?Reflect.construct(t,n||[],Sl(e).constructor):t.apply(e,n))}function RX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sl(e){return Sl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sl(e)}function BX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pv(e,t)}function IX(e,t){return t&&(AX(t)==="object"||typeof t=="function")?t:SX(e)}function pv(e,t){return pv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},pv(e,t)}function AX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(gS=function(){return!!e})()}var kX=function(e){BX(t,e);function t(n,o){RX(this,t);var r;r=TX(this,t,[n,o]),yo(r,"isFixedHeader",void 0),yo(r,"selectionType",void 0),yo(r,"isShowToolbar",void 0),yo(r,"isShowSelection",void 0),yo(r,"isShowCustomColumns",void 0);var i;r.isFixedHeader=(i=o==null?void 0:o.isFixedHeader)!==null&&i!==void 0?i:!1,r.selectionType=o==null?void 0:o.selectionType;var u;r.isShowToolbar=(u=o==null?void 0:o.isShowToolbar)!==null&&u!==void 0?u:!0;var c;r.isShowSelection=(c=o==null?void 0:o.isShowSelection)!==null&&c!==void 0?c:!1;var a;r.isShowCustomColumns=(a=o==null?void 0:o.isShowCustomColumns)!==null&&a!==void 0?a:!0;var l;return r.pageSizeOptions=(l=o==null?void 0:o.pageSizeOptions)!==null&&l!==void 0?l:[10,20,50,100,500],r}return t}(Sf);function DX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mS(e,t,n){return t=Tl(t),FX(e,$S()?Reflect.construct(t,n||[],Tl(e).constructor):t.apply(e,n))}function OS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xX(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tl(e){return Tl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tl(e)}function wS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dv(e,t)}function FX(e,t){return t&&(jX(t)==="object"||typeof t=="function")?t:DX(e)}function dv(e,t){return dv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dv(e,t)}function jX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $S(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return($S=function(){return!!e})()}var LX=function(e){wS(t,e);function t(n){OS(this,t);var o;return o=mS(this,t,[n]),o.caption.required=!1,o}return t}(Vt),vv=function(e){wS(t,e);function t(n){OS(this,t);var o,r,i;o=mS(this,t,[n]);var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:"left";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:an.controlName;var a;o.width=(a=n==null?void 0:n.width)!==null&&a!==void 0?a:60;var l;o.autoWidth.minWidth=(l=n==null||(r=n.autoWidth)===null||r===void 0?void 0:r.minWidth)!==null&&l!==void 0?l:60;var f;o.autoWidth.flex=(f=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.flex)!==null&&f!==void 0?f:.4;var y;return o.widthType=(y=n==null?void 0:n.widthType)!==null&&y!==void 0?y:"px",o}return t}(U);xX(vv,"Rules",LX);function MX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NX(e,t,n){return t=Rl(t),HX(e,PS()?Reflect.construct(t,n||[],Rl(e).constructor):t.apply(e,n))}function VX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function so(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rl(e){return Rl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rl(e)}function zX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hv(e,t)}function HX(e,t){return t&&(qX(t)==="object"||typeof t=="function")?t:MX(e)}function hv(e,t){return hv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hv(e,t)}function qX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(PS=function(){return!!e})()}var an=function(e){zX(t,e);function t(n){VX(this,t);var o;return o=NX(this,t,[n]),so(o,"props",void 0),o.props=new vv(n==null?void 0:n.props),o}return t}(tt);so(an,"controlType","order-column"),so(an,"controlName","\u5E8F\u53F7"),so(an,"controlIcon","order-column"),so(an,"setting",[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}]);function UX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CX(e,t,n){return t=Bl(t),GX(e,ES()?Reflect.construct(t,n||[],Bl(e).constructor):t.apply(e,n))}function WX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bl(e){return Bl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bl(e)}function KX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gv(e,t)}function GX(e,t){return t&&(XX(t)==="object"||typeof t=="function")?t:UX(e)}function gv(e,t){return gv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gv(e,t)}function XX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ES(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ES=function(){return!!e})()}var SS=function(e){KX(t,e);function t(n){WX(this,t);var o;return o=CX(this,t,[n]),bv(o,"props",void 0),o.props=new vv(n==null?void 0:n.props),o}return t}(et);bv(SS,"controlType","order-column"),bv(SS,"controlFieldType",g.DECIMAL);function JX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QX(e,t,n){return t=Il(t),tJ(e,RS()?Reflect.construct(t,n||[],Il(e).constructor):t.apply(e,n))}function ZX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Il(e){return Il=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Il(e)}function YX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mv(e,t)}function tJ(e,t){return t&&(eJ(t)==="object"||typeof t=="function")?t:JX(e)}function mv(e,t){return mv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},mv(e,t)}function eJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(RS=function(){return!!e})()}var BS=function(e){YX(t,e);function t(n){ZX(this,t);var o,r;o=QX(this,t,[n]),TS(o,"showType",void 0),TS(o,"limit",void 0);var i;o.fixed=(i=n==null?void 0:n.fixed)!==null&&i!==void 0?i:"right",o.widthType="auto";var u;o.autoWidth.minWidth=(u=n==null||(r=n.autoWidth)===null||r===void 0?void 0:r.minWidth)!==null&&u!==void 0?u:84;var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:fn.controlName;var a;o.showType=(a=n==null?void 0:n.showType)!==null&&a!==void 0?a:"icon";var l;return o.limit=(l=n==null?void 0:n.limit)!==null&&l!==void 0?l:3,o}return t}(U);function nJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IS(e,t,n,o,r,i,u){try{var c=e[i](u),a=c.value}catch(l){n(l);return}c.done?t(a):Promise.resolve(a).then(o,r)}function oJ(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(a){IS(i,o,r,u,c,"next",a)}function c(a){IS(i,o,r,u,c,"throw",a)}u(void 0)})}}function rJ(e,t,n){return t=Te(t),lJ(e,kS()?Reflect.construct(t,n||[],Te(e).constructor):t.apply(e,n))}function iJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function uJ(e,t,n){return t&&AS(e.prototype,t),n&&AS(e,n),e}function po(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vo(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?vo=Reflect.get:vo=function(r,i,u){var c=aJ(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},vo(e,t,n||e)}function Te(e){return Te=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Te(e)}function cJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ov(e,t)}function lJ(e,t){return t&&(fJ(t)==="object"||typeof t=="function")?t:nJ(e)}function Ov(e,t){return Ov=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ov(e,t)}function aJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Te(e),e!==null););return e}function fJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(kS=function(){return!!e})()}function _J(e,t){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,o=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){u.label=l[1];break}if(l[0]===6&&u.label<r[1]){u.label=r[1],r=l;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(l);break}r[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(f){l=[6,f],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var fn=function(e){cJ(t,e);function t(n){iJ(this,t);var o;return o=rJ(this,t,[n]),po(o,"props",void 0),o.props=new BS(n==null?void 0:n.props),o}return uJ(t,[{key:"toDataBindModel",value:function(){var o=vo(Te(t.prototype),"toDataBindModel",this).call(this);return this.children.map(function(r){if(r.type===Yr.controlType){var i=r;o.props[i.props.command]=i.props}}),o}},{key:"validate",value:function(o,r){var i=this,u=this,c=function(){return vo(Te(t.prototype),"validate",i)};return oJ(function(){return _J(this,function(a){switch(a.label){case 0:return[4,c().call(u,o,r)];case 1:return a.sent(),[4,Promise.all(u.children.map(function(l){return l.validate(o,r)}))];case 2:return a.sent(),[2,!0]}})})()}}]),t}(tt);po(fn,"controlType","operation-column"),po(fn,"controlName","\u64CD\u4F5C"),po(fn,"controlIcon","operation-column"),po(fn,"setting",[{key:"caption",showItems:[_.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 yJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sJ(e,t,n){return t=Al(t),vJ(e,DS()?Reflect.construct(t,n||[],Al(e).constructor):t.apply(e,n))}function pJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Al(e){return Al=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Al(e)}function dJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$v(e,t)}function vJ(e,t){return t&&(hJ(t)==="object"||typeof t=="function")?t:yJ(e)}function $v(e,t){return $v=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$v(e,t)}function hJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(DS=function(){return!!e})()}var xS=function(e){dJ(t,e);function t(n){pJ(this,t);var o;return o=sJ(this,t,[n]),wv(o,"props",void 0),o.props=new BS(n==null?void 0:n.props),o}return t}(et);wv(xS,"controlType","operation-column"),wv(xS,"controlFieldType",g.FILE);function bJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FS(e,t,n,o,r,i,u){try{var c=e[i](u),a=c.value}catch(l){n(l);return}c.done?t(a):Promise.resolve(a).then(o,r)}function gJ(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(a){FS(i,o,r,u,c,"next",a)}function c(a){FS(i,o,r,u,c,"throw",a)}u(void 0)})}}function mJ(e,t,n){return t=Re(t),TJ(e,LS()?Reflect.construct(t,n||[],Re(e).constructor):t.apply(e,n))}function OJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function wJ(e,t,n){return t&&jS(e.prototype,t),n&&jS(e,n),e}function kl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ho(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?ho=Reflect.get:ho=function(r,i,u){var c=RJ(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},ho(e,t,n||e)}function Re(e){return Re=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Re(e)}function $J(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pv(e,t)}function PJ(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){kl(e,r,n[r])})}return e}function EJ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function SJ(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):EJ(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function TJ(e,t){return t&&(BJ(t)==="object"||typeof t=="function")?t:bJ(e)}function Pv(e,t){return Pv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Pv(e,t)}function RJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Re(e),e!==null););return e}function BJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(LS=function(){return!!e})()}function IJ(e,t){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,o=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){u.label=l[1];break}if(l[0]===6&&u.label<r[1]){u.label=r[1],r=l;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(l);break}r[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(f){l=[6,f],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var AJ=function(e){$J(t,e);function t(n){OJ(this,t);var o,r;return o=mJ(this,t,[n]),kl(o,"props",void 0),kl(o,"children",void 0),o.props=new kX(o,n==null?void 0:n.props),Kt(o,"children",n==null?void 0:n.children,void 0,"Designer"),(n==null?void 0:n.props.headers)===void 0&&(o.props.headers=[new an,new fn]),(n==null||(r=n.props)===null||r===void 0?void 0:r.footers)===void 0&&(o.props.footers=[]),o}return wJ(t,[{key:"toSchema",value:function(){var o=ho(Re(t.prototype),"toSchema",this).call(this),r=this.children.map(function(i){return i.toSchema()});return SJ(PJ({},o),{children:r})}},{key:"validate",value:function(o,r){var i=this,u=this,c=function(){return ho(Re(t.prototype),"validate",i)};return gJ(function(){return IJ(this,function(a){switch(a.label){case 0:return[4,c().call(u,o,r)];case 1:return a.sent(),[4,Promise.all(u.children.map(function(l){return l.validate(o,r)}))];case 2:return a.sent(),[2,!0]}})})()}}],[{key:"controlName",get:function(){return"\u8868\u683C"}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),t}(Bf);kl(AJ,"setting",[{key:"list-fixed-header",visible:!0}]);function kJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MS(e,t,n){return t=Dl(t),DJ(e,zS()?Reflect.construct(t,n||[],Dl(e).constructor):t.apply(e,n))}function NS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Be(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Dl(e){return Dl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dl(e)}function VS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ev(e,t)}function DJ(e,t){return t&&(xJ(t)==="object"||typeof t=="function")?t:kJ(e)}function Ev(e,t){return Ev=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ev(e,t)}function xJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(zS=function(){return!!e})()}var FJ=function(e){VS(t,e);function t(n){NS(this,t);var o;return o=MS(this,t,[n]),ye.call(o,n),o}return t}(vb),Sv=function(e){VS(t,e);function t(n){NS(this,t);var o;o=MS(this,t,[n]),Be(o,"optionConfig",void 0),Be(o,"datasourceBind",void 0),Be(o,"showLinkOperation",void 0),Be(o,"linkOperationOption",void 0),Be(o,"options",void 0),Be(o,"lineEllipsis",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:yn.controlName;var i;o.optionConfig=(i=n==null?void 0:n.optionConfig)!==null&&i!==void 0?i:"none",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var u;o.options=Xt((u=n==null?void 0:n.options)!==null&&u!==void 0?u:[{}]);var c;o.showLinkOperation=(c=n==null?void 0:n.showLinkOperation)!==null&&c!==void 0?c:!1,o.linkOperationOption=new Gt(n==null?void 0:n.linkOperationOption);var a;return o.lineEllipsis=(a=n==null?void 0:n.lineEllipsis)!==null&&a!==void 0?a:1,o}return t}(U);Be(Sv,"Rules",FJ);function jJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LJ(e,t,n){return t=xl(t),VJ(e,HS()?Reflect.construct(t,n||[],xl(e).constructor):t.apply(e,n))}function MJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xl(e){return xl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xl(e)}function NJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tv(e,t)}function VJ(e,t){return t&&(zJ(t)==="object"||typeof t=="function")?t:jJ(e)}function Tv(e,t){return Tv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Tv(e,t)}function zJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(HS=function(){return!!e})()}var yn=function(e){NJ(t,e);function t(n){MJ(this,t);var o;return o=LJ(this,t,[n]),_n(o,"props",void 0),o.props=new Sv(n==null?void 0:n.props),o}return t}(tt);_n(yn,"controlType","varchar-column"),_n(yn,"controlName","\u77ED\u6587\u672C"),_n(yn,"controlIcon","varchar-column"),_n(yn,"controlFieldType",g.VARCHAR),_n(yn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function HJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qJ(e,t,n){return t=Fl(t),WJ(e,qS()?Reflect.construct(t,n||[],Fl(e).constructor):t.apply(e,n))}function UJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fl(e){return Fl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fl(e)}function CJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bv(e,t)}function WJ(e,t){return t&&(KJ(t)==="object"||typeof t=="function")?t:HJ(e)}function Bv(e,t){return Bv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bv(e,t)}function KJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(qS=function(){return!!e})()}var US=function(e){CJ(t,e);function t(n){UJ(this,t);var o;return o=qJ(this,t,[n]),Rv(o,"props",void 0),o.props=new Sv(n==null?void 0:n.props),o}return t}(et);Rv(US,"controlType","varchar-column"),Rv(US,"controlFieldType",g.VARCHAR);function GJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CS(e,t,n){return t=jl(t),XJ(e,GS()?Reflect.construct(t,n||[],jl(e).constructor):t.apply(e,n))}function WS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jl(e){return jl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jl(e)}function 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&&Iv(e,t)}function XJ(e,t){return t&&(JJ(t)==="object"||typeof t=="function")?t:GJ(e)}function Iv(e,t){return Iv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Iv(e,t)}function JJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(GS=function(){return!!e})()}var QJ=function(e){KS(t,e);function t(n){WS(this,t);var o;return o=CS(this,t,[n]),ye.call(o,n),o}return t}(Vt),Av=function(e){KS(t,e);function t(n){WS(this,t);var o;o=CS(this,t,[n]),bo(o,"escapeHTML",void 0),bo(o,"showLinkOperation",void 0),bo(o,"linkOperationOption",void 0),bo(o,"lineEllipsis",void 0);var r;o.escapeHTML=(r=n==null?void 0:n.escapeHTML)!==null&&r!==void 0?r:!1;var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:dn.controlName;var u;o.lineEllipsis=(u=n==null?void 0:n.lineEllipsis)!==null&&u!==void 0?u:1;var c;return o.showLinkOperation=(c=n==null?void 0:n.showLinkOperation)!==null&&c!==void 0?c:!1,o.linkOperationOption=new Gt(n==null?void 0:n.linkOperationOption),o}return t}(U);bo(Av,"Rules",QJ);function ZJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YJ(e,t,n){return t=pn(t),oQ(e,JS()?Reflect.construct(t,n||[],pn(e).constructor):t.apply(e,n))}function tQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function eQ(e,t,n){return t&&XS(e.prototype,t),n&&XS(e,n),e}function sn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ll(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Ll=Reflect.get:Ll=function(r,i,u){var c=rQ(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Ll(e,t,n||e)}function pn(e){return pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pn(e)}function nQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kv(e,t)}function oQ(e,t){return t&&(iQ(t)==="object"||typeof t=="function")?t:ZJ(e)}function kv(e,t){return kv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kv(e,t)}function rQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=pn(e),e!==null););return e}function iQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(JS=function(){return!!e})()}var dn=function(e){nQ(t,e);function t(n){tQ(this,t);var o;return o=YJ(this,t,[n]),sn(o,"props",void 0),o.props=new Av(n==null?void 0:n.props),o}return eQ(t,[{key:"toDataBindModel",value:function(o){var r=Ll(pn(t.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.escapeHTML;r.props.escapeHTML=i}return r}}]),t}(tt);sn(dn,"controlType","text-column"),sn(dn,"controlName","\u957F\u6587\u672C"),sn(dn,"controlIcon","text-column"),sn(dn,"controlFieldType",g.TEXT),sn(dn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function uQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cQ(e,t,n){return t=Ml(t),fQ(e,QS()?Reflect.construct(t,n||[],Ml(e).constructor):t.apply(e,n))}function lQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ml(e){return Ml=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ml(e)}function aQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xv(e,t)}function fQ(e,t){return t&&(_Q(t)==="object"||typeof t=="function")?t:uQ(e)}function xv(e,t){return xv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xv(e,t)}function _Q(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(QS=function(){return!!e})()}var ZS=function(e){aQ(t,e);function t(n){lQ(this,t);var o;return o=cQ(this,t,[n]),Dv(o,"props",void 0),o.props=new Av(n==null?void 0:n.props),o}return t}(et);Dv(ZS,"controlType","text-column"),Dv(ZS,"controlFieldType",g.TEXT);function yQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YS(e,t,n){return t=Nl(t),sQ(e,nT()?Reflect.construct(t,n||[],Nl(e).constructor):t.apply(e,n))}function tT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nl(e){return Nl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nl(e)}function eT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fv(e,t)}function sQ(e,t){return t&&(pQ(t)==="object"||typeof t=="function")?t:yQ(e)}function Fv(e,t){return Fv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fv(e,t)}function pQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(nT=function(){return!!e})()}var dQ=function(e){eT(t,e);function t(n){tT(this,t);var o;return o=YS(this,t,[n]),ye.call(o,n),o}return t}(Vt),jv=function(e){eT(t,e);function t(n){tT(this,t);var o;o=YS(this,t,[n]),ne(o,"optionConfig",void 0),ne(o,"datasourceBind",void 0),ne(o,"showLinkOperation",void 0),ne(o,"linkOperationOption",void 0),ne(o,"options",void 0),ne(o,"precision",void 0),ne(o,"micrometer",void 0),ne(o,"percentageFormat",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:bn.controlName;var i;o.precision=(i=n==null?void 0:n.precision)!==null&&i!==void 0?i:0;var u;o.micrometer=(u=n==null?void 0:n.micrometer)!==null&&u!==void 0?u:!1;var c;o.percentageFormat=(c=n==null?void 0:n.percentageFormat)!==null&&c!==void 0?c:!1;var a;o.optionConfig=(a=n==null?void 0:n.optionConfig)!==null&&a!==void 0?a:"none",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var l;o.options=Xt((l=n==null?void 0:n.options)!==null&&l!==void 0?l:[{}]);var f;return o.showLinkOperation=(f=n==null?void 0:n.showLinkOperation)!==null&&f!==void 0?f:!1,o.linkOperationOption=new Gt(n==null?void 0:n.linkOperationOption),o}return t}(U);ne(jv,"Rules",dQ);function vQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hQ(e,t,n){return t=hn(t),OQ(e,rT()?Reflect.construct(t,n||[],hn(e).constructor):t.apply(e,n))}function bQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oT(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function gQ(e,t,n){return t&&oT(e.prototype,t),n&&oT(e,n),e}function vn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vl(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Vl=Reflect.get:Vl=function(r,i,u){var c=wQ(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Vl(e,t,n||e)}function hn(e){return hn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hn(e)}function mQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lv(e,t)}function OQ(e,t){return t&&($Q(t)==="object"||typeof t=="function")?t:vQ(e)}function Lv(e,t){return Lv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Lv(e,t)}function wQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=hn(e),e!==null););return e}function $Q(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(rT=function(){return!!e})()}var bn=function(e){mQ(t,e);function t(n){bQ(this,t);var o;return o=hQ(this,t,[n]),vn(o,"props",void 0),o.props=new jv(n==null?void 0:n.props),o}return gQ(t,[{key:"toDataBindModel",value:function(o){var r=Vl(hn(t.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props,u=i.precision,c=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=c}return r}}]),t}(tt);vn(bn,"controlType","decimal-column"),vn(bn,"controlName","\u6570\u503C"),vn(bn,"controlIcon","decimal-column"),vn(bn,"controlFieldType",g.DECIMAL),vn(bn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[_.MICROMETER,_.PRECISION,_.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function PQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EQ(e,t,n){return t=zl(t),RQ(e,iT()?Reflect.construct(t,n||[],zl(e).constructor):t.apply(e,n))}function SQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zl(e){return zl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zl(e)}function TQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nv(e,t)}function RQ(e,t){return t&&(BQ(t)==="object"||typeof t=="function")?t:PQ(e)}function Nv(e,t){return Nv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Nv(e,t)}function BQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(iT=function(){return!!e})()}var uT=function(e){TQ(t,e);function t(n){SQ(this,t);var o;return o=EQ(this,t,[n]),Mv(o,"props",void 0),o.props=new jv(n==null?void 0:n.props),o}return t}(et);Mv(uT,"controlType","decimal-column"),Mv(uT,"controlFieldType",g.DECIMAL);function IQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cT(e,t,n){return t=ql(t),AQ(e,fT()?Reflect.construct(t,n||[],ql(e).constructor):t.apply(e,n))}function lT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ql(e){return ql=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ql(e)}function aT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vv(e,t)}function AQ(e,t){return t&&(kQ(t)==="object"||typeof t=="function")?t:IQ(e)}function Vv(e,t){return Vv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vv(e,t)}function kQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(fT=function(){return!!e})()}var DQ=function(e){aT(t,e);function t(n){lT(this,t);var o;return o=cT(this,t,[n]),ye.call(o,n),o}return t}(Vt),zv=function(e){aT(t,e);function t(n){lT(this,t);var o;o=cT(this,t,[n]),Hl(o,"dateType",void 0),Hl(o,"showLinkOperation",void 0),Hl(o,"linkOperationOption",void 0);var r;o.dateType=(r=n==null?void 0:n.dateType)!==null&&r!==void 0?r:oe.DATE;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Gt(n==null?void 0:n.linkOperationOption);var u;return o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:On.controlName,o}return t}(U);Hl(zv,"Rules",DQ);function xQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FQ(e,t,n){return t=mn(t),NQ(e,yT()?Reflect.construct(t,n||[],mn(e).constructor):t.apply(e,n))}function jQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _T(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function LQ(e,t,n){return t&&_T(e.prototype,t),n&&_T(e,n),e}function gn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ul(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Ul=Reflect.get:Ul=function(r,i,u){var c=VQ(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Ul(e,t,n||e)}function mn(e){return mn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mn(e)}function MQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hv(e,t)}function NQ(e,t){return t&&(zQ(t)==="object"||typeof t=="function")?t:xQ(e)}function Hv(e,t){return Hv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hv(e,t)}function VQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=mn(e),e!==null););return e}function zQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(yT=function(){return!!e})()}var On=function(e){MQ(t,e);function t(n){jQ(this,t);var o;return o=FQ(this,t,[n]),gn(o,"props",void 0),o.props=new zv(n==null?void 0:n.props),o}return LQ(t,[{key:"toDataBindModel",value:function(o){var r=Ul(mn(t.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.dateType;r.props.dateType=i}return r}}]),t}(tt);gn(On,"controlType","timescope-column"),gn(On,"controlName","\u65E5\u671F\u533A\u95F4"),gn(On,"controlIcon","timescope-column"),gn(On,"controlFieldType",g.TIMESCOPE),gn(On,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.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 HQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qQ(e,t,n){return t=Cl(t),WQ(e,sT()?Reflect.construct(t,n||[],Cl(e).constructor):t.apply(e,n))}function UQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cl(e){return Cl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cl(e)}function CQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uv(e,t)}function WQ(e,t){return t&&(KQ(t)==="object"||typeof t=="function")?t:HQ(e)}function Uv(e,t){return Uv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Uv(e,t)}function KQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(sT=function(){return!!e})()}var pT=function(e){CQ(t,e);function t(n){UQ(this,t);var o;return o=qQ(this,t,[n]),qv(o,"props",void 0),o.props=new zv(n==null?void 0:n.props),o}return t}(et);qv(pT,"controlType","timescope-column"),qv(pT,"controlFieldType",g.TIMESCOPE);function GQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dT(e,t,n){return t=Kl(t),XQ(e,bT()?Reflect.construct(t,n||[],Kl(e).constructor):t.apply(e,n))}function vT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Kl(e){return Kl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kl(e)}function hT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cv(e,t)}function XQ(e,t){return t&&(JQ(t)==="object"||typeof t=="function")?t:GQ(e)}function Cv(e,t){return Cv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cv(e,t)}function JQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(bT=function(){return!!e})()}var QQ=function(e){hT(t,e);function t(n){vT(this,t);var o;return o=dT(this,t,[n]),ye.call(o,n),o}return t}(Vt),Wv=function(e){hT(t,e);function t(n){vT(this,t);var o;o=dT(this,t,[n]),Wl(o,"dateType",void 0),Wl(o,"showLinkOperation",void 0),Wl(o,"linkOperationOption",void 0);var r;o.dateType=(r=n==null?void 0:n.dateType)!==null&&r!==void 0?r:oe.DATE;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Gt(n==null?void 0:n.linkOperationOption);var u;return o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Pn.controlName,o}return t}(U);Wl(Wv,"Rules",QQ);function ZQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YQ(e,t,n){return t=$n(t),oZ(e,mT()?Reflect.construct(t,n||[],$n(e).constructor):t.apply(e,n))}function tZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gT(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function eZ(e,t,n){return t&&gT(e.prototype,t),n&&gT(e,n),e}function wn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gl(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Gl=Reflect.get:Gl=function(r,i,u){var c=rZ(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Gl(e,t,n||e)}function $n(e){return $n=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$n(e)}function nZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kv(e,t)}function oZ(e,t){return t&&(iZ(t)==="object"||typeof t=="function")?t:ZQ(e)}function Kv(e,t){return Kv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kv(e,t)}function rZ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=$n(e),e!==null););return e}function iZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(mT=function(){return!!e})()}var Pn=function(e){nZ(t,e);function t(n){tZ(this,t);var o;return o=YQ(this,t,[n]),wn(o,"props",void 0),o.props=new Wv(n==null?void 0:n.props),o}return eZ(t,[{key:"toDataBindModel",value:function(o){var r=Gl($n(t.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.dateType;r.props.dateType=i}return r}}]),t}(tt);wn(Pn,"controlType","timestamp-column"),wn(Pn,"controlName","\u65E5\u671F"),wn(Pn,"controlIcon","timestamp-column"),wn(Pn,"controlFieldType",g.TIMESTAMP),wn(Pn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.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 uZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cZ(e,t,n){return t=Xl(t),fZ(e,OT()?Reflect.construct(t,n||[],Xl(e).constructor):t.apply(e,n))}function lZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xl(e){return Xl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xl(e)}function 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&&Xv(e,t)}function fZ(e,t){return t&&(_Z(t)==="object"||typeof t=="function")?t:uZ(e)}function Xv(e,t){return Xv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xv(e,t)}function _Z(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(OT=function(){return!!e})()}var wT=function(e){aZ(t,e);function t(n){lZ(this,t);var o;return o=cZ(this,t,[n]),Gv(o,"props",void 0),o.props=new Wv(n==null?void 0:n.props),o}return t}(et);Gv(wT,"controlType","timestamp-column"),Gv(wT,"controlFieldType",g.TIMESTAMP);function yZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $T(e,t,n){return t=Jl(t),sZ(e,ST()?Reflect.construct(t,n||[],Jl(e).constructor):t.apply(e,n))}function PT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function En(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jl(e){return Jl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jl(e)}function ET(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jv(e,t)}function sZ(e,t){return t&&(pZ(t)==="object"||typeof t=="function")?t:yZ(e)}function Jv(e,t){return Jv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jv(e,t)}function pZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ST(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ST=function(){return!!e})()}var dZ=function(e){ET(t,e);function t(n){PT(this,t);var o;return o=$T(this,t,[n]),ye.call(o,n),o}return t}(vb),Qv=function(e){ET(t,e);function t(n){PT(this,t);var o;o=$T(this,t,[n]),En(o,"optionConfig",void 0),En(o,"datasourceBind",void 0),En(o,"showLinkOperation",void 0),En(o,"linkOperationOption",void 0),En(o,"options",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Tn.controlName;var i;o.optionConfig=(i=n==null?void 0:n.optionConfig)!==null&&i!==void 0?i:"none",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Gt(n==null?void 0:n.linkOperationOption);var c;return o.options=Xt((c=n==null?void 0:n.options)!==null&&c!==void 0?c:[{}]),o}return t}(U);En(Qv,"Rules",dZ);function vZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hZ(e,t,n){return t=Ql(t),mZ(e,TT()?Reflect.construct(t,n||[],Ql(e).constructor):t.apply(e,n))}function bZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ql(e){return Ql=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ql(e)}function gZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zv(e,t)}function mZ(e,t){return t&&(OZ(t)==="object"||typeof t=="function")?t:vZ(e)}function Zv(e,t){return Zv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zv(e,t)}function OZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(TT=function(){return!!e})()}var Tn=function(e){gZ(t,e);function t(n){bZ(this,t);var o;return o=hZ(this,t,[n]),Sn(o,"props",void 0),o.props=new Qv(n==null?void 0:n.props),o}return t}(tt);Sn(Tn,"controlType","array-column"),Sn(Tn,"controlName","\u6570\u7EC4"),Sn(Tn,"controlIcon","array-column"),Sn(Tn,"controlFieldType",g.ARRAY),Sn(Tn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}]);function wZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $Z(e,t,n){return t=Zl(t),SZ(e,RT()?Reflect.construct(t,n||[],Zl(e).constructor):t.apply(e,n))}function PZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zl(e){return Zl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zl(e)}function EZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&th(e,t)}function SZ(e,t){return t&&(TZ(t)==="object"||typeof t=="function")?t:wZ(e)}function th(e,t){return th=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},th(e,t)}function TZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(RT=function(){return!!e})()}var BT=function(e){EZ(t,e);function t(n){PZ(this,t);var o;return o=$Z(this,t,[n]),Yv(o,"props",void 0),o.props=new Qv(n==null?void 0:n.props),o}return t}(et);Yv(BT,"controlType","array-column"),Yv(BT,"controlFieldType",g.ARRAY);function RZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BZ(e,t,n){return t=Yl(t),DZ(e,IT()?Reflect.construct(t,n||[],Yl(e).constructor):t.apply(e,n))}function IZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AZ(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yl(e){return Yl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yl(e)}function kZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eh(e,t)}function DZ(e,t){return t&&(xZ(t)==="object"||typeof t=="function")?t:RZ(e)}function eh(e,t){return eh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},eh(e,t)}function xZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(IT=function(){return!!e})()}var AT=function(e){kZ(t,e);function t(n){IZ(this,t);var o;o=BZ(this,t,[n]),AZ(o,"displayLevel",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:In.controlName;var i;return o.displayLevel=(i=n==null?void 0:n.displayLevel)!==null&&i!==void 0?i:1,o}return t}(U);function FZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jZ(e,t,n){return t=Bn(t),VZ(e,DT()?Reflect.construct(t,n||[],Bn(e).constructor):t.apply(e,n))}function LZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kT(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function MZ(e,t,n){return t&&kT(e.prototype,t),n&&kT(e,n),e}function Rn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ta(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?ta=Reflect.get:ta=function(r,i,u){var c=zZ(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},ta(e,t,n||e)}function Bn(e){return Bn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bn(e)}function NZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nh(e,t)}function VZ(e,t){return t&&(HZ(t)==="object"||typeof t=="function")?t:FZ(e)}function nh(e,t){return nh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},nh(e,t)}function zZ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Bn(e),e!==null););return e}function HZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(DT=function(){return!!e})()}var In=function(e){NZ(t,e);function t(n){LZ(this,t);var o;return o=jZ(this,t,[n]),Rn(o,"props",void 0),o.props=new AT(n==null?void 0:n.props),o}return MZ(t,[{key:"toDataBindModel",value:function(o){var r=ta(Bn(t.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.displayLevel;r.props.displayLevel=i}return r}}]),t}(tt);Rn(In,"controlType","department-column"),Rn(In,"controlName","\u90E8\u95E8"),Rn(In,"controlIcon","department-column"),Rn(In,"controlFieldType",g.DEPARTMENTS),Rn(In,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.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 qZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UZ(e,t,n){return t=ea(t),KZ(e,xT()?Reflect.construct(t,n||[],ea(e).constructor):t.apply(e,n))}function CZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ea(e){return ea=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ea(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&&rh(e,t)}function KZ(e,t){return t&&(GZ(t)==="object"||typeof t=="function")?t:qZ(e)}function rh(e,t){return rh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rh(e,t)}function GZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(xT=function(){return!!e})()}var FT=function(e){WZ(t,e);function t(n){CZ(this,t);var o;return o=UZ(this,t,[n]),oh(o,"props",void 0),o.props=new AT(n==null?void 0:n.props),o}return t}(et);oh(FT,"controlType","department-column"),oh(FT,"controlFieldType",g.DEPARTMENTS);function XZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jT(e,t,n){return t=na(t),JZ(e,NT()?Reflect.construct(t,n||[],na(e).constructor):t.apply(e,n))}function LT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ih(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function na(e){return na=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},na(e)}function MT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uh(e,t)}function JZ(e,t){return t&&(QZ(t)==="object"||typeof t=="function")?t:XZ(e)}function uh(e,t){return uh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},uh(e,t)}function QZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(NT=function(){return!!e})()}var ZZ=function(e){MT(t,e);function t(n){LT(this,t);var o;return o=jT(this,t,[n]),ye.call(o,n),o}return t}(Vt),ch=function(e){MT(t,e);function t(n){LT(this,t);var o;o=jT(this,t,[n]),ih(o,"showLinkOperation",void 0),ih(o,"linkOperationOption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:kn.controlName;var i;return o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Gt(n==null?void 0:n.linkOperationOption),o}return t}(U);ih(ch,"Rules",ZZ);function YZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tY(e,t,n){return t=oa(t),oY(e,VT()?Reflect.construct(t,n||[],oa(e).constructor):t.apply(e,n))}function eY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function An(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oa(e){return oa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oa(e)}function nY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lh(e,t)}function oY(e,t){return t&&(rY(t)==="object"||typeof t=="function")?t:YZ(e)}function lh(e,t){return lh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},lh(e,t)}function rY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(VT=function(){return!!e})()}var kn=function(e){nY(t,e);function t(n){eY(this,t);var o;return o=tY(this,t,[n]),An(o,"props",void 0),o.props=new ch(n==null?void 0:n.props),o}return t}(tt);An(kn,"controlType","auto-number-column"),An(kn,"controlName","\u81EA\u52A8\u7F16\u53F7"),An(kn,"controlIcon","auto-number-column"),An(kn,"controlFieldType",g.AUTO_NUMBER),An(kn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}]);function iY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uY(e,t,n){return t=ra(t),aY(e,zT()?Reflect.construct(t,n||[],ra(e).constructor):t.apply(e,n))}function cY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ah(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ra(e){return ra=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ra(e)}function 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&&fh(e,t)}function aY(e,t){return t&&(fY(t)==="object"||typeof t=="function")?t:iY(e)}function fh(e,t){return fh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fh(e,t)}function fY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(zT=function(){return!!e})()}var HT=function(e){lY(t,e);function t(n){cY(this,t);var o;return o=uY(this,t,[n]),ah(o,"props",void 0),o.props=new ch(n==null?void 0:n.props),o}return t}(et);ah(HT,"controlType","auto-number-column"),ah(HT,"controlFieldType",g.AUTO_NUMBER);function _Y(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yY(e,t,n){return t=ia(t),vY(e,qT()?Reflect.construct(t,n||[],ia(e).constructor):t.apply(e,n))}function sY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pY(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ia(e){return ia=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ia(e)}function dY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_h(e,t)}function vY(e,t){return t&&(hY(t)==="object"||typeof t=="function")?t:_Y(e)}function _h(e,t){return _h=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_h(e,t)}function hY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(qT=function(){return!!e})()}var UT=function(e){dY(t,e);function t(n){sY(this,t);var o;o=yY(this,t,[n]),pY(o,"operation",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:xn.controlName;var i;return o.operation=(i=n==null?void 0:n.operation)!==null&&i!==void 0?i:["info","preview","download"],o}return t}(U);function bY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gY(e,t,n){return t=ua(t),wY(e,CT()?Reflect.construct(t,n||[],ua(e).constructor):t.apply(e,n))}function mY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ua(e){return ua=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ua(e)}function 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&&yh(e,t)}function wY(e,t){return t&&($Y(t)==="object"||typeof t=="function")?t:bY(e)}function yh(e,t){return yh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yh(e,t)}function $Y(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(CT=function(){return!!e})()}var xn=function(e){OY(t,e);function t(n){mY(this,t);var o;return o=gY(this,t,[n]),Dn(o,"props",void 0),o.props=new UT(n==null?void 0:n.props),o}return t}(tt);Dn(xn,"controlType","file-column"),Dn(xn,"controlName","\u9644\u4EF6"),Dn(xn,"controlIcon","file-column"),Dn(xn,"controlFieldType",g.FILE),Dn(xn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"attachment-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function PY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EY(e,t,n){return t=ca(t),RY(e,WT()?Reflect.construct(t,n||[],ca(e).constructor):t.apply(e,n))}function SY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ca(e){return ca=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ca(e)}function TY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ph(e,t)}function RY(e,t){return t&&(BY(t)==="object"||typeof t=="function")?t:PY(e)}function ph(e,t){return ph=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ph(e,t)}function BY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(WT=function(){return!!e})()}var KT=function(e){TY(t,e);function t(n){SY(this,t);var o;return o=EY(this,t,[n]),sh(o,"props",void 0),o.props=new UT(n==null?void 0:n.props),o}return t}(et);sh(KT,"controlType","file-column"),sh(KT,"controlFieldType",g.FILE);function IY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AY(e,t,n){return t=la(t),xY(e,GT()?Reflect.construct(t,n||[],la(e).constructor):t.apply(e,n))}function kY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function la(e){return la=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},la(e)}function DY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dh(e,t)}function xY(e,t){return t&&(FY(t)==="object"||typeof t=="function")?t:IY(e)}function dh(e,t){return dh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dh(e,t)}function FY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(GT=function(){return!!e})()}var XT=function(e){DY(t,e);function t(n){kY(this,t);var o;o=AY(this,t,[n]);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:jn.controlName,o}return t}(U);function jY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LY(e,t,n){return t=aa(t),VY(e,JT()?Reflect.construct(t,n||[],aa(e).constructor):t.apply(e,n))}function MY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function aa(e){return aa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},aa(e)}function NY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vh(e,t)}function VY(e,t){return t&&(zY(t)==="object"||typeof t=="function")?t:jY(e)}function vh(e,t){return vh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vh(e,t)}function zY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(JT=function(){return!!e})()}var jn=function(e){NY(t,e);function t(n){MY(this,t);var o;return o=LY(this,t,[n]),Fn(o,"props",void 0),o.props=new XT(n==null?void 0:n.props),o}return t}(tt);Fn(jn,"controlType","image-column"),Fn(jn,"controlName","\u56FE\u7247"),Fn(jn,"controlIcon","image-column"),Fn(jn,"controlFieldType",g.IMAGE),Fn(jn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.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 HY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qY(e,t,n){return t=fa(t),WY(e,QT()?Reflect.construct(t,n||[],fa(e).constructor):t.apply(e,n))}function UY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fa(e){return fa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fa(e)}function 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&&bh(e,t)}function WY(e,t){return t&&(KY(t)==="object"||typeof t=="function")?t:HY(e)}function bh(e,t){return bh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},bh(e,t)}function KY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(QT=function(){return!!e})()}var ZT=function(e){CY(t,e);function t(n){UY(this,t);var o;return o=qY(this,t,[n]),hh(o,"props",void 0),o.props=new XT(n==null?void 0:n.props),o}return t}(et);hh(ZT,"controlType","image-column"),hh(ZT,"controlFieldType",g.IMAGE);function GY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XY(e,t,n){return t=_a(t),ZY(e,YT()?Reflect.construct(t,n||[],_a(e).constructor):t.apply(e,n))}function JY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _a(e){return _a=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_a(e)}function QY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gh(e,t)}function ZY(e,t){return t&&(YY(t)==="object"||typeof t=="function")?t:GY(e)}function gh(e,t){return gh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gh(e,t)}function YY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(YT=function(){return!!e})()}var tR=function(e){QY(t,e);function t(n){JY(this,t);var o;o=XY(this,t,[n]);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Mn.controlName,o}return t}(U);function ttt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ett(e,t,n){return t=ya(t),rtt(e,eR()?Reflect.construct(t,n||[],ya(e).constructor):t.apply(e,n))}function ntt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ln(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ya(e){return ya=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ya(e)}function ott(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 rtt(e,t){return t&&(itt(t)==="object"||typeof t=="function")?t:ttt(e)}function mh(e,t){return mh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},mh(e,t)}function itt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(eR=function(){return!!e})()}var Mn=function(e){ott(t,e);function t(n){ntt(this,t);var o;return o=ett(this,t,[n]),Ln(o,"props",void 0),o.props=new tR(n==null?void 0:n.props),o}return t}(tt);Ln(Mn,"controlType","people-column"),Ln(Mn,"controlName","\u4EBA\u5458"),Ln(Mn,"controlIcon","people-column"),Ln(Mn,"controlFieldType",g.EMPLOYEES),Ln(Mn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.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 utt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ctt(e,t,n){return t=sa(t),ftt(e,nR()?Reflect.construct(t,n||[],sa(e).constructor):t.apply(e,n))}function ltt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Oh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sa(e){return sa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sa(e)}function att(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wh(e,t)}function ftt(e,t){return t&&(_tt(t)==="object"||typeof t=="function")?t:utt(e)}function wh(e,t){return wh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wh(e,t)}function _tt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(nR=function(){return!!e})()}var oR=function(e){att(t,e);function t(n){ltt(this,t);var o;return o=ctt(this,t,[n]),Oh(o,"props",void 0),o.props=new tR(n==null?void 0:n.props),o}return t}(et);Oh(oR,"controlType","people-column"),Oh(oR,"controlFieldType",g.EMPLOYEES);function ytt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rR(e,t,n){return t=pa(t),stt(e,cR()?Reflect.construct(t,n||[],pa(e).constructor):t.apply(e,n))}function iR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pa(e){return pa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pa(e)}function uR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 stt(e,t){return t&&(ptt(t)==="object"||typeof t=="function")?t:ytt(e)}function Ph(e,t){return Ph=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ph(e,t)}function ptt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(cR=function(){return!!e})()}var dtt=function(e){uR(t,e);function t(n){iR(this,t);var o;return o=rR(this,t,[n]),ye.call(o,n),o}return t}(Vt),Eh=function(e){uR(t,e);function t(n){iR(this,t);var o;o=rR(this,t,[n]),$h(o,"showLinkOperation",void 0),$h(o,"linkOperationOption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Vn.controlName;var i;return o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Gt(n==null?void 0:n.linkOperationOption),o}return t}(U);$h(Eh,"Rules",dtt);function vtt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function htt(e,t,n){return t=da(t),mtt(e,lR()?Reflect.construct(t,n||[],da(e).constructor):t.apply(e,n))}function btt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function da(e){return da=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},da(e)}function gtt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sh(e,t)}function mtt(e,t){return t&&(Ott(t)==="object"||typeof t=="function")?t:vtt(e)}function Sh(e,t){return Sh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sh(e,t)}function Ott(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(lR=function(){return!!e})()}var Vn=function(e){gtt(t,e);function t(n){btt(this,t);var o;return o=htt(this,t,[n]),Nn(o,"props",void 0),o.props=new Eh(n==null?void 0:n.props),o}return t}(tt);Nn(Vn,"controlType","location-column"),Nn(Vn,"controlName","\u5730\u5740"),Nn(Vn,"controlIcon","location-column"),Nn(Vn,"controlFieldType",g.ADDRESS),Nn(Vn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}]);function wtt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $tt(e,t,n){return t=va(t),Stt(e,aR()?Reflect.construct(t,n||[],va(e).constructor):t.apply(e,n))}function Ptt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Th(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function va(e){return va=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},va(e)}function Ett(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rh(e,t)}function Stt(e,t){return t&&(Ttt(t)==="object"||typeof t=="function")?t:wtt(e)}function Rh(e,t){return Rh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rh(e,t)}function Ttt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(aR=function(){return!!e})()}var fR=function(e){Ett(t,e);function t(n){Ptt(this,t);var o;return o=$tt(this,t,[n]),Th(o,"props",void 0),o.props=new Eh(n==null?void 0:n.props),o}return t}(et);Th(fR,"controlType","location-column"),Th(fR,"controlFieldType",g.ADDRESS);function Rtt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _R(e,t,n){return t=ba(t),Btt(e,pR()?Reflect.construct(t,n||[],ba(e).constructor):t.apply(e,n))}function yR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ha(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ba(e){return ba=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ba(e)}function sR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bh(e,t)}function Btt(e,t){return t&&(Itt(t)==="object"||typeof t=="function")?t:Rtt(e)}function Bh(e,t){return Bh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bh(e,t)}function Itt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(pR=function(){return!!e})()}var Att=function(e){sR(t,e);function t(n){yR(this,t);var o;return o=_R(this,t,[n]),ha(o,"sortFieldCode",{type:"string",message:d.getMessage("pleaseSelectSortFieldCode")}),n.sort===!0&&(o.sortFieldCode.required=!0),o}return t}(Vt),Ih=function(e){sR(t,e);function t(n){yR(this,t);var o;o=_R(this,t,[n]),ha(o,"fieldCodeList",void 0),ha(o,"sortFieldCode",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Ie.controlName;var i;o.fieldCodeList=(i=n==null?void 0:n.fieldCodeList)!==null&&i!==void 0?i:[];var u;return o.sortFieldCode=(u=n==null?void 0:n.sortFieldCode)!==null&&u!==void 0?u:"",o}return t}(U);ha(Ih,"Rules",Att);function ktt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dtt(e,t,n){return t=zn(t),Mtt(e,vR()?Reflect.construct(t,n||[],zn(e).constructor):t.apply(e,n))}function xtt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dR(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Ftt(e,t,n){return t&&dR(e.prototype,t),n&&dR(e,n),e}function Ut(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ga(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?ga=Reflect.get:ga=function(r,i,u){var c=Ntt(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},ga(e,t,n||e)}function zn(e){return zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zn(e)}function jtt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ah(e,t)}function Ltt(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Mtt(e,t){return t&&(Vtt(t)==="object"||typeof t=="function")?t:ktt(e)}function Ah(e,t){return Ah=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ah(e,t)}function Ntt(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=zn(e),e!==null););return e}function Vtt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(vR=function(){return!!e})()}var ztt=1,Ie=function(t){jtt(n,t);function n(o){xtt(this,n);var r;r=Dtt(this,n,[o]),Ut(r,"excludes",void 0),Ut(r,"childrenMaxLength",void 0),Ut(r,"props",void 0),Ut(r,"children",void 0);var i=Ltt(this,n)?this.constructor:void 0,u=i.excludes,c=i.childrenMaxLength;return r.props=new Ih(o==null?void 0:o.props),Kt(r,"children",o==null?void 0:o.children,void 0,"Designer"),r.excludes=re(u),r.childrenMaxLength=c,r}return Ftt(n,[{key:"judgeJoinChildren",value:function(r){var i=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(r);return i&&this.childrenMaxLength>this.children.length}},{key:"toDataBindModel",value:function(r){var i=ga(zn(n.prototype),"toDataBindModel",this).call(this,r);if(i){var u=this.props.fieldCodeList;i.props.fieldCodeList=u}return i}}]),n}(tt);Ut(Ie,"controlType","custom-column"),Ut(Ie,"controlName","\u81EA\u5B9A\u4E49"),Ut(Ie,"controlIcon","custom-column"),Ut(Ie,"excludes",[]),Ut(Ie,"childrenMaxLength",ztt),Ut(Ie,"setting",[{key:"caption",showItems:[_.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 Htt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qtt(e,t,n){return t=ma(t),Wtt(e,hR()?Reflect.construct(t,n||[],ma(e).constructor):t.apply(e,n))}function Utt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ma(e){return ma=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ma(e)}function Ctt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dh(e,t)}function Wtt(e,t){return t&&(Ktt(t)==="object"||typeof t=="function")?t:Htt(e)}function Dh(e,t){return Dh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dh(e,t)}function Ktt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(hR=function(){return!!e})()}var Gtt=function(e){Ctt(t,e);function t(n){Utt(this,t);var o;return o=qtt(this,t,[n]),kh(o,"props",void 0),kh(o,"children",void 0),o.props=new Ih(n==null?void 0:n.props),Kt(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return t}(et);kh(Gtt,"controlType","custom-column");function Xtt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jtt(e,t,n){return t=Oa(t),tet(e,bR()?Reflect.construct(t,n||[],Oa(e).constructor):t.apply(e,n))}function Qtt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ztt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Oa(e){return Oa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oa(e)}function Ytt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 tet(e,t){return t&&(eet(t)==="object"||typeof t=="function")?t:Xtt(e)}function xh(e,t){return xh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xh(e,t)}function eet(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(bR=function(){return!!e})()}var gR=function(e){Ytt(t,e);function t(n){Qtt(this,t);var o;o=Jtt(this,t,[n]),Ztt(o,"datasourceBind",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Ae.controlName;var i;return o.datasourceBind=new So((i=n==null?void 0:n.datasourceBind)!==null&&i!==void 0?i:{attributes:Ae.controlCustomAttributes}),o}return t}(U);function net(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oet(e,t,n){return t=wa(t),cet(e,OR()?Reflect.construct(t,n||[],wa(e).constructor):t.apply(e,n))}function ret(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mR(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function iet(e,t,n){return t&&mR(e.prototype,t),n&&mR(e,n),e}function Hn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wa(e){return wa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wa(e)}function uet(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fh(e,t)}function cet(e,t){return t&&(aet(t)==="object"||typeof t=="function")?t:net(e)}function Fh(e,t){return Fh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fh(e,t)}function aet(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(OR=function(){return!!e})()}var Ae=function(e){uet(t,e);function t(n){ret(this,t);var o;return o=oet(this,t,[n]),Hn(o,"props",void 0),o.props=new gR(n==null?void 0:n.props),o}return iet(t,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),t}(tt);Hn(Ae,"controlType","employee-column"),Hn(Ae,"controlName","\u4EBA\u5458"),Hn(Ae,"controlIcon","employee-column"),Hn(Ae,"controlFieldType",g.EMPLOYEES),Hn(Ae,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.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 fet(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _et(e,t,n){return t=$a(t),pet(e,wR()?Reflect.construct(t,n||[],$a(e).constructor):t.apply(e,n))}function yet(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $a(e){return $a=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$a(e)}function set(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 pet(e,t){return t&&(det(t)==="object"||typeof t=="function")?t:fet(e)}function Lh(e,t){return Lh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Lh(e,t)}function det(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(wR=function(){return!!e})()}var $R=function(e){set(t,e);function t(n){yet(this,t);var o;return o=_et(this,t,[n]),jh(o,"props",void 0),o.props=new gR(n==null?void 0:n.props),o}return t}(et);jh($R,"controlType","employee-column"),jh($R,"controlFieldType",g.EMPLOYEES);function vet(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function het(e,t,n){return t=Pa(t),met(e,PR()?Reflect.construct(t,n||[],Pa(e).constructor):t.apply(e,n))}function bet(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pa(e){return Pa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pa(e)}function get(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nh(e,t)}function met(e,t){return t&&(Oet(t)==="object"||typeof t=="function")?t:vet(e)}function Nh(e,t){return Nh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Nh(e,t)}function Oet(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(PR=function(){return!!e})()}var ER=function(e){get(t,e);function t(n){bet(this,t);var o;o=het(this,t,[n]),Mh(o,"lineEllipsis",void 0),Mh(o,"showLinkOperation",void 0),Mh(o,"linkOperationOption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:qn.controlName;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Gt(n==null?void 0:n.linkOperationOption);var u;return o.lineEllipsis=(u=n==null?void 0:n.lineEllipsis)!==null&&u!==void 0?u:1,o}return t}(U);function wet(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $et(e,t,n){return t=Ea(t),Tet(e,SR()?Reflect.construct(t,n||[],Ea(e).constructor):t.apply(e,n))}function Pet(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ke(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ea(e){return Ea=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ea(e)}function Eet(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Tet(e,t){return t&&(Ret(t)==="object"||typeof t=="function")?t:wet(e)}function Vh(e,t){return Vh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vh(e,t)}function Ret(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(SR=function(){return!!e})()}var qn=function(e){Eet(t,e);function t(n){Pet(this,t);var o;return o=$et(this,t,[n]),ke(o,"props",void 0),ke(o,"children",void 0),o.props=new ER(n==null?void 0:n.props),o}return t}(tt);ke(qn,"controlType","approval-status-column"),ke(qn,"controlName","\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),ke(qn,"controlIcon","approval-status-column"),ke(qn,"excludes",[]),ke(qn,"setting",[{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0}]);function Bet(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Iet(e,t,n){return t=Sa(t),Det(e,TR()?Reflect.construct(t,n||[],Sa(e).constructor):t.apply(e,n))}function Aet(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sa(e){return Sa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sa(e)}function ket(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Det(e,t){return t&&(xet(t)==="object"||typeof t=="function")?t:Bet(e)}function Hh(e,t){return Hh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hh(e,t)}function xet(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(TR=function(){return!!e})()}var Fet=function(e){ket(t,e);function t(n){Aet(this,t);var o;return o=Iet(this,t,[n]),zh(o,"props",void 0),zh(o,"children",void 0),o.props=new ER(n==null?void 0:n.props),o}return t}(et);zh(Fet,"controlType","approval-status-column");function jet(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RR(e,t,n){return t=Ta(t),Let(e,AR()?Reflect.construct(t,n||[],Ta(e).constructor):t.apply(e,n))}function BR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ta(e){return Ta=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ta(e)}function IR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qh(e,t)}function Let(e,t){return t&&(Met(t)==="object"||typeof t=="function")?t:jet(e)}function qh(e,t){return qh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qh(e,t)}function Met(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(AR=function(){return!!e})()}var Net=function(e){IR(t,e);function t(n){BR(this,t);var o;return o=RR(this,t,[n]),o.push({type:"object",fields:{}}),o}return t}(Oe),Uh=function(e){IR(t,e);function t(n){BR(this,t);var o;o=RR(this,t,[n]),Mt(o,"search",void 0),Mt(o,"cancel",void 0),Mt(o,"searchType",void 0),Mt(o,"labelPosition",void 0),Mt(o,"viewType",void 0),Mt(o,"isLoading",void 0),Mt(o,"custom",void 0),Mt(o,"queryTypeMap",void 0),Mt(o,"childMinWidth",void 0),Mt(o,"colGap",void 0);var r;o.searchType=(r=n==null?void 0:n.searchType)!==null&&r!==void 0?r:"model";var i;o.labelPosition=(i=n==null?void 0:n.labelPosition)!==null&&i!==void 0?i:"top";var u;o.viewType=(u=n==null?void 0:n.viewType)!==null&&u!==void 0?u:"mini";var c;o.search=new ue((c=n==null?void 0:n.search)!==null&&c!==void 0?c:{content:"\u67E5\u8BE2",isShow:!0});var a;o.cancel=new ue((a=n==null?void 0:n.cancel)!==null&&a!==void 0?a:{content:"\u91CD\u7F6E",isShow:!0});var l;o.isLoading=(l=n==null?void 0:n.isLoading)!==null&&l!==void 0?l:!1;var f;o.custom=((f=n==null?void 0:n.custom)!==null&&f!==void 0?f:[]).map(function(O){return new ue(O)});var y;o.queryTypeMap=(y=n==null?void 0:n.queryTypeMap)!==null&&y!==void 0?y:[];var p;o.childMinWidth=(p=n==null?void 0:n.childMinWidth)!==null&&p!==void 0?p:230;var b;return o.colGap=(b=n==null?void 0:n.colGap)!==null&&b!==void 0?b:24,o}return t}(Mf);Mt(Uh,"RuntimeRules",Net);function Vet(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zet(e,t,n){return t=Ra(t),Uet(e,kR()?Reflect.construct(t,n||[],Ra(e).constructor):t.apply(e,n))}function Het(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ch(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ra(e){return Ra=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ra(e)}function qet(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wh(e,t)}function Uet(e,t){return t&&(Cet(t)==="object"||typeof t=="function")?t:Vet(e)}function Wh(e,t){return Wh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wh(e,t)}function Cet(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(kR=function(){return!!e})()}var DR=function(e){qet(t,e);function t(n){Het(this,t);var o;return o=zet(this,t,[n]),Ch(o,"props",void 0),o.props=new Uh(n==null?void 0:n.props),o}return t}(ZD);Ch(DR,"controlType","simple-search"),Ch(DR,"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:[_.IS_HIDE]},{key:"search-view-type",visible:!0}]);function Wet(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ket(e,t,n){return t=Ba(t),Jet(e,xR()?Reflect.construct(t,n||[],Ba(e).constructor):t.apply(e,n))}function Get(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ba(e){return Ba=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ba(e)}function Xet(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Jet(e,t){return t&&(Qet(t)==="object"||typeof t=="function")?t:Wet(e)}function Gh(e,t){return Gh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gh(e,t)}function Qet(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(xR=function(){return!!e})()}var Zet=function(e){Xet(t,e);function t(n){Get(this,t);var o;o=Ket(this,t,[n]),Kh(o,"props",void 0),Kh(o,"children",void 0),o.props=new Uh(n==null?void 0:n.props);var r;return o.children=(r=n==null?void 0:n.children)!==null&&r!==void 0?r:[],o}return t}(ix);Kh(Zet,"controlType","simple-search");const Yet=(e,t)=>{const n=Array.isArray(e),o=n?e:[e];_nt(t==null?void 0:t.events),int(o),unt(o);const r=rnt(o),i=cnt(r,t);let u=Le(C(i,c=>ont(c,t)));return n?u:u[0]},tnt=[s.DIVIDER,s.TEXT,s.TITLE,s.LINK,s.BUTTON,"list-btn-export-list","list-btn-export-record"],ent=["subtable","grid-table"],nnt=["simple-search"];function ont(e,t){var r,i,u,c,a,l;let n=e;if(n.controlType||(n.is_layout_control===!0?n.controlType="layout":tnt.includes(n.type)?n.controlType="base":n.controlType="form",ent.includes(n.type)&&(n.controlType="list"),nnt.includes(n.type)&&(n.controlType="search-view")),delete n.is_layout_control,e.props.lable_position&&(e.props.labelPosition=e.props.lable_position),e.props.select_mode&&(e.props.optionsFormat=e.props.select_mode),e.props.value&&(e.props.defaultValue=e.props.value),ft((r=e==null?void 0:e.props)==null?void 0:r.caption)&&(n.props.caption=e.props.caption.zh),ft((i=e==null?void 0:e.props)==null?void 0:i.placeholder)&&(n.props.placeholder=e.props.placeholder.zh),ft((u=e==null?void 0:e.props)==null?void 0:u.placeholder_end)&&(n.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(n.type="department",e.props.value.length&&(n.props.default_value=e.props.value),n.props.showType=e.props.show_tree?"tree":"default",n.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(n.type="auto-number",n.props.defaultValue=e.props.value),e.type==="file"&&(n.type="attachment",n.props.attachmentAccept=(c=e.attachment_format)==null?void 0:c.split(","),n.props.showType=e.props.show_type==="title"?"default":"table"),e.type==="image"&&(n.props.attachmentAccept=(a=e.attachment_format)==null?void 0:a.split(",")),e.type==="date-pick"&&(n.type="date-picker"),e.type==="rich-text"&&(ft(e.props.value)?n.props.defaultValue=e.props.value.zh:n.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(ft(e.props.value)?n.props.content=e.props.value.zh:n.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(n.props.showState="image"),e.type==="user-search"&&(n.type="employee",n.props.defaultValue=e.props.value),e.type==="address"&&(n.props.addressType=e.props.address_type_value),n.type==="subtable"){const f=n.props.entry_type||n.props.entryType;n.props.openType=f==="subpage"?"modal":"default",((l=n.children[0])==null?void 0:l.type)==="subtable-row"&&n.props.headers&&(n.props.headers=n.props.headers.map((y,p)=>{const b=new AW.Designer;b.props.caption=ft(y.field_name)?y.field_name.zh:y.field_name;const O=b.toSchema();O.id=y.header_id;const m=n.children[0].children[p].children[0];return m&&(O.children=[m]),O}),n.children=[])}if(n.type==="subtable-cell"&&(n.type="subtable-column"),["radio","checkbox","select","select-multiple"].includes(e.type)&&(e.props.options.map(f=>{f.label=ft(f.text)?f.text.zh:f.text,f.id=f.id||f.opt_id||f.optId||f.data_id}),n=e),e.type==="grid-row"){const f=24/n.children.length;n.children=n.children.map(y=>{const p=new JP.Designer;p.props.span=f;const b=p.toSchema();return b.children.push(y),b})}if(e.type==="grid-layout-row"&&(n.type="row"),e.type==="grid-layout-col"&&(n.type="col"),e.type==="group-panel"&&(n.type="card-group",n.props.collapse=n.props.flod==="no"?"none":n.props.flod),e.type==="tabs-pane"&&(n.type="tab-pane"),e.type==="calc"){const f=n==null?void 0:n.children[0],y=n==null?void 0:n.children[1],p={};f&&(FR(n,t),p.result=f.props.data_bind,n.id=f.id,n.props=f.props,n.props.script_src=f.props.script_src,n.props.script_echo=f.props.script_echo,n.props.precision=f.props.precision,n.props.micrometer=f.props.is_show_money,n.props.showUpperCase=f.props.is_show_chn),y&&(p.unit=y.props.data_bind,n.props.default_value={unit:y.props.value}),n.props.dataBind=p,delete n.children}if(e.type==="amount-currency"){n.type="amount",n.controlType="form";const f=n==null?void 0:n.children[0],y=n==null?void 0:n.children[1],p={},b={};f&&(FR(n,t),n.id=f.id,p.amount=f.props.data_bind,n.props.range_min=je(f.props.range_min),n.props.range_max=je(f.props.range_max),b.amount=je(f.props.value),n.props.required=f.props.required,n.props.is_hide=f.props.is_hide,n.props.default_state=f.props.default_state,n.props.caption=ft(f.props.caption)?f.props.caption.zh:f.props.caption,n.props.is_hide_caption=f.props.is_hide_caption,n.props.showUpperCase=f.props.is_show_chn),y&&(p.currency=y.props.data_bind,b.currency=y.props.value,n.props.datasourceBind=y.props.datasource_bind,n.props.options=y.props.options.map(O=>({label:O.text,value:O.value}))),n.props.dataBind=p,n.props.defaultValue=b,delete n.children}if(e.type==="date-range"){n.controlType="form";const f=n==null?void 0:n.children[0],y=n==null?void 0:n.children[1];n.props.placeholderStart=ft(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,n.props.caption=ft(e.props.caption)?e.props.caption.zh:e.props.caption;const p={};f&&(p.min=f.props.data_bind),y&&(p.max=y.props.data_bind),n.props.dataBind=p,delete n.children}return e.type==="score"&&(n.props.defaultValue=n.props.value*1),["input","textarea"].includes(e.type)&&(n.props.defaultValue=ft(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(n.props.range_min=je(e.props.range_min),n.props.range_max=je(e.props.range_max),n.props.defaultValue=je(e.props.value)),e.type==="list-page-btn-custom-button"&&(e.type="button"),e.type==="button"&&e.props.button_type==="dashed"&&(n.props.buttonType="default"),ynt(n,t==null?void 0:t.control_events),n}function FR(e,t){if(!t)return;const{displayBoList:n=[],behaviors:o=[]}=t,r=e.id,i=e.children[0].id;n.forEach(u=>{u.id===r&&(u.id=i);const c=u.show_controls.findIndex(l=>l===r),a=u.hide_controls.findIndex(l=>l===r);c>-1&&u.show_controls.splice(c,1,i),a>-1&&u.hide_controls.splice(a,1,i)}),o.forEach(u=>{u.ctrl_id===r&&(u.id=i)})}function rnt(e){if(!Array.isArray(e)||!e.find(r=>r.type==="grid"))return e;const o=new YG.Designer().toSchema();return o.children=e,[o]}function int(e){e.forEach(t=>{t.children&&fnt(t.children)})}function unt(e){e.forEach(t=>{var o,r;if(!(t&&t.children))return;const n=t.children;for(let i=0;i<n.length;i++){const u=n[i],c=(r=(o=n[i])==null?void 0:o.children)==null?void 0:r[0];u.type==="grid-row"&&c&&["group-panel","subtable","tab"].includes(c.type)&&n.splice(i,1,c)}})}function cnt(e,t){var b,O,m,w,h,$,P,E;if(!(Array.isArray(e)&&e.length===1))return e;const n=e[0];if(n.type!=="list-page")return e;const{props:o,children:r}=n,[i,u,c]=r;lnt(i),c.props.is_fixed_header=(b=o==null?void 0:o.source_config)==null?void 0:b.is_fixed_header,ant(c,u);const a=(m=(O=o==null?void 0:o.source_config)==null?void 0:O.data_code)!=null?m:t==null?void 0:t.dataCode,l=((h=(w=o==null?void 0:o.source_config)==null?void 0:w.svc_code)!=null?h:a)?`${a}_selectMore`:void 0,f=(P=($=o==null?void 0:o.source_config)==null?void 0:$.orders)!=null?P:[],y=new kG.Designer;y.props.datasourceBind=new X({dataCode:a,svcCode:l,orders:bA(f)}),y.props.isShowSubList=o.is_show_sublist,y.props.triggerType=o.timing_type,y.props.triggerFieldCode=o.ctrl_field_code,(E=o==null?void 0:o.sublist_page)==null||E.sublists.forEach(T=>{T.title=ft(T.title)?T.title.zh:T.title}),y.props.sublistPage=o.sublist_page;const p=y.toSchema();return p.children.push(i,c),[p]}function lnt(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(t=>{var o,r;const n=ft(t.placeholder)?t.placeholder.zh:t.placeholder;t.type==="number-range"&&(t.type="search-number-range",t.placeholderStart=n,t.placeholderEnd=n),t.type==="date-pick"&&(t.type="search-date-range",t.placeholderStart=n,t.placeholderEnd=n,t.dateType=(r=(o=t.dateType)==null?void 0:o.replace)==null?void 0:r.call(o,/range$/)),(t.type==="automatic-number"||t.type==="auto-number")&&(t.type="search-input",t.props.defaultValue="")})}function ant(e,t){e.children=t.children.filter(n=>n.type!=="list-page-btn-custom-head"),e.type="grid-table",e.props.sublist_page&&(e.props.sublist_page.form_bind={data_code:e.props.sublist_page.data_code,form_key:e.props.sublist_page.form_key}),Array.isArray(e.props.headers)&&(e.props.headers=e.props.headers.map(n=>{var r,i,u;let o={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:n.field_code,field_name:ft(n.field_name)?n.field_name.zh:n.field_name}};return o.props.caption=ft(n.field_name)?n.field_name.zh:n.field_name,o.props.filter_tags=n.is_filter_tags,o.props.fixed=n.fixed,o.props.display_bo_list=n.display_bo_list,o.props.date_type=n.date_type,o.props.optionConfig="none",n.header_width_config&&(o.props.widthType=n.header_width_config==="1"?"auto":"px"),o.props.widthType==="px"&&n.header_width&&(o.props.width=Number(n.header_width)),n.table_header_type==="order"?(o.type="order-column",o.props.fixed=!0):n.table_header_type==="operation"?(o.type="operation-column",o.props.check=(r=n.check)!=null?r:{},o.props.check.openType="window",o.props.delete=(i=n.delete)!=null?i:{},o.props.delete.openType="window",o.props.edit=(u=n.edit)!=null?u:{},o.props.edit.openType="window",o.props.fixed=!0):(o.type=n.field_type+"-column",n.field_type==="auto_number"&&(o.type="auto-number-column"),n.field_type==="relation"&&(o.type="varchar-column")),n.convert_switch&&(o.props.optionConfig=n.convert_type===1?"datasource":"custom"),o.props.optionConfig==="datasource"?o.props.datasource_bind=new X({svcCode:n.svc_code,displayBoList:n.display_bo_list,valueFieldCode:n.field_match,dataCode:n.field_source}):o.props.optionConfig==="custom"&&(o.props.options=n.custom_match_bo_list),o}))}function fnt(e){var n;let t=null;for(let o=0;o<e.length;o++){const r=e[o];if(!!r){if(r.children&&((n=r.children[0])==null?void 0:n.type)==="group-panel"){t=r.children[0];continue}t&&(t.children.push(r),e.splice(o,1),o--)}}}function _nt(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 ynt(e,t){var o;if(!t||!e.props.events)return;const n=Object.keys(e.props.events);!n.length||(n.forEach(r=>{!e.props.events[r].length||(t[e.id]||(t[e.id]={}),t[e.id][r]||(t[e.id][r]=[]),t[e.id][r].push(...e.props.events[r].map(i=>i.name)))}),(o=t[e.id])!=null&&o.on_blur&&(t[e.id].on_change||(t[e.id].on_change=[]),t[e.id].on_change.push(...t[e.id].on_blur)))}const snt=(e,t)=>{const n=Array.isArray(e);let r=Le(C(n?e:[e],i=>pnt(i)));return n?r:r[0]};function pnt(e,t){return e.type===s.LIST_VIEW&&e.children.find(o=>o.type===s.GRID_TABLE).props.headers.forEach(o=>{!o.props.data_bind&&o.props.field_code&&(o.props.data_bind=new At({dataCode:e.props.datasource_bind.data_code,fieldCode:o.props.field_code}))}),e}const dnt=(e,t)=>{const n=Array.isArray(e);let r=Le(C(n?e:[e],i=>vnt(i)));return n?r:r[0]};function vnt(e,t){return[s.BUTTON,s.CREATE_FORM_LIST_BUTTON,s.BATCH_SUBMISSION_LIST_BUTTON,s.SUBMISSION_RECORD_LIST_BUTTON,s.IMPORT_RECORD_LIST_BUTTON,s.EXPORT_RECORD_LIST_BUTTON,s.EXPORT_LIST_BUTTON,s.FORM_SELECT_BUTTON,s.LIST_SELECT_BUTTON].includes(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===s.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===s.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}const hnt=(e,t)=>{const n=Array.isArray(e);let r=Le(C(n?e:[e],i=>bnt(i)));return n?r:r[0]};function bnt(e,t){if(e.props.icon){let n=e.props.icon;switch(n){case"icongeren":n="iconyyzy-renyuan";break;case"iconjine1":n="iconcaiwu";break;case"iconhuibao":n="iconyyzy-tianxie";break;case"iconwenjian":n="iconyyzy-wenjianjia1";break;case"iconyingpin":n="iconyyzy-gongzuo";break;case"iconpiliangtijiaojilu":n="iconyyzy-renwu";break}e.props.icon=n}return e}const gnt=(e,t)=>{const n=Array.isArray(e);let r=Le(C(n?e:[e],i=>Ont(i)));return n?r:r[0]},mnt=[s.ROW,s.TAB,s.SUBTABLE,s.GRID_ROW,s.CARD_GROUP];function Ont(e,t){return e.type===s.TAB_PANE&&(e.children=e.children.map(n=>{if(mnt.includes(n.type))return n;const o=new oW.Designer,r=new JP.Designer;o.children.push(r);const i=o.toSchema();return i.children[0].children.push(n),i})),e}const wnt=(e,t)=>{const n=Array.isArray(e);let r=Le(C(n?e:[e],i=>$nt(i)));return n?r:r[0]};function $nt(e,t){return e.type===s.GRID_TABLE&&e.props.headers.forEach(n=>{n.type===s.OPERATION_COLUMN&&(n.props.check.priorityProcess=!0)}),e}const Pnt=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>Ent(i));return n?r:r[0]};function Ent(e,t){return e.type===s.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}const Snt=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>Tnt(i));return n?r:r[0]};function me(e,t){e.field_code&&(e.field_type=t)}function Tnt(e,t){var o;const n={[s.TITLE]:g.AUTO_NUMBER,[s.ADDRESS]:g.ADDRESS,[s.ATTACHMENT]:g.FILE,[s.AUTO_NUMBER]:g.AUTO_NUMBER,[s.CHECKBOX]:g.ARRAY,[s.DATE_PICKER]:g.TIMESTAMP,[s.DEPARTMENT]:g.DEPARTMENTS,[s.DEPARTMENT2]:g.DEPARTMENTS,[s.EMPLOYEE]:g.EMPLOYEES,[s.EMPLOYEE2]:g.EMPLOYEES,[s.IMAGE]:g.IMAGE,[s.INPUT]:g.VARCHAR,[s.NUMBER]:g.DECIMAL,[s.RADIO]:g.VARCHAR,[s.RICH_TEXT]:g.TEXT,[s.SCORE]:g.DECIMAL,[s.SELECT]:g.VARCHAR,[s.SELECT_MULTIPLE]:g.ARRAY,[s.SELECT_RELATION]:g.VARCHAR,[s.TEXTAREA]:g.TEXT,[s.TREE]:g.ARRAY,[s.SEARCH_DATE_RANGE]:g.ARRAY,[s.SEARCH_INPUT]:g.VARCHAR,[s.SEARCH_NUMBER_RANGE]:g.ARRAY};return n.hasOwnProperty(e.type)&&me(e.props.data_bind,n[e.type]),e.type===s.AMOUNT&&(me(e.props.data_bind.amount,g.DECIMAL),me(e.props.data_bind.currency,g.VARCHAR)),e.type===s.CALC&&(me(e.props.data_bind.result,g.DECIMAL),me(e.props.data_bind.unit,g.VARCHAR)),e.type===s.DATE_RANGE&&(me(e.props.data_bind.min,g.TIMESTAMP),me(e.props.data_bind.max,g.TIMESTAMP)),e.type===s.VUE_FORM_ITEM&&me(e.props.data_bind,(o=e.field_type)!=null?o:g.ANY),e}const Rnt=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>Bnt(i));return n?r:r[0]};function Bnt(e,t){return e.type===s.GRID_TABLE&&e.props.headers.forEach(n=>{n.type.endsWith("-column")&&(n.props.fixed?(n.props.fixed="left",n.type===s.OPERATION_COLUMN&&(n.props.fixed="right")):n.props.fixed="none")}),e}const Int=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>Ant(i));return n?r:r[0]};function Ant(e,t){return e.type===s.SIMPLE_SEARCH&&e.children.length&&(e.props.query_type_map||(e.props.query_type_map=[]),e.children.forEach(n=>{var o,r;[g.VARCHAR,g.TEXT,g.AUTO_NUMBER].includes((r=(o=n.props)==null?void 0:o.data_bind)==null?void 0:r.field_type)&&e.props.query_type_map.push({query_type:"LIKE",field_code:n.props.data_bind.field_code})})),e}const knt=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>Dnt(i));return n?r:r[0]};function Dnt(e,t){return[s.SELECT,s.SELECT_RELATION,s.SELECT_MULTIPLE,s.RADIO,s.CHECKBOX,s.TREE,s.DEPARTMENT2,s.EMPLOYEE2,s.DEPARTMENT,s.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===s.SUBTABLE&&e.props.headers.forEach(n=>{[s.SELECT,s.SELECT_RELATION,s.SELECT_MULTIPLE,s.RADIO,s.CHECKBOX,s.TREE,s.DEPARTMENT2,s.EMPLOYEE2,s.DEPARTMENT,s.EMPLOYEE].includes(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),e}const xnt=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>Fnt(i));return n?r:r[0]};function Fnt(e,t){return[s.SELECT,s.SELECT_RELATION,s.SELECT_MULTIPLE,s.RADIO,s.CHECKBOX,s.TREE,s.DEPARTMENT2,s.EMPLOYEE2,s.DEPARTMENT,s.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===s.SUBTABLE&&e.props.headers.forEach(n=>{[s.SELECT,s.SELECT_RELATION,s.SELECT_MULTIPLE,s.RADIO,s.CHECKBOX,s.TREE,s.DEPARTMENT2,s.EMPLOYEE2,s.DEPARTMENT,s.EMPLOYEE].includes(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),e}const jnt=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>Lnt(i));return n?r:r[0]};function Lnt(e,t){return e.type===s.TITLE&&e.props.config.push(Zt.ShowTitle),e.type===s.GRID_TABLE&&e.props.headers.map(n=>{var o,r,i,u,c,a,l,f,y,p,b,O,m,w,h,$,P,E,T,j,A,it;if(n.type===s.OPERATION_COLUMN){if(n.props.width_type==="auto"?n.props.auto_width={min_width:120,max_width:120,flex:1}:n.props.width_type==="px"&&(n.props.auto_width={min_width:n.props.width,max_width:n.props.width,flex:1}),n.props.width_type="auto",n.children=(o=n==null?void 0:n.children)!=null?o:[],delete n.props.custom,((r=n.props)==null?void 0:r.check)!==void 0){const B=new ry.Designer;Object.defineProperty(B,"id",{value:"listPageCheckBtnId"}),B.props.code="view",B.props.icon="iconliulan1",B.props.command="view",B.props.content=(i=n.props)==null?void 0:i.check.content,B.props.priorityProcess=(u=n.props)==null?void 0:u.check.priority_process,B.props.openType=(c=n.props)==null?void 0:c.check.open_type,B.props.formKey=(a=n.props)==null?void 0:a.check.form_key,(l=n.props)!=null&&l.check.is_show&&n.children.push(B.toSchema()),(f=n.props)==null||delete f.check}if(((y=n.props)==null?void 0:y.edit)!==void 0){const B=new ry.Designer;Object.defineProperty(B,"id",{value:"listPageEditBtnId"}),B.props.code="edit",B.props.icon="iconbianji1",B.props.command="edit",B.props.content=(p=n.props)==null?void 0:p.edit.content,B.props.priorityProcess=(b=n.props)==null?void 0:b.edit.priority_process,B.props.openType=(O=n.props)==null?void 0:O.edit.open_type,B.props.formKey=(m=n.props)==null?void 0:m.edit.form_key,(w=n.props)!=null&&w.edit.is_show&&n.children.push(B.toSchema()),(h=n.props)==null||delete h.edit}if((($=n.props)==null?void 0:$.delete)!==void 0){const B=new ry.Designer;Object.defineProperty(B,"id",{value:"listPageDeleteBtnId"}),B.props.code="delete",B.props.icon="iconlajitong",B.props.command="delete",B.props.content=(P=n.props)==null?void 0:P.delete.content,B.props.priorityProcess=(E=n.props)==null?void 0:E.delete.priority_process,B.props.openType=(T=n.props)==null?void 0:T.delete.open_type,B.props.formKey=(j=n.props)==null?void 0:j.delete.form_key,B.props.needConfirm=!0,B.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",(A=n.props)!=null&&A.delete.is_show&&n.children.push(B.toSchema()),(it=n.props)==null||delete it.delete}}}),[s.SELECT,s.SELECT_RELATION,s.SELECT_MULTIPLE,s.RADIO,s.CHECKBOX,s.TREE,s.DEPARTMENT2,s.EMPLOYEE2,s.DEPARTMENT,s.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===s.SUBTABLE&&e.props.headers.forEach(n=>{[s.SELECT,s.SELECT_RELATION,s.SELECT_MULTIPLE,s.RADIO,s.CHECKBOX,s.TREE,s.DEPARTMENT2,s.EMPLOYEE2,s.DEPARTMENT,s.EMPLOYEE].includes(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),e}const Mnt=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>Nnt(i,t));return n?r:r[0]};function Nnt(e,t){e.type===s.SUBTABLE&&e.props.headers.map(o=>{var i;o.props.meta_auto_width=new B0,o.props.width_type==="px"&&(o.props.meta_auto_width.pc.width=o.props.width,o.props.meta_auto_width.pc.width_type="px"),delete o.props.width,delete o.props.width_type;const r=(i=o.children)==null?void 0:i[0];r&&r.type===s.CALC&&r.props.calc_on_mounted===void 0&&(r.props.calc_on_mounted=!0)});const n={[s.SUBTABLE]:[{key:"page_index",value:1},{key:"page_size",value:10},{key:"page_size_options",value:[10,20,50,100]},{key:"total_count",value:0}],[s.GRID_TABLE]:[{key:"page_index",value:1},{key:"page_size",value:20},{key:"page_size_options",value:[10,20,50,100]},{key:"total_count",value:0},{key:"is_show_selection",value:!1}],[s.LIST_VIEW]:[{key:"selection_type",value:"multiple"},{key:"row_style_type",value:"none"},{key:"is_show_selection",value:!1}],[s.SIMPLE_SEARCH]:[{key:"col-gap",value:24},{key:"child-min-width",value:230}],[s.IMPORT_RECORD_LIST_BUTTON]:[{key:"template-type",value:"system"}]};return e.type in n&&n[e.type].forEach(o=>{e.props[o.key]===void 0&&(e.props[o.key]=o.value)}),e.type===s.GRID_TABLE&&e.props.headers.forEach(o=>{o.type===s.OPERATION_COLUMN&&(o.props.limit===void 0&&(o.props.limit=3),o.props.show_type===void 0&&(o.props.show_type="icon")),o.props.flex===void 0&&(o.props.flex=1),o.props.auto_width===void 0&&(o.props.auto_width=new Ca)}),e.type===s.CALC&&e.props.calc_on_mounted===void 0&&(e.props.calc_on_mounted=!0),Vnt(t),e}function Vnt(e){if(!(!e||!e.listeners)){if(Object.keys(e.listeners).forEach(t=>{let n,o,r;e.listeners[t].forEach((i,u)=>{switch(i.event_key||i.eventKey){case"on_click_finish":o=i,r=u;break;case"on_click":n=i;break}}),o&&(o.cases[0].handlers.unshift(Xh()),n?(o.cases.forEach(i=>{n.cases[0].handlers.push(i)}),e.listeners[t].splice(r,1)):o.event_key="on_click")}),!e.listeners.form_submit)e.listeners.form_submit=[{event_key:"on_click",event_param:[],cases:[znt()]}];else if(e.listeners.form_submit&&e.listeners.form_submit&&e.listeners.form_submit[0]&&e.listeners.form_submit[0].cases&&e.listeners.form_submit[0].cases[0]&&e.listeners.form_submit[0].cases[0].handlers){let t=!1;e.listeners.form_submit[0].cases[0].handlers.forEach(n=>{n.method==="actionOperate"&&(t=!0)}),t||e.listeners.form_submit[0].cases[0].handlers.push(Xh())}}}function znt(){return{id:"case"+new Date().getTime(),name:"\u9ED8\u8BA4\u60C5\u5F62",match_type:"AND",match_rules:[],handlers:[Xh()]}}function Xh(){return{id:"handler"+new Date().getTime(),method:"actionOperate",params:{control_id:"",opt_type:"",opt_code:"",is_error_continue:!1}}}const Hnt=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>qnt(i,t));return n?r:r[0]};function qnt(e,t){if(e.type===s.LIST_VIEW){if(e.props.is_show_selection===!1){const n=[s.BATCH_SUBMISSION_LIST_BUTTON,s.LIST_PAGE_BTN_BATCH_PRINT,s.BATCH_DELETE_LIST_BUTTON];e.children.forEach(o=>{o.type===s.GRID_TABLE&&o.children.map(u=>u.type).some(u=>n.includes(u))===!0&&(e.props.is_show_selection=!0,o.props.is_show_selection=!0)})}e.props.caption===""&&(e.props.caption=t==null?void 0:t.formName),e.props.is_all_loaded===void 0&&(e.props.is_all_loaded=!0)}return e.type===s.TEXTAREA&&e.props.auto_size===void 0&&(e.props.auto_size=!1),e.type===s.SUBTABLE&&e.props.mobile_default_num===void 0&&(e.props.mobile_default_num=e.props.mobile_show_type==="tile"?5:10),e.type===s.TREE&&e.props.default_display===void 0&&(e.props.default_display=!1),e.type===s.GRID_TABLE&&e.props.is_show_toolbar===void 0&&(e.props.is_show_toolbar=!0),e.type===s.NUMBER&&e.props.regular_rules===void 0&&(e.props.regular_rules=new Za),e}const Unt=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>Cnt(i));return n?r:r[0]};function Cnt(e,t){return[s.LIST_PAGE_BTN_BATCH_PRINT_RECORD,s.EXPORT_LIST_BUTTON,s.EXPORT_RECORD_LIST_BUTTON,s.CREATE_FORM_LIST_BUTTON,s.IMPORT_RECORD_LIST_BUTTON,s.SUBMISSION_RECORD_LIST_BUTTON,s.BATCH_DELETE_LIST_BUTTON,s.BUTTON,s.SUBMISSION_RECORD_LIST_BUTTON,s.LIST_PAGE_BTN_BATCH_PRINT].includes(e.type)&&(e.control_type="base"),e.type===s.SUBTABLE&&e.props.mobile_default_num===void 0&&(e.props.mobile_default_num=e.props.mobile_show_type==="tile"?5:10),e}const Wnt=(e,t)=>{const n=Array.isArray(e),o=n?e:[e],r={};let i=C(o,u=>{const c=Knt(u);return r[u.id]=u,c});return Gnt(r,t),n?i:i[0]};function Knt(e,t){if(e.type===s.ORGANIZATION_SELECTION){const n=e.props.selected_content_config,o=n==null?void 0:n.display_bo_list;o&&o.forEach(r=>{r.value==="org_type_code"&&(r.label="\u4E1A\u52A1\u7C7B\u578B"),r.value==="org_pattern_code"&&(r.label="\u7EC4\u7EC7\u5F62\u6001")})}return e.type===s.LIST_SELECT_BUTTON&&e.props.disable_filling===void 0&&(e.props.disable_filling=!1),e}function Gnt(e,t){var n,o;if((t==null?void 0:t.formType)===1&&(t==null?void 0:t.events)!==void 0){const r=(o=(n=t==null?void 0:t.events)==null?void 0:n.did_mount)!=null?o:[];r.length>0&&(t.events.did_init=r,t.events.did_mount=[]),t.events.did_init===void 0&&(t.events.did_init=[])}}var jR={"v1.0":Yet,"v2.0":snt,"v2.1":dnt,"v2.2":hnt,"v2.3":gnt,"v2.4":wnt,"v2.5":Pnt,"v2.6":Snt,"v2.7":Rnt,"v2.8":Int,"v2.9":knt,"v2.10":xnt,"v3.0":jnt,"v3.1":Mnt,"v3.2":Hnt,"v3.3":Unt,"v3.4":Wnt,"v3.5":()=>{}};const LR=(e,t)=>{const n=MR(e),o=MR(t),r=n.pop(),i=o.pop(),u=zR(n,o);return u!==0?u:r&&i?zR(r.split("."),i.split(".")):r||i?r?-1:1:0},Ia=(e,t,n)=>{Znt(n);const o=LR(e,t);return HR[n].includes(o)},Xnt=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,MR=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(Xnt);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},NR=e=>e==="*"||e==="x"||e==="X",VR=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},Jnt=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],Qnt=(e,t)=>{if(NR(e)||NR(t))return 0;const[n,o]=Jnt(VR(e),VR(t));return n>o?1:n<o?-1:0},zR=(e,t)=>{for(let n=0;n<Math.max(e.length,t.length);n++){const o=Qnt(e[n]||"0",t[n]||"0");if(o!==0)return o}return 0},HR={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},qR=Object.keys(HR),Znt=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(qR.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${qR.join("|")}`)};function Jh(e){return e.replace(/^v/,"")}const Un=Object.keys(jR).map(e=>Jh(e)).sort(LR),go=Un[Un.length-1];class Ynt{constructor(t,n=go){this.schemaVersion=t,this.toVersion=n,Ia(n,go,">")?Xn(`Version Builder: The specified ${n} is an undefined version, and the current latest version is ${go}`):(!Un.includes(Jh(n))||!Un.includes(Jh(t)))&&Xn(`Version Builder: Please give me a valid version number, The valid version is: ${Un.join(",")}, But give me a ${t}`)}dataCleaner(t,n){if(Ia(this.toVersion,this.schemaVersion,"="))return t;const o=this.callDataCleanerKeys.reduce((r,i,u,c)=>{var y;const a=(y=c[u+1])!=null?y:this.toVersion;wo(`Version Builder: current version: ${i}, nextVersion: ${a}`);const l=jR[i];let f=r;if(typeof l=="function"){const p=l(r,n);p&&(f=p)}return f},t);return wo(`Version Builder: Version conversion completed, evolving from ${this.schemaVersion} to ${this.toVersion}`),o}get runDataCleanerKeys(){return Un.filter(t=>Ia(t,this.schemaVersion,">=")&&Ia(t,this.toVersion,"<"))}get callDataCleanerKeys(){return this.runDataCleanerKeys.map(t=>"v"+t)}get version(){return go}static get version(){return go}}xe.VersionBuilder=Ynt,Object.defineProperty(xe,"__esModule",{value:!0})});