@byteluck-fe/model-driven-upgrade 2.22.0-beta.1 → 2.22.0-beta.3
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/esm/VersionBuilder.js +10 -10
- package/dist/esm/index.js +2 -2
- package/dist/esm/upgrade/index.js +45 -45
- package/dist/esm/upgrade/v1_0.js +114 -114
- package/dist/esm/upgrade/v2_0.js +2 -2
- package/dist/esm/upgrade/v2_1.js +9 -9
- package/dist/esm/upgrade/v2_10.js +1 -1
- package/dist/esm/upgrade/v2_2.js +13 -13
- package/dist/esm/upgrade/v2_3.js +2 -2
- package/dist/esm/upgrade/v2_4.js +1 -1
- package/dist/esm/upgrade/v2_5.js +1 -1
- package/dist/esm/upgrade/v2_6.js +1 -1
- package/dist/esm/upgrade/v2_7.js +5 -5
- package/dist/esm/upgrade/v2_8.js +2 -2
- package/dist/esm/upgrade/v2_9.js +1 -1
- package/dist/esm/upgrade/v3_0.js +22 -22
- package/dist/esm/upgrade/v3_1.js +36 -36
- package/dist/esm/upgrade/v3_10.js +1 -1
- package/dist/esm/upgrade/v3_2.js +4 -4
- package/dist/esm/upgrade/v3_3.js +8 -8
- package/dist/esm/upgrade/v3_4.js +11 -11
- package/dist/esm/upgrade/v3_5.js +19 -19
- package/dist/esm/upgrade/v3_6.js +9 -9
- package/dist/esm/upgrade/v3_7.js +5 -5
- package/dist/esm/upgrade/v3_8.js +32 -32
- package/dist/index.umd.js +1 -1
- package/package.json +4 -4
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(Bn,Wr){typeof exports=="object"&&typeof module!="undefined"?Wr(exports):typeof define=="function"&&define.amd?define(["exports"],Wr):(Bn=typeof globalThis!="undefined"?globalThis:Bn||self,Wr(Bn.modelDrivenUpgrade={}))})(this,function(Bn){"use strict";var Wr="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",ZT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",YT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",e3="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",t3="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",n3="{caption}\u5FC5\u586B",r3="\u8BF7\u8F93\u5165\u6807\u9898",o3="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",i3="\u8BF7\u8F93\u5165\u884C\u6807\u9898",u3="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",c3="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",l3="\u8BF7\u7ED1\u5B9A\u8868\u5355",a3="\u8BF7\u7ED1\u5B9A\u5217\u8868",f3="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",s3="\u8BF7\u8F93\u5165\u663E\u793A\u503C",_3="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",y3="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",p3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",d3="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",v3="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",h3="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",b3="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",g3="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",m3="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",O3="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",w3="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",$3="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",P3="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",R3="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",S3="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",E3="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",T3="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",I3="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",B3="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",A3="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",x3="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",k3="\u8BF7\u7ED1\u5B9A\u670D\u52A1",D3="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",N3="\u8BF7\u9009\u62E9\u7701",F3="\u8BF7\u9009\u62E9\u5E02",j3="\u8BF7\u9009\u62E9\u533A",L3="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",M3="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",C3="\u8BF7\u8F93\u5165\u5217\u5BBD",V3="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",z3="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",H3="\u8BF7\u9009\u62E9\u63A7\u4EF6",q3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",U3="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",W3="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",K3="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",G3="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",X3="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Q3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",J3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Z3="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Y3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",eI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",tI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",nI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",rI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",oI="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",iI="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",uI="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",cI="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",lI="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",aI="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",fI="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",sI="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",_I="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",yI="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",pI="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",dI="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",vI="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",hI={isNotNumber:Wr,isNotString:ZT,isNotObject:YT,isNotArray:e3,isNotBoolean:t3,runtimeRequired:n3,pleaseEnterCaption:r3,pleaseEnterCaptionTip:o3,pleaseEnterRowCaption:i3,pleaseEnterPlaceholder:u3,pleaseEnterFieldCode:c3,pleaseEnterForm:l3,pleaseEnterList:a3,pleaseEnterProcess:f3,pleaseEnterLabel:s3,pleaseEnterValue:_3,bizKeyNotBindFiled:y3,pleaseSelectOneField:p3,pleaseEnterNumberRange:d3,pleaseEnterAValueGreaterThanMin:v3,pleaseEnterAValueLessThanMax:h3,numberRangeSetError:b3,stringRangeError:g3,attachmentMaxSize:m3,pleaseEnterTotalScoreSetting:O3,theTotalScoreMustNotBeLessThan1:w3,scoreDefaultValueRange:$3,attachmentLimitError:P3,PleaseReselectTheOptionalQuantity:R3,TheMaximumLengthIsGreaterThanTheMinimumLength:S3,TheMinimumLengthIsGreaterThanTheMaximumLength:E3,PleaseSelectTheCorrectOptionSettings:T3,optionIdIsRepeat:I3,optionIsRequired:B3,pleaseEnterDataCode:A3,pleaseEnterValueFieldCode:x3,pleaseEnterSvcCode:k3,pleaseBindAtLeastOneDisplayValue:D3,pleaseSelectProvince:N3,pleaseSelectCity:F3,pleaseSelectDistrict:j3,limitRowsCannotBeLessThan0:L3,TheNumberOfRowsCannotBeLessThanMinRows:M3,pleaseEnterColumnWidth:C3,pleaseSetTheLogicalRelationshipOfAllRuleConditions:V3,pleaseCompleteAllRulesAndConditions:z3,pleaseSelectControl:H3,pleaseSelectAtLeastOneColumn:q3,pleaseSelectFillBackMode:U3,pleaseSelectDashboard:W3,rootNodeIsRequired:K3,theViewNameCannotBeEmpty:G3,pleaseSelectOcrType:X3,pleaseSelectAtLeastOneFieldToFillIn:Q3,pleaseChooseAtLeastOne:J3,pleaseEnterButtonContent:Z3,pleaseEnterDataCodeInDataSetting:Y3,pleaseEnterValueFieldCodeInDataSetting:eI,pleaseEnterSvcCodeInDataSetting:tI,pleaseBindAtLeastOneDisplayValueInDataSetting:nI,rootNodeIsRequiredInDataSetting:rI,pleaseEnterMaxHeight:oI,pleaseEnter:iI,pleaseEnterWatermark:uI,pleaseEnterFileName:cI,pleaseUploadAtLeastOnePrintTemplate:lI,pleaseAssignBusiness:aI,pleaseAssignExternal:fI,pleaseEnterAliasCode:sI,pleaseSelectDataCode:_I,pleaseSelectSvcCode:yI,pleaseSelectJoinFieldCode:pI,pleaseSelectMainFieldCode:dI,pleaseSelectSortFieldCode:vI},bI="Please enter a number",gI="Please enter a string",mI="Please enter an object",OI="Please enter an array",wI="Please enter a boolean",$I="{caption} Required",PI="Please enter the title",RI="Please enter the bubble prompt",SI="Please enter the row title",EI="Please enter the prompt text",TI="Please bind data items",II="Please bind the form",BI="Please bind the list",AI="Please bind the process",xI="Please enter the displayed value",kI="Please enter the stored value",DI="The document number is not bound to the data item",NI="Please select at least one display field",FI="Please enter a value greater than or equal to {min} and less than or equal to {max}",jI="Please enter a value greater than or equal to {min}",LI="Please enter a value less than or equal to {max}",MI="The value range is set incorrectly",CI="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",VI="The attachment size must be between 0MB and 1000MB",zI="Please fill in the total score setting",HI="The total score cannot be less than 1",qI="The default value must be between {min} and {max}",UI="The number of attachment uploads exceeds the limit",WI="Please re-select the optional quantity",KI="The maximum length of the control must be greater than the minimum length",GI="The minimum length of the control must be less than the maximum length",XI="Please select the correct option setting",QI="Option ID cannot be repeated",JI="Please enter at least one option",ZI="Please bind the data source",YI="Please bind the stored value",eB="Please bind the service",tB="At least one display value must be bound",nB="Please select a province",rB="Please select a city",oB="Please select a district",iB="The minimum number of lines to fill in cannot be less than 0",uB="The number of rows cannot be less than {min} rows",cB="Please enter the column width",lB="Please set the logical relationship of all rule conditions",aB="Please complete all rules and conditions",fB="please select control",sB="Please select the dashboard",_B="View name cannot be empty",yB="Please select recognition type",pB="Please select at least one field to fill in",dB="Please select at least one",vB="Please enter the button title",hB="Please bind the business model in the data settings",bB="Please bind storage values in data settings",gB="Please bind the service in the data settings",mB="Please bind at least one display value in the data settings",OB="Please select the root node in the data settings",wB="Please enter the maximum height",$B="The input content cannot be empty",PB="Watermark cannot be empty",RB="File name cannot be empty",SB="Please upload at least one printing template!\uFF01",EB="Please select a specific business department",TB="Please select a specified external organization",IB="Please enter a sub table alias",BB="Please select the associated table to set the business model",AB="Please select the association table to set the binding service",xB="Select associated sub table fields",kB="Please select the associated main table field",DB="Please select the sort field",NB={isNotNumber:bI,isNotString:gI,isNotObject:mI,isNotArray:OI,isNotBoolean:wI,runtimeRequired:$I,pleaseEnterCaption:PI,pleaseEnterCaptionTip:RI,pleaseEnterRowCaption:SI,pleaseEnterPlaceholder:EI,pleaseEnterFieldCode:TI,pleaseEnterForm:II,pleaseEnterList:BI,pleaseEnterProcess:AI,pleaseEnterLabel:xI,pleaseEnterValue:kI,bizKeyNotBindFiled:DI,pleaseSelectOneField:NI,pleaseEnterNumberRange:FI,pleaseEnterAValueGreaterThanMin:jI,pleaseEnterAValueLessThanMax:LI,numberRangeSetError:MI,stringRangeError:CI,attachmentMaxSize:VI,pleaseEnterTotalScoreSetting:zI,theTotalScoreMustNotBeLessThan1:HI,scoreDefaultValueRange:qI,attachmentLimitError:UI,PleaseReselectTheOptionalQuantity:WI,TheMaximumLengthIsGreaterThanTheMinimumLength:KI,TheMinimumLengthIsGreaterThanTheMaximumLength:GI,PleaseSelectTheCorrectOptionSettings:XI,optionIdIsRepeat:QI,optionIsRequired:JI,pleaseEnterDataCode:ZI,pleaseEnterValueFieldCode:YI,pleaseEnterSvcCode:eB,pleaseBindAtLeastOneDisplayValue:tB,pleaseSelectProvince:nB,pleaseSelectCity:rB,pleaseSelectDistrict:oB,limitRowsCannotBeLessThan0:iB,TheNumberOfRowsCannotBeLessThanMinRows:uB,pleaseEnterColumnWidth:cB,pleaseSetTheLogicalRelationshipOfAllRuleConditions:lB,pleaseCompleteAllRulesAndConditions:aB,pleaseSelectControl:fB,pleaseSelectDashboard:sB,theViewNameCannotBeEmpty:_B,pleaseSelectOcrType:yB,pleaseSelectAtLeastOneFieldToFillIn:pB,pleaseChooseAtLeastOne:dB,pleaseEnterButtonContent:vB,pleaseEnterDataCodeInDataSetting:hB,pleaseEnterValueFieldCodeInDataSetting:bB,pleaseEnterSvcCodeInDataSetting:gB,pleaseBindAtLeastOneDisplayValueInDataSetting:mB,rootNodeIsRequiredInDataSetting:OB,pleaseEnterMaxHeight:wB,pleaseEnter:$B,pleaseEnterWatermark:PB,pleaseEnterFileName:RB,pleaseUploadAtLeastOnePrintTemplate:SB,pleaseAssignBusiness:EB,pleaseAssignExternal:TB,pleaseEnterAliasCode:IB,pleaseSelectDataCode:BB,pleaseSelectSvcCode:AB,pleaseSelectJoinFieldCode:xB,pleaseSelectMainFieldCode:kB,pleaseSelectSortFieldCode:DB},FB="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jB="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",LB="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",MB="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",CB="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",VB="{caption}\u5FC5\u9808",zB="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",HB="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",qB="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",UB="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",WB="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",KB="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",GB="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",XB="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",QB="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",JB="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ZB="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",YB="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",e1="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",t1="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",n1="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",r1="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",o1="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",i1="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",u1="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",c1="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",l1="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",a1="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",f1="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",s1="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5927\u5024\u306F\u6700\u5C0F\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",_1="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5C0F\u5024\u306F\u6700\u5927\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",y1="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",p1="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",d1="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",v1="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",h1="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",b1="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",g1="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",m1="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",O1="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",w1="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",$1="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",P1="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",R1="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",S1="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",E1="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",T1="please select control",I1="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",B1="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",A1="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",x1="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",k1="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",D1="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",N1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",F1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",j1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",L1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",M1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",C1="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",V1="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",z1="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",H1="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",q1="\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",U1="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",W1="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",K1="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",G1="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",X1="\u95A2\u9023\u30C6\u30FC\u30D6\u30EB\u8A2D\u5B9A\u30D0\u30A4\u30F3\u30C9\u30B5\u30FC\u30D3\u30B9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Q1="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",J1="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Z1="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Y1={isNotNumber:FB,isNotString:jB,isNotObject:LB,isNotArray:MB,isNotBoolean:CB,runtimeRequired:VB,pleaseEnterCaption:zB,pleaseEnterCaptionTip:HB,pleaseEnterRowCaption:qB,pleaseEnterPlaceholder:UB,pleaseEnterFieldCode:WB,pleaseEnterForm:KB,pleaseEnterList:GB,pleaseEnterProcess:XB,pleaseEnterLabel:QB,pleaseEnterValue:JB,bizKeyNotBindFiled:ZB,pleaseSelectOneField:YB,pleaseEnterNumberRange:e1,pleaseEnterAValueGreaterThanMin:t1,pleaseEnterAValueLessThanMax:n1,numberRangeSetError:r1,stringRangeError:o1,attachmentMaxSize:i1,pleaseEnterTotalScoreSetting:u1,theTotalScoreMustNotBeLessThan1:c1,scoreDefaultValueRange:l1,attachmentLimitError:a1,PleaseReselectTheOptionalQuantity:f1,TheMaximumLengthIsGreaterThanTheMinimumLength:s1,TheMinimumLengthIsGreaterThanTheMaximumLength:_1,PleaseSelectTheCorrectOptionSettings:y1,optionIdIsRepeat:p1,optionIsRequired:d1,pleaseEnterDataCode:v1,pleaseEnterValueFieldCode:h1,pleaseEnterSvcCode:b1,pleaseBindAtLeastOneDisplayValue:g1,pleaseSelectProvince:m1,pleaseSelectCity:O1,pleaseSelectDistrict:w1,limitRowsCannotBeLessThan0:$1,TheNumberOfRowsCannotBeLessThanMinRows:P1,pleaseEnterColumnWidth:R1,pleaseSetTheLogicalRelationshipOfAllRuleConditions:S1,pleaseCompleteAllRulesAndConditions:E1,pleaseSelectControl:T1,pleaseSelectDashboard:I1,theViewNameCannotBeEmpty:B1,pleaseSelectOcrType:A1,pleaseSelectAtLeastOneFieldToFillIn:x1,pleaseChooseAtLeastOne:k1,pleaseEnterButtonContent:D1,pleaseEnterDataCodeInDataSetting:N1,pleaseEnterValueFieldCodeInDataSetting:F1,pleaseEnterSvcCodeInDataSetting:j1,pleaseBindAtLeastOneDisplayValueInDataSetting:L1,rootNodeIsRequiredInDataSetting:M1,pleaseEnterMaxHeight:C1,pleaseEnter:V1,pleaseEnterWatermark:z1,pleaseEnterFileName:H1,pleaseUploadAtLeastOnePrintTemplate:q1,pleaseAssignBusiness:U1,pleaseAssignExternal:W1,pleaseEnterAliasCode:K1,pleaseSelectDataCode:G1,pleaseSelectSvcCode:X1,pleaseSelectJoinFieldCode:Q1,pleaseSelectMainFieldCode:J1,pleaseSelectSortFieldCode:Z1},eA={zhCN:hI,enUS:NB,jaJP:Y1},eg;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(eg||(eg={}));var tg;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(tg||(tg={}));var tA="zh-CN",An;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(An||(An={}));var ng;(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"})(ng||(ng={}));var y;(function(e){e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",e.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.ORGANIZATION_SELECTION="organization-selection",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.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.VUE_PAGE="vue-page"})(y||(y={}));var rg;(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"})(rg||(rg={}));var m;(function(e){e.VARCHAR="varchar",e.TEXT="text",e.ARRAY="array",e.ADDRESS="location",e.DECIMAL="decimal",e.DECIMAL_RANGE="decimal_range",e.TIMESTAMP="timestamp",e.EMPLOYEES="people",e.DEPARTMENTS="department",e.MONEY="money",e.TIMESCOPE="timescope",e.FILE="file",e.IMAGE="image",e.AUTO_NUMBER="auto_number",e.CALC="calc",e.LIST="list",e.JSON="json",e.ANY="ANY"})(m||(m={}));var qt;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"})(qt||(qt={}));var og={DEFAULT:"default"},ig="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",nA=ig+"0123456789";function _t(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",r=0;r<e;r++){var n=r===0?ig:nA,o=Math.random()*n.length;t+=n[parseInt(String(o),10)]}return t}function ms(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function rA(e){if(Array.isArray(e))return ms(e)}function oA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ug(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qo(e,t,r){return ag()?qo=Reflect.construct:qo=function(o,i,u){var c=[null];c.push.apply(c,i);var l=Function.bind.apply(o,c),a=new l;return u&&Gr(a,u.prototype),a},qo.apply(null,arguments)}function Kr(e){return Kr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kr(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&&Gr(e,t)}function iA(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function uA(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function cA(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function lA(e,t){return t&&(aA(t)==="object"||typeof t=="function")?t:oA(e)}function Gr(e,t){return Gr=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gr(e,t)}function lg(e){return rA(e)||uA(e)||fA(e)||cA()}function aA(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fA(e,t){if(!!e){if(typeof e=="string")return ms(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ms(e,t)}}function Os(e){var t=typeof Map=="function"?new Map:void 0;return Os=function(n){if(n===null||!iA(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return qo(n,arguments,Kr(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Gr(o,n)},Os(e)}function ag(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fg(e){var t=ag();return function(){var n=Kr(e),o;if(t){var i=Kr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lA(this,o)}}var ws=console;function $s(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o=t.slice(1);(n=ws).warn.apply(n,["\u{1F9D0} Driven Warning:"+t[0]].concat(lg(o)))}function Uo(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o=t.slice(1);(n=ws).log.apply(n,["\u{1F680} Driven Log:"+t[0]].concat(lg(o)))}function sA(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Ps=function(e){cg(r,e);var t=fg(r);function r(n){ug(this,r);var o;return o=t.call(this,n),o.name="\u{1F4A5} Driven Error",o.message=n?sA(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return r}(Os(Error)),_A=function(e){cg(r,e);var t=fg(r);function r(n){ug(this,r);var o;return o=t.call(this,n),o.name="\u{1F6A8} Driven Reference Error",o}return r}(Ps);function Xr(e){throw new Ps(e)}function sg(e){throw new _A(e)}function yA(e){ws.error(new Ps(e))}var pA=Object.prototype.toString;function _g(e,t){return pA.call(e)==="[object "+t+"]"}function dA(e){return _g(e,"String")}function vA(e){return _g(e,"Promise")}var hA=function(){function e(t){var r,n;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((n=(r=t.messages)!==null&&r!==void 0?r:this.getPreImport(t.locale))!==null&&n!==void 0?n:{}),t.variableRegExp&&(this.variableRegExp=t.variableRegExp),this.setLocale(t.locale)}return e.prototype.setLocale=function(t){var r=this;this.locale=t,this._messageCache.clear();var n=this.getMessageData();vA(n)?n.then(function(o){r._messageCache.clear(),r.messages[r.localeInMessageKey]=o}):this.messages[this.localeInMessageKey]=n},e.prototype.getMessageData=function(){var t=this._messages[this.localeInMessageKey];return typeof t=="function"?t():t},e.prototype.translate=function(t,r,n){var o=this.getMessage(t);return o?this.formatMessage(o,n):this.formatMessage(r,n)},e.prototype.getMessage=function(t){if(this._messageCache.has(t))return this._messageCache.get(t);var r=this.getPathArray(t),n=r.reduce(function(o,i,u,c){if(o!==void 0){var l=o[i];if(!(u===c.length-1&&!dA(l)))return l}},this.message);return this._messageCache.set(t,n),n},e.prototype.formatMessage=function(t,r){return r?t.replace(this.variableRegExp,function(n,o){var i=r[o];return i!==void 0?String(i):n}):t},e.prototype.getPreImport=function(t){var r;if(window.okI18nPreImport){var n=this.getLocaleInMessageKey(t);return window.okI18nPreImport.hasOwnProperty(n)?window.okI18nPreImport:(r={},r[n]=window.okI18nPreImport,r)}},e.prototype.getPathArray=function(t){return t.split(".")},e.prototype.getLocaleInMessageKey=function(t){return t.replace(/-/g,"")},Object.defineProperty(e.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"message",{get:function(){var t;return(t=this.messages[this.localeInMessageKey])!==null&&t!==void 0?t:{}},enumerable:!1,configurable:!0}),e}();function bA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gA(e,t,r){return t&&yg(e.prototype,t),r&&yg(e,r),e}function mA(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var h=function(){function e(){bA(this,e)}return gA(e,null,[{key:"getMessage",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(r,"",n)}},{key:"resetI18n",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:tA;return new hA({locale:r,messages:eA})}},{key:"setLocale",value:function(r){return this.$i18n.setLocale(r)}}]),e}();mA(h,"$i18n",h.resetI18n());function OA(e,t,r){var n=t.replace(/\[(\d)]/g,function(i,u){return"."+u}).split("."),o=!1;return n.reduce(function(i,u,c,l){var a=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,u)){$s("Can not set ".concat(t,"'s ").concat(u," property in current %o, Because there is no ").concat(u," property on the %o"),i,i);return}return c===l.length-1&&!Object.is(a[u],r)&&(a[u]=r,o=!0),a[u]}},e),o}var wA=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Rs={exports:{}};(function(e){(function(t){var r=function(d,$,P){if(!a($)||_($)||p($)||g($)||l($))return $;var S,E=0,C=0;if(f($))for(S=[],C=$.length;E<C;E++)S.push(r(d,$[E],P));else{S={};for(var x in $)Object.prototype.hasOwnProperty.call($,x)&&(S[d(x,P)]=r(d,$[x],P))}return S},n=function(d,$){$=$||{};var P=$.separator||"_",S=$.split||/(?=[A-Z])/;return d.split(S).join(P)},o=function(d){return O(d)?d:(d=d.replace(/[\-_\s]+(.)?/g,function($,P){return P?P.toUpperCase():""}),d.substr(0,1).toLowerCase()+d.substr(1))},i=function(d){var $=o(d);return $.substr(0,1).toUpperCase()+$.substr(1)},u=function(d,$){return n(d,$).toLowerCase()},c=Object.prototype.toString,l=function(d){return typeof d=="function"},a=function(d){return d===Object(d)},f=function(d){return c.call(d)=="[object Array]"},_=function(d){return c.call(d)=="[object Date]"},p=function(d){return c.call(d)=="[object RegExp]"},g=function(d){return c.call(d)=="[object Boolean]"},O=function(d){return d=d-0,d===d},b=function(d,$){var P=$&&"process"in $?$.process:$;return typeof P!="function"?d:function(S,E){return P(S,d,E)}},w={camelize:o,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(d,$){return r(b(o,$),d)},decamelizeKeys:function(d,$){return r(b(u,$),d,$)},pascalizeKeys:function(d,$){return r(b(i,$),d)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=w:t.humps=w})(wA)})(Rs);var pg={};Object.defineProperty(pg,"__esModule",{value:!0});function Ss(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:Ss(t));{const t={};for(const r in e){const n=e[r];t[r]=typeof n!="object"||n===null?n:Ss(n)}return t}}var $A=pg.default=Ss;function PA(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Je(e){if(e!==void 0)return(typeof e=="undefined"?"undefined":PA(e))==="object"?$A(e):e}function me(e){return dg(e)&&"zh"in e}function dg(e){return Object.prototype.toString.call(e)==="[object Object]"}function Es(e){return Array.isArray(e)}function xn(e){return isNaN(parseFloat(e))?"":Number(e)}function RA(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function z(e,t){var r=[];return Array.isArray(e)&&(r=e.map(function(n){var o=n;return Array.isArray(n==null?void 0:n.children)&&(o.children=z(n.children,t)),Array.isArray(n==null?void 0:n.footers)&&(o.footers=z(n.footers,t)),t(o)})),r}function SA(e){return Rs.exports.camelizeKeys(e)}function yn(e){return Rs.exports.decamelizeKeys(e)}function Ts(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function EA(e){if(Array.isArray(e))return Ts(e)}function vg(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(a){r(a);return}c.done?t(l):Promise.resolve(l).then(n,o)}function TA(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){vg(i,n,o,u,c,"next",l)}function c(l){vg(i,n,o,u,c,"throw",l)}u(void 0)})}}function IA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function BA(e,t,r){return t&&hg(e.prototype,t),r&&hg(e,r),e}function bg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function AA(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function xA(){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 Is(e){return EA(e)||AA(e)||kA(e)||xA()}function kA(e,t){if(!!e){if(typeof e=="string")return Ts(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ts(e,t)}}function DA(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(a){return function(f){return l([a,f])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(f){a=[6,f],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var NA=function(){function e(){IA(this,e),bg(this,"_events",new Map),bg(this,"debug",!1)}return BA(e,[{key:"emit",value:function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];var u=this;return TA(function(){var c,l,a,f,_,p,g,O,b,w,d,$;return DA(this,function(P){switch(P.label){case 0:if(c=u._events.get(r),l=[],!c)return[3,10];a=c.slice(),f=!0,_=!1,p=void 0,P.label=1;case 1:P.trys.push([1,8,9,10]),g=a[Symbol.iterator](),P.label=2;case 2:if(f=(O=g.next()).done)return[3,7];if(b=O.value,!c.includes(b))return[3,6];P.label=3;case 3:return P.trys.push([3,5,,6]),u.debug&&Uo.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(b.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+b.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"\u3002")].concat(Is(o))),[4,b.apply(null,Is(o))];case 4:return w=P.sent(),u.debug&&Uo.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(b.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+b.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Is(o),[w])),l.push(w),w===!1?[3,7]:[3,6];case 5:return d=P.sent(),yA(String(d)+":"+String(d.stack)),[3,6];case 6:return f=!0,[3,2];case 7:return[3,10];case 8:return $=P.sent(),_=!0,p=$,[3,10];case 9:try{!f&&g.return!=null&&g.return()}finally{if(_)throw p}return[7];case 10:return[2,l]}})})()}},{key:"on",value:function(r,n){if(this._events.has(r)){var o;(o=this._events.get(r))===null||o===void 0||o.push(n)}else this._events.set(r,[n])}},{key:"off",value:function(r,n){if(this._events.has(r)){var o=this._events.get(r),i=o==null?void 0:o.indexOf(n);o==null||o.splice(i,1)}}},{key:"delete",value:function(r){this._events.has(r)&&this._events.delete(r)}},{key:"clear",value:function(){this._events=new Map}}]),e}();function FA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jA(e,t,r){return t&&gg(e.prototype,t),r&&gg(e,r),e}function LA(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var MA=[{key:"on_click",name:"\u70B9\u51FB\u65F6",code:"click"},{key:"on_click_finish",name:"\u6267\u884C\u5B8C\u6210\u65F6",code:"click-finish"},{key:"on_change",name:"\u503C\u53D1\u751F\u53D8\u5316\u65F6",code:"change"},{key:"on_search",name:"\u641C\u7D22\u65F6",code:"search"},{key:"on_list_change",name:"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",code:"list-change"},{key:"on_list_search",name:"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",code:"list-search"},{key:"on_list_mounted",name:"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",code:"list-mounted"},{key:"on_list_delete",name:"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",code:"list-delete"},{key:"on_list_before_insert",name:"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",code:"list-before-insert"},{key:"on_input",name:"\u7528\u6237\u8F93\u5165\u65F6",code:"input"},{key:"on_blur",name:"\u5931\u53BB\u7126\u70B9\u65F6",code:"blur"},{key:"on_focus",name:"\u83B7\u53D6\u7126\u70B9\u65F6",code:"focus"},{key:"on_wps_open",name:"\u6253\u5F00\u6587\u4EF6\u65F6",code:"wps-open"},{key:"on_wps_save",name:"\u4FDD\u5B58\u6587\u4EF6\u65F6",code:"wps-save"},{key:"on_wps_rename",name:"\u91CD\u547D\u540D\u65F6",code:"wps-rename"},{key:"on_list_actions",name:"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",code:"list-actions"},{key:"on_list_render_operation",name:"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",code:"list-render-operation"},{key:"on_list_rowclick",name:"\u884C\u70B9\u51FB\u65F6",code:"list-rowclick"},{key:"on_list_before_rowdelete",name:"\u884C\u5220\u9664\u524D",code:"list-before-rowdelete"},{key:"on_list_before_import",name:"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",code:"list-before-import"},{key:"on_list_rows_checked",name:"\u884C\u9009\u4E2D\u65F6",code:"list-rows-checked"},{key:"on_change_tab",name:"\u6807\u7B7E\u9875\u5207\u6362\u65F6",code:"change-tab"},{key:"on_modal_ok",name:"\u5F39\u7A97\u786E\u8BA4\u65F6",code:"modal-ok"}],CA=function(){function e(){FA(this,e)}return jA(e,null,[{key:"getEventsFromKeys",value:function(r){var n=typeof r=="string"?[r]:r;return e.events.filter(function(o){return n.includes(o.key)})}},{key:"getEventsFromControl",value:function(r){var n=[],o=r.eventKeys;n=n.concat(e.events.filter(function(u){return o.includes(u.key)}));var i=r.customEvents.map(function(u){var c=u.key;return u.namespace!==void 0&&u.namespace!==null&&u.namespace!==""&&(c=u.namespace+":"+u.key),{key:c,code:u.key,name:u.name}});return n=n.concat(i),n}}]),e}();LA(CA,"events",MA);function Bs(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function VA(e){if(Array.isArray(e))return Bs(e)}function zA(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function HA(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function mg(e){return VA(e)||zA(e)||qA(e)||HA()}function qA(e,t){if(!!e){if(typeof e=="string")return Bs(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Bs(e,t)}}function As(e,t){var r;!((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0)&&r.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function Og(e,t,r){r!=="Runtime"&&(e.parent=t,As(e,"parent"))}function UA(e,t,r){e.forEach(function(n){Og(n,t,r)})}var wg=Symbol("targetKey");function $g(e){var t;return(t=e[wg])!==null&&t!==void 0?t:e}function Pg(e,t,r){return UA(e,t,r),new Proxy(e,{get:function(o,i){for(var u=arguments.length,c=new Array(u>2?u-2:0),l=2;l<u;l++)c[l-2]=arguments[l];var a;return i===wg?o:(a=Reflect).get.apply(a,[o,i].concat(mg(c)))},set:function(o,i,u){for(var c=arguments.length,l=new Array(c>3?c-3:0),a=3;a<c;a++)l[a-3]=arguments[a];var f;if(Es(e)&&i==="length"&&u===e.length)return!0;var _=(f=Reflect).set.apply(f,[o,i,u].concat(mg(l)));return dg(u)&&Og(u,t,r),_}})}function St(e,t,r,n,o){var i=n!=null?n:e,u=Pg($g(r!=null?r:[]),i,o);Object.defineProperty(e,t,{get:function(){return u},set:function(l){u=Pg($g(l),i,o)},enumerable:!0})}function WA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function KA(e,t,r){return t&&Rg(e.prototype,t),r&&Rg(e,r),e}function Ut(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Sg=[],Wo=function(){function e(t){WA(this,e),Ut(this,"registeredControlTypes",new Set),Ut(this,"controlConfigMap",new Map),Ut(this,"_controls",[]),Ut(this,"_type",void 0),this._type=t,this._initControls(t)}return KA(e,[{key:"registerControlConfig",value:function(r,n){return this.controlConfigMap.set(r,n),this}},{key:"getControlConfig",value:function(r){return this.controlConfigMap.get(r)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(r){r.__is_control__||Xr("".concat(r.name," is not a Control"));var n=this._controls.findIndex(function(o){return o.controlType===r.controlType});return n>-1&&($s("The ".concat(r.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(n,1)),this.registeredControlTypes.add(r.controlType),this._controls.push(r),this}},{key:"isLayoutControl",value:function(r){return r.controlType===An.LAYOUT}},{key:"isFormControl",value:function(r){return r.controlType===An.FORM}},{key:"isListControl",value:function(r){return r.controlType===An.LIST}},{key:"isColumnControl",value:function(r){return r.controlType===An.COLUMN}},{key:"createControl",value:function(r,n){var o=this;if(Array.isArray(r))return r.map(function(f){return o.createControl(f,n)});if(r.children&&(r.children=r.children.map(function(f){return o.createControl(f,n)})),this.isListControl(r)){var i=r.props;i.headers&&(i.headers=i.headers.map(function(f){return o.createControl(f,n)})),i.footers&&(i.footers=i.footers.map(function(f){var _;return f&&(_=o.createControl(f,n)),_}))}var u=this.getControlFormType(r.type);if(u){var c=r;if(typeof n=="function"){var l=n(c);l&&(c=l)}var a;return u.mode==="Runtime"?(a=c,a.fieldType=u.controlFieldType,this._setParentPrototypeToSchema(a,this)):a=new u(c),a}else Xr("The constructor of ".concat(r.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(r,n){delete r.parent,Object.defineProperty(r,"parent",{configurable:!0,get:function(){return n}}),As(r,"parent")}},{key:"_setParentPrototypeToSchema",value:function(r,n){n._type==="Runtime"&&(Object.defineProperty(r,"parent",{configurable:!0,get:function(){var i=r.id,u=n._controlParentIdMap,c=n.instanceMap;if(!(!u||!c)){var l=u[i],a=c[i];if(!(!l&&!a)){var f=a.findIndex(function(g){return g==r}),_=c[l]||[],p;return _.length!==a.length?p=_[0]:p=_[f],p}}}}),As(r,"parent"))}},{key:"createControlInstance",value:function(r,n){var o=this.getControlFormType(r);if(o)return new o(n)}},{key:"getControlFormType",value:function(r){return this._controls.find(function(n){return n.controlType===r})}},{key:"_initControls",value:function(r){var n=this;this.constructor.staticControls.forEach(function(o){n.register(o[r]),e.staticControlsRuntimeRules.set(o.Runtime.controlType,o.Property.RuntimeRules),o.Property.mode=r})}}],[{key:"staticGetRules",value:function(r,n){var o=e.staticControlsRuntimeRules.get(r),i=[];if(o){var u=new o(n);i=Array.from(u)}return i}},{key:"register",value:function(r,n){var o=r.Designer,i=r.Runtime,u=r.Property;(!o||!i||!o.__is_control__||!i.__is_control__)&&Xr("".concat(r," is can't register as a Control"));var c=this.staticControls.findIndex(function(l){return l.Designer.controlType===o.controlType});return c>-1&&($s("The ".concat(o.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(c,1)),this.staticRegisteredTypes.add(o.controlType),this.staticControls.push(r),u.mode=n,this}}]),e}();Ut(Wo,"staticControlsRuntimeRules",new Map),Ut(Wo,"staticControls",Sg),Ut(Wo,"staticRegisteredTypes",new Set(Sg.map(function(e){return e.Designer.controlType}))),Ut(Wo,"staticRegisteredConfigs",new Map);function M(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ko(e){return Ko=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ko(e)}function Ze(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xs(e,t)}function GA(e,t){return t&&(XA(t)==="object"||typeof t=="function")?t:M(e)}function xs(e,t){return xs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xs(e,t)}function XA(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ye(e){var t=QA();return function(){var n=Ko(e),o;if(t){var i=Ko(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GA(this,o)}}var et=function e(t){R(this,e),v(this,"dataCode",void 0),v(this,"fieldCode",void 0),v(this,"fieldType",void 0),v(this,"aliasCode",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:"",this.aliasCode=t==null?void 0:t.aliasCode},ks=function e(t){R(this,e),v(this,"minWidth",void 0),v(this,"maxWidth",void 0),v(this,"flex",void 0);var r;this.minWidth=(r=t==null?void 0:t.minWidth)!==null&&r!==void 0?r:150,this.maxWidth=t==null?void 0:t.maxWidth;var n;this.flex=(n=t==null?void 0:t.flex)!==null&&n!==void 0?n:1},Eg=function e(t){R(this,e),v(this,"rowHeightType",void 0),v(this,"minRows",void 0),v(this,"maxRows",void 0),v(this,"fiexdRow",void 0);var r;this.rowHeightType=(r=t==null?void 0:t.rowHeightType)!==null&&r!==void 0?r:"fixed";var n;this.minRows=(n=t==null?void 0:t.minRows)!==null&&n!==void 0?n:4;var o;this.maxRows=(o=t==null?void 0:t.maxRows)!==null&&o!==void 0?o:20;var i;this.fiexdRow=(i=t==null?void 0:t.fiexdRow)!==null&&i!==void 0?i:4},Tg=function e(t){R(this,e),v(this,"pc",void 0),v(this,"mobile",void 0),this.pc=new Eg(t==null?void 0:t.pc),this.mobile=new Eg(t==null?void 0:t.mobile)},Ds=function(e){Ze(r,e);var t=Ye(r);function r(n){R(this,r);var o;o=t.call(this,n),v(M(o),"width",void 0),v(M(o),"widthType",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:240;var u;return o.widthType=(u=n==null?void 0:n.widthType)!==null&&u!==void 0?u:"auto",o}return r}(ks),Ig=function e(t){R(this,e),v(this,"pc",void 0),v(this,"mobile",void 0),this.pc=new Ds(t==null?void 0:t.pc),this.mobile=t!=null&&t.mobile?new Ds(t==null?void 0:t.mobile):new Ds({width:130,minWidth:180})},JA=function e(t){R(this,e),v(this,"type",void 0),v(this,"customOptions",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"firstThree";var n;this.customOptions=(n=t==null?void 0:t.customOptions)!==null&&n!==void 0?n:[]},kn=function e(t){R(this,e),v(this,"dataCode",void 0),v(this,"formKey",void 0),v(this,"appId",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.formKey=(n=t==null?void 0:t.formKey)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:""},ZA=function(e){Ze(r,e);var t=Ye(r);function r(n){R(this,r);var o;o=t.call(this,n),v(M(o),"primaryControlId",void 0);var i;return o.primaryControlId=(i=n==null?void 0:n.primaryControlId)!==null&&i!==void 0?i:"",o}return r}(kn),Bg=function e(t){R(this,e),v(this,"fieldCode",void 0),v(this,"dataCode",void 0);var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:"";var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:""},Ns=function e(t){R(this,e);var r;v(this,"appId",void 0),v(this,"formKey",void 0),v(this,"headers",void 0);var n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var i;this.headers=(i=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(u){return new Bg(u)}))!==null&&i!==void 0?i:[]},YA=function e(t){R(this,e),v(this,"fieldName",void 0),v(this,"fieldCode",void 0),v(this,"fieldType",void 0);var r;this.fieldName=(r=t==null?void 0:t.fieldName)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:m.VARCHAR},ex=function(e){Ze(r,e);var t=Ye(r);function r(n){R(this,r);var o;o=t.call(this,n),v(M(o),"title",void 0),v(M(o),"svcCode",void 0),v(M(o),"isOpenFilter",void 0),v(M(o),"filters",void 0);var i;o.title=(i=n==null?void 0:n.title)!==null&&i!==void 0?i:"";var u;o.svcCode=(u=n==null?void 0:n.svcCode)!==null&&u!==void 0?u:"";var c;o.isOpenFilter=(c=n==null?void 0:n.isOpenFilter)!==null&&c!==void 0?c:!1;var l;return o.filters=(l=n==null?void 0:n.filters)!==null&&l!==void 0?l:[],o}return r}(kn),tx=function e(t){R(this,e);var r,n;v(this,"type","sublist-page"),v(this,"formBind",void 0),v(this,"displayFields",void 0),v(this,"sublists",void 0),this.formBind=new kn(t==null?void 0:t.formBind);var o;this.displayFields=(o=t==null||(r=t.displayFields)===null||r===void 0?void 0:r.map(function(u){return new YA(u)}))!==null&&o!==void 0?o:[];var i;this.sublists=(i=t==null||(n=t.sublists)===null||n===void 0?void 0:n.map(function(u){return new ex(u)}))!==null&&i!==void 0?i:[]},nx=function e(t){R(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},Qr=function e(t){R(this,e),v(this,"type",void 0),v(this,"value",void 0),v(this,"displayBos",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"custom";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:[];var o;this.displayBos=(o=t==null?void 0:t.displayBos)!==null&&o!==void 0?o:[]},Fs=function e(t){var r=this;R(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 n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:_t();var o;this.ruleId=(o=t==null?void 0:t.ruleId)!==null&&o!==void 0?o:new Date().valueOf();var i;this.level=(i=t==null?void 0:t.level)!==null&&i!==void 0?i:0;var u;this.value=(u=t==null?void 0:t.value)!==null&&u!==void 0?u:"and",this.children=[],Array.isArray(t==null?void 0:t.children)&&(t==null||t.children.map(function(c){if(c.children!==void 0){var l,a=new e(c);(l=r.children)===null||l===void 0||l.push(a)}else{var f,_=new Go(c);(f=r.children)===null||f===void 0||f.push(_)}}))},Go=function e(t){R(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 r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:_t();var n;this.ruleId=(n=t==null?void 0:t.ruleId)!==null&&n!==void 0?n:new Date().valueOf();var o;this.symbol=(o=t==null?void 0:t.symbol)!==null&&o!==void 0?o:"";var i;this.checked=(i=t==null?void 0:t.checked)!==null&&i!==void 0?i:!1;var u;this.describe=(u=t==null?void 0:t.describe)!==null&&u!==void 0?u:"",this.leftVariableBo=new nx(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new Qr(t==null?void 0:t.rightVariableBo)},rx=function e(t){R(this,e),v(this,"aliasCode",void 0),v(this,"datasourceBind",void 0),v(this,"relationFields",void 0);var r;this.aliasCode=(r=t==null?void 0:t.aliasCode)!==null&&r!==void 0?r:"",this.datasourceBind=new ne(t==null?void 0:t.datasourceBind);var n;this.relationFields=(n=t==null?void 0:t.relationFields)!==null&&n!==void 0?n:[]},Te=function e(t){R(this,e),v(this,"controlId",void 0),v(this,"fieldCode",void 0),v(this,"fieldType",void 0),v(this,"propName",void 0);var r;this.controlId=(r=t==null?void 0:t.controlId)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:"";var i;this.propName=(i=t==null?void 0:t.propName)!==null&&i!==void 0?i:""},js=function e(t){R(this,e),v(this,"type",void 0),v(this,"value",void 0),v(this,"fieldType",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"FIELD";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:"",this.fieldType=t==null?void 0:t.fieldType},ox=function e(t){R(this,e),v(this,"columnName",void 0),v(this,"desc",void 0);var r;this.columnName=(r=t.columnName)!==null&&r!==void 0?r:"";var n;this.desc=(n=t.desc)!==null&&n!==void 0?n:!1};function Ls(e){var t,r,n,o;this.filters=(o=e==null||(t=e.filters)===null||t===void 0?void 0:t.map(function(c){return c.children!==void 0?new Fs(c):new Go(c)}))!==null&&o!==void 0?o:[];var i;this.viewFilters=(i=e==null||(r=e.viewFilters)===null||r===void 0?void 0:r.map(function(c){return c.children!==void 0?new Fs(c):new Go(c)}))!==null&&i!==void 0?i:[];var u;this.orders=(u=e==null||(n=e.orders)===null||n===void 0?void 0:n.map(function(c){return new ox(c)}))!==null&&u!==void 0?u:[]}var ne=function e(t){var r=this;R(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 n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.valueFieldCode=(i=t==null?void 0:t.valueFieldCode)!==null&&i!==void 0?i:"",this.displayBoList=[];var u;this.isOpenViewFilters=(u=t==null?void 0:t.isOpenViewFilters)!==null&&u!==void 0?u:0,Array.isArray(t==null?void 0:t.displayBoList)&&(t==null||t.displayBoList.map(function(f){var _;(_=r.displayBoList)===null||_===void 0||_.push(new js(f))}));var c;this.keywordMapping=(c=t==null?void 0:t.keywordMapping)!==null&&c!==void 0?c:"";var l;this.showOrder=(l=t==null?void 0:t.showOrder)!==null&&l!==void 0?l:!0;var a;this.svcCode=(a=t==null?void 0:t.svcCode)!==null&&a!==void 0?a:"",Ls.call(this,t)},Ms=function e(t){R(this,e),v(this,"dataCode",void 0),v(this,"displayBoList",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.displayBoList=(n=t==null?void 0:t.displayBoList)!==null&&n!==void 0?n:[]},Et=function e(t){R(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 r;this.code=(r=t==null?void 0:t.code)!==null&&r!==void 0?r:"view";var n;this.color=(n=t==null?void 0:t.color)!==null&&n!==void 0?n:"primary";var o;this.command=(o=t==null?void 0:t.command)!==null&&o!==void 0?o:"view";var i;this.confirmMessage=(i=t==null?void 0:t.confirmMessage)!==null&&i!==void 0?i:void 0;var u;this.defaultState=(u=t==null?void 0:t.defaultState)!==null&&u!==void 0?u:"default";var c;this.formKey=(c=t==null?void 0:t.formKey)!==null&&c!==void 0?c:void 0,this.formType=t==null?void 0:t.formType;var l;this.icon=(l=t==null?void 0:t.icon)!==null&&l!==void 0?l:"iconliulan1";var a;this.needConfirm=(a=t==null?void 0:t.needConfirm)!==null&&a!==void 0?a:!1;var f;this.openType=(f=t==null?void 0:t.openType)!==null&&f!==void 0?f:"modal";var _;this.priorityProcess=(_=t==null?void 0:t.priorityProcess)!==null&&_!==void 0?_:!0},Ag=function e(t){R(this,e);var r;v(this,"name",void 0),v(this,"key",void 0),v(this,"value",void 0);var n;this.name=(n=t==null?void 0:t.name)!==null&&n!==void 0?n:"";var o;this.key=(o=t==null?void 0:t.key)!==null&&o!==void 0?o:"";var i;this.value=(i=t==null||(r=t.value)===null||r===void 0?void 0:r.map(function(u){return new js(u)}))!==null&&i!==void 0?i:[]},Xo=function(e){Ze(r,e);var t=Ye(r);function r(n){R(this,r);var o,i;o=t.call(this,n),v(M(o),"attributes",void 0);var u;return o.attributes=(u=n==null||(i=n.attributes)===null||i===void 0?void 0:i.map(function(c){return new Ag(c)}))!==null&&u!==void 0?u:[],o}return r}(ne),ix=function(e){Ze(r,e);var t=Ye(r);function r(n){R(this,r);var o,i;o=t.call(this,n),v(M(o),"attributes",void 0),v(M(o),"formCode",void 0);var u;o.attributes=(u=n==null||(i=n.attributes)===null||i===void 0?void 0:i.map(function(l){return new Ag(l)}))!==null&&u!==void 0?u:[];var c;return o.formCode=(c=n==null?void 0:n.formCode)!==null&&c!==void 0?c:"",o}return r}(ne),xg=function(e){Ze(r,e);var t=Ye(r);function r(n){R(this,r);var o;o=t.call(this,n),v(M(o),"rootNode",void 0),v(M(o),"filterCode",void 0),o.rootNode=new Qr(n==null?void 0:n.rootNode);var i;return o.filterCode=(i=n==null?void 0:n.filterCode)!==null&&i!==void 0?i:"",o}return r}(Xo),kg=function e(t){R(this,e);var r;v(this,"dataCode",void 0),v(this,"appId",void 0),v(this,"fillList",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.fillList=(i=t==null||(r=t.fillList)===null||r===void 0?void 0:r.map(function(u){return new Te(u)}))!==null&&i!==void 0?i:[]},Dg=function(e){Ze(r,e);var t=Ye(r);function r(n){R(this,r);var o;return o=t.call(this,n),v(M(o),"filters",void 0),v(M(o),"viewFilters",void 0),v(M(o),"orders",void 0),Ls.call(M(o),n),o}return r}(kg),Ng=function(e){Ze(r,e);var t=Ye(r);function r(n){R(this,r);var o;o=t.call(this,n),v(M(o),"mode",void 0),v(M(o),"multiple",void 0);var i;o.mode=(i=n==null?void 0:n.mode)!==null&&i!==void 0?i:"current";var u;return o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1,o}return r}(kg),Cs=function e(t){R(this,e),v(this,"stencilName",void 0),v(this,"expression",void 0),v(this,"errMessage",void 0);var r;this.stencilName=(r=t==null?void 0:t.stencilName)!==null&&r!==void 0?r:"";var n;this.expression=(n=t==null?void 0:t.expression)!==null&&n!==void 0?n:"";var o;this.errMessage=(o=t==null?void 0:t.errMessage)!==null&&o!==void 0?o:""},ux=function e(t){R(this,e),v(this,"id",void 0),v(this,"label",void 0),v(this,"value",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:_t(8);var n;this.label=(n=t==null?void 0:t.label)!==null&&n!==void 0?n:"";var o;this.value=(o=t==null?void 0:t.value)!==null&&o!==void 0?o:this.label};function Tt(e){var t;return(t=e==null?void 0:e.map(function(r){return new ux(r)}))!==null&&t!==void 0?t:[]}var Vs=function e(){R(this,e)},cx=function(e){Ze(r,e);var t=Ye(r);function r(n){R(this,r);var o;return o=t.call(this),v(M(o),"amount",void 0),v(M(o),"currency",void 0),o.amount=new et(n==null?void 0:n.amount),o.currency=new et(n==null?void 0:n.currency),o}return r}(Vs),lx=function e(t){R(this,e),v(this,"amount",void 0),v(this,"currency",void 0);var r;this.amount=(r=t==null?void 0:t.amount)!==null&&r!==void 0?r:"";var n;this.currency=(n=t==null?void 0:t.currency)!==null&&n!==void 0?n:"CNY"},ax=function(e){Ze(r,e);var t=Ye(r);function r(n){R(this,r);var o;return o=t.call(this),v(M(o),"min",void 0),v(M(o),"max",void 0),o.min=new et(n==null?void 0:n.min),o.max=new et(n==null?void 0:n.max),o}return r}(Vs),fx=function e(t){R(this,e),v(this,"min",void 0),v(this,"max",void 0);var r;this.min=(r=t==null?void 0:t.min)!==null&&r!==void 0?r:"";var n;this.max=(n=t==null?void 0:t.max)!==null&&n!==void 0?n:""},sx=function e(t){R(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 r;this.city=(r=t==null?void 0:t.city)!==null&&r!==void 0?r:"";var n;this.cityDisplay=(n=t==null?void 0:t.cityDisplay)!==null&&n!==void 0?n:"";var o;this.district=(o=t==null?void 0:t.district)!==null&&o!==void 0?o:"";var i;this.districtDisplay=(i=t==null?void 0:t.districtDisplay)!==null&&i!==void 0?i:"";var u;this.province=(u=t==null?void 0:t.province)!==null&&u!==void 0?u:"";var c;this.provinceDisplay=(c=t==null?void 0:t.provinceDisplay)!==null&&c!==void 0?c:""},_x=function(e){Ze(r,e);var t=Ye(r);function r(n){R(this,r);var o;return o=t.call(this),v(M(o),"result",void 0),v(M(o),"unit",void 0),o.result=new et(n==null?void 0:n.result),o.unit=new et(n==null?void 0:n.unit),o}return r}(Vs),yx=function e(t){R(this,e),v(this,"result",void 0),v(this,"unit",void 0);var r;this.result=(r=t==null?void 0:t.result)!==null&&r!==void 0?r:0;var n;this.unit=(n=t==null?void 0:t.unit)!==null&&n!==void 0?n:""},zs;(function(e){e.CNY="CNY",e.USD="USD",e.JPY="JPY",e.EUR="EUR",e.INR="INR",e.IDR="IDR",e.BRL="BRL",e.AED="AED",e.AUD="AUD",e.CAD="CAD",e.EGP="EGP",e.GBP="GBP",e.ZAR="ZAR",e.KRW="KRW",e.MAD="MAD",e.MXN="MXN",e.MYR="MYR",e.PHP="PHP",e.PLN="PLN",e.RUB="RUB",e.SGD="SGD",e.THB="THB",e.TRY="TRY",e.TWD="TWD",e.VND="VND",e.HKD="HKD",e.IEP="IEP"})(zs||(zs={}));var s;(function(e){e.DEFAULT_DISPLAY="defaultDisplay",e.REQUIRED="required",e.IS_HIDE="isHide",e.IS_SHOW_UNIT="isShowUnit",e.IMD_SEARCH="immediatelySearch",e.MULTIPLE="multiple",e.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",e.CAPTION="caption",e.IS_HIDE_CAPTION="isHideCaption",e.DEFAULT_SHOW_OPTIONS="defaultShowOptions",e.CAN_SEARCH="canSearch",e.CAN_CHECK="canCheck",e.CAN_EDIT="canEdit",e.CAN_DELETE="canDelete",e.SHOW_UPPER_CASE="showUpperCase",e.MICROMETER="micrometer",e.PRECISION="precision",e.PERCENTAGE="percentage",e.OPTIONAL_LEVEL="optionalLevel",e.CONTAINS_SUB_NODE="containsSubNode",e.DEFAULT_COLLAPSE="defaultCollapse",e.CAN_VIEW_FORM="canViewForm",e.VIEW_FORM_MODEL_TYPE="viewFormModelType",e.SERVER_PAGINATION="serverPagination",e.IS_SHOW_CAPTION_TIP="isShowCaptionTip",e.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.SORTABLE="sortable"})(s||(s={}));var Hs;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"})(Hs||(Hs={}));var Wt=function e(t){R(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 r;this.isShow=(r=t==null?void 0:t.isShow)!==null&&r!==void 0?r:!0;var n;this.content=(n=t==null?void 0:t.content)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var i;this.openType=(i=t==null?void 0:t.openType)!==null&&i!==void 0?i:"modal";var u;this.type=(u=t==null?void 0:t.type)!==null&&u!==void 0?u:"";var c;this.priorityProcess=(c=t==null?void 0:t.priorityProcess)!==null&&c!==void 0?c:!1},px=function e(t){R(this,e);var r;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 n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:_t(8);var o;this.title=(o=t==null?void 0:t.title)!==null&&o!==void 0?o:"";var i;this.headers=(i=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(u){return new Bg(u)}))!==null&&i!==void 0?i:[],Ls.call(this,t)},dx=function e(t){R(this,e),v(this,"width",void 0),v(this,"height",void 0),v(this,"widthConfig",void 0),v(this,"heightConfig",void 0);var r;this.width=(r=t==null?void 0:t.width)!==null&&r!==void 0?r:"";var n;this.height=(n=t==null?void 0:t.height)!==null&&n!==void 0?n:"";var o;this.widthConfig=(o=t==null?void 0:t.widthConfig)!==null&&o!==void 0?o:"fill";var i;this.heightConfig=(i=t==null?void 0:t.heightConfig)!==null&&i!==void 0?i:"fill"},vx=function e(t){R(this,e),v(this,"optCode",void 0),v(this,"optType",void 0);var r;this.optCode=(r=t==null?void 0:t.optCode)!==null&&r!==void 0?r:"";var n;this.optType=(n=t==null?void 0:t.optType)!==null&&n!==void 0?n:""},hx=function e(t){R(this,e);var r,n;v(this,"id",void 0),v(this,"name",void 0),v(this,"settings",void 0),v(this,"filters",void 0),v(this,"script",void 0);var o;this.id=(o=t==null?void 0:t.id)!==null&&o!==void 0?o:_t();var i;this.name=(i=t==null?void 0:t.name)!==null&&i!==void 0?i:"";var u;this.filters=(u=t==null||(r=t.filters)===null||r===void 0?void 0:r.map(function(l){return l.children!==void 0?new Fs(l):new Go(l)}))!==null&&u!==void 0?u:[];var c;this.settings=(t==null?void 0:t.settings)&&Array.isArray(t==null?void 0:t.settings)?(c=t==null||(n=t.settings)===null||n===void 0?void 0:n.map(function(l){return new bx(l)}))!==null&&c!==void 0?c:[]:[],this.script=t==null?void 0:t.script},bx=function e(t){R(this,e),v(this,"color",void 0),v(this,"fieldCodes",void 0),v(this,"type",void 0),v(this,"scope",void 0);var r;this.type=(r=t.type)!==null&&r!==void 0?r:"background";var n;this.fieldCodes=(n=t.fieldCodes)!==null&&n!==void 0?n:[];var o;this.color=(o=t.color)!==null&&o!==void 0?o:"theme";var i;this.scope=(i=t.scope)!==null&&i!==void 0?i:"row"},gx=function e(t){R(this,e);var r;v(this,"type",void 0),v(this,"interval",void 0),v(this,"rules",void 0);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"none";var o;this.interval=(o=t==null?void 0:t.interval)!==null&&o!==void 0?o:{color:""};var i;this.rules=(t==null?void 0:t.rules)&&Array.isArray(t==null?void 0:t.rules)?(i=t==null||(r=t.rules)===null||r===void 0?void 0:r.map(function(u){return new hx(u)}))!==null&&i!==void 0?i:[]:[]};function mx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qo(e,t,r){return Fg()?Qo=Reflect.construct:Qo=function(o,i,u){var c=[null];c.push.apply(c,i);var l=Function.bind.apply(o,c),a=new l;return u&&Zr(a,u.prototype),a},Qo.apply(null,arguments)}function It(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jr(e){return Jr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jr(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&&Zr(e,t)}function wx(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function $x(e,t){return t&&(Px(t)==="object"||typeof t=="function")?t:mx(e)}function Zr(e,t){return Zr=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zr(e,t)}function Px(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Us(e){var t=typeof Map=="function"?new Map:void 0;return Us=function(n){if(n===null||!wx(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return Qo(n,arguments,Jr(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Zr(o,n)},Us(e)}function Fg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Rx(e){var t=Fg();return function(){var n=Jr(e),o;if(t){var i=Jr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $x(this,o)}}var Y=function e(t){qs(this,e),It(this,"isHide",{type:"boolean"})},pn=function(e){Ox(r,e);var t=Rx(r);function r(n){return qs(this,r),t.call(this)}return r}(Us(Array)),ee=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";qs(this,e),It(this,"isHide",void 0),It(this,"className",void 0),It(this,"style",void 0),It(this,"caption",void 0),It(this,"defaultState",void 0);var n;this.isHide=(n=t==null?void 0:t.isHide)!==null&&n!==void 0?n:!1,this.style=new dx(t==null?void 0:t.style);var o;this.caption=(o=t==null?void 0:t.caption)!==null&&o!==void 0?o:r};It(ee,"mode",void 0),It(ee,"Rules",Y),It(ee,"RuntimeRules",pn);function yt(){return yt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},yt.apply(this,arguments)}function Sx(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Ws(e){return Ws=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ws(e)}function Jo(e,t){return Jo=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jo(e,t)}function Ex(){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 Zo(e,t,r){return Ex()?Zo=Reflect.construct:Zo=function(o,i,u){var c=[null];c.push.apply(c,i);var l=Function.bind.apply(o,c),a=new l;return u&&Jo(a,u.prototype),a},Zo.apply(null,arguments)}function Tx(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Ks(e){var t=typeof Map=="function"?new Map:void 0;return Ks=function(n){if(n===null||!Tx(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return Zo(n,arguments,Ws(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Jo(o,n)},Ks(e)}var Ix=/%[sdj%]/g,jg=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(jg=function(t,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function Gs(e){if(!e||!e.length)return null;var t={};return e.forEach(function(r){var n=r.field;t[n]=t[n]||[],t[n].push(r)}),t}function ke(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=1,o=t[0],i=t.length;if(typeof o=="function")return o.apply(null,t.slice(1));if(typeof o=="string"){var u=String(o).replace(Ix,function(c){if(c==="%%")return"%";if(n>=i)return c;switch(c){case"%s":return String(t[n++]);case"%d":return Number(t[n++]);case"%j":try{return JSON.stringify(t[n++])}catch(l){return"[Circular]"}break;default:return c}});return u}return o}function Bx(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function te(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||Bx(t)&&typeof e=="string"&&!e)}function Ax(e,t,r){var n=[],o=0,i=e.length;function u(c){n.push.apply(n,c),o++,o===i&&r(n)}e.forEach(function(c){t(c,u)})}function Lg(e,t,r){var n=0,o=e.length;function i(u){if(u&&u.length){r(u);return}var c=n;n=n+1,c<o?t(e[c],i):r([])}i([])}function xx(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var Mg=function(e){Sx(t,e);function t(r,n){var o;return o=e.call(this,"Async Validation Error")||this,o.errors=r,o.fields=n,o}return t}(Ks(Error));function kx(e,t,r,n){if(t.first){var o=new Promise(function(_,p){var g=function(w){return n(w),w.length?p(new Mg(w,Gs(w))):_()},O=xx(e);Lg(O,r,g)});return o.catch(function(_){return _}),o}var i=t.firstFields||[];i===!0&&(i=Object.keys(e));var u=Object.keys(e),c=u.length,l=0,a=[],f=new Promise(function(_,p){var g=function(b){if(a.push.apply(a,b),l++,l===c)return n(a),a.length?p(new Mg(a,Gs(a))):_()};u.length||(n(a),_()),u.forEach(function(O){var b=e[O];i.indexOf(O)!==-1?Lg(b,r,g):Ax(b,r,g)})});return f.catch(function(_){return _}),f}function Cg(e){return function(t){return t&&t.message?(t.field=t.field||e.fullField,t):{message:typeof t=="function"?t():t,field:t.field||e.fullField}}}function Vg(e,t){if(t){for(var r in t)if(t.hasOwnProperty(r)){var n=t[r];typeof n=="object"&&typeof e[r]=="object"?e[r]=yt(yt({},e[r]),n):e[r]=n}}return e}function zg(e,t,r,n,o,i){e.required&&(!r.hasOwnProperty(e.field)||te(t,i||e.type))&&n.push(ke(o.messages.required,e.fullField))}function Dx(e,t,r,n,o){(/^\s+$/.test(t)||t==="")&&n.push(ke(o.messages.whitespace,e.fullField))}var Xs={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Yr={integer:function(t){return Yr.number(t)&&parseInt(t,10)===t},float:function(t){return Yr.number(t)&&!Yr.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(r){return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!Yr.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(Xs.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(Xs.url)},hex:function(t){return typeof t=="string"&&!!t.match(Xs.hex)}};function Nx(e,t,r,n,o){if(e.required&&t===void 0){zg(e,t,r,n,o);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],u=e.type;i.indexOf(u)>-1?Yr[u](t)||n.push(ke(o.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&n.push(ke(o.messages.types[u],e.fullField,e.type))}function Fx(e,t,r,n,o){var i=typeof e.len=="number",u=typeof e.min=="number",c=typeof e.max=="number",l=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,a=t,f=null,_=typeof t=="number",p=typeof t=="string",g=Array.isArray(t);if(_?f="number":p?f="string":g&&(f="array"),!f)return!1;g&&(a=t.length),p&&(a=t.replace(l,"_").length),i?a!==e.len&&n.push(ke(o.messages[f].len,e.fullField,e.len)):u&&!c&&a<e.min?n.push(ke(o.messages[f].min,e.fullField,e.min)):c&&!u&&a>e.max?n.push(ke(o.messages[f].max,e.fullField,e.max)):u&&c&&(a<e.min||a>e.max)&&n.push(ke(o.messages[f].range,e.fullField,e.min,e.max))}var Dn="enum";function jx(e,t,r,n,o){e[Dn]=Array.isArray(e[Dn])?e[Dn]:[],e[Dn].indexOf(t)===-1&&n.push(ke(o.messages[Dn],e.fullField,e[Dn].join(", ")))}function Lx(e,t,r,n,o){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(ke(o.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var i=new RegExp(e.pattern);i.test(t)||n.push(ke(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var k={required:zg,whitespace:Dx,type:Nx,range:Fx,enum:jx,pattern:Lx};function Mx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(te(t,"string")&&!e.required)return r();k.required(e,t,n,i,o,"string"),te(t,"string")||(k.type(e,t,n,i,o),k.range(e,t,n,i,o),k.pattern(e,t,n,i,o),e.whitespace===!0&&k.whitespace(e,t,n,i,o))}r(i)}function Cx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(te(t)&&!e.required)return r();k.required(e,t,n,i,o),t!==void 0&&k.type(e,t,n,i,o)}r(i)}function Vx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t===""&&(t=void 0),te(t)&&!e.required)return r();k.required(e,t,n,i,o),t!==void 0&&(k.type(e,t,n,i,o),k.range(e,t,n,i,o))}r(i)}function zx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(te(t)&&!e.required)return r();k.required(e,t,n,i,o),t!==void 0&&k.type(e,t,n,i,o)}r(i)}function Hx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(te(t)&&!e.required)return r();k.required(e,t,n,i,o),te(t)||k.type(e,t,n,i,o)}r(i)}function qx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(te(t)&&!e.required)return r();k.required(e,t,n,i,o),t!==void 0&&(k.type(e,t,n,i,o),k.range(e,t,n,i,o))}r(i)}function Ux(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(te(t)&&!e.required)return r();k.required(e,t,n,i,o),t!==void 0&&(k.type(e,t,n,i,o),k.range(e,t,n,i,o))}r(i)}function Wx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t==null&&!e.required)return r();k.required(e,t,n,i,o,"array"),t!=null&&(k.type(e,t,n,i,o),k.range(e,t,n,i,o))}r(i)}function Kx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(te(t)&&!e.required)return r();k.required(e,t,n,i,o),t!==void 0&&k.type(e,t,n,i,o)}r(i)}var Gx="enum";function Xx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(te(t)&&!e.required)return r();k.required(e,t,n,i,o),t!==void 0&&k[Gx](e,t,n,i,o)}r(i)}function Qx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(te(t,"string")&&!e.required)return r();k.required(e,t,n,i,o),te(t,"string")||k.pattern(e,t,n,i,o)}r(i)}function Jx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(te(t,"date")&&!e.required)return r();if(k.required(e,t,n,i,o),!te(t,"date")){var c;t instanceof Date?c=t:c=new Date(t),k.type(e,c,n,i,o),c&&k.range(e,c.getTime(),n,i,o)}}r(i)}function Zx(e,t,r,n,o){var i=[],u=Array.isArray(t)?"array":typeof t;k.required(e,t,n,i,o,u),r(i)}function Qs(e,t,r,n,o){var i=e.type,u=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(te(t,i)&&!e.required)return r();k.required(e,t,n,u,o,i),te(t,i)||k.type(e,t,n,u,o)}r(u)}function Yx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(te(t)&&!e.required)return r();k.required(e,t,n,i,o)}r(i)}var eo={string:Mx,method:Cx,number:Vx,boolean:zx,regexp:Hx,integer:qx,float:Ux,array:Wx,object:Kx,enum:Xx,pattern:Qx,date:Jx,url:Qs,hex:Qs,email:Qs,required:Zx,any:Yx};function Js(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var Zs=Js();function Kt(e){this.rules=null,this._messages=Zs,this.define(e)}Kt.prototype={messages:function(t){return t&&(this._messages=Vg(Js(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if(typeof t!="object"||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var r,n;for(r in t)t.hasOwnProperty(r)&&(n=t[r],this.rules[r]=Array.isArray(n)?n:[n])},validate:function(t,r,n){var o=this;r===void 0&&(r={}),n===void 0&&(n=function(){});var i=t,u=r,c=n;if(typeof u=="function"&&(c=u,u={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(),Promise.resolve();function l(b){var w,d=[],$={};function P(S){if(Array.isArray(S)){var E;d=(E=d).concat.apply(E,S)}else d.push(S)}for(w=0;w<b.length;w++)P(b[w]);d.length?$=Gs(d):(d=null,$=null),c(d,$)}if(u.messages){var a=this.messages();a===Zs&&(a=Js()),Vg(a,u.messages),u.messages=a}else u.messages=this.messages();var f,_,p={},g=u.keys||Object.keys(this.rules);g.forEach(function(b){f=o.rules[b],_=i[b],f.forEach(function(w){var d=w;typeof d.transform=="function"&&(i===t&&(i=yt({},i)),_=i[b]=d.transform(_)),typeof d=="function"?d={validator:d}:d=yt({},d),d.validator=o.getValidationMethod(d),d.field=b,d.fullField=d.fullField||b,d.type=o.getType(d),d.validator&&(p[b]=p[b]||[],p[b].push({rule:d,value:_,source:i,field:b}))})});var O={};return kx(p,u,function(b,w){var d=b.rule,$=(d.type==="object"||d.type==="array")&&(typeof d.fields=="object"||typeof d.defaultField=="object");$=$&&(d.required||!d.required&&b.value),d.field=b.field;function P(C,x){return yt(yt({},x),{},{fullField:d.fullField+"."+C})}function S(C){C===void 0&&(C=[]);var x=C;if(Array.isArray(x)||(x=[x]),!u.suppressWarning&&x.length&&Kt.warning("async-validator:",x),x.length&&d.message!==void 0&&(x=[].concat(d.message)),x=x.map(Cg(d)),u.first&&x.length)return O[d.field]=1,w(x);if(!$)w(x);else{if(d.required&&!b.value)return d.message!==void 0?x=[].concat(d.message).map(Cg(d)):u.error&&(x=[u.error(d,ke(u.messages.required,d.field))]),w(x);var K={};if(d.defaultField)for(var A in b.value)b.value.hasOwnProperty(A)&&(K[A]=d.defaultField);K=yt(yt({},K),b.rule.fields);for(var Pt in K)if(K.hasOwnProperty(Pt)){var Ho=Array.isArray(K[Pt])?K[Pt]:[K[Pt]];K[Pt]=Ho.map(P.bind(null,Pt))}var Ur=new Kt(K);Ur.messages(u.messages),b.rule.options&&(b.rule.options.messages=u.messages,b.rule.options.error=u.error),Ur.validate(b.value,b.rule.options||u,function(In){var Rt=[];x&&x.length&&Rt.push.apply(Rt,x),In&&In.length&&Rt.push.apply(Rt,In),w(Rt.length?Rt:null)})}}var E;d.asyncValidator?E=d.asyncValidator(d,b.value,S,b.source,u):d.validator&&(E=d.validator(d,b.value,S,b.source,u),E===!0?S():E===!1?S(d.message||d.field+" fails"):E instanceof Array?S(E):E instanceof Error&&S(E.message)),E&&E.then&&E.then(function(){return S()},function(C){return S(C)})},function(b){l(b)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!eo.hasOwnProperty(t.type))throw new Error(ke("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if(typeof t.validator=="function")return t.validator;var r=Object.keys(t),n=r.indexOf("message");return n!==-1&&r.splice(n,1),r.length===1&&r[0]==="required"?eo.required:eo[this.getType(t)]||!1}},Kt.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");eo[t]=r},Kt.warning=jg,Kt.messages=Zs,Kt.validators=eo;var ek={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 tk(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Kt(e);return r.messages(Object.assign(ek,t)),r}var nk=new NA;function Ys(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function rk(e){if(Array.isArray(e))return e}function ok(e){if(Array.isArray(e))return Ys(e)}function Hg(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(a){r(a);return}c.done?t(l):Promise.resolve(l).then(n,o)}function qg(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){Hg(i,n,o,u,c,"next",l)}function c(l){Hg(i,n,o,u,c,"throw",l)}u(void 0)})}}function ik(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ug(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uk(e,t,r){return t&&Ug(e.prototype,t),r&&Ug(e,r),e}function j(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wg(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Kg(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ck(){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 lk(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Gg(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){j(e,o,r[o])})}return e}function ak(e){return rk(e)||Kg(e)||Xg(e)||ck()}function e_(e){return ok(e)||Kg(e)||Xg(e)||lk()}function fk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xg(e,t){if(!!e){if(typeof e=="string")return Ys(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ys(e,t)}}function Qg(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(a){return function(f){return l([a,f])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(f){a=[6,f],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var L=function(){function t(r){var n=this;ik(this,t),j(this,"id",void 0),j(this,"name",void 0),j(this,"icon",void 0),j(this,"type",void 0),j(this,"controlType",void 0),j(this,"props",void 0),j(this,"setting",[]),j(this,"fieldType",void 0),j(this,"eventKeys",[]),j(this,"customEvents",[]),j(this,"parent",null),j(this,"slots",void 0),j(this,"slotPosition",void 0),j(this,"updateSetting",Zg),j(this,"removeSetting",Jg),this._callControlHooks("preInstance",r);var o=Wg(this,t)?this.constructor:void 0,i=o.controlName,u=o.controlIcon,c=o.controlType,l=o.controlFieldType,a=o.controlEventKeys,f=o.controlCustomEvents,_=o.name,p=o.setting,g=o.slots,O=o.slotPosition;i&&u&&c||sg("The ".concat(_," controlName,controlIcon,controlType is not define"));var b;this.id=(b=r==null?void 0:r.id)!==null&&b!==void 0?b:_t(10),this.name=i,this.icon=u;var w;this.type=(w=r==null?void 0:r.type)!==null&&w!==void 0?w:c,this.props=new ee(r==null?void 0:r.props,(Wg(this,t)?this.constructor:void 0).controlName);var d;this.controlType=(d=r==null?void 0:r.controlType)!==null&&d!==void 0?d:"base",this.setting=Je(p);var $;this.fieldType=($=r==null?void 0:r.fieldType)!==null&&$!==void 0?$:l,this.eventKeys=Je(a),this.customEvents=Je(f),this.slots=Je(g),this.slotPosition=Je(O),Promise.resolve().then(function(){n._callControlHooks("postInstance",r)})}return uk(t,[{key:"rules",get:function(){var n=this.props.constructor.Rules;return n?new n(this.props):{}}},{key:"_callControlHooks",value:function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];var u,c=ak(o),l=c[0],a=c.slice(1);return(u=nk).emit.apply(u,[l,this].concat(e_(a)))}},{key:"preUpdate",value:function(n,o){this._callControlHooks("preUpdateProps",n,o)}},{key:"postUpdate",value:function(n,o){this._callControlHooks("postUpdateProps",n,o)}},{key:"updateProps",value:function(n,o){this.preUpdate(n,o),OA(this.props,n,o),this.postUpdate(n,o)}},{key:"preValidate",value:function(){var n=this;return qg(function(){var o,i,u;return Qg(this,function(c){switch(c.label){case 0:return o=Gg({},n.rules),[4,n._callControlHooks("preValidate",o)];case 1:return i=c.sent(),u=i[i.length-1],[2,u===!1?void 0:u]}})})()}},{key:"validate",value:function(n,o){var i=this;return qg(function(){var u,c,l,a;return Qg(this,function(f){switch(f.label){case 0:return[4,i.preValidate()];case 1:u=f.sent(),c=u!==void 0?u:Gg({},i.rules),Array.isArray(o)&&o.forEach(function(_){c.hasOwnProperty(_)&&delete c[_]}),l=tk(c,n),f.label=2;case 2:return f.trys.push([2,4,,5]),[4,l.validate(i.props)];case 3:return f.sent(),[2,!0];case 4:throw a=f.sent(),a.control||(a.control=i),a;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,o=this.fieldType,i=this.id,u=this.type,c=this.props,l=c.dataBind,a=c.datasourceBind,f=c.optionConfig,_=c.caption,p=c.required,g=c.maxLength,O=c.options,b=c.encrypted,w=c.encryptedMode;if(!(!o&&!l&&!a)){var d={parentId:n,fieldType:o,controlId:i,caption:_,type:u,props:{}};switch(l&&(d.dataBind=l),f){case"datasource":case void 0:a&&(d.datasourceBind=a);break;case"custom":d.props.options=O;break}return p!==void 0&&(d.required=p),g!==void 0&&(d.maxLength=g),b!==void 0&&(d.encrypted=b),w!==void 0&&(d.encryptedMode=w),d}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Je(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(n,o){if(n==="setting"){if(o.add){var i;(i=this.setting).push.apply(i,e_(o.add))}o.remove&&this.removeSettingItem(o.remove),o.update}}}]),t}();j(L,"mode","Designer"),j(L,"slots",void 0),j(L,"slotPosition",void 0),j(L,"controlName","\u63A7\u4EF6"),j(L,"controlIcon","icon"),j(L,"controlType","control"),j(L,"controlFieldType",void 0),j(L,"controlEventKeys",[]),j(L,"controlCustomEvents",[]),j(L,"setting",[]),j(L,"__is_control__",!0),j(L,"removeSettingItem",Jg),j(L,"updateSettingItem",Zg);function Jg(e){var t=this,r=Array.isArray(e)?e:[e];r.forEach(function(n){var o,i=typeof n!="string",u=(o=t.setting)===null||o===void 0?void 0:o.findIndex(function(a){return a.key===(i?n.key:n)});if(u!==-1){var c,l;i?t.setting[u].showItems=(c=t.setting[u].showItems)===null||c===void 0?void 0:c.filter(function(a){return!n.hideItems.includes(a)}):t.setting.splice(u,1),i&&!(!((l=t.setting[u].showItems)===null||l===void 0)&&l.length)&&t.setting.splice(u,1)}})}function Zg(e,t){var r=this,n=typeof e=="string"?[e]:e;n.forEach(function(o){var i=r.setting.find(function(a){return a.key===o});if(i){if(typeof t=="boolean")i.visible=t;else if((typeof t=="undefined"?"undefined":fk(t))==="object"){var u,c=(u=t.type)!==null&&u!==void 0?u:"replace";if(c==="replace")i.showItems=t.showItems;else{var l;(l=i.showItems).push.apply(l,e_(t.showItems))}}}})}function sk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _k(e,t,r){return t&&Yg(e.prototype,t),r&&Yg(e,r),e}function De(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yk(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var Bt=function(){function t(r){sk(this,t),De(this,"id",void 0),De(this,"type",void 0),De(this,"controlType",void 0),De(this,"props",void 0),De(this,"fieldType",void 0),De(this,"customEvents",[]),De(this,"pageStatus",void 0),De(this,"parent",null);var n=yk(this,t)?this.constructor:void 0,o=n.controlType,i=n.controlFieldType,u=n.name,c=n.controlCustomEvents;o||sg("The ".concat(u," controlType is not define"));var l;this.id=(l=r==null?void 0:r.id)!==null&&l!==void 0?l:_t(10);var a;this.type=(a=r==null?void 0:r.type)!==null&&a!==void 0?a:o,this.props=new ee(r==null?void 0:r.props),this.customEvents=c;var f;this.controlType=(f=r==null?void 0:r.controlType)!==null&&f!==void 0?f:"base";var _;this.fieldType=(_=r==null?void 0:r.fieldType)!==null&&_!==void 0?_:i;var p;this.pageStatus=(p=r==null?void 0:r.pageStatus)!==null&&p!==void 0?p:Hs.UNKNOWN}return _k(t,[{key:"rules",get:function(){var n=this.props.constructor.RuntimeRules;if(n){var o=new n(this.props);return Array.from(o)}return[]}}]),t}();De(Bt,"mode","Runtime"),De(Bt,"controlType","control"),De(Bt,"controlFieldType",void 0),De(Bt,"__is_control__",!0),De(Bt,"controlCustomEvents",[]);function t_(e){e.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),e.hasOwnProperty("options")||(this.options={type:"any"}),e.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),e.hasOwnProperty("options")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="custom")?this.options=[{type:"array",message:h.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:h.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:h.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(r,n,o){n.length===0&&o(h.getMessage("optionIsRequired")),o()}},{type:"array",validator:function(r,n,o){var i=n.map(function(c){return c.value}),u=RA(i);i.length!==u.length?o(h.getMessage("optionIdIsRepeat")):o()},message:h.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:h.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",validator:function(r,n,o){n.length===0&&o(h.getMessage("pleaseBindAtLeastOneDisplayValue")),o()},message:h.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:h.getMessage("isNotBoolean")}}}}]}}])}function Yo(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:h.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:h.getMessage(r?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:h.getMessage(r?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:h.getMessage(r?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:h.getMessage("isNotString")},key:{type:"string",required:!0,message:h.getMessage("isNotString")},value:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",validator:function(o,i,u){i.length===0&&u(h.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),u()},message:h.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:h.getMessage("isNotBoolean")}}}}]}}]}function pk(e){return(e==null?void 0:e.dataCode)!==void 0&&(e==null?void 0:e.fieldCode)!==void 0}function H(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ei(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ti(e){return ti=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ti(e)}function ni(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 dk(e,t){return t&&(vk(t)==="object"||typeof t=="function")?t:H(e)}function n_(e,t){return n_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},n_(e,t)}function vk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ri(e){var t=hk();return function(){var n=ti(e),o;if(t){var i=ti(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dk(this,o)}}var ue=function(e){ni(r,e);var t=ri(r);function r(n){ei(this,r);var o;o=t.call(this,n),q(H(o),"dataBind",{}),q(H(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),q(H(o),"isHideCaption",{type:"boolean"}),q(H(o),"labelPosition",{type:"enum",enum:["top","left"]}),q(H(o),"defaultState",{type:"enum",enum:["default","readonly"]}),q(H(o),"required",{type:"boolean"}),q(H(o),"captionTip",{type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")});var i={fieldCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")}};if(pk(n.dataBind))o.dataBind={type:"object",required:!0,fields:Je(i),message:h.getMessage("pleaseEnterFieldCode")};else{var u={type:"object",required:!0,fields:{},message:h.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(c){u.fields[c]={type:"object",required:!0,fields:Je(i),message:h.getMessage("pleaseEnterFieldCode")}}),o.dataBind=u}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Y),V=function(e){ni(r,e);var t=ri(r);function r(n){ei(this,r);var o;o=t.call(this,n);var i=n.isHide?!1:n.required;return i&&o.push({type:"string",required:i,message:n.requiredMessage!==""?n.requiredMessage:h.getMessage("runtimeRequired",{caption:n.caption})}),o}return r}(pn),D=function(e){ni(r,e);var t=ri(r);function r(n){ei(this,r);var o;o=t.call(this,n),q(H(o),"caption",void 0),q(H(o),"isHideCaption",void 0),q(H(o),"isShowCaptionTip",void 0),q(H(o),"captionTip",void 0),q(H(o),"labelPosition",void 0),q(H(o),"dataBind",void 0),q(H(o),"defaultValue",void 0),q(H(o),"placeholder",void 0),q(H(o),"defaultState",void 0),q(H(o),"required",void 0),q(H(o),"requiredMessage",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var c;o.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var a;o.defaultState=(a=n==null?void 0:n.defaultState)!==null&&a!==void 0?a:"default";var f;o.labelPosition=(f=n==null?void 0:n.labelPosition)!==null&&f!==void 0?f:"top";var _;o.placeholder=(_=n==null?void 0:n.placeholder)!==null&&_!==void 0?_:"";var p;o.required=(p=n==null?void 0:n.required)!==null&&p!==void 0?p:!1;var g;o.requiredMessage=(g=n==null?void 0:n.requiredMessage)!==null&&g!==void 0?g:"",o.dataBind=new et(n==null?void 0:n.dataBind);var O;return o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:"",o}return r}(ee);q(D,"Rules",ue),q(D,"RuntimeRules",V);var Nn=function(e){ni(r,e);var t=ri(r);function r(n){ei(this,r);var o;return o=t.call(this,n),q(H(o),"optionConfig",{type:"enum",enum:["custom","datasource"],message:h.getMessage("PleaseSelectTheCorrectOptionSettings")}),q(H(o),"options",[{type:"array",message:h.getMessage("isNotArray")}]),q(H(o),"datasourceBind",[{type:"object",message:h.getMessage("isNotObject")}]),t_.call(H(o),n),o}return r}(ue);function r_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ii(e){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ii(e)}function 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&&o_(e,t)}function mk(e,t){return t&&(Ok(t)==="object"||typeof t=="function")?t:r_(e)}function o_(e,t){return o_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},o_(e,t)}function Ok(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $k(e){var t=wk();return function(){var n=ii(e),o;if(t){var i=ii(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mk(this,o)}}var N=function(e){gk(r,e);var t=$k(r);function r(n){bk(this,r);var o;return o=t.call(this,n),oi(r_(o),"controlType","form"),oi(r_(o),"props",void 0),o.props=new D(n==null?void 0:n.props),o}return r}(L);oi(N,"controlEventKeys",["on_change","on_focus","on_blur"]),oi(N,"controlCustomAttributes",void 0);function ui(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ci(e){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ci(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&&u_(e,t)}function Sk(e,t){return t&&(Ek(t)==="object"||typeof t=="function")?t:ui(e)}function u_(e,t){return u_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},u_(e,t)}function Ek(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ik(e){var t=Tk();return function(){var n=ci(e),o;if(t){var i=ci(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Sk(this,o)}}var F=function(e){Rk(r,e);var t=Ik(r);function r(n){Pk(this,r);var o;return o=t.call(this,n),i_(ui(o),"controlType","form"),i_(ui(o),"props",void 0),i_(ui(o),"value",void 0),o.props=new D(n==null?void 0:n.props),o}return r}(Bt);function Bk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ak(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function li(e){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},li(e)}function xk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c_(e,t)}function kk(e,t){return t&&(Dk(t)==="object"||typeof t=="function")?t:Bk(e)}function c_(e,t){return c_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},c_(e,t)}function Dk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fk(e){var t=Nk();return function(){var n=li(e),o;if(t){var i=li(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kk(this,o)}}var ce=function(e){xk(r,e);var t=Fk(r);function r(n){return Ak(this,r),t.call(this,n)}return r}(ee);function l_(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function jk(e){if(Array.isArray(e))return l_(e)}function dn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function em(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(a){r(a);return}c.done?t(l):Promise.resolve(l).then(n,o)}function Lk(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){em(i,n,o,u,c,"next",l)}function c(l){em(i,n,o,u,c,"throw",l)}u(void 0)})}}function Mk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ck(e,t,r){return t&&tm(e.prototype,t),r&&tm(e,r),e}function Gt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fn(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Fn=Reflect.get:Fn=function(o,i,u){var c=Xk(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Fn(e,t,r||e)}function Xt(e){return Xt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xt(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&&a_(e,t)}function zk(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Hk(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function qk(){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 Uk(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Gt(e,o,r[o])})}return e}function Wk(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Kk(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Wk(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Gk(e,t){return t&&(Qk(t)==="object"||typeof t=="function")?t:dn(e)}function a_(e,t){return a_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},a_(e,t)}function Xk(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Xt(e),e!==null););return e}function nm(e){return jk(e)||Hk(e)||Jk(e)||qk()}function Qk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jk(e,t){if(!!e){if(typeof e=="string")return l_(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return l_(e,t)}}function Zk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yk(e){var t=Zk();return function(){var n=Xt(e),o;if(t){var i=Xt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Gk(this,o)}}function e2(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(a){return function(f){return l([a,f])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(f){a=[6,f],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var t2=1e4,le=function(t){Vk(n,t);var r=Yk(n);function n(o){Mk(this,n);var i;i=r.call(this,o),Gt(dn(i),"controlType","layout"),Gt(dn(i),"children",void 0),Gt(dn(i),"excludes",void 0),Gt(dn(i),"childrenMaxLength",void 0),Gt(dn(i),"props",void 0);var u=zk(this,n)?this.constructor:void 0,c=u.excludes,l=u.childrenMaxLength;return i.props=new ce(o==null?void 0:o.props),St(dn(i),"children",o==null?void 0:o.children,void 0,"Designer"),i.excludes=Je(c),i.childrenMaxLength=l,i}return Ck(n,[{key:"judgeExcludesChildren",value:function(i){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i)}},{key:"judgeJoinChildren",value:function(i){var u=this.judgeExcludesChildren(i);return u&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(i,u){var c=this,l=this,a=function(){return Fn(Xt(n.prototype),"validate",c)};return Lk(function(){return e2(this,function(f){switch(f.label){case 0:return[4,a().call(l,i,u)];case 1:return f.sent(),[4,Promise.all(l.children.map(function(_){return _.validate(i,u)}))];case 2:return f.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=Fn(Xt(n.prototype),"toDataBindModel",this).call(this),c=u?[u]:[];return this.children.reduce(function(l,a){var f=a.toDataBindModel(i);if(Array.isArray(f)){var _=f.filter(function(p){return!!p});return nm(l).concat(nm(_))}return f&&l.push(f),l},c)}},{key:"toSchema",value:function(){var i=Fn(Xt(n.prototype),"toSchema",this).call(this),u=this.children.map(function(c){var l=c.toSchema();return l});return Kk(Uk({},i),{children:u})}}]),n}(L);Gt(le,"excludes",!1),Gt(le,"childrenMaxLength",t2);function to(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ai(e){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ai(e)}function r2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s_(e,t)}function o2(e,t){return t&&(i2(t)==="object"||typeof t=="function")?t:to(e)}function s_(e,t){return s_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},s_(e,t)}function i2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function u2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function c2(e){var t=u2();return function(){var n=ai(e),o;if(t){var i=ai(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return o2(this,o)}}var vn=function(e){r2(r,e);var t=c2(r);function r(n){n2(this,r);var o;return o=t.call(this,n),f_(to(o),"controlType","layout"),f_(to(o),"children",void 0),f_(to(o),"props",void 0),o.props=new ce(n==null?void 0:n.props),St(to(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(Bt);function At(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fi(e){return fi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fi(e)}function a2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&__(e,t)}function f2(e,t){return t&&(s2(t)==="object"||typeof t=="function")?t:At(e)}function __(e,t){return __=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},__(e,t)}function s2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function y2(e){var t=_2();return function(){var n=fi(e),o;if(t){var i=fi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return f2(this,o)}}var y_=function(e){a2(r,e);var t=y2(r);function r(n,o,i){l2(this,r);var u;u=t.call(this,o),jn(At(u),"headers",void 0),jn(At(u),"footers",void 0),jn(At(u),"pageIndex",void 0),jn(At(u),"pageSize",void 0),jn(At(u),"pageSizeOptions",void 0),jn(At(u),"totalCount",void 0),St(At(u),"headers",o==null?void 0:o.headers,n,i),St(At(u),"footers",o==null?void 0:o.footers,n);var c;u.pageIndex=(c=o==null?void 0:o.pageIndex)!==null&&c!==void 0?c:1;var l;u.pageSize=(l=o==null?void 0:o.pageSize)!==null&&l!==void 0?l:20;var a;u.pageSizeOptions=(a=o==null?void 0:o.pageSizeOptions)!==null&&a!==void 0?a:[20];var f;return u.totalCount=(f=o==null?void 0:o.totalCount)!==null&&f!==void 0?f:0,u}return r}(ee);function p_(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function p2(e){if(Array.isArray(e))return p_(e)}function si(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rm(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(a){r(a);return}c.done?t(l):Promise.resolve(l).then(n,o)}function d2(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){rm(i,n,o,u,c,"next",l)}function c(l){rm(i,n,o,u,c,"throw",l)}u(void 0)})}}function v2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function om(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h2(e,t,r){return t&&om(e.prototype,t),r&&om(e,r),e}function _i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ln(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ln=Reflect.get:Ln=function(o,i,u){var c=$2(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Ln(e,t,r||e)}function Qt(e){return Qt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qt(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&&d_(e,t)}function g2(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function m2(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function im(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){_i(e,o,r[o])})}return e}function O2(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function um(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):O2(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function w2(e,t){return t&&(P2(t)==="object"||typeof t=="function")?t:si(e)}function d_(e,t){return d_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},d_(e,t)}function $2(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Qt(e),e!==null););return e}function cm(e){return p2(e)||g2(e)||R2(e)||m2()}function P2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function R2(e,t){if(!!e){if(typeof e=="string")return p_(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return p_(e,t)}}function S2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function E2(e){var t=S2();return function(){var n=Qt(e),o;if(t){var i=Qt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return w2(this,o)}}function T2(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(a){return function(f){return l([a,f])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(f){a=[6,f],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var v_=function(e){b2(r,e);var t=E2(r);function r(n){v2(this,r);var o;return o=t.call(this,n),_i(si(o),"controlType","list"),_i(si(o),"props",void 0),o.props=new y_(si(o),n==null?void 0:n.props,"Designer"),o}return h2(r,[{key:"validate",value:function(o,i){var u=this,c=this,l=function(){return Ln(Qt(r.prototype),"validate",u)};return d2(function(){return T2(this,function(a){switch(a.label){case 0:return[4,l().call(c,o)];case 1:return a.sent(),[4,Promise.all(c.props.headers.map(function(f){return f.validate(o,i)}))];case 2:return a.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var o=Ln(Qt(r.prototype),"toDataBindModel",this).call(this),i=o?[o]:[],u=this.id;return this.props.headers.reduce(function(c,l){var a=l.toDataBindModel(u);if(Array.isArray(a)){var f=a.filter(function(_){return!!_});return cm(c).concat(cm(f))}return a&&c.push(a),c},i)}},{key:"toSchema",value:function(){var o,i,u=Ln(Qt(r.prototype),"toSchema",this).call(this),c=this.props.headers.map(function(a){return a.toSchema()}),l=(i=this.props)===null||i===void 0||(o=i.footers)===null||o===void 0?void 0:o.map(function(a){if(a)return a.toSchema()});return um(im({},u),{props:um(im({},this.props),{headers:c,footers:l})})}}]),r}(L);_i(v_,"controlFieldType",m.LIST);function re(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ae(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yi(e){return yi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yi(e)}function b_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g_(e,t)}function I2(e,t){return t&&(B2(t)==="object"||typeof t=="function")?t:re(e)}function g_(e,t){return g_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},g_(e,t)}function B2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function A2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function m_(e){var t=A2();return function(){var n=yi(e),o;if(t){var i=yi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return I2(this,o)}}var pt=function(e){b_(r,e);var t=m_(r);function r(n){h_(this,r);var o;return o=t.call(this,n),ae(re(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),ae(re(o),"width",{type:"number",required:!1,message:h.getMessage("pleaseEnterColumnWidth")}),o.width.required=n.widthType==="px",o}return r}(Y),Z=function(e){b_(r,e);var t=m_(r);function r(n){h_(this,r);var o;o=t.call(this,n),ae(re(o),"widthType",void 0),ae(re(o),"width",void 0),ae(re(o),"caption",void 0),ae(re(o),"dataBind",void 0),ae(re(o),"autoWidth",void 0),ae(re(o),"fixed",void 0),ae(re(o),"sort",void 0),ae(re(o),"align",void 0),ae(re(o),"colSpan",void 0),ae(re(o),"autoHeight",void 0),ae(re(o),"children",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:150,o.widthType=(n==null?void 0:n.widthType)||"auto";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var c;o.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:"none",o.autoWidth=new ks(n==null?void 0:n.autoWidth),o.dataBind=new et(n==null?void 0:n.dataBind);var l;o.sort=(l=n==null?void 0:n.sort)!==null&&l!==void 0?l:!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 r}(ee);ae(Z,"Rules",pt);var lm=function(e){b_(r,e);var t=m_(r);function r(n){h_(this,r);var o;return o=t.call(this,n),ae(re(o),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:h.getMessage("PleaseSelectTheCorrectOptionSettings")}),ae(re(o),"options",[{type:"array",message:h.getMessage("isNotArray")}]),ae(re(o),"datasourceBind",[{type:"object",message:h.getMessage("isNotObject")}]),t_.call(re(o),n),o}return r}(pt);function no(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function am(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function k2(e,t,r){return t&&am(e.prototype,t),r&&am(e,r),e}function pi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function di(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?di=Reflect.get:di=function(o,i,u){var c=M2(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},di(e,t,r||e)}function Mn(e){return Mn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mn(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&&O_(e,t)}function N2(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){pi(e,o,r[o])})}return e}function F2(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function j2(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):F2(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function L2(e,t){return t&&(C2(t)==="object"||typeof t=="function")?t:no(e)}function O_(e,t){return O_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},O_(e,t)}function M2(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Mn(e),e!==null););return e}function C2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function V2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function z2(e){var t=V2();return function(){var n=Mn(e),o;if(t){var i=Mn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return L2(this,o)}}var fe=function(e){D2(r,e);var t=z2(r);function r(n){x2(this,r);var o;return o=t.call(this,n),pi(no(o),"controlType","column"),pi(no(o),"props",void 0),pi(no(o),"children",void 0),o.props=new Z(n==null?void 0:n.props),St(no(o),"children",n==null?void 0:n.children,void 0,"Designer"),o}return k2(r,[{key:"toSchema",value:function(){var o=di(Mn(r.prototype),"toSchema",this).call(this);return j2(N2({},o),{children:this.children?this.children.map(function(i){return i.toSchema()}):[]})}}]),r}(L);function ro(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function H2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vi(e){return vi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vi(e)}function q2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$_(e,t)}function U2(e,t){return t&&(W2(t)==="object"||typeof t=="function")?t:ro(e)}function $_(e,t){return $_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$_(e,t)}function W2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function K2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function G2(e){var t=K2();return function(){var n=vi(e),o;if(t){var i=vi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return U2(this,o)}}var se=function(e){q2(r,e);var t=G2(r);function r(n){H2(this,r);var o;return o=t.call(this,n),w_(ro(o),"controlType","column"),w_(ro(o),"props",void 0),w_(ro(o),"children",void 0),o.props=new Z(n==null?void 0:n.props),St(ro(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(Bt);function fm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Q2(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hi(e){return hi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hi(e)}function 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&&P_(e,t)}function Z2(e,t){return t&&(Y2(t)==="object"||typeof t=="function")?t:fm(e)}function P_(e,t){return P_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},P_(e,t)}function Y2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tD(e){var t=eD();return function(){var n=hi(e),o;if(t){var i=hi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Z2(this,o)}}var R_=function(e){J2(r,e);var t=tD(r);function r(n){X2(this,r);var o;return o=t.call(this,n),Q2(fm(o),"dataBind",void 0),o.dataBind=new et(n==null?void 0:n.dataBind),o}return r}(ce);function S_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bi(e){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bi(e)}function rD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&E_(e,t)}function oD(e,t){return t&&(iD(t)==="object"||typeof t=="function")?t:S_(e)}function E_(e,t){return E_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},E_(e,t)}function iD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cD(e){var t=uD();return function(){var n=bi(e),o;if(t){var i=bi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oD(this,o)}}var lD=function(e){rD(r,e);var t=cD(r);function r(n){nD(this,r);var o;return o=t.call(this,n),sm(S_(o),"controlType","search"),sm(S_(o),"props",void 0),o.props=new R_(n==null?void 0:n.props),o}return r}(le);function T_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gi(e){return gi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gi(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&&I_(e,t)}function sD(e,t){return t&&(_D(t)==="object"||typeof t=="function")?t:T_(e)}function I_(e,t){return I_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},I_(e,t)}function _D(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pD(e){var t=yD();return function(){var n=gi(e),o;if(t){var i=gi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sD(this,o)}}var dD=function(e){fD(r,e);var t=pD(r);function r(n){aD(this,r);var o;return o=t.call(this,n),_m(T_(o),"controlType","search"),_m(T_(o),"props",void 0),o.props=new R_(n==null?void 0:n.props),o}return r}(vn);function Jt(e){e.hasOwnProperty("linkOperationOption")&&e.hasOwnProperty("showLinkOperation")&&e.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:h.getMessage("pleaseEnterForm")}}}])}function hn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mi(e){return mi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mi(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&&B_(e,t)}function bD(e,t){return t&&(gD(t)==="object"||typeof t=="function")?t:hn(e)}function B_(e,t){return B_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},B_(e,t)}function gD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OD(e){var t=mD();return function(){var n=mi(e),o;if(t){var i=mi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bD(this,o)}}var wD=function(e){hD(r,e);var t=OD(r);function r(n){vD(this,r);var o;o=t.call(this,n),Cn(hn(o),"content",void 0),Cn(hn(o),"fontSize",void 0),Cn(hn(o),"color",void 0),Cn(hn(o),"icon",void 0),Cn(hn(o),"align",void 0),Cn(hn(o),"showState",void 0);var i;o.fontSize=(i=n==null?void 0:n.fontSize)!==null&&i!==void 0?i:"14px";var u;o.color=(u=n==null?void 0:n.color)!==null&&u!==void 0?u:"#646A73";var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:"page-hint";var l;o.showState=(l=n==null?void 0:n.showState)!==null&&l!==void 0?l:"text";var a;o.content=(a=n==null?void 0:n.content)!==null&&a!==void 0?a:"\u8BF4\u660E\u6587\u5B57";var f;return o.align=(f=n==null?void 0:n.align)!==null&&f!==void 0?f:"",o}return r}(ee);function ym(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $D(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function PD(e,t,r){return t&&pm(e.prototype,t),r&&pm(e,r),e}function dm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Oi(e){return Oi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oi(e)}function RD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&A_(e,t)}function SD(e,t){return t&&(ED(t)==="object"||typeof t=="function")?t:ym(e)}function A_(e,t){return A_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},A_(e,t)}function ED(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ID(e){var t=TD();return function(){var n=Oi(e),o;if(t){var i=Oi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SD(this,o)}}var BD=function(e){RD(r,e);var t=ID(r);function r(n){$D(this,r);var o;return o=t.call(this,n),dm(ym(o),"props",void 0),o.props=new wD(n==null?void 0:n.props),o}return PD(r,null,[{key:"controlName",get:function(){return"\u8BF4\u660E\u6587\u5B57"}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),r}(L);dm(BD,"setting",[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}]);function wi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $i(e){return $i=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$i(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&&k_(e,t)}function kD(e,t){return t&&(DD(t)==="object"||typeof t=="function")?t:wi(e)}function k_(e,t){return k_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},k_(e,t)}function DD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ND(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FD(e){var t=ND();return function(){var n=$i(e),o;if(t){var i=$i(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kD(this,o)}}var jD=function(e){xD(r,e);var t=FD(r);function r(n){AD(this,r);var o;o=t.call(this,n),x_(wi(o),"content",void 0),x_(wi(o),"url",void 0),x_(wi(o),"openMode",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5";var u;o.url=(u=n==null?void 0:n.url)!==null&&u!==void 0?u:"";var c;return o.openMode=(c=n==null?void 0:n.openMode)!==null&&c!==void 0?c:"new",o}return r}(ee);function vm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function MD(e,t,r){return t&&hm(e.prototype,t),r&&hm(e,r),e}function D_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pi(e){return Pi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pi(e)}function CD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&N_(e,t)}function VD(e,t){return t&&(zD(t)==="object"||typeof t=="function")?t:vm(e)}function N_(e,t){return N_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},N_(e,t)}function zD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qD(e){var t=HD();return function(){var n=Pi(e),o;if(t){var i=Pi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VD(this,o)}}var bm=function(e){CD(r,e);var t=qD(r);function r(n){LD(this,r);var o;return o=t.call(this,n),D_(vm(o),"props",void 0),o.props=new jD(n==null?void 0:n.props),o}return MD(r,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),r}(L);D_(bm,"controlEventKeys",["on_click"]),D_(bm,"setting",[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}]);function dt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ri(e){return Ri=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ri(e)}function WD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&F_(e,t)}function KD(e,t){return t&&(GD(t)==="object"||typeof t=="function")?t:dt(e)}function F_(e,t){return F_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},F_(e,t)}function GD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QD(e){var t=XD();return function(){var n=Ri(e),o;if(t){var i=Ri(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KD(this,o)}}var Ne=function(e){WD(r,e);var t=QD(r);function r(n){UD(this,r);var o;o=t.call(this,n),xt(dt(o),"content",void 0),xt(dt(o),"buttonType",void 0),xt(dt(o),"showType",void 0),xt(dt(o),"color",void 0),xt(dt(o),"icon",void 0),xt(dt(o),"defaultState",void 0),xt(dt(o),"command",void 0),xt(dt(o),"isLoading",void 0),xt(dt(o),"optObj",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6309\u94AE";var u;o.buttonType=(u=n==null?void 0:n.buttonType)!==null&&u!==void 0?u:"primary";var c;o.showType=(c=n==null?void 0:n.showType)!==null&&c!==void 0?c:"text";var l;o.color=(l=n==null?void 0:n.color)!==null&&l!==void 0?l:"primary";var a;o.icon=(a=n==null?void 0:n.icon)!==null&&a!==void 0?a:"iconfenlei2";var f;o.defaultState=(f=n==null?void 0:n.defaultState)!==null&&f!==void 0?f:"default";var _;o.command=(_=n==null?void 0:n.command)!==null&&_!==void 0?_:"custom";var p;o.isLoading=(p=n==null?void 0:n.isLoading)!==null&&p!==void 0?p:!1;var g;return o.optObj=new vx((g=n==null?void 0:n.optObj)!==null&&g!==void 0?g:{}),o}return r}(ee);function gm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ZD(e,t,r){return t&&mm(e.prototype,t),r&&mm(e,r),e}function Si(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ei(e){return Ei=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ei(e)}function YD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&j_(e,t)}function eN(e,t){return t&&(tN(t)==="object"||typeof t=="function")?t:gm(e)}function j_(e,t){return j_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},j_(e,t)}function tN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rN(e){var t=nN();return function(){var n=Ei(e),o;if(t){var i=Ei(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eN(this,o)}}var Oe=function(e){YD(r,e);var t=rN(r);function r(n){JD(this,r);var o;return o=t.call(this,n),Si(gm(o),"props",void 0),o.props=new Ne(n==null?void 0:n.props),o}return ZD(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}(L);Si(Oe,"slots",["grid-table-toolbar-slot","action-bar-slot",og.DEFAULT]),Si(Oe,"controlEventKeys",["on_click"]),Si(Oe,"setting",[{key:"button-content",visible:!0},{key:"button-opt-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}]);function tt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var kt;(function(e){e.ShowBizKey="is_show_biz_key",e.ShowSubmitUser="is_show_submit_user",e.ShowSubmitTime="is_show_submit_time",e.ShowSubmitDept="is_show_submit_dept",e.ShowCurrentApprovar="is_show_current_approvar",e.ShowTitle="is_show_title"})(kt||(kt={}));var Om;(function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"})(Om||(Om={}));var wm;(function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"})(wm||(wm={}));var L_=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:_t(8),value:["",""]};tt(this,e),T(this,"dateConfigType",void 0),T(this,"dateLimitType",void 0),T(this,"id",void 0),T(this,"value",void 0),this.id=t.id,this.dateConfigType=t.dateConfigType,this.dateLimitType=t.dateLimitType,this.value=t.value},M_;(function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"})(M_||(M_={}));var C_=function e(t){tt(this,e),T(this,"id",void 0),T(this,"text",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:_t();var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""},V_;(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"})(V_||(V_={}));var $m=function e(t){tt(this,e),T(this,"type",void 0),T(this,"person",void 0),T(this,"signatureType",void 0),T(this,"telephone",void 0),T(this,"company",void 0),T(this,"remark",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"private";var n;this.person=new Qr((n=t==null?void 0:t.person)!==null&&n!==void 0?n:{type:"form"});var o;this.signatureType=(o=t==null?void 0:t.signatureType)!==null&&o!==void 0?o:[];var i,u;this.telephone=(u=t==null?void 0:t.telephone)!==null&&u!==void 0?u:new Qr((i=t==null?void 0:t.telephone)!==null&&i!==void 0?i:{type:"form"});var c,l;this.company=(l=t==null?void 0:t.company)!==null&&l!==void 0?l:new Qr((c=t==null?void 0:t.company)!==null&&c!==void 0?c:{type:"form"});var a;this.remark=(a=t==null?void 0:t.remark)!==null&&a!==void 0?a:""},oN=function e(t){tt(this,e);var r;T(this,"fileControl",void 0),T(this,"undersignedList",void 0),T(this,"statusControl",void 0),T(this,"completeControl",void 0),T(this,"completeTimeControl",void 0);var n;this.fileControl=(n=t==null?void 0:t.fileControl)!==null&&n!==void 0?n:"";var o;this.undersignedList=(o=t==null||(r=t.undersignedList)===null||r===void 0?void 0:r.map(function(l){return new $m(l)}))!==null&&o!==void 0?o:[new $m];var i;this.statusControl=(i=t==null?void 0:t.statusControl)!==null&&i!==void 0?i:"";var u;this.completeControl=(u=t==null?void 0:t.completeControl)!==null&&u!==void 0?u:"";var c;this.completeTimeControl=(c=t==null?void 0:t.completeTimeControl)!==null&&c!==void 0?c:""},Ti=function e(t){tt(this,e),T(this,"id",void 0),T(this,"appId",void 0),T(this,"dataCode",void 0),T(this,"svcCode",void 0),T(this,"name",void 0),T(this,"fieldList",void 0),T(this,"active",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:_t(8);var n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.dataCode=(o=t==null?void 0:t.dataCode)!==null&&o!==void 0?o:"";var i;this.svcCode=(i=t==null?void 0:t.svcCode)!==null&&i!==void 0?i:"";var u;this.name=(u=t==null?void 0:t.name)!==null&&u!==void 0?u:"";var c;this.fieldList=(c=t==null?void 0:t.fieldList)!==null&&c!==void 0?c:[];var l;this.active=(l=t==null?void 0:t.active)!==null&&l!==void 0?l:!1},Pm=function e(t){tt(this,e),T(this,"active",void 0),T(this,"text",void 0);var r;this.active=(r=t==null?void 0:t.active)!==null&&r!==void 0?r:!1;var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""},iN=function e(t){tt(this,e),T(this,"types",void 0),T(this,"history",void 0),T(this,"collaborativeRecord",void 0),T(this,"logicToDelete",void 0),T(this,"watermark",void 0),T(this,"autoRename",void 0);var r;this.types=(r=t==null?void 0:t.types)!==null&&r!==void 0?r:["word","ppt","excel"];var n;this.history=(n=t==null?void 0:t.history)!==null&&n!==void 0?n:!1;var o;this.collaborativeRecord=(o=t==null?void 0:t.collaborativeRecord)!==null&&o!==void 0?o:!1;var i;this.logicToDelete=(i=t==null?void 0:t.logicToDelete)!==null&&i!==void 0?i:!0,this.watermark=new Pm(t==null?void 0:t.watermark),this.autoRename=new Pm(t==null?void 0:t.autoRename)},uN=function e(t){tt(this,e),T(this,"dataCode",void 0),this.dataCode=t.dataCode},cN=function e(t){tt(this,e);var r;T(this,"templateType",void 0),T(this,"templateList",void 0);var n;this.templateType=(n=t==null?void 0:t.templateType)!==null&&n!==void 0?n:"system";var o;this.templateList=(o=t==null||(r=t.templateList)===null||r===void 0?void 0:r.map(function(i){return new uN(i)}))!==null&&o!==void 0?o:[]},lN=function e(t){tt(this,e);var r;T(this,"templateType",void 0),T(this,"templateList",void 0);var n;this.templateType=(n=t==null?void 0:t.templateType)!==null&&n!==void 0?n:"system";var o;this.templateList=(o=t==null||(r=t.templateList)===null||r===void 0?void 0:r.map(function(i){return new Ti(i)}))!==null&&o!==void 0?o:[new Ti({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]},aN=480;function Ii(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var fN=function e(t){tt(this,e),T(this,"fileId",void 0),T(this,"fileName",void 0),T(this,"ruleName",void 0),T(this,"isDefault",void 0),T(this,"rules",void 0);var r;this.fileId=(r=t==null?void 0:t.fileId)!==null&&r!==void 0?r:"";var n;this.fileName=(n=t==null?void 0:t.fileName)!==null&&n!==void 0?n:"";var o;this.ruleName=(o=t==null?void 0:t.ruleName)!==null&&o!==void 0?o:"";var i;this.isDefault=(i=t.isDefault)!==null&&i!==void 0?i:!1;var u;this.rules=(u=t.rules)!==null&&u!==void 0?u:[]},Rm;(function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"})(Rm||(Rm={}));var z_;(function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"})(z_||(z_={}));var Bi;(function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"})(Bi||(Bi={}));var Zt;(function(e){e.ALL="all",e.ASSIGN="assign"})(Zt||(Zt={}));var H_;(function(e){e.ALL="all",e.ADMIN="admin"})(H_||(H_={}));function q_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ai(e){return Ai=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ai(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&&U_(e,t)}function yN(e,t){return t&&(pN(t)==="object"||typeof t=="function")?t:q_(e)}function U_(e,t){return U_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},U_(e,t)}function pN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vN(e){var t=dN();return function(){var n=Ai(e),o;if(t){var i=Ai(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yN(this,o)}}var hN=function(e){_N(r,e);var t=vN(r);function r(n){sN(this,r);var o;o=t.call(this,n),Sm(q_(o),"color",void 0),Sm(q_(o),"lineStyle",void 0);var i;o.color=(i=n==null?void 0:n.color)!==null&&i!==void 0?i:"#000";var u;return o.lineStyle=(u=n==null?void 0:n.lineStyle)!==null&&u!==void 0?u:V_.SOLID,o}return r}(ee);function Em(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gN(e,t,r){return t&&Tm(e.prototype,t),r&&Tm(e,r),e}function Im(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xi(e){return xi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xi(e)}function 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&&W_(e,t)}function ON(e,t){return t&&(wN(t)==="object"||typeof t=="function")?t:Em(e)}function W_(e,t){return W_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},W_(e,t)}function wN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $N(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PN(e){var t=$N();return function(){var n=xi(e),o;if(t){var i=xi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ON(this,o)}}var RN=function(e){mN(r,e);var t=PN(r);function r(n){bN(this,r);var o;return o=t.call(this,n),Im(Em(o),"props",void 0),o.props=new hN(n==null?void 0:n.props),o}return gN(r,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),r}(L);Im(RN,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]}]);function Yt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function en(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ki(e){return ki=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ki(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&&K_(e,t)}function SN(e,t){return t&&(EN(t)==="object"||typeof t=="function")?t:Yt(e)}function K_(e,t){return K_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},K_(e,t)}function EN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xm(e){var t=TN();return function(){var n=ki(e),o;if(t){var i=ki(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SN(this,o)}}var IN=function(e){Am(r,e);var t=xm(r);function r(n){Bm(this,r);var o;return o=t.call(this,n),en(Yt(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),en(Yt(o),"dataBind",{type:"any"}),en(Yt(o),"config",{type:"array"}),n.config.includes(kt.ShowBizKey)&&(o.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:h.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:h.getMessage("bizKeyNotBindFiled")}},message:h.getMessage("bizKeyNotBindFiled")}),!n.isHide&&n.config.length===0&&(o.config={type:"array",min:1,required:!0,message:h.getMessage("pleaseSelectOneField")}),o}return r}(Y),km=function(e){Am(r,e);var t=xm(r);function r(n){Bm(this,r);var o;o=t.call(this,n),en(Yt(o),"dataBind",void 0),en(Yt(o),"caption",void 0),en(Yt(o),"config",void 0),en(Yt(o),"position",void 0),o.dataBind=new et(n==null?void 0:n.dataBind);var i;o.config=(i=n==null?void 0:n.config)!==null&&i!==void 0?i:[kt.ShowSubmitUser,kt.ShowSubmitDept,kt.ShowSubmitTime,kt.ShowCurrentApprovar,kt.ShowTitle];var u,c;o.caption=(c=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:oo==null?void 0:oo.controlName)!==null&&c!==void 0?c:"";var l;return o.position=(l=n==null?void 0:n.position)!==null&&l!==void 0?l:"top",o}return r}(ee);en(km,"Rules",IN);function Dm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function AN(e,t,r){return t&&Nm(e.prototype,t),r&&Nm(e,r),e}function G_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Di(e){return Di=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Di(e)}function xN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&X_(e,t)}function kN(e,t){return t&&(DN(t)==="object"||typeof t=="function")?t:Dm(e)}function X_(e,t){return X_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},X_(e,t)}function DN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FN(e){var t=NN();return function(){var n=Di(e),o;if(t){var i=Di(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kN(this,o)}}var oo=function(e){xN(r,e);var t=FN(r);function r(n){BN(this,r);var o;return o=t.call(this,n),G_(Dm(o),"props",void 0),o.props=new km(n==null?void 0:n.props),o}return AN(r,null,[{key:"controlName",get:function(){return"\u6807\u9898\u7EC4\u4EF6"}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),r}(L);G_(oo,"controlFieldType",m.AUTO_NUMBER),G_(oo,"setting",[{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}]);function Ni(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ji(e){return ji=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ji(e)}function jm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Q_(e,t)}function jN(e,t){return t&&(LN(t)==="object"||typeof t=="function")?t:Ni(e)}function Q_(e,t){return Q_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Q_(e,t)}function LN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Lm(e){var t=MN();return function(){var n=ji(e),o;if(t){var i=ji(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jN(this,o)}}var CN=function(e){jm(r,e);var t=Lm(r);function r(n){Fm(this,r);var o;return o=t.call(this,n),Fi(Ni(o),"formKey",{type:"string",required:!0,message:h.getMessage("pleaseEnterForm")}),o}return r}(Y),Mm=function(e){jm(r,e);var t=Lm(r);function r(n){Fm(this,r);var o;o=t.call(this,n),Fi(Ni(o),"formKey",void 0),Fi(Ni(o),"openType",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:io.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:io.controlName;var c;o.formKey=(c=n==null?void 0:n.formKey)!==null&&c!==void 0?c:"";var l;return o.openType=(l=n==null?void 0:n.openType)!==null&&l!==void 0?l:"modal",o}return r}(Ne);Fi(Mm,"Rules",CN);function Cm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zN(e,t,r){return t&&Vm(e.prototype,t),r&&Vm(e,r),e}function Li(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mi(e){return Mi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mi(e)}function HN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&J_(e,t)}function qN(e,t){return t&&(UN(t)==="object"||typeof t=="function")?t:Cm(e)}function J_(e,t){return J_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},J_(e,t)}function UN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KN(e){var t=WN();return function(){var n=Mi(e),o;if(t){var i=Mi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qN(this,o)}}var io=function(e){HN(r,e);var t=KN(r);function r(n){VN(this,r);var o;return o=t.call(this,n),Li(Cm(o),"props",void 0),o.props=new Mm(n==null?void 0:n.props),o}return zN(r,null,[{key:"controlName",get:function(){return"\u521B\u5EFA\u5355\u636E"}},{key:"controlIcon",get:function(){return"iconchuangjiandanju"}},{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),r}(Oe);Li(io,"slots",["grid-table-toolbar-slot"]),Li(io,"controlEventKeys",["on_click","on_click_finish"]),Li(io,"setting",[{key:"button-content",visible:!0},{key:"select-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 Vn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ci(e){return Ci=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ci(e)}function Hm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Z_(e,t)}function GN(e,t){return t&&(XN(t)==="object"||typeof t=="function")?t:Vn(e)}function Z_(e,t){return Z_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Z_(e,t)}function XN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qm(e){var t=QN();return function(){var n=Ci(e),o;if(t){var i=Ci(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GN(this,o)}}var JN=function(e){Hm(r,e);var t=qm(r);function r(n){zm(this,r);var o;return o=t.call(this,n),zn(Vn(o),"processKey",[{type:"string",message:h.getMessage("isNotString")},{type:"string",required:!0,message:h.getMessage("pleaseEnterProcess")}]),o}return r}(Y),Um=function(e){Hm(r,e);var t=qm(r);function r(n){zm(this,r);var o;o=t.call(this,n),zn(Vn(o),"processKey",void 0),zn(Vn(o),"initiatorMode",void 0),zn(Vn(o),"fieldCode",void 0),zn(Vn(o),"employeeId",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:uo.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:uo.controlName;var c;o.initiatorMode=(c=n==null?void 0:n.initiatorMode)!==null&&c!==void 0?c:"currentInitiator";var l;o.processKey=(l=n==null?void 0:n.processKey)!==null&&l!==void 0?l:"";var a;o.fieldCode=(a=n==null?void 0:n.fieldCode)!==null&&a!==void 0?a:"";var f;return o.employeeId=(f=n==null?void 0:n.employeeId)!==null&&f!==void 0?f:"",o}return r}(Ne);zn(Um,"Rules",JN);function Wm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Km(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function YN(e,t,r){return t&&Km(e.prototype,t),r&&Km(e,r),e}function Vi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zi(e){return zi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zi(e)}function 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&&Y_(e,t)}function tF(e,t){return t&&(nF(t)==="object"||typeof t=="function")?t:Wm(e)}function Y_(e,t){return Y_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Y_(e,t)}function nF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oF(e){var t=rF();return function(){var n=zi(e),o;if(t){var i=zi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tF(this,o)}}var uo=function(e){eF(r,e);var t=oF(r);function r(n){ZN(this,r);var o;return o=t.call(this,n),Vi(Wm(o),"props",void 0),o.props=new Um(n==null?void 0:n.props),o}return YN(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u63D0\u4EA4"}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),r}(Oe);Vi(uo,"slots",["grid-table-toolbar-slot"]),Vi(uo,"controlEventKeys",["on_click","on_click_finish"]),Vi(uo,"setting",[{key:"button-content",visible:!0},{key:"select-process",visible:!0},{key:"initiator-mode",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function iF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hi(e){return Hi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hi(e)}function cF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ey(e,t)}function lF(e,t){return t&&(aF(t)==="object"||typeof t=="function")?t:iF(e)}function ey(e,t){return ey=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ey(e,t)}function aF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sF(e){var t=fF();return function(){var n=Hi(e),o;if(t){var i=Hi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lF(this,o)}}var _F=function(e){cF(r,e);var t=sF(r);function r(n){uF(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:co.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:co.controlIcon,o}return r}(Ne);function Gm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pF(e,t,r){return t&&Xm(e.prototype,t),r&&Xm(e,r),e}function qi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ui(e){return Ui=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ui(e)}function dF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ty(e,t)}function vF(e,t){return t&&(hF(t)==="object"||typeof t=="function")?t:Gm(e)}function ty(e,t){return ty=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ty(e,t)}function hF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gF(e){var t=bF();return function(){var n=Ui(e),o;if(t){var i=Ui(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vF(this,o)}}var co=function(e){dF(r,e);var t=gF(r);function r(n){yF(this,r);var o;return o=t.call(this,n),qi(Gm(o),"props",void 0),o.props=new _F(n==null?void 0:n.props),o}return pF(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),r}(Oe);qi(co,"slots",["grid-table-toolbar-slot"]),qi(co,"controlEventKeys",["on_click"]),qi(co,"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 ny(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wi(e){return Wi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wi(e)}function 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&&ry(e,t)}function wF(e,t){return t&&($F(t)==="object"||typeof t=="function")?t:ny(e)}function ry(e,t){return ry=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ry(e,t)}function $F(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RF(e){var t=PF();return function(){var n=Wi(e),o;if(t){var i=Wi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wF(this,o)}}var SF=function(e){OF(r,e);var t=RF(r);function r(n){mF(this,r);var o,i;o=t.call(this,n),Qm(ny(o),"templateList",void 0),Qm(ny(o),"templateType",void 0);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:lo.controlIcon;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:lo.controlName;var l;o.templateType=(l=n==null?void 0:n.templateType)!==null&&l!==void 0?l:"system";var a;return o.templateList=(a=n==null||(i=n.templateList)===null||i===void 0?void 0:i.map(function(f){return new Ti(f)}))!==null&&a!==void 0?a:[new Ti({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return r}(Ne);function Jm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function TF(e,t,r){return t&&Zm(e.prototype,t),r&&Zm(e,r),e}function Ki(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gi(e){return Gi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gi(e)}function IF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&oy(e,t)}function BF(e,t){return t&&(AF(t)==="object"||typeof t=="function")?t:Jm(e)}function oy(e,t){return oy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oy(e,t)}function AF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kF(e){var t=xF();return function(){var n=Gi(e),o;if(t){var i=Gi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BF(this,o)}}var lo=function(e){IF(r,e);var t=kF(r);function r(n){EF(this,r);var o;return o=t.call(this,n),Ki(Jm(o),"props",void 0),o.props=new SF(n==null?void 0:n.props),o}return TF(r,null,[{key:"controlName",get:function(){return"\u5BFC\u51FA"}},{key:"controlIcon",get:function(){return"iconxiazai1"}},{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),r}(Oe);Ki(lo,"slots",["grid-table-toolbar-slot"]),Ki(lo,"controlEventKeys",["on_click","on_click_finish"]),Ki(lo,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function DF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xi(e){return Xi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xi(e)}function FF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&iy(e,t)}function jF(e,t){return t&&(LF(t)==="object"||typeof t=="function")?t:DF(e)}function iy(e,t){return iy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iy(e,t)}function LF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CF(e){var t=MF();return function(){var n=Xi(e),o;if(t){var i=Xi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jF(this,o)}}var VF=function(e){FF(r,e);var t=CF(r);function r(n){NF(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:ao.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:ao.controlIcon,o}return r}(Ne);function Ym(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function HF(e,t,r){return t&&eO(e.prototype,t),r&&eO(e,r),e}function Qi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ji(e){return Ji=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ji(e)}function qF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uy(e,t)}function UF(e,t){return t&&(WF(t)==="object"||typeof t=="function")?t:Ym(e)}function uy(e,t){return uy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uy(e,t)}function WF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GF(e){var t=KF();return function(){var n=Ji(e),o;if(t){var i=Ji(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return UF(this,o)}}var ao=function(e){qF(r,e);var t=GF(r);function r(n){zF(this,r);var o;return o=t.call(this,n),Qi(Ym(o),"props",void 0),o.props=new VF(n==null?void 0:n.props),o}return HF(r,null,[{key:"controlName",get:function(){return"\u5BFC\u51FA\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"icondaochujilu"}},{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),r}(Oe);Qi(ao,"slots",["grid-table-toolbar-slot"]),Qi(ao,"controlEventKeys",["on_click"]),Qi(ao,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function cy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ly(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zi(e){return Zi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zi(e)}function 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&&ay(e,t)}function QF(e,t){return t&&(JF(t)==="object"||typeof t=="function")?t:cy(e)}function ay(e,t){return ay=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ay(e,t)}function JF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YF(e){var t=ZF();return function(){var n=Zi(e),o;if(t){var i=Zi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QF(this,o)}}var ej=function e(t){tO(this,e),ly(this,"dataCode",void 0),this.dataCode=t.dataCode},tj=function(e){XF(r,e);var t=YF(r);function r(n){tO(this,r);var o,i;o=t.call(this,n),ly(cy(o),"canImportList",void 0),ly(cy(o),"templateType",void 0);var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:fo.controlName;var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:fo.controlIcon;var l;o.canImportList=(l=n==null||(i=n.canImportList)===null||i===void 0?void 0:i.map(function(f){return new ej(f)}))!==null&&l!==void 0?l:[];var a;return o.templateType=(a=n==null?void 0:n.templateType)!==null&&a!==void 0?a:"system",o}return r}(Ne);function nO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rj(e,t,r){return t&&rO(e.prototype,t),r&&rO(e,r),e}function Yi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function eu(e){return eu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},eu(e)}function 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&&fy(e,t)}function ij(e,t){return t&&(uj(t)==="object"||typeof t=="function")?t:nO(e)}function fy(e,t){return fy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fy(e,t)}function uj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lj(e){var t=cj();return function(){var n=eu(e),o;if(t){var i=eu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ij(this,o)}}var fo=function(e){oj(r,e);var t=lj(r);function r(n){nj(this,r);var o;return o=t.call(this,n),Yi(nO(o),"props",void 0),o.props=new tj(n==null?void 0:n.props),o}return rj(r,null,[{key:"controlName",get:function(){return"\u5BFC\u5165"}},{key:"controlIcon",get:function(){return"iconshangchuan3"}},{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),r}(Oe);Yi(fo,"slots",["grid-table-toolbar-slot"]),Yi(fo,"controlEventKeys",["on_click","on_click_finish"]),Yi(fo,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}]);function tu(){return{dataCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:h.getMessage("pleaseSelectControl")}}}}}}function tn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nu(e){return nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nu(e)}function iO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 uO(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Dt(e,o,r[o])})}return e}function aj(e,t){return t&&(fj(t)==="object"||typeof t=="function")?t:tn(e)}function sy(e,t){return sy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sy(e,t)}function fj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cO(e){var t=sj();return function(){var n=nu(e),o;if(t){var i=nu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aj(this,o)}}var _j=function(e){iO(r,e);var t=cO(r);function r(n){oO(this,r);var o;return o=t.call(this,n),Dt(tn(o),"fillPayload",{type:"object",fields:uO({},tu())}),Dt(tn(o),"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:h.getMessage("pleaseEnterList")}}}),Dt(tn(o),"fillBack",{type:"object",fields:uO({mode:{type:"string",required:!0,message:h.getMessage("pleaseSelectFillBackMode")}},tu())}),(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:h.getMessage("pleaseSelectControl")}),o}return r}(Y),lO=function(e){iO(r,e);var t=cO(r);function r(n){oO(this,r);var o;o=t.call(this,n),Dt(tn(o),"fillPayload",void 0),Dt(tn(o),"formBind",void 0),Dt(tn(o),"fillBack",void 0),Dt(tn(o),"command",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:ou.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:ou.controlIcon;var c;return o.command=(c=n==null?void 0:n.command)!==null&&c!==void 0?c:"create",o.fillPayload=new Dg(n==null?void 0:n.fillPayload),o.formBind=new ZA(n==null?void 0:n.formBind),o.fillBack=new Ng(n==null?void 0:n.fillBack),o}return r}(Ne);Dt(lO,"Rules",_j);function aO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pj(e,t,r){return t&&fO(e.prototype,t),r&&fO(e,r),e}function _y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ru(e){return ru=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ru(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&&yy(e,t)}function vj(e,t){return t&&(hj(t)==="object"||typeof t=="function")?t:aO(e)}function yy(e,t){return yy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yy(e,t)}function hj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gj(e){var t=bj();return function(){var n=ru(e),o;if(t){var i=ru(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vj(this,o)}}var ou=function(e){dj(r,e);var t=gj(r);function r(n){yj(this,r);var o;return o=t.call(this,n),_y(aO(o),"props",void 0),o.props=new lO(n==null?void 0:n.props),o}return pj(r,null,[{key:"controlName",get:function(){return"\u8868\u5355\u64CD\u4F5C"}},{key:"controlIcon",get:function(){return"iconbiaodancaozuo"}},{key:"controlType",get:function(){return"form-select-button"}}]),r}(Oe);_y(ou,"controlEventKeys",["on_click","on_click_finish"]),_y(ou,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function vt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function iu(e){return iu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},iu(e)}function _O(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&py(e,t)}function yO(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){nt(e,o,r[o])})}return e}function mj(e,t){return t&&(Oj(t)==="object"||typeof t=="function")?t:vt(e)}function py(e,t){return py=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},py(e,t)}function Oj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pO(e){var t=wj();return function(){var n=iu(e),o;if(t){var i=iu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mj(this,o)}}var $j=function(e){_O(r,e);var t=pO(r);function r(n){sO(this,r);var o;return o=t.call(this,n),nt(vt(o),"fillPayload",{type:"object",fields:yO({},tu())}),nt(vt(o),"listPageBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:h.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:h.getMessage("pleaseSelectAtLeastOneColumn")}}}),nt(vt(o),"fillBack",{type:"object",fields:yO({mode:{type:"string",required:!0,message:h.getMessage("pleaseSelectFillBackMode")}},tu())}),o}return r}(Y),dO=function(e){_O(r,e);var t=pO(r);function r(n){sO(this,r);var o;o=t.call(this,n),nt(vt(o),"fillPayload",void 0),nt(vt(o),"listPageBind",void 0),nt(vt(o),"disableFilling",void 0),nt(vt(o),"fillBack",void 0),nt(vt(o),"showSelectedDetail",void 0),nt(vt(o),"selectedContentConfig",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:cu.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:cu.controlIcon,o.fillPayload=new Dg(n==null?void 0:n.fillPayload),o.listPageBind=new Ns(n==null?void 0:n.listPageBind),o.fillBack=new Ng(n==null?void 0:n.fillBack);var c;o.showSelectedDetail=(c=n==null?void 0:n.showSelectedDetail)!==null&&c!==void 0?c:!1,o.selectedContentConfig=new Ms(n==null?void 0:n.selectedContentConfig);var l;return o.disableFilling=(l=n==null?void 0:n.disableFilling)!==null&&l!==void 0?l:!0,o}return r}(Ne);nt(dO,"Rules",$j);function vO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Rj(e,t,r){return t&&hO(e.prototype,t),r&&hO(e,r),e}function dy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uu(e){return uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uu(e)}function Sj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vy(e,t)}function Ej(e,t){return t&&(Tj(t)==="object"||typeof t=="function")?t:vO(e)}function vy(e,t){return vy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vy(e,t)}function Tj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ij(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bj(e){var t=Ij();return function(){var n=uu(e),o;if(t){var i=uu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ej(this,o)}}var cu=function(e){Sj(r,e);var t=Bj(r);function r(n){Pj(this,r);var o;return o=t.call(this,n),dy(vO(o),"props",void 0),o.props=new dO(n==null?void 0:n.props),o}return Rj(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u9009\u62E9"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-select-button"}}]),r}(Oe);dy(cu,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),dy(cu,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function Aj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lu(e){return lu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lu(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&&gy(e,t)}function xj(e,t){return t&&(kj(t)==="object"||typeof t=="function")?t:Aj(e)}function gy(e,t){return gy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gy(e,t)}function kj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Dj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function my(e){var t=Dj();return function(){var n=lu(e),o;if(t){var i=lu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xj(this,o)}}var Nj=function(e){by(r,e);var t=my(r);function r(n){return hy(this,r),t.call(this,n)}return r}(Y),Fj=function(e){by(r,e);var t=my(r);function r(n){return hy(this,r),t.call(this,n)}return r}(pn),Oy=function(e){by(r,e);var t=my(r);function r(n){return hy(this,r),t.call(this,n)}return r}(ee);bO(Oy,"Rules",Nj),bO(Oy,"RuntimeRules",Fj);function gO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Lj(e,t,r){return t&&mO(e.prototype,t),r&&mO(e,r),e}function OO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function au(e){return au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},au(e)}function Mj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wy(e,t)}function Cj(e,t){return t&&(Vj(t)==="object"||typeof t=="function")?t:gO(e)}function wy(e,t){return wy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wy(e,t)}function Vj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hj(e){var t=zj();return function(){var n=au(e),o;if(t){var i=au(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Cj(this,o)}}var qj=function(e){Mj(r,e);var t=Hj(r);function r(n){jj(this,r);var o;return o=t.call(this,n),OO(gO(o),"props",void 0),o.props=new Oy(n==null?void 0:n.props),o}return Lj(r,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),r}(L);OO(qj,"setting",[]);function qe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ue(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fu(e){return fu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fu(e)}function $O(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$y(e,t)}function Uj(e,t){return t&&(Wj(t)==="object"||typeof t=="function")?t:qe(e)}function $y(e,t){return $y=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$y(e,t)}function Wj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Kj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PO(e){var t=Kj();return function(){var n=fu(e),o;if(t){var i=fu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Uj(this,o)}}var Gj=function(e){$O(r,e);var t=PO(r);function r(n){wO(this,r);var o;return o=t.call(this,n),Ue(qe(o),"dashboardKey",{type:"string",required:!0,message:h.getMessage("pleaseSelectDashboard")}),Ue(qe(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),Ue(qe(o),"isHideCaption",{type:"boolean"}),Ue(qe(o),"labelPosition",{type:"enum",enum:["top","left"]}),Ue(qe(o),"captionTip",{type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Y),RO=function(e){$O(r,e);var t=PO(r);function r(n){wO(this,r);var o;o=t.call(this,n),Ue(qe(o),"dashboardKey",void 0),Ue(qe(o),"caption",void 0),Ue(qe(o),"isHideCaption",void 0),Ue(qe(o),"isShowCaptionTip",void 0),Ue(qe(o),"captionTip",void 0),Ue(qe(o),"labelPosition",void 0);var i;o.dashboardKey=(i=n==null?void 0:n.dashboardKey)!==null&&i!==void 0?i:"";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var c;o.isHideCaption=(c=n==null?void 0:n.isHideCaption)!==null&&c!==void 0?c:!1;var l;o.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var f;return o.labelPosition=(f=n==null?void 0:n.labelPosition)!==null&&f!==void 0?f:"top",o}return r}(ee);Ue(RO,"Rules",Gj);function SO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function EO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Qj(e,t,r){return t&&EO(e.prototype,t),r&&EO(e,r),e}function TO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function su(e){return su=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},su(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&&Py(e,t)}function Zj(e,t){return t&&(Yj(t)==="object"||typeof t=="function")?t:SO(e)}function Py(e,t){return Py=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Py(e,t)}function Yj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tL(e){var t=eL();return function(){var n=su(e),o;if(t){var i=su(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Zj(this,o)}}var nL=function(e){Jj(r,e);var t=tL(r);function r(n){Xj(this,r);var o;return o=t.call(this,n),TO(SO(o),"props",void 0),o.props=new RO(n==null?void 0:n.props),o}return Qj(r,null,[{key:"controlName",get:function(){return"\u4EEA\u8868\u76D8"}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),r}(L);TO(nL,"setting",[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function so(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _u(e){return _u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_u(e)}function BO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ry(e,t)}function rL(e,t){return t&&(oL(t)==="object"||typeof t=="function")?t:so(e)}function Ry(e,t){return Ry=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ry(e,t)}function oL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AO(e){var t=iL();return function(){var n=_u(e),o;if(t){var i=_u(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rL(this,o)}}var uL=function(e){BO(r,e);var t=AO(r);function r(n){IO(this,r);var o;return o=t.call(this,n),_o(so(o),"showType",{type:"enum",enum:["select","tabs"]}),_o(so(o),"viewList",{type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:h.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:h.getMessage("pleaseSelectAtLeastOneColumn")}}}}),o}return r}(Y),xO=function(e){BO(r,e);var t=AO(r);function r(n){IO(this,r);var o,i;o=t.call(this,n),_o(so(o),"showType",void 0),_o(so(o),"viewList",void 0);var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"select";var c;return o.viewList=(c=n==null||(i=n.viewList)===null||i===void 0?void 0:i.map(function(l){return new px(l)}))!==null&&c!==void 0?c:[],o}return r}(ee);_o(xO,"Rules",uL);function kO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function lL(e,t,r){return t&&DO(e.prototype,t),r&&DO(e,r),e}function NO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yu(e){return yu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yu(e)}function aL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sy(e,t)}function fL(e,t){return t&&(sL(t)==="object"||typeof t=="function")?t:kO(e)}function Sy(e,t){return Sy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sy(e,t)}function sL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _L(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yL(e){var t=_L();return function(){var n=yu(e),o;if(t){var i=yu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fL(this,o)}}var pL=function(e){aL(r,e);var t=yL(r);function r(n){cL(this,r);var o;return o=t.call(this,n),NO(kO(o),"props",void 0),o.props=new xO(n==null?void 0:n.props),o}return lL(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u89C6\u56FE"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-view-select"}}]),r}(L);NO(pL,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}]);function Ie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Be(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pu(e){return pu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pu(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&&Ey(e,t)}function dL(e,t){return t&&(vL(t)==="object"||typeof t=="function")?t:Ie(e)}function Ey(e,t){return Ey=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ey(e,t)}function vL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LO(e){var t=hL();return function(){var n=pu(e),o;if(t){var i=pu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dL(this,o)}}var bL=function(e){jO(r,e);var t=LO(r);function r(n){FO(this,r);var o;return o=t.call(this,n),Be(Ie(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),Be(Ie(o),"isHideCaption",{type:"boolean"}),Be(Ie(o),"labelPosition",{type:"enum",enum:["top","left"]}),Be(Ie(o),"ocrType",{type:"string",required:!0,message:h.getMessage("pleaseSelectOcrType")}),Be(Ie(o),"fillList",{type:"array",validator:function(u,c,l){var a=c.every(function(f){return!f.controlId});if(a){l(h.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}l()}}),Be(Ie(o),"captionTip",{type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Y),MO=function(e){jO(r,e);var t=LO(r);function r(n){FO(this,r);var o,i;o=t.call(this,n),Be(Ie(o),"caption",void 0),Be(Ie(o),"isHideCaption",void 0),Be(Ie(o),"isShowCaptionTip",void 0),Be(Ie(o),"captionTip",void 0),Be(Ie(o),"labelPosition",void 0),Be(Ie(o),"ocrType",void 0),Be(Ie(o),"fillList",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:yo.controlName;var c;o.isHideCaption=(c=n==null?void 0:n.isHideCaption)!==null&&c!==void 0?c:!1;var l;o.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var f;o.labelPosition=(f=n==null?void 0:n.labelPosition)!==null&&f!==void 0?f:"top";var _;o.content=(_=n==null?void 0:n.content)!==null&&_!==void 0?_:yo.controlName;var p;o.icon=(p=n==null?void 0:n.icon)!==null&&p!==void 0?p:yo.controlIcon;var g;o.ocrType=(g=n==null?void 0:n.ocrType)!==null&&g!==void 0?g:"";var O;return o.fillList=(O=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(b){return new Te(b)}))!==null&&O!==void 0?O:[],o}return r}(Ne);Be(MO,"Rules",bL);function CO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mL(e,t,r){return t&&VO(e.prototype,t),r&&VO(e,r),e}function Ty(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function du(e){return du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},du(e)}function OL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Iy(e,t)}function wL(e,t){return t&&($L(t)==="object"||typeof t=="function")?t:CO(e)}function Iy(e,t){return Iy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Iy(e,t)}function $L(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RL(e){var t=PL();return function(){var n=du(e),o;if(t){var i=du(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wL(this,o)}}var yo=function(e){OL(r,e);var t=RL(r);function r(n){gL(this,r);var o;return o=t.call(this,n),Ty(CO(o),"props",void 0),o.props=new MO(n==null?void 0:n.props),o}return mL(r,null,[{key:"controlName",get:function(){return"\u6587\u5B57\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconwenzishibie"}},{key:"controlType",get:function(){return"text-ocr-button"}}]),r}(Oe);Ty(yo,"controlEventKeys",["on_click","on_click_finish"]),Ty(yo,"setting",[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function Ae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vu(e){return vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vu(e)}function HO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&By(e,t)}function SL(e,t){return t&&(EL(t)==="object"||typeof t=="function")?t:Ae(e)}function By(e,t){return By=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},By(e,t)}function EL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qO(e){var t=TL();return function(){var n=vu(e),o;if(t){var i=vu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SL(this,o)}}var IL=function(e){HO(r,e);var t=qO(r);function r(n){zO(this,r);var o;return o=t.call(this,n),xe(Ae(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),xe(Ae(o),"isHideCaption",{type:"boolean"}),xe(Ae(o),"labelPosition",{type:"enum",enum:["top","left"]}),xe(Ae(o),"invoiceCheck",{type:"boolean"}),xe(Ae(o),"fillList",{type:"array",validator:function(u,c,l){var a=c.every(function(f){return!f.controlId});if(a){l(h.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}l()}}),xe(Ae(o),"captionTip",{type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Y),UO=function(e){HO(r,e);var t=qO(r);function r(n){zO(this,r);var o,i;o=t.call(this,n),xe(Ae(o),"caption",void 0),xe(Ae(o),"isHideCaption",void 0),xe(Ae(o),"isShowCaptionTip",void 0),xe(Ae(o),"captionTip",void 0),xe(Ae(o),"labelPosition",void 0),xe(Ae(o),"invoiceCheck",void 0),xe(Ae(o),"fillList",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:po.controlName;var c;o.isHideCaption=(c=n==null?void 0:n.isHideCaption)!==null&&c!==void 0?c:!1;var l;o.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var f;o.labelPosition=(f=n==null?void 0:n.labelPosition)!==null&&f!==void 0?f:"top";var _;o.content=(_=n==null?void 0:n.content)!==null&&_!==void 0?_:po.controlName;var p;o.icon=(p=n==null?void 0:n.icon)!==null&&p!==void 0?p:po.controlIcon;var g;o.invoiceCheck=(g=n==null?void 0:n.invoiceCheck)!==null&&g!==void 0?g:!0;var O;return o.fillList=(O=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(b){return new Te(b)}))!==null&&O!==void 0?O:[],o}return r}(Ne);xe(UO,"Rules",IL);function WO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function AL(e,t,r){return t&&KO(e.prototype,t),r&&KO(e,r),e}function Ay(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hu(e){return hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hu(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&&xy(e,t)}function kL(e,t){return t&&(DL(t)==="object"||typeof t=="function")?t:WO(e)}function xy(e,t){return xy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xy(e,t)}function DL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FL(e){var t=NL();return function(){var n=hu(e),o;if(t){var i=hu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kL(this,o)}}var po=function(e){xL(r,e);var t=FL(r);function r(n){BL(this,r);var o;return o=t.call(this,n),Ay(WO(o),"props",void 0),o.props=new UO(n==null?void 0:n.props),o}return AL(r,null,[{key:"controlName",get:function(){return"\u53D1\u7968\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconfabiaoshibie1"}},{key:"controlType",get:function(){return"invoice-check-button"}}]),r}(Oe);Ay(po,"controlEventKeys",["on_click","on_click_finish"]),Ay(po,"setting",[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function bu(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mu(e){return mu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mu(e)}function 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&&ky(e,t)}function jL(e,t){return t&&(LL(t)==="object"||typeof t=="function")?t:bu(e)}function ky(e,t){return ky=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ky(e,t)}function LL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ML(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QO(e){var t=ML();return function(){var n=mu(e),o;if(t){var i=mu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jL(this,o)}}var CL=function(e){XO(r,e);var t=QO(r);function r(){GO(this,r);var n;return n=t.apply(this,arguments),gu(bu(n),"printTemplates",{type:"array",min:1,required:!0,message:h.getMessage("pleaseUploadAtLeastOnePrintTemplate")}),n}return r}(Y),JO=function(e){XO(r,e);var t=QO(r);function r(n){GO(this,r);var o,i;o=t.call(this,n),gu(bu(o),"printTemplates",void 0),gu(bu(o),"autoSelectTemplate",void 0);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:vo.controlIcon;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:vo.controlName;var l;o.printTemplates=(l=n==null||(i=n.printTemplates)===null||i===void 0?void 0:i.map(function(f){return new fN(f)}))!==null&&l!==void 0?l:[];var a;return o.autoSelectTemplate=(a=n==null?void 0:n.autoSelectTemplate)!==null&&a!==void 0?a:!1,o}return r}(Ne);gu(JO,"Rules",CL);function ZO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zL(e,t,r){return t&&YO(e.prototype,t),r&&YO(e,r),e}function Ou(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wu(e){return wu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wu(e)}function HL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dy(e,t)}function qL(e,t){return t&&(UL(t)==="object"||typeof t=="function")?t:ZO(e)}function Dy(e,t){return Dy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dy(e,t)}function UL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KL(e){var t=WL();return function(){var n=wu(e),o;if(t){var i=wu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qL(this,o)}}var vo=function(e){HL(r,e);var t=KL(r);function r(n){VL(this,r);var o;return o=t.call(this,n),Ou(ZO(o),"props",void 0),o.props=new JO(n==null?void 0:n.props),o}return zL(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u6253\u5370"}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),r}(Oe);Ou(vo,"slots",["grid-table-toolbar-slot"]),Ou(vo,"controlEventKeys",["on_click","on_click_finish"]),Ou(vo,"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 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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $u(e){return $u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$u(e)}function QL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ny(e,t)}function JL(e,t){return t&&(ZL(t)==="object"||typeof t=="function")?t:GL(e)}function Ny(e,t){return Ny=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ny(e,t)}function ZL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eM(e){var t=YL();return function(){var n=$u(e),o;if(t){var i=$u(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JL(this,o)}}var tM=function(e){QL(r,e);var t=eM(r);function r(n){XL(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:ho.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:ho.controlIcon,o}return r}(Ne);function ew(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rM(e,t,r){return t&&tw(e.prototype,t),r&&tw(e,r),e}function Pu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ru(e){return Ru=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ru(e)}function oM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fy(e,t)}function iM(e,t){return t&&(uM(t)==="object"||typeof t=="function")?t:ew(e)}function Fy(e,t){return Fy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fy(e,t)}function uM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lM(e){var t=cM();return function(){var n=Ru(e),o;if(t){var i=Ru(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iM(this,o)}}var ho=function(e){oM(r,e);var t=lM(r);function r(n){nM(this,r);var o;return o=t.call(this,n),Pu(ew(o),"props",void 0),o.props=new tM(n==null?void 0:n.props),o}return rM(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u6253\u5370\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),r}(Oe);Pu(ho,"slots",["grid-table-toolbar-slot"]),Pu(ho,"controlEventKeys",["on_click"]),Pu(ho,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function we(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Su(e){return Su=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Su(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&&jy(e,t)}function aM(e,t){return t&&(fM(t)==="object"||typeof t=="function")?t:we(e)}function jy(e,t){return jy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jy(e,t)}function fM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ow(e){var t=sM();return function(){var n=Su(e),o;if(t){var i=Su(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aM(this,o)}}var _M=function(e){rw(r,e);var t=ow(r);function r(n){nw(this,r);var o;return o=t.call(this,n),$e(we(o),"formKey",{type:"string",required:!1}),(n.command==="edit"||n.command==="view")&&(o.formKey={type:"string",required:!0,message:h.getMessage("pleaseEnterForm")}),o}return r}(Y),Eu=function(e){rw(r,e);var t=ow(r);function r(n){nw(this,r);var o;o=t.call(this,n),$e(we(o),"content",void 0),$e(we(o),"code",void 0),$e(we(o),"command",void 0),$e(we(o),"color",void 0),$e(we(o),"icon",void 0),$e(we(o),"formKey",void 0),$e(we(o),"openType",void 0),$e(we(o),"needConfirm",void 0),$e(we(o),"confirmMessage",void 0),$e(we(o),"options",void 0),$e(we(o),"defaultState",void 0),$e(we(o),"priorityProcess",void 0),$e(we(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6309\u94AE",o.code=n==null?void 0:n.code;var u;o.command=(u=n==null?void 0:n.command)!==null&&u!==void 0?u:"custom";var c;o.color=(c=n==null?void 0:n.color)!==null&&c!==void 0?c:"primary",o.icon=n==null?void 0:n.icon,o.formKey=n==null?void 0:n.formKey,o.openType=n==null?void 0:n.openType,o.needConfirm=n==null?void 0:n.needConfirm,o.confirmMessage=n==null?void 0:n.confirmMessage,o.options=n==null?void 0:n.options;var l;o.defaultState=(l=n==null?void 0:n.defaultState)!==null&&l!==void 0?l:"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 r}(ee);$e(Eu,"Rules",_M);function iw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pM(e,t,r){return t&&uw(e.prototype,t),r&&uw(e,r),e}function Ly(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tu(e){return Tu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tu(e)}function dM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&My(e,t)}function vM(e,t){return t&&(hM(t)==="object"||typeof t=="function")?t:iw(e)}function My(e,t){return My=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},My(e,t)}function hM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gM(e){var t=bM();return function(){var n=Tu(e),o;if(t){var i=Tu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vM(this,o)}}var Iu=function(e){dM(r,e);var t=gM(r);function r(n){yM(this,r);var o;return o=t.call(this,n),Ly(iw(o),"props",void 0),o.props=new Eu(n==null?void 0:n.props),o}return pM(r,null,[{key:"controlName",get:function(){return"\u64CD\u4F5C\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"operation-button"}}]),r}(L);Ly(Iu,"controlEventKeys",["on_click"]),Ly(Iu,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}]);function cw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function OM(e,t,r){return t&&lw(e.prototype,t),r&&lw(e,r),e}function wM(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bu(e){return Bu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bu(e)}function $M(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cy(e,t)}function PM(e,t){return t&&(RM(t)==="object"||typeof t=="function")?t:cw(e)}function Cy(e,t){return Cy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cy(e,t)}function RM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EM(e){var t=SM();return function(){var n=Bu(e),o;if(t){var i=Bu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PM(this,o)}}var TM=function(e){$M(r,e);var t=EM(r);function r(n){mM(this,r);var o;return o=t.call(this,n),wM(cw(o),"props",void 0),o.props=new Eu(n==null?void 0:n.props),o}return OM(r,null,[{key:"controlType",get:function(){return"operation-button"}}]),r}(Bt),Vy={Designer:Iu,Runtime:TM,Property:Eu};function Nt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Au(e){return Au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Au(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&&zy(e,t)}function AM(e,t){return t&&(xM(t)==="object"||typeof t=="function")?t:Nt(e)}function zy(e,t){return zy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zy(e,t)}function xM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DM(e){var t=kM();return function(){var n=Au(e),o;if(t){var i=Au(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AM(this,o)}}var NM=function(e){BM(r,e);var t=DM(r);function r(n){IM(this,r);var o;o=t.call(this,n),nn(Nt(o),"content",void 0),nn(Nt(o),"buttonType",void 0),nn(Nt(o),"showType",void 0),nn(Nt(o),"color",void 0),nn(Nt(o),"icon",void 0),nn(Nt(o),"defaultState",void 0),nn(Nt(o),"command",void 0),nn(Nt(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:bo.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:bo.controlIcon;var c;o.buttonType=(c=n==null?void 0:n.buttonType)!==null&&c!==void 0?c:"primary";var l;o.showType=(l=n==null?void 0:n.showType)!==null&&l!==void 0?l:"iconText";var a;o.color=(a=n==null?void 0:n.color)!==null&&a!==void 0?a:"danger";var f;o.isHide=(f=n==null?void 0:n.isHide)!==null&&f!==void 0?f:!1;var _;o.defaultState=(_=n==null?void 0:n.defaultState)!==null&&_!==void 0?_:"default";var p;o.command=(p=n==null?void 0:n.command)!==null&&p!==void 0?p:"custom";var g;return o.isLoading=(g=n==null?void 0:n.isLoading)!==null&&g!==void 0?g:!1,o}return r}(ee);function aw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jM(e,t,r){return t&&fw(e.prototype,t),r&&fw(e,r),e}function xu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ku(e){return ku=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ku(e)}function 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&&Hy(e,t)}function MM(e,t){return t&&(CM(t)==="object"||typeof t=="function")?t:aw(e)}function Hy(e,t){return Hy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hy(e,t)}function CM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zM(e){var t=VM();return function(){var n=ku(e),o;if(t){var i=ku(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return MM(this,o)}}var bo=function(e){LM(r,e);var t=zM(r);function r(n){FM(this,r);var o;return o=t.call(this,n),xu(aw(o),"props",void 0),o.props=new NM(n==null?void 0:n.props),o}return jM(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u5220\u9664"}},{key:"controlIcon",get:function(){return"iconlajitong"}},{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),r}(L);xu(bo,"slots",["grid-table-toolbar-slot"]),xu(bo,"controlEventKeys",["on_click"]),xu(bo,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}]);function ht(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Du(e){return Du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Du(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&&Wy(e,t)}function HM(e,t){return t&&(qM(t)==="object"||typeof t=="function")?t:ht(e)}function Wy(e,t){return Wy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wy(e,t)}function qM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function UM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ky(e){var t=UM();return function(){var n=Du(e),o;if(t){var i=Du(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return HM(this,o)}}var WM=function(e){Uy(r,e);var t=Ky(r);function r(n){qy(this,r);var o;return o=t.call(this,n),rt(ht(o),"maxLength",{type:"number",min:0,message:h.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),rt(ht(o),"minLength",{type:"number",max:200,message:h.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),rt(ht(o),"defaultValue",[{type:"string",max:200,min:0,message:h.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=h.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o.defaultValue[1].pattern=Ii(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(ue),KM=function(e){Uy(r,e);var t=Ky(r);function r(n){qy(this,r);var o;return o=t.call(this,n),o.push({type:"string",message:h.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:h.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:Ii(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(V),go=function(e){Uy(r,e);var t=Ky(r);function r(n){qy(this,r);var o;o=t.call(this,n),rt(ht(o),"maxLength",void 0),rt(ht(o),"minLength",void 0),rt(ht(o),"regularRules",void 0),rt(ht(o),"defaultValue",void 0),rt(ht(o),"encrypted",void 0),rt(ht(o),"encryptedMode",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:200;var u;o.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0,o.regularRules=new Cs(n==null?void 0:n.regularRules);var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:"";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:mo.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var f;o.encrypted=(f=n==null?void 0:n.encrypted)!==null&&f!==void 0?f:!1;var _;return o.encryptedMode=(_=n==null?void 0:n.encryptedMode)!==null&&_!==void 0?_:"",o}return r}(D);rt(go,"Rules",WM),rt(go,"RuntimeRules",KM);function sw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _w(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function XM(e,t,r){return t&&_w(e.prototype,t),r&&_w(e,r),e}function Nu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fu(e){return Fu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fu(e)}function 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&&Gy(e,t)}function JM(e,t){return t&&(ZM(t)==="object"||typeof t=="function")?t:sw(e)}function Gy(e,t){return Gy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gy(e,t)}function ZM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function e5(e){var t=YM();return function(){var n=Fu(e),o;if(t){var i=Fu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JM(this,o)}}var mo=function(e){QM(r,e);var t=e5(r);function r(n){GM(this,r);var o;return o=t.call(this,n),Nu(sw(o),"props",void 0),o.props=new go(n==null?void 0:n.props),o}return XM(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconSingleline_new1"}},{key:"controlType",get:function(){return"input"}}]),r}(N);Nu(mo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Nu(mo,"controlFieldType",m.VARCHAR),Nu(mo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP,s.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function yw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function t5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function n5(e,t,r){return t&&pw(e.prototype,t),r&&pw(e,r),e}function dw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ju(e){return ju=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ju(e)}function r5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xy(e,t)}function o5(e,t){return t&&(i5(t)==="object"||typeof t=="function")?t:yw(e)}function Xy(e,t){return Xy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xy(e,t)}function i5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function u5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function c5(e){var t=u5();return function(){var n=ju(e),o;if(t){var i=ju(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return o5(this,o)}}var l5=function(e){r5(r,e);var t=c5(r);function r(n){t5(this,r);var o;return o=t.call(this,n),dw(yw(o),"props",void 0),o.props=new go(n==null?void 0:n.props),o}return n5(r,null,[{key:"controlType",get:function(){return"input"}}]),r}(F);dw(l5,"controlFieldType",m.VARCHAR);function he(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lu(e){return Lu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lu(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&&Zy(e,t)}function a5(e,t){return t&&(f5(t)==="object"||typeof t=="function")?t:he(e)}function Zy(e,t){return Zy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zy(e,t)}function f5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function s5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yy(e){var t=s5();return function(){var n=Lu(e),o;if(t){var i=Lu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return a5(this,o)}}var _5=function(e){Jy(r,e);var t=Yy(r);function r(n){Qy(this,r);var o;o=t.call(this,n),_e(he(o),"limitMax",{type:"number",min:void 0,message:h.getMessage("PleaseReselectTheOptionalQuantity")});var i=n.limitMax==="unlimited";i&&(o.limitMax.type="string");var u=function(c){return c==="unlimited"?void 0:c};return o.limitMax.min=u(n.limitMin),o}return r}(Nn),y5=function(e){Jy(r,e);var t=Yy(r);function r(n){Qy(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o.push({type:"array",max:typeof n.limitMax=="number"?n.limitMax:void 0,min:typeof n.limitMin=="number"?n.limitMin:void 0}),o}return r}(V),Mu=function(e){Jy(r,e);var t=Yy(r);function r(n){Qy(this,r);var o;o=t.call(this,n),_e(he(o),"checkboxMode",void 0),_e(he(o),"options",void 0),_e(he(o),"optionsOrder",void 0),_e(he(o),"limitMax",void 0),_e(he(o),"limitMin",void 0),_e(he(o),"otherOption",void 0),_e(he(o),"optionConfig",void 0),_e(he(o),"optionsFormat",void 0),_e(he(o),"defaultShowOptions",void 0),_e(he(o),"datasourceBind",void 0),_e(he(o),"multistageFilling",void 0),_e(he(o),"interreaction",void 0),_e(he(o),"defaultValue",void 0),_e(he(o),"openMultistageFilling",void 0);var i;o.options=Tt((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.checkboxMode=(u=n==null?void 0:n.checkboxMode)!==null&&u!==void 0?u:"horizontal";var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"custom";var l;o.optionsOrder=(l=n==null?void 0:n.optionsOrder)!==null&&l!==void 0?l:!1;var a;o.otherOption=(a=n==null?void 0:n.otherOption)!==null&&a!==void 0?a:!1;var f;o.limitMin=(f=n==null?void 0:n.limitMin)!==null&&f!==void 0?f:"unlimited";var _;o.limitMax=(_=n==null?void 0:n.limitMax)!==null&&_!==void 0?_:"unlimited",o.datasourceBind=new ne(n==null?void 0:n.datasourceBind);var p;o.interreaction=(p=n==null?void 0:n.interreaction)!==null&&p!==void 0?p:[];var g;o.caption=(g=n==null?void 0:n.caption)!==null&&g!==void 0?g:zu.controlName;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:[];var b;o.optionsFormat=(b=n==null?void 0:n.optionsFormat)!==null&&b!==void 0?b:"horizontal";var w;o.defaultShowOptions=(w=n==null?void 0:n.defaultShowOptions)!==null&&w!==void 0?w:!0;var d;return o.openMultistageFilling=(d=n==null?void 0:n.openMultistageFilling)!==null&&d!==void 0?d:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function($){var P;(P=o.multistageFilling)===null||P===void 0||P.push(new Te($))})),o}return r}(D);_e(Mu,"Rules",_5),_e(Mu,"RuntimeRules",y5);function vw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d5(e,t,r){return t&&hw(e.prototype,t),r&&hw(e,r),e}function Cu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vu(e){return Vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vu(e)}function v5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ep(e,t)}function h5(e,t){return t&&(b5(t)==="object"||typeof t=="function")?t:vw(e)}function ep(e,t){return ep=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ep(e,t)}function b5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function g5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function m5(e){var t=g5();return function(){var n=Vu(e),o;if(t){var i=Vu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return h5(this,o)}}var zu=function(e){v5(r,e);var t=m5(r);function r(n){p5(this,r);var o;return o=t.call(this,n),Cu(vw(o),"props",void 0),o.props=new Mu(n==null?void 0:n.props),o}return d5(r,null,[{key:"controlName",get:function(){return"\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),r}(N);Cu(zu,"controlEventKeys",["on_change","on_click"]),Cu(zu,"controlFieldType",m.ARRAY),Cu(zu,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function bw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function w5(e,t,r){return t&&gw(e.prototype,t),r&&gw(e,r),e}function mw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hu(e){return Hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hu(e)}function $5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tp(e,t)}function P5(e,t){return t&&(R5(t)==="object"||typeof t=="function")?t:bw(e)}function tp(e,t){return tp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tp(e,t)}function R5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function S5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function E5(e){var t=S5();return function(){var n=Hu(e),o;if(t){var i=Hu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return P5(this,o)}}var T5=function(e){$5(r,e);var t=E5(r);function r(n){O5(this,r);var o;return o=t.call(this,n),mw(bw(o),"props",void 0),o.props=new Mu(n==null?void 0:n.props),o}return w5(r,null,[{key:"controlType",get:function(){return"checkbox"}}]),r}(F);mw(T5,"controlFieldType",m.ARRAY);function Fe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ow(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function je(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qu(e){return qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qu(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&&np(e,t)}function I5(e,t){return t&&(B5(t)==="object"||typeof t=="function")?t:Fe(e)}function np(e,t){return np=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},np(e,t)}function B5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function A5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $w(e){var t=A5();return function(){var n=qu(e),o;if(t){var i=qu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return I5(this,o)}}var x5=function(e){ww(r,e);var t=$w(r);function r(n){return Ow(this,r),t.call(this,n)}return r}(Nn),rp=function(e){ww(r,e);var t=$w(r);function r(n){Ow(this,r);var o;o=t.call(this,n),je(Fe(o),"radioMode",void 0),je(Fe(o),"options",void 0),je(Fe(o),"optionConfig",void 0),je(Fe(o),"optionsFormat",void 0),je(Fe(o),"defaultShowOptions",void 0),je(Fe(o),"otherOption",void 0),je(Fe(o),"optionsOrder",void 0),je(Fe(o),"datasourceBind",void 0),je(Fe(o),"multistageFilling",void 0),je(Fe(o),"interreaction",void 0),je(Fe(o),"defaultValue",void 0),je(Fe(o),"openMultistageFilling",void 0);var i;o.options=Tt((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.radioMode=(u=n==null?void 0:n.radioMode)!==null&&u!==void 0?u:"horizontal";var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"custom";var l;o.otherOption=(l=n==null?void 0:n.otherOption)!==null&&l!==void 0?l:!1;var a;o.optionsOrder=(a=n==null?void 0:n.optionsOrder)!==null&&a!==void 0?a:!1;var f;o.defaultShowOptions=(f=n==null?void 0:n.defaultShowOptions)!==null&&f!==void 0?f:!0;var _;o.optionsFormat=(_=n==null?void 0:n.optionsFormat)!==null&&_!==void 0?_:"horizontal",o.datasourceBind=new ne(n==null?void 0:n.datasourceBind);var p;o.interreaction=(p=n==null?void 0:n.interreaction)!==null&&p!==void 0?p:[];var g;o.caption=(g=n==null?void 0:n.caption)!==null&&g!==void 0?g:Ku.controlName;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:"";var b;return o.openMultistageFilling=(b=n==null?void 0:n.openMultistageFilling)!==null&&b!==void 0?b:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(w){var d;(d=o.multistageFilling)===null||d===void 0||d.push(new Te(w))})),o}return r}(D);je(rp,"Rules",x5);function Pw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function D5(e,t,r){return t&&Rw(e.prototype,t),r&&Rw(e,r),e}function Uu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wu(e){return Wu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wu(e)}function N5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&op(e,t)}function F5(e,t){return t&&(j5(t)==="object"||typeof t=="function")?t:Pw(e)}function op(e,t){return op=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},op(e,t)}function j5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function L5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function M5(e){var t=L5();return function(){var n=Wu(e),o;if(t){var i=Wu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return F5(this,o)}}var Ku=function(e){N5(r,e);var t=M5(r);function r(n){k5(this,r);var o;return o=t.call(this,n),Uu(Pw(o),"props",void 0),o.props=new rp(n==null?void 0:n.props),o}return D5(r,null,[{key:"controlName",get:function(){return"\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),r}(N);Uu(Ku,"controlEventKeys",["on_change","on_click"]),Uu(Ku,"controlFieldType",m.VARCHAR),Uu(Ku,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function Sw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ew(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function V5(e,t,r){return t&&Ew(e.prototype,t),r&&Ew(e,r),e}function Tw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gu(e){return Gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gu(e)}function z5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ip(e,t)}function H5(e,t){return t&&(q5(t)==="object"||typeof t=="function")?t:Sw(e)}function ip(e,t){return ip=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ip(e,t)}function q5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function U5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function W5(e){var t=U5();return function(){var n=Gu(e),o;if(t){var i=Gu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return H5(this,o)}}var K5=function(e){z5(r,e);var t=W5(r);function r(n){C5(this,r);var o;return o=t.call(this,n),Tw(Sw(o),"props",void 0),o.props=new rp(n==null?void 0:n.props),o}return V5(r,null,[{key:"controlType",get:function(){return"radio"}}]),r}(F);Tw(K5,"controlFieldType",m.VARCHAR);function Pe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function up(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function be(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xu(e){return Xu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xu(e)}function cp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lp(e,t)}function G5(e,t){return t&&(X5(t)==="object"||typeof t=="function")?t:Pe(e)}function lp(e,t){return lp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lp(e,t)}function X5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Q5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ap(e){var t=Q5();return function(){var n=Xu(e),o;if(t){var i=Xu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return G5(this,o)}}var J5=function(e){cp(r,e);var t=ap(r);function r(n){up(this,r);var o;o=t.call(this,n),be(Pe(o),"defaultValue",[{type:"number",min:0,max:200,message:h.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}]),be(Pe(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue[0].max=i,o.defaultValue[0].min=u,o.defaultValue[0].message=h.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:h.getMessage("numberRangeSetError")}),o.defaultValue[1].pattern=Ii(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(ue),Z5=function(e){cp(r,e);var t=ap(r);function r(n){up(this,r);var o;o=t.call(this,n),o[0]!==void 0&&(o[0].type="number");var i=n.rangeMax!==""?n.rangeMax:void 0,u=n.rangeMin!==""?n.rangeMin:void 0;return o.push({type:"number",max:i,min:u,message:h.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:Ii(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(V),Qu=function(e){cp(r,e);var t=ap(r);function r(n){up(this,r);var o;o=t.call(this,n),be(Pe(o),"rangeMin",void 0),be(Pe(o),"rangeMax",void 0),be(Pe(o),"numberType",void 0),be(Pe(o),"percentageFormat",void 0),be(Pe(o),"micrometer",void 0),be(Pe(o),"precision",void 0),be(Pe(o),"showUpperCase",void 0),be(Pe(o),"isShowUnit",void 0),be(Pe(o),"unitPosition",void 0),be(Pe(o),"unit",void 0),be(Pe(o),"defaultValue",void 0),be(Pe(o),"regularRules",void 0);var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var u;o.rangeMax=(u=n==null?void 0:n.rangeMax)!==null&&u!==void 0?u:"";var c;o.numberType=(c=n==null?void 0:n.numberType)!==null&&c!==void 0?c:"number";var l;o.percentageFormat=(l=n==null?void 0:n.percentageFormat)!==null&&l!==void 0?l:!1;var a;o.micrometer=(a=n==null?void 0:n.micrometer)!==null&&a!==void 0?a:!1;var f;o.precision=(f=n==null?void 0:n.precision)!==null&&f!==void 0?f:0;var _;o.showUpperCase=(_=n==null?void 0:n.showUpperCase)!==null&&_!==void 0?_:!1;var p;o.isShowUnit=(p=n==null?void 0:n.isShowUnit)!==null&&p!==void 0?p:!1;var g;o.unitPosition=(g=n==null?void 0:n.unitPosition)!==null&&g!==void 0?g:"right";var O;o.unit=(O=n==null?void 0:n.unit)!==null&&O!==void 0?O:"";var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:Yu.controlName;var w;o.placeholder=(w=n==null?void 0:n.placeholder)!==null&&w!==void 0?w:"\u8BF7\u8F93\u5165";var d;return o.defaultValue=(d=n==null?void 0:n.defaultValue)!==null&&d!==void 0?d:"",o.regularRules=new Cs(n==null?void 0:n.regularRules),o}return r}(D);be(Qu,"Rules",J5),be(Qu,"RuntimeRules",Z5);function Iw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function e6(e,t,r){return t&&Bw(e.prototype,t),r&&Bw(e,r),e}function Ju(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zu(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Zu=Reflect.get:Zu=function(o,i,u){var c=r6(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Zu(e,t,r||e)}function Hn(e){return Hn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hn(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&&fp(e,t)}function n6(e,t){return t&&(o6(t)==="object"||typeof t=="function")?t:Iw(e)}function fp(e,t){return fp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fp(e,t)}function r6(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Hn(e),e!==null););return e}function o6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function i6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function u6(e){var t=i6();return function(){var n=Hn(e),o;if(t){var i=Hn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return n6(this,o)}}var Yu=function(e){t6(r,e);var t=u6(r);function r(n){Y5(this,r);var o;return o=t.call(this,n),Ju(Iw(o),"props",void 0),o.props=new Qu(n==null?void 0:n.props),o}return e6(r,[{key:"toDataBindModel",value:function(o){var i=Zu(Hn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,l=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=l}return i}}],[{key:"controlName",get:function(){return"\u6570\u5B57"}},{key:"controlIcon",get:function(){return"iconnuminput_new"}},{key:"controlType",get:function(){return"number"}}]),r}(N);Ju(Yu,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Ju(Yu,"controlFieldType",m.DECIMAL),Ju(Yu,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_UNIT,s.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function Aw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l6(e,t,r){return t&&xw(e.prototype,t),r&&xw(e,r),e}function kw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ec(e){return ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ec(e)}function a6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sp(e,t)}function f6(e,t){return t&&(s6(t)==="object"||typeof t=="function")?t:Aw(e)}function sp(e,t){return sp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sp(e,t)}function s6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function y6(e){var t=_6();return function(){var n=ec(e),o;if(t){var i=ec(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return f6(this,o)}}var p6=function(e){a6(r,e);var t=y6(r);function r(n){c6(this,r);var o;return o=t.call(this,n),kw(Aw(o),"props",void 0),o.props=new Qu(n==null?void 0:n.props),o}return l6(r,null,[{key:"controlType",get:function(){return"number"}}]),r}(F);kw(p6,"controlFieldType",m.DECIMAL);function Ft(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tc(e){return tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tc(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&&_p(e,t)}function h6(e,t){return t&&(b6(t)==="object"||typeof t=="function")?t:Ft(e)}function _p(e,t){return _p=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_p(e,t)}function b6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function g6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function m6(e){var t=g6();return function(){var n=tc(e),o;if(t){var i=tc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return h6(this,o)}}var Dw=function(e){v6(r,e);var t=m6(r);function r(n){d6(this,r);var o,i;o=t.call(this,n),rn(Ft(o),"dateType",void 0),rn(Ft(o),"dateFormat",void 0),rn(Ft(o),"commonTimeSetting",void 0),rn(Ft(o),"setValueType",void 0),rn(Ft(o),"defaultValue",void 0),rn(Ft(o),"limitDateList",void 0),rn(Ft(o),"allowDateRange",void 0),rn(Ft(o),"filterWeekend",void 0);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:qt.DATE;var c;o.dateFormat=(c=n==null?void 0:n.dateFormat)!==null&&c!==void 0?c:"";var l;o.commonTimeSetting=(l=n==null?void 0:n.commonTimeSetting)!==null&&l!==void 0?l:[];var a;o.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:dp.controlName;var _;o.placeholder=(_=n==null?void 0:n.placeholder)!==null&&_!==void 0?_:"\u8BF7\u8F93\u5165\u65E5\u671F";var p;o.defaultValue=(p=n==null?void 0:n.defaultValue)!==null&&p!==void 0?p:"";var g;o.limitDateList=(g=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(w){return new L_(w)}))!==null&&g!==void 0?g:[];var O;o.allowDateRange=(O=n==null?void 0:n.allowDateRange)!==null&&O!==void 0?O:["",""];var b;return o.filterWeekend=(b=n==null?void 0:n.filterWeekend)!==null&&b!==void 0?b:!1,o}return r}(D);function Nw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function w6(e,t,r){return t&&Fw(e.prototype,t),r&&Fw(e,r),e}function yp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?nc=Reflect.get:nc=function(o,i,u){var c=R6(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},nc(e,t,r||e)}function qn(e){return qn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qn(e)}function $6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pp(e,t)}function P6(e,t){return t&&(S6(t)==="object"||typeof t=="function")?t:Nw(e)}function pp(e,t){return pp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pp(e,t)}function R6(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=qn(e),e!==null););return e}function S6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function E6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function T6(e){var t=E6();return function(){var n=qn(e),o;if(t){var i=qn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return P6(this,o)}}var dp=function(e){$6(r,e);var t=T6(r);function r(n){O6(this,r);var o;return o=t.call(this,n),yp(Nw(o),"props",void 0),o.props=new Dw(n==null?void 0:n.props),o}return w6(r,[{key:"toDataBindModel",value:function(o){var i=nc(qn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props.dateType;i.props.dateType=u}return i}}],[{key:"controlName",get:function(){return"\u65E5\u671F"}},{key:"controlIcon",get:function(){return"iconriqi1"}},{key:"controlType",get:function(){return"date-picker"}}]),r}(N);yp(dp,"controlFieldType",m.TIMESTAMP),yp(dp,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function jw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function B6(e,t,r){return t&&Lw(e.prototype,t),r&&Lw(e,r),e}function Mw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rc(e){return rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rc(e)}function A6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vp(e,t)}function x6(e,t){return t&&(k6(t)==="object"||typeof t=="function")?t:jw(e)}function vp(e,t){return vp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vp(e,t)}function k6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function D6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function N6(e){var t=D6();return function(){var n=rc(e),o;if(t){var i=rc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return x6(this,o)}}var F6=function(e){A6(r,e);var t=N6(r);function r(n){I6(this,r);var o;return o=t.call(this,n),Mw(jw(o),"props",void 0),o.props=new Dw(n==null?void 0:n.props),o}return B6(r,null,[{key:"controlType",get:function(){return"date-picker"}}]),r}(F);Mw(F6,"controlFieldType",m.TIMESTAMP);function We(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ke(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oc(e){return oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oc(e)}function Vw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hp(e,t)}function j6(e,t){return t&&(L6(t)==="object"||typeof t=="function")?t:We(e)}function hp(e,t){return hp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hp(e,t)}function L6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function M6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zw(e){var t=M6();return function(){var n=oc(e),o;if(t){var i=oc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return j6(this,o)}}var C6=function(e){Vw(r,e);var t=zw(r);function r(n){Cw(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="object"),n.required&&!n.isHide&&o.push({type:"object",fields:{max:{type:"string",required:n.required,message:o[0].message},min:{type:"string",required:n.required,message:o[0].message}}}),o}return r}(V),bp=function(e){Vw(r,e);var t=zw(r);function r(n){Cw(this,r);var o,i;o=t.call(this,n),Ke(We(o),"dataBind",void 0),Ke(We(o),"rangeMin",void 0),Ke(We(o),"rangeMax",void 0),Ke(We(o),"placeholderStart",void 0),Ke(We(o),"placeholderEnd",void 0),Ke(We(o),"dateFormat",void 0),Ke(We(o),"commonTimeSetting",void 0),Ke(We(o),"dateType",void 0),Ke(We(o),"setValueType",void 0),Ke(We(o),"defaultValue",void 0),Ke(We(o),"limitDateList",void 0),o.dataBind=new ax(n==null?void 0:n.dataBind),o.defaultValue=new fx(n==null?void 0:n.defaultValue);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:qt.DATE;var c;o.dateFormat=(c=n==null?void 0:n.dateFormat)!==null&&c!==void 0?c:"";var l;o.commonTimeSetting=(l=n==null?void 0:n.commonTimeSetting)!==null&&l!==void 0?l:[];var a;o.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var f;o.rangeMin=(f=n==null?void 0:n.rangeMin)!==null&&f!==void 0?f:"";var _;o.rangeMax=(_=n==null?void 0:n.rangeMax)!==null&&_!==void 0?_:"";var p;o.placeholderStart=(p=n==null?void 0:n.placeholderStart)!==null&&p!==void 0?p:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F";var g;o.placeholderEnd=(g=n==null?void 0:n.placeholderEnd)!==null&&g!==void 0?g:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F";var O;o.caption=(O=n==null?void 0:n.caption)!==null&&O!==void 0?O:Op.controlName;var b;return o.limitDateList=(b=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(w){return new L_(w)}))!==null&&b!==void 0?b:[],o}return r}(D);Ke(bp,"RuntimeRules",C6);function Hw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function z6(e,t,r){return t&&qw(e.prototype,t),r&&qw(e,r),e}function gp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ic(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ic=Reflect.get:ic=function(o,i,u){var c=U6(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},ic(e,t,r||e)}function Un(e){return Un=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Un(e)}function H6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mp(e,t)}function q6(e,t){return t&&(W6(t)==="object"||typeof t=="function")?t:Hw(e)}function mp(e,t){return mp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mp(e,t)}function U6(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Un(e),e!==null););return e}function W6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function K6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function G6(e){var t=K6();return function(){var n=Un(e),o;if(t){var i=Un(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return q6(this,o)}}var Op=function(e){H6(r,e);var t=G6(r);function r(n){V6(this,r);var o;return o=t.call(this,n),gp(Hw(o),"props",void 0),o.props=new bp(n==null?void 0:n.props),o}return z6(r,[{key:"toDataBindModel",value:function(o){var i=ic(Un(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props.dateType;i.props.dateType=u}return i}}],[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"date-range"}}]),r}(N);gp(Op,"controlFieldType",m.TIMESCOPE),gp(Op,"setting",[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function Uw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ww(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Q6(e,t,r){return t&&Ww(e.prototype,t),r&&Ww(e,r),e}function Kw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uc(e){return uc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uc(e)}function 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&&wp(e,t)}function Z6(e,t){return t&&(Y6(t)==="object"||typeof t=="function")?t:Uw(e)}function wp(e,t){return wp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wp(e,t)}function Y6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tC(e){var t=eC();return function(){var n=uc(e),o;if(t){var i=uc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Z6(this,o)}}var nC=function(e){J6(r,e);var t=tC(r);function r(n){X6(this,r);var o;return o=t.call(this,n),Kw(Uw(o),"props",void 0),o.props=new bp(n==null?void 0:n.props),o}return Q6(r,null,[{key:"controlType",get:function(){return"date-range"}}]),r}(F);Kw(nC,"controlFieldType",m.TIMESCOPE);function on(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cc(e){return cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cc(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&&Rp(e,t)}function rC(e,t){return t&&(oC(t)==="object"||typeof t=="function")?t:on(e)}function Rp(e,t){return Rp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rp(e,t)}function oC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sp(e){var t=iC();return function(){var n=cc(e),o;if(t){var i=cc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rC(this,o)}}var uC=function(e){Pp(r,e);var t=Sp(r);function r(n){$p(this,r);var o;return o=t.call(this,n),jt(on(o),"maxLength",{type:"number",min:0,message:h.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),jt(on(o),"minLength",{type:"number",max:1e6,message:h.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),jt(on(o),"defaultValue",{type:"string",max:200,min:0,message:h.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=h.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(ue),cC=function(e){Pp(r,e);var t=Sp(r);function r(n){$p(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:h.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(V),lc=function(e){Pp(r,e);var t=Sp(r);function r(n){$p(this,r);var o;o=t.call(this,n),jt(on(o),"maxLength",void 0),jt(on(o),"minLength",void 0),jt(on(o),"defaultValue",void 0),jt(on(o),"rowHeightSetting",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:5e4;var u;o.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0;var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:"";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:sc.controlName;var a;return o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165",o.rowHeightSetting=new Tg(n==null?void 0:n.rowHeightSetting),o}return r}(D);jt(lc,"Rules",uC),jt(lc,"RuntimeRules",cC);function Gw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function aC(e,t,r){return t&&Xw(e.prototype,t),r&&Xw(e,r),e}function ac(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fc(e){return fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fc(e)}function fC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 sC(e,t){return t&&(_C(t)==="object"||typeof t=="function")?t:Gw(e)}function Ep(e,t){return Ep=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ep(e,t)}function _C(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pC(e){var t=yC();return function(){var n=fc(e),o;if(t){var i=fc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sC(this,o)}}var sc=function(e){fC(r,e);var t=pC(r);function r(n){lC(this,r);var o;return o=t.call(this,n),ac(Gw(o),"props",void 0),o.props=new lc(n==null?void 0:n.props),o}return aC(r,null,[{key:"controlName",get:function(){return"\u591A\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconMultilineline_new1"}},{key:"controlType",get:function(){return"textarea"}}]),r}(N);ac(sc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),ac(sc,"controlFieldType",m.TEXT),ac(sc,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"row-height-setting",visible:!0},{key:"super-setting",visible:!0}]);function Qw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vC(e,t,r){return t&&Jw(e.prototype,t),r&&Jw(e,r),e}function Zw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _c(e){return _c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_c(e)}function hC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tp(e,t)}function bC(e,t){return t&&(gC(t)==="object"||typeof t=="function")?t:Qw(e)}function Tp(e,t){return Tp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tp(e,t)}function gC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OC(e){var t=mC();return function(){var n=_c(e),o;if(t){var i=_c(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bC(this,o)}}var wC=function(e){hC(r,e);var t=OC(r);function r(n){dC(this,r);var o;return o=t.call(this,n),Zw(Qw(o),"props",void 0),o.props=new lc(n==null?void 0:n.props),o}return vC(r,null,[{key:"controlType",get:function(){return"textarea"}}]),r}(F);Zw(wC,"controlFieldType",m.TEXT);function bn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ip(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function un(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yc(e){return yc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yc(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&&Ap(e,t)}function $C(e,t){return t&&(PC(t)==="object"||typeof t=="function")?t:bn(e)}function Ap(e,t){return Ap=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ap(e,t)}function PC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xp(e){var t=RC();return function(){var n=yc(e),o;if(t){var i=yc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $C(this,o)}}var SC=function(e){Bp(r,e);var t=xp(r);function r(n){Ip(this,r);var o;return o=t.call(this,n),un(bn(o),"maxLength",{type:"number",min:0,message:h.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),un(bn(o),"minLength",{type:"number",max:1e6,message:h.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),un(bn(o),"defaultValue",{type:"string",max:200,min:0,message:h.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=h.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(ue),EC=function(e){Bp(r,e);var t=xp(r);function r(n){Ip(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:h.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(V),pc=function(e){Bp(r,e);var t=xp(r);function r(n){Ip(this,r);var o;o=t.call(this,n),un(bn(o),"maxLength",void 0),un(bn(o),"minLength",void 0),un(bn(o),"defaultValue",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:5e4;var u;o.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0;var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:"";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:hc.controlName;var a;return o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165",o}return r}(D);un(pc,"Rules",SC),un(pc,"RuntimeRules",EC);function Yw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function e$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function IC(e,t,r){return t&&e$(e.prototype,t),r&&e$(e,r),e}function dc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vc(e){return vc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vc(e)}function 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&&kp(e,t)}function AC(e,t){return t&&(xC(t)==="object"||typeof t=="function")?t:Yw(e)}function kp(e,t){return kp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kp(e,t)}function xC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DC(e){var t=kC();return function(){var n=vc(e),o;if(t){var i=vc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AC(this,o)}}var hc=function(e){BC(r,e);var t=DC(r);function r(n){TC(this,r);var o;return o=t.call(this,n),dc(Yw(o),"props",void 0),o.props=new pc(n==null?void 0:n.props),o}return IC(r,null,[{key:"controlName",get:function(){return"\u5BCC\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconRichtextbox_new"}},{key:"controlType",get:function(){return"rich-text"}}]),r}(N);dc(hc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),dc(hc,"controlFieldType",m.TEXT),dc(hc,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}]);function t$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function FC(e,t,r){return t&&n$(e.prototype,t),r&&n$(e,r),e}function r$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bc(e){return bc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bc(e)}function jC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dp(e,t)}function LC(e,t){return t&&(MC(t)==="object"||typeof t=="function")?t:t$(e)}function Dp(e,t){return Dp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dp(e,t)}function MC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VC(e){var t=CC();return function(){var n=bc(e),o;if(t){var i=bc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return LC(this,o)}}var zC=function(e){jC(r,e);var t=VC(r);function r(n){NC(this,r);var o;return o=t.call(this,n),r$(t$(o),"props",void 0),o.props=new pc(n==null?void 0:n.props),o}return FC(r,null,[{key:"controlType",get:function(){return"rich-text"}}]),r}(F);r$(zC,"controlFieldType",m.TEXT);function Le(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Me(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gc(e){return gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gc(e)}function i$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Np(e,t)}function HC(e,t){return t&&(qC(t)==="object"||typeof t=="function")?t:Le(e)}function Np(e,t){return Np=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Np(e,t)}function qC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function UC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function u$(e){var t=UC();return function(){var n=gc(e),o;if(t){var i=gc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return HC(this,o)}}var WC=function(e){i$(r,e);var t=u$(r);function r(n){o$(this,r);var o;return o=t.call(this,n),Me(Le(o),"formBind",{type:"object",fields:{formKey:{type:"string",message:h.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return r}(Nn),Fp=function(e){i$(r,e);var t=u$(r);function r(n){o$(this,r);var o;o=t.call(this,n),Me(Le(o),"options",void 0),Me(Le(o),"defaultShowOptions",void 0),Me(Le(o),"optionConfig",void 0),Me(Le(o),"defaultValue",void 0),Me(Le(o),"datasourceBind",void 0),Me(Le(o),"multistageFilling",void 0),Me(Le(o),"allowCopyOptions",void 0),Me(Le(o),"openMultistageFilling",void 0),Me(Le(o),"viewFormModelType",void 0),Me(Le(o),"canViewForm",void 0),Me(Le(o),"formBind",void 0);var i;o.options=Tt((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.defaultShowOptions=(u=n==null?void 0:n.defaultShowOptions)!==null&&u!==void 0?u:!0;var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"custom",o.datasourceBind=new ne(n==null?void 0:n.datasourceBind);var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:Mp.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9";var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:"";var _;o.allowCopyOptions=(_=n==null?void 0:n.allowCopyOptions)!==null&&_!==void 0?_:!1;var p;o.openMultistageFilling=(p=n==null?void 0:n.openMultistageFilling)!==null&&p!==void 0?p:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(b){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new Te(b))}));var g;o.canViewForm=(g=n==null?void 0:n.canViewForm)!==null&&g!==void 0?g:!1;var O;return o.viewFormModelType=(O=n==null?void 0:n.viewFormModelType)!==null&&O!==void 0?O:"window",o.formBind=new kn(n==null?void 0:n.formBind),o}return r}(D);Me(Fp,"Rules",WC);function c$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function GC(e,t,r){return t&&l$(e.prototype,t),r&&l$(e,r),e}function jp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mc(e){return mc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mc(e)}function XC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 QC(e,t){return t&&(JC(t)==="object"||typeof t=="function")?t:c$(e)}function Lp(e,t){return Lp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lp(e,t)}function JC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YC(e){var t=ZC();return function(){var n=mc(e),o;if(t){var i=mc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QC(this,o)}}var Mp=function(e){XC(r,e);var t=YC(r);function r(n){KC(this,r);var o;return o=t.call(this,n),jp(c$(o),"props",void 0),o.props=new Fp(n==null?void 0:n.props),o}return GC(r,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconxiala1"}},{key:"controlType",get:function(){return"select"}}]),r}(N);jp(Mp,"controlFieldType",m.VARCHAR),jp(Mp,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP,s.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function a$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function t4(e,t,r){return t&&f$(e.prototype,t),r&&f$(e,r),e}function s$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Oc(e){return Oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oc(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&&Cp(e,t)}function r4(e,t){return t&&(o4(t)==="object"||typeof t=="function")?t:a$(e)}function Cp(e,t){return Cp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cp(e,t)}function o4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function i4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function u4(e){var t=i4();return function(){var n=Oc(e),o;if(t){var i=Oc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return r4(this,o)}}var c4=function(e){n4(r,e);var t=u4(r);function r(n){e4(this,r);var o;return o=t.call(this,n),s$(a$(o),"props",void 0),o.props=new Fp(n==null?void 0:n.props),o}return t4(r,null,[{key:"controlType",get:function(){return"select"}}]),r}(F);s$(c4,"controlFieldType",m.VARCHAR);function Ge(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ce(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wc(e){return wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wc(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 l4(e,t){return t&&(a4(t)==="object"||typeof t=="function")?t:Ge(e)}function Hp(e,t){return Hp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hp(e,t)}function a4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function f4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qp(e){var t=f4();return function(){var n=wc(e),o;if(t){var i=wc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return l4(this,o)}}var s4=function(e){zp(r,e);var t=qp(r);function r(n){Vp(this,r);var o;return o=t.call(this,n),Ce(Ge(o),"formBind",{type:"object",fields:{formKey:{type:"string",message:h.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return r}(Nn),_4=function(e){zp(r,e);var t=qp(r);function r(n){Vp(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(V),$c=function(e){zp(r,e);var t=qp(r);function r(n){Vp(this,r);var o;o=t.call(this,n),Ce(Ge(o),"options",void 0),Ce(Ge(o),"defaultShowOptions",void 0),Ce(Ge(o),"optionConfig",void 0),Ce(Ge(o),"defaultValue",void 0),Ce(Ge(o),"datasourceBind",void 0),Ce(Ge(o),"multistageFilling",void 0),Ce(Ge(o),"openMultistageFilling",void 0),Ce(Ge(o),"viewFormModelType",void 0),Ce(Ge(o),"canViewForm",void 0),Ce(Ge(o),"formBind",void 0);var i;o.options=Tt((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.defaultShowOptions=(u=n==null?void 0:n.defaultShowOptions)!==null&&u!==void 0?u:!0;var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"custom",o.datasourceBind=new ne(n==null?void 0:n.datasourceBind);var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:Kp.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9";var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var _;o.openMultistageFilling=(_=n==null?void 0:n.openMultistageFilling)!==null&&_!==void 0?_:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var b;(b=o.multistageFilling)===null||b===void 0||b.push(new Te(O))}));var p;o.canViewForm=(p=n==null?void 0:n.canViewForm)!==null&&p!==void 0?p:!1;var g;return o.viewFormModelType=(g=n==null?void 0:n.viewFormModelType)!==null&&g!==void 0?g:"window",o.formBind=new kn(n==null?void 0:n.formBind),o}return r}(D);Ce($c,"Rules",s4),Ce($c,"RuntimeRules",_4);function _$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p4(e,t,r){return t&&y$(e.prototype,t),r&&y$(e,r),e}function Up(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pc(e){return Pc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pc(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&&Wp(e,t)}function v4(e,t){return t&&(h4(t)==="object"||typeof t=="function")?t:_$(e)}function Wp(e,t){return Wp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wp(e,t)}function h4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function b4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function g4(e){var t=b4();return function(){var n=Pc(e),o;if(t){var i=Pc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return v4(this,o)}}var Kp=function(e){d4(r,e);var t=g4(r);function r(n){y4(this,r);var o;return o=t.call(this,n),Up(_$(o),"props",void 0),o.props=new $c(n==null?void 0:n.props),o}return p4(r,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconxialaduoxuan"}},{key:"controlType",get:function(){return"select-multiple"}}]),r}(N);Up(Kp,"controlFieldType",m.ARRAY),Up(Kp,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function p$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function O4(e,t,r){return t&&d$(e.prototype,t),r&&d$(e,r),e}function v$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rc(e){return Rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rc(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&&Gp(e,t)}function $4(e,t){return t&&(P4(t)==="object"||typeof t=="function")?t:p$(e)}function Gp(e,t){return Gp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gp(e,t)}function P4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function R4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function S4(e){var t=R4();return function(){var n=Rc(e),o;if(t){var i=Rc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $4(this,o)}}var E4=function(e){w4(r,e);var t=S4(r);function r(n){m4(this,r);var o;return o=t.call(this,n),v$(p$(o),"props",void 0),o.props=new $c(n==null?void 0:n.props),o}return O4(r,null,[{key:"controlType",get:function(){return"select-multiple"}}]),r}(F);v$(E4,"controlFieldType",m.ARRAY);function Lt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sc(e){return Sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sc(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&&Xp(e,t)}function T4(e,t){return t&&(I4(t)==="object"||typeof t=="function")?t:Lt(e)}function Xp(e,t){return Xp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xp(e,t)}function I4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function B4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function g$(e){var t=B4();return function(){var n=Sc(e),o;if(t){var i=Sc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return T4(this,o)}}var A4=function(e){b$(r,e);var t=g$(r);function r(n){h$(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(V),Qp=function(e){b$(r,e);var t=g$(r);function r(n){h$(this,r);var o;o=t.call(this,n),Mt(Lt(o),"showType",void 0),Mt(Lt(o),"range",void 0),Mt(Lt(o),"rangeOptions",void 0),Mt(Lt(o),"multiple",void 0),Mt(Lt(o),"defaultValueType",void 0),Mt(Lt(o),"defaultValue",void 0),Mt(Lt(o),"multistageFilling",void 0),Mt(Lt(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var c;o.rangeOptions=(c=n==null?void 0:n.rangeOptions)!==null&&c!==void 0?c:[];var l;o.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1;var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:Yp.controlName;var p;o.placeholder=(p=n==null?void 0:n.placeholder)!==null&&p!==void 0?p:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var g;return o.openMultistageFilling=(g=n==null?void 0:n.openMultistageFilling)!==null&&g!==void 0?g:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var b;(b=o.multistageFilling)===null||b===void 0||b.push(new Te(O))})),o}return r}(D);Mt(Qp,"RuntimeRules",A4);function m$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function O$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function k4(e,t,r){return t&&O$(e.prototype,t),r&&O$(e,r),e}function Jp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ec(e){return Ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ec(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&&Zp(e,t)}function N4(e,t){return t&&(F4(t)==="object"||typeof t=="function")?t:m$(e)}function Zp(e,t){return Zp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zp(e,t)}function F4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function j4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function L4(e){var t=j4();return function(){var n=Ec(e),o;if(t){var i=Ec(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return N4(this,o)}}var Yp=function(e){D4(r,e);var t=L4(r);function r(n){x4(this,r);var o;return o=t.call(this,n),Jp(m$(o),"props",void 0),o.props=new Qp(n==null?void 0:n.props),o}return k4(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),r}(N);Jp(Yp,"controlFieldType",m.EMPLOYEES),Jp(Yp,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}]);function w$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function C4(e,t,r){return t&&$$(e.prototype,t),r&&$$(e,r),e}function P$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tc(e){return Tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tc(e)}function V4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ed(e,t)}function z4(e,t){return t&&(H4(t)==="object"||typeof t=="function")?t:w$(e)}function ed(e,t){return ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ed(e,t)}function H4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function q4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function U4(e){var t=q4();return function(){var n=Tc(e),o;if(t){var i=Tc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return z4(this,o)}}var W4=function(e){V4(r,e);var t=U4(r);function r(n){M4(this,r);var o;return o=t.call(this,n),P$(w$(o),"props",void 0),o.props=new Qp(n==null?void 0:n.props),o}return C4(r,null,[{key:"controlType",get:function(){return"employee"}}]),r}(F);P$(W4,"controlFieldType",m.EMPLOYEES);function ot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function td(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ic(e){return Ic=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ic(e)}function nd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rd(e,t)}function K4(e,t){return t&&(G4(t)==="object"||typeof t=="function")?t:ot(e)}function rd(e,t){return rd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rd(e,t)}function G4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function X4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function od(e){var t=X4();return function(){var n=Ic(e),o;if(t){var i=Ic(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return K4(this,o)}}var Q4=10485760,J4=104857600,Z4=1048576e3,Y4=function(e){nd(r,e);var t=od(r);function r(n){td(this,r);var o;return o=t.call(this,n),Xe(ot(o),"maxSize",{type:"number",min:0,max:Z4,message:h.getMessage("attachmentMaxSize")}),o}return r}(ue),e7=function(e){nd(r,e);var t=od(r);function r(n){td(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o.push({type:"array",max:n.maxLimit,min:n.minLimit,message:h.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),o}return r}(V),Bc=function(e){nd(r,e);var t=od(r);function r(n){td(this,r);var o;o=t.call(this,n),Xe(ot(o),"defaultValue",void 0),Xe(ot(o),"showType",void 0),Xe(ot(o),"resultShowType",void 0),Xe(ot(o),"attachmentAccept",void 0),Xe(ot(o),"maxLimit",void 0),Xe(ot(o),"minLimit",void 0),Xe(ot(o),"isShowWatermark",void 0),Xe(ot(o),"watermarkFx",void 0),Xe(ot(o),"maxSize",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:[];var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"default";var c;o.resultShowType=(c=n==null?void 0:n.resultShowType)!==null&&c!==void 0?c:"simple";var l;o.attachmentAccept=(l=n==null?void 0:n.attachmentAccept)!==null&&l!==void 0?l:[];var a;o.maxLimit=(a=n==null?void 0:n.maxLimit)!==null&&a!==void 0?a:10;var f;o.minLimit=(f=n==null?void 0:n.minLimit)!==null&&f!==void 0?f:0;var _;o.maxSize=(_=n==null?void 0:n.maxSize)!==null&&_!==void 0?_:J4;var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:Oo.controlName;var g;o.placeholder=(g=n==null?void 0:n.placeholder)!==null&&g!==void 0?g:"\u4E0A\u4F20\u9644\u4EF6";var O;o.isShowWatermark=(O=n==null?void 0:n.isShowWatermark)!==null&&O!==void 0?O:!1;var b;return o.watermarkFx=(b=n==null?void 0:n.watermarkFx)!==null&&b!==void 0?b:{},o}return r}(D);Xe(Bc,"Rules",Y4),Xe(Bc,"RuntimeRules",e7);function R$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function t7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function S$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function n7(e,t,r){return t&&S$(e.prototype,t),r&&S$(e,r),e}function Ac(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xc(e){return xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xc(e)}function r7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&id(e,t)}function o7(e,t){return t&&(i7(t)==="object"||typeof t=="function")?t:R$(e)}function id(e,t){return id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},id(e,t)}function i7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function u7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function c7(e){var t=u7();return function(){var n=xc(e),o;if(t){var i=xc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return o7(this,o)}}var Oo=function(e){r7(r,e);var t=c7(r);function r(n){t7(this,r);var o;return o=t.call(this,n),Ac(R$(o),"props",void 0),o.props=new Bc(n==null?void 0:n.props),o}return n7(r,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(N);Ac(Oo,"controlEventKeys",["on_change"]),Ac(Oo,"controlFieldType",m.FILE),Ac(Oo,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function E$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a7(e,t,r){return t&&T$(e.prototype,t),r&&T$(e,r),e}function I$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kc(e){return kc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kc(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&&ud(e,t)}function s7(e,t){return t&&(_7(t)==="object"||typeof t=="function")?t:E$(e)}function ud(e,t){return ud=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ud(e,t)}function _7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function y7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function p7(e){var t=y7();return function(){var n=kc(e),o;if(t){var i=kc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return s7(this,o)}}var d7=function(e){f7(r,e);var t=p7(r);function r(n){l7(this,r);var o;return o=t.call(this,n),I$(E$(o),"props",void 0),o.props=new Bc(n==null?void 0:n.props),o}return a7(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(F);I$(d7,"controlFieldType",m.FILE);function v7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function B$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function b7(e,t,r){return t&&B$(e.prototype,t),r&&B$(e,r),e}function A$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dc(e){return Dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dc(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&&cd(e,t)}function m7(e,t){return t&&(O7(t)==="object"||typeof t=="function")?t:v7(e)}function cd(e,t){return cd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cd(e,t)}function O7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function w7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $7(e){var t=w7();return function(){var n=Dc(e),o;if(t){var i=Dc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return m7(this,o)}}var x$=function(e){g7(r,e);var t=$7(r);function r(n){h7(this,r);var o,i,u;o=t.call(this,n),o.props.showType="image";var c;o.props.caption=(c=n==null||(i=n.props)===null||i===void 0?void 0:i.caption)!==null&&c!==void 0?c:r.controlName;var l;return o.props.placeholder=(l=n==null||(u=n.props)===null||u===void 0?void 0:u.placeholder)!==null&&l!==void 0?l:"\u4E0A\u4F20\u56FE\u7247",o}return b7(r,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),r}(Oo);A$(x$,"controlFieldType",m.IMAGE),A$(x$,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP,s.IS_SHOW_WATERMARK]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function Re(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ld(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ye(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nc(e){return Nc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nc(e)}function ad(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fd(e,t)}function P7(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){ye(e,o,r[o])})}return e}function R7(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function S7(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):R7(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function E7(e,t){return t&&(T7(t)==="object"||typeof t=="function")?t:Re(e)}function fd(e,t){return fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fd(e,t)}function T7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function I7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sd(e){var t=I7();return function(){var n=Nc(e),o;if(t){var i=Nc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return E7(this,o)}}var B7=function(e){ad(r,e);var t=sd(r);function r(n){ld(this,r);var o;o=t.call(this,n),ye(Re(o),"defaultValue",{type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:h.getMessage("pleaseEnterNumberRange")}]}}),ye(Re(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue.fields.amount[0].max=i,o.defaultValue.fields.amount[0].min=u,o.defaultValue.fields.amount[0].message=h.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:h.getMessage("numberRangeSetError")}),o}return r}(Nn),A7=function(e){ad(r,e);var t=sd(r);function r(n){ld(this,r);var o;o=t.call(this,n),o[0]!==void 0&&(o[0].type="object");var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.push({type:"object",fields:{amount:[S7(P7({},o[0]),{type:"number"}),{type:"number",min:u,max:i,message:h.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}],currency:{type:"string"}}}),o}return r}(V),Fc=function(e){ad(r,e);var t=sd(r);function r(n){ld(this,r);var o;o=t.call(this,n),ye(Re(o),"rangeMin",void 0),ye(Re(o),"rangeMax",void 0),ye(Re(o),"showUpperCase",void 0),ye(Re(o),"submitSelectCurrency",void 0),ye(Re(o),"micrometer",void 0),ye(Re(o),"precision",void 0),ye(Re(o),"unitPosition",void 0),ye(Re(o),"optionConfig",void 0),ye(Re(o),"dataBind",void 0),ye(Re(o),"datasourceBind",void 0),ye(Re(o),"defaultValue",void 0),ye(Re(o),"options",void 0);var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var u;o.rangeMax=(u=n==null?void 0:n.rangeMax)!==null&&u!==void 0?u:"";var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"datasource";var l;o.micrometer=(l=n==null?void 0:n.micrometer)!==null&&l!==void 0?l:!1;var a;o.precision=(a=n==null?void 0:n.precision)!==null&&a!==void 0?a:2,o.dataBind=new cx(n==null?void 0:n.dataBind);var f;o.datasourceBind=new ne((f=n==null?void 0:n.datasourceBind)!==null&&f!==void 0?f:{displayBoList:[new js({value:"name"})]});var _;o.defaultValue=new lx((_=n==null?void 0:n.defaultValue)!==null&&_!==void 0?_:{amount:"",currency:zs.CNY});var p;o.unitPosition=(p=n==null?void 0:n.unitPosition)!==null&&p!==void 0?p:"right",o.options=Tt(n==null?void 0:n.options);var g;o.caption=(g=n==null?void 0:n.caption)!==null&&g!==void 0?g:Mc.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u8F93\u5165";var b;o.submitSelectCurrency=(b=n==null?void 0:n.submitSelectCurrency)!==null&&b!==void 0?b:!1;var w;return o.showUpperCase=(w=n==null?void 0:n.showUpperCase)!==null&&w!==void 0?w:!1,o}return r}(D);ye(Fc,"Rules",B7),ye(Fc,"RuntimeRules",A7);function k$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function D$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function k7(e,t,r){return t&&D$(e.prototype,t),r&&D$(e,r),e}function jc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Lc=Reflect.get:Lc=function(o,i,u){var c=F7(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Lc(e,t,r||e)}function Wn(e){return Wn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wn(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&&_d(e,t)}function N7(e,t){return t&&(j7(t)==="object"||typeof t=="function")?t:k$(e)}function _d(e,t){return _d=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_d(e,t)}function F7(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Wn(e),e!==null););return e}function j7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function L7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function M7(e){var t=L7();return function(){var n=Wn(e),o;if(t){var i=Wn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return N7(this,o)}}var Mc=function(e){D7(r,e);var t=M7(r);function r(n){x7(this,r);var o;return o=t.call(this,n),jc(k$(o),"props",void 0),o.props=new Fc(n==null?void 0:n.props),o}return k7(r,[{key:"toDataBindModel",value:function(o){var i=Lc(Wn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,l=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=l}return i}}],[{key:"controlName",get:function(){return"\u91D1\u989D"}},{key:"controlType",get:function(){return"amount"}},{key:"controlIcon",get:function(){return"iconjine"}}]),r}(N);jc(Mc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),jc(Mc,"controlFieldType",m.MONEY),jc(Mc,"setting",[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.SUBMIT_SELECT_CURRENCY,s.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"unit-position",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function N$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function F$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function V7(e,t,r){return t&&F$(e.prototype,t),r&&F$(e,r),e}function j$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cc(e){return Cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cc(e)}function z7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yd(e,t)}function H7(e,t){return t&&(q7(t)==="object"||typeof t=="function")?t:N$(e)}function yd(e,t){return yd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yd(e,t)}function q7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function U7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function W7(e){var t=U7();return function(){var n=Cc(e),o;if(t){var i=Cc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return H7(this,o)}}var K7=function(e){z7(r,e);var t=W7(r);function r(n){C7(this,r);var o;return o=t.call(this,n),j$(N$(o),"props",void 0),o.props=new Fc(n==null?void 0:n.props),o}return V7(r,null,[{key:"controlType",get:function(){return"amount"}}]),r}(F);j$(K7,"controlFieldType",m.MONEY);function cn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ct(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vc(e){return Vc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vc(e)}function dd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vd(e,t)}function G7(e,t){return t&&(X7(t)==="object"||typeof t=="function")?t:cn(e)}function vd(e,t){return vd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vd(e,t)}function X7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Q7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hd(e){var t=Q7();return function(){var n=Vc(e),o;if(t){var i=Vc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return G7(this,o)}}var J7=function(e){dd(r,e);var t=hd(r);function r(n){pd(this,r);var o;return o=t.call(this,n),Ct(cn(o),"totalScore",[{type:"number",required:!0,message:h.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:h.getMessage("theTotalScoreMustNotBeLessThan1")}]),Ct(cn(o),"defaultValue",{type:"number",min:0,max:5,message:h.getMessage("scoreDefaultValueRange")}),o.defaultValue.max=n.totalScore,o.defaultValue.message=h.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:0}),o}return r}(ue),Z7=function(e){dd(r,e);var t=hd(r);function r(n){pd(this,r);var o;o=t.call(this,n),o[0]!==void 0&&(o[0].type="number");var i=n.required?1:0;return o.push({type:"number",min:i,max:n.totalScore,message:h.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:i})}),o}return r}(V),zc=function(e){dd(r,e);var t=hd(r);function r(n){pd(this,r);var o,i;o=t.call(this,n),Ct(cn(o),"totalScore",void 0),Ct(cn(o),"scoreType",void 0),Ct(cn(o),"isShowExplain",void 0),Ct(cn(o),"explain",void 0),Ct(cn(o),"defaultValue",void 0);var u;o.totalScore=(u=n==null?void 0:n.totalScore)!==null&&u!==void 0?u:5;var c;o.scoreType=(c=n==null?void 0:n.scoreType)!==null&&c!==void 0?c:M_.STAR;var l;o.isShowExplain=(l=n==null?void 0:n.isShowExplain)!==null&&l!==void 0?l:!0;var a;o.explain=(a=n==null||(i=n.explain)===null||i===void 0?void 0:i.map(function(p){return new C_(p)}))!==null&&a!==void 0?a:Array(o.totalScore).fill(void 0).map(function(){return new C_});var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:0;var _;return o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:Uc.controlName,o}return r}(D);Ct(zc,"Rules",J7),Ct(zc,"RuntimeRules",Z7);function bd(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Y7(e){if(Array.isArray(e))return bd(e)}function L$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function M$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function tV(e,t,r){return t&&M$(e.prototype,t),r&&M$(e,r),e}function Hc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?qc=Reflect.get:qc=function(o,i,u){var c=uV(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},qc(e,t,r||e)}function Kn(e){return Kn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kn(e)}function nV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gd(e,t)}function rV(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function oV(){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 iV(e,t){return t&&(lV(t)==="object"||typeof t=="function")?t:L$(e)}function gd(e,t){return gd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gd(e,t)}function uV(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Kn(e),e!==null););return e}function cV(e){return Y7(e)||rV(e)||aV(e)||oV()}function lV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aV(e,t){if(!!e){if(typeof e=="string")return bd(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return bd(e,t)}}function fV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sV(e){var t=fV();return function(){var n=Kn(e),o;if(t){var i=Kn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iV(this,o)}}var Uc=function(e){nV(r,e);var t=sV(r);function r(n){eV(this,r);var o;return o=t.call(this,n),Hc(L$(o),"props",void 0),o.props=new zc(n==null?void 0:n.props),o}return tV(r,[{key:"postUpdate",value:function(o,i){if(o==="totalScore"){if(i===this.props.explain.length)return;if(this.props.explain.length>i)this.props.explain=this.props.explain.slice(0,i);else{var u,c=i-this.props.explain.length,l=Array(c).fill(void 0).map(function(){return new C_});(u=this.props.explain).push.apply(u,cV(l))}}qc(Kn(r.prototype),"postUpdate",this).call(this,o,i)}}],[{key:"controlName",get:function(){return"\u8BC4\u5206"}},{key:"controlIcon",get:function(){return"iconpingfen"}},{key:"controlType",get:function(){return"score"}}]),r}(N);Hc(Uc,"controlEventKeys",["on_change","on_click"]),Hc(Uc,"controlFieldType",m.DECIMAL),Hc(Uc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function C$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _V(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function V$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yV(e,t,r){return t&&V$(e.prototype,t),r&&V$(e,r),e}function z$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wc(e){return Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wc(e)}function pV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&md(e,t)}function dV(e,t){return t&&(vV(t)==="object"||typeof t=="function")?t:C$(e)}function md(e,t){return md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},md(e,t)}function vV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bV(e){var t=hV();return function(){var n=Wc(e),o;if(t){var i=Wc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dV(this,o)}}var gV=function(e){pV(r,e);var t=bV(r);function r(n){_V(this,r);var o;return o=t.call(this,n),z$(C$(o),"props",void 0),o.props=new zc(n==null?void 0:n.props),o}return yV(r,null,[{key:"controlType",get:function(){return"score"}}]),r}(F);z$(gV,"controlFieldType",m.DECIMAL);function Kc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function H$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xc(e){return Xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xc(e)}function 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&&Od(e,t)}function mV(e,t){return t&&(OV(t)==="object"||typeof t=="function")?t:Kc(e)}function Od(e,t){return Od=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Od(e,t)}function OV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function U$(e){var t=wV();return function(){var n=Xc(e),o;if(t){var i=Xc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mV(this,o)}}var $V=function(e){q$(r,e);var t=U$(r);function r(n){H$(this,r);var o;if(o=t.call(this,n),o[0]!==void 0&&(o[0].type="object"),n.required&&!n.isHide){var i={type:"object",fields:{province:{type:"string",required:n.required,message:h.getMessage("pleaseSelectProvince")}}};n.addressType.includes("city")&&(i.fields.city={type:"string",required:n.required,message:h.getMessage("pleaseSelectCity")}),n.addressType.includes("district")&&(i.fields.district={type:"string",required:n.required,message:h.getMessage("pleaseSelectDistrict")}),o.push(i)}return o}return r}(V),wd=function(e){q$(r,e);var t=U$(r);function r(n){H$(this,r);var o;o=t.call(this,n),Gc(Kc(o),"defaultValueType",void 0),Gc(Kc(o),"defaultValue",void 0),Gc(Kc(o),"addressType",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Rd.controlName;var u;o.defaultValueType=(u=n==null?void 0:n.defaultValueType)!==null&&u!==void 0?u:"default";var c;o.addressType=(c=n==null?void 0:n.addressType)!==null&&c!==void 0?c:["province","city","district"];var l;o.defaultValue=new sx((l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:{});var a;return o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9\u5730\u5740",o}return r}(D);Gc(wd,"RuntimeRules",$V);function W$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function K$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function RV(e,t,r){return t&&K$(e.prototype,t),r&&K$(e,r),e}function $d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qc(e){return Qc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qc(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&&Pd(e,t)}function EV(e,t){return t&&(TV(t)==="object"||typeof t=="function")?t:W$(e)}function Pd(e,t){return Pd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pd(e,t)}function TV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BV(e){var t=IV();return function(){var n=Qc(e),o;if(t){var i=Qc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return EV(this,o)}}var Rd=function(e){SV(r,e);var t=BV(r);function r(n){PV(this,r);var o;return o=t.call(this,n),$d(W$(o),"props",void 0),o.props=new wd(n==null?void 0:n.props),o}return RV(r,null,[{key:"controlName",get:function(){return"\u5730\u5740"}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),r}(N);$d(Rd,"controlFieldType",m.ADDRESS),$d(Rd,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function G$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function X$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xV(e,t,r){return t&&X$(e.prototype,t),r&&X$(e,r),e}function Q$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jc(e){return Jc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jc(e)}function kV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sd(e,t)}function DV(e,t){return t&&(NV(t)==="object"||typeof t=="function")?t:G$(e)}function Sd(e,t){return Sd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sd(e,t)}function NV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jV(e){var t=FV();return function(){var n=Jc(e),o;if(t){var i=Jc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DV(this,o)}}var LV=function(e){kV(r,e);var t=jV(r);function r(n){AV(this,r);var o;return o=t.call(this,n),Q$(G$(o),"props",void 0),o.props=new wd(n==null?void 0:n.props),o}return xV(r,null,[{key:"controlName",get:function(){return"\u7701\u5E02\u533A"}},{key:"controlIcon",get:function(){return"iconicon_site_management11"}},{key:"controlType",get:function(){return"address"}}]),r}(F);Q$(LV,"controlFieldType",m.ADDRESS);function it(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function J$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ut(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zc(e){return Zc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zc(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&&Ed(e,t)}function MV(e,t){return t&&(CV(t)==="object"||typeof t=="function")?t:it(e)}function Ed(e,t){return Ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ed(e,t)}function CV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Y$(e){var t=VV();return function(){var n=Zc(e),o;if(t){var i=Zc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return MV(this,o)}}var zV=function(e){Z$(r,e);var t=Y$(r);function r(n){J$(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(V),Td=function(e){Z$(r,e);var t=Y$(r);function r(n){J$(this,r);var o;o=t.call(this,n),ut(it(o),"showType",void 0),ut(it(o),"range",void 0),ut(it(o),"defaultValueType",void 0),ut(it(o),"multiple",void 0),ut(it(o),"rangeOptions",void 0),ut(it(o),"defaultValue",void 0),ut(it(o),"displayLevel",void 0),ut(it(o),"showSubDept",void 0),ut(it(o),"multistageFilling",void 0),ut(it(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1;var c;o.range=(c=n==null?void 0:n.range)!==null&&c!==void 0?c:"all";var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var p;o.showSubDept=(p=n==null?void 0:n.showSubDept)!==null&&p!==void 0?p:!0;var g;o.caption=(g=n==null?void 0:n.caption)!==null&&g!==void 0?g:tl.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u90E8\u95E8";var b;return o.openMultistageFilling=(b=n==null?void 0:n.openMultistageFilling)!==null&&b!==void 0?b:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(w){var d;(d=o.multistageFilling)===null||d===void 0||d.push(new Te(w))})),o}return r}(D);ut(Td,"RuntimeRules",zV);function eP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qV(e,t,r){return t&&tP(e.prototype,t),r&&tP(e,r),e}function Yc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function el(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?el=Reflect.get:el=function(o,i,u){var c=KV(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},el(e,t,r||e)}function Gn(e){return Gn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gn(e)}function UV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Id(e,t)}function WV(e,t){return t&&(GV(t)==="object"||typeof t=="function")?t:eP(e)}function Id(e,t){return Id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Id(e,t)}function KV(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Gn(e),e!==null););return e}function GV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QV(e){var t=XV();return function(){var n=Gn(e),o;if(t){var i=Gn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WV(this,o)}}var tl=function(e){UV(r,e);var t=QV(r);function r(n){HV(this,r);var o;return o=t.call(this,n),Yc(eP(o),"props",void 0),o.props=new Td(n==null?void 0:n.props),o}return qV(r,[{key:"toDataBindModel",value:function(o){var i=el(Gn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,l=u.showSubDept;i.props.displayLevel=c,i.props.showSubDept=l}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),r}(N);Yc(tl,"controlName","\u90E8\u95E8"),Yc(tl,"controlFieldType",m.DEPARTMENTS),Yc(tl,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function nP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ZV(e,t,r){return t&&rP(e.prototype,t),r&&rP(e,r),e}function oP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nl(e){return nl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nl(e)}function YV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bd(e,t)}function e8(e,t){return t&&(t8(t)==="object"||typeof t=="function")?t:nP(e)}function Bd(e,t){return Bd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bd(e,t)}function t8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function n8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function r8(e){var t=n8();return function(){var n=nl(e),o;if(t){var i=nl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return e8(this,o)}}var o8=function(e){YV(r,e);var t=r8(r);function r(n){JV(this,r);var o;return o=t.call(this,n),oP(nP(o),"props",void 0),o.props=new Td(n==null?void 0:n.props),o}return ZV(r,null,[{key:"controlType",get:function(){return"department"}}]),r}(F);oP(o8,"controlFieldType",m.DEPARTMENTS);function iP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u8(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rl(e){return rl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rl(e)}function c8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ad(e,t)}function l8(e,t){return t&&(a8(t)==="object"||typeof t=="function")?t:iP(e)}function Ad(e,t){return Ad=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ad(e,t)}function a8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function f8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function s8(e){var t=f8();return function(){var n=rl(e),o;if(t){var i=rl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return l8(this,o)}}var uP=function(e){c8(r,e);var t=s8(r);function r(n){i8(this,r);var o;o=t.call(this,n),u8(iP(o),"defaultValue",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:"";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:ul.controlName;var c;return o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",o}return r}(D);function cP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function y8(e,t,r){return t&&lP(e.prototype,t),r&&lP(e,r),e}function ol(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function il(e){return il=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},il(e)}function p8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 d8(e,t){return t&&(v8(t)==="object"||typeof t=="function")?t:cP(e)}function xd(e,t){return xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xd(e,t)}function v8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function h8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function b8(e){var t=h8();return function(){var n=il(e),o;if(t){var i=il(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return d8(this,o)}}var ul=function(e){p8(r,e);var t=b8(r);function r(n){_8(this,r);var o;return o=t.call(this,n),ol(cP(o),"props",void 0),o.props=new uP(n==null?void 0:n.props),o}return y8(r,null,[{key:"controlName",get:function(){return"\u81EA\u52A8\u7F16\u53F7"}},{key:"controlIcon",get:function(){return"iconnumber_new"}},{key:"controlType",get:function(){return"auto-number"}}]),r}(N);ol(ul,"controlEventKeys",["on_change"]),ol(ul,"controlFieldType",m.AUTO_NUMBER),ol(ul,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function aP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function m8(e,t,r){return t&&fP(e.prototype,t),r&&fP(e,r),e}function sP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cl(e){return cl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cl(e)}function O8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kd(e,t)}function w8(e,t){return t&&($8(t)==="object"||typeof t=="function")?t:aP(e)}function kd(e,t){return kd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kd(e,t)}function $8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function P8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function R8(e){var t=P8();return function(){var n=cl(e),o;if(t){var i=cl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return w8(this,o)}}var S8=function(e){O8(r,e);var t=R8(r);function r(n){g8(this,r);var o;return o=t.call(this,n),sP(aP(o),"props",void 0),o.props=new uP(n==null?void 0:n.props),o}return m8(r,null,[{key:"controlType",get:function(){return"auto-number"}}]),r}(F);sP(S8,"controlFieldType",m.AUTO_NUMBER);function bt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ct(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ll(e){return ll=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ll(e)}function Nd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fd(e,t)}function E8(e,t){return t&&(T8(t)==="object"||typeof t=="function")?t:bt(e)}function Fd(e,t){return Fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fd(e,t)}function T8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function I8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jd(e){var t=I8();return function(){var n=ll(e),o;if(t){var i=ll(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return E8(this,o)}}var B8=function(e){Nd(r,e);var t=jd(r);function r(n){Dd(this,r);var o;return o=t.call(this,n),o.dataBind.fields.result.required=!1,o.dataBind.fields.result.fields.fieldCode.required=!1,o.dataBind.fields.result.fields.dataCode.required=!1,o.dataBind.fields.unit.required=!1,o.dataBind.fields.unit.fields.fieldCode.required=!1,o.dataBind.fields.unit.fields.dataCode.required=!1,o}return r}(ue),A8=function(e){Nd(r,e);var t=jd(r);function r(n){Dd(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="object"),o.push({type:"object",message:h.getMessage("isNotObject"),fields:{result:[{type:"number",message:h.getMessage("isNotNumber")}],unit:{type:"string",message:h.getMessage("isNotString")}}}),o}return r}(V),al=function(e){Nd(r,e);var t=jd(r);function r(n){Dd(this,r);var o;o=t.call(this,n),ct(bt(o),"precision",void 0),ct(bt(o),"micrometer",void 0),ct(bt(o),"showUpperCase",void 0),ct(bt(o),"scriptSrc",void 0),ct(bt(o),"scriptEcho",void 0),ct(bt(o),"dataBind",void 0),ct(bt(o),"defaultValue",void 0),ct(bt(o),"unitPosition",void 0),ct(bt(o),"calcOnMounted",void 0);var i;o.precision=(i=n==null?void 0:n.precision)!==null&&i!==void 0?i:0;var u;o.micrometer=(u=n==null?void 0:n.micrometer)!==null&&u!==void 0?u:!1;var c;o.showUpperCase=(c=n==null?void 0:n.showUpperCase)!==null&&c!==void 0?c:!1,o.dataBind=new _x(n==null?void 0:n.dataBind),o.defaultValue=new yx(n==null?void 0:n.defaultValue);var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:_l.controlName;var a;o.unitPosition=(a=n==null?void 0:n.unitPosition)!==null&&a!==void 0?a:"right";var f;o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"\u8BF7\u8F93\u5165";var _;o.scriptEcho=(_=n==null?void 0:n.scriptEcho)!==null&&_!==void 0?_:[];var p;o.scriptSrc=(p=n==null?void 0:n.scriptSrc)!==null&&p!==void 0?p:"";var g;return o.calcOnMounted=(g=n==null?void 0:n.calcOnMounted)!==null&&g!==void 0?g:!1,o}return r}(D);ct(al,"Rules",B8),ct(al,"RuntimeRules",A8);function _P(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function k8(e,t,r){return t&&yP(e.prototype,t),r&&yP(e,r),e}function fl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sl(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?sl=Reflect.get:sl=function(o,i,u){var c=F8(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},sl(e,t,r||e)}function Xn(e){return Xn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xn(e)}function D8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ld(e,t)}function N8(e,t){return t&&(j8(t)==="object"||typeof t=="function")?t:_P(e)}function Ld(e,t){return Ld=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ld(e,t)}function F8(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Xn(e),e!==null););return e}function j8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function L8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function M8(e){var t=L8();return function(){var n=Xn(e),o;if(t){var i=Xn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return N8(this,o)}}var _l=function(e){D8(r,e);var t=M8(r);function r(n){x8(this,r);var o;return o=t.call(this,n),fl(_P(o),"props",void 0),o.props=new al(n==null?void 0:n.props),o}return k8(r,[{key:"toDataBindModel",value:function(o){var i=sl(Xn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,l=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=l}return i}}],[{key:"controlName",get:function(){return"\u8BA1\u7B97\u516C\u5F0F"}},{key:"controlType",get:function(){return"calc"}},{key:"controlIcon",get:function(){return"iconcalculation_new"}}]),r}(N);fl(_l,"controlEventKeys",["on_change"]),fl(_l,"controlFieldType",m.CALC),fl(_l,"setting",[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"calc-on-mounted",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"unit-position",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function pP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function V8(e,t,r){return t&&dP(e.prototype,t),r&&dP(e,r),e}function vP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yl(e){return yl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yl(e)}function 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&&Md(e,t)}function H8(e,t){return t&&(q8(t)==="object"||typeof t=="function")?t:pP(e)}function Md(e,t){return Md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Md(e,t)}function q8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function U8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function W8(e){var t=U8();return function(){var n=yl(e),o;if(t){var i=yl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return H8(this,o)}}var K8=function(e){z8(r,e);var t=W8(r);function r(n){C8(this,r);var o;return o=t.call(this,n),vP(pP(o),"props",void 0),o.props=new al(n==null?void 0:n.props),o}return V8(r,null,[{key:"controlType",get:function(){return"calc"}}]),r}(F);vP(K8,"controlFieldType",m.CALC);function Qn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pl(e){return pl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pl(e)}function 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&&Cd(e,t)}function G8(e,t){return t&&(X8(t)==="object"||typeof t=="function")?t:Qn(e)}function Cd(e,t){return Cd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cd(e,t)}function X8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Q8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gP(e){var t=Q8();return function(){var n=pl(e),o;if(t){var i=pl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return G8(this,o)}}var J8=function(e){bP(r,e);var t=gP(r);function r(n){hP(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o.push({validator:function(u,c){if(n.required){var l=c.every(function(a){return!a});return l?Promise.reject(h.getMessage("runtimeRequired",{caption:n.caption})):Promise.resolve()}else return Promise.resolve()}}),o}return r}(V),Vd=function(e){bP(r,e);var t=gP(r);function r(n){hP(this,r);var o;o=t.call(this,n),Jn(Qn(o),"rangeMin",void 0),Jn(Qn(o),"rangeMax",void 0),Jn(Qn(o),"placeholderStart",void 0),Jn(Qn(o),"placeholderEnd",void 0),Jn(Qn(o),"defaultValue",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:["",""];var u;o.rangeMin=(u=n==null?void 0:n.rangeMin)!==null&&u!==void 0?u:"";var c;o.rangeMax=(c=n==null?void 0:n.rangeMax)!==null&&c!==void 0?c:"";var l;o.placeholderStart=(l=n==null?void 0:n.placeholderStart)!==null&&l!==void 0?l:"\u6700\u5C0F\u503C";var a;o.placeholderEnd=(a=n==null?void 0:n.placeholderEnd)!==null&&a!==void 0?a:"\u6700\u5927\u503C";var f;return o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:qd.controlName,o}return r}(D);Jn(Vd,"RuntimeRules",J8);function mP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Z8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Y8(e,t,r){return t&&OP(e.prototype,t),r&&OP(e,r),e}function zd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dl(e){return dl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dl(e)}function e9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hd(e,t)}function t9(e,t){return t&&(n9(t)==="object"||typeof t=="function")?t:mP(e)}function Hd(e,t){return Hd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hd(e,t)}function n9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function r9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function o9(e){var t=r9();return function(){var n=dl(e),o;if(t){var i=dl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return t9(this,o)}}var qd=function(e){e9(r,e);var t=o9(r);function r(n){Z8(this,r);var o;return o=t.call(this,n),zd(mP(o),"props",void 0),o.props=new Vd(n==null?void 0:n.props),o}return Y8(r,null,[{key:"controlName",get:function(){return"\u6570\u5B57\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconshuziqujian"}},{key:"controlType",get:function(){return"search-number-range"}}]),r}(N);zd(qd,"controlFieldType",m.DECIMAL_RANGE),zd(qd,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function wP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $P(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function u9(e,t,r){return t&&$P(e.prototype,t),r&&$P(e,r),e}function PP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vl(e){return vl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vl(e)}function c9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 l9(e,t){return t&&(a9(t)==="object"||typeof t=="function")?t:wP(e)}function Ud(e,t){return Ud=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ud(e,t)}function a9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function f9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function s9(e){var t=f9();return function(){var n=vl(e),o;if(t){var i=vl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return l9(this,o)}}var _9=function(e){c9(r,e);var t=s9(r);function r(n){i9(this,r);var o;return o=t.call(this,n),PP(wP(o),"props",void 0),o.props=new Vd(n==null?void 0:n.props),o}return u9(r,null,[{key:"controlType",get:function(){return"search-number-range"}}]),r}(F);PP(_9,"controlFieldType",m.DECIMAL_RANGE);function lt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function at(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hl(e){return hl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hl(e)}function SP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 y9(e,t){return t&&(p9(t)==="object"||typeof t=="function")?t:lt(e)}function Wd(e,t){return Wd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wd(e,t)}function p9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function d9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EP(e){var t=d9();return function(){var n=hl(e),o;if(t){var i=hl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return y9(this,o)}}var v9=function(e){SP(r,e);var t=EP(r);function r(n){RP(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),n.required&&!n.isHide&&o.push({type:"array",fields:{0:{type:"string",required:n.required,message:o[0].message},1:{type:"string",required:n.required,message:o[0].message}}}),o}return r}(V),Kd=function(e){SP(r,e);var t=EP(r);function r(n){RP(this,r);var o,i;o=t.call(this,n),at(lt(o),"rangeMin",void 0),at(lt(o),"rangeMax",void 0),at(lt(o),"placeholderStart",void 0),at(lt(o),"placeholderEnd",void 0),at(lt(o),"dateType",void 0),at(lt(o),"dateFormat",void 0),at(lt(o),"commonTimeSetting",void 0),at(lt(o),"setValueType",void 0),at(lt(o),"defaultValue",void 0),at(lt(o),"limitDateList",void 0);var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:["",""];var c;o.dateType=(c=n==null?void 0:n.dateType)!==null&&c!==void 0?c:qt.DATE;var l;o.dateFormat=(l=n==null?void 0:n.dateFormat)!==null&&l!==void 0?l:"";var a;o.commonTimeSetting=(a=n==null?void 0:n.commonTimeSetting)!==null&&a!==void 0?a:[];var f;o.setValueType=(f=n==null?void 0:n.setValueType)!==null&&f!==void 0?f:"custom";var _;o.rangeMin=(_=n==null?void 0:n.rangeMin)!==null&&_!==void 0?_:"";var p;o.rangeMax=(p=n==null?void 0:n.rangeMax)!==null&&p!==void 0?p:"";var g;o.placeholderStart=(g=n==null?void 0:n.placeholderStart)!==null&&g!==void 0?g:"\u5F00\u59CB\u65E5\u671F";var O;o.placeholderEnd=(O=n==null?void 0:n.placeholderEnd)!==null&&O!==void 0?O:"\u7ED3\u675F\u65E5\u671F";var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:Qd.controlName;var w;return o.limitDateList=(w=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(d){return new L_(d)}))!==null&&w!==void 0?w:[],o}return r}(D);at(Kd,"RuntimeRules",v9);function TP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function b9(e,t,r){return t&&IP(e.prototype,t),r&&IP(e,r),e}function Gd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bl(e){return bl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bl(e)}function g9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 m9(e,t){return t&&(O9(t)==="object"||typeof t=="function")?t:TP(e)}function Xd(e,t){return Xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xd(e,t)}function O9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function w9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $9(e){var t=w9();return function(){var n=bl(e),o;if(t){var i=bl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return m9(this,o)}}var Qd=function(e){g9(r,e);var t=$9(r);function r(n){h9(this,r);var o;return o=t.call(this,n),Gd(TP(o),"props",void 0),o.props=new Kd(n==null?void 0:n.props),o}return b9(r,null,[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"search-date-range"}}]),r}(N);Gd(Qd,"controlFieldType",m.ARRAY),Gd(Qd,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function BP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function R9(e,t,r){return t&&AP(e.prototype,t),r&&AP(e,r),e}function xP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gl(e){return gl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gl(e)}function S9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jd(e,t)}function E9(e,t){return t&&(T9(t)==="object"||typeof t=="function")?t:BP(e)}function Jd(e,t){return Jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jd(e,t)}function T9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function I9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function B9(e){var t=I9();return function(){var n=gl(e),o;if(t){var i=gl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return E9(this,o)}}var A9=function(e){S9(r,e);var t=B9(r);function r(n){P9(this,r);var o;return o=t.call(this,n),xP(BP(o),"props",void 0),o.props=new Kd(n==null?void 0:n.props),o}return R9(r,null,[{key:"controlType",get:function(){return"search-date-range"}}]),r}(F);xP(A9,"controlFieldType",m.ARRAY);function wo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ml(e){return ml=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ml(e)}function Yd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ev(e,t)}function x9(e,t){return t&&(k9(t)==="object"||typeof t=="function")?t:wo(e)}function ev(e,t){return ev=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ev(e,t)}function k9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function D9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tv(e){var t=D9();return function(){var n=ml(e),o;if(t){var i=ml(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return x9(this,o)}}var N9=function(e){Yd(r,e);var t=tv(r);function r(n){Zd(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(ue),F9=function(e){Yd(r,e);var t=tv(r);function r(n){Zd(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="any"),o}return r}(V),Ol=function(e){Yd(r,e);var t=tv(r);function r(n){Zd(this,r);var o;o=t.call(this,n),Zn(wo(o),"controlExportName",void 0),Zn(wo(o),"permissions",void 0),Zn(wo(o),"defaultValue",void 0),Zn(wo(o),"isInlineEdit",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Po.controlName;var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:void 0;var c;o.controlExportName=(c=n==null?void 0:n.controlExportName)!==null&&c!==void 0?c:"";var l;o.permissions=(l=n==null?void 0:n.permissions)!==null&&l!==void 0?l:[];var a;return o.isInlineEdit=(a=n==null?void 0:n.isInlineEdit)!==null&&a!==void 0?a:!1,o}return r}(D);Zn(Ol,"Rules",N9),Zn(Ol,"RuntimeRules",F9);function kP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function L9(e,t,r){return t&&DP(e.prototype,t),r&&DP(e,r),e}function $o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wl(e){return wl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wl(e)}function M9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 C9(e,t){return t&&(V9(t)==="object"||typeof t=="function")?t:kP(e)}function nv(e,t){return nv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nv(e,t)}function V9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function z9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function H9(e){var t=z9();return function(){var n=wl(e),o;if(t){var i=wl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return C9(this,o)}}var Po=function(e){M9(r,e);var t=H9(r);function r(n){j9(this,r);var o;return o=t.call(this,n),$o(kP(o),"props",void 0),o.props=new Ol(n==null?void 0:n.props),o}return L9(r,null,[{key:"controlName",get:function(){return"Vue\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return"vue-form-item"}}]),r}(N);$o(Po,"controlFieldType",m.ANY),$o(Po,"controlEventKeys",[]),$o(Po,"slots",["grid-table-toolbar-slot",og.DEFAULT]),$o(Po,"setting",[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_HIDE_CAPTION,s.REQUIRED,s.IS_SHOW_CAPTION_TIP,s.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}]);function NP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function U9(e,t,r){return t&&FP(e.prototype,t),r&&FP(e,r),e}function jP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $l(e){return $l=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$l(e)}function W9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 K9(e,t){return t&&(G9(t)==="object"||typeof t=="function")?t:NP(e)}function rv(e,t){return rv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rv(e,t)}function G9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function X9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Q9(e){var t=X9();return function(){var n=$l(e),o;if(t){var i=$l(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return K9(this,o)}}var J9=function(e){W9(r,e);var t=Q9(r);function r(n){q9(this,r);var o;return o=t.call(this,n),jP(NP(o),"props",void 0),o.props=new Ol(n==null?void 0:n.props),o}return U9(r,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),r}(F);jP(J9,"controlFieldType",m.ANY);function Se(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ee(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pl(e){return Pl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pl(e)}function MP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ov(e,t)}function Z9(e,t){return t&&(Y9(t)==="object"||typeof t=="function")?t:Se(e)}function ov(e,t){return ov=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ov(e,t)}function Y9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ez(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CP(e){var t=ez();return function(){var n=Pl(e),o;if(t){var i=Pl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Z9(this,o)}}var tz=function(e){MP(r,e);var t=CP(r);function r(n){LP(this,r);var o;return o=t.call(this,n),Ee(Se(o),"listPageBind",[{type:"object",message:h.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:h.getMessage("isNotString")},{type:"string",required:!0,message:h.getMessage("pleaseEnterList")}]}}]),Ee(Se(o),"formBind",{type:"object",fields:{formKey:{type:"string",message:h.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return r}(Nn),iv=function(e){MP(r,e);var t=CP(r);function r(n){LP(this,r);var o;o=t.call(this,n),Ee(Se(o),"options",void 0),Ee(Se(o),"optionConfig",void 0),Ee(Se(o),"defaultValue",void 0),Ee(Se(o),"listPageBind",void 0),Ee(Se(o),"datasourceBind",void 0),Ee(Se(o),"multistageFilling",void 0),Ee(Se(o),"viewFormModelType",void 0),Ee(Se(o),"canViewForm",void 0),Ee(Se(o),"formBind",void 0),Ee(Se(o),"openMultistageFilling",void 0),Ee(Se(o),"showSelectedDetail",void 0),Ee(Se(o),"selectedContentConfig",void 0);var i;o.options=Tt((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[]);var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"datasource",o.listPageBind=new Ns(n==null?void 0:n.listPageBind),o.datasourceBind=new ne(n==null?void 0:n.datasourceBind);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:El.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u9009\u62E9";var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:"";var f;o.openMultistageFilling=(f=n==null?void 0:n.openMultistageFilling)!==null&&f!==void 0?f:!1;var _;o.showSelectedDetail=(_=n==null?void 0:n.showSelectedDetail)!==null&&_!==void 0?_:!1,o.selectedContentConfig=new Ms(n==null?void 0:n.selectedContentConfig),o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var b;(b=o.multistageFilling)===null||b===void 0||b.push(new Te(O))}));var p;o.canViewForm=(p=n==null?void 0:n.canViewForm)!==null&&p!==void 0?p:!1;var g;return o.viewFormModelType=(g=n==null?void 0:n.viewFormModelType)!==null&&g!==void 0?g:"window",o.formBind=new kn(n==null?void 0:n.formBind),o}return r}(D);Ee(iv,"Rules",tz);function VP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rz(e,t,r){return t&&zP(e.prototype,t),r&&zP(e,r),e}function Rl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sl(e){return Sl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sl(e)}function 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&&uv(e,t)}function iz(e,t){return t&&(uz(t)==="object"||typeof t=="function")?t:VP(e)}function uv(e,t){return uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uv(e,t)}function uz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lz(e){var t=cz();return function(){var n=Sl(e),o;if(t){var i=Sl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iz(this,o)}}var El=function(e){oz(r,e);var t=lz(r);function r(n){nz(this,r);var o;return o=t.call(this,n),Rl(VP(o),"props",void 0),o.props=new iv(n==null?void 0:n.props),o}return rz(r,null,[{key:"controlName",get:function(){return"\u5173\u8054\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconguanliandanxuan"}},{key:"controlType",get:function(){return"select-relation"}}]),r}(N);Rl(El,"controlFieldType",m.VARCHAR),Rl(El,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]),Rl(El,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);function HP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function az(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fz(e,t,r){return t&&qP(e.prototype,t),r&&qP(e,r),e}function UP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tl(e){return Tl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tl(e)}function sz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cv(e,t)}function _z(e,t){return t&&(yz(t)==="object"||typeof t=="function")?t:HP(e)}function cv(e,t){return cv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cv(e,t)}function yz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dz(e){var t=pz();return function(){var n=Tl(e),o;if(t){var i=Tl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _z(this,o)}}var vz=function(e){sz(r,e);var t=dz(r);function r(n){az(this,r);var o;return o=t.call(this,n),UP(HP(o),"props",void 0),o.props=new iv(n==null?void 0:n.props),o}return fz(r,null,[{key:"controlType",get:function(){return"select-relation"}}]),r}(F);UP(vz,"controlFieldType",m.VARCHAR);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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Il(e){return Il=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Il(e)}function 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&&lv(e,t)}function mz(e,t){return t&&(Oz(t)==="object"||typeof t=="function")?t:hz(e)}function lv(e,t){return lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lv(e,t)}function Oz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $z(e){var t=wz();return function(){var n=Il(e),o;if(t){var i=Il(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mz(this,o)}}var WP=function(e){gz(r,e);var t=$z(r);function r(n){return bz(this,r),t.call(this,n)}return r}(go);function KP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Rz(e,t,r){return t&&GP(e.prototype,t),r&&GP(e,r),e}function XP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bl(e){return Bl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bl(e)}function Sz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&av(e,t)}function Ez(e,t){return t&&(Tz(t)==="object"||typeof t=="function")?t:KP(e)}function av(e,t){return av=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},av(e,t)}function Tz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Iz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bz(e){var t=Iz();return function(){var n=Bl(e),o;if(t){var i=Bl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ez(this,o)}}var Az=function(e){Sz(r,e);var t=Bz(r);function r(n){Pz(this,r);var o;return o=t.call(this,n),XP(KP(o),"props",void 0),o.props=new WP(n==null?void 0:n.props),o}return Rz(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),r}(mo);XP(Az,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED]},{key:"super-setting",visible:!0}]);function QP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function kz(e,t,r){return t&&JP(e.prototype,t),r&&JP(e,r),e}function ZP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Al(e){return Al=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Al(e)}function Dz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fv(e,t)}function Nz(e,t){return t&&(Fz(t)==="object"||typeof t=="function")?t:QP(e)}function fv(e,t){return fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fv(e,t)}function Fz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Lz(e){var t=jz();return function(){var n=Al(e),o;if(t){var i=Al(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Nz(this,o)}}var Mz=function(e){Dz(r,e);var t=Lz(r);function r(n){xz(this,r);var o;return o=t.call(this,n),ZP(QP(o),"props",void 0),o.props=new WP(n==null?void 0:n.props),o}return kz(r,null,[{key:"controlType",get:function(){return"search-input"}}]),r}(F);ZP(Mz,"controlFieldType",m.VARCHAR);function Q(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xl(e){return xl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xl(e)}function _v(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yv(e,t)}function Cz(e,t){return t&&(Vz(t)==="object"||typeof t=="function")?t:Q(e)}function yv(e,t){return yv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yv(e,t)}function Vz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pv(e){var t=zz();return function(){var n=xl(e),o;if(t){var i=xl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Cz(this,o)}}var Hz=function(e){_v(r,e);var t=pv(r);function r(n){sv(this,r);var o;return o=t.call(this,n),J(Q(o),"datasourceBind",[{type:"object",message:h.getMessage("isNotObject")}]),Yo.call(Q(o),n,gn.controlCustomAttributes,!0),o.datasourceBind[1].fields&&(o.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:h.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:h.getMessage("rootNodeIsRequired")}}}]),o}return r}(ue),qz=function(e){_v(r,e);var t=pv(r);function r(n){sv(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(V),kl=function(e){_v(r,e);var t=pv(r);function r(n){sv(this,r);var o,i;o=t.call(this,n),J(Q(o),"placeholder",void 0),J(Q(o),"multiple",void 0),J(Q(o),"canSearch",void 0),J(Q(o),"levelType",void 0),J(Q(o),"optionalLevel",void 0),J(Q(o),"containsSubNode",void 0),J(Q(o),"defaultDisplay",void 0),J(Q(o),"isShowIncludeSub",void 0),J(Q(o),"isDefaultCheckSub",void 0),J(Q(o),"isShowFilterItem",void 0),J(Q(o),"defaultCollapse",void 0),J(Q(o),"defaultCollapseLevel",void 0),J(Q(o),"optionConfig","datasource"),J(Q(o),"datasourceBind",void 0),J(Q(o),"filterItemDatasourceBind",void 0),J(Q(o),"multistageFilling",void 0),J(Q(o),"defaultValue",void 0),J(Q(o),"openMultistageFilling",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:gn.controlName;var c;o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:"\u8BF7\u9009\u62E9";var l;o.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1;var a;o.canSearch=(a=n==null?void 0:n.canSearch)!==null&&a!==void 0?a:!0;var f;o.levelType=(f=n==null?void 0:n.levelType)!==null&&f!==void 0?f:"all";var _;o.optionalLevel=(_=n==null?void 0:n.optionalLevel)!==null&&_!==void 0?_:1;var p;o.containsSubNode=(p=n==null?void 0:n.containsSubNode)!==null&&p!==void 0?p:!1;var g;o.isShowFilterItem=(g=n==null?void 0:n.isShowFilterItem)!==null&&g!==void 0?g:!1;var O;o.isShowIncludeSub=(O=n==null?void 0:n.isShowIncludeSub)!==null&&O!==void 0?O:!1;var b;o.isDefaultCheckSub=(b=n==null?void 0:n.isDefaultCheckSub)!==null&&b!==void 0?b:!1;var w;o.defaultCollapse=(w=n==null?void 0:n.defaultCollapse)!==null&&w!==void 0?w:"all";var d;o.defaultCollapseLevel=(d=n==null?void 0:n.defaultCollapseLevel)!==null&&d!==void 0?d:1;var $;o.datasourceBind=new xg(($=n==null?void 0:n.datasourceBind)!==null&&$!==void 0?$:{attributes:gn.controlCustomAttributes});var P;o.filterItemDatasourceBind=new xg((P=n==null?void 0:n.filterItemDatasourceBind)!==null&&P!==void 0?P:{attributes:gn.controlCustomAttributes});var S;o.openMultistageFilling=(S=n==null?void 0:n.openMultistageFilling)!==null&&S!==void 0?S:!1;var E;o.defaultDisplay=(E=n==null?void 0:n.defaultDisplay)!==null&&E!==void 0?E:!1;var C;o.multistageFilling=(C=n==null||(i=n.multistageFilling)===null||i===void 0?void 0:i.map(function(K){return new Te(K)}))!==null&&C!==void 0?C:[];var x;return o.defaultValue=(x=n==null?void 0:n.defaultValue)!==null&&x!==void 0?x:[],o}return r}(D);J(kl,"Rules",Hz),J(kl,"RuntimeRules",qz);function YP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Wz(e,t,r){return t&&eR(e.prototype,t),r&&eR(e,r),e}function Dl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nl(e){return Nl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nl(e)}function 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&&dv(e,t)}function Gz(e,t){return t&&(Xz(t)==="object"||typeof t=="function")?t:YP(e)}function dv(e,t){return dv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dv(e,t)}function Xz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jz(e){var t=Qz();return function(){var n=Nl(e),o;if(t){var i=Nl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Gz(this,o)}}var gn=function(e){Kz(r,e);var t=Jz(r);function r(n){Uz(this,r);var o;return o=t.call(this,n),Dl(YP(o),"props",void 0),o.props=new kl(n==null?void 0:n.props),o}return Wz(r,null,[{key:"controlName",get:function(){return"\u6811"}},{key:"controlIcon",get:function(){return"icontree"}},{key:"controlType",get:function(){return"tree"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}]),r}(N);Dl(gn,"controlEventKeys",["on_change","on_click"]),Dl(gn,"controlFieldType",m.ARRAY),Dl(gn,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.CAN_SEARCH,s.DEFAULT_DISPLAY,s.CONTAINS_SUB_NODE,s.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function tR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Yz(e,t,r){return t&&nR(e.prototype,t),r&&nR(e,r),e}function rR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fl(e){return Fl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fl(e)}function eH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vv(e,t)}function tH(e,t){return t&&(nH(t)==="object"||typeof t=="function")?t:tR(e)}function vv(e,t){return vv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vv(e,t)}function nH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oH(e){var t=rH();return function(){var n=Fl(e),o;if(t){var i=Fl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tH(this,o)}}var iH=function(e){eH(r,e);var t=oH(r);function r(n){Zz(this,r);var o;return o=t.call(this,n),rR(tR(o),"props",void 0),o.props=new kl(n==null?void 0:n.props),o}return Yz(r,null,[{key:"controlType",get:function(){return"tree"}}]),r}(F);rR(iH,"controlFieldType",m.ARRAY);function pe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function de(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jl(e){return jl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jl(e)}function bv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gv(e,t)}function uH(e,t){return t&&(cH(t)==="object"||typeof t=="function")?t:pe(e)}function gv(e,t){return gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gv(e,t)}function cH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mv(e){var t=lH();return function(){var n=jl(e),o;if(t){var i=jl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uH(this,o)}}var aH=function(e){bv(r,e);var t=mv(r);function r(n){hv(this,r);var o;return o=t.call(this,n),de(pe(o),"datasourceBind",[{type:"object",message:h.getMessage("isNotObject")}]),de(pe(o),"externalScope",{type:"any"}),Yo.call(pe(o),n,Ro.controlCustomAttributes),n.externalType===Zt.ASSIGN&&(o.externalScope={type:"array",required:!0,message:h.getMessage("pleaseAssignExternal")}),o}return r}(ue),fH=function(e){bv(r,e);var t=mv(r);function r(n){hv(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(V),Ll=function(e){bv(r,e);var t=mv(r);function r(n){hv(this,r);var o;o=t.call(this,n),de(pe(o),"showType",void 0),de(pe(o),"range",void 0),de(pe(o),"rangeOptions",void 0),de(pe(o),"multiple",void 0),de(pe(o),"defaultValueType",void 0),de(pe(o),"defaultValue",void 0),de(pe(o),"multistageFilling",void 0),de(pe(o),"datasourceBind",void 0),de(pe(o),"datasourceType",void 0),de(pe(o),"insideType",void 0),de(pe(o),"externalType",void 0),de(pe(o),"externalScope",void 0),de(pe(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var c;o.rangeOptions=(c=n==null?void 0:n.rangeOptions)!==null&&c!==void 0?c:[];var l;o.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1;var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:Ro.controlName;var p;o.placeholder=(p=n==null?void 0:n.placeholder)!==null&&p!==void 0?p:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var g;o.datasourceBind=new Xo((g=n==null?void 0:n.datasourceBind)!==null&&g!==void 0?g:{attributes:Ro.controlCustomAttributes});var O;o.datasourceType=(O=n==null?void 0:n.datasourceType)!==null&&O!==void 0?O:z_.INTERNAL;var b;o.insideType=(b=n==null?void 0:n.insideType)!==null&&b!==void 0?b:H_.ADMIN;var w;o.externalType=(w=n==null?void 0:n.externalType)!==null&&w!==void 0?w:Zt.ALL;var d;o.externalScope=(d=n==null?void 0:n.externalScope)!==null&&d!==void 0?d:[];var $;return o.openMultistageFilling=($=n==null?void 0:n.openMultistageFilling)!==null&&$!==void 0?$:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(P){var S;(S=o.multistageFilling)===null||S===void 0||S.push(new Te(P))})),o}return r}(D);de(Ll,"Rules",aH),de(Ll,"RuntimeRules",fH);function oR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _H(e,t,r){return t&&iR(e.prototype,t),r&&iR(e,r),e}function Ov(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ml(e){return Ml=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ml(e)}function yH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 pH(e,t){return t&&(dH(t)==="object"||typeof t=="function")?t:oR(e)}function wv(e,t){return wv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wv(e,t)}function dH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hH(e){var t=vH();return function(){var n=Ml(e),o;if(t){var i=Ml(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pH(this,o)}}var Ro=function(e){yH(r,e);var t=hH(r);function r(n){sH(this,r);var o;return o=t.call(this,n),Ov(oR(o),"props",void 0),o.props=new Ll(n==null?void 0:n.props),o}return _H(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(N);Ov(Ro,"controlFieldType",m.EMPLOYEES),Ov(Ro,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}]);function uR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gH(e,t,r){return t&&cR(e.prototype,t),r&&cR(e,r),e}function lR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cl(e){return Cl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cl(e)}function mH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$v(e,t)}function OH(e,t){return t&&(wH(t)==="object"||typeof t=="function")?t:uR(e)}function $v(e,t){return $v=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$v(e,t)}function wH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $H(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PH(e){var t=$H();return function(){var n=Cl(e),o;if(t){var i=Cl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return OH(this,o)}}var RH=function(e){mH(r,e);var t=PH(r);function r(n){bH(this,r);var o;return o=t.call(this,n),lR(uR(o),"props",void 0),o.props=new Ll(n==null?void 0:n.props),o}return gH(r,null,[{key:"controlType",get:function(){return"employee2"}}]),r}(F);lR(RH,"controlFieldType",m.EMPLOYEES);function gt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vl(e){return Vl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vl(e)}function fR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 SH(e,t){return t&&(EH(t)==="object"||typeof t=="function")?t:gt(e)}function Pv(e,t){return Pv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pv(e,t)}function EH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sR(e){var t=TH();return function(){var n=Vl(e),o;if(t){var i=Vl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SH(this,o)}}var IH=function(e){fR(r,e);var t=sR(r);function r(n){aR(this,r);var o;return o=t.call(this,n),mt(gt(o),"signatureConfig",void 0),o.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fields:n.signatureConfig.undersignedList.reduce(function(i,u,c){return i[c]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator:function(a,f,_){if(u.type==="public"&&Es(f.value)&&f.value.length===0){_("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}_()}},company:{type:"object",required:!0,validator:function(a,f,_){if(u.type==="public"&&u.signatureType.includes("company")&&Es(f.value)&&f.value.length===0){_("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}_()}}}},i},{})}}},o}return r}(ue),Rv=function(e){fR(r,e);var t=sR(r);function r(n){aR(this,r);var o;o=t.call(this,n),mt(gt(o),"buttonType",void 0),mt(gt(o),"content",void 0),mt(gt(o),"showType",void 0),mt(gt(o),"color",void 0),mt(gt(o),"icon",void 0),mt(gt(o),"command",""),mt(gt(o),"isLoading",!1),mt(gt(o),"signatureConfig",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:ql.controlName;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:"\u53D1\u8D77\u7B7E\u7F72";var c;o.buttonType=(c=n==null?void 0:n.buttonType)!==null&&c!==void 0?c:"primary";var l;o.showType=(l=n==null?void 0:n.showType)!==null&&l!==void 0?l:"text";var a;o.color=(a=n==null?void 0:n.color)!==null&&a!==void 0?a:"primary";var f;return o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:"iconfenlei2",o.signatureConfig=new oN(n==null?void 0:n.signatureConfig),o}return r}(D);mt(Rv,"Rules",IH);function _R(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function AH(e,t,r){return t&&yR(e.prototype,t),r&&yR(e,r),e}function zl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hl(e){return Hl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hl(e)}function xH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 kH(e,t){return t&&(DH(t)==="object"||typeof t=="function")?t:_R(e)}function Sv(e,t){return Sv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sv(e,t)}function DH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FH(e){var t=NH();return function(){var n=Hl(e),o;if(t){var i=Hl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kH(this,o)}}var ql=function(e){xH(r,e);var t=FH(r);function r(n){BH(this,r);var o;return o=t.call(this,n),zl(_R(o),"props",void 0),o.props=new Rv(n==null?void 0:n.props),o}return AH(r,null,[{key:"controlName",get:function(){return"\u7535\u5B50\u7B7E\u7AE0"}},{key:"controlIcon",get:function(){return"icondianziqianzhang"}},{key:"controlType",get:function(){return"electronic-signature"}}]),r}(N);zl(ql,"controlEventKeys",["on_click","on_click_finish"]),zl(ql,"controlFieldType",m.VARCHAR),zl(ql,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}]);function pR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function LH(e,t,r){return t&&dR(e.prototype,t),r&&dR(e,r),e}function vR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ul(e){return Ul=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ul(e)}function MH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ev(e,t)}function CH(e,t){return t&&(VH(t)==="object"||typeof t=="function")?t:pR(e)}function Ev(e,t){return Ev=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ev(e,t)}function VH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HH(e){var t=zH();return function(){var n=Ul(e),o;if(t){var i=Ul(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return CH(this,o)}}var qH=function(e){MH(r,e);var t=HH(r);function r(n){jH(this,r);var o;return o=t.call(this,n),vR(pR(o),"props",void 0),o.props=new Rv(n==null?void 0:n.props),o}return LH(r,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),r}(F);vR(qH,"controlFieldType",m.VARCHAR);function ge(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ve(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wl(e){return Wl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wl(e)}function Iv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bv(e,t)}function UH(e,t){return t&&(WH(t)==="object"||typeof t=="function")?t:ge(e)}function Bv(e,t){return Bv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bv(e,t)}function WH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Av(e){var t=KH();return function(){var n=Wl(e),o;if(t){var i=Wl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return UH(this,o)}}var GH=function(e){Iv(r,e);var t=Av(r);function r(n){Tv(this,r);var o;return o=t.call(this,n),ve(ge(o),"content",{type:"string",required:!0,message:h.getMessage("pleaseEnterButtonContent")}),ve(ge(o),"canAdd",void 0),ve(ge(o),"wpsSetting",{type:"object",fields:{watermark:{type:"object",validator:function(u,c,l){if(c.active&&!c.text){l(h.getMessage("pleaseEnterWatermark"));return}l()}},autoRename:{type:"object",validator:function(u,c,l){if(c.active&&!c.text){l(h.getMessage("pleaseEnterFileName"));return}l()}}}}),o.canAdd={type:"boolean",validator:function(u,c,l){if(n.canAdd&&!n.addLocal&&!n.addOnline){l(h.getMessage("pleaseChooseAtLeastOne"));return}l()}},o}return r}(ue),XH=function(e){Iv(r,e);var t=Av(r);function r(n){Tv(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(V),Kl=function(e){Iv(r,e);var t=Av(r);function r(n){Tv(this,r);var o;o=t.call(this,n),ve(ge(o),"content",void 0),ve(ge(o),"canAdd",void 0),ve(ge(o),"addLocal",void 0),ve(ge(o),"addOnline",void 0),ve(ge(o),"canDownload",void 0),ve(ge(o),"canEdit",void 0),ve(ge(o),"canExport",void 0),ve(ge(o),"canDelete",void 0),ve(ge(o),"wpsSetting",void 0),ve(ge(o),"maxSize",void 0),ve(ge(o),"defaultValue",void 0),ve(ge(o),"revisionsMode",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Ql.controlName;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:"\u65B0\u5EFA\u6587\u6863";var c;o.canAdd=(c=n==null?void 0:n.canAdd)!==null&&c!==void 0?c:!0;var l;o.addLocal=(l=n==null?void 0:n.addLocal)!==null&&l!==void 0?l:!0;var a;o.addOnline=(a=n==null?void 0:n.addOnline)!==null&&a!==void 0?a:!0;var f;o.canEdit=(f=n==null?void 0:n.canEdit)!==null&&f!==void 0?f:!0;var _;o.canDownload=(_=n==null?void 0:n.canDownload)!==null&&_!==void 0?_:!0;var p;o.canExport=(p=n==null?void 0:n.canExport)!==null&&p!==void 0?p:!0;var g;o.canDelete=(g=n==null?void 0:n.canDelete)!==null&&g!==void 0?g:!1;var O;o.maxSize=(O=n==null?void 0:n.maxSize)!==null&&O!==void 0?O:Q4;var b;o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:[],o.wpsSetting=new iN(n==null?void 0:n.wpsSetting);var w;return o.revisionsMode=(w=n==null?void 0:n.revisionsMode)!==null&&w!==void 0?w:!1,o}return r}(D);ve(Kl,"Rules",GH),ve(Kl,"RuntimeRules",XH);function hR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function JH(e,t,r){return t&&bR(e.prototype,t),r&&bR(e,r),e}function Gl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xl(e){return Xl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xl(e)}function 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&&xv(e,t)}function YH(e,t){return t&&(eq(t)==="object"||typeof t=="function")?t:hR(e)}function xv(e,t){return xv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xv(e,t)}function eq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nq(e){var t=tq();return function(){var n=Xl(e),o;if(t){var i=Xl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YH(this,o)}}var Ql=function(e){ZH(r,e);var t=nq(r);function r(n){QH(this,r);var o;return o=t.call(this,n),Gl(hR(o),"props",void 0),o.props=new Kl(n==null?void 0:n.props),o}return JH(r,null,[{key:"controlName",get:function(){return"\u5728\u7EBF\u6587\u6863"}},{key:"controlIcon",get:function(){return"iconwps"}},{key:"controlType",get:function(){return"wps"}}]),r}(N);Gl(Ql,"controlEventKeys",["on_change","on_wps_open"]),Gl(Ql,"controlFieldType",m.FILE),Gl(Ql,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP,s.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}]);function gR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function oq(e,t,r){return t&&mR(e.prototype,t),r&&mR(e,r),e}function OR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jl(e){return Jl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jl(e)}function iq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kv(e,t)}function uq(e,t){return t&&(cq(t)==="object"||typeof t=="function")?t:gR(e)}function kv(e,t){return kv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kv(e,t)}function cq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aq(e){var t=lq();return function(){var n=Jl(e),o;if(t){var i=Jl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uq(this,o)}}var fq=function(e){iq(r,e);var t=aq(r);function r(n){rq(this,r);var o;return o=t.call(this,n),OR(gR(o),"props",void 0),o.props=new Kl(n==null?void 0:n.props),o}return oq(r,null,[{key:"controlType",get:function(){return"wps"}}]),r}(F);OR(fq,"controlFieldType",m.FILE);function oe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ie(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zl(e){return Zl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zl(e)}function Nv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fv(e,t)}function sq(e,t){return t&&(_q(t)==="object"||typeof t=="function")?t:oe(e)}function Fv(e,t){return Fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fv(e,t)}function _q(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jv(e){var t=yq();return function(){var n=Zl(e),o;if(t){var i=Zl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sq(this,o)}}var pq=function(e){Nv(r,e);var t=jv(r);function r(n){Dv(this,r);var o;return o=t.call(this,n),ie(oe(o),"datasourceBind",[{type:"object",message:h.getMessage("isNotObject")}]),ie(oe(o),"businessScope",{type:"any"}),Yo.call(oe(o),n,er.controlCustomAttributes),n.businessType===Zt.ASSIGN&&(o.businessScope={type:"array",required:!0,message:h.getMessage("pleaseAssignBusiness")}),o}return r}(ue),dq=function(e){Nv(r,e);var t=jv(r);function r(n){Dv(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(V),Yl=function(e){Nv(r,e);var t=jv(r);function r(n){Dv(this,r);var o;o=t.call(this,n),ie(oe(o),"showType",void 0),ie(oe(o),"range",void 0),ie(oe(o),"defaultValueType",void 0),ie(oe(o),"multiple",void 0),ie(oe(o),"rangeOptions",void 0),ie(oe(o),"defaultValue",void 0),ie(oe(o),"displayLevel",void 0),ie(oe(o),"showSubDept",void 0),ie(oe(o),"multistageFilling",void 0),ie(oe(o),"datasourceBind",void 0),ie(oe(o),"datasourceType",void 0),ie(oe(o),"businessType",void 0),ie(oe(o),"businessScope",void 0),ie(oe(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1;var c;o.range=(c=n==null?void 0:n.range)!==null&&c!==void 0?c:"all";var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var p;o.showSubDept=(p=n==null?void 0:n.showSubDept)!==null&&p!==void 0?p:!0;var g;o.caption=(g=n==null?void 0:n.caption)!==null&&g!==void 0?g:er.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u90E8\u95E8";var b;o.datasourceBind=new Xo((b=n==null?void 0:n.datasourceBind)!==null&&b!==void 0?b:{attributes:er.controlCustomAttributes});var w;o.datasourceType=(w=n==null?void 0:n.datasourceType)!==null&&w!==void 0?w:Bi.INTERNAL;var d;o.businessScope=(d=n==null?void 0:n.businessScope)!==null&&d!==void 0?d:[];var $;o.businessType=($=n==null?void 0:n.businessType)!==null&&$!==void 0?$:Zt.ALL;var P;return o.openMultistageFilling=(P=n==null?void 0:n.openMultistageFilling)!==null&&P!==void 0?P:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(S){var E;(E=o.multistageFilling)===null||E===void 0||E.push(new Te(S))})),o}return r}(D);ie(Yl,"Rules",pq),ie(Yl,"RuntimeRules",dq);function wR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $R(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hq(e,t,r){return t&&$R(e.prototype,t),r&&$R(e,r),e}function ea(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ta(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ta=Reflect.get:ta=function(o,i,u){var c=mq(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},ta(e,t,r||e)}function Yn(e){return Yn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yn(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&&Lv(e,t)}function gq(e,t){return t&&(Oq(t)==="object"||typeof t=="function")?t:wR(e)}function Lv(e,t){return Lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lv(e,t)}function mq(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Yn(e),e!==null););return e}function Oq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $q(e){var t=wq();return function(){var n=Yn(e),o;if(t){var i=Yn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gq(this,o)}}var er=function(e){bq(r,e);var t=$q(r);function r(n){vq(this,r);var o;return o=t.call(this,n),ea(wR(o),"props",void 0),o.props=new Yl(n==null?void 0:n.props),o}return hq(r,[{key:"toDataBindModel",value:function(o){var i=ta(Yn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,l=u.showSubDept;i.props.displayLevel=c,i.props.showSubDept=l}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(N);ea(er,"controlName","\u90E8\u95E8"),ea(er,"controlFieldType",m.DEPARTMENTS),ea(er,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function PR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Rq(e,t,r){return t&&RR(e.prototype,t),r&&RR(e,r),e}function SR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function na(e){return na=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},na(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&&Mv(e,t)}function Eq(e,t){return t&&(Tq(t)==="object"||typeof t=="function")?t:PR(e)}function Mv(e,t){return Mv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mv(e,t)}function Tq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Iq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bq(e){var t=Iq();return function(){var n=na(e),o;if(t){var i=na(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Eq(this,o)}}var Aq=function(e){Sq(r,e);var t=Bq(r);function r(n){Pq(this,r);var o;return o=t.call(this,n),SR(PR(o),"props",void 0),o.props=new Yl(n==null?void 0:n.props),o}return Rq(r,null,[{key:"controlType",get:function(){return"department2"}}]),r}(F);SR(Aq,"controlFieldType",m.DEPARTMENTS);function U(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function W(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ra(e){return ra=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ra(e)}function Vv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zv(e,t)}function xq(e,t){return t&&(kq(t)==="object"||typeof t=="function")?t:U(e)}function zv(e,t){return zv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zv(e,t)}function kq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Dq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hv(e){var t=Dq();return function(){var n=ra(e),o;if(t){var i=ra(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xq(this,o)}}var Nq=function(e){Vv(r,e);var t=Hv(r);function r(n){Cv(this,r);var o;return o=t.call(this,n),W(U(o),"datasourceBind",[{type:"object",message:h.getMessage("isNotObject")}]),W(U(o),"businessScope",{type:"any"}),Yo.call(U(o),n,nr.controlCustomAttributes),n.businessType===Zt.ASSIGN&&(o.businessScope={type:"array",required:!0,message:h.getMessage("pleaseAssignBusiness")}),o}return r}(ue),Fq=function(e){Vv(r,e);var t=Hv(r);function r(n){Cv(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(V),oa=function(e){Vv(r,e);var t=Hv(r);function r(n){Cv(this,r);var o;o=t.call(this,n),W(U(o),"showType",void 0),W(U(o),"range",void 0),W(U(o),"defaultValueType",void 0),W(U(o),"multiple",void 0),W(U(o),"rangeOptions",void 0),W(U(o),"defaultValue",void 0),W(U(o),"displayLevel",void 0),W(U(o),"showSubDept",void 0),W(U(o),"multistageFilling",void 0),W(U(o),"datasourceBind",void 0),W(U(o),"listPageBind",void 0),W(U(o),"datasourceType",void 0),W(U(o),"businessType",void 0),W(U(o),"businessScope",void 0),W(U(o),"organizingFunction",void 0),W(U(o),"organizationView",void 0),W(U(o),"openMultistageFilling",void 0),W(U(o),"showSelectedDetail",void 0),W(U(o),"selectedContentConfig",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1;var c;o.range=(c=n==null?void 0:n.range)!==null&&c!==void 0?c:"all",o.listPageBind=new Ns(n==null?void 0:n.listPageBind);var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var p;o.showSubDept=(p=n==null?void 0:n.showSubDept)!==null&&p!==void 0?p:!0;var g;o.caption=(g=n==null?void 0:n.caption)!==null&&g!==void 0?g:nr.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u7EC4\u7EC7";var b;o.datasourceBind=new ix((b=n==null?void 0:n.datasourceBind)!==null&&b!==void 0?b:{attributes:nr.controlCustomAttributes});var w;o.datasourceType=(w=n==null?void 0:n.datasourceType)!==null&&w!==void 0?w:Bi.INTERNAL;var d;o.businessScope=(d=n==null?void 0:n.businessScope)!==null&&d!==void 0?d:[];var $;o.businessType=($=n==null?void 0:n.businessType)!==null&&$!==void 0?$:Zt.ALL;var P;o.organizingFunction=(P=n==null?void 0:n.organizingFunction)!==null&&P!==void 0?P:void 0;var S;o.organizationView=(S=n==null?void 0:n.organizationView)!==null&&S!==void 0?S:void 0;var E;o.showSelectedDetail=(E=n==null?void 0:n.showSelectedDetail)!==null&&E!==void 0?E:!1,o.selectedContentConfig=new Ms(n==null?void 0:n.selectedContentConfig);var C;return o.openMultistageFilling=(C=n==null?void 0:n.openMultistageFilling)!==null&&C!==void 0?C:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(x){var K;(K=o.multistageFilling)===null||K===void 0||K.push(new Te(x))})),o}return r}(D);W(oa,"Rules",Nq),W(oa,"RuntimeRules",Fq);function ER(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Lq(e,t,r){return t&&TR(e.prototype,t),r&&TR(e,r),e}function ia(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ua(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ua=Reflect.get:ua=function(o,i,u){var c=Vq(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},ua(e,t,r||e)}function tr(e){return tr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tr(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&&qv(e,t)}function Cq(e,t){return t&&(zq(t)==="object"||typeof t=="function")?t:ER(e)}function qv(e,t){return qv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qv(e,t)}function Vq(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=tr(e),e!==null););return e}function zq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qq(e){var t=Hq();return function(){var n=tr(e),o;if(t){var i=tr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Cq(this,o)}}var nr=function(e){Mq(r,e);var t=qq(r);function r(n){jq(this,r);var o;return o=t.call(this,n),ia(ER(o),"props",void 0),o.props=new oa(n==null?void 0:n.props),o}return Lq(r,[{key:"toDataBindModel",value:function(o){var i=ua(tr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,l=u.showSubDept;i.props.displayLevel=c,i.props.showSubDept=l}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"organization-selection"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(N);ia(nr,"controlName","\u4E1A\u52A1\u7EC4\u7EC7"),ia(nr,"controlFieldType",m.DEPARTMENTS),ia(nr,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function IR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Wq(e,t,r){return t&&BR(e.prototype,t),r&&BR(e,r),e}function AR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ca(e){return ca=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ca(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&&Uv(e,t)}function Gq(e,t){return t&&(Xq(t)==="object"||typeof t=="function")?t:IR(e)}function Uv(e,t){return Uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uv(e,t)}function Xq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jq(e){var t=Qq();return function(){var n=ca(e),o;if(t){var i=ca(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Gq(this,o)}}var Zq=function(e){Kq(r,e);var t=Jq(r);function r(n){Uq(this,r);var o;return o=t.call(this,n),AR(IR(o),"props",void 0),o.props=new oa(n==null?void 0:n.props),o}return Wq(r,null,[{key:"controlType",get:function(){return"organization-selection"}}]),r}(F);AR(Zq,"controlFieldType",m.DEPARTMENTS);function So(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function la(e){return la=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},la(e)}function Kv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gv(e,t)}function Yq(e,t){return t&&(eU(t)==="object"||typeof t=="function")?t:So(e)}function Gv(e,t){return Gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gv(e,t)}function eU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xv(e){var t=tU();return function(){var n=la(e),o;if(t){var i=la(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Yq(this,o)}}var nU=function(e){Kv(r,e);var t=Xv(r);function r(n){Wv(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(ue),rU=function(e){Kv(r,e);var t=Xv(r);function r(n){Wv(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="any"),o}return r}(V),aa=function(e){Kv(r,e);var t=Xv(r);function r(n){Wv(this,r);var o;o=t.call(this,n),rr(So(o),"controlExportName",void 0),rr(So(o),"permissions",void 0),rr(So(o),"defaultValue",void 0),rr(So(o),"isInlineEdit",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:_a.controlName;var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:void 0;var c;o.controlExportName=(c=n==null?void 0:n.controlExportName)!==null&&c!==void 0?c:"";var l;o.permissions=(l=n==null?void 0:n.permissions)!==null&&l!==void 0?l:[];var a;return o.isInlineEdit=(a=n==null?void 0:n.isInlineEdit)!==null&&a!==void 0?a:!1,o}return r}(D);rr(aa,"Rules",nU),rr(aa,"RuntimeRules",rU);function xR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function iU(e,t,r){return t&&kR(e.prototype,t),r&&kR(e,r),e}function fa(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sa(e){return sa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sa(e)}function uU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qv(e,t)}function cU(e,t){return t&&(lU(t)==="object"||typeof t=="function")?t:xR(e)}function Qv(e,t){return Qv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qv(e,t)}function lU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fU(e){var t=aU();return function(){var n=sa(e),o;if(t){var i=sa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cU(this,o)}}var _a=function(e){uU(r,e);var t=fU(r);function r(n){oU(this,r);var o;return o=t.call(this,n),fa(xR(o),"props",void 0),o.props=new aa(n==null?void 0:n.props),o}return iU(r,null,[{key:"controlName",get:function(){return"Vue\u9875\u9762"}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return y.VUE_PAGE}}]),r}(N);fa(_a,"controlFieldType",m.ANY),fa(_a,"controlEventKeys",[]),fa(_a,"setting",[]);function DR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _U(e,t,r){return t&&NR(e.prototype,t),r&&NR(e,r),e}function FR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ya(e){return ya=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ya(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&&Jv(e,t)}function pU(e,t){return t&&(dU(t)==="object"||typeof t=="function")?t:DR(e)}function Jv(e,t){return Jv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jv(e,t)}function dU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hU(e){var t=vU();return function(){var n=ya(e),o;if(t){var i=ya(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pU(this,o)}}var bU=function(e){yU(r,e);var t=hU(r);function r(n){sU(this,r);var o;return o=t.call(this,n),FR(DR(o),"props",void 0),o.props=new aa(n==null?void 0:n.props),o}return _U(r,null,[{key:"controlType",get:function(){return y.VUE_PAGE}}]),r}(F);FR(bU,"controlFieldType",m.ANY);function gU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function OU(e,t,r){return t&&jR(e.prototype,t),r&&jR(e,r),e}function wU(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pa(e){return pa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pa(e)}function $U(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zv(e,t)}function PU(e,t){return t&&(RU(t)==="object"||typeof t=="function")?t:gU(e)}function Zv(e,t){return Zv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zv(e,t)}function RU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EU(e){var t=SU();return function(){var n=pa(e),o;if(t){var i=pa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PU(this,o)}}var TU=function(e){$U(r,e);var t=EU(r);function r(n){return mU(this,r),t.call(this,n)}return OU(r,null,[{key:"controlName",get:function(){return"\u753B\u5E03"}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),r}(le);wU(TU,"excludes",[y.GRID]);function Yv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function da(e){return da=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},da(e)}function BU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 AU(e,t){return t&&(xU(t)==="object"||typeof t=="function")?t:Yv(e)}function eh(e,t){return eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eh(e,t)}function xU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DU(e){var t=kU();return function(){var n=da(e),o;if(t){var i=da(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AU(this,o)}}var NU=24,Eo=function(e){BU(r,e);var t=DU(r);function r(n){IU(this,r);var o;o=t.call(this,n),LR(Yv(o),"span",void 0),LR(Yv(o),"offset",void 0);var i;o.span=(i=n==null?void 0:n.span)!==null&&i!==void 0?i:NU;var u;return o.offset=(u=n==null?void 0:n.offset)!==null&&u!==void 0?u:0,o}return r}(ce);function MR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jU(e,t,r){return t&&CR(e.prototype,t),r&&CR(e,r),e}function th(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function va(e){return va=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},va(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&&nh(e,t)}function MU(e,t){return t&&(CU(t)==="object"||typeof t=="function")?t:MR(e)}function nh(e,t){return nh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nh(e,t)}function CU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zU(e){var t=VU();return function(){var n=va(e),o;if(t){var i=va(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return MU(this,o)}}var To=function(e){LU(r,e);var t=zU(r);function r(n){FU(this,r);var o;return o=t.call(this,n),th(MR(o),"props",void 0),o.props=new Eo(n==null?void 0:n.props),o}return jU(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(le);th(To,"excludes",[y.COL,y.SUBTABLE,y.SUBTABLE_COLUMN,y.GRID_LAYOUT_CONTAINER,y.DIVIDER]),th(To,"childrenMaxLength",1);function VR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qU(e,t,r){return t&&zR(e.prototype,t),r&&zR(e,r),e}function UU(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ha(e){return ha=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ha(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&&rh(e,t)}function KU(e,t){return t&&(GU(t)==="object"||typeof t=="function")?t:VR(e)}function rh(e,t){return rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rh(e,t)}function GU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QU(e){var t=XU();return function(){var n=ha(e),o;if(t){var i=ha(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KU(this,o)}}var JU=function(e){WU(r,e);var t=QU(r);function r(n){HU(this,r);var o;return o=t.call(this,n),UU(VR(o),"props",void 0),o.props=new Eo(n==null?void 0:n.props),o}return qU(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(vn),HR={Designer:To,Runtime:JU,Property:Eo};function oh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ba(e){return ba=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ba(e)}function 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&&ih(e,t)}function eW(e,t){return t&&(tW(t)==="object"||typeof t=="function")?t:oh(e)}function ih(e,t){return ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ih(e,t)}function tW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rW(e){var t=nW();return function(){var n=ba(e),o;if(t){var i=ba(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eW(this,o)}}var uh=function(e){YU(r,e);var t=rW(r);function r(n){ZU(this,r);var o;o=t.call(this,n),qR(oh(o),"layoutMode",void 0),qR(oh(o),"gutter",void 0);var i;o.layoutMode=(i=n==null?void 0:n.layoutMode)!==null&&i!==void 0?i:"select";var u;return o.gutter=(u=n==null?void 0:n.gutter)!==null&&u!==void 0?u:0,o}return r}(ce);function UR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function iW(e,t,r){return t&&WR(e.prototype,t),r&&WR(e,r),e}function ch(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ga(e){return ga=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ga(e)}function uW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 cW(e,t){return t&&(lW(t)==="object"||typeof t=="function")?t:UR(e)}function lh(e,t){return lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lh(e,t)}function lW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fW(e){var t=aW();return function(){var n=ga(e),o;if(t){var i=ga(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cW(this,o)}}var ah=function(e){uW(r,e);var t=fW(r);function r(n){oW(this,r);var o;return o=t.call(this,n),ch(UR(o),"props",void 0),o.props=new uh(n==null?void 0:n.props),o}return iW(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(le);ch(ah,"excludes",[y.ROW]),ch(ah,"setting",[{key:"col-setting",visible:!0}]);function KR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _W(e,t,r){return t&&GR(e.prototype,t),r&&GR(e,r),e}function yW(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ma(e){return ma=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ma(e)}function pW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fh(e,t)}function dW(e,t){return t&&(vW(t)==="object"||typeof t=="function")?t:KR(e)}function fh(e,t){return fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fh(e,t)}function vW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bW(e){var t=hW();return function(){var n=ma(e),o;if(t){var i=ma(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dW(this,o)}}var gW=function(e){pW(r,e);var t=bW(r);function r(n){sW(this,r);var o;return o=t.call(this,n),yW(KR(o),"props",void 0),o.props=new uh(n==null?void 0:n.props),o}return _W(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(vn);function mW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function wW(e,t,r){return t&&XR(e.prototype,t),r&&XR(e,r),e}function sh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Oa(e){return Oa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oa(e)}function $W(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_h(e,t)}function PW(e,t){return t&&(RW(t)==="object"||typeof t=="function")?t:mW(e)}function _h(e,t){return _h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_h(e,t)}function RW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EW(e){var t=SW();return function(){var n=Oa(e),o;if(t){var i=Oa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PW(this,o)}}var TW=4,wa=function(e){$W(r,e);var t=EW(r);function r(n){return OW(this,r),t.call(this,n)}return wW(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u7B49\u5206\u884C"}},{key:"controlType",get:function(){return"grid-row"}},{key:"controlIcon",get:function(){return"grid-row"}}]),r}(ah);sh(wa,"excludes",[y.GRID_ROW]),sh(wa,"setting",[]),sh(wa,"childrenMaxLength",TW);function IW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function AW(e,t,r){return t&&QR(e.prototype,t),r&&QR(e,r),e}function $a(e){return $a=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$a(e)}function xW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yh(e,t)}function kW(e,t){return t&&(DW(t)==="object"||typeof t=="function")?t:IW(e)}function yh(e,t){return yh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yh(e,t)}function DW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FW(e){var t=NW();return function(){var n=$a(e),o;if(t){var i=$a(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kW(this,o)}}var jW=function(e){xW(r,e);var t=FW(r);function r(n){return BW(this,r),t.call(this,n)}return AW(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(gW);function LW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pa(e){return Pa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pa(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&&ph(e,t)}function VW(e,t){return t&&(zW(t)==="object"||typeof t=="function")?t:LW(e)}function ph(e,t){return ph=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ph(e,t)}function zW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qW(e){var t=HW();return function(){var n=Pa(e),o;if(t){var i=Pa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VW(this,o)}}var UW=function(e){CW(r,e);var t=qW(r);function r(n){return MW(this,r),t.call(this,n)}return r}(uh),WW={Designer:wa,Runtime:jW,Property:UW};function Io(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ra(e){return Ra=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ra(e)}function ZR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 KW(e,t){return t&&(GW(t)==="object"||typeof t=="function")?t:Io(e)}function dh(e,t){return dh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dh(e,t)}function GW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YR(e){var t=XW();return function(){var n=Ra(e),o;if(t){var i=Ra(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KW(this,o)}}var QW=function(e){ZR(r,e);var t=YR(r);function r(){JR(this,r);var n;return n=t.apply(this,arguments),Bo(Io(n),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),n}return r}(ce.Rules),eS=function(e){ZR(r,e);var t=YR(r);function r(n){JR(this,r);var o;o=t.call(this,n),Bo(Io(o),"caption",void 0),Bo(Io(o),"isHideCaption",void 0),Bo(Io(o),"collapse",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"\u5206\u7EC4";var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var c;return o.collapse=(c=n==null?void 0:n.collapse)!==null&&c!==void 0?c:"none",o}return r}(ce);Bo(eS,"Rules",QW);function tS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ZW(e,t,r){return t&&nS(e.prototype,t),r&&nS(e,r),e}function vh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sa(e){return Sa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sa(e)}function 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&&hh(e,t)}function eK(e,t){return t&&(tK(t)==="object"||typeof t=="function")?t:tS(e)}function hh(e,t){return hh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hh(e,t)}function tK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rK(e){var t=nK();return function(){var n=Sa(e),o;if(t){var i=Sa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eK(this,o)}}var rS=function(e){YW(r,e);var t=rK(r);function r(n){JW(this,r);var o;return o=t.call(this,n),vh(tS(o),"props",void 0),o.props=new eS(n==null?void 0:n.props),o}return ZW(r,null,[{key:"controlName",get:function(){return"\u5206\u7EC4"}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),r}(le);vh(rS,"setting",[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}]),vh(rS,"excludes",[y.CARD_GROUP]);function Ot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ea(e){return Ea=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ea(e)}function iS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bh(e,t)}function oK(e,t){return t&&(iK(t)==="object"||typeof t=="function")?t:Ot(e)}function bh(e,t){return bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bh(e,t)}function iK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uS(e){var t=uK();return function(){var n=Ea(e),o;if(t){var i=Ea(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oK(this,o)}}var cK=function(e){iS(r,e);var t=uS(r);function r(n){oS(this,r);var o;return o=t.call(this,n),wt(Ot(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),wt(Ot(o),"width",{type:"number",required:!1,message:h.getMessage("pleaseEnterColumnWidth")}),wt(Ot(o),"captionTip",{type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Y),Ta=function(e){iS(r,e);var t=uS(r);function r(n){oS(this,r);var o;o=t.call(this,n),wt(Ot(o),"metaAutoWidth",void 0),wt(Ot(o),"caption",void 0),wt(Ot(o),"fixed",void 0),wt(Ot(o),"isShowCaptionTip",void 0),wt(Ot(o),"captionTip",void 0),wt(Ot(o),"isHideCaption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:!1;var c;o.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var a;return o.isHideCaption=(a=n==null?void 0:n.isHideCaption)!==null&&a!==void 0?a:!1,o.metaAutoWidth=new Ig(n==null?void 0:n.metaAutoWidth),o}return r}(ce);wt(Ta,"Rules",cK);function cS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ia(e){return Ia=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ia(e)}function aK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gh(e,t)}function fK(e,t){return t&&(sK(t)==="object"||typeof t=="function")?t:cS(e)}function gh(e,t){return gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gh(e,t)}function sK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _K(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yK(e){var t=_K();return function(){var n=Ia(e),o;if(t){var i=Ia(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fK(this,o)}}var ft=function(e){aK(r,e);var t=yK(r);function r(n){lK(this,r);var o;return o=t.call(this,n),mn(cS(o),"props",void 0),o.props=new Ta(n==null?void 0:n.props),o}return r}(le);mn(ft,"controlName","\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),mn(ft,"controlType","subtable-column"),mn(ft,"controlIcon","subtable-column"),mn(ft,"childrenMaxLength",1),mn(ft,"excludes",[y.SUBTABLE,y.SUBTABLE_COLUMN,y.ROW,y.COL,y.CARD_GROUP,y.DIVIDER,y.TEXT]),mn(ft,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",showItems:[s.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}]);function lS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ba(e){return Ba=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ba(e)}function dK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mh(e,t)}function vK(e,t){return t&&(hK(t)==="object"||typeof t=="function")?t:lS(e)}function mh(e,t){return mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mh(e,t)}function hK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gK(e){var t=bK();return function(){var n=Ba(e),o;if(t){var i=Ba(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vK(this,o)}}var fS=function(e){dK(r,e);var t=gK(r);function r(n){pK(this,r);var o;return o=t.call(this,n),aS(lS(o),"props",void 0),o.props=new Ta(n==null?void 0:n.props),o}return r}(vn);aS(fS,"controlType","subtable-column");var mK={Designer:ft,Runtime:fS,Property:Ta};function OK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Aa(e){return Aa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Aa(e)}function $K(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Oh(e,t)}function PK(e,t){return t&&(RK(t)==="object"||typeof t=="function")?t:OK(e)}function Oh(e,t){return Oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Oh(e,t)}function RK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EK(e){var t=SK();return function(){var n=Aa(e),o;if(t){var i=Aa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PK(this,o)}}var TK=function(e){$K(r,e);var t=EK(r);function r(n){return wK(this,r),t.call(this,n)}return r}(ce);function sS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function On(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xa(e){return xa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xa(e)}function BK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wh(e,t)}function AK(e,t){return t&&(xK(t)==="object"||typeof t=="function")?t:sS(e)}function wh(e,t){return wh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wh(e,t)}function xK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DK(e){var t=kK();return function(){var n=xa(e),o;if(t){var i=xa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AK(this,o)}}var or=function(e){BK(r,e);var t=DK(r);function r(n){IK(this,r);var o;return o=t.call(this,n),On(sS(o),"props",void 0),o.props=new TK(n==null?void 0:n.props),o}return r}(le);On(or,"controlName","\u660E\u7EC6\u5B50\u8868\u884C"),On(or,"controlType","subtable-row"),On(or,"controlIcon","subtable-row"),On(or,"childrenMaxLength",1),On(or,"excludes",[y.SUBTABLE,y.SUBTABLE_COLUMN,y.SUBTABLE_ROW,y.ROW,y.COL,y.CARD_GROUP,y.DIVIDER,y.TEXT]),On(or,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0}]);function Ve(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ka(e){return ka=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ka(e)}function FK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$h(e,t)}function jK(e,t){return t&&(LK(t)==="object"||typeof t=="function")?t:Ve(e)}function $h(e,t){return $h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$h(e,t)}function LK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CK(e){var t=MK();return function(){var n=ka(e),o;if(t){var i=ka(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jK(this,o)}}var _S=function(e){FK(r,e);var t=CK(r);function r(n){NK(this,r);var o;o=t.call(this,n),Qe(Ve(o),"widthType",void 0),Qe(Ve(o),"width",void 0),Qe(Ve(o),"caption",void 0),Qe(Ve(o),"fieldCode",void 0),Qe(Ve(o),"fieldType",void 0),Qe(Ve(o),"fieldName",void 0),Qe(Ve(o),"datasourceBind",void 0),Qe(Ve(o),"fixed",void 0),Qe(Ve(o),"textCleanFormart",void 0),Qe(Ve(o),"decimalKeepPrecision",void 0),Qe(Ve(o),"timestampDateType",void 0),Qe(Ve(o),"departmentDisplayLevel",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:200,o.widthType=(n==null?void 0:n.widthType)||"auto";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var c;o.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:!1;var l;o.fieldCode=(l=n==null?void 0:n.fieldCode)!==null&&l!==void 0?l:"";var a;o.fieldType=(a=n==null?void 0:n.fieldType)!==null&&a!==void 0?a:m.VARCHAR;var f;o.fieldName=(f=n==null?void 0:n.fieldName)!==null&&f!==void 0?f:"",o.datasourceBind=new ne(n==null?void 0:n.datasourceBind);var _;o.textCleanFormart=(_=n==null?void 0:n.textCleanFormart)!==null&&_!==void 0?_:!1;var p;o.decimalKeepPrecision=(p=n==null?void 0:n.decimalKeepPrecision)!==null&&p!==void 0?p:0;var g;o.timestampDateType=(g=n==null?void 0:n.timestampDateType)!==null&&g!==void 0?g:qt.DATE;var O;return o.departmentDisplayLevel=(O=n==null?void 0:n.departmentDisplayLevel)!==null&&O!==void 0?O:1,o}return r}(ce);function yS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Da(e){return Da=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Da(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&&Ph(e,t)}function HK(e,t){return t&&(qK(t)==="object"||typeof t=="function")?t:yS(e)}function Ph(e,t){return Ph=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ph(e,t)}function qK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function UK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WK(e){var t=UK();return function(){var n=Da(e),o;if(t){var i=Da(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return HK(this,o)}}var ir=function(e){zK(r,e);var t=WK(r);function r(n){VK(this,r);var o;return o=t.call(this,n),wn(yS(o),"props",void 0),o.props=new _S(n==null?void 0:n.props),o}return r}(le);wn(ir,"controlName","\u5217\u8868\u5355\u5143\u683C"),wn(ir,"controlType","gridtable-column"),wn(ir,"controlIcon","gridtable-column"),wn(ir,"childrenMaxLength",1),wn(ir,"excludes",[y.GRID_TABLE,y.GRID_TABLE_COLUMN,y.ROW,y.COL,y.CARD_GROUP,y.DIVIDER,y.TEXT]),wn(ir,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}]);function pS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Na(e){return Na=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Na(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&&Rh(e,t)}function XK(e,t){return t&&(QK(t)==="object"||typeof t=="function")?t:pS(e)}function Rh(e,t){return Rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rh(e,t)}function QK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZK(e){var t=JK();return function(){var n=Na(e),o;if(t){var i=Na(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XK(this,o)}}var YK=function(e){GK(r,e);var t=ZK(r);function r(n){KK(this,r);var o;return o=t.call(this,n),dS(pS(o),"props",void 0),o.props=new _S(n==null?void 0:n.props),o}return r}(vn);dS(YK,"controlType","gridtable-column");function Sh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fa(e){return Fa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fa(e)}function tG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Eh(e,t)}function nG(e,t){return t&&(rG(t)==="object"||typeof t=="function")?t:Sh(e)}function Eh(e,t){return Eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eh(e,t)}function rG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iG(e){var t=oG();return function(){var n=Fa(e),o;if(t){var i=Fa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nG(this,o)}}var uG=function(e){tG(r,e);var t=iG(r);function r(n){eG(this,r);var o;o=t.call(this,n),vS(Sh(o),"childMinWidth",void 0),vS(Sh(o),"colGap",void 0);var i;o.childMinWidth=(i=n==null?void 0:n.childMinWidth)!==null&&i!==void 0?i:230;var u;return o.colGap=(u=n==null?void 0:n.colGap)!==null&&u!==void 0?u:24,o}return r}(ce);function hS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function lG(e,t,r){return t&&bS(e.prototype,t),r&&bS(e,r),e}function Th(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ja(e){return ja=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ja(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&&Ih(e,t)}function fG(e,t){return t&&(sG(t)==="object"||typeof t=="function")?t:hS(e)}function Ih(e,t){return Ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ih(e,t)}function sG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _G(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yG(e){var t=_G();return function(){var n=ja(e),o;if(t){var i=ja(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fG(this,o)}}var gS=function(e){aG(r,e);var t=yG(r);function r(n){cG(this,r);var o;return o=t.call(this,n),Th(hS(o),"props",void 0),o.props=new uG(n==null?void 0:n.props),o}return lG(r,null,[{key:"controlName",get:function(){return"\u6362\u884C\u5BB9\u5668"}},{key:"controlType",get:function(){return"grid-layout-container"}},{key:"controlIcon",get:function(){return"icona-huanhangrongqi1"}}]),r}(le);Th(gS,"excludes",[y.GRID_LAYOUT_CONTAINER,y.CARD_GROUP,y.TAB]),Th(gS,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}]);function mS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dG(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function La(e){return La=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},La(e)}function 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&&Bh(e,t)}function hG(e,t){return t&&(bG(t)==="object"||typeof t=="function")?t:mS(e)}function Bh(e,t){return Bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bh(e,t)}function bG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mG(e){var t=gG();return function(){var n=La(e),o;if(t){var i=La(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hG(this,o)}}var OG=function(e){vG(r,e);var t=mG(r);function r(n){pG(this,r);var o;o=t.call(this,n),dG(mS(o),"mobileShowType",void 0);var i;return o.mobileShowType=(i=n==null?void 0:n.mobileShowType)!==null&&i!==void 0?i:"vertical",o}return r}(ce);function Ah(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ma(e){return Ma=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ma(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&&kh(e,t)}function wG(e,t){return t&&($G(t)==="object"||typeof t=="function")?t:Ah(e)}function kh(e,t){return kh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kh(e,t)}function $G(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $S(e){var t=PG();return function(){var n=Ma(e),o;if(t){var i=Ma(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wG(this,o)}}var RG=function(e){wS(r,e);var t=$S(r);function r(n){OS(this,r);var o;return o=t.call(this,n),xh(Ah(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),o}return r}(Y),PS=function(e){wS(r,e);var t=$S(r);function r(n){OS(this,r);var o;o=t.call(this,n),xh(Ah(o),"caption",void 0);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:qa.controlName,o}return r}(ce);xh(PS,"Rules",RG);function RS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function EG(e,t,r){return t&&SS(e.prototype,t),r&&SS(e,r),e}function Dh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ca(e){return Ca=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ca(e)}function TG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nh(e,t)}function IG(e,t){return t&&(BG(t)==="object"||typeof t=="function")?t:RS(e)}function Nh(e,t){return Nh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nh(e,t)}function BG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xG(e){var t=AG();return function(){var n=Ca(e),o;if(t){var i=Ca(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return IG(this,o)}}var Va=function(e){TG(r,e);var t=xG(r);function r(n){SG(this,r);var o;return o=t.call(this,n),Dh(RS(o),"props",void 0),o.props=new PS(n==null?void 0:n.props),o}return EG(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u5355\u5143"}},{key:"controlType",get:function(){return"tab-pane"}},{key:"controlIcon",get:function(){return"tab-pane"}}]),r}(le);Dh(Va,"excludes",[y.TAB]),Dh(Va,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}]);function ES(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function DG(e,t,r){return t&&TS(e.prototype,t),r&&TS(e,r),e}function za(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ha(e){return Ha=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ha(e)}function 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&&Fh(e,t)}function FG(e,t){return t&&(jG(t)==="object"||typeof t=="function")?t:ES(e)}function Fh(e,t){return Fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fh(e,t)}function jG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MG(e){var t=LG();return function(){var n=Ha(e),o;if(t){var i=Ha(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FG(this,o)}}var qa=function(e){NG(r,e);var t=MG(r);function r(n){kG(this,r);var o;o=t.call(this,n),za(ES(o),"props",void 0),o.props=new OG(n==null?void 0:n.props);var i;return o.children=(i=n==null?void 0:n.children)!==null&&i!==void 0?i:[new Va,new Va],o}return DG(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u9875"}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),r}(le);za(qa,"excludes",[y.TAB]),za(qa,"controlEventKeys",["on_change_tab"]),za(qa,"setting",[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}]);function CG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ua(e){return Ua=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ua(e)}function 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&&jh(e,t)}function HG(e,t){return t&&(qG(t)==="object"||typeof t=="function")?t:CG(e)}function jh(e,t){return jh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jh(e,t)}function qG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function UG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WG(e){var t=UG();return function(){var n=Ua(e),o;if(t){var i=Ua(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return HG(this,o)}}var KG=function(e){zG(r,e);var t=WG(r);function r(n){return VG(this,r),t.call(this,n)}return r}(ce);function IS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function XG(e,t,r){return t&&BS(e.prototype,t),r&&BS(e,r),e}function AS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wa(e){return Wa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wa(e)}function 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&&Lh(e,t)}function JG(e,t){return t&&(ZG(t)==="object"||typeof t=="function")?t:IS(e)}function Lh(e,t){return Lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lh(e,t)}function ZG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eX(e){var t=YG();return function(){var n=Wa(e),o;if(t){var i=Wa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JG(this,o)}}var tX=function(e){QG(r,e);var t=eX(r);function r(n){GG(this,r);var o;return o=t.call(this,n),AS(IS(o),"props",void 0),o.props=new KG({}),o.children=(n==null?void 0:n.children)||[new To({props:new Eo({span:12})}),new To({props:new Eo({span:12})})],o}return XG(r,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),r}(le);AS(tX,"excludes",[y.GRID_ROW,y.ROW,y.GRID,y.SUBTABLE,y.TAB,y.TOOLBOX]);function G(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function X(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ka(e){return Ka=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ka(e)}function Ch(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vh(e,t)}function nX(e,t){return t&&(rX(t)==="object"||typeof t=="function")?t:G(e)}function Vh(e,t){return Vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vh(e,t)}function rX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zh(e){var t=oX();return function(){var n=Ka(e),o;if(t){var i=Ka(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nX(this,o)}}var xS;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(xS||(xS={}));var iX=function(e){Ch(r,e);var t=zh(r);function r(n){Mh(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(pn),uX=function(e){Ch(r,e);var t=zh(r);function r(n){Mh(this,r);var o;if(o=t.call(this,n),X(G(o),"triggerFieldCode",{type:"any"}),X(G(o),"datasourceBind",{type:"any"}),X(G(o),"joinRelation",[{type:"any"}]),console.log("--ListViewControlPropertyRules--"),n.triggerType===2&&n.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")}),n.isShowJoinRelation&&(o.joinRelation=[{type:"object",message:h.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:h.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:h.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:h.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:h.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:h.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),t_.call(G(o),{optionConfig:"datasource",datasourceBind:n.datasourceBind,options:[]}),Array.isArray(o.datasourceBind)&&o.datasourceBind.length>1){var i=o.datasourceBind.find(function(u){return u.type==="object"&&u.fields});i&&(delete i.fields.valueFieldCode,delete i.fields.displayBoList)}return o}return r}(Y),Ao=function(e){Ch(r,e);var t=zh(r);function r(n){Mh(this,r);var o;o=t.call(this,n),X(G(o),"datasourceBind",void 0),X(G(o),"isLoading",void 0),X(G(o),"isShowSubList",void 0),X(G(o),"triggerType",void 0),X(G(o),"triggerFieldCode",void 0),X(G(o),"sublistPage",void 0),X(G(o),"isShowJoinRelation",void 0),X(G(o),"joinRelation",void 0),X(G(o),"showType",void 0),X(G(o),"showFullScreen",void 0),X(G(o),"isFixedHeader",void 0),X(G(o),"selectionType",void 0),X(G(o),"isShowSelection",void 0),X(G(o),"isAllLoaded",void 0),X(G(o),"countType",void 0),X(G(o),"countLimit",void 0),X(G(o),"rowStyle",void 0),o.datasourceBind=new ne(n==null?void 0:n.datasourceBind);var i;o.isLoading=(i=n==null?void 0:n.isLoading)!==null&&i!==void 0?i:!1;var u;o.isShowSubList=(u=n==null?void 0:n.isShowSubList)!==null&&u!==void 0?u:!1;var c;o.triggerType=(c=n==null?void 0:n.triggerType)!==null&&c!==void 0?c:1;var l;o.triggerFieldCode=(l=n==null?void 0:n.triggerFieldCode)!==null&&l!==void 0?l:"",o.sublistPage=new tx(n==null?void 0:n.sublistPage);var a;o.isShowJoinRelation=(a=n==null?void 0:n.isShowJoinRelation)!==null&&a!==void 0?a:!1,o.joinRelation=new rx(n==null?void 0:n.joinRelation);var f;o.showType=(f=n==null?void 0:n.showType)!==null&&f!==void 0?f:"stretch";var _;o.showFullScreen=(_=n==null?void 0:n.showFullScreen)!==null&&_!==void 0?_:!1;var p;o.selectionType=(p=n==null?void 0:n.selectionType)!==null&&p!==void 0?p:"multiple";var g;o.isFixedHeader=(g=n==null?void 0:n.isFixedHeader)!==null&&g!==void 0?g:!1;var O;o.isShowSelection=(O=n==null?void 0:n.isShowSelection)!==null&&O!==void 0?O:!1;var b;o.isAllLoaded=(b=n==null?void 0:n.isAllLoaded)!==null&&b!==void 0?b:!0,o.countType=n==null?void 0:n.countType;var w;return o.countLimit=(w=n==null?void 0:n.countLimit)!==null&&w!==void 0?w:1e5,o.rowStyle=new gx(n==null?void 0:n.rowStyle),o}return r}(ce);X(Ao,"Rules",uX),X(Ao,"RuntimeRules",iX);function kS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function lX(e,t,r){return t&&DS(e.prototype,t),r&&DS(e,r),e}function xo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ga(e){return Ga=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ga(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&&Hh(e,t)}function fX(e,t){return t&&(sX(t)==="object"||typeof t=="function")?t:kS(e)}function Hh(e,t){return Hh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hh(e,t)}function sX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _X(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yX(e){var t=_X();return function(){var n=Ga(e),o;if(t){var i=Ga(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fX(this,o)}}var ko=function(e){aX(r,e);var t=yX(r);function r(n){cX(this,r);var o;return o=t.call(this,n),xo(kS(o),"props",void 0),o.props=new Ao(n==null?void 0:n.props),o}return lX(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u5BB9\u5668"}},{key:"controlType",get:function(){return"list-view"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(le);xo(ko,"slotPosition",{left:"list-view-left-slot"}),xo(ko,"excludes",[y.ROW]),xo(ko,"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"]),xo(ko,"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 NS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dX(e,t,r){return t&&FS(e.prototype,t),r&&FS(e,r),e}function vX(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xa(e){return Xa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xa(e)}function hX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qh(e,t)}function bX(e,t){return t&&(gX(t)==="object"||typeof t=="function")?t:NS(e)}function qh(e,t){return qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qh(e,t)}function gX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OX(e){var t=mX();return function(){var n=Xa(e),o;if(t){var i=Xa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bX(this,o)}}var wX=function(e){hX(r,e);var t=OX(r);function r(n){pX(this,r);var o;return o=t.call(this,n),vX(NS(o),"props",void 0),o.props=new Ao(n==null?void 0:n.props),o}return dX(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(vn),$X={Designer:ko,Runtime:wX,Property:Ao};function ln(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function an(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qa(e){return Qa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qa(e)}function LS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uh(e,t)}function PX(e,t){return t&&(RX(t)==="object"||typeof t=="function")?t:ln(e)}function Uh(e,t){return Uh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uh(e,t)}function RX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MS(e){var t=SX();return function(){var n=Qa(e),o;if(t){var i=Qa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PX(this,o)}}var EX=function(e){LS(r,e);var t=MS(r);function r(n){jS(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(pn),Ja=function(e){LS(r,e);var t=MS(r);function r(n){jS(this,r);var o;o=t.call(this,n),an(ln(o),"save",void 0),an(ln(o),"cancel",void 0),an(ln(o),"saveAs",void 0),an(ln(o),"print",void 0),an(ln(o),"custom",void 0),an(ln(o),"isLoading",void 0),an(ln(o),"datasourceBind",void 0);var i;o.save=new Wt((i=n==null?void 0:n.save)!==null&&i!==void 0?i:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var u;o.cancel=new Wt((u=n==null?void 0:n.cancel)!==null&&u!==void 0?u:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var c;o.saveAs=new Wt((c=n==null?void 0:n.saveAs)!==null&&c!==void 0?c:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1});var l;o.print=new Wt((l=n==null?void 0:n.print)!==null&&l!==void 0?l:{content:"\u6253\u5370",type:"print",isShow:!1});var a;o.custom=((a=n==null?void 0:n.custom)!==null&&a!==void 0?a:[]).map(function(_){return new Wt(_)});var f;return o.isLoading=(f=n==null?void 0:n.isLoading)!==null&&f!==void 0?f:!1,o.datasourceBind=new ne(n==null?void 0:n.datasourceBind),o}return r}(ce);an(Ja,"RuntimeRules",EX);function CS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function IX(e,t,r){return t&&VS(e.prototype,t),r&&VS(e,r),e}function zS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Za(e){return Za=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Za(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&&Wh(e,t)}function AX(e,t){return t&&(xX(t)==="object"||typeof t=="function")?t:CS(e)}function Wh(e,t){return Wh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wh(e,t)}function xX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DX(e){var t=kX();return function(){var n=Za(e),o;if(t){var i=Za(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AX(this,o)}}var HS=function(e){BX(r,e);var t=DX(r);function r(n){TX(this,r);var o;return o=t.call(this,n),zS(CS(o),"props",void 0),o.props=new Ja(n==null?void 0:n.props),o}return IX(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(le);zS(HS,"excludes",[]);function qS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function US(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function FX(e,t,r){return t&&US(e.prototype,t),r&&US(e,r),e}function jX(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ya(e){return Ya=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ya(e)}function LX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kh(e,t)}function MX(e,t){return t&&(CX(t)==="object"||typeof t=="function")?t:qS(e)}function Kh(e,t){return Kh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kh(e,t)}function CX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zX(e){var t=VX();return function(){var n=Ya(e),o;if(t){var i=Ya(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return MX(this,o)}}var HX=function(e){LX(r,e);var t=zX(r);function r(n){NX(this,r);var o;return o=t.call(this,n),jX(qS(o),"props",void 0),o.props=new Ja(n==null?void 0:n.props),o}return FX(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(vn),qX={Designer:HS,Runtime:HX,Property:Ja};function ef(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tf(e){return tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tf(e)}function 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&&Xh(e,t)}function KX(e,t){return t&&(GX(t)==="object"||typeof t=="function")?t:ef(e)}function Xh(e,t){return Xh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xh(e,t)}function GX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QX(e){var t=XX();return function(){var n=tf(e),o;if(t){var i=tf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KX(this,o)}}var JX=function(e){WX(r,e);var t=QX(r);function r(n){UX(this,r);var o;o=t.call(this,n),Gh(ef(o),"position",void 0),Gh(ef(o),"opacity",void 0),Gh(ef(o),"align",void 0);var i;o.position=(i=n==null?void 0:n.position)!==null&&i!==void 0?i:"bottom";var u;o.opacity=(u=n==null?void 0:n.opacity)!==null&&u!==void 0?u:!0;var c;return o.align=(c=n==null?void 0:n.align)!==null&&c!==void 0?c:"right",o}return r}(ce);function WS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function YX(e,t,r){return t&&KS(e.prototype,t),r&&KS(e,r),e}function nf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rf(e){return rf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rf(e)}function eQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 tQ(e,t){return t&&(nQ(t)==="object"||typeof t=="function")?t:WS(e)}function Qh(e,t){return Qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qh(e,t)}function nQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oQ(e){var t=rQ();return function(){var n=rf(e),o;if(t){var i=rf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tQ(this,o)}}var Jh=function(e){eQ(r,e);var t=oQ(r);function r(n){ZX(this,r);var o;o=t.call(this,n),nf(WS(o),"props",void 0);var i;return o.props=new JX((i=n==null?void 0:n.props)!==null&&i!==void 0?i:{}),o}return YX(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE\u64CD\u4F5C\u680F"}},{key:"controlType",get:function(){return"action-bar"}},{key:"controlIcon",get:function(){return"action-bar"}}]),r}(le);nf(Jh,"slotPosition",{default:"action-bar-slot"}),nf(Jh,"excludes",[]),nf(Jh,"setting",[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}]);function B(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function of(e){return of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},of(e)}function Yh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&e0(e,t)}function iQ(e,t){return t&&(uQ(t)==="object"||typeof t=="function")?t:B(e)}function e0(e,t){return e0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},e0(e,t)}function uQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function t0(e){var t=cQ();return function(){var n=of(e),o;if(t){var i=of(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iQ(this,o)}}var lQ=function(e){Yh(r,e);var t=t0(r);function r(n){Zh(this,r);var o;return o=t.call(this,n),I(B(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),I(B(o),"limitRows",[{type:"number",required:!0,message:h.getMessage("isNotNumber")},{type:"number",min:0,message:h.getMessage("limitRowsCannotBeLessThan0")}]),I(B(o),"formKey",{type:"string",required:!1,message:h.getMessage("pleaseEnterForm")}),I(B(o),"maxHeight",{type:"number",required:!0,message:h.getMessage("pleaseEnterMaxHeight")}),I(B(o),"captionTip",{type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")}),I(B(o),"mobileRowCaption",{type:"string",required:!1,message:h.getMessage("pleaseEnterRowCaption")}),n.openType==="modal"&&(o.formKey.required=!0),n.isShowCaptionTip&&(o.captionTip.required=!0),n.mobileShowType==="tile"&&(o.mobileRowCaption.required=!0),o}return r}(Y),aQ=function(e){Yh(r,e);var t=t0(r);function r(n){Zh(this,r);var o;return o=t.call(this,n),n.isHide||o.push({type:"array",required:n.limitRows>0,message:h.getMessage("runtimeRequired",{caption:n.caption})},{type:"array",validator:function(u,c,l){c.length<n.limitRows&&l(h.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})),l()},message:h.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})}),o}return r}(pn),n0=function(e){Yh(r,e);var t=t0(r);function r(n,o){Zh(this,r);var i;i=t.call(this,n,o,r.mode),I(B(i),"caption",void 0),I(B(i),"labelPosition",void 0),I(B(i),"isHideCaption",void 0),I(B(i),"isShowCaptionTip",void 0),I(B(i),"captionTip",void 0),I(B(i),"defaultState",void 0),I(B(i),"limitRows",void 0),I(B(i),"maxRows",void 0),I(B(i),"defaultRows",void 0),I(B(i),"datasourceBind",void 0),I(B(i),"printMode",void 0),I(B(i),"openType",void 0),I(B(i),"formKey",void 0),I(B(i),"useCustomHeight",void 0),I(B(i),"maxHeight",void 0),I(B(i),"canAdd",void 0),I(B(i),"canDelete",void 0),I(B(i),"canCheck",void 0),I(B(i),"canEdit",void 0),I(B(i),"canImport",void 0),I(B(i),"importConfig",void 0),I(B(i),"canExport",void 0),I(B(i),"exportConfig",void 0),I(B(i),"canClear",void 0),I(B(i),"isPaste",void 0),I(B(i),"mobileShowType",void 0),I(B(i),"mobileDefaultNum",void 0),I(B(i),"dataStorageDoc",void 0),I(B(i),"serverPagination",void 0),I(B(i),"fixedColumn",void 0),I(B(i),"mobileRowCaption",void 0),I(B(i),"mobileIsTile",void 0),I(B(i),"sortable",void 0),I(B(i),"sortKey",void 0);var u;i.caption=(u=o==null?void 0:o.caption)!==null&&u!==void 0?u:lf.controlName;var c;i.isHideCaption=(c=o==null?void 0:o.isHideCaption)!==null&&c!==void 0?c:!1;var l;i.defaultState=(l=o==null?void 0:o.defaultState)!==null&&l!==void 0?l:"default";var a;i.labelPosition=(a=o==null?void 0:o.labelPosition)!==null&&a!==void 0?a:"top";var f;i.openType=(f=o==null?void 0:o.openType)!==null&&f!==void 0?f:"default";var _;i.formKey=(_=o==null?void 0:o.formKey)!==null&&_!==void 0?_:"";var p;i.useCustomHeight=(p=o==null?void 0:o.useCustomHeight)!==null&&p!==void 0?p:!1;var g;i.maxHeight=(g=o==null?void 0:o.maxHeight)!==null&&g!==void 0?g:aN;var O;i.printMode=(O=o==null?void 0:o.printMode)!==null&&O!==void 0?O:"row";var b;i.limitRows=(b=o==null?void 0:o.limitRows)!==null&&b!==void 0?b:1;var w;i.maxRows=(w=o==null?void 0:o.maxRows)!==null&&w!==void 0?w:null;var d;i.defaultRows=(d=o==null?void 0:o.defaultRows)!==null&&d!==void 0?d:1,i.datasourceBind=new ne(o==null?void 0:o.datasourceBind);var $;i.canAdd=($=o==null?void 0:o.canAdd)!==null&&$!==void 0?$:!0;var P;i.canDelete=(P=o==null?void 0:o.canDelete)!==null&&P!==void 0?P:!0;var S;i.canCheck=(S=o==null?void 0:o.canCheck)!==null&&S!==void 0?S:!1;var E;i.canEdit=(E=o==null?void 0:o.canEdit)!==null&&E!==void 0?E:!1;var C;i.canImport=(C=o==null?void 0:o.canImport)!==null&&C!==void 0?C:!1;var x;i.canExport=(x=o==null?void 0:o.canExport)!==null&&x!==void 0?x:!1;var K;i.canClear=(K=o==null?void 0:o.canClear)!==null&&K!==void 0?K:!0;var A;i.serverPagination=(A=o==null?void 0:o.serverPagination)!==null&&A!==void 0?A:!1;var Pt;i.isShowCaptionTip=(Pt=o==null?void 0:o.isShowCaptionTip)!==null&&Pt!==void 0?Pt:!1;var Ho;i.captionTip=(Ho=o==null?void 0:o.captionTip)!==null&&Ho!==void 0?Ho:"";var Ur;i.mobileShowType=(Ur=o==null?void 0:o.mobileShowType)!==null&&Ur!==void 0?Ur:"list";var In;i.mobileDefaultNum=(In=o==null?void 0:o.mobileDefaultNum)!==null&&In!==void 0?In:10;var Rt;i.dataStorageDoc=(Rt=o==null?void 0:o.dataStorageDoc)!==null&&Rt!==void 0?Rt:new JA;var Wb;i.fixedColumn=(Wb=o==null?void 0:o.fixedColumn)!==null&&Wb!==void 0?Wb:[];var Kb;i.mobileRowCaption=(Kb=o==null?void 0:o.mobileRowCaption)!==null&&Kb!==void 0?Kb:"\u660E\u7EC6";var Gb;i.mobileIsTile=(Gb=o==null?void 0:o.mobileIsTile)!==null&&Gb!==void 0?Gb:!1;var Xb;i.isPaste=(Xb=o==null?void 0:o.isPaste)!==null&&Xb!==void 0?Xb:!1;var Qb;i.pageSize=(Qb=o==null?void 0:o.pageSize)!==null&&Qb!==void 0?Qb:10;var Jb;i.pageSizeOptions=(Jb=o==null?void 0:o.pageSizeOptions)!==null&&Jb!==void 0?Jb:[10,20,50,100],i.importConfig=new cN(o==null?void 0:o.importConfig),i.exportConfig=new lN(o==null?void 0:o.exportConfig);var Zb;i.sortable=(Zb=o==null?void 0:o.sortable)!==null&&Zb!==void 0?Zb:!1;var Yb;return i.sortKey=(Yb=o==null?void 0:o.sortKey)!==null&&Yb!==void 0?Yb:{},i}return r}(y_);I(n0,"Rules",lQ),I(n0,"RuntimeRules",aQ);function r0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function sQ(e,t,r){return t&&GS(e.prototype,t),r&&GS(e,r),e}function uf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cf(e){return cf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cf(e)}function _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&&o0(e,t)}function yQ(e,t){return t&&(pQ(t)==="object"||typeof t=="function")?t:r0(e)}function o0(e,t){return o0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},o0(e,t)}function pQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vQ(e){var t=dQ();return function(){var n=cf(e),o;if(t){var i=cf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yQ(this,o)}}var lf=function(e){_Q(r,e);var t=vQ(r);function r(n){fQ(this,r);var o,i,u;return o=t.call(this,n),uf(r0(o),"props",void 0),o.props=new n0(r0(o),n==null?void 0:n.props),(n==null||(i=n.props)===null||i===void 0?void 0:i.headers)===void 0&&(o.props.headers=[new ft,new ft,new ft]),(n==null||(u=n.props)===null||u===void 0?void 0:u.footers)===void 0&&(o.props.footers=[]),o}return sQ(r,[{key:"addColumn",value:function(o,i){var u=o!==void 0&&typeof o!="number"?o:new ft,c=typeof o=="number"?o:i;return c===void 0?this.props.headers.push(u):this.props.headers.splice(c,0,u),u}}],[{key:"controlName",get:function(){return"\u660E\u7EC6\u5B50\u8868"}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),r}(v_);uf(lf,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),uf(lf,"slotPosition",{toolbar:"subtable-toolbar-slot"}),uf(lf,"setting",[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP,s.IS_PASTE,s.SERVER_PAGINATION,s.SORTABLE]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"max-rows",visible:!0},{key:"list-pager",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}]);function ur(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Do(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function af(e){return af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},af(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&&i0(e,t)}function gQ(e,t){return t&&(mQ(t)==="object"||typeof t=="function")?t:ur(e)}function i0(e,t){return i0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},i0(e,t)}function mQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wQ(e){var t=OQ();return function(){var n=af(e),o;if(t){var i=af(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gQ(this,o)}}var $Q=function(e){bQ(r,e);var t=wQ(r);function r(n,o){hQ(this,r);var i;i=t.call(this,n,o),Do(ur(i),"isFixedHeader",void 0),Do(ur(i),"selectionType",void 0),Do(ur(i),"isShowToolbar",void 0),Do(ur(i),"isShowSelection",void 0),Do(ur(i),"isShowCustomColumns",void 0);var u;i.isFixedHeader=(u=o==null?void 0:o.isFixedHeader)!==null&&u!==void 0?u:!1,i.selectionType=o==null?void 0:o.selectionType;var c;i.isShowToolbar=(c=o==null?void 0:o.isShowToolbar)!==null&&c!==void 0?c:!0;var l;i.isShowSelection=(l=o==null?void 0:o.isShowSelection)!==null&&l!==void 0?l:!1;var a;i.isShowCustomColumns=(a=o==null?void 0:o.isShowCustomColumns)!==null&&a!==void 0?a:!0;var f;return i.pageSizeOptions=(f=o==null?void 0:o.pageSizeOptions)!==null&&f!==void 0?f:[10,20,50,100,500],i}return r}(y_);function PQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RQ(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ff(e){return ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ff(e)}function QS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u0(e,t)}function SQ(e,t){return t&&(EQ(t)==="object"||typeof t=="function")?t:PQ(e)}function u0(e,t){return u0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},u0(e,t)}function EQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JS(e){var t=TQ();return function(){var n=ff(e),o;if(t){var i=ff(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SQ(this,o)}}var IQ=function(e){QS(r,e);var t=JS(r);function r(n){XS(this,r);var o;return o=t.call(this,n),o.caption.required=!1,o}return r}(pt),c0=function(e){QS(r,e);var t=JS(r);function r(n){XS(this,r);var o,i,u;o=t.call(this,n);var c;o.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:"left";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:cr.controlName;var a;o.width=(a=n==null?void 0:n.width)!==null&&a!==void 0?a:60;var f;o.autoWidth.minWidth=(f=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.minWidth)!==null&&f!==void 0?f:60;var _;o.autoWidth.flex=(_=n==null||(u=n.autoWidth)===null||u===void 0?void 0:u.flex)!==null&&_!==void 0?_:.4;var p;return o.widthType=(p=n==null?void 0:n.widthType)!==null&&p!==void 0?p:"px",o}return r}(Z);RQ(c0,"Rules",IQ);function ZS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function No(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sf(e){return sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sf(e)}function 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&&l0(e,t)}function xQ(e,t){return t&&(kQ(t)==="object"||typeof t=="function")?t:ZS(e)}function l0(e,t){return l0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},l0(e,t)}function kQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NQ(e){var t=DQ();return function(){var n=sf(e),o;if(t){var i=sf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xQ(this,o)}}var cr=function(e){AQ(r,e);var t=NQ(r);function r(n){BQ(this,r);var o;return o=t.call(this,n),No(ZS(o),"props",void 0),o.props=new c0(n==null?void 0:n.props),o}return r}(fe);No(cr,"controlType","order-column"),No(cr,"controlName","\u5E8F\u53F7"),No(cr,"controlIcon","order-column"),No(cr,"setting",[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}]);function YS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _f(e){return _f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_f(e)}function 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&&f0(e,t)}function LQ(e,t){return t&&(MQ(t)==="object"||typeof t=="function")?t:YS(e)}function f0(e,t){return f0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},f0(e,t)}function MQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VQ(e){var t=CQ();return function(){var n=_f(e),o;if(t){var i=_f(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return LQ(this,o)}}var eE=function(e){jQ(r,e);var t=VQ(r);function r(n){FQ(this,r);var o;return o=t.call(this,n),a0(YS(o),"props",void 0),o.props=new c0(n==null?void 0:n.props),o}return r}(se);a0(eE,"controlType","order-column"),a0(eE,"controlFieldType",m.DECIMAL);function s0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yf(e){return yf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yf(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&&_0(e,t)}function qQ(e,t){return t&&(UQ(t)==="object"||typeof t=="function")?t:s0(e)}function _0(e,t){return _0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_0(e,t)}function UQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KQ(e){var t=WQ();return function(){var n=yf(e),o;if(t){var i=yf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qQ(this,o)}}var nE=function(e){HQ(r,e);var t=KQ(r);function r(n){zQ(this,r);var o,i;o=t.call(this,n),tE(s0(o),"showType",void 0),tE(s0(o),"limit",void 0);var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:"right",o.widthType="auto";var c;o.autoWidth.minWidth=(c=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.minWidth)!==null&&c!==void 0?c:84;var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:lr.controlName;var a;o.showType=(a=n==null?void 0:n.showType)!==null&&a!==void 0?a:"icon";var f;return o.limit=(f=n==null?void 0:n.limit)!==null&&f!==void 0?f:3,o}return r}(Z);function rE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oE(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(a){r(a);return}c.done?t(l):Promise.resolve(l).then(n,o)}function GQ(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){oE(i,n,o,u,c,"next",l)}function c(l){oE(i,n,o,u,c,"throw",l)}u(void 0)})}}function XQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function QQ(e,t,r){return t&&iE(e.prototype,t),r&&iE(e,r),e}function Fo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jo(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?jo=Reflect.get:jo=function(o,i,u){var c=YQ(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},jo(e,t,r||e)}function $n(e){return $n=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$n(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&&y0(e,t)}function ZQ(e,t){return t&&(eJ(t)==="object"||typeof t=="function")?t:rE(e)}function y0(e,t){return y0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},y0(e,t)}function YQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=$n(e),e!==null););return e}function eJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nJ(e){var t=tJ();return function(){var n=$n(e),o;if(t){var i=$n(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZQ(this,o)}}function rJ(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(a){return function(f){return l([a,f])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(f){a=[6,f],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var lr=function(e){JQ(r,e);var t=nJ(r);function r(n){XQ(this,r);var o;return o=t.call(this,n),Fo(rE(o),"props",void 0),o.props=new nE(n==null?void 0:n.props),o}return QQ(r,[{key:"toDataBindModel",value:function(){var o=jo($n(r.prototype),"toDataBindModel",this).call(this);return this.children.map(function(i){if(i.type===Iu.controlType){var u=i;o.props[u.props.command]=u.props}}),o}},{key:"validate",value:function(o,i){var u=this,c=this,l=function(){return jo($n(r.prototype),"validate",u)};return GQ(function(){return rJ(this,function(a){switch(a.label){case 0:return[4,l().call(c,o,i)];case 1:return a.sent(),[4,Promise.all(c.children.map(function(f){return f.validate(o,i)}))];case 2:return a.sent(),[2,!0]}})})()}}]),r}(fe);Fo(lr,"controlType","operation-column"),Fo(lr,"controlName","\u64CD\u4F5C"),Fo(lr,"controlIcon","operation-column"),Fo(lr,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}]);function uE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pf(e){return pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pf(e)}function 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&&d0(e,t)}function uJ(e,t){return t&&(cJ(t)==="object"||typeof t=="function")?t:uE(e)}function d0(e,t){return d0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},d0(e,t)}function cJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aJ(e){var t=lJ();return function(){var n=pf(e),o;if(t){var i=pf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uJ(this,o)}}var cE=function(e){iJ(r,e);var t=aJ(r);function r(n){oJ(this,r);var o;return o=t.call(this,n),p0(uE(o),"props",void 0),o.props=new nE(n==null?void 0:n.props),o}return r}(se);p0(cE,"controlType","operation-column"),p0(cE,"controlFieldType",m.FILE);function Pn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lE(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(a){r(a);return}c.done?t(l):Promise.resolve(l).then(n,o)}function fJ(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){lE(i,n,o,u,c,"next",l)}function c(l){lE(i,n,o,u,c,"throw",l)}u(void 0)})}}function sJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _J(e,t,r){return t&&aE(e.prototype,t),r&&aE(e,r),e}function Vt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lo(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Lo=Reflect.get:Lo=function(o,i,u){var c=gJ(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Lo(e,t,r||e)}function Rn(e){return Rn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rn(e)}function yJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v0(e,t)}function pJ(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function dJ(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Vt(e,o,r[o])})}return e}function vJ(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function hJ(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):vJ(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function bJ(e,t){return t&&(mJ(t)==="object"||typeof t=="function")?t:Pn(e)}function v0(e,t){return v0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},v0(e,t)}function gJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Rn(e),e!==null););return e}function mJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wJ(e){var t=OJ();return function(){var n=Rn(e),o;if(t){var i=Rn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bJ(this,o)}}function $J(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(a){return function(f){return l([a,f])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(f){a=[6,f],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var PJ=1e4,df=function(t){yJ(n,t);var r=wJ(n);function n(o){sJ(this,n);var i,u;i=r.call(this,o),Vt(Pn(i),"props",void 0),Vt(Pn(i),"children",void 0),Vt(Pn(i),"excludes",void 0),Vt(Pn(i),"childrenMaxLength",void 0);var c=pJ(this,n)?this.constructor:void 0,l=c.excludes,a=c.childrenMaxLength;return i.props=new $Q(Pn(i),o==null?void 0:o.props),St(Pn(i),"children",o==null?void 0:o.children,void 0,"Designer"),(o==null?void 0:o.props.headers)===void 0&&(i.props.headers=[new cr,new lr]),(o==null||(u=o.props)===null||u===void 0?void 0:u.footers)===void 0&&(i.props.footers=[]),i.excludes=Je(l),i.childrenMaxLength=a,i}return _J(n,[{key:"judgeJoinChildren",value:function(i){var u=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i);return u&&this.childrenMaxLength>this.children.length}},{key:"toSchema",value:function(){var i=Lo(Rn(n.prototype),"toSchema",this).call(this),u=this.children.map(function(c){return c.toSchema()});return hJ(dJ({},i),{children:u})}},{key:"validate",value:function(i,u){var c=this,l=this,a=function(){return Lo(Rn(n.prototype),"validate",c)};return fJ(function(){return $J(this,function(f){switch(f.label){case 0:return[4,a().call(l,i,u)];case 1:return f.sent(),[4,Promise.all(l.children.map(function(_){return _.validate(i,u)}))];case 2:return f.sent(),[2,!0]}})})()}}],[{key:"controlName",get:function(){return"\u8868\u683C"}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),n}(v_);Vt(df,"slotPosition",{toolbar:"grid-table-toolbar-slot"}),Vt(df,"setting",[{key:"list-fixed-header",visible:!0}]),Vt(df,"excludes",[]),Vt(df,"childrenMaxLength",PJ);function zt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vf(e){return vf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vf(e)}function sE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h0(e,t)}function RJ(e,t){return t&&(SJ(t)==="object"||typeof t=="function")?t:zt(e)}function h0(e,t){return h0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},h0(e,t)}function SJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function EJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _E(e){var t=EJ();return function(){var n=vf(e),o;if(t){var i=vf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return RJ(this,o)}}var TJ=function(e){sE(r,e);var t=_E(r);function r(n){fE(this,r);var o;return o=t.call(this,n),Jt.call(zt(o),n),o}return r}(lm),b0=function(e){sE(r,e);var t=_E(r);function r(n){fE(this,r);var o;o=t.call(this,n),fn(zt(o),"optionConfig",void 0),fn(zt(o),"datasourceBind",void 0),fn(zt(o),"showLinkOperation",void 0),fn(zt(o),"linkOperationOption",void 0),fn(zt(o),"options",void 0),fn(zt(o),"lineEllipsis",void 0),fn(zt(o),"dictionaryTagConfig",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:fr.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new ne(n==null?void 0:n.datasourceBind);var c;o.options=Tt((c=n==null?void 0:n.options)!==null&&c!==void 0?c:[{}]);var l;o.showLinkOperation=(l=n==null?void 0:n.showLinkOperation)!==null&&l!==void 0?l:!1,o.linkOperationOption=new Et(n==null?void 0:n.linkOperationOption);var a;o.lineEllipsis=(a=n==null?void 0:n.lineEllipsis)!==null&&a!==void 0?a:1;var f;return o.dictionaryTagConfig=(f=n==null?void 0:n.dictionaryTagConfig)!==null&&f!==void 0?f:{isTag:!1},o}return r}(Z);fn(b0,"Rules",TJ);function yE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ar(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hf(e){return hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hf(e)}function BJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g0(e,t)}function AJ(e,t){return t&&(xJ(t)==="object"||typeof t=="function")?t:yE(e)}function g0(e,t){return g0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},g0(e,t)}function xJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DJ(e){var t=kJ();return function(){var n=hf(e),o;if(t){var i=hf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AJ(this,o)}}var fr=function(e){BJ(r,e);var t=DJ(r);function r(n){IJ(this,r);var o;return o=t.call(this,n),ar(yE(o),"props",void 0),o.props=new b0(n==null?void 0:n.props),o}return r}(fe);ar(fr,"controlType","varchar-column"),ar(fr,"controlName","\u77ED\u6587\u672C"),ar(fr,"controlIcon","varchar-column"),ar(fr,"controlFieldType",m.VARCHAR),ar(fr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function pE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bf(e){return bf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bf(e)}function FJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&O0(e,t)}function jJ(e,t){return t&&(LJ(t)==="object"||typeof t=="function")?t:pE(e)}function O0(e,t){return O0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},O0(e,t)}function LJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CJ(e){var t=MJ();return function(){var n=bf(e),o;if(t){var i=bf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jJ(this,o)}}var dE=function(e){FJ(r,e);var t=CJ(r);function r(n){NJ(this,r);var o;return o=t.call(this,n),m0(pE(o),"props",void 0),o.props=new b0(n==null?void 0:n.props),o}return r}(se);m0(dE,"controlType","varchar-column"),m0(dE,"controlFieldType",m.VARCHAR);function sr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gf(e){return gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gf(e)}function hE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w0(e,t)}function VJ(e,t){return t&&(zJ(t)==="object"||typeof t=="function")?t:sr(e)}function w0(e,t){return w0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},w0(e,t)}function zJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bE(e){var t=HJ();return function(){var n=gf(e),o;if(t){var i=gf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VJ(this,o)}}var qJ=function(e){hE(r,e);var t=bE(r);function r(n){vE(this,r);var o;return o=t.call(this,n),Jt.call(sr(o),n),o}return r}(pt),$0=function(e){hE(r,e);var t=bE(r);function r(n){vE(this,r);var o;o=t.call(this,n),Mo(sr(o),"escapeHTML",void 0),Mo(sr(o),"showLinkOperation",void 0),Mo(sr(o),"linkOperationOption",void 0),Mo(sr(o),"lineEllipsis",void 0);var i;o.escapeHTML=(i=n==null?void 0:n.escapeHTML)!==null&&i!==void 0?i:!1;var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:pr.controlName;var c;o.lineEllipsis=(c=n==null?void 0:n.lineEllipsis)!==null&&c!==void 0?c:1;var l;return o.showLinkOperation=(l=n==null?void 0:n.showLinkOperation)!==null&&l!==void 0?l:!1,o.linkOperationOption=new Et(n==null?void 0:n.linkOperationOption),o}return r}(Z);Mo($0,"Rules",qJ);function gE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function WJ(e,t,r){return t&&mE(e.prototype,t),r&&mE(e,r),e}function _r(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?mf=Reflect.get:mf=function(o,i,u){var c=XJ(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},mf(e,t,r||e)}function yr(e){return yr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yr(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&&P0(e,t)}function GJ(e,t){return t&&(QJ(t)==="object"||typeof t=="function")?t:gE(e)}function P0(e,t){return P0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},P0(e,t)}function XJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=yr(e),e!==null););return e}function QJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZJ(e){var t=JJ();return function(){var n=yr(e),o;if(t){var i=yr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GJ(this,o)}}var pr=function(e){KJ(r,e);var t=ZJ(r);function r(n){UJ(this,r);var o;return o=t.call(this,n),_r(gE(o),"props",void 0),o.props=new $0(n==null?void 0:n.props),o}return WJ(r,[{key:"toDataBindModel",value:function(o){var i=mf(yr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.escapeHTML;i.props.escapeHTML=u}return i}}]),r}(fe);_r(pr,"controlType","text-column"),_r(pr,"controlName","\u957F\u6587\u672C"),_r(pr,"controlIcon","text-column"),_r(pr,"controlFieldType",m.TEXT),_r(pr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function OE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Of(e){return Of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Of(e)}function eZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&S0(e,t)}function tZ(e,t){return t&&(nZ(t)==="object"||typeof t=="function")?t:OE(e)}function S0(e,t){return S0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},S0(e,t)}function nZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oZ(e){var t=rZ();return function(){var n=Of(e),o;if(t){var i=Of(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tZ(this,o)}}var wE=function(e){eZ(r,e);var t=oZ(r);function r(n){YJ(this,r);var o;return o=t.call(this,n),R0(OE(o),"props",void 0),o.props=new $0(n==null?void 0:n.props),o}return r}(se);R0(wE,"controlType","text-column"),R0(wE,"controlFieldType",m.TEXT);function $t(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $E(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ht(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wf(e){return wf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wf(e)}function PE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&E0(e,t)}function iZ(e,t){return t&&(uZ(t)==="object"||typeof t=="function")?t:$t(e)}function E0(e,t){return E0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},E0(e,t)}function uZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RE(e){var t=cZ();return function(){var n=wf(e),o;if(t){var i=wf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iZ(this,o)}}var lZ=function(e){PE(r,e);var t=RE(r);function r(n){$E(this,r);var o;return o=t.call(this,n),Jt.call($t(o),n),o}return r}(pt),T0=function(e){PE(r,e);var t=RE(r);function r(n){$E(this,r);var o;o=t.call(this,n),Ht($t(o),"optionConfig",void 0),Ht($t(o),"datasourceBind",void 0),Ht($t(o),"showLinkOperation",void 0),Ht($t(o),"linkOperationOption",void 0),Ht($t(o),"options",void 0),Ht($t(o),"precision",void 0),Ht($t(o),"micrometer",void 0),Ht($t(o),"percentageFormat",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:hr.controlName;var u;o.precision=(u=n==null?void 0:n.precision)!==null&&u!==void 0?u:0;var c;o.micrometer=(c=n==null?void 0:n.micrometer)!==null&&c!==void 0?c:!1;var l;o.percentageFormat=(l=n==null?void 0:n.percentageFormat)!==null&&l!==void 0?l:!1;var a;o.optionConfig=(a=n==null?void 0:n.optionConfig)!==null&&a!==void 0?a:"none",o.datasourceBind=new ne(n==null?void 0:n.datasourceBind);var f;o.options=Tt((f=n==null?void 0:n.options)!==null&&f!==void 0?f:[{}]);var _;return o.showLinkOperation=(_=n==null?void 0:n.showLinkOperation)!==null&&_!==void 0?_:!1,o.linkOperationOption=new Et(n==null?void 0:n.linkOperationOption),o}return r}(Z);Ht(T0,"Rules",lZ);function SE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function EE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fZ(e,t,r){return t&&EE(e.prototype,t),r&&EE(e,r),e}function dr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $f(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?$f=Reflect.get:$f=function(o,i,u){var c=yZ(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},$f(e,t,r||e)}function vr(e){return vr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vr(e)}function sZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&I0(e,t)}function _Z(e,t){return t&&(pZ(t)==="object"||typeof t=="function")?t:SE(e)}function I0(e,t){return I0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},I0(e,t)}function yZ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=vr(e),e!==null););return e}function pZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vZ(e){var t=dZ();return function(){var n=vr(e),o;if(t){var i=vr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _Z(this,o)}}var hr=function(e){sZ(r,e);var t=vZ(r);function r(n){aZ(this,r);var o;return o=t.call(this,n),dr(SE(o),"props",void 0),o.props=new T0(n==null?void 0:n.props),o}return fZ(r,[{key:"toDataBindModel",value:function(o){var i=$f(vr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props,c=u.precision,l=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=l}return i}}]),r}(fe);dr(hr,"controlType","decimal-column"),dr(hr,"controlName","\u6570\u503C"),dr(hr,"controlIcon","decimal-column"),dr(hr,"controlFieldType",m.DECIMAL),dr(hr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[s.MICROMETER,s.PRECISION,s.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function TE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function B0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pf(e){return Pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pf(e)}function bZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&A0(e,t)}function gZ(e,t){return t&&(mZ(t)==="object"||typeof t=="function")?t:TE(e)}function A0(e,t){return A0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},A0(e,t)}function mZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wZ(e){var t=OZ();return function(){var n=Pf(e),o;if(t){var i=Pf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gZ(this,o)}}var IE=function(e){bZ(r,e);var t=wZ(r);function r(n){hZ(this,r);var o;return o=t.call(this,n),B0(TE(o),"props",void 0),o.props=new T0(n==null?void 0:n.props),o}return r}(se);B0(IE,"controlType","decimal-column"),B0(IE,"controlFieldType",m.DECIMAL);function Co(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sf(e){return Sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sf(e)}function AE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&x0(e,t)}function $Z(e,t){return t&&(PZ(t)==="object"||typeof t=="function")?t:Co(e)}function x0(e,t){return x0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},x0(e,t)}function PZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xE(e){var t=RZ();return function(){var n=Sf(e),o;if(t){var i=Sf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $Z(this,o)}}var SZ=function(e){AE(r,e);var t=xE(r);function r(n){BE(this,r);var o;return o=t.call(this,n),Jt.call(Co(o),n),o}return r}(pt),k0=function(e){AE(r,e);var t=xE(r);function r(n){BE(this,r);var o;o=t.call(this,n),Rf(Co(o),"dateType",void 0),Rf(Co(o),"showLinkOperation",void 0),Rf(Co(o),"linkOperationOption",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:qt.DATE;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Et(n==null?void 0:n.linkOperationOption);var c;return o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:mr.controlName,o}return r}(Z);Rf(k0,"Rules",SZ);function kE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function TZ(e,t,r){return t&&DE(e.prototype,t),r&&DE(e,r),e}function br(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ef(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ef=Reflect.get:Ef=function(o,i,u){var c=AZ(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Ef(e,t,r||e)}function gr(e){return gr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gr(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&&D0(e,t)}function BZ(e,t){return t&&(xZ(t)==="object"||typeof t=="function")?t:kE(e)}function D0(e,t){return D0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},D0(e,t)}function AZ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=gr(e),e!==null););return e}function xZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DZ(e){var t=kZ();return function(){var n=gr(e),o;if(t){var i=gr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BZ(this,o)}}var mr=function(e){IZ(r,e);var t=DZ(r);function r(n){EZ(this,r);var o;return o=t.call(this,n),br(kE(o),"props",void 0),o.props=new k0(n==null?void 0:n.props),o}return TZ(r,[{key:"toDataBindModel",value:function(o){var i=Ef(gr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(fe);br(mr,"controlType","timescope-column"),br(mr,"controlName","\u65E5\u671F\u533A\u95F4"),br(mr,"controlIcon","timescope-column"),br(mr,"controlFieldType",m.TIMESCOPE),br(mr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}]);function NE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function N0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tf(e){return Tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tf(e)}function FZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&F0(e,t)}function jZ(e,t){return t&&(LZ(t)==="object"||typeof t=="function")?t:NE(e)}function F0(e,t){return F0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},F0(e,t)}function LZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CZ(e){var t=MZ();return function(){var n=Tf(e),o;if(t){var i=Tf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jZ(this,o)}}var FE=function(e){FZ(r,e);var t=CZ(r);function r(n){NZ(this,r);var o;return o=t.call(this,n),N0(NE(o),"props",void 0),o.props=new k0(n==null?void 0:n.props),o}return r}(se);N0(FE,"controlType","timescope-column"),N0(FE,"controlFieldType",m.TIMESCOPE);function Vo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function If(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bf(e){return Bf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bf(e)}function LE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&j0(e,t)}function VZ(e,t){return t&&(zZ(t)==="object"||typeof t=="function")?t:Vo(e)}function j0(e,t){return j0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},j0(e,t)}function zZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ME(e){var t=HZ();return function(){var n=Bf(e),o;if(t){var i=Bf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VZ(this,o)}}var qZ=function(e){LE(r,e);var t=ME(r);function r(n){jE(this,r);var o;return o=t.call(this,n),Jt.call(Vo(o),n),o}return r}(pt),L0=function(e){LE(r,e);var t=ME(r);function r(n){jE(this,r);var o;o=t.call(this,n),If(Vo(o),"dateType",void 0),If(Vo(o),"showLinkOperation",void 0),If(Vo(o),"linkOperationOption",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:qt.DATE;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Et(n==null?void 0:n.linkOperationOption);var c;return o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:$r.controlName,o}return r}(Z);If(L0,"Rules",qZ);function CE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function WZ(e,t,r){return t&&VE(e.prototype,t),r&&VE(e,r),e}function Or(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Af(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Af=Reflect.get:Af=function(o,i,u){var c=XZ(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Af(e,t,r||e)}function wr(e){return wr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wr(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&&M0(e,t)}function GZ(e,t){return t&&(QZ(t)==="object"||typeof t=="function")?t:CE(e)}function M0(e,t){return M0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},M0(e,t)}function XZ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=wr(e),e!==null););return e}function QZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZZ(e){var t=JZ();return function(){var n=wr(e),o;if(t){var i=wr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GZ(this,o)}}var $r=function(e){KZ(r,e);var t=ZZ(r);function r(n){UZ(this,r);var o;return o=t.call(this,n),Or(CE(o),"props",void 0),o.props=new L0(n==null?void 0:n.props),o}return WZ(r,[{key:"toDataBindModel",value:function(o){var i=Af(wr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(fe);Or($r,"controlType","timestamp-column"),Or($r,"controlName","\u65E5\u671F"),Or($r,"controlIcon","timestamp-column"),Or($r,"controlFieldType",m.TIMESTAMP),Or($r,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}]);function zE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xf(e){return xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xf(e)}function eY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&V0(e,t)}function tY(e,t){return t&&(nY(t)==="object"||typeof t=="function")?t:zE(e)}function V0(e,t){return V0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},V0(e,t)}function nY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oY(e){var t=rY();return function(){var n=xf(e),o;if(t){var i=xf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tY(this,o)}}var HE=function(e){eY(r,e);var t=oY(r);function r(n){YZ(this,r);var o;return o=t.call(this,n),C0(zE(o),"props",void 0),o.props=new L0(n==null?void 0:n.props),o}return r}(se);C0(HE,"controlType","timestamp-column"),C0(HE,"controlFieldType",m.TIMESTAMP);function Sn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kf(e){return kf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kf(e)}function UE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&z0(e,t)}function iY(e,t){return t&&(uY(t)==="object"||typeof t=="function")?t:Sn(e)}function z0(e,t){return z0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},z0(e,t)}function uY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WE(e){var t=cY();return function(){var n=kf(e),o;if(t){var i=kf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iY(this,o)}}var lY=function(e){UE(r,e);var t=WE(r);function r(n){qE(this,r);var o;return o=t.call(this,n),Jt.call(Sn(o),n),o}return r}(lm),H0=function(e){UE(r,e);var t=WE(r);function r(n){qE(this,r);var o;o=t.call(this,n),Pr(Sn(o),"optionConfig",void 0),Pr(Sn(o),"datasourceBind",void 0),Pr(Sn(o),"showLinkOperation",void 0),Pr(Sn(o),"linkOperationOption",void 0),Pr(Sn(o),"options",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Sr.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new ne(n==null?void 0:n.datasourceBind);var c;o.showLinkOperation=(c=n==null?void 0:n.showLinkOperation)!==null&&c!==void 0?c:!1,o.linkOperationOption=new Et(n==null?void 0:n.linkOperationOption);var l;return o.options=Tt((l=n==null?void 0:n.options)!==null&&l!==void 0?l:[{}]),o}return r}(Z);Pr(H0,"Rules",lY);function KE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Df(e){return Df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Df(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&&q0(e,t)}function sY(e,t){return t&&(_Y(t)==="object"||typeof t=="function")?t:KE(e)}function q0(e,t){return q0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},q0(e,t)}function _Y(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pY(e){var t=yY();return function(){var n=Df(e),o;if(t){var i=Df(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sY(this,o)}}var Sr=function(e){fY(r,e);var t=pY(r);function r(n){aY(this,r);var o;return o=t.call(this,n),Rr(KE(o),"props",void 0),o.props=new H0(n==null?void 0:n.props),o}return r}(fe);Rr(Sr,"controlType","array-column"),Rr(Sr,"controlName","\u6570\u7EC4"),Rr(Sr,"controlIcon","array-column"),Rr(Sr,"controlFieldType",m.ARRAY),Rr(Sr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}]);function GE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function U0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nf(e){return Nf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nf(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&&W0(e,t)}function hY(e,t){return t&&(bY(t)==="object"||typeof t=="function")?t:GE(e)}function W0(e,t){return W0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},W0(e,t)}function bY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mY(e){var t=gY();return function(){var n=Nf(e),o;if(t){var i=Nf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hY(this,o)}}var XE=function(e){vY(r,e);var t=mY(r);function r(n){dY(this,r);var o;return o=t.call(this,n),U0(GE(o),"props",void 0),o.props=new H0(n==null?void 0:n.props),o}return r}(se);U0(XE,"controlType","array-column"),U0(XE,"controlFieldType",m.ARRAY);function QE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wY(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ff(e){return Ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ff(e)}function $Y(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&K0(e,t)}function PY(e,t){return t&&(RY(t)==="object"||typeof t=="function")?t:QE(e)}function K0(e,t){return K0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},K0(e,t)}function RY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EY(e){var t=SY();return function(){var n=Ff(e),o;if(t){var i=Ff(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PY(this,o)}}var JE=function(e){$Y(r,e);var t=EY(r);function r(n){OY(this,r);var o;o=t.call(this,n),wY(QE(o),"displayLevel",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Ir.controlName;var u;return o.displayLevel=(u=n==null?void 0:n.displayLevel)!==null&&u!==void 0?u:1,o}return r}(Z);function ZE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function IY(e,t,r){return t&&YE(e.prototype,t),r&&YE(e,r),e}function Er(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?jf=Reflect.get:jf=function(o,i,u){var c=xY(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},jf(e,t,r||e)}function Tr(e){return Tr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tr(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&&G0(e,t)}function AY(e,t){return t&&(kY(t)==="object"||typeof t=="function")?t:ZE(e)}function G0(e,t){return G0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},G0(e,t)}function xY(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Tr(e),e!==null););return e}function kY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NY(e){var t=DY();return function(){var n=Tr(e),o;if(t){var i=Tr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AY(this,o)}}var Ir=function(e){BY(r,e);var t=NY(r);function r(n){TY(this,r);var o;return o=t.call(this,n),Er(ZE(o),"props",void 0),o.props=new JE(n==null?void 0:n.props),o}return IY(r,[{key:"toDataBindModel",value:function(o){var i=jf(Tr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.displayLevel;i.props.displayLevel=u}return i}}]),r}(fe);Er(Ir,"controlType","department-column"),Er(Ir,"controlName","\u90E8\u95E8"),Er(Ir,"controlIcon","department-column"),Er(Ir,"controlFieldType",m.DEPARTMENTS),Er(Ir,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}]);function eT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function X0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lf(e){return Lf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lf(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&&Q0(e,t)}function LY(e,t){return t&&(MY(t)==="object"||typeof t=="function")?t:eT(e)}function Q0(e,t){return Q0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Q0(e,t)}function MY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VY(e){var t=CY();return function(){var n=Lf(e),o;if(t){var i=Lf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return LY(this,o)}}var tT=function(e){jY(r,e);var t=VY(r);function r(n){FY(this,r);var o;return o=t.call(this,n),X0(eT(o),"props",void 0),o.props=new JE(n==null?void 0:n.props),o}return r}(se);X0(tT,"controlType","department-column"),X0(tT,"controlFieldType",m.DEPARTMENTS);function Mf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cf(e){return Cf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cf(e)}function rT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Z0(e,t)}function zY(e,t){return t&&(HY(t)==="object"||typeof t=="function")?t:Mf(e)}function Z0(e,t){return Z0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Z0(e,t)}function HY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oT(e){var t=qY();return function(){var n=Cf(e),o;if(t){var i=Cf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zY(this,o)}}var UY=function(e){rT(r,e);var t=oT(r);function r(n){nT(this,r);var o;return o=t.call(this,n),Jt.call(Mf(o),n),o}return r}(pt),Y0=function(e){rT(r,e);var t=oT(r);function r(n){nT(this,r);var o;o=t.call(this,n),J0(Mf(o),"showLinkOperation",void 0),J0(Mf(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Ar.controlName;var u;return o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Et(n==null?void 0:n.linkOperationOption),o}return r}(Z);J0(Y0,"Rules",UY);function iT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Br(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vf(e){return Vf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vf(e)}function KY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eb(e,t)}function GY(e,t){return t&&(XY(t)==="object"||typeof t=="function")?t:iT(e)}function eb(e,t){return eb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eb(e,t)}function XY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JY(e){var t=QY();return function(){var n=Vf(e),o;if(t){var i=Vf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GY(this,o)}}var Ar=function(e){KY(r,e);var t=JY(r);function r(n){WY(this,r);var o;return o=t.call(this,n),Br(iT(o),"props",void 0),o.props=new Y0(n==null?void 0:n.props),o}return r}(fe);Br(Ar,"controlType","auto-number-column"),Br(Ar,"controlName","\u81EA\u52A8\u7F16\u53F7"),Br(Ar,"controlIcon","auto-number-column"),Br(Ar,"controlFieldType",m.AUTO_NUMBER),Br(Ar,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}]);function uT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zf(e){return zf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zf(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&&nb(e,t)}function eee(e,t){return t&&(tee(t)==="object"||typeof t=="function")?t:uT(e)}function nb(e,t){return nb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nb(e,t)}function tee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ree(e){var t=nee();return function(){var n=zf(e),o;if(t){var i=zf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eee(this,o)}}var cT=function(e){YY(r,e);var t=ree(r);function r(n){ZY(this,r);var o;return o=t.call(this,n),tb(uT(o),"props",void 0),o.props=new Y0(n==null?void 0:n.props),o}return r}(se);tb(cT,"controlType","auto-number-column"),tb(cT,"controlFieldType",m.AUTO_NUMBER);function oee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hf(e){return Hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hf(e)}function uee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rb(e,t)}function cee(e,t){return t&&(lee(t)==="object"||typeof t=="function")?t:oee(e)}function rb(e,t){return rb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rb(e,t)}function lee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fee(e){var t=aee();return function(){var n=Hf(e),o;if(t){var i=Hf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cee(this,o)}}var lT=function(e){uee(r,e);var t=fee(r);function r(n){iee(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:kr.controlName,o}return r}(Z);function aT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function see(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qf(e){return qf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qf(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&&ob(e,t)}function yee(e,t){return t&&(pee(t)==="object"||typeof t=="function")?t:aT(e)}function ob(e,t){return ob=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ob(e,t)}function pee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vee(e){var t=dee();return function(){var n=qf(e),o;if(t){var i=qf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yee(this,o)}}var kr=function(e){_ee(r,e);var t=vee(r);function r(n){see(this,r);var o;return o=t.call(this,n),xr(aT(o),"props",void 0),o.props=new lT(n==null?void 0:n.props),o}return r}(fe);xr(kr,"controlType","file-column"),xr(kr,"controlName","\u9644\u4EF6"),xr(kr,"controlIcon","file-column"),xr(kr,"controlFieldType",m.FILE),xr(kr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function fT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ib(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Uf(e){return Uf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uf(e)}function bee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ub(e,t)}function gee(e,t){return t&&(mee(t)==="object"||typeof t=="function")?t:fT(e)}function ub(e,t){return ub=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ub(e,t)}function mee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Oee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wee(e){var t=Oee();return function(){var n=Uf(e),o;if(t){var i=Uf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gee(this,o)}}var sT=function(e){bee(r,e);var t=wee(r);function r(n){hee(this,r);var o;return o=t.call(this,n),ib(fT(o),"props",void 0),o.props=new lT(n==null?void 0:n.props),o}return r}(se);ib(sT,"controlType","file-column"),ib(sT,"controlFieldType",m.FILE);function $ee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wf(e){return Wf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wf(e)}function Ree(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cb(e,t)}function See(e,t){return t&&(Eee(t)==="object"||typeof t=="function")?t:$ee(e)}function cb(e,t){return cb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cb(e,t)}function Eee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Iee(e){var t=Tee();return function(){var n=Wf(e),o;if(t){var i=Wf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return See(this,o)}}var _T=function(e){Ree(r,e);var t=Iee(r);function r(n){Pee(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Nr.controlName,o}return r}(Z);function yT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kf(e){return Kf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kf(e)}function Aee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lb(e,t)}function xee(e,t){return t&&(kee(t)==="object"||typeof t=="function")?t:yT(e)}function lb(e,t){return lb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lb(e,t)}function kee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Dee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nee(e){var t=Dee();return function(){var n=Kf(e),o;if(t){var i=Kf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xee(this,o)}}var Nr=function(e){Aee(r,e);var t=Nee(r);function r(n){Bee(this,r);var o;return o=t.call(this,n),Dr(yT(o),"props",void 0),o.props=new _T(n==null?void 0:n.props),o}return r}(fe);Dr(Nr,"controlType","image-column"),Dr(Nr,"controlName","\u56FE\u7247"),Dr(Nr,"controlIcon","image-column"),Dr(Nr,"controlFieldType",m.IMAGE),Dr(Nr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function pT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ab(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gf(e){return Gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gf(e)}function jee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fb(e,t)}function Lee(e,t){return t&&(Mee(t)==="object"||typeof t=="function")?t:pT(e)}function fb(e,t){return fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fb(e,t)}function Mee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Cee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vee(e){var t=Cee();return function(){var n=Gf(e),o;if(t){var i=Gf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lee(this,o)}}var dT=function(e){jee(r,e);var t=Vee(r);function r(n){Fee(this,r);var o;return o=t.call(this,n),ab(pT(o),"props",void 0),o.props=new _T(n==null?void 0:n.props),o}return r}(se);ab(dT,"controlType","image-column"),ab(dT,"controlFieldType",m.IMAGE);function zee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xf(e){return Xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xf(e)}function qee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sb(e,t)}function Uee(e,t){return t&&(Wee(t)==="object"||typeof t=="function")?t:zee(e)}function sb(e,t){return sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sb(e,t)}function Wee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Kee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gee(e){var t=Kee();return function(){var n=Xf(e),o;if(t){var i=Xf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Uee(this,o)}}var vT=function(e){qee(r,e);var t=Gee(r);function r(n){Hee(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:jr.controlName,o}return r}(Z);function hT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qf(e){return Qf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qf(e)}function Qee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Jee(e,t){return t&&(Zee(t)==="object"||typeof t=="function")?t:hT(e)}function _b(e,t){return _b=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_b(e,t)}function Zee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ete(e){var t=Yee();return function(){var n=Qf(e),o;if(t){var i=Qf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Jee(this,o)}}var jr=function(e){Qee(r,e);var t=ete(r);function r(n){Xee(this,r);var o;return o=t.call(this,n),Fr(hT(o),"props",void 0),o.props=new vT(n==null?void 0:n.props),o}return r}(fe);Fr(jr,"controlType","people-column"),Fr(jr,"controlName","\u4EBA\u5458"),Fr(jr,"controlIcon","people-column"),Fr(jr,"controlFieldType",m.EMPLOYEES),Fr(jr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function bT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jf(e){return Jf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jf(e)}function nte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pb(e,t)}function rte(e,t){return t&&(ote(t)==="object"||typeof t=="function")?t:bT(e)}function pb(e,t){return pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pb(e,t)}function ote(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ite(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ute(e){var t=ite();return function(){var n=Jf(e),o;if(t){var i=Jf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rte(this,o)}}var gT=function(e){nte(r,e);var t=ute(r);function r(n){tte(this,r);var o;return o=t.call(this,n),yb(bT(o),"props",void 0),o.props=new vT(n==null?void 0:n.props),o}return r}(se);yb(gT,"controlType","people-column"),yb(gT,"controlFieldType",m.EMPLOYEES);function Zf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function db(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yf(e){return Yf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yf(e)}function OT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vb(e,t)}function cte(e,t){return t&&(lte(t)==="object"||typeof t=="function")?t:Zf(e)}function vb(e,t){return vb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vb(e,t)}function lte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ate(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wT(e){var t=ate();return function(){var n=Yf(e),o;if(t){var i=Yf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cte(this,o)}}var fte=function(e){OT(r,e);var t=wT(r);function r(n){mT(this,r);var o;return o=t.call(this,n),Jt.call(Zf(o),n),o}return r}(pt),hb=function(e){OT(r,e);var t=wT(r);function r(n){mT(this,r);var o;o=t.call(this,n),db(Zf(o),"showLinkOperation",void 0),db(Zf(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Mr.controlName;var u;return o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Et(n==null?void 0:n.linkOperationOption),o}return r}(Z);db(hb,"Rules",fte);function $T(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ste(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function es(e){return es=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},es(e)}function _te(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bb(e,t)}function yte(e,t){return t&&(pte(t)==="object"||typeof t=="function")?t:$T(e)}function bb(e,t){return bb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bb(e,t)}function pte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vte(e){var t=dte();return function(){var n=es(e),o;if(t){var i=es(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yte(this,o)}}var Mr=function(e){_te(r,e);var t=vte(r);function r(n){ste(this,r);var o;return o=t.call(this,n),Lr($T(o),"props",void 0),o.props=new hb(n==null?void 0:n.props),o}return r}(fe);Lr(Mr,"controlType","location-column"),Lr(Mr,"controlName","\u5730\u5740"),Lr(Mr,"controlIcon","location-column"),Lr(Mr,"controlFieldType",m.ADDRESS),Lr(Mr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}]);function PT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ts(e){return ts=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ts(e)}function bte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mb(e,t)}function gte(e,t){return t&&(mte(t)==="object"||typeof t=="function")?t:PT(e)}function mb(e,t){return mb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mb(e,t)}function mte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ote(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wte(e){var t=Ote();return function(){var n=ts(e),o;if(t){var i=ts(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gte(this,o)}}var RT=function(e){bte(r,e);var t=wte(r);function r(n){hte(this,r);var o;return o=t.call(this,n),gb(PT(o),"props",void 0),o.props=new hb(n==null?void 0:n.props),o}return r}(se);gb(RT,"controlType","location-column"),gb(RT,"controlFieldType",m.ADDRESS);function ns(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ST(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rs(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function os(e){return os=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},os(e)}function 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&&Ob(e,t)}function $te(e,t){return t&&(Pte(t)==="object"||typeof t=="function")?t:ns(e)}function Ob(e,t){return Ob=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ob(e,t)}function Pte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Rte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TT(e){var t=Rte();return function(){var n=os(e),o;if(t){var i=os(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $te(this,o)}}var Ste=function(e){ET(r,e);var t=TT(r);function r(n){ST(this,r);var o;return o=t.call(this,n),rs(ns(o),"sortFieldCode",{type:"string",message:h.getMessage("pleaseSelectSortFieldCode")}),n.sort===!0&&(o.sortFieldCode.required=!0),o}return r}(pt),wb=function(e){ET(r,e);var t=TT(r);function r(n){ST(this,r);var o;o=t.call(this,n),rs(ns(o),"fieldCodeList",void 0),rs(ns(o),"sortFieldCode",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:sn.controlName;var u;o.fieldCodeList=(u=n==null?void 0:n.fieldCodeList)!==null&&u!==void 0?u:[];var c;return o.sortFieldCode=(c=n==null?void 0:n.sortFieldCode)!==null&&c!==void 0?c:"",o}return r}(Z);rs(wb,"Rules",Ste);function Cr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ete(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Tte(e,t,r){return t&&IT(e.prototype,t),r&&IT(e,r),e}function st(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function is(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?is=Reflect.get:is=function(o,i,u){var c=xte(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},is(e,t,r||e)}function Vr(e){return Vr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vr(e)}function Ite(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$b(e,t)}function Bte(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Ate(e,t){return t&&(kte(t)==="object"||typeof t=="function")?t:Cr(e)}function $b(e,t){return $b=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$b(e,t)}function xte(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Vr(e),e!==null););return e}function kte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Dte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nte(e){var t=Dte();return function(){var n=Vr(e),o;if(t){var i=Vr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ate(this,o)}}var Fte=1,sn=function(t){Ite(n,t);var r=Nte(n);function n(o){Ete(this,n);var i;i=r.call(this,o),st(Cr(i),"excludes",void 0),st(Cr(i),"childrenMaxLength",void 0),st(Cr(i),"props",void 0),st(Cr(i),"children",void 0);var u=Bte(this,n)?this.constructor:void 0,c=u.excludes,l=u.childrenMaxLength;return i.props=new wb(o==null?void 0:o.props),St(Cr(i),"children",o==null?void 0:o.children,void 0,"Designer"),i.excludes=Je(c),i.childrenMaxLength=l,i}return Tte(n,[{key:"judgeJoinChildren",value:function(i){var u=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i);return u&&this.childrenMaxLength>this.children.length}},{key:"toDataBindModel",value:function(i){var u=is(Vr(n.prototype),"toDataBindModel",this).call(this,i);if(u){var c=this.props.fieldCodeList;u.props.fieldCodeList=c}return u}}]),n}(fe);st(sn,"controlType","custom-column"),st(sn,"controlName","\u81EA\u5B9A\u4E49"),st(sn,"controlIcon","custom-column"),st(sn,"slots",["column-column-slot"]),st(sn,"excludes",[]),st(sn,"childrenMaxLength",Fte),st(sn,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0}]);function us(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cs(e){return cs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cs(e)}function Lte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rb(e,t)}function Mte(e,t){return t&&(Cte(t)==="object"||typeof t=="function")?t:us(e)}function Rb(e,t){return Rb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rb(e,t)}function Cte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zte(e){var t=Vte();return function(){var n=cs(e),o;if(t){var i=cs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Mte(this,o)}}var Hte=function(e){Lte(r,e);var t=zte(r);function r(n){jte(this,r);var o;return o=t.call(this,n),Pb(us(o),"props",void 0),Pb(us(o),"children",void 0),o.props=new wb(n==null?void 0:n.props),St(us(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(se);Pb(Hte,"controlType","custom-column");function BT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ute(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ls(e){return ls=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ls(e)}function Wte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sb(e,t)}function Kte(e,t){return t&&(Gte(t)==="object"||typeof t=="function")?t:BT(e)}function Sb(e,t){return Sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sb(e,t)}function Gte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qte(e){var t=Xte();return function(){var n=ls(e),o;if(t){var i=ls(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kte(this,o)}}var AT=function(e){Wte(r,e);var t=Qte(r);function r(n){qte(this,r);var o;o=t.call(this,n),Ute(BT(o),"datasourceBind",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:En.controlName;var u;return o.datasourceBind=new Xo((u=n==null?void 0:n.datasourceBind)!==null&&u!==void 0?u:{attributes:En.controlCustomAttributes}),o}return r}(Z);function xT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Zte(e,t,r){return t&&kT(e.prototype,t),r&&kT(e,r),e}function zr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function as(e){return as=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},as(e)}function Yte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Eb(e,t)}function ene(e,t){return t&&(tne(t)==="object"||typeof t=="function")?t:xT(e)}function Eb(e,t){return Eb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eb(e,t)}function tne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rne(e){var t=nne();return function(){var n=as(e),o;if(t){var i=as(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ene(this,o)}}var En=function(e){Yte(r,e);var t=rne(r);function r(n){Jte(this,r);var o;return o=t.call(this,n),zr(xT(o),"props",void 0),o.props=new AT(n==null?void 0:n.props),o}return Zte(r,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(fe);zr(En,"controlType","employee-column"),zr(En,"controlName","\u4EBA\u5458"),zr(En,"controlIcon","employee-column"),zr(En,"controlFieldType",m.EMPLOYEES),zr(En,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function DT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function one(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fs(e){return fs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fs(e)}function ine(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ib(e,t)}function une(e,t){return t&&(cne(t)==="object"||typeof t=="function")?t:DT(e)}function Ib(e,t){return Ib=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ib(e,t)}function cne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ane(e){var t=lne();return function(){var n=fs(e),o;if(t){var i=fs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return une(this,o)}}var NT=function(e){ine(r,e);var t=ane(r);function r(n){one(this,r);var o;return o=t.call(this,n),Tb(DT(o),"props",void 0),o.props=new AT(n==null?void 0:n.props),o}return r}(se);Tb(NT,"controlType","employee-column"),Tb(NT,"controlFieldType",m.EMPLOYEES);function ss(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _s(e){return _s=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_s(e)}function sne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ab(e,t)}function _ne(e,t){return t&&(yne(t)==="object"||typeof t=="function")?t:ss(e)}function Ab(e,t){return Ab=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ab(e,t)}function yne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dne(e){var t=pne();return function(){var n=_s(e),o;if(t){var i=_s(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _ne(this,o)}}var FT=function(e){sne(r,e);var t=dne(r);function r(n){fne(this,r);var o;o=t.call(this,n),Bb(ss(o),"lineEllipsis",void 0),Bb(ss(o),"showLinkOperation",void 0),Bb(ss(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Hr.controlName;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Et(n==null?void 0:n.linkOperationOption);var c;return o.lineEllipsis=(c=n==null?void 0:n.lineEllipsis)!==null&&c!==void 0?c:1,o}return r}(Z);function xb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ys(e){return ys=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ys(e)}function hne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kb(e,t)}function bne(e,t){return t&&(gne(t)==="object"||typeof t=="function")?t:xb(e)}function kb(e,t){return kb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kb(e,t)}function gne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function One(e){var t=mne();return function(){var n=ys(e),o;if(t){var i=ys(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bne(this,o)}}var Hr=function(e){hne(r,e);var t=One(r);function r(n){vne(this,r);var o;return o=t.call(this,n),Tn(xb(o),"props",void 0),Tn(xb(o),"children",void 0),o.props=new FT(n==null?void 0:n.props),o}return r}(fe);Tn(Hr,"controlType","approval-status-column"),Tn(Hr,"controlName","\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),Tn(Hr,"controlIcon","approval-status-column"),Tn(Hr,"excludes",[]),Tn(Hr,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0}]);function Db(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ps(e){return ps=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ps(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&&Fb(e,t)}function Pne(e,t){return t&&(Rne(t)==="object"||typeof t=="function")?t:Db(e)}function Fb(e,t){return Fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fb(e,t)}function Rne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Sne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ene(e){var t=Sne();return function(){var n=ps(e),o;if(t){var i=ps(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Pne(this,o)}}var Tne=function(e){$ne(r,e);var t=Ene(r);function r(n){wne(this,r);var o;return o=t.call(this,n),Nb(Db(o),"props",void 0),Nb(Db(o),"children",void 0),o.props=new FT(n==null?void 0:n.props),o}return r}(se);Nb(Tne,"controlType","approval-status-column");function ze(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function He(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ds(e){return ds=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ds(e)}function LT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jb(e,t)}function Ine(e,t){return t&&(Bne(t)==="object"||typeof t=="function")?t:ze(e)}function jb(e,t){return jb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jb(e,t)}function Bne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ane(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MT(e){var t=Ane();return function(){var n=ds(e),o;if(t){var i=ds(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ine(this,o)}}var xne=function(e){LT(r,e);var t=MT(r);function r(n){jT(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(pn),Lb=function(e){LT(r,e);var t=MT(r);function r(n){jT(this,r);var o;o=t.call(this,n),He(ze(o),"search",void 0),He(ze(o),"cancel",void 0),He(ze(o),"searchType",void 0),He(ze(o),"labelPosition",void 0),He(ze(o),"viewType",void 0),He(ze(o),"isLoading",void 0),He(ze(o),"custom",void 0),He(ze(o),"queryTypeMap",void 0),He(ze(o),"childMinWidth",void 0),He(ze(o),"colGap",void 0),He(ze(o),"viewConfig",void 0),He(ze(o),"simpleConfig",void 0);var i;o.searchType=(i=n==null?void 0:n.searchType)!==null&&i!==void 0?i:"model";var u;o.labelPosition=(u=n==null?void 0:n.labelPosition)!==null&&u!==void 0?u:"top";var c;o.viewType=(c=n==null?void 0:n.viewType)!==null&&c!==void 0?c:"mini";var l;o.search=new Wt((l=n==null?void 0:n.search)!==null&&l!==void 0?l:{content:"\u67E5\u8BE2",isShow:!0});var a;o.cancel=new Wt((a=n==null?void 0:n.cancel)!==null&&a!==void 0?a:{content:"\u91CD\u7F6E",isShow:!0});var f;o.isLoading=(f=n==null?void 0:n.isLoading)!==null&&f!==void 0?f:!1;var _;o.custom=((_=n==null?void 0:n.custom)!==null&&_!==void 0?_:[]).map(function(d){return new Wt(d)});var p;o.queryTypeMap=(p=n==null?void 0:n.queryTypeMap)!==null&&p!==void 0?p:[];var g;o.childMinWidth=(g=n==null?void 0:n.childMinWidth)!==null&&g!==void 0?g:230;var O;o.colGap=(O=n==null?void 0:n.colGap)!==null&&O!==void 0?O:24;var b;o.viewConfig=(b=n==null?void 0:n.viewConfig)!==null&&b!==void 0?b:[];var w;return o.simpleConfig=(w=n==null?void 0:n.simpleConfig)!==null&&w!==void 0?w:[],o}return r}(R_);He(Lb,"RuntimeRules",xne);function CT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vs(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hs(e){return hs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hs(e)}function Dne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mb(e,t)}function Nne(e,t){return t&&(Fne(t)==="object"||typeof t=="function")?t:CT(e)}function Mb(e,t){return Mb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mb(e,t)}function Fne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Lne(e){var t=jne();return function(){var n=hs(e),o;if(t){var i=hs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Nne(this,o)}}var Cb=function(e){Dne(r,e);var t=Lne(r);function r(n){kne(this,r);var o;return o=t.call(this,n),vs(CT(o),"props",void 0),o.props=new Lb(n==null?void 0:n.props),o}return r}(lD);vs(Cb,"controlType","simple-search"),vs(Cb,"slotPosition",{default:"search"}),vs(Cb,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0},{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"search-view-type",visible:!0}]);function Vb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bs(e){return bs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bs(e)}function Cne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hb(e,t)}function Vne(e,t){return t&&(zne(t)==="object"||typeof t=="function")?t:Vb(e)}function Hb(e,t){return Hb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hb(e,t)}function zne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qne(e){var t=Hne();return function(){var n=bs(e),o;if(t){var i=bs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vne(this,o)}}var Une=function(e){Cne(r,e);var t=qne(r);function r(n){Mne(this,r);var o;o=t.call(this,n),zb(Vb(o),"props",void 0),zb(Vb(o),"children",void 0),o.props=new Lb(n==null?void 0:n.props);var i;return o.children=(i=n==null?void 0:n.children)!==null&&i!==void 0?i:[],o}return r}(dD);zb(Une,"controlType","simple-search");const Wne=(e,t)=>{const r=Array.isArray(e),n=r?e:[e];ore(t==null?void 0:t.events),Zne(n),Yne(n);const o=Jne(n),i=ere(o,t);let u=yn(z(i,c=>Qne(c,t)));return r?u:u[0]},Kne=[y.DIVIDER,y.TEXT,y.TITLE,y.LINK,y.BUTTON,"list-btn-export-list","list-btn-export-record"],Gne=["subtable","grid-table"],Xne=["simple-search"];function Qne(e,t){var o,i,u,c,l,a;let r=e;if(r.controlType||(r.is_layout_control===!0?r.controlType="layout":Kne.includes(r.type)?r.controlType="base":r.controlType="form",Gne.includes(r.type)&&(r.controlType="list"),Xne.includes(r.type)&&(r.controlType="search-view")),delete r.is_layout_control,e.props.lable_position&&(e.props.labelPosition=e.props.lable_position),e.props.select_mode&&(e.props.optionsFormat=e.props.select_mode),e.props.value&&(e.props.defaultValue=e.props.value),me((o=e==null?void 0:e.props)==null?void 0:o.caption)&&(r.props.caption=e.props.caption.zh),me((i=e==null?void 0:e.props)==null?void 0:i.placeholder)&&(r.props.placeholder=e.props.placeholder.zh),me((u=e==null?void 0:e.props)==null?void 0:u.placeholder_end)&&(r.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(r.type="department",e.props.value.length&&(r.props.default_value=e.props.value),r.props.showType=e.props.show_tree?"tree":"default",r.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(r.type="auto-number",r.props.defaultValue=e.props.value),e.type==="file"&&(r.type="attachment",r.props.attachmentAccept=(c=e.attachment_format)==null?void 0:c.split(","),r.props.showType=e.props.show_type==="title"?"default":"table"),e.type==="image"&&(r.props.attachmentAccept=(l=e.attachment_format)==null?void 0:l.split(",")),e.type==="date-pick"&&(r.type="date-picker"),e.type==="rich-text"&&(me(e.props.value)?r.props.defaultValue=e.props.value.zh:r.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(me(e.props.value)?r.props.content=e.props.value.zh:r.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(r.props.showState="image"),e.type==="user-search"&&(r.type="employee",r.props.defaultValue=e.props.value),e.type==="address"&&(r.props.addressType=e.props.address_type_value),r.type==="subtable"){const f=r.props.entry_type||r.props.entryType;r.props.openType=f==="subpage"?"modal":"default",((a=r.children[0])==null?void 0:a.type)==="subtable-row"&&r.props.headers&&(r.props.headers=r.props.headers.map((_,p)=>{const g=new mK.Designer;g.props.caption=me(_.field_name)?_.field_name.zh:_.field_name;const O=g.toSchema();O.id=_.header_id;const b=r.children[0].children[p].children[0];return b&&(O.children=[b]),O}),r.children=[])}if(r.type==="subtable-cell"&&(r.type="subtable-column"),["radio","checkbox","select","select-multiple"].includes(e.type)&&(e.props.options.map(f=>{f.label=me(f.text)?f.text.zh:f.text,f.id=f.id||f.opt_id||f.optId||f.data_id}),r=e),e.type==="grid-row"){const f=24/r.children.length;r.children=r.children.map(_=>{const p=new HR.Designer;p.props.span=f;const g=p.toSchema();return g.children.push(_),g})}if(e.type==="grid-layout-row"&&(r.type="row"),e.type==="grid-layout-col"&&(r.type="col"),e.type==="group-panel"&&(r.type="card-group",r.props.collapse=r.props.flod==="no"?"none":r.props.flod),e.type==="tabs-pane"&&(r.type="tab-pane"),e.type==="calc"){const f=r==null?void 0:r.children[0],_=r==null?void 0:r.children[1],p={};f&&(VT(r,t),p.result=f.props.data_bind,r.id=f.id,r.props=f.props,r.props.script_src=f.props.script_src,r.props.script_echo=f.props.script_echo,r.props.precision=f.props.precision,r.props.micrometer=f.props.is_show_money,r.props.showUpperCase=f.props.is_show_chn),_&&(p.unit=_.props.data_bind,r.props.default_value={unit:_.props.value}),r.props.dataBind=p,delete r.children}if(e.type==="amount-currency"){r.type="amount",r.controlType="form";const f=r==null?void 0:r.children[0],_=r==null?void 0:r.children[1],p={},g={};f&&(VT(r,t),r.id=f.id,p.amount=f.props.data_bind,r.props.range_min=xn(f.props.range_min),r.props.range_max=xn(f.props.range_max),g.amount=xn(f.props.value),r.props.required=f.props.required,r.props.is_hide=f.props.is_hide,r.props.default_state=f.props.default_state,r.props.caption=me(f.props.caption)?f.props.caption.zh:f.props.caption,r.props.is_hide_caption=f.props.is_hide_caption,r.props.showUpperCase=f.props.is_show_chn),_&&(p.currency=_.props.data_bind,g.currency=_.props.value,r.props.datasourceBind=_.props.datasource_bind,r.props.options=_.props.options.map(O=>({label:O.text,value:O.value}))),r.props.dataBind=p,r.props.defaultValue=g,delete r.children}if(e.type==="date-range"){r.controlType="form";const f=r==null?void 0:r.children[0],_=r==null?void 0:r.children[1];r.props.placeholderStart=me(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,r.props.caption=me(e.props.caption)?e.props.caption.zh:e.props.caption;const p={};f&&(p.min=f.props.data_bind),_&&(p.max=_.props.data_bind),r.props.dataBind=p,delete r.children}return e.type==="score"&&(r.props.defaultValue=r.props.value*1),["input","textarea"].includes(e.type)&&(r.props.defaultValue=me(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(r.props.range_min=xn(e.props.range_min),r.props.range_max=xn(e.props.range_max),r.props.defaultValue=xn(e.props.value)),e.type==="list-page-btn-custom-button"&&(e.type="button"),e.type==="button"&&e.props.button_type==="dashed"&&(r.props.buttonType="default"),ire(r,t==null?void 0:t.control_events),r}function VT(e,t){if(!t)return;const{displayBoList:r=[],behaviors:n=[]}=t,o=e.id,i=e.children[0].id;r.forEach(u=>{u.id===o&&(u.id=i);const c=u.show_controls.findIndex(a=>a===o),l=u.hide_controls.findIndex(a=>a===o);c>-1&&u.show_controls.splice(c,1,i),l>-1&&u.hide_controls.splice(l,1,i)}),n.forEach(u=>{u.ctrl_id===o&&(u.id=i)})}function Jne(e){if(!Array.isArray(e)||!e.find(o=>o.type==="grid"))return e;const n=new qX.Designer().toSchema();return n.children=e,[n]}function Zne(e){e.forEach(t=>{t.children&&rre(t.children)})}function Yne(e){e.forEach(t=>{var n,o;if(!(t&&t.children))return;const r=t.children;for(let i=0;i<r.length;i++){const u=r[i],c=(o=(n=r[i])==null?void 0:n.children)==null?void 0:o[0];u.type==="grid-row"&&c&&["group-panel","subtable","tab"].includes(c.type)&&r.splice(i,1,c)}})}function ere(e,t){var g,O,b,w,d,$,P,S;if(!(Array.isArray(e)&&e.length===1))return e;const r=e[0];if(r.type!=="list-page")return e;const{props:n,children:o}=r,[i,u,c]=o;tre(i),c.props.is_fixed_header=(g=n==null?void 0:n.source_config)==null?void 0:g.is_fixed_header,nre(c,u);const l=(b=(O=n==null?void 0:n.source_config)==null?void 0:O.data_code)!=null?b:t==null?void 0:t.dataCode,a=((d=(w=n==null?void 0:n.source_config)==null?void 0:w.svc_code)!=null?d:l)?`${l}_selectMore`:void 0,f=(P=($=n==null?void 0:n.source_config)==null?void 0:$.orders)!=null?P:[],_=new $X.Designer;_.props.datasourceBind=new ne({dataCode:l,svcCode:a,orders:SA(f)}),_.props.isShowSubList=n.is_show_sublist,_.props.triggerType=n.timing_type,_.props.triggerFieldCode=n.ctrl_field_code,(S=n==null?void 0:n.sublist_page)==null||S.sublists.forEach(E=>{E.title=me(E.title)?E.title.zh:E.title}),_.props.sublistPage=n.sublist_page;const p=_.toSchema();return p.children.push(i,c),[p]}function tre(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(t=>{var n,o;const r=me(t.placeholder)?t.placeholder.zh:t.placeholder;t.type==="number-range"&&(t.type="search-number-range",t.placeholderStart=r,t.placeholderEnd=r),t.type==="date-pick"&&(t.type="search-date-range",t.placeholderStart=r,t.placeholderEnd=r,t.dateType=(o=(n=t.dateType)==null?void 0:n.replace)==null?void 0:o.call(n,/range$/)),(t.type==="automatic-number"||t.type==="auto-number")&&(t.type="search-input",t.props.defaultValue="")})}function nre(e,t){e.children=t.children.filter(r=>r.type!=="list-page-btn-custom-head"),e.type="grid-table",e.props.sublist_page&&(e.props.sublist_page.form_bind={data_code:e.props.sublist_page.data_code,form_key:e.props.sublist_page.form_key}),Array.isArray(e.props.headers)&&(e.props.headers=e.props.headers.map(r=>{var o,i,u;let n={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:r.field_code,field_name:me(r.field_name)?r.field_name.zh:r.field_name}};return n.props.caption=me(r.field_name)?r.field_name.zh:r.field_name,n.props.filter_tags=r.is_filter_tags,n.props.fixed=r.fixed,n.props.display_bo_list=r.display_bo_list,n.props.date_type=r.date_type,n.props.optionConfig="none",r.header_width_config&&(n.props.widthType=r.header_width_config==="1"?"auto":"px"),n.props.widthType==="px"&&r.header_width&&(n.props.width=Number(r.header_width)),r.table_header_type==="order"?(n.type="order-column",n.props.fixed=!0):r.table_header_type==="operation"?(n.type="operation-column",n.props.check=(o=r.check)!=null?o:{},n.props.check.openType="window",n.props.delete=(i=r.delete)!=null?i:{},n.props.delete.openType="window",n.props.edit=(u=r.edit)!=null?u:{},n.props.edit.openType="window",n.props.fixed=!0):(n.type=r.field_type+"-column",r.field_type==="auto_number"&&(n.type="auto-number-column"),r.field_type==="relation"&&(n.type="varchar-column")),r.convert_switch&&(n.props.optionConfig=r.convert_type===1?"datasource":"custom"),n.props.optionConfig==="datasource"?n.props.datasource_bind=new ne({svcCode:r.svc_code,displayBoList:r.display_bo_list,valueFieldCode:r.field_match,dataCode:r.field_source}):n.props.optionConfig==="custom"&&(n.props.options=r.custom_match_bo_list),n}))}function rre(e){var r;let t=null;for(let n=0;n<e.length;n++){const o=e[n];if(!!o){if(o.children&&((r=o.children[0])==null?void 0:r.type)==="group-panel"){t=o.children[0];continue}t&&(t.children.push(o),e.splice(n,1),n--)}}}function ore(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 ire(e,t){var n;if(!t||!e.props.events)return;const r=Object.keys(e.props.events);!r.length||(r.forEach(o=>{!e.props.events[o].length||(t[e.id]||(t[e.id]={}),t[e.id][o]||(t[e.id][o]=[]),t[e.id][o].push(...e.props.events[o].map(i=>i.name)))}),(n=t[e.id])!=null&&n.on_blur&&(t[e.id].on_change||(t[e.id].on_change=[]),t[e.id].on_change.push(...t[e.id].on_blur)))}const ure=(e,t)=>{const r=Array.isArray(e);let o=yn(z(r?e:[e],i=>cre(i)));return r?o:o[0]};function cre(e,t){return e.type===y.LIST_VIEW&&e.children.find(n=>n.type===y.GRID_TABLE).props.headers.forEach(n=>{!n.props.data_bind&&n.props.field_code&&(n.props.data_bind=new et({dataCode:e.props.datasource_bind.data_code,fieldCode:n.props.field_code}))}),e}const lre=(e,t)=>{const r=Array.isArray(e);let o=yn(z(r?e:[e],i=>are(i)));return r?o:o[0]};function are(e,t){return[y.BUTTON,y.CREATE_FORM_LIST_BUTTON,y.BATCH_SUBMISSION_LIST_BUTTON,y.SUBMISSION_RECORD_LIST_BUTTON,y.IMPORT_RECORD_LIST_BUTTON,y.EXPORT_RECORD_LIST_BUTTON,y.EXPORT_LIST_BUTTON,y.FORM_SELECT_BUTTON,y.LIST_SELECT_BUTTON].includes(e.type)&&(e.props.button_type==="default"&&(e.props.button_type="secondary"),e.props.button_type==="danger"&&(e.props.button_type="secondary",e.props.color="danger"),e.props.icon||(e.props.icon="iconfenlei2")),e.type===y.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===y.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}const fre=(e,t)=>{const r=Array.isArray(e);let o=yn(z(r?e:[e],i=>sre(i)));return r?o:o[0]};function sre(e,t){if(e.props.icon){let r=e.props.icon;switch(r){case"icongeren":r="iconyyzy-renyuan";break;case"iconjine1":r="iconcaiwu";break;case"iconhuibao":r="iconyyzy-tianxie";break;case"iconwenjian":r="iconyyzy-wenjianjia1";break;case"iconyingpin":r="iconyyzy-gongzuo";break;case"iconpiliangtijiaojilu":r="iconyyzy-renwu";break}e.props.icon=r}return e}const _re=(e,t)=>{const r=Array.isArray(e);let o=yn(z(r?e:[e],i=>pre(i)));return r?o:o[0]},yre=[y.ROW,y.TAB,y.SUBTABLE,y.GRID_ROW,y.CARD_GROUP];function pre(e,t){return e.type===y.TAB_PANE&&(e.children=e.children.map(r=>{if(yre.includes(r.type))return r;const n=new WW.Designer,o=new HR.Designer;n.children.push(o);const i=n.toSchema();return i.children[0].children.push(r),i})),e}const dre=(e,t)=>{const r=Array.isArray(e);let o=yn(z(r?e:[e],i=>vre(i)));return r?o:o[0]};function vre(e,t){return e.type===y.GRID_TABLE&&e.props.headers.forEach(r=>{r.type===y.OPERATION_COLUMN&&(r.props.check.priorityProcess=!0)}),e}const hre=(e,t)=>{const r=Array.isArray(e);let o=z(r?e:[e],i=>bre(i));return r?o:o[0]};function bre(e,t){return e.type===y.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}const gre=(e,t)=>{const r=Array.isArray(e);let o=z(r?e:[e],i=>mre(i));return r?o:o[0]};function _n(e,t){e.field_code&&(e.field_type=t)}function mre(e,t){var n;const r={[y.TITLE]:m.AUTO_NUMBER,[y.ADDRESS]:m.ADDRESS,[y.ATTACHMENT]:m.FILE,[y.AUTO_NUMBER]:m.AUTO_NUMBER,[y.CHECKBOX]:m.ARRAY,[y.DATE_PICKER]:m.TIMESTAMP,[y.DEPARTMENT]:m.DEPARTMENTS,[y.DEPARTMENT2]:m.DEPARTMENTS,[y.EMPLOYEE]:m.EMPLOYEES,[y.EMPLOYEE2]:m.EMPLOYEES,[y.IMAGE]:m.IMAGE,[y.INPUT]:m.VARCHAR,[y.NUMBER]:m.DECIMAL,[y.RADIO]:m.VARCHAR,[y.RICH_TEXT]:m.TEXT,[y.SCORE]:m.DECIMAL,[y.SELECT]:m.VARCHAR,[y.SELECT_MULTIPLE]:m.ARRAY,[y.SELECT_RELATION]:m.VARCHAR,[y.TEXTAREA]:m.TEXT,[y.TREE]:m.ARRAY,[y.SEARCH_DATE_RANGE]:m.ARRAY,[y.SEARCH_INPUT]:m.VARCHAR,[y.SEARCH_NUMBER_RANGE]:m.ARRAY};return r.hasOwnProperty(e.type)&&_n(e.props.data_bind,r[e.type]),e.type===y.AMOUNT&&(_n(e.props.data_bind.amount,m.DECIMAL),_n(e.props.data_bind.currency,m.VARCHAR)),e.type===y.CALC&&(_n(e.props.data_bind.result,m.DECIMAL),_n(e.props.data_bind.unit,m.VARCHAR)),e.type===y.DATE_RANGE&&(_n(e.props.data_bind.min,m.TIMESTAMP),_n(e.props.data_bind.max,m.TIMESTAMP)),e.type===y.VUE_FORM_ITEM&&_n(e.props.data_bind,(n=e.field_type)!=null?n:m.ANY),e}const Ore=(e,t)=>{const r=Array.isArray(e);let o=z(r?e:[e],i=>wre(i));return r?o:o[0]};function wre(e,t){return e.type===y.GRID_TABLE&&e.props.headers.forEach(r=>{r.type.endsWith("-column")&&(r.props.fixed?(r.props.fixed="left",r.type===y.OPERATION_COLUMN&&(r.props.fixed="right")):r.props.fixed="none")}),e}const $re=(e,t)=>{const r=Array.isArray(e);let o=z(r?e:[e],i=>Pre(i));return r?o:o[0]};function Pre(e,t){return e.type===y.SIMPLE_SEARCH&&e.children.length&&(e.props.query_type_map||(e.props.query_type_map=[]),e.children.forEach(r=>{var n,o;[m.VARCHAR,m.TEXT,m.AUTO_NUMBER].includes((o=(n=r.props)==null?void 0:n.data_bind)==null?void 0:o.field_type)&&e.props.query_type_map.push({query_type:"LIKE",field_code:r.props.data_bind.field_code})})),e}const Rre=(e,t)=>{const r=Array.isArray(e);let o=z(r?e:[e],i=>Sre(i));return r?o:o[0]};function Sre(e,t){return[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===y.SUBTABLE&&e.props.headers.forEach(r=>{[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}const Ere=(e,t)=>{const r=Array.isArray(e);let o=z(r?e:[e],i=>Tre(i));return r?o:o[0]};function Tre(e,t){return[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===y.SUBTABLE&&e.props.headers.forEach(r=>{[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}const Ire=(e,t)=>{const r=Array.isArray(e);let o=z(r?e:[e],i=>Bre(i));return r?o:o[0]};function Bre(e,t){return e.type===y.TITLE&&e.props.config.push(kt.ShowTitle),e.type===y.GRID_TABLE&&e.props.headers.map(r=>{var n,o,i,u,c,l,a,f,_,p,g,O,b,w,d,$,P,S,E,C,x,K;if(r.type===y.OPERATION_COLUMN){if(r.props.width_type==="auto"?r.props.auto_width={min_width:120,max_width:120,flex:1}:r.props.width_type==="px"&&(r.props.auto_width={min_width:r.props.width,max_width:r.props.width,flex:1}),r.props.width_type="auto",r.children=(n=r==null?void 0:r.children)!=null?n:[],delete r.props.custom,((o=r.props)==null?void 0:o.check)!==void 0){const A=new Vy.Designer;Object.defineProperty(A,"id",{value:"listPageCheckBtnId"}),A.props.code="view",A.props.icon="iconliulan1",A.props.command="view",A.props.content=(i=r.props)==null?void 0:i.check.content,A.props.priorityProcess=(u=r.props)==null?void 0:u.check.priority_process,A.props.openType=(c=r.props)==null?void 0:c.check.open_type,A.props.formKey=(l=r.props)==null?void 0:l.check.form_key,(a=r.props)!=null&&a.check.is_show&&r.children.push(A.toSchema()),(f=r.props)==null||delete f.check}if(((_=r.props)==null?void 0:_.edit)!==void 0){const A=new Vy.Designer;Object.defineProperty(A,"id",{value:"listPageEditBtnId"}),A.props.code="edit",A.props.icon="iconbianji1",A.props.command="edit",A.props.content=(p=r.props)==null?void 0:p.edit.content,A.props.priorityProcess=(g=r.props)==null?void 0:g.edit.priority_process,A.props.openType=(O=r.props)==null?void 0:O.edit.open_type,A.props.formKey=(b=r.props)==null?void 0:b.edit.form_key,(w=r.props)!=null&&w.edit.is_show&&r.children.push(A.toSchema()),(d=r.props)==null||delete d.edit}if((($=r.props)==null?void 0:$.delete)!==void 0){const A=new Vy.Designer;Object.defineProperty(A,"id",{value:"listPageDeleteBtnId"}),A.props.code="delete",A.props.icon="iconlajitong",A.props.command="delete",A.props.content=(P=r.props)==null?void 0:P.delete.content,A.props.priorityProcess=(S=r.props)==null?void 0:S.delete.priority_process,A.props.openType=(E=r.props)==null?void 0:E.delete.open_type,A.props.formKey=(C=r.props)==null?void 0:C.delete.form_key,A.props.needConfirm=!0,A.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",(x=r.props)!=null&&x.delete.is_show&&r.children.push(A.toSchema()),(K=r.props)==null||delete K.delete}}}),[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===y.SUBTABLE&&e.props.headers.forEach(r=>{[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}const Are=(e,t)=>{const r=Array.isArray(e);let o=z(r?e:[e],i=>xre(i,t));return r?o:o[0]};function xre(e,t){e.type===y.SUBTABLE&&e.props.headers.map(n=>{var i;n.props.meta_auto_width=new Ig,n.props.width_type==="px"&&(n.props.meta_auto_width.pc.width=n.props.width,n.props.meta_auto_width.pc.width_type="px"),delete n.props.width,delete n.props.width_type;const o=(i=n.children)==null?void 0:i[0];o&&o.type===y.CALC&&o.props.calc_on_mounted===void 0&&(o.props.calc_on_mounted=!0)});const r={[y.SUBTABLE]:[{key:"page_index",value:1},{key:"page_size",value:10},{key:"page_size_options",value:[10,20,50,100]},{key:"total_count",value:0}],[y.GRID_TABLE]:[{key:"page_index",value:1},{key:"page_size",value:20},{key:"page_size_options",value:[10,20,50,100]},{key:"total_count",value:0},{key:"is_show_selection",value:!1}],[y.LIST_VIEW]:[{key:"selection_type",value:"multiple"},{key:"row_style_type",value:"none"},{key:"is_show_selection",value:!1}],[y.SIMPLE_SEARCH]:[{key:"col-gap",value:24},{key:"child-min-width",value:230}],[y.IMPORT_RECORD_LIST_BUTTON]:[{key:"template-type",value:"system"}]};return e.type in r&&r[e.type].forEach(n=>{e.props[n.key]===void 0&&(e.props[n.key]=n.value)}),e.type===y.GRID_TABLE&&e.props.headers.forEach(n=>{n.type===y.OPERATION_COLUMN&&(n.props.limit===void 0&&(n.props.limit=3),n.props.show_type===void 0&&(n.props.show_type="icon")),n.props.flex===void 0&&(n.props.flex=1),n.props.auto_width===void 0&&(n.props.auto_width=new ks)}),e.type===y.CALC&&e.props.calc_on_mounted===void 0&&(e.props.calc_on_mounted=!0),kre(t),e}function kre(e){if(!(!e||!e.listeners)){if(Object.keys(e.listeners).forEach(t=>{let r,n,o;e.listeners[t].forEach((i,u)=>{switch(i.event_key||i.eventKey){case"on_click_finish":n=i,o=u;break;case"on_click":r=i;break}}),n&&(n.cases[0].handlers.unshift(qb()),r?(n.cases.forEach(i=>{r.cases[0].handlers.push(i)}),e.listeners[t].splice(o,1)):n.event_key="on_click")}),!e.listeners.form_submit)e.listeners.form_submit=[{event_key:"on_click",event_param:[],cases:[Dre()]}];else if(e.listeners.form_submit&&e.listeners.form_submit&&e.listeners.form_submit[0]&&e.listeners.form_submit[0].cases&&e.listeners.form_submit[0].cases[0]&&e.listeners.form_submit[0].cases[0].handlers){let t=!1;e.listeners.form_submit[0].cases[0].handlers.forEach(r=>{r.method==="actionOperate"&&(t=!0)}),t||e.listeners.form_submit[0].cases[0].handlers.push(qb())}}}function Dre(){return{id:"case"+new Date().getTime(),name:"\u9ED8\u8BA4\u60C5\u5F62",match_type:"AND",match_rules:[],handlers:[qb()]}}function qb(){return{id:"handler"+new Date().getTime(),method:"actionOperate",params:{control_id:"",opt_type:"",opt_code:"",is_error_continue:!1}}}const Nre=(e,t)=>{const r=Array.isArray(e);let o=z(r?e:[e],i=>Fre(i,t));return r?o:o[0]};function Fre(e,t){if(e.type===y.LIST_VIEW){if(e.props.is_show_selection===!1){const r=[y.BATCH_SUBMISSION_LIST_BUTTON,y.LIST_PAGE_BTN_BATCH_PRINT,y.BATCH_DELETE_LIST_BUTTON];e.children.forEach(n=>{n.type===y.GRID_TABLE&&n.children.map(u=>u.type).some(u=>r.includes(u))===!0&&(e.props.is_show_selection=!0,n.props.is_show_selection=!0)})}e.props.caption===""&&(e.props.caption=t==null?void 0:t.formName),e.props.is_all_loaded===void 0&&(e.props.is_all_loaded=!0)}return e.type===y.TEXTAREA&&e.props.auto_size===void 0&&(e.props.auto_size=!1),e.type===y.SUBTABLE&&e.props.mobile_default_num===void 0&&(e.props.mobile_default_num=e.props.mobile_show_type==="tile"?5:10),e.type===y.TREE&&e.props.default_display===void 0&&(e.props.default_display=!1),e.type===y.GRID_TABLE&&e.props.is_show_toolbar===void 0&&(e.props.is_show_toolbar=!0),e.type===y.NUMBER&&e.props.regular_rules===void 0&&(e.props.regular_rules=new Cs),e}const jre=(e,t)=>{const r=Array.isArray(e);let o=z(r?e:[e],i=>Lre(i));return r?o:o[0]};function Lre(e,t){const r={[y.SUBTABLE]:[{key:"import_config",value:{template_type:"system",template_list:[]}},{key:"export_config",value:{template_type:"system",template_list:[]}}]};return e.type in r&&r[e.type].forEach(o=>{e.props[o.key]===void 0&&(e.props[o.key]=o.value)}),e.type==="card-group"&&e.props.isHideCaption===void 0&&(e.props.isHideCaption=!1),[y.LIST_PAGE_BTN_BATCH_PRINT_RECORD,y.EXPORT_LIST_BUTTON,y.EXPORT_RECORD_LIST_BUTTON,y.CREATE_FORM_LIST_BUTTON,y.IMPORT_RECORD_LIST_BUTTON,y.SUBMISSION_RECORD_LIST_BUTTON,y.BATCH_DELETE_LIST_BUTTON,y.BUTTON,y.SUBMISSION_RECORD_LIST_BUTTON,y.LIST_PAGE_BTN_BATCH_PRINT].includes(e.type)&&(e.control_type="base"),e.type===y.SUBTABLE&&e.props.mobile_default_num===void 0&&(e.props.mobile_default_num=e.props.mobile_show_type==="tile"?5:10),e}function Mre(e,t){var r,n;if((t==null?void 0:t.formType)===1&&(t==null?void 0:t.events)!==void 0){const o=(n=(r=t==null?void 0:t.events)==null?void 0:r.did_mount)!=null?n:[];o.length>0&&(t.events.did_init=o,t.events.did_mount=[]),t.events.did_init===void 0&&(t.events.did_init=[])}}const Cre=(e,t)=>{const r=Array.isArray(e),n=r?e:[e],o={};let i=z(n,u=>{const c=Vre(u);return o[u.id]=u,c});return Mre(o,t),r?i:i[0]};function Vre(e,t){var r,n,o;if(e.type===y.TEXTAREA){const i={rowHeightType:e.props.auto_size===!0?"auto":"fixed",minRows:(r=e.props.line_ellipsis)!=null?r:4,maxRows:(n=e.props.max_rows)!=null?n:20,fiexdRow:(o=e.props.line_ellipsis)!=null?o:4};if(e.props.row_height_setting=yn(new Tg({pc:i,mobile:i})),e.type===y.ORGANIZATION_SELECTION){const u=e.props.selected_content_config,c=u==null?void 0:u.display_bo_list;c&&c.forEach(l=>{l.value==="org_type_code"&&(l.label="\u4E1A\u52A1\u7C7B\u578B"),l.value==="org_pattern_code"&&(l.label="\u7EC4\u7EC7\u5F62\u6001")})}e.type===y.LIST_SELECT_BUTTON&&e.props.disable_filling===void 0&&(e.props.disable_filling=!1)}return e}const zre=(e,t)=>{const r=Array.isArray(e),n=r?e:[e],o={};let i=z(n,u=>{const c=Hre(u);return o[u.id]=u,c});return qre(o,t),r?i:i[0]};function Hre(e,t){return e}function qre(e,t){(t==null?void 0:t.formType)===0&&(t==null?void 0:t.listeners)!==void 0&&Object.keys(t==null?void 0:t.listeners).map(r=>{var i,u,c,l,a;const n=t==null?void 0:t.listeners[r],o=e[r];(o==null?void 0:o.type)===y.BUTTON&&(["draft","form_submit","save"].includes((u=(i=o.props)==null?void 0:i.opt_obj)==null?void 0:u.opt_type)&&(n==null||n.map(f=>{var _,p,g,O;(_=f==null?void 0:f.cases)==null||_.map(b=>{var w;(w=b==null?void 0:b.handlers)==null||w.map(d=>{var $,P,S,E;(d==null?void 0:d.method)==="optPage"&&d.params.operation==="refresh"&&(d.params.operation="close"),(d==null?void 0:d.method)==="openPage"&&((E=(S=(P=($=d.params)==null?void 0:$.options)==null?void 0:P.link)==null?void 0:S.fx)==null?void 0:E.expression)==="GET_FORM_URL(GET_PAYLOAD_VAL('value').data_uid,{type:'edit'})"&&(d.id="optPage",d.method="optPage",d.params={operation:"close"})})}),((O=(g=(p=f==null?void 0:f.cases)==null?void 0:p[0])==null?void 0:g.handlers)==null?void 0:O.length)===1&&f.cases[0].handlers.push({id:"optPage",method:"optPage",params:{operation:"close"}})})),["form_submit"].includes((l=(c=o.props)==null?void 0:c.opt_obj)==null?void 0:l.opt_type)&&((a=t.dataModelExtend)==null?void 0:a.process_status_enum_type)==="business"&&(n==null||n.map(f=>{f.cases[0].handlers.map(_=>{(_==null?void 0:_.method)==="optPage"&&_.params.operation==="close"&&(_.params.operation="edit")})})))})}const Ure=(e,t)=>{const r=Array.isArray(e),n=r?e:[e],o={};let i=z(n,u=>{const c=Wre(u);return o[u.id]=u,c});return Kre(o,t),r?i:i[0]};function Wre(e,t){if(e.type===y.ORGANIZATION_SELECTION){const r=e.props.selected_content_config,n=r==null?void 0:r.display_bo_list;n&&n.forEach(o=>{o.value==="org_type_code"&&(o.label="\u4E1A\u52A1\u7C7B\u578B"),o.value==="org_pattern_code"&&(o.label="\u7EC4\u7EC7\u5F62\u6001")})}return e}function Kre(e,t){var r,n;if((t==null?void 0:t.formType)===1&&(t==null?void 0:t.events)!==void 0){const o=(n=(r=t==null?void 0:t.events)==null?void 0:r.did_mount)!=null?n:[];o.length>0&&(t.events.did_init=o,t.events.did_mount=[]),t.events.did_init===void 0&&(t.events.did_init=[])}}const Gre=(e,t)=>{const r=Array.isArray(e);let o=z(r?e:[e],i=>Xre(i));return r?o:o[0]};function Xre(e,t){var r,n;if(e.type===y.SIMPLE_SEARCH&&(e.props.view_config===void 0&&(e.props.view_config=(r=e.children)==null?void 0:r.map(o=>{var i;return(i=o.props)==null?void 0:i.data_bind})),e.props.simple_config===void 0&&(e.props.simple_config=(n=e.children)==null?void 0:n.map(o=>{var i;return(i=o.props)==null?void 0:i.data_bind}))),e.type===y.ORGANIZATION_SELECTION){const o=e.props.selected_content_config,i=o==null?void 0:o.display_bo_list;i&&i.forEach(u=>{u.value==="org_type_code"&&(u.label="\u4E1A\u52A1\u7C7B\u578B"),u.value==="org_pattern_code"&&(u.label="\u7EC4\u7EC7\u5F62\u6001")})}return e}const Qre=(e,t)=>{const r=Array.isArray(e);let o=z(r?e:[e],i=>Jre(i));return noe(o),Zre(o),r?o:o[0]};function Jre(e,t){return e.type===y.SIMPLE_SEARCH&&e.children.forEach(r=>{if(r.type===y.SELECT||r.type===y.SELECT_MULTIPLE){const n=r;n.props.option_config==="datasource"&&(n.props.default_show_options=!1)}}),e}function Zre(e){var t,r;if(e[0].type===y.LIST_VIEW){const n=e[0].props;let o={type:(t=n.row_style_type)!=null?t:"none",interval:{color:(r=n.row_style_bg_color)!=null?r:""},rules:[]};n.row_style_rules&&(n.row_style_rules.forEach(i=>{const u=i.id;let c={color:i.color,type:"background",scope:"row",fieldCodes:["_row_"]},l;if(n.row_style_rules_script){const a=n.row_style_rules_script.find(f=>f.id===u);a&&(l=toe(i.filters,a.script))}i.settings=[c],i.script=l,delete i.color}),o.rules=n.row_style_rules),n.row_style=o,delete n.row_style_type,delete n.row_style_bg_color,delete n.row_style_rules,delete n.row_style_rules_script}}function zT(e,t){return t||(t={}),e.forEach(r=>{if(r.children)zT(r.children,t);else{const n=r.left_variable_bo;switch(n.type){case"people":case"department":case"array":case"timestamp":let o=n.value;t[o]=n;break}}}),t}function Yre(e){return e=e.replace(/\(|\)/g,"").replace(/(\|\|)|(&&)/g,"__split__"),e.split("__split__").map(r=>r.replace(/^\s+|\s+$/gm,""))}function eoe(e){let t="",r="";if(e[0]==="!")t="is_empty";else{const n=e.match(/(===|!=|>|>=|<|<=)/);if(n){const o=n[0];switch(o){case"===":t="op_equal";break;case"!=":t="op_no_equal";break;case">":t="op_greater";break;case">=":t="op_greater_equal";break;case"<":t="op_less";break;case"<=":t="op_less_equal";break;default:t="is_not_empty";break}r=e.split(o)[1]||""}else t="is_not_empty"}return{operate:t,value:r}}function toe(e,t){const r=zT(e);return Yre(t).forEach(o=>{Object.keys(r).forEach(i=>{if(o.indexOf(`params.data.data_value_map['${i}']`)>-1){const l=r[i].type,{operate:a,value:f}=eoe(o);let _=`SpecialMatch(data, sys, '${i}', '${l}', '${a}', ${f||"''"})`;t=t.replace(o,_)}})}),t=t.replace(/params.data.data_value_map/g,"data"),t}function noe(e){if(e[0].type===y.LIST_VIEW){const t=e[0].children.find(r=>r.type===y.GRID_TABLE);if(t){const r=t.props.headers,n=t.props.footers,o={};n&&n.length>0&&n.forEach(i=>{const u=i.id.replace("foot_",""),c=i.children;c&&c.length>0&&i.children[0].type!==y.BUTTON&&(i.children[0].field_type=i.field_type||"varchar"),o[u]=i}),r.forEach(i=>{const u=o[i.id];if(u){const c=u.children;if(!c||c.length===0)return;const l=i.children||[];i.children=[].concat(l,c)}}),t.props.footers=[]}}return e}const roe=(e,t)=>{const r=Array.isArray(e);let o=ooe(r?e:[e],t);return r?o:o[0]};function ooe(e,t){const r=uoe(t);return r.length>0&&(ioe(r,t),HT(r,e)),e}function HT(e,t){if(t){const r=t.length;for(let n=r-1;n>=0;n--){const o=t[n],i=o.id;e.indexOf(i)>-1?t.splice(n,1):HT(e,o.children)}}}function ioe(e,t){const r=(t==null?void 0:t.permission_controls)||[];for(let n=r.length-1;n>=0;n--){const o=r[n].control_id;e.indexOf(o)>-1&&r.splice(n,1)}}function uoe(e){const t=[],r=e==null?void 0:e.listeners;return r&&Object.keys(r).forEach(n=>{r[n].forEach(o=>{!o.cases||o.cases.forEach(i=>{!i.handlers||i.handlers.forEach(u=>{var c;if(!!u&&u.method==="openPage"){const l=(c=u.params)==null?void 0:c.relation_control_id;l&&t.push(l)}})})})}),t}var qT={"v1.0":Wne,"v2.0":ure,"v2.1":lre,"v2.2":fre,"v2.3":_re,"v2.4":dre,"v2.5":hre,"v2.6":gre,"v2.7":Ore,"v2.8":$re,"v2.9":Rre,"v2.10":Ere,"v3.0":Ire,"v3.1":Are,"v3.2":Nre,"v3.3":jre,"v3.4":Cre,"v3.5":zre,"v3.6":Ure,"v3.7":Gre,"v3.8":Qre,"v3.10":roe,"v3.11":()=>{}};const UT=(e,t)=>{const r=WT(e),n=WT(t),o=r.pop(),i=n.pop(),u=XT(r,n);return u!==0?u:o&&i?XT(o.split("."),i.split(".")):o||i?o?-1:1:0},gs=(e,t,r)=>{foe(r);const n=UT(e,t);return QT[r].includes(n)},coe=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,WT=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(coe);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},KT=e=>e==="*"||e==="x"||e==="X",GT=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},loe=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],aoe=(e,t)=>{if(KT(e)||KT(t))return 0;const[r,n]=loe(GT(e),GT(t));return r>n?1:r<n?-1:0},XT=(e,t)=>{for(let r=0;r<Math.max(e.length,t.length);r++){const n=aoe(e[r]||"0",t[r]||"0");if(n!==0)return n}return 0},QT={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},JT=Object.keys(QT),foe=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(JT.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${JT.join("|")}`)};function Ub(e){return e.replace(/^v/,"")}const qr=Object.keys(qT).map(e=>Ub(e)).sort(UT),zo=qr[qr.length-1];class soe{constructor(t,r=zo){this.schemaVersion=t,this.toVersion=r,gs(r,zo,">")?Xr(`Version Builder: The specified ${r} is an undefined version, and the current latest version is ${zo}`):(!qr.includes(Ub(r))||!qr.includes(Ub(t)))&&Xr(`Version Builder: Please give me a valid version number, The valid version is: ${qr.join(",")}, But give me a ${t}`)}dataCleaner(t,r){if(gs(this.toVersion,this.schemaVersion,"="))return t;const n=this.callDataCleanerKeys.reduce((o,i,u,c)=>{var _;const l=(_=c[u+1])!=null?_:this.toVersion;Uo(`Version Builder: current version: ${i}, nextVersion: ${l}`);const a=qT[i];let f=o;if(typeof a=="function"){const p=a(o,r);p&&(f=p)}return f},t);return Uo(`Version Builder: Version conversion completed, evolving from ${this.schemaVersion} to ${this.toVersion}`),n}get runDataCleanerKeys(){return qr.filter(t=>gs(t,this.schemaVersion,">=")&&gs(t,this.toVersion,"<"))}get callDataCleanerKeys(){return this.runDataCleanerKeys.map(t=>"v"+t)}get version(){return zo}static get version(){return zo}}Bn.VersionBuilder=soe,Object.defineProperty(Bn,"__esModule",{value:!0})});
|
|
1
|
+
(function(Bn,Wr){typeof exports=="object"&&typeof module!="undefined"?Wr(exports):typeof define=="function"&&define.amd?define(["exports"],Wr):(Bn=typeof globalThis!="undefined"?globalThis:Bn||self,Wr(Bn.modelDrivenUpgrade={}))})(this,function(Bn){"use strict";var Wr="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",ZT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",YT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",e3="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",t3="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",n3="{caption}\u5FC5\u586B",r3="\u8BF7\u8F93\u5165\u6807\u9898",o3="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",i3="\u8BF7\u8F93\u5165\u884C\u6807\u9898",u3="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",c3="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",l3="\u8BF7\u7ED1\u5B9A\u8868\u5355",a3="\u8BF7\u7ED1\u5B9A\u5217\u8868",f3="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",s3="\u8BF7\u8F93\u5165\u663E\u793A\u503C",_3="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",y3="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",p3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",d3="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",v3="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",h3="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",b3="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",g3="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",m3="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",O3="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",w3="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",$3="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",P3="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",R3="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",S3="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",E3="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",T3="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",I3="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",B3="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",A3="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",x3="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",k3="\u8BF7\u7ED1\u5B9A\u670D\u52A1",D3="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",N3="\u8BF7\u9009\u62E9\u7701",F3="\u8BF7\u9009\u62E9\u5E02",j3="\u8BF7\u9009\u62E9\u533A",L3="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",M3="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",C3="\u8BF7\u8F93\u5165\u5217\u5BBD",V3="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",z3="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",H3="\u8BF7\u9009\u62E9\u63A7\u4EF6",q3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",U3="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",W3="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",K3="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",G3="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",X3="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Q3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",J3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Z3="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Y3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",eI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",tI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",nI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",rI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",oI="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",iI="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",uI="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",cI="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",lI="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",aI="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",fI="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",sI="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",_I="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",yI="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",pI="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",dI="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",vI="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",hI={isNotNumber:Wr,isNotString:ZT,isNotObject:YT,isNotArray:e3,isNotBoolean:t3,runtimeRequired:n3,pleaseEnterCaption:r3,pleaseEnterCaptionTip:o3,pleaseEnterRowCaption:i3,pleaseEnterPlaceholder:u3,pleaseEnterFieldCode:c3,pleaseEnterForm:l3,pleaseEnterList:a3,pleaseEnterProcess:f3,pleaseEnterLabel:s3,pleaseEnterValue:_3,bizKeyNotBindFiled:y3,pleaseSelectOneField:p3,pleaseEnterNumberRange:d3,pleaseEnterAValueGreaterThanMin:v3,pleaseEnterAValueLessThanMax:h3,numberRangeSetError:b3,stringRangeError:g3,attachmentMaxSize:m3,pleaseEnterTotalScoreSetting:O3,theTotalScoreMustNotBeLessThan1:w3,scoreDefaultValueRange:$3,attachmentLimitError:P3,PleaseReselectTheOptionalQuantity:R3,TheMaximumLengthIsGreaterThanTheMinimumLength:S3,TheMinimumLengthIsGreaterThanTheMaximumLength:E3,PleaseSelectTheCorrectOptionSettings:T3,optionIdIsRepeat:I3,optionIsRequired:B3,pleaseEnterDataCode:A3,pleaseEnterValueFieldCode:x3,pleaseEnterSvcCode:k3,pleaseBindAtLeastOneDisplayValue:D3,pleaseSelectProvince:N3,pleaseSelectCity:F3,pleaseSelectDistrict:j3,limitRowsCannotBeLessThan0:L3,TheNumberOfRowsCannotBeLessThanMinRows:M3,pleaseEnterColumnWidth:C3,pleaseSetTheLogicalRelationshipOfAllRuleConditions:V3,pleaseCompleteAllRulesAndConditions:z3,pleaseSelectControl:H3,pleaseSelectAtLeastOneColumn:q3,pleaseSelectFillBackMode:U3,pleaseSelectDashboard:W3,rootNodeIsRequired:K3,theViewNameCannotBeEmpty:G3,pleaseSelectOcrType:X3,pleaseSelectAtLeastOneFieldToFillIn:Q3,pleaseChooseAtLeastOne:J3,pleaseEnterButtonContent:Z3,pleaseEnterDataCodeInDataSetting:Y3,pleaseEnterValueFieldCodeInDataSetting:eI,pleaseEnterSvcCodeInDataSetting:tI,pleaseBindAtLeastOneDisplayValueInDataSetting:nI,rootNodeIsRequiredInDataSetting:rI,pleaseEnterMaxHeight:oI,pleaseEnter:iI,pleaseEnterWatermark:uI,pleaseEnterFileName:cI,pleaseUploadAtLeastOnePrintTemplate:lI,pleaseAssignBusiness:aI,pleaseAssignExternal:fI,pleaseEnterAliasCode:sI,pleaseSelectDataCode:_I,pleaseSelectSvcCode:yI,pleaseSelectJoinFieldCode:pI,pleaseSelectMainFieldCode:dI,pleaseSelectSortFieldCode:vI},bI="Please enter a number",gI="Please enter a string",mI="Please enter an object",OI="Please enter an array",wI="Please enter a boolean",$I="{caption} Required",PI="Please enter the title",RI="Please enter the bubble prompt",SI="Please enter the row title",EI="Please enter the prompt text",TI="Please bind data items",II="Please bind the form",BI="Please bind the list",AI="Please bind the process",xI="Please enter the displayed value",kI="Please enter the stored value",DI="The document number is not bound to the data item",NI="Please select at least one display field",FI="Please enter a value greater than or equal to {min} and less than or equal to {max}",jI="Please enter a value greater than or equal to {min}",LI="Please enter a value less than or equal to {max}",MI="The value range is set incorrectly",CI="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",VI="The attachment size must be between 0MB and 1000MB",zI="Please fill in the total score setting",HI="The total score cannot be less than 1",qI="The default value must be between {min} and {max}",UI="The number of attachment uploads exceeds the limit",WI="Please re-select the optional quantity",KI="The maximum length of the control must be greater than the minimum length",GI="The minimum length of the control must be less than the maximum length",XI="Please select the correct option setting",QI="Option ID cannot be repeated",JI="Please enter at least one option",ZI="Please bind the data source",YI="Please bind the stored value",eB="Please bind the service",tB="At least one display value must be bound",nB="Please select a province",rB="Please select a city",oB="Please select a district",iB="The minimum number of lines to fill in cannot be less than 0",uB="The number of rows cannot be less than {min} rows",cB="Please enter the column width",lB="Please set the logical relationship of all rule conditions",aB="Please complete all rules and conditions",fB="please select control",sB="Please select the dashboard",_B="View name cannot be empty",yB="Please select recognition type",pB="Please select at least one field to fill in",dB="Please select at least one",vB="Please enter the button title",hB="Please bind the business model in the data settings",bB="Please bind storage values in data settings",gB="Please bind the service in the data settings",mB="Please bind at least one display value in the data settings",OB="Please select the root node in the data settings",wB="Please enter the maximum height",$B="The input content cannot be empty",PB="Watermark cannot be empty",RB="File name cannot be empty",SB="Please upload at least one printing template!\uFF01",EB="Please select a specific business department",TB="Please select a specified external organization",IB="Please enter a sub table alias",BB="Please select the associated table to set the business model",AB="Please select the association table to set the binding service",xB="Select associated sub table fields",kB="Please select the associated main table field",DB="Please select the sort field",NB={isNotNumber:bI,isNotString:gI,isNotObject:mI,isNotArray:OI,isNotBoolean:wI,runtimeRequired:$I,pleaseEnterCaption:PI,pleaseEnterCaptionTip:RI,pleaseEnterRowCaption:SI,pleaseEnterPlaceholder:EI,pleaseEnterFieldCode:TI,pleaseEnterForm:II,pleaseEnterList:BI,pleaseEnterProcess:AI,pleaseEnterLabel:xI,pleaseEnterValue:kI,bizKeyNotBindFiled:DI,pleaseSelectOneField:NI,pleaseEnterNumberRange:FI,pleaseEnterAValueGreaterThanMin:jI,pleaseEnterAValueLessThanMax:LI,numberRangeSetError:MI,stringRangeError:CI,attachmentMaxSize:VI,pleaseEnterTotalScoreSetting:zI,theTotalScoreMustNotBeLessThan1:HI,scoreDefaultValueRange:qI,attachmentLimitError:UI,PleaseReselectTheOptionalQuantity:WI,TheMaximumLengthIsGreaterThanTheMinimumLength:KI,TheMinimumLengthIsGreaterThanTheMaximumLength:GI,PleaseSelectTheCorrectOptionSettings:XI,optionIdIsRepeat:QI,optionIsRequired:JI,pleaseEnterDataCode:ZI,pleaseEnterValueFieldCode:YI,pleaseEnterSvcCode:eB,pleaseBindAtLeastOneDisplayValue:tB,pleaseSelectProvince:nB,pleaseSelectCity:rB,pleaseSelectDistrict:oB,limitRowsCannotBeLessThan0:iB,TheNumberOfRowsCannotBeLessThanMinRows:uB,pleaseEnterColumnWidth:cB,pleaseSetTheLogicalRelationshipOfAllRuleConditions:lB,pleaseCompleteAllRulesAndConditions:aB,pleaseSelectControl:fB,pleaseSelectDashboard:sB,theViewNameCannotBeEmpty:_B,pleaseSelectOcrType:yB,pleaseSelectAtLeastOneFieldToFillIn:pB,pleaseChooseAtLeastOne:dB,pleaseEnterButtonContent:vB,pleaseEnterDataCodeInDataSetting:hB,pleaseEnterValueFieldCodeInDataSetting:bB,pleaseEnterSvcCodeInDataSetting:gB,pleaseBindAtLeastOneDisplayValueInDataSetting:mB,rootNodeIsRequiredInDataSetting:OB,pleaseEnterMaxHeight:wB,pleaseEnter:$B,pleaseEnterWatermark:PB,pleaseEnterFileName:RB,pleaseUploadAtLeastOnePrintTemplate:SB,pleaseAssignBusiness:EB,pleaseAssignExternal:TB,pleaseEnterAliasCode:IB,pleaseSelectDataCode:BB,pleaseSelectSvcCode:AB,pleaseSelectJoinFieldCode:xB,pleaseSelectMainFieldCode:kB,pleaseSelectSortFieldCode:DB},FB="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jB="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",LB="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",MB="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",CB="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",VB="{caption}\u5FC5\u9808",zB="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",HB="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",qB="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",UB="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",WB="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",KB="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",GB="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",XB="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",QB="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",JB="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ZB="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",YB="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",e1="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",t1="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",n1="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",r1="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",o1="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",i1="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",u1="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",c1="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",l1="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",a1="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",f1="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",s1="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5927\u5024\u306F\u6700\u5C0F\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",_1="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5C0F\u5024\u306F\u6700\u5927\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",y1="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",p1="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",d1="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",v1="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",h1="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",b1="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",g1="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",m1="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",O1="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",w1="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",$1="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",P1="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",R1="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",S1="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",E1="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",T1="please select control",I1="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",B1="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",A1="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",x1="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",k1="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",D1="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",N1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",F1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",j1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",L1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",M1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",C1="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",V1="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",z1="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",H1="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",q1="\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",U1="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",W1="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",K1="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",G1="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",X1="\u95A2\u9023\u30C6\u30FC\u30D6\u30EB\u8A2D\u5B9A\u30D0\u30A4\u30F3\u30C9\u30B5\u30FC\u30D3\u30B9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Q1="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",J1="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Z1="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Y1={isNotNumber:FB,isNotString:jB,isNotObject:LB,isNotArray:MB,isNotBoolean:CB,runtimeRequired:VB,pleaseEnterCaption:zB,pleaseEnterCaptionTip:HB,pleaseEnterRowCaption:qB,pleaseEnterPlaceholder:UB,pleaseEnterFieldCode:WB,pleaseEnterForm:KB,pleaseEnterList:GB,pleaseEnterProcess:XB,pleaseEnterLabel:QB,pleaseEnterValue:JB,bizKeyNotBindFiled:ZB,pleaseSelectOneField:YB,pleaseEnterNumberRange:e1,pleaseEnterAValueGreaterThanMin:t1,pleaseEnterAValueLessThanMax:n1,numberRangeSetError:r1,stringRangeError:o1,attachmentMaxSize:i1,pleaseEnterTotalScoreSetting:u1,theTotalScoreMustNotBeLessThan1:c1,scoreDefaultValueRange:l1,attachmentLimitError:a1,PleaseReselectTheOptionalQuantity:f1,TheMaximumLengthIsGreaterThanTheMinimumLength:s1,TheMinimumLengthIsGreaterThanTheMaximumLength:_1,PleaseSelectTheCorrectOptionSettings:y1,optionIdIsRepeat:p1,optionIsRequired:d1,pleaseEnterDataCode:v1,pleaseEnterValueFieldCode:h1,pleaseEnterSvcCode:b1,pleaseBindAtLeastOneDisplayValue:g1,pleaseSelectProvince:m1,pleaseSelectCity:O1,pleaseSelectDistrict:w1,limitRowsCannotBeLessThan0:$1,TheNumberOfRowsCannotBeLessThanMinRows:P1,pleaseEnterColumnWidth:R1,pleaseSetTheLogicalRelationshipOfAllRuleConditions:S1,pleaseCompleteAllRulesAndConditions:E1,pleaseSelectControl:T1,pleaseSelectDashboard:I1,theViewNameCannotBeEmpty:B1,pleaseSelectOcrType:A1,pleaseSelectAtLeastOneFieldToFillIn:x1,pleaseChooseAtLeastOne:k1,pleaseEnterButtonContent:D1,pleaseEnterDataCodeInDataSetting:N1,pleaseEnterValueFieldCodeInDataSetting:F1,pleaseEnterSvcCodeInDataSetting:j1,pleaseBindAtLeastOneDisplayValueInDataSetting:L1,rootNodeIsRequiredInDataSetting:M1,pleaseEnterMaxHeight:C1,pleaseEnter:V1,pleaseEnterWatermark:z1,pleaseEnterFileName:H1,pleaseUploadAtLeastOnePrintTemplate:q1,pleaseAssignBusiness:U1,pleaseAssignExternal:W1,pleaseEnterAliasCode:K1,pleaseSelectDataCode:G1,pleaseSelectSvcCode:X1,pleaseSelectJoinFieldCode:Q1,pleaseSelectMainFieldCode:J1,pleaseSelectSortFieldCode:Z1},eA={zhCN:hI,enUS:NB,jaJP:Y1},eg;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(eg||(eg={}));var tg;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(tg||(tg={}));var tA="zh-CN",An;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(An||(An={}));var ng;(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"})(ng||(ng={}));var y;(function(e){e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",e.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.ORGANIZATION_SELECTION="organization-selection",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.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.VUE_PAGE="vue-page"})(y||(y={}));var rg;(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"})(rg||(rg={}));var m;(function(e){e.VARCHAR="varchar",e.TEXT="text",e.ARRAY="array",e.ADDRESS="location",e.DECIMAL="decimal",e.DECIMAL_RANGE="decimal_range",e.TIMESTAMP="timestamp",e.EMPLOYEES="people",e.DEPARTMENTS="department",e.MONEY="money",e.TIMESCOPE="timescope",e.FILE="file",e.IMAGE="image",e.AUTO_NUMBER="auto_number",e.CALC="calc",e.LIST="list",e.JSON="json",e.ANY="ANY"})(m||(m={}));var qt;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"})(qt||(qt={}));var og={DEFAULT:"default"},ig="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",nA=ig+"0123456789";function _t(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",r=0;r<e;r++){var n=r===0?ig:nA,o=Math.random()*n.length;t+=n[parseInt(String(o),10)]}return t}function ms(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function rA(e){if(Array.isArray(e))return ms(e)}function oA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ug(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qo(e,t,r){return ag()?qo=Reflect.construct:qo=function(o,i,u){var c=[null];c.push.apply(c,i);var l=Function.bind.apply(o,c),a=new l;return u&&Gr(a,u.prototype),a},qo.apply(null,arguments)}function Kr(e){return Kr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kr(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&&Gr(e,t)}function iA(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function uA(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function cA(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function lA(e,t){return t&&(aA(t)==="object"||typeof t=="function")?t:oA(e)}function Gr(e,t){return Gr=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gr(e,t)}function lg(e){return rA(e)||uA(e)||fA(e)||cA()}function aA(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fA(e,t){if(!!e){if(typeof e=="string")return ms(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ms(e,t)}}function Os(e){var t=typeof Map=="function"?new Map:void 0;return Os=function(n){if(n===null||!iA(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return qo(n,arguments,Kr(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Gr(o,n)},Os(e)}function ag(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fg(e){var t=ag();return function(){var n=Kr(e),o;if(t){var i=Kr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lA(this,o)}}var ws=console;function $s(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o=t.slice(1);(n=ws).warn.apply(n,["\u{1F9D0} Driven Warning:"+t[0]].concat(lg(o)))}function Uo(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o=t.slice(1);(n=ws).log.apply(n,["\u{1F680} Driven Log:"+t[0]].concat(lg(o)))}function sA(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Ps=function(e){cg(r,e);var t=fg(r);function r(n){ug(this,r);var o;return o=t.call(this,n),o.name="\u{1F4A5} Driven Error",o.message=n?sA(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return r}(Os(Error)),_A=function(e){cg(r,e);var t=fg(r);function r(n){ug(this,r);var o;return o=t.call(this,n),o.name="\u{1F6A8} Driven Reference Error",o}return r}(Ps);function Xr(e){throw new Ps(e)}function sg(e){throw new _A(e)}function yA(e){ws.error(new Ps(e))}var pA=Object.prototype.toString;function _g(e,t){return pA.call(e)==="[object "+t+"]"}function dA(e){return _g(e,"String")}function vA(e){return _g(e,"Promise")}var hA=function(){function e(t){var r,n;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((n=(r=t.messages)!==null&&r!==void 0?r:this.getPreImport(t.locale))!==null&&n!==void 0?n:{}),t.variableRegExp&&(this.variableRegExp=t.variableRegExp),this.setLocale(t.locale)}return e.prototype.setLocale=function(t){var r=this;this.locale=t,this._messageCache.clear();var n=this.getMessageData();vA(n)?n.then(function(o){r._messageCache.clear(),r.messages[r.localeInMessageKey]=o}):this.messages[this.localeInMessageKey]=n},e.prototype.getMessageData=function(){var t=this._messages[this.localeInMessageKey];return typeof t=="function"?t():t},e.prototype.translate=function(t,r,n){var o=this.getMessage(t);return o?this.formatMessage(o,n):this.formatMessage(r,n)},e.prototype.getMessage=function(t){if(this._messageCache.has(t))return this._messageCache.get(t);var r=this.getPathArray(t),n=r.reduce(function(o,i,u,c){if(o!==void 0){var l=o[i];if(!(u===c.length-1&&!dA(l)))return l}},this.message);return this._messageCache.set(t,n),n},e.prototype.formatMessage=function(t,r){return r?t.replace(this.variableRegExp,function(n,o){var i=r[o];return i!==void 0?String(i):n}):t},e.prototype.getPreImport=function(t){var r;if(window.okI18nPreImport){var n=this.getLocaleInMessageKey(t);return window.okI18nPreImport.hasOwnProperty(n)?window.okI18nPreImport:(r={},r[n]=window.okI18nPreImport,r)}},e.prototype.getPathArray=function(t){return t.split(".")},e.prototype.getLocaleInMessageKey=function(t){return t.replace(/-/g,"")},Object.defineProperty(e.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"message",{get:function(){var t;return(t=this.messages[this.localeInMessageKey])!==null&&t!==void 0?t:{}},enumerable:!1,configurable:!0}),e}();function bA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gA(e,t,r){return t&&yg(e.prototype,t),r&&yg(e,r),e}function mA(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var h=function(){function e(){bA(this,e)}return gA(e,null,[{key:"getMessage",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(r,"",n)}},{key:"resetI18n",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:tA;return new hA({locale:r,messages:eA})}},{key:"setLocale",value:function(r){return this.$i18n.setLocale(r)}}]),e}();mA(h,"$i18n",h.resetI18n());function OA(e,t,r){var n=t.replace(/\[(\d)]/g,function(i,u){return"."+u}).split("."),o=!1;return n.reduce(function(i,u,c,l){var a=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,u)){$s("Can not set ".concat(t,"'s ").concat(u," property in current %o, Because there is no ").concat(u," property on the %o"),i,i);return}return c===l.length-1&&!Object.is(a[u],r)&&(a[u]=r,o=!0),a[u]}},e),o}var wA=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Rs={exports:{}};(function(e){(function(t){var r=function(d,$,P){if(!a($)||_($)||p($)||g($)||l($))return $;var S,E=0,C=0;if(f($))for(S=[],C=$.length;E<C;E++)S.push(r(d,$[E],P));else{S={};for(var x in $)Object.prototype.hasOwnProperty.call($,x)&&(S[d(x,P)]=r(d,$[x],P))}return S},n=function(d,$){$=$||{};var P=$.separator||"_",S=$.split||/(?=[A-Z])/;return d.split(S).join(P)},o=function(d){return O(d)?d:(d=d.replace(/[\-_\s]+(.)?/g,function($,P){return P?P.toUpperCase():""}),d.substr(0,1).toLowerCase()+d.substr(1))},i=function(d){var $=o(d);return $.substr(0,1).toUpperCase()+$.substr(1)},u=function(d,$){return n(d,$).toLowerCase()},c=Object.prototype.toString,l=function(d){return typeof d=="function"},a=function(d){return d===Object(d)},f=function(d){return c.call(d)=="[object Array]"},_=function(d){return c.call(d)=="[object Date]"},p=function(d){return c.call(d)=="[object RegExp]"},g=function(d){return c.call(d)=="[object Boolean]"},O=function(d){return d=d-0,d===d},b=function(d,$){var P=$&&"process"in $?$.process:$;return typeof P!="function"?d:function(S,E){return P(S,d,E)}},w={camelize:o,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(d,$){return r(b(o,$),d)},decamelizeKeys:function(d,$){return r(b(u,$),d,$)},pascalizeKeys:function(d,$){return r(b(i,$),d)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=w:t.humps=w})(wA)})(Rs);var pg={};Object.defineProperty(pg,"__esModule",{value:!0});function Ss(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:Ss(t));{const t={};for(const r in e){const n=e[r];t[r]=typeof n!="object"||n===null?n:Ss(n)}return t}}var $A=pg.default=Ss;function Je(e){if(e!==void 0)return typeof e=="object"?$A(e):e}function we(e){return dg(e)&&"zh"in e}function dg(e){return Object.prototype.toString.call(e)==="[object Object]"}function Es(e){return Array.isArray(e)}function xn(e){return isNaN(parseFloat(e))?"":Number(e)}function PA(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function z(e,t){var r=[];return Array.isArray(e)&&(r=e.map(function(n){var o=n;return Array.isArray(n==null?void 0:n.children)&&(o.children=z(n.children,t)),Array.isArray(n==null?void 0:n.footers)&&(o.footers=z(n.footers,t)),t(o)})),r}function RA(e){return Rs.exports.camelizeKeys(e)}function yn(e){return Rs.exports.decamelizeKeys(e)}function Ts(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function SA(e){if(Array.isArray(e))return Ts(e)}function vg(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(a){r(a);return}c.done?t(l):Promise.resolve(l).then(n,o)}function EA(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){vg(i,n,o,u,c,"next",l)}function c(l){vg(i,n,o,u,c,"throw",l)}u(void 0)})}}function TA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function IA(e,t,r){return t&&hg(e.prototype,t),r&&hg(e,r),e}function bg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function BA(e){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 Is(e){return SA(e)||BA(e)||xA(e)||AA()}function xA(e,t){if(!!e){if(typeof e=="string")return Ts(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ts(e,t)}}function kA(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(a){return function(f){return l([a,f])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(f){a=[6,f],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var DA=function(){function e(){TA(this,e),bg(this,"_events",new Map),bg(this,"debug",!1)}return IA(e,[{key:"emit",value:function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];var u=this;return EA(function(){var c,l,a,f,_,p,g,O,b,w,d,$;return kA(this,function(P){switch(P.label){case 0:if(c=u._events.get(r),l=[],!c)return[3,10];a=c.slice(),f=!0,_=!1,p=void 0,P.label=1;case 1:P.trys.push([1,8,9,10]),g=a[Symbol.iterator](),P.label=2;case 2:if(f=(O=g.next()).done)return[3,7];if(b=O.value,!c.includes(b))return[3,6];P.label=3;case 3:return P.trys.push([3,5,,6]),u.debug&&Uo.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(b.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+b.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"\u3002")].concat(Is(o))),[4,b.apply(null,Is(o))];case 4:return w=P.sent(),u.debug&&Uo.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(b.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+b.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Is(o),[w])),l.push(w),w===!1?[3,7]:[3,6];case 5:return d=P.sent(),yA(String(d)+":"+String(d.stack)),[3,6];case 6:return f=!0,[3,2];case 7:return[3,10];case 8:return $=P.sent(),_=!0,p=$,[3,10];case 9:try{!f&&g.return!=null&&g.return()}finally{if(_)throw p}return[7];case 10:return[2,l]}})})()}},{key:"on",value:function(r,n){if(this._events.has(r)){var o;(o=this._events.get(r))===null||o===void 0||o.push(n)}else this._events.set(r,[n])}},{key:"off",value:function(r,n){if(this._events.has(r)){var o=this._events.get(r),i=o==null?void 0:o.indexOf(n);o==null||o.splice(i,1)}}},{key:"delete",value:function(r){this._events.has(r)&&this._events.delete(r)}},{key:"clear",value:function(){this._events=new Map}}]),e}();function NA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function FA(e,t,r){return t&&gg(e.prototype,t),r&&gg(e,r),e}function jA(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var LA=[{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"}],MA=function(){function e(){NA(this,e)}return FA(e,null,[{key:"getEventsFromKeys",value:function(r){var n=typeof r=="string"?[r]:r;return e.events.filter(function(o){return n.includes(o.key)})}},{key:"getEventsFromControl",value:function(r){var n=[],o=r.eventKeys;n=n.concat(e.events.filter(function(u){return o.includes(u.key)}));var i=r.customEvents.map(function(u){var c=u.key;return u.namespace!==void 0&&u.namespace!==null&&u.namespace!==""&&(c=u.namespace+":"+u.key),{key:c,code:u.key,name:u.name}});return n=n.concat(i),n}}]),e}();jA(MA,"events",LA);function Bs(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function CA(e){if(Array.isArray(e))return Bs(e)}function VA(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function zA(){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 mg(e){return CA(e)||VA(e)||HA(e)||zA()}function HA(e,t){if(!!e){if(typeof e=="string")return Bs(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Bs(e,t)}}function As(e,t){var r;!((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0)&&r.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function Og(e,t,r){r!=="Runtime"&&(e.parent=t,As(e,"parent"))}function qA(e,t,r){e.forEach(function(n){Og(n,t,r)})}var wg=Symbol("targetKey");function $g(e){var t;return(t=e[wg])!==null&&t!==void 0?t:e}function Pg(e,t,r){return qA(e,t,r),new Proxy(e,{get:function(o,i){for(var u=arguments.length,c=new Array(u>2?u-2:0),l=2;l<u;l++)c[l-2]=arguments[l];var a;return i===wg?o:(a=Reflect).get.apply(a,[o,i].concat(mg(c)))},set:function(o,i,u){for(var c=arguments.length,l=new Array(c>3?c-3:0),a=3;a<c;a++)l[a-3]=arguments[a];var f;if(Es(e)&&i==="length"&&u===e.length)return!0;var _=(f=Reflect).set.apply(f,[o,i,u].concat(mg(l)));return dg(u)&&Og(u,t,r),_}})}function St(e,t,r,n,o){var i=n!=null?n:e,u=Pg($g(r!=null?r:[]),i,o);Object.defineProperty(e,t,{get:function(){return u},set:function(l){u=Pg($g(l),i,o)},enumerable:!0})}function UA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function WA(e,t,r){return t&&Rg(e.prototype,t),r&&Rg(e,r),e}function Ut(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Sg=[],Wo=function(){function e(t){UA(this,e),Ut(this,"registeredControlTypes",new Set),Ut(this,"controlConfigMap",new Map),Ut(this,"_controls",[]),Ut(this,"_type",void 0),this._type=t,this._initControls(t)}return WA(e,[{key:"registerControlConfig",value:function(r,n){return this.controlConfigMap.set(r,n),this}},{key:"getControlConfig",value:function(r){return this.controlConfigMap.get(r)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(r){r.__is_control__||Xr("".concat(r.name," is not a Control"));var n=this._controls.findIndex(function(o){return o.controlType===r.controlType});return n>-1&&($s("The ".concat(r.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(n,1)),this.registeredControlTypes.add(r.controlType),this._controls.push(r),this}},{key:"isLayoutControl",value:function(r){return r.controlType===An.LAYOUT}},{key:"isFormControl",value:function(r){return r.controlType===An.FORM}},{key:"isListControl",value:function(r){return r.controlType===An.LIST}},{key:"isColumnControl",value:function(r){return r.controlType===An.COLUMN}},{key:"createControl",value:function(r,n){var o=this;if(Array.isArray(r))return r.map(function(f){return o.createControl(f,n)});if(r.children&&(r.children=r.children.map(function(f){return o.createControl(f,n)})),this.isListControl(r)){var i=r.props;i.headers&&(i.headers=i.headers.map(function(f){return o.createControl(f,n)})),i.footers&&(i.footers=i.footers.map(function(f){var _;return f&&(_=o.createControl(f,n)),_}))}var u=this.getControlFormType(r.type);if(u){var c=r;if(typeof n=="function"){var l=n(c);l&&(c=l)}var a;return u.mode==="Runtime"?(a=c,a.fieldType=u.controlFieldType,this._setParentPrototypeToSchema(a,this)):a=new u(c),a}else Xr("The constructor of ".concat(r.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(r,n){delete r.parent,Object.defineProperty(r,"parent",{configurable:!0,get:function(){return n}}),As(r,"parent")}},{key:"_setParentPrototypeToSchema",value:function(r,n){n._type==="Runtime"&&(Object.defineProperty(r,"parent",{configurable:!0,get:function(){var i=r.id,u=n._controlParentIdMap,c=n.instanceMap;if(!(!u||!c)){var l=u[i],a=c[i];if(!(!l&&!a)){var f=a.findIndex(function(g){return g==r}),_=c[l]||[],p;return _.length!==a.length?p=_[0]:p=_[f],p}}}}),As(r,"parent"))}},{key:"createControlInstance",value:function(r,n){var o=this.getControlFormType(r);if(o)return new o(n)}},{key:"getControlFormType",value:function(r){return this._controls.find(function(n){return n.controlType===r})}},{key:"_initControls",value:function(r){var n=this;this.constructor.staticControls.forEach(function(o){n.register(o[r]),e.staticControlsRuntimeRules.set(o.Runtime.controlType,o.Property.RuntimeRules),o.Property.mode=r})}}],[{key:"staticGetRules",value:function(r,n){var o=e.staticControlsRuntimeRules.get(r),i=[];if(o){var u=new o(n);i=Array.from(u)}return i}},{key:"register",value:function(r,n){var o=r.Designer,i=r.Runtime,u=r.Property;(!o||!i||!o.__is_control__||!i.__is_control__)&&Xr("".concat(r," is can't register as a Control"));var c=this.staticControls.findIndex(function(l){return l.Designer.controlType===o.controlType});return c>-1&&($s("The ".concat(o.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(c,1)),this.staticRegisteredTypes.add(o.controlType),this.staticControls.push(r),u.mode=n,this}}]),e}();Ut(Wo,"staticControlsRuntimeRules",new Map),Ut(Wo,"staticControls",Sg),Ut(Wo,"staticRegisteredTypes",new Set(Sg.map(function(e){return e.Designer.controlType}))),Ut(Wo,"staticRegisteredConfigs",new Map);function M(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ko(e){return Ko=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ko(e)}function Ze(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xs(e,t)}function KA(e,t){return t&&(GA(t)==="object"||typeof t=="function")?t:M(e)}function xs(e,t){return xs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xs(e,t)}function GA(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ye(e){var t=XA();return function(){var n=Ko(e),o;if(t){var i=Ko(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KA(this,o)}}var et=function e(t){R(this,e),v(this,"dataCode",void 0),v(this,"fieldCode",void 0),v(this,"fieldType",void 0),v(this,"aliasCode",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:"",this.aliasCode=t==null?void 0:t.aliasCode},ks=function e(t){R(this,e),v(this,"minWidth",void 0),v(this,"maxWidth",void 0),v(this,"flex",void 0);var r;this.minWidth=(r=t==null?void 0:t.minWidth)!==null&&r!==void 0?r:150,this.maxWidth=t==null?void 0:t.maxWidth;var n;this.flex=(n=t==null?void 0:t.flex)!==null&&n!==void 0?n:1},Eg=function e(t){R(this,e),v(this,"rowHeightType",void 0),v(this,"minRows",void 0),v(this,"maxRows",void 0),v(this,"fiexdRow",void 0);var r;this.rowHeightType=(r=t==null?void 0:t.rowHeightType)!==null&&r!==void 0?r:"fixed";var n;this.minRows=(n=t==null?void 0:t.minRows)!==null&&n!==void 0?n:4;var o;this.maxRows=(o=t==null?void 0:t.maxRows)!==null&&o!==void 0?o:20;var i;this.fiexdRow=(i=t==null?void 0:t.fiexdRow)!==null&&i!==void 0?i:4},Tg=function e(t){R(this,e),v(this,"pc",void 0),v(this,"mobile",void 0),this.pc=new Eg(t==null?void 0:t.pc),this.mobile=new Eg(t==null?void 0:t.mobile)},Ds=function(e){Ze(r,e);var t=Ye(r);function r(n){R(this,r);var o;o=t.call(this,n),v(M(o),"width",void 0),v(M(o),"widthType",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:240;var u;return o.widthType=(u=n==null?void 0:n.widthType)!==null&&u!==void 0?u:"auto",o}return r}(ks),Ig=function e(t){R(this,e),v(this,"pc",void 0),v(this,"mobile",void 0),this.pc=new Ds(t==null?void 0:t.pc),this.mobile=t!=null&&t.mobile?new Ds(t==null?void 0:t.mobile):new Ds({width:130,minWidth:180})},QA=function e(t){R(this,e),v(this,"type",void 0),v(this,"customOptions",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"firstThree";var n;this.customOptions=(n=t==null?void 0:t.customOptions)!==null&&n!==void 0?n:[]},kn=function e(t){R(this,e),v(this,"dataCode",void 0),v(this,"formKey",void 0),v(this,"appId",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.formKey=(n=t==null?void 0:t.formKey)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:""},JA=function(e){Ze(r,e);var t=Ye(r);function r(n){R(this,r);var o;o=t.call(this,n),v(M(o),"primaryControlId",void 0);var i;return o.primaryControlId=(i=n==null?void 0:n.primaryControlId)!==null&&i!==void 0?i:"",o}return r}(kn),Bg=function e(t){R(this,e),v(this,"fieldCode",void 0),v(this,"dataCode",void 0);var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:"";var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:""},Ns=function e(t){R(this,e);var r;v(this,"appId",void 0),v(this,"formKey",void 0),v(this,"headers",void 0);var n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var i;this.headers=(i=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(u){return new Bg(u)}))!==null&&i!==void 0?i:[]},ZA=function e(t){R(this,e),v(this,"fieldName",void 0),v(this,"fieldCode",void 0),v(this,"fieldType",void 0);var r;this.fieldName=(r=t==null?void 0:t.fieldName)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:m.VARCHAR},YA=function(e){Ze(r,e);var t=Ye(r);function r(n){R(this,r);var o;o=t.call(this,n),v(M(o),"title",void 0),v(M(o),"svcCode",void 0),v(M(o),"isOpenFilter",void 0),v(M(o),"filters",void 0);var i;o.title=(i=n==null?void 0:n.title)!==null&&i!==void 0?i:"";var u;o.svcCode=(u=n==null?void 0:n.svcCode)!==null&&u!==void 0?u:"";var c;o.isOpenFilter=(c=n==null?void 0:n.isOpenFilter)!==null&&c!==void 0?c:!1;var l;return o.filters=(l=n==null?void 0:n.filters)!==null&&l!==void 0?l:[],o}return r}(kn),ex=function e(t){R(this,e);var r,n;v(this,"type","sublist-page"),v(this,"formBind",void 0),v(this,"displayFields",void 0),v(this,"sublists",void 0),this.formBind=new kn(t==null?void 0:t.formBind);var o;this.displayFields=(o=t==null||(r=t.displayFields)===null||r===void 0?void 0:r.map(function(u){return new ZA(u)}))!==null&&o!==void 0?o:[];var i;this.sublists=(i=t==null||(n=t.sublists)===null||n===void 0?void 0:n.map(function(u){return new YA(u)}))!==null&&i!==void 0?i:[]},tx=function e(t){R(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},Qr=function e(t){R(this,e),v(this,"type",void 0),v(this,"value",void 0),v(this,"displayBos",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"custom";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:[];var o;this.displayBos=(o=t==null?void 0:t.displayBos)!==null&&o!==void 0?o:[]},Fs=function e(t){var r=this;R(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 n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:_t();var o;this.ruleId=(o=t==null?void 0:t.ruleId)!==null&&o!==void 0?o:new Date().valueOf();var i;this.level=(i=t==null?void 0:t.level)!==null&&i!==void 0?i:0;var u;this.value=(u=t==null?void 0:t.value)!==null&&u!==void 0?u:"and",this.children=[],Array.isArray(t==null?void 0:t.children)&&(t==null||t.children.map(function(c){if(c.children!==void 0){var l,a=new e(c);(l=r.children)===null||l===void 0||l.push(a)}else{var f,_=new Go(c);(f=r.children)===null||f===void 0||f.push(_)}}))},Go=function e(t){R(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 r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:_t();var n;this.ruleId=(n=t==null?void 0:t.ruleId)!==null&&n!==void 0?n:new Date().valueOf();var o;this.symbol=(o=t==null?void 0:t.symbol)!==null&&o!==void 0?o:"";var i;this.checked=(i=t==null?void 0:t.checked)!==null&&i!==void 0?i:!1;var u;this.describe=(u=t==null?void 0:t.describe)!==null&&u!==void 0?u:"",this.leftVariableBo=new tx(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new Qr(t==null?void 0:t.rightVariableBo)},nx=function e(t){R(this,e),v(this,"aliasCode",void 0),v(this,"datasourceBind",void 0),v(this,"relationFields",void 0);var r;this.aliasCode=(r=t==null?void 0:t.aliasCode)!==null&&r!==void 0?r:"",this.datasourceBind=new ne(t==null?void 0:t.datasourceBind);var n;this.relationFields=(n=t==null?void 0:t.relationFields)!==null&&n!==void 0?n:[]},Te=function e(t){R(this,e),v(this,"controlId",void 0),v(this,"fieldCode",void 0),v(this,"fieldType",void 0),v(this,"propName",void 0);var r;this.controlId=(r=t==null?void 0:t.controlId)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:"";var i;this.propName=(i=t==null?void 0:t.propName)!==null&&i!==void 0?i:""},js=function e(t){R(this,e),v(this,"type",void 0),v(this,"value",void 0),v(this,"fieldType",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"FIELD";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:"",this.fieldType=t==null?void 0:t.fieldType},rx=function e(t){R(this,e),v(this,"columnName",void 0),v(this,"desc",void 0);var r;this.columnName=(r=t.columnName)!==null&&r!==void 0?r:"";var n;this.desc=(n=t.desc)!==null&&n!==void 0?n:!1};function Ls(e){var t,r,n,o;this.filters=(o=e==null||(t=e.filters)===null||t===void 0?void 0:t.map(function(c){return c.children!==void 0?new Fs(c):new Go(c)}))!==null&&o!==void 0?o:[];var i;this.viewFilters=(i=e==null||(r=e.viewFilters)===null||r===void 0?void 0:r.map(function(c){return c.children!==void 0?new Fs(c):new Go(c)}))!==null&&i!==void 0?i:[];var u;this.orders=(u=e==null||(n=e.orders)===null||n===void 0?void 0:n.map(function(c){return new rx(c)}))!==null&&u!==void 0?u:[]}var ne=function e(t){var r=this;R(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 n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.valueFieldCode=(i=t==null?void 0:t.valueFieldCode)!==null&&i!==void 0?i:"",this.displayBoList=[];var u;this.isOpenViewFilters=(u=t==null?void 0:t.isOpenViewFilters)!==null&&u!==void 0?u:0,Array.isArray(t==null?void 0:t.displayBoList)&&(t==null||t.displayBoList.map(function(f){var _;(_=r.displayBoList)===null||_===void 0||_.push(new js(f))}));var c;this.keywordMapping=(c=t==null?void 0:t.keywordMapping)!==null&&c!==void 0?c:"";var l;this.showOrder=(l=t==null?void 0:t.showOrder)!==null&&l!==void 0?l:!0;var a;this.svcCode=(a=t==null?void 0:t.svcCode)!==null&&a!==void 0?a:"",Ls.call(this,t)},Ms=function e(t){R(this,e),v(this,"dataCode",void 0),v(this,"displayBoList",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.displayBoList=(n=t==null?void 0:t.displayBoList)!==null&&n!==void 0?n:[]},Et=function e(t){R(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 r;this.code=(r=t==null?void 0:t.code)!==null&&r!==void 0?r:"view";var n;this.color=(n=t==null?void 0:t.color)!==null&&n!==void 0?n:"primary";var o;this.command=(o=t==null?void 0:t.command)!==null&&o!==void 0?o:"view";var i;this.confirmMessage=(i=t==null?void 0:t.confirmMessage)!==null&&i!==void 0?i:void 0;var u;this.defaultState=(u=t==null?void 0:t.defaultState)!==null&&u!==void 0?u:"default";var c;this.formKey=(c=t==null?void 0:t.formKey)!==null&&c!==void 0?c:void 0,this.formType=t==null?void 0:t.formType;var l;this.icon=(l=t==null?void 0:t.icon)!==null&&l!==void 0?l:"iconliulan1";var a;this.needConfirm=(a=t==null?void 0:t.needConfirm)!==null&&a!==void 0?a:!1;var f;this.openType=(f=t==null?void 0:t.openType)!==null&&f!==void 0?f:"modal";var _;this.priorityProcess=(_=t==null?void 0:t.priorityProcess)!==null&&_!==void 0?_:!0},Ag=function e(t){R(this,e);var r;v(this,"name",void 0),v(this,"key",void 0),v(this,"value",void 0);var n;this.name=(n=t==null?void 0:t.name)!==null&&n!==void 0?n:"";var o;this.key=(o=t==null?void 0:t.key)!==null&&o!==void 0?o:"";var i;this.value=(i=t==null||(r=t.value)===null||r===void 0?void 0:r.map(function(u){return new js(u)}))!==null&&i!==void 0?i:[]},Xo=function(e){Ze(r,e);var t=Ye(r);function r(n){R(this,r);var o,i;o=t.call(this,n),v(M(o),"attributes",void 0);var u;return o.attributes=(u=n==null||(i=n.attributes)===null||i===void 0?void 0:i.map(function(c){return new Ag(c)}))!==null&&u!==void 0?u:[],o}return r}(ne),ox=function(e){Ze(r,e);var t=Ye(r);function r(n){R(this,r);var o,i;o=t.call(this,n),v(M(o),"attributes",void 0),v(M(o),"formCode",void 0);var u;o.attributes=(u=n==null||(i=n.attributes)===null||i===void 0?void 0:i.map(function(l){return new Ag(l)}))!==null&&u!==void 0?u:[];var c;return o.formCode=(c=n==null?void 0:n.formCode)!==null&&c!==void 0?c:"",o}return r}(ne),xg=function(e){Ze(r,e);var t=Ye(r);function r(n){R(this,r);var o;o=t.call(this,n),v(M(o),"rootNode",void 0),v(M(o),"filterCode",void 0),o.rootNode=new Qr(n==null?void 0:n.rootNode);var i;return o.filterCode=(i=n==null?void 0:n.filterCode)!==null&&i!==void 0?i:"",o}return r}(Xo),kg=function e(t){R(this,e);var r;v(this,"dataCode",void 0),v(this,"appId",void 0),v(this,"fillList",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.fillList=(i=t==null||(r=t.fillList)===null||r===void 0?void 0:r.map(function(u){return new Te(u)}))!==null&&i!==void 0?i:[]},Dg=function(e){Ze(r,e);var t=Ye(r);function r(n){R(this,r);var o;return o=t.call(this,n),v(M(o),"filters",void 0),v(M(o),"viewFilters",void 0),v(M(o),"orders",void 0),Ls.call(M(o),n),o}return r}(kg),Ng=function(e){Ze(r,e);var t=Ye(r);function r(n){R(this,r);var o;o=t.call(this,n),v(M(o),"mode",void 0),v(M(o),"multiple",void 0);var i;o.mode=(i=n==null?void 0:n.mode)!==null&&i!==void 0?i:"current";var u;return o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1,o}return r}(kg),Cs=function e(t){R(this,e),v(this,"stencilName",void 0),v(this,"expression",void 0),v(this,"errMessage",void 0);var r;this.stencilName=(r=t==null?void 0:t.stencilName)!==null&&r!==void 0?r:"";var n;this.expression=(n=t==null?void 0:t.expression)!==null&&n!==void 0?n:"";var o;this.errMessage=(o=t==null?void 0:t.errMessage)!==null&&o!==void 0?o:""},ix=function e(t){R(this,e),v(this,"id",void 0),v(this,"label",void 0),v(this,"value",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:_t(8);var n;this.label=(n=t==null?void 0:t.label)!==null&&n!==void 0?n:"";var o;this.value=(o=t==null?void 0:t.value)!==null&&o!==void 0?o:this.label};function Tt(e){var t;return(t=e==null?void 0:e.map(function(r){return new ix(r)}))!==null&&t!==void 0?t:[]}var Vs=function e(){R(this,e)},ux=function(e){Ze(r,e);var t=Ye(r);function r(n){R(this,r);var o;return o=t.call(this),v(M(o),"amount",void 0),v(M(o),"currency",void 0),o.amount=new et(n==null?void 0:n.amount),o.currency=new et(n==null?void 0:n.currency),o}return r}(Vs),cx=function e(t){R(this,e),v(this,"amount",void 0),v(this,"currency",void 0);var r;this.amount=(r=t==null?void 0:t.amount)!==null&&r!==void 0?r:"";var n;this.currency=(n=t==null?void 0:t.currency)!==null&&n!==void 0?n:"CNY"},lx=function(e){Ze(r,e);var t=Ye(r);function r(n){R(this,r);var o;return o=t.call(this),v(M(o),"min",void 0),v(M(o),"max",void 0),o.min=new et(n==null?void 0:n.min),o.max=new et(n==null?void 0:n.max),o}return r}(Vs),ax=function e(t){R(this,e),v(this,"min",void 0),v(this,"max",void 0);var r;this.min=(r=t==null?void 0:t.min)!==null&&r!==void 0?r:"";var n;this.max=(n=t==null?void 0:t.max)!==null&&n!==void 0?n:""},fx=function e(t){R(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 r;this.city=(r=t==null?void 0:t.city)!==null&&r!==void 0?r:"";var n;this.cityDisplay=(n=t==null?void 0:t.cityDisplay)!==null&&n!==void 0?n:"";var o;this.district=(o=t==null?void 0:t.district)!==null&&o!==void 0?o:"";var i;this.districtDisplay=(i=t==null?void 0:t.districtDisplay)!==null&&i!==void 0?i:"";var u;this.province=(u=t==null?void 0:t.province)!==null&&u!==void 0?u:"";var c;this.provinceDisplay=(c=t==null?void 0:t.provinceDisplay)!==null&&c!==void 0?c:""},sx=function(e){Ze(r,e);var t=Ye(r);function r(n){R(this,r);var o;return o=t.call(this),v(M(o),"result",void 0),v(M(o),"unit",void 0),o.result=new et(n==null?void 0:n.result),o.unit=new et(n==null?void 0:n.unit),o}return r}(Vs),_x=function e(t){R(this,e),v(this,"result",void 0),v(this,"unit",void 0);var r;this.result=(r=t==null?void 0:t.result)!==null&&r!==void 0?r:0;var n;this.unit=(n=t==null?void 0:t.unit)!==null&&n!==void 0?n:""},zs;(function(e){e.CNY="CNY",e.USD="USD",e.JPY="JPY",e.EUR="EUR",e.INR="INR",e.IDR="IDR",e.BRL="BRL",e.AED="AED",e.AUD="AUD",e.CAD="CAD",e.EGP="EGP",e.GBP="GBP",e.ZAR="ZAR",e.KRW="KRW",e.MAD="MAD",e.MXN="MXN",e.MYR="MYR",e.PHP="PHP",e.PLN="PLN",e.RUB="RUB",e.SGD="SGD",e.THB="THB",e.TRY="TRY",e.TWD="TWD",e.VND="VND",e.HKD="HKD",e.IEP="IEP"})(zs||(zs={}));var s;(function(e){e.DEFAULT_DISPLAY="defaultDisplay",e.REQUIRED="required",e.IS_HIDE="isHide",e.IS_SHOW_UNIT="isShowUnit",e.IMD_SEARCH="immediatelySearch",e.MULTIPLE="multiple",e.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",e.CAPTION="caption",e.IS_HIDE_CAPTION="isHideCaption",e.DEFAULT_SHOW_OPTIONS="defaultShowOptions",e.CAN_SEARCH="canSearch",e.CAN_CHECK="canCheck",e.CAN_EDIT="canEdit",e.CAN_DELETE="canDelete",e.SHOW_UPPER_CASE="showUpperCase",e.MICROMETER="micrometer",e.PRECISION="precision",e.PERCENTAGE="percentage",e.OPTIONAL_LEVEL="optionalLevel",e.CONTAINS_SUB_NODE="containsSubNode",e.DEFAULT_COLLAPSE="defaultCollapse",e.CAN_VIEW_FORM="canViewForm",e.VIEW_FORM_MODEL_TYPE="viewFormModelType",e.SERVER_PAGINATION="serverPagination",e.IS_SHOW_CAPTION_TIP="isShowCaptionTip",e.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.SORTABLE="sortable"})(s||(s={}));var Hs;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"})(Hs||(Hs={}));var Wt=function e(t){R(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 r;this.isShow=(r=t==null?void 0:t.isShow)!==null&&r!==void 0?r:!0;var n;this.content=(n=t==null?void 0:t.content)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var i;this.openType=(i=t==null?void 0:t.openType)!==null&&i!==void 0?i:"modal";var u;this.type=(u=t==null?void 0:t.type)!==null&&u!==void 0?u:"";var c;this.priorityProcess=(c=t==null?void 0:t.priorityProcess)!==null&&c!==void 0?c:!1},yx=function e(t){R(this,e);var r;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 n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:_t(8);var o;this.title=(o=t==null?void 0:t.title)!==null&&o!==void 0?o:"";var i;this.headers=(i=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(u){return new Bg(u)}))!==null&&i!==void 0?i:[],Ls.call(this,t)},px=function e(t){R(this,e),v(this,"width",void 0),v(this,"height",void 0),v(this,"widthConfig",void 0),v(this,"heightConfig",void 0);var r;this.width=(r=t==null?void 0:t.width)!==null&&r!==void 0?r:"";var n;this.height=(n=t==null?void 0:t.height)!==null&&n!==void 0?n:"";var o;this.widthConfig=(o=t==null?void 0:t.widthConfig)!==null&&o!==void 0?o:"fill";var i;this.heightConfig=(i=t==null?void 0:t.heightConfig)!==null&&i!==void 0?i:"fill"},dx=function e(t){R(this,e),v(this,"optCode",void 0),v(this,"optType",void 0);var r;this.optCode=(r=t==null?void 0:t.optCode)!==null&&r!==void 0?r:"";var n;this.optType=(n=t==null?void 0:t.optType)!==null&&n!==void 0?n:""},vx=function e(t){R(this,e);var r,n;v(this,"id",void 0),v(this,"name",void 0),v(this,"settings",void 0),v(this,"filters",void 0),v(this,"script",void 0);var o;this.id=(o=t==null?void 0:t.id)!==null&&o!==void 0?o:_t();var i;this.name=(i=t==null?void 0:t.name)!==null&&i!==void 0?i:"";var u;this.filters=(u=t==null||(r=t.filters)===null||r===void 0?void 0:r.map(function(l){return l.children!==void 0?new Fs(l):new Go(l)}))!==null&&u!==void 0?u:[];var c;this.settings=(t==null?void 0:t.settings)&&Array.isArray(t==null?void 0:t.settings)?(c=t==null||(n=t.settings)===null||n===void 0?void 0:n.map(function(l){return new hx(l)}))!==null&&c!==void 0?c:[]:[],this.script=t==null?void 0:t.script},hx=function e(t){R(this,e),v(this,"color",void 0),v(this,"fieldCodes",void 0),v(this,"type",void 0),v(this,"scope",void 0);var r;this.type=(r=t.type)!==null&&r!==void 0?r:"background";var n;this.fieldCodes=(n=t.fieldCodes)!==null&&n!==void 0?n:[];var o;this.color=(o=t.color)!==null&&o!==void 0?o:"theme";var i;this.scope=(i=t.scope)!==null&&i!==void 0?i:"row"},bx=function e(t){R(this,e);var r;v(this,"type",void 0),v(this,"interval",void 0),v(this,"rules",void 0);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"none";var o;this.interval=(o=t==null?void 0:t.interval)!==null&&o!==void 0?o:{color:""};var i;this.rules=(t==null?void 0:t.rules)&&Array.isArray(t==null?void 0:t.rules)?(i=t==null||(r=t.rules)===null||r===void 0?void 0:r.map(function(u){return new vx(u)}))!==null&&i!==void 0?i:[]:[]};function gx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qo(e,t,r){return Fg()?Qo=Reflect.construct:Qo=function(o,i,u){var c=[null];c.push.apply(c,i);var l=Function.bind.apply(o,c),a=new l;return u&&Zr(a,u.prototype),a},Qo.apply(null,arguments)}function It(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jr(e){return Jr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jr(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&&Zr(e,t)}function Ox(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function wx(e,t){return t&&($x(t)==="object"||typeof t=="function")?t:gx(e)}function Zr(e,t){return Zr=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zr(e,t)}function $x(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Us(e){var t=typeof Map=="function"?new Map:void 0;return Us=function(n){if(n===null||!Ox(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return Qo(n,arguments,Jr(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Zr(o,n)},Us(e)}function Fg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Px(e){var t=Fg();return function(){var n=Jr(e),o;if(t){var i=Jr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wx(this,o)}}var Y=function e(t){qs(this,e),It(this,"isHide",{type:"boolean"})},pn=function(e){mx(r,e);var t=Px(r);function r(n){return qs(this,r),t.call(this)}return r}(Us(Array)),ee=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";qs(this,e),It(this,"isHide",void 0),It(this,"className",void 0),It(this,"style",void 0),It(this,"caption",void 0),It(this,"defaultState",void 0);var n;this.isHide=(n=t==null?void 0:t.isHide)!==null&&n!==void 0?n:!1,this.style=new px(t==null?void 0:t.style);var o;this.caption=(o=t==null?void 0:t.caption)!==null&&o!==void 0?o:r};It(ee,"mode",void 0),It(ee,"Rules",Y),It(ee,"RuntimeRules",pn);function yt(){return yt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},yt.apply(this,arguments)}function Rx(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Ws(e){return Ws=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ws(e)}function Jo(e,t){return Jo=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jo(e,t)}function Sx(){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 Zo(e,t,r){return Sx()?Zo=Reflect.construct:Zo=function(o,i,u){var c=[null];c.push.apply(c,i);var l=Function.bind.apply(o,c),a=new l;return u&&Jo(a,u.prototype),a},Zo.apply(null,arguments)}function Ex(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Ks(e){var t=typeof Map=="function"?new Map:void 0;return Ks=function(n){if(n===null||!Ex(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return Zo(n,arguments,Ws(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Jo(o,n)},Ks(e)}var Tx=/%[sdj%]/g,jg=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(jg=function(t,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function Gs(e){if(!e||!e.length)return null;var t={};return e.forEach(function(r){var n=r.field;t[n]=t[n]||[],t[n].push(r)}),t}function ke(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=1,o=t[0],i=t.length;if(typeof o=="function")return o.apply(null,t.slice(1));if(typeof o=="string"){var u=String(o).replace(Tx,function(c){if(c==="%%")return"%";if(n>=i)return c;switch(c){case"%s":return String(t[n++]);case"%d":return Number(t[n++]);case"%j":try{return JSON.stringify(t[n++])}catch(l){return"[Circular]"}break;default:return c}});return u}return o}function Ix(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function te(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||Ix(t)&&typeof e=="string"&&!e)}function Bx(e,t,r){var n=[],o=0,i=e.length;function u(c){n.push.apply(n,c),o++,o===i&&r(n)}e.forEach(function(c){t(c,u)})}function Lg(e,t,r){var n=0,o=e.length;function i(u){if(u&&u.length){r(u);return}var c=n;n=n+1,c<o?t(e[c],i):r([])}i([])}function Ax(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var Mg=function(e){Rx(t,e);function t(r,n){var o;return o=e.call(this,"Async Validation Error")||this,o.errors=r,o.fields=n,o}return t}(Ks(Error));function xx(e,t,r,n){if(t.first){var o=new Promise(function(_,p){var g=function(w){return n(w),w.length?p(new Mg(w,Gs(w))):_()},O=Ax(e);Lg(O,r,g)});return o.catch(function(_){return _}),o}var i=t.firstFields||[];i===!0&&(i=Object.keys(e));var u=Object.keys(e),c=u.length,l=0,a=[],f=new Promise(function(_,p){var g=function(b){if(a.push.apply(a,b),l++,l===c)return n(a),a.length?p(new Mg(a,Gs(a))):_()};u.length||(n(a),_()),u.forEach(function(O){var b=e[O];i.indexOf(O)!==-1?Lg(b,r,g):Bx(b,r,g)})});return f.catch(function(_){return _}),f}function Cg(e){return function(t){return t&&t.message?(t.field=t.field||e.fullField,t):{message:typeof t=="function"?t():t,field:t.field||e.fullField}}}function Vg(e,t){if(t){for(var r in t)if(t.hasOwnProperty(r)){var n=t[r];typeof n=="object"&&typeof e[r]=="object"?e[r]=yt(yt({},e[r]),n):e[r]=n}}return e}function zg(e,t,r,n,o,i){e.required&&(!r.hasOwnProperty(e.field)||te(t,i||e.type))&&n.push(ke(o.messages.required,e.fullField))}function kx(e,t,r,n,o){(/^\s+$/.test(t)||t==="")&&n.push(ke(o.messages.whitespace,e.fullField))}var Xs={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Yr={integer:function(t){return Yr.number(t)&&parseInt(t,10)===t},float:function(t){return Yr.number(t)&&!Yr.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(r){return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!Yr.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(Xs.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(Xs.url)},hex:function(t){return typeof t=="string"&&!!t.match(Xs.hex)}};function Dx(e,t,r,n,o){if(e.required&&t===void 0){zg(e,t,r,n,o);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],u=e.type;i.indexOf(u)>-1?Yr[u](t)||n.push(ke(o.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&n.push(ke(o.messages.types[u],e.fullField,e.type))}function Nx(e,t,r,n,o){var i=typeof e.len=="number",u=typeof e.min=="number",c=typeof e.max=="number",l=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,a=t,f=null,_=typeof t=="number",p=typeof t=="string",g=Array.isArray(t);if(_?f="number":p?f="string":g&&(f="array"),!f)return!1;g&&(a=t.length),p&&(a=t.replace(l,"_").length),i?a!==e.len&&n.push(ke(o.messages[f].len,e.fullField,e.len)):u&&!c&&a<e.min?n.push(ke(o.messages[f].min,e.fullField,e.min)):c&&!u&&a>e.max?n.push(ke(o.messages[f].max,e.fullField,e.max)):u&&c&&(a<e.min||a>e.max)&&n.push(ke(o.messages[f].range,e.fullField,e.min,e.max))}var Dn="enum";function Fx(e,t,r,n,o){e[Dn]=Array.isArray(e[Dn])?e[Dn]:[],e[Dn].indexOf(t)===-1&&n.push(ke(o.messages[Dn],e.fullField,e[Dn].join(", ")))}function jx(e,t,r,n,o){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(ke(o.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var i=new RegExp(e.pattern);i.test(t)||n.push(ke(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var k={required:zg,whitespace:kx,type:Dx,range:Nx,enum:Fx,pattern:jx};function Lx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(te(t,"string")&&!e.required)return r();k.required(e,t,n,i,o,"string"),te(t,"string")||(k.type(e,t,n,i,o),k.range(e,t,n,i,o),k.pattern(e,t,n,i,o),e.whitespace===!0&&k.whitespace(e,t,n,i,o))}r(i)}function Mx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(te(t)&&!e.required)return r();k.required(e,t,n,i,o),t!==void 0&&k.type(e,t,n,i,o)}r(i)}function Cx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t===""&&(t=void 0),te(t)&&!e.required)return r();k.required(e,t,n,i,o),t!==void 0&&(k.type(e,t,n,i,o),k.range(e,t,n,i,o))}r(i)}function Vx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(te(t)&&!e.required)return r();k.required(e,t,n,i,o),t!==void 0&&k.type(e,t,n,i,o)}r(i)}function zx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(te(t)&&!e.required)return r();k.required(e,t,n,i,o),te(t)||k.type(e,t,n,i,o)}r(i)}function Hx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(te(t)&&!e.required)return r();k.required(e,t,n,i,o),t!==void 0&&(k.type(e,t,n,i,o),k.range(e,t,n,i,o))}r(i)}function qx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(te(t)&&!e.required)return r();k.required(e,t,n,i,o),t!==void 0&&(k.type(e,t,n,i,o),k.range(e,t,n,i,o))}r(i)}function Ux(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t==null&&!e.required)return r();k.required(e,t,n,i,o,"array"),t!=null&&(k.type(e,t,n,i,o),k.range(e,t,n,i,o))}r(i)}function Wx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(te(t)&&!e.required)return r();k.required(e,t,n,i,o),t!==void 0&&k.type(e,t,n,i,o)}r(i)}var Kx="enum";function Gx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(te(t)&&!e.required)return r();k.required(e,t,n,i,o),t!==void 0&&k[Kx](e,t,n,i,o)}r(i)}function Xx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(te(t,"string")&&!e.required)return r();k.required(e,t,n,i,o),te(t,"string")||k.pattern(e,t,n,i,o)}r(i)}function Qx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(te(t,"date")&&!e.required)return r();if(k.required(e,t,n,i,o),!te(t,"date")){var c;t instanceof Date?c=t:c=new Date(t),k.type(e,c,n,i,o),c&&k.range(e,c.getTime(),n,i,o)}}r(i)}function Jx(e,t,r,n,o){var i=[],u=Array.isArray(t)?"array":typeof t;k.required(e,t,n,i,o,u),r(i)}function Qs(e,t,r,n,o){var i=e.type,u=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(te(t,i)&&!e.required)return r();k.required(e,t,n,u,o,i),te(t,i)||k.type(e,t,n,u,o)}r(u)}function Zx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(te(t)&&!e.required)return r();k.required(e,t,n,i,o)}r(i)}var eo={string:Lx,method:Mx,number:Cx,boolean:Vx,regexp:zx,integer:Hx,float:qx,array:Ux,object:Wx,enum:Gx,pattern:Xx,date:Qx,url:Qs,hex:Qs,email:Qs,required:Jx,any:Zx};function Js(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var Zs=Js();function Kt(e){this.rules=null,this._messages=Zs,this.define(e)}Kt.prototype={messages:function(t){return t&&(this._messages=Vg(Js(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if(typeof t!="object"||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var r,n;for(r in t)t.hasOwnProperty(r)&&(n=t[r],this.rules[r]=Array.isArray(n)?n:[n])},validate:function(t,r,n){var o=this;r===void 0&&(r={}),n===void 0&&(n=function(){});var i=t,u=r,c=n;if(typeof u=="function"&&(c=u,u={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(),Promise.resolve();function l(b){var w,d=[],$={};function P(S){if(Array.isArray(S)){var E;d=(E=d).concat.apply(E,S)}else d.push(S)}for(w=0;w<b.length;w++)P(b[w]);d.length?$=Gs(d):(d=null,$=null),c(d,$)}if(u.messages){var a=this.messages();a===Zs&&(a=Js()),Vg(a,u.messages),u.messages=a}else u.messages=this.messages();var f,_,p={},g=u.keys||Object.keys(this.rules);g.forEach(function(b){f=o.rules[b],_=i[b],f.forEach(function(w){var d=w;typeof d.transform=="function"&&(i===t&&(i=yt({},i)),_=i[b]=d.transform(_)),typeof d=="function"?d={validator:d}:d=yt({},d),d.validator=o.getValidationMethod(d),d.field=b,d.fullField=d.fullField||b,d.type=o.getType(d),d.validator&&(p[b]=p[b]||[],p[b].push({rule:d,value:_,source:i,field:b}))})});var O={};return xx(p,u,function(b,w){var d=b.rule,$=(d.type==="object"||d.type==="array")&&(typeof d.fields=="object"||typeof d.defaultField=="object");$=$&&(d.required||!d.required&&b.value),d.field=b.field;function P(C,x){return yt(yt({},x),{},{fullField:d.fullField+"."+C})}function S(C){C===void 0&&(C=[]);var x=C;if(Array.isArray(x)||(x=[x]),!u.suppressWarning&&x.length&&Kt.warning("async-validator:",x),x.length&&d.message!==void 0&&(x=[].concat(d.message)),x=x.map(Cg(d)),u.first&&x.length)return O[d.field]=1,w(x);if(!$)w(x);else{if(d.required&&!b.value)return d.message!==void 0?x=[].concat(d.message).map(Cg(d)):u.error&&(x=[u.error(d,ke(u.messages.required,d.field))]),w(x);var K={};if(d.defaultField)for(var A in b.value)b.value.hasOwnProperty(A)&&(K[A]=d.defaultField);K=yt(yt({},K),b.rule.fields);for(var Pt in K)if(K.hasOwnProperty(Pt)){var Ho=Array.isArray(K[Pt])?K[Pt]:[K[Pt]];K[Pt]=Ho.map(P.bind(null,Pt))}var Ur=new Kt(K);Ur.messages(u.messages),b.rule.options&&(b.rule.options.messages=u.messages,b.rule.options.error=u.error),Ur.validate(b.value,b.rule.options||u,function(In){var Rt=[];x&&x.length&&Rt.push.apply(Rt,x),In&&In.length&&Rt.push.apply(Rt,In),w(Rt.length?Rt:null)})}}var E;d.asyncValidator?E=d.asyncValidator(d,b.value,S,b.source,u):d.validator&&(E=d.validator(d,b.value,S,b.source,u),E===!0?S():E===!1?S(d.message||d.field+" fails"):E instanceof Array?S(E):E instanceof Error&&S(E.message)),E&&E.then&&E.then(function(){return S()},function(C){return S(C)})},function(b){l(b)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!eo.hasOwnProperty(t.type))throw new Error(ke("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if(typeof t.validator=="function")return t.validator;var r=Object.keys(t),n=r.indexOf("message");return n!==-1&&r.splice(n,1),r.length===1&&r[0]==="required"?eo.required:eo[this.getType(t)]||!1}},Kt.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");eo[t]=r},Kt.warning=jg,Kt.messages=Zs,Kt.validators=eo;var Yx={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 ek(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Kt(e);return r.messages(Object.assign(Yx,t)),r}var tk=new DA;function Ys(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function nk(e){if(Array.isArray(e))return e}function rk(e){if(Array.isArray(e))return Ys(e)}function Hg(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(a){r(a);return}c.done?t(l):Promise.resolve(l).then(n,o)}function qg(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){Hg(i,n,o,u,c,"next",l)}function c(l){Hg(i,n,o,u,c,"throw",l)}u(void 0)})}}function ok(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ug(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ik(e,t,r){return t&&Ug(e.prototype,t),r&&Ug(e,r),e}function j(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wg(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Kg(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function uk(){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 ck(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Gg(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){j(e,o,r[o])})}return e}function lk(e){return nk(e)||Kg(e)||Xg(e)||uk()}function e_(e){return rk(e)||Kg(e)||Xg(e)||ck()}function Xg(e,t){if(!!e){if(typeof e=="string")return Ys(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ys(e,t)}}function Qg(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(a){return function(f){return l([a,f])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(f){a=[6,f],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var L=function(){function t(r){var n=this;ok(this,t),j(this,"id",void 0),j(this,"name",void 0),j(this,"icon",void 0),j(this,"type",void 0),j(this,"controlType",void 0),j(this,"props",void 0),j(this,"setting",[]),j(this,"fieldType",void 0),j(this,"eventKeys",[]),j(this,"customEvents",[]),j(this,"parent",null),j(this,"slots",void 0),j(this,"slotPosition",void 0),j(this,"updateSetting",Zg),j(this,"removeSetting",Jg),this._callControlHooks("preInstance",r);var o=Wg(this,t)?this.constructor:void 0,i=o.controlName,u=o.controlIcon,c=o.controlType,l=o.controlFieldType,a=o.controlEventKeys,f=o.controlCustomEvents,_=o.name,p=o.setting,g=o.slots,O=o.slotPosition;i&&u&&c||sg("The ".concat(_," controlName,controlIcon,controlType is not define"));var b;this.id=(b=r==null?void 0:r.id)!==null&&b!==void 0?b:_t(10),this.name=i,this.icon=u;var w;this.type=(w=r==null?void 0:r.type)!==null&&w!==void 0?w:c,this.props=new ee(r==null?void 0:r.props,(Wg(this,t)?this.constructor:void 0).controlName);var d;this.controlType=(d=r==null?void 0:r.controlType)!==null&&d!==void 0?d:"base",this.setting=Je(p);var $;this.fieldType=($=r==null?void 0:r.fieldType)!==null&&$!==void 0?$:l,this.eventKeys=Je(a),this.customEvents=Je(f),this.slots=Je(g),this.slotPosition=Je(O),Promise.resolve().then(function(){n._callControlHooks("postInstance",r)})}return ik(t,[{key:"rules",get:function(){var n=this.props.constructor.Rules;return n?new n(this.props):{}}},{key:"_callControlHooks",value:function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];var u,c=lk(o),l=c[0],a=c.slice(1);return(u=tk).emit.apply(u,[l,this].concat(e_(a)))}},{key:"preUpdate",value:function(n,o){this._callControlHooks("preUpdateProps",n,o)}},{key:"postUpdate",value:function(n,o){this._callControlHooks("postUpdateProps",n,o)}},{key:"updateProps",value:function(n,o){this.preUpdate(n,o),OA(this.props,n,o),this.postUpdate(n,o)}},{key:"preValidate",value:function(){var n=this;return qg(function(){var o,i,u;return Qg(this,function(c){switch(c.label){case 0:return o=Gg({},n.rules),[4,n._callControlHooks("preValidate",o)];case 1:return i=c.sent(),u=i[i.length-1],[2,u===!1?void 0:u]}})})()}},{key:"validate",value:function(n,o){var i=this;return qg(function(){var u,c,l,a;return Qg(this,function(f){switch(f.label){case 0:return[4,i.preValidate()];case 1:u=f.sent(),c=u!==void 0?u:Gg({},i.rules),Array.isArray(o)&&o.forEach(function(_){c.hasOwnProperty(_)&&delete c[_]}),l=ek(c,n),f.label=2;case 2:return f.trys.push([2,4,,5]),[4,l.validate(i.props)];case 3:return f.sent(),[2,!0];case 4:throw a=f.sent(),a.control||(a.control=i),a;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,o=this.fieldType,i=this.id,u=this.type,c=this.props,l=c.dataBind,a=c.datasourceBind,f=c.optionConfig,_=c.caption,p=c.required,g=c.maxLength,O=c.options,b=c.encrypted,w=c.encryptedMode;if(!(!o&&!l&&!a)){var d={parentId:n,fieldType:o,controlId:i,caption:_,type:u,props:{}};switch(l&&(d.dataBind=l),f){case"datasource":case void 0:a&&(d.datasourceBind=a);break;case"custom":d.props.options=O;break}return p!==void 0&&(d.required=p),g!==void 0&&(d.maxLength=g),b!==void 0&&(d.encrypted=b),w!==void 0&&(d.encryptedMode=w),d}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Je(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(n,o){if(n==="setting"){if(o.add){var i;(i=this.setting).push.apply(i,e_(o.add))}o.remove&&this.removeSettingItem(o.remove),o.update}}}]),t}();j(L,"mode","Designer"),j(L,"slots",void 0),j(L,"slotPosition",void 0),j(L,"controlName","\u63A7\u4EF6"),j(L,"controlIcon","icon"),j(L,"controlType","control"),j(L,"controlFieldType",void 0),j(L,"controlEventKeys",[]),j(L,"controlCustomEvents",[]),j(L,"setting",[]),j(L,"__is_control__",!0),j(L,"removeSettingItem",Jg),j(L,"updateSettingItem",Zg);function Jg(e){var t=this,r=Array.isArray(e)?e:[e];r.forEach(function(n){var o,i=typeof n!="string",u=(o=t.setting)===null||o===void 0?void 0:o.findIndex(function(a){return a.key===(i?n.key:n)});if(u!==-1){var c,l;i?t.setting[u].showItems=(c=t.setting[u].showItems)===null||c===void 0?void 0:c.filter(function(a){return!n.hideItems.includes(a)}):t.setting.splice(u,1),i&&!(!((l=t.setting[u].showItems)===null||l===void 0)&&l.length)&&t.setting.splice(u,1)}})}function Zg(e,t){var r=this,n=typeof e=="string"?[e]:e;n.forEach(function(o){var i=r.setting.find(function(a){return a.key===o});if(i){if(typeof t=="boolean")i.visible=t;else if(typeof t=="object"){var u,c=(u=t.type)!==null&&u!==void 0?u:"replace";if(c==="replace")i.showItems=t.showItems;else{var l;(l=i.showItems).push.apply(l,e_(t.showItems))}}}})}function ak(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fk(e,t,r){return t&&Yg(e.prototype,t),r&&Yg(e,r),e}function De(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sk(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var Bt=function(){function t(r){ak(this,t),De(this,"id",void 0),De(this,"type",void 0),De(this,"controlType",void 0),De(this,"props",void 0),De(this,"fieldType",void 0),De(this,"customEvents",[]),De(this,"pageStatus",void 0),De(this,"parent",null);var n=sk(this,t)?this.constructor:void 0,o=n.controlType,i=n.controlFieldType,u=n.name,c=n.controlCustomEvents;o||sg("The ".concat(u," controlType is not define"));var l;this.id=(l=r==null?void 0:r.id)!==null&&l!==void 0?l:_t(10);var a;this.type=(a=r==null?void 0:r.type)!==null&&a!==void 0?a:o,this.props=new ee(r==null?void 0:r.props),this.customEvents=c;var f;this.controlType=(f=r==null?void 0:r.controlType)!==null&&f!==void 0?f:"base";var _;this.fieldType=(_=r==null?void 0:r.fieldType)!==null&&_!==void 0?_:i;var p;this.pageStatus=(p=r==null?void 0:r.pageStatus)!==null&&p!==void 0?p:Hs.UNKNOWN}return fk(t,[{key:"rules",get:function(){var n=this.props.constructor.RuntimeRules;if(n){var o=new n(this.props);return Array.from(o)}return[]}}]),t}();De(Bt,"mode","Runtime"),De(Bt,"controlType","control"),De(Bt,"controlFieldType",void 0),De(Bt,"__is_control__",!0),De(Bt,"controlCustomEvents",[]);function t_(e){e.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),e.hasOwnProperty("options")||(this.options={type:"any"}),e.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),e.hasOwnProperty("options")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="custom")?this.options=[{type:"array",message:h.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:h.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:h.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(r,n,o){n.length===0&&o(h.getMessage("optionIsRequired")),o()}},{type:"array",validator:function(r,n,o){var i=n.map(function(c){return c.value}),u=PA(i);i.length!==u.length?o(h.getMessage("optionIdIsRepeat")):o()},message:h.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:h.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",validator:function(r,n,o){n.length===0&&o(h.getMessage("pleaseBindAtLeastOneDisplayValue")),o()},message:h.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:h.getMessage("isNotBoolean")}}}}]}}])}function Yo(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:h.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:h.getMessage(r?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:h.getMessage(r?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:h.getMessage(r?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:h.getMessage("isNotString")},key:{type:"string",required:!0,message:h.getMessage("isNotString")},value:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",validator:function(o,i,u){i.length===0&&u(h.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),u()},message:h.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:h.getMessage("isNotBoolean")}}}}]}}]}function _k(e){return(e==null?void 0:e.dataCode)!==void 0&&(e==null?void 0:e.fieldCode)!==void 0}function H(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ei(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ti(e){return ti=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ti(e)}function ni(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 yk(e,t){return t&&(pk(t)==="object"||typeof t=="function")?t:H(e)}function n_(e,t){return n_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},n_(e,t)}function pk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ri(e){var t=dk();return function(){var n=ti(e),o;if(t){var i=ti(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yk(this,o)}}var ue=function(e){ni(r,e);var t=ri(r);function r(n){ei(this,r);var o;o=t.call(this,n),q(H(o),"dataBind",{}),q(H(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),q(H(o),"isHideCaption",{type:"boolean"}),q(H(o),"labelPosition",{type:"enum",enum:["top","left"]}),q(H(o),"defaultState",{type:"enum",enum:["default","readonly"]}),q(H(o),"required",{type:"boolean"}),q(H(o),"captionTip",{type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")});var i={fieldCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")}};if(_k(n.dataBind))o.dataBind={type:"object",required:!0,fields:Je(i),message:h.getMessage("pleaseEnterFieldCode")};else{var u={type:"object",required:!0,fields:{},message:h.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(c){u.fields[c]={type:"object",required:!0,fields:Je(i),message:h.getMessage("pleaseEnterFieldCode")}}),o.dataBind=u}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Y),V=function(e){ni(r,e);var t=ri(r);function r(n){ei(this,r);var o;o=t.call(this,n);var i=n.isHide?!1:n.required;return i&&o.push({type:"string",required:i,message:n.requiredMessage!==""?n.requiredMessage:h.getMessage("runtimeRequired",{caption:n.caption})}),o}return r}(pn),D=function(e){ni(r,e);var t=ri(r);function r(n){ei(this,r);var o;o=t.call(this,n),q(H(o),"caption",void 0),q(H(o),"isHideCaption",void 0),q(H(o),"isShowCaptionTip",void 0),q(H(o),"captionTip",void 0),q(H(o),"labelPosition",void 0),q(H(o),"dataBind",void 0),q(H(o),"defaultValue",void 0),q(H(o),"placeholder",void 0),q(H(o),"defaultState",void 0),q(H(o),"required",void 0),q(H(o),"requiredMessage",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var c;o.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var a;o.defaultState=(a=n==null?void 0:n.defaultState)!==null&&a!==void 0?a:"default";var f;o.labelPosition=(f=n==null?void 0:n.labelPosition)!==null&&f!==void 0?f:"top";var _;o.placeholder=(_=n==null?void 0:n.placeholder)!==null&&_!==void 0?_:"";var p;o.required=(p=n==null?void 0:n.required)!==null&&p!==void 0?p:!1;var g;o.requiredMessage=(g=n==null?void 0:n.requiredMessage)!==null&&g!==void 0?g:"",o.dataBind=new et(n==null?void 0:n.dataBind);var O;return o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:"",o}return r}(ee);q(D,"Rules",ue),q(D,"RuntimeRules",V);var Nn=function(e){ni(r,e);var t=ri(r);function r(n){ei(this,r);var o;return o=t.call(this,n),q(H(o),"optionConfig",{type:"enum",enum:["custom","datasource"],message:h.getMessage("PleaseSelectTheCorrectOptionSettings")}),q(H(o),"options",[{type:"array",message:h.getMessage("isNotArray")}]),q(H(o),"datasourceBind",[{type:"object",message:h.getMessage("isNotObject")}]),t_.call(H(o),n),o}return r}(ue);function r_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ii(e){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ii(e)}function hk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o_(e,t)}function bk(e,t){return t&&(gk(t)==="object"||typeof t=="function")?t:r_(e)}function o_(e,t){return o_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},o_(e,t)}function gk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ok(e){var t=mk();return function(){var n=ii(e),o;if(t){var i=ii(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bk(this,o)}}var N=function(e){hk(r,e);var t=Ok(r);function r(n){vk(this,r);var o;return o=t.call(this,n),oi(r_(o),"controlType","form"),oi(r_(o),"props",void 0),o.props=new D(n==null?void 0:n.props),o}return r}(L);oi(N,"controlEventKeys",["on_change","on_focus","on_blur"]),oi(N,"controlCustomAttributes",void 0);function ui(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ci(e){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ci(e)}function $k(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u_(e,t)}function Pk(e,t){return t&&(Rk(t)==="object"||typeof t=="function")?t:ui(e)}function u_(e,t){return u_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},u_(e,t)}function Rk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Sk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ek(e){var t=Sk();return function(){var n=ci(e),o;if(t){var i=ci(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Pk(this,o)}}var F=function(e){$k(r,e);var t=Ek(r);function r(n){wk(this,r);var o;return o=t.call(this,n),i_(ui(o),"controlType","form"),i_(ui(o),"props",void 0),i_(ui(o),"value",void 0),o.props=new D(n==null?void 0:n.props),o}return r}(Bt);function Tk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ik(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function li(e){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},li(e)}function Bk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c_(e,t)}function Ak(e,t){return t&&(xk(t)==="object"||typeof t=="function")?t:Tk(e)}function c_(e,t){return c_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},c_(e,t)}function xk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dk(e){var t=kk();return function(){var n=li(e),o;if(t){var i=li(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ak(this,o)}}var ce=function(e){Bk(r,e);var t=Dk(r);function r(n){return Ik(this,r),t.call(this,n)}return r}(ee);function l_(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Nk(e){if(Array.isArray(e))return l_(e)}function dn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function em(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(a){r(a);return}c.done?t(l):Promise.resolve(l).then(n,o)}function Fk(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){em(i,n,o,u,c,"next",l)}function c(l){em(i,n,o,u,c,"throw",l)}u(void 0)})}}function jk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Lk(e,t,r){return t&&tm(e.prototype,t),r&&tm(e,r),e}function Gt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fn(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Fn=Reflect.get:Fn=function(o,i,u){var c=Kk(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Fn(e,t,r||e)}function Xt(e){return Xt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xt(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&&a_(e,t)}function Ck(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Vk(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function zk(){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 Hk(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Gt(e,o,r[o])})}return e}function qk(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Uk(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):qk(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Wk(e,t){return t&&(Gk(t)==="object"||typeof t=="function")?t:dn(e)}function a_(e,t){return a_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},a_(e,t)}function Kk(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Xt(e),e!==null););return e}function nm(e){return Nk(e)||Vk(e)||Xk(e)||zk()}function Gk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xk(e,t){if(!!e){if(typeof e=="string")return l_(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return l_(e,t)}}function Qk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jk(e){var t=Qk();return function(){var n=Xt(e),o;if(t){var i=Xt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Wk(this,o)}}function Zk(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(a){return function(f){return l([a,f])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(f){a=[6,f],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var Yk=1e4,le=function(t){Mk(n,t);var r=Jk(n);function n(o){jk(this,n);var i;i=r.call(this,o),Gt(dn(i),"controlType","layout"),Gt(dn(i),"children",void 0),Gt(dn(i),"excludes",void 0),Gt(dn(i),"childrenMaxLength",void 0),Gt(dn(i),"props",void 0);var u=Ck(this,n)?this.constructor:void 0,c=u.excludes,l=u.childrenMaxLength;return i.props=new ce(o==null?void 0:o.props),St(dn(i),"children",o==null?void 0:o.children,void 0,"Designer"),i.excludes=Je(c),i.childrenMaxLength=l,i}return Lk(n,[{key:"judgeExcludesChildren",value:function(i){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i)}},{key:"judgeJoinChildren",value:function(i){var u=this.judgeExcludesChildren(i);return u&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(i,u){var c=this,l=this,a=function(){return Fn(Xt(n.prototype),"validate",c)};return Fk(function(){return Zk(this,function(f){switch(f.label){case 0:return[4,a().call(l,i,u)];case 1:return f.sent(),[4,Promise.all(l.children.map(function(_){return _.validate(i,u)}))];case 2:return f.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=Fn(Xt(n.prototype),"toDataBindModel",this).call(this),c=u?[u]:[];return this.children.reduce(function(l,a){var f=a.toDataBindModel(i);if(Array.isArray(f)){var _=f.filter(function(p){return!!p});return nm(l).concat(nm(_))}return f&&l.push(f),l},c)}},{key:"toSchema",value:function(){var i=Fn(Xt(n.prototype),"toSchema",this).call(this),u=this.children.map(function(c){var l=c.toSchema();return l});return Uk(Hk({},i),{children:u})}}]),n}(L);Gt(le,"excludes",!1),Gt(le,"childrenMaxLength",Yk);function to(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ai(e){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ai(e)}function t2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s_(e,t)}function n2(e,t){return t&&(r2(t)==="object"||typeof t=="function")?t:to(e)}function s_(e,t){return s_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},s_(e,t)}function r2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function o2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function i2(e){var t=o2();return function(){var n=ai(e),o;if(t){var i=ai(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return n2(this,o)}}var vn=function(e){t2(r,e);var t=i2(r);function r(n){e2(this,r);var o;return o=t.call(this,n),f_(to(o),"controlType","layout"),f_(to(o),"children",void 0),f_(to(o),"props",void 0),o.props=new ce(n==null?void 0:n.props),St(to(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(Bt);function At(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fi(e){return fi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fi(e)}function c2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&__(e,t)}function l2(e,t){return t&&(a2(t)==="object"||typeof t=="function")?t:At(e)}function __(e,t){return __=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},__(e,t)}function a2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function f2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function s2(e){var t=f2();return function(){var n=fi(e),o;if(t){var i=fi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return l2(this,o)}}var y_=function(e){c2(r,e);var t=s2(r);function r(n,o,i){u2(this,r);var u;u=t.call(this,o),jn(At(u),"headers",void 0),jn(At(u),"footers",void 0),jn(At(u),"pageIndex",void 0),jn(At(u),"pageSize",void 0),jn(At(u),"pageSizeOptions",void 0),jn(At(u),"totalCount",void 0),St(At(u),"headers",o==null?void 0:o.headers,n,i),St(At(u),"footers",o==null?void 0:o.footers,n);var c;u.pageIndex=(c=o==null?void 0:o.pageIndex)!==null&&c!==void 0?c:1;var l;u.pageSize=(l=o==null?void 0:o.pageSize)!==null&&l!==void 0?l:20;var a;u.pageSizeOptions=(a=o==null?void 0:o.pageSizeOptions)!==null&&a!==void 0?a:[20];var f;return u.totalCount=(f=o==null?void 0:o.totalCount)!==null&&f!==void 0?f:0,u}return r}(ee);function p_(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function _2(e){if(Array.isArray(e))return p_(e)}function si(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rm(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(a){r(a);return}c.done?t(l):Promise.resolve(l).then(n,o)}function y2(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){rm(i,n,o,u,c,"next",l)}function c(l){rm(i,n,o,u,c,"throw",l)}u(void 0)})}}function p2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function om(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d2(e,t,r){return t&&om(e.prototype,t),r&&om(e,r),e}function _i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ln(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ln=Reflect.get:Ln=function(o,i,u){var c=O2(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Ln(e,t,r||e)}function Qt(e){return Qt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qt(e)}function v2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 h2(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function b2(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function im(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){_i(e,o,r[o])})}return e}function g2(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function um(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):g2(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function m2(e,t){return t&&(w2(t)==="object"||typeof t=="function")?t:si(e)}function d_(e,t){return d_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},d_(e,t)}function O2(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Qt(e),e!==null););return e}function cm(e){return _2(e)||h2(e)||$2(e)||b2()}function w2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $2(e,t){if(!!e){if(typeof e=="string")return p_(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return p_(e,t)}}function P2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function R2(e){var t=P2();return function(){var n=Qt(e),o;if(t){var i=Qt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return m2(this,o)}}function S2(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(a){return function(f){return l([a,f])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(f){a=[6,f],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var v_=function(e){v2(r,e);var t=R2(r);function r(n){p2(this,r);var o;return o=t.call(this,n),_i(si(o),"controlType","list"),_i(si(o),"props",void 0),o.props=new y_(si(o),n==null?void 0:n.props,"Designer"),o}return d2(r,[{key:"validate",value:function(o,i){var u=this,c=this,l=function(){return Ln(Qt(r.prototype),"validate",u)};return y2(function(){return S2(this,function(a){switch(a.label){case 0:return[4,l().call(c,o)];case 1:return a.sent(),[4,Promise.all(c.props.headers.map(function(f){return f.validate(o,i)}))];case 2:return a.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var o=Ln(Qt(r.prototype),"toDataBindModel",this).call(this),i=o?[o]:[],u=this.id;return this.props.headers.reduce(function(c,l){var a=l.toDataBindModel(u);if(Array.isArray(a)){var f=a.filter(function(_){return!!_});return cm(c).concat(cm(f))}return a&&c.push(a),c},i)}},{key:"toSchema",value:function(){var o,i,u=Ln(Qt(r.prototype),"toSchema",this).call(this),c=this.props.headers.map(function(a){return a.toSchema()}),l=(i=this.props)===null||i===void 0||(o=i.footers)===null||o===void 0?void 0:o.map(function(a){if(a)return a.toSchema()});return um(im({},u),{props:um(im({},this.props),{headers:c,footers:l})})}}]),r}(L);_i(v_,"controlFieldType",m.LIST);function re(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ae(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yi(e){return yi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yi(e)}function b_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g_(e,t)}function E2(e,t){return t&&(T2(t)==="object"||typeof t=="function")?t:re(e)}function g_(e,t){return g_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},g_(e,t)}function T2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function I2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function m_(e){var t=I2();return function(){var n=yi(e),o;if(t){var i=yi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return E2(this,o)}}var pt=function(e){b_(r,e);var t=m_(r);function r(n){h_(this,r);var o;return o=t.call(this,n),ae(re(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),ae(re(o),"width",{type:"number",required:!1,message:h.getMessage("pleaseEnterColumnWidth")}),o.width.required=n.widthType==="px",o}return r}(Y),Z=function(e){b_(r,e);var t=m_(r);function r(n){h_(this,r);var o;o=t.call(this,n),ae(re(o),"widthType",void 0),ae(re(o),"width",void 0),ae(re(o),"caption",void 0),ae(re(o),"dataBind",void 0),ae(re(o),"autoWidth",void 0),ae(re(o),"fixed",void 0),ae(re(o),"sort",void 0),ae(re(o),"align",void 0),ae(re(o),"colSpan",void 0),ae(re(o),"autoHeight",void 0),ae(re(o),"children",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:150,o.widthType=(n==null?void 0:n.widthType)||"auto";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var c;o.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:"none",o.autoWidth=new ks(n==null?void 0:n.autoWidth),o.dataBind=new et(n==null?void 0:n.dataBind);var l;o.sort=(l=n==null?void 0:n.sort)!==null&&l!==void 0?l:!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 r}(ee);ae(Z,"Rules",pt);var lm=function(e){b_(r,e);var t=m_(r);function r(n){h_(this,r);var o;return o=t.call(this,n),ae(re(o),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:h.getMessage("PleaseSelectTheCorrectOptionSettings")}),ae(re(o),"options",[{type:"array",message:h.getMessage("isNotArray")}]),ae(re(o),"datasourceBind",[{type:"object",message:h.getMessage("isNotObject")}]),t_.call(re(o),n),o}return r}(pt);function no(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function am(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function A2(e,t,r){return t&&am(e.prototype,t),r&&am(e,r),e}function pi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function di(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?di=Reflect.get:di=function(o,i,u){var c=j2(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},di(e,t,r||e)}function Mn(e){return Mn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mn(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&&O_(e,t)}function k2(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){pi(e,o,r[o])})}return e}function D2(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function N2(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):D2(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function F2(e,t){return t&&(L2(t)==="object"||typeof t=="function")?t:no(e)}function O_(e,t){return O_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},O_(e,t)}function j2(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Mn(e),e!==null););return e}function L2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function M2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function C2(e){var t=M2();return function(){var n=Mn(e),o;if(t){var i=Mn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return F2(this,o)}}var fe=function(e){x2(r,e);var t=C2(r);function r(n){B2(this,r);var o;return o=t.call(this,n),pi(no(o),"controlType","column"),pi(no(o),"props",void 0),pi(no(o),"children",void 0),o.props=new Z(n==null?void 0:n.props),St(no(o),"children",n==null?void 0:n.children,void 0,"Designer"),o}return A2(r,[{key:"toSchema",value:function(){var o=di(Mn(r.prototype),"toSchema",this).call(this);return N2(k2({},o),{children:this.children?this.children.map(function(i){return i.toSchema()}):[]})}}]),r}(L);function ro(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vi(e){return vi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vi(e)}function z2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 H2(e,t){return t&&(q2(t)==="object"||typeof t=="function")?t:ro(e)}function $_(e,t){return $_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$_(e,t)}function q2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function U2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function W2(e){var t=U2();return function(){var n=vi(e),o;if(t){var i=vi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return H2(this,o)}}var se=function(e){z2(r,e);var t=W2(r);function r(n){V2(this,r);var o;return o=t.call(this,n),w_(ro(o),"controlType","column"),w_(ro(o),"props",void 0),w_(ro(o),"children",void 0),o.props=new Z(n==null?void 0:n.props),St(ro(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(Bt);function fm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function K2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function G2(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hi(e){return hi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hi(e)}function 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&&P_(e,t)}function Q2(e,t){return t&&(J2(t)==="object"||typeof t=="function")?t:fm(e)}function P_(e,t){return P_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},P_(e,t)}function J2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Z2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Y2(e){var t=Z2();return function(){var n=hi(e),o;if(t){var i=hi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Q2(this,o)}}var R_=function(e){X2(r,e);var t=Y2(r);function r(n){K2(this,r);var o;return o=t.call(this,n),G2(fm(o),"dataBind",void 0),o.dataBind=new et(n==null?void 0:n.dataBind),o}return r}(ce);function S_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bi(e){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bi(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&&E_(e,t)}function nD(e,t){return t&&(rD(t)==="object"||typeof t=="function")?t:S_(e)}function E_(e,t){return E_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},E_(e,t)}function rD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iD(e){var t=oD();return function(){var n=bi(e),o;if(t){var i=bi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nD(this,o)}}var uD=function(e){tD(r,e);var t=iD(r);function r(n){eD(this,r);var o;return o=t.call(this,n),sm(S_(o),"controlType","search"),sm(S_(o),"props",void 0),o.props=new R_(n==null?void 0:n.props),o}return r}(le);function T_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gi(e){return gi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gi(e)}function lD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&I_(e,t)}function aD(e,t){return t&&(fD(t)==="object"||typeof t=="function")?t:T_(e)}function I_(e,t){return I_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},I_(e,t)}function fD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _D(e){var t=sD();return function(){var n=gi(e),o;if(t){var i=gi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aD(this,o)}}var yD=function(e){lD(r,e);var t=_D(r);function r(n){cD(this,r);var o;return o=t.call(this,n),_m(T_(o),"controlType","search"),_m(T_(o),"props",void 0),o.props=new R_(n==null?void 0:n.props),o}return r}(vn);function Jt(e){e.hasOwnProperty("linkOperationOption")&&e.hasOwnProperty("showLinkOperation")&&e.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:h.getMessage("pleaseEnterForm")}}}])}function hn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mi(e){return mi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mi(e)}function dD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&B_(e,t)}function vD(e,t){return t&&(hD(t)==="object"||typeof t=="function")?t:hn(e)}function B_(e,t){return B_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},B_(e,t)}function hD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gD(e){var t=bD();return function(){var n=mi(e),o;if(t){var i=mi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vD(this,o)}}var mD=function(e){dD(r,e);var t=gD(r);function r(n){pD(this,r);var o;o=t.call(this,n),Cn(hn(o),"content",void 0),Cn(hn(o),"fontSize",void 0),Cn(hn(o),"color",void 0),Cn(hn(o),"icon",void 0),Cn(hn(o),"align",void 0),Cn(hn(o),"showState",void 0);var i;o.fontSize=(i=n==null?void 0:n.fontSize)!==null&&i!==void 0?i:"14px";var u;o.color=(u=n==null?void 0:n.color)!==null&&u!==void 0?u:"#646A73";var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:"page-hint";var l;o.showState=(l=n==null?void 0:n.showState)!==null&&l!==void 0?l:"text";var a;o.content=(a=n==null?void 0:n.content)!==null&&a!==void 0?a:"\u8BF4\u660E\u6587\u5B57";var f;return o.align=(f=n==null?void 0:n.align)!==null&&f!==void 0?f:"",o}return r}(ee);function ym(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function wD(e,t,r){return t&&pm(e.prototype,t),r&&pm(e,r),e}function dm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Oi(e){return Oi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oi(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&&A_(e,t)}function PD(e,t){return t&&(RD(t)==="object"||typeof t=="function")?t:ym(e)}function A_(e,t){return A_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},A_(e,t)}function RD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ED(e){var t=SD();return function(){var n=Oi(e),o;if(t){var i=Oi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PD(this,o)}}var TD=function(e){$D(r,e);var t=ED(r);function r(n){OD(this,r);var o;return o=t.call(this,n),dm(ym(o),"props",void 0),o.props=new mD(n==null?void 0:n.props),o}return wD(r,null,[{key:"controlName",get:function(){return"\u8BF4\u660E\u6587\u5B57"}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),r}(L);dm(TD,"setting",[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}]);function wi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ID(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $i(e){return $i=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$i(e)}function BD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k_(e,t)}function AD(e,t){return t&&(xD(t)==="object"||typeof t=="function")?t:wi(e)}function k_(e,t){return k_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},k_(e,t)}function xD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DD(e){var t=kD();return function(){var n=$i(e),o;if(t){var i=$i(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AD(this,o)}}var ND=function(e){BD(r,e);var t=DD(r);function r(n){ID(this,r);var o;o=t.call(this,n),x_(wi(o),"content",void 0),x_(wi(o),"url",void 0),x_(wi(o),"openMode",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5";var u;o.url=(u=n==null?void 0:n.url)!==null&&u!==void 0?u:"";var c;return o.openMode=(c=n==null?void 0:n.openMode)!==null&&c!==void 0?c:"new",o}return r}(ee);function vm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jD(e,t,r){return t&&hm(e.prototype,t),r&&hm(e,r),e}function D_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pi(e){return Pi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pi(e)}function LD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&N_(e,t)}function MD(e,t){return t&&(CD(t)==="object"||typeof t=="function")?t:vm(e)}function N_(e,t){return N_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},N_(e,t)}function CD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zD(e){var t=VD();return function(){var n=Pi(e),o;if(t){var i=Pi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return MD(this,o)}}var bm=function(e){LD(r,e);var t=zD(r);function r(n){FD(this,r);var o;return o=t.call(this,n),D_(vm(o),"props",void 0),o.props=new ND(n==null?void 0:n.props),o}return jD(r,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),r}(L);D_(bm,"controlEventKeys",["on_click"]),D_(bm,"setting",[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}]);function dt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ri(e){return Ri=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ri(e)}function 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&&F_(e,t)}function UD(e,t){return t&&(WD(t)==="object"||typeof t=="function")?t:dt(e)}function F_(e,t){return F_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},F_(e,t)}function WD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GD(e){var t=KD();return function(){var n=Ri(e),o;if(t){var i=Ri(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return UD(this,o)}}var Ne=function(e){qD(r,e);var t=GD(r);function r(n){HD(this,r);var o;o=t.call(this,n),xt(dt(o),"content",void 0),xt(dt(o),"buttonType",void 0),xt(dt(o),"showType",void 0),xt(dt(o),"color",void 0),xt(dt(o),"icon",void 0),xt(dt(o),"defaultState",void 0),xt(dt(o),"command",void 0),xt(dt(o),"isLoading",void 0),xt(dt(o),"optObj",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6309\u94AE";var u;o.buttonType=(u=n==null?void 0:n.buttonType)!==null&&u!==void 0?u:"primary";var c;o.showType=(c=n==null?void 0:n.showType)!==null&&c!==void 0?c:"text";var l;o.color=(l=n==null?void 0:n.color)!==null&&l!==void 0?l:"primary";var a;o.icon=(a=n==null?void 0:n.icon)!==null&&a!==void 0?a:"iconfenlei2";var f;o.defaultState=(f=n==null?void 0:n.defaultState)!==null&&f!==void 0?f:"default";var _;o.command=(_=n==null?void 0:n.command)!==null&&_!==void 0?_:"custom";var p;o.isLoading=(p=n==null?void 0:n.isLoading)!==null&&p!==void 0?p:!1;var g;return o.optObj=new dx((g=n==null?void 0:n.optObj)!==null&&g!==void 0?g:{}),o}return r}(ee);function gm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function QD(e,t,r){return t&&mm(e.prototype,t),r&&mm(e,r),e}function Si(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ei(e){return Ei=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ei(e)}function 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&&j_(e,t)}function ZD(e,t){return t&&(YD(t)==="object"||typeof t=="function")?t:gm(e)}function j_(e,t){return j_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},j_(e,t)}function YD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tN(e){var t=eN();return function(){var n=Ei(e),o;if(t){var i=Ei(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZD(this,o)}}var $e=function(e){JD(r,e);var t=tN(r);function r(n){XD(this,r);var o;return o=t.call(this,n),Si(gm(o),"props",void 0),o.props=new Ne(n==null?void 0:n.props),o}return QD(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}(L);Si($e,"slots",["grid-table-toolbar-slot","action-bar-slot",og.DEFAULT]),Si($e,"controlEventKeys",["on_click"]),Si($e,"setting",[{key:"button-content",visible:!0},{key:"button-opt-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}]);function tt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var kt;(function(e){e.ShowBizKey="is_show_biz_key",e.ShowSubmitUser="is_show_submit_user",e.ShowSubmitTime="is_show_submit_time",e.ShowSubmitDept="is_show_submit_dept",e.ShowCurrentApprovar="is_show_current_approvar",e.ShowTitle="is_show_title"})(kt||(kt={}));var Om;(function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"})(Om||(Om={}));var wm;(function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"})(wm||(wm={}));var L_=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:_t(8),value:["",""]};tt(this,e),T(this,"dateConfigType",void 0),T(this,"dateLimitType",void 0),T(this,"id",void 0),T(this,"value",void 0),this.id=t.id,this.dateConfigType=t.dateConfigType,this.dateLimitType=t.dateLimitType,this.value=t.value},M_;(function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"})(M_||(M_={}));var C_=function e(t){tt(this,e),T(this,"id",void 0),T(this,"text",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:_t();var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""},V_;(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"})(V_||(V_={}));var $m=function e(t){tt(this,e),T(this,"type",void 0),T(this,"person",void 0),T(this,"signatureType",void 0),T(this,"telephone",void 0),T(this,"company",void 0),T(this,"remark",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"private";var n;this.person=new Qr((n=t==null?void 0:t.person)!==null&&n!==void 0?n:{type:"form"});var o;this.signatureType=(o=t==null?void 0:t.signatureType)!==null&&o!==void 0?o:[];var i,u;this.telephone=(u=t==null?void 0:t.telephone)!==null&&u!==void 0?u:new Qr((i=t==null?void 0:t.telephone)!==null&&i!==void 0?i:{type:"form"});var c,l;this.company=(l=t==null?void 0:t.company)!==null&&l!==void 0?l:new Qr((c=t==null?void 0:t.company)!==null&&c!==void 0?c:{type:"form"});var a;this.remark=(a=t==null?void 0:t.remark)!==null&&a!==void 0?a:""},nN=function e(t){tt(this,e);var r;T(this,"fileControl",void 0),T(this,"undersignedList",void 0),T(this,"statusControl",void 0),T(this,"completeControl",void 0),T(this,"completeTimeControl",void 0);var n;this.fileControl=(n=t==null?void 0:t.fileControl)!==null&&n!==void 0?n:"";var o;this.undersignedList=(o=t==null||(r=t.undersignedList)===null||r===void 0?void 0:r.map(function(l){return new $m(l)}))!==null&&o!==void 0?o:[new $m];var i;this.statusControl=(i=t==null?void 0:t.statusControl)!==null&&i!==void 0?i:"";var u;this.completeControl=(u=t==null?void 0:t.completeControl)!==null&&u!==void 0?u:"";var c;this.completeTimeControl=(c=t==null?void 0:t.completeTimeControl)!==null&&c!==void 0?c:""},Ti=function e(t){tt(this,e),T(this,"id",void 0),T(this,"appId",void 0),T(this,"dataCode",void 0),T(this,"svcCode",void 0),T(this,"name",void 0),T(this,"fieldList",void 0),T(this,"active",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:_t(8);var n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.dataCode=(o=t==null?void 0:t.dataCode)!==null&&o!==void 0?o:"";var i;this.svcCode=(i=t==null?void 0:t.svcCode)!==null&&i!==void 0?i:"";var u;this.name=(u=t==null?void 0:t.name)!==null&&u!==void 0?u:"";var c;this.fieldList=(c=t==null?void 0:t.fieldList)!==null&&c!==void 0?c:[];var l;this.active=(l=t==null?void 0:t.active)!==null&&l!==void 0?l:!1},Pm=function e(t){tt(this,e),T(this,"active",void 0),T(this,"text",void 0);var r;this.active=(r=t==null?void 0:t.active)!==null&&r!==void 0?r:!1;var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""},rN=function e(t){tt(this,e),T(this,"types",void 0),T(this,"history",void 0),T(this,"collaborativeRecord",void 0),T(this,"logicToDelete",void 0),T(this,"watermark",void 0),T(this,"autoRename",void 0);var r;this.types=(r=t==null?void 0:t.types)!==null&&r!==void 0?r:["word","ppt","excel"];var n;this.history=(n=t==null?void 0:t.history)!==null&&n!==void 0?n:!1;var o;this.collaborativeRecord=(o=t==null?void 0:t.collaborativeRecord)!==null&&o!==void 0?o:!1;var i;this.logicToDelete=(i=t==null?void 0:t.logicToDelete)!==null&&i!==void 0?i:!0,this.watermark=new Pm(t==null?void 0:t.watermark),this.autoRename=new Pm(t==null?void 0:t.autoRename)},oN=function e(t){tt(this,e),T(this,"dataCode",void 0),this.dataCode=t.dataCode},iN=function e(t){tt(this,e);var r;T(this,"templateType",void 0),T(this,"templateList",void 0);var n;this.templateType=(n=t==null?void 0:t.templateType)!==null&&n!==void 0?n:"system";var o;this.templateList=(o=t==null||(r=t.templateList)===null||r===void 0?void 0:r.map(function(i){return new oN(i)}))!==null&&o!==void 0?o:[]},uN=function e(t){tt(this,e);var r;T(this,"templateType",void 0),T(this,"templateList",void 0);var n;this.templateType=(n=t==null?void 0:t.templateType)!==null&&n!==void 0?n:"system";var o;this.templateList=(o=t==null||(r=t.templateList)===null||r===void 0?void 0:r.map(function(i){return new Ti(i)}))!==null&&o!==void 0?o:[new Ti({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]},cN=480;function Ii(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var lN=function e(t){tt(this,e),T(this,"fileId",void 0),T(this,"fileName",void 0),T(this,"ruleName",void 0),T(this,"isDefault",void 0),T(this,"rules",void 0);var r;this.fileId=(r=t==null?void 0:t.fileId)!==null&&r!==void 0?r:"";var n;this.fileName=(n=t==null?void 0:t.fileName)!==null&&n!==void 0?n:"";var o;this.ruleName=(o=t==null?void 0:t.ruleName)!==null&&o!==void 0?o:"";var i;this.isDefault=(i=t.isDefault)!==null&&i!==void 0?i:!1;var u;this.rules=(u=t.rules)!==null&&u!==void 0?u:[]},Rm;(function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"})(Rm||(Rm={}));var z_;(function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"})(z_||(z_={}));var Bi;(function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"})(Bi||(Bi={}));var Zt;(function(e){e.ALL="all",e.ASSIGN="assign"})(Zt||(Zt={}));var H_;(function(e){e.ALL="all",e.ADMIN="admin"})(H_||(H_={}));function q_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ai(e){return Ai=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ai(e)}function fN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&U_(e,t)}function sN(e,t){return t&&(_N(t)==="object"||typeof t=="function")?t:q_(e)}function U_(e,t){return U_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},U_(e,t)}function _N(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pN(e){var t=yN();return function(){var n=Ai(e),o;if(t){var i=Ai(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sN(this,o)}}var dN=function(e){fN(r,e);var t=pN(r);function r(n){aN(this,r);var o;o=t.call(this,n),Sm(q_(o),"color",void 0),Sm(q_(o),"lineStyle",void 0);var i;o.color=(i=n==null?void 0:n.color)!==null&&i!==void 0?i:"#000";var u;return o.lineStyle=(u=n==null?void 0:n.lineStyle)!==null&&u!==void 0?u:V_.SOLID,o}return r}(ee);function Em(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hN(e,t,r){return t&&Tm(e.prototype,t),r&&Tm(e,r),e}function Im(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xi(e){return xi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xi(e)}function 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&&W_(e,t)}function gN(e,t){return t&&(mN(t)==="object"||typeof t=="function")?t:Em(e)}function W_(e,t){return W_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},W_(e,t)}function mN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ON(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wN(e){var t=ON();return function(){var n=xi(e),o;if(t){var i=xi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gN(this,o)}}var $N=function(e){bN(r,e);var t=wN(r);function r(n){vN(this,r);var o;return o=t.call(this,n),Im(Em(o),"props",void 0),o.props=new dN(n==null?void 0:n.props),o}return hN(r,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),r}(L);Im($N,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]}]);function Yt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function en(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ki(e){return ki=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ki(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&&K_(e,t)}function PN(e,t){return t&&(RN(t)==="object"||typeof t=="function")?t:Yt(e)}function K_(e,t){return K_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},K_(e,t)}function RN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xm(e){var t=SN();return function(){var n=ki(e),o;if(t){var i=ki(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PN(this,o)}}var EN=function(e){Am(r,e);var t=xm(r);function r(n){Bm(this,r);var o;return o=t.call(this,n),en(Yt(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),en(Yt(o),"dataBind",{type:"any"}),en(Yt(o),"config",{type:"array"}),n.config.includes(kt.ShowBizKey)&&(o.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:h.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:h.getMessage("bizKeyNotBindFiled")}},message:h.getMessage("bizKeyNotBindFiled")}),!n.isHide&&n.config.length===0&&(o.config={type:"array",min:1,required:!0,message:h.getMessage("pleaseSelectOneField")}),o}return r}(Y),km=function(e){Am(r,e);var t=xm(r);function r(n){Bm(this,r);var o;o=t.call(this,n),en(Yt(o),"dataBind",void 0),en(Yt(o),"caption",void 0),en(Yt(o),"config",void 0),en(Yt(o),"position",void 0),o.dataBind=new et(n==null?void 0:n.dataBind);var i;o.config=(i=n==null?void 0:n.config)!==null&&i!==void 0?i:[kt.ShowSubmitUser,kt.ShowSubmitDept,kt.ShowSubmitTime,kt.ShowCurrentApprovar,kt.ShowTitle];var u,c;o.caption=(c=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:oo==null?void 0:oo.controlName)!==null&&c!==void 0?c:"";var l;return o.position=(l=n==null?void 0:n.position)!==null&&l!==void 0?l:"top",o}return r}(ee);en(km,"Rules",EN);function Dm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function IN(e,t,r){return t&&Nm(e.prototype,t),r&&Nm(e,r),e}function G_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Di(e){return Di=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Di(e)}function BN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&X_(e,t)}function AN(e,t){return t&&(xN(t)==="object"||typeof t=="function")?t:Dm(e)}function X_(e,t){return X_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},X_(e,t)}function xN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DN(e){var t=kN();return function(){var n=Di(e),o;if(t){var i=Di(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AN(this,o)}}var oo=function(e){BN(r,e);var t=DN(r);function r(n){TN(this,r);var o;return o=t.call(this,n),G_(Dm(o),"props",void 0),o.props=new km(n==null?void 0:n.props),o}return IN(r,null,[{key:"controlName",get:function(){return"\u6807\u9898\u7EC4\u4EF6"}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),r}(L);G_(oo,"controlFieldType",m.AUTO_NUMBER),G_(oo,"setting",[{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}]);function Ni(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ji(e){return ji=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ji(e)}function jm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Q_(e,t)}function NN(e,t){return t&&(FN(t)==="object"||typeof t=="function")?t:Ni(e)}function Q_(e,t){return Q_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Q_(e,t)}function FN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Lm(e){var t=jN();return function(){var n=ji(e),o;if(t){var i=ji(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return NN(this,o)}}var LN=function(e){jm(r,e);var t=Lm(r);function r(n){Fm(this,r);var o;return o=t.call(this,n),Fi(Ni(o),"formKey",{type:"string",required:!0,message:h.getMessage("pleaseEnterForm")}),o}return r}(Y),Mm=function(e){jm(r,e);var t=Lm(r);function r(n){Fm(this,r);var o;o=t.call(this,n),Fi(Ni(o),"formKey",void 0),Fi(Ni(o),"openType",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:io.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:io.controlName;var c;o.formKey=(c=n==null?void 0:n.formKey)!==null&&c!==void 0?c:"";var l;return o.openType=(l=n==null?void 0:n.openType)!==null&&l!==void 0?l:"modal",o}return r}(Ne);Fi(Mm,"Rules",LN);function Cm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function CN(e,t,r){return t&&Vm(e.prototype,t),r&&Vm(e,r),e}function Li(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mi(e){return Mi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mi(e)}function VN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&J_(e,t)}function zN(e,t){return t&&(HN(t)==="object"||typeof t=="function")?t:Cm(e)}function J_(e,t){return J_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},J_(e,t)}function HN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UN(e){var t=qN();return function(){var n=Mi(e),o;if(t){var i=Mi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zN(this,o)}}var io=function(e){VN(r,e);var t=UN(r);function r(n){MN(this,r);var o;return o=t.call(this,n),Li(Cm(o),"props",void 0),o.props=new Mm(n==null?void 0:n.props),o}return CN(r,null,[{key:"controlName",get:function(){return"\u521B\u5EFA\u5355\u636E"}},{key:"controlIcon",get:function(){return"iconchuangjiandanju"}},{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),r}($e);Li(io,"slots",["grid-table-toolbar-slot"]),Li(io,"controlEventKeys",["on_click","on_click_finish"]),Li(io,"setting",[{key:"button-content",visible:!0},{key:"select-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 Vn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ci(e){return Ci=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ci(e)}function Hm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Z_(e,t)}function WN(e,t){return t&&(KN(t)==="object"||typeof t=="function")?t:Vn(e)}function Z_(e,t){return Z_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Z_(e,t)}function KN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qm(e){var t=GN();return function(){var n=Ci(e),o;if(t){var i=Ci(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WN(this,o)}}var XN=function(e){Hm(r,e);var t=qm(r);function r(n){zm(this,r);var o;return o=t.call(this,n),zn(Vn(o),"processKey",[{type:"string",message:h.getMessage("isNotString")},{type:"string",required:!0,message:h.getMessage("pleaseEnterProcess")}]),o}return r}(Y),Um=function(e){Hm(r,e);var t=qm(r);function r(n){zm(this,r);var o;o=t.call(this,n),zn(Vn(o),"processKey",void 0),zn(Vn(o),"initiatorMode",void 0),zn(Vn(o),"fieldCode",void 0),zn(Vn(o),"employeeId",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:uo.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:uo.controlName;var c;o.initiatorMode=(c=n==null?void 0:n.initiatorMode)!==null&&c!==void 0?c:"currentInitiator";var l;o.processKey=(l=n==null?void 0:n.processKey)!==null&&l!==void 0?l:"";var a;o.fieldCode=(a=n==null?void 0:n.fieldCode)!==null&&a!==void 0?a:"";var f;return o.employeeId=(f=n==null?void 0:n.employeeId)!==null&&f!==void 0?f:"",o}return r}(Ne);zn(Um,"Rules",XN);function Wm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Km(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function JN(e,t,r){return t&&Km(e.prototype,t),r&&Km(e,r),e}function Vi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zi(e){return zi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zi(e)}function ZN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 YN(e,t){return t&&(eF(t)==="object"||typeof t=="function")?t:Wm(e)}function Y_(e,t){return Y_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Y_(e,t)}function eF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nF(e){var t=tF();return function(){var n=zi(e),o;if(t){var i=zi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YN(this,o)}}var uo=function(e){ZN(r,e);var t=nF(r);function r(n){QN(this,r);var o;return o=t.call(this,n),Vi(Wm(o),"props",void 0),o.props=new Um(n==null?void 0:n.props),o}return JN(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u63D0\u4EA4"}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),r}($e);Vi(uo,"slots",["grid-table-toolbar-slot"]),Vi(uo,"controlEventKeys",["on_click","on_click_finish"]),Vi(uo,"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 rF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hi(e){return Hi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hi(e)}function iF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ey(e,t)}function uF(e,t){return t&&(cF(t)==="object"||typeof t=="function")?t:rF(e)}function ey(e,t){return ey=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ey(e,t)}function cF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aF(e){var t=lF();return function(){var n=Hi(e),o;if(t){var i=Hi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uF(this,o)}}var fF=function(e){iF(r,e);var t=aF(r);function r(n){oF(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:co.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:co.controlIcon,o}return r}(Ne);function Gm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _F(e,t,r){return t&&Xm(e.prototype,t),r&&Xm(e,r),e}function qi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ui(e){return Ui=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ui(e)}function 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&&ty(e,t)}function pF(e,t){return t&&(dF(t)==="object"||typeof t=="function")?t:Gm(e)}function ty(e,t){return ty=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ty(e,t)}function dF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hF(e){var t=vF();return function(){var n=Ui(e),o;if(t){var i=Ui(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pF(this,o)}}var co=function(e){yF(r,e);var t=hF(r);function r(n){sF(this,r);var o;return o=t.call(this,n),qi(Gm(o),"props",void 0),o.props=new fF(n==null?void 0:n.props),o}return _F(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),r}($e);qi(co,"slots",["grid-table-toolbar-slot"]),qi(co,"controlEventKeys",["on_click"]),qi(co,"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 ny(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wi(e){return Wi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wi(e)}function 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&&ry(e,t)}function mF(e,t){return t&&(OF(t)==="object"||typeof t=="function")?t:ny(e)}function ry(e,t){return ry=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ry(e,t)}function OF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $F(e){var t=wF();return function(){var n=Wi(e),o;if(t){var i=Wi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mF(this,o)}}var PF=function(e){gF(r,e);var t=$F(r);function r(n){bF(this,r);var o,i;o=t.call(this,n),Qm(ny(o),"templateList",void 0),Qm(ny(o),"templateType",void 0);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:lo.controlIcon;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:lo.controlName;var l;o.templateType=(l=n==null?void 0:n.templateType)!==null&&l!==void 0?l:"system";var a;return o.templateList=(a=n==null||(i=n.templateList)===null||i===void 0?void 0:i.map(function(f){return new Ti(f)}))!==null&&a!==void 0?a:[new Ti({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return r}(Ne);function Jm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function SF(e,t,r){return t&&Zm(e.prototype,t),r&&Zm(e,r),e}function Ki(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gi(e){return Gi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gi(e)}function 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&&oy(e,t)}function TF(e,t){return t&&(IF(t)==="object"||typeof t=="function")?t:Jm(e)}function oy(e,t){return oy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oy(e,t)}function IF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AF(e){var t=BF();return function(){var n=Gi(e),o;if(t){var i=Gi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TF(this,o)}}var lo=function(e){EF(r,e);var t=AF(r);function r(n){RF(this,r);var o;return o=t.call(this,n),Ki(Jm(o),"props",void 0),o.props=new PF(n==null?void 0:n.props),o}return SF(r,null,[{key:"controlName",get:function(){return"\u5BFC\u51FA"}},{key:"controlIcon",get:function(){return"iconxiazai1"}},{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),r}($e);Ki(lo,"slots",["grid-table-toolbar-slot"]),Ki(lo,"controlEventKeys",["on_click","on_click_finish"]),Ki(lo,"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 xF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xi(e){return Xi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xi(e)}function DF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&iy(e,t)}function NF(e,t){return t&&(FF(t)==="object"||typeof t=="function")?t:xF(e)}function iy(e,t){return iy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iy(e,t)}function FF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LF(e){var t=jF();return function(){var n=Xi(e),o;if(t){var i=Xi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return NF(this,o)}}var MF=function(e){DF(r,e);var t=LF(r);function r(n){kF(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:ao.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:ao.controlIcon,o}return r}(Ne);function Ym(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function VF(e,t,r){return t&&eO(e.prototype,t),r&&eO(e,r),e}function Qi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ji(e){return Ji=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ji(e)}function zF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 HF(e,t){return t&&(qF(t)==="object"||typeof t=="function")?t:Ym(e)}function uy(e,t){return uy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uy(e,t)}function qF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function UF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WF(e){var t=UF();return function(){var n=Ji(e),o;if(t){var i=Ji(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return HF(this,o)}}var ao=function(e){zF(r,e);var t=WF(r);function r(n){CF(this,r);var o;return o=t.call(this,n),Qi(Ym(o),"props",void 0),o.props=new MF(n==null?void 0:n.props),o}return VF(r,null,[{key:"controlName",get:function(){return"\u5BFC\u51FA\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"icondaochujilu"}},{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),r}($e);Qi(ao,"slots",["grid-table-toolbar-slot"]),Qi(ao,"controlEventKeys",["on_click"]),Qi(ao,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function cy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ly(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zi(e){return Zi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zi(e)}function 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&&ay(e,t)}function GF(e,t){return t&&(XF(t)==="object"||typeof t=="function")?t:cy(e)}function ay(e,t){return ay=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ay(e,t)}function XF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JF(e){var t=QF();return function(){var n=Zi(e),o;if(t){var i=Zi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GF(this,o)}}var ZF=function e(t){tO(this,e),ly(this,"dataCode",void 0),this.dataCode=t.dataCode},YF=function(e){KF(r,e);var t=JF(r);function r(n){tO(this,r);var o,i;o=t.call(this,n),ly(cy(o),"canImportList",void 0),ly(cy(o),"templateType",void 0);var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:fo.controlName;var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:fo.controlIcon;var l;o.canImportList=(l=n==null||(i=n.canImportList)===null||i===void 0?void 0:i.map(function(f){return new ZF(f)}))!==null&&l!==void 0?l:[];var a;return o.templateType=(a=n==null?void 0:n.templateType)!==null&&a!==void 0?a:"system",o}return r}(Ne);function nO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ej(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function tj(e,t,r){return t&&rO(e.prototype,t),r&&rO(e,r),e}function Yi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function eu(e){return eu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},eu(e)}function 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&&fy(e,t)}function rj(e,t){return t&&(oj(t)==="object"||typeof t=="function")?t:nO(e)}function fy(e,t){return fy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fy(e,t)}function oj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ij(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uj(e){var t=ij();return function(){var n=eu(e),o;if(t){var i=eu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rj(this,o)}}var fo=function(e){nj(r,e);var t=uj(r);function r(n){ej(this,r);var o;return o=t.call(this,n),Yi(nO(o),"props",void 0),o.props=new YF(n==null?void 0:n.props),o}return tj(r,null,[{key:"controlName",get:function(){return"\u5BFC\u5165"}},{key:"controlIcon",get:function(){return"iconshangchuan3"}},{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),r}($e);Yi(fo,"slots",["grid-table-toolbar-slot"]),Yi(fo,"controlEventKeys",["on_click","on_click_finish"]),Yi(fo,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}]);function tu(){return{dataCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:h.getMessage("pleaseSelectControl")}}}}}}function tn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nu(e){return nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nu(e)}function iO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 uO(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Dt(e,o,r[o])})}return e}function cj(e,t){return t&&(lj(t)==="object"||typeof t=="function")?t:tn(e)}function sy(e,t){return sy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sy(e,t)}function lj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cO(e){var t=aj();return function(){var n=nu(e),o;if(t){var i=nu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cj(this,o)}}var fj=function(e){iO(r,e);var t=cO(r);function r(n){oO(this,r);var o;return o=t.call(this,n),Dt(tn(o),"fillPayload",{type:"object",fields:uO({},tu())}),Dt(tn(o),"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:h.getMessage("pleaseEnterList")}}}),Dt(tn(o),"fillBack",{type:"object",fields:uO({mode:{type:"string",required:!0,message:h.getMessage("pleaseSelectFillBackMode")}},tu())}),(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:h.getMessage("pleaseSelectControl")}),o}return r}(Y),lO=function(e){iO(r,e);var t=cO(r);function r(n){oO(this,r);var o;o=t.call(this,n),Dt(tn(o),"fillPayload",void 0),Dt(tn(o),"formBind",void 0),Dt(tn(o),"fillBack",void 0),Dt(tn(o),"command",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:ou.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:ou.controlIcon;var c;return o.command=(c=n==null?void 0:n.command)!==null&&c!==void 0?c:"create",o.fillPayload=new Dg(n==null?void 0:n.fillPayload),o.formBind=new JA(n==null?void 0:n.formBind),o.fillBack=new Ng(n==null?void 0:n.fillBack),o}return r}(Ne);Dt(lO,"Rules",fj);function aO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _j(e,t,r){return t&&fO(e.prototype,t),r&&fO(e,r),e}function _y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ru(e){return ru=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ru(e)}function yj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yy(e,t)}function pj(e,t){return t&&(dj(t)==="object"||typeof t=="function")?t:aO(e)}function yy(e,t){return yy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yy(e,t)}function dj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hj(e){var t=vj();return function(){var n=ru(e),o;if(t){var i=ru(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pj(this,o)}}var ou=function(e){yj(r,e);var t=hj(r);function r(n){sj(this,r);var o;return o=t.call(this,n),_y(aO(o),"props",void 0),o.props=new lO(n==null?void 0:n.props),o}return _j(r,null,[{key:"controlName",get:function(){return"\u8868\u5355\u64CD\u4F5C"}},{key:"controlIcon",get:function(){return"iconbiaodancaozuo"}},{key:"controlType",get:function(){return"form-select-button"}}]),r}($e);_y(ou,"controlEventKeys",["on_click","on_click_finish"]),_y(ou,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function vt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function iu(e){return iu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},iu(e)}function _O(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&py(e,t)}function yO(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){nt(e,o,r[o])})}return e}function bj(e,t){return t&&(gj(t)==="object"||typeof t=="function")?t:vt(e)}function py(e,t){return py=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},py(e,t)}function gj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pO(e){var t=mj();return function(){var n=iu(e),o;if(t){var i=iu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bj(this,o)}}var Oj=function(e){_O(r,e);var t=pO(r);function r(n){sO(this,r);var o;return o=t.call(this,n),nt(vt(o),"fillPayload",{type:"object",fields:yO({},tu())}),nt(vt(o),"listPageBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:h.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:h.getMessage("pleaseSelectAtLeastOneColumn")}}}),nt(vt(o),"fillBack",{type:"object",fields:yO({mode:{type:"string",required:!0,message:h.getMessage("pleaseSelectFillBackMode")}},tu())}),o}return r}(Y),dO=function(e){_O(r,e);var t=pO(r);function r(n){sO(this,r);var o;o=t.call(this,n),nt(vt(o),"fillPayload",void 0),nt(vt(o),"listPageBind",void 0),nt(vt(o),"disableFilling",void 0),nt(vt(o),"fillBack",void 0),nt(vt(o),"showSelectedDetail",void 0),nt(vt(o),"selectedContentConfig",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:cu.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:cu.controlIcon,o.fillPayload=new Dg(n==null?void 0:n.fillPayload),o.listPageBind=new Ns(n==null?void 0:n.listPageBind),o.fillBack=new Ng(n==null?void 0:n.fillBack);var c;o.showSelectedDetail=(c=n==null?void 0:n.showSelectedDetail)!==null&&c!==void 0?c:!1,o.selectedContentConfig=new Ms(n==null?void 0:n.selectedContentConfig);var l;return o.disableFilling=(l=n==null?void 0:n.disableFilling)!==null&&l!==void 0?l:!0,o}return r}(Ne);nt(dO,"Rules",Oj);function vO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $j(e,t,r){return t&&hO(e.prototype,t),r&&hO(e,r),e}function dy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uu(e){return uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uu(e)}function 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&&vy(e,t)}function Rj(e,t){return t&&(Sj(t)==="object"||typeof t=="function")?t:vO(e)}function vy(e,t){return vy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vy(e,t)}function Sj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ej(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tj(e){var t=Ej();return function(){var n=uu(e),o;if(t){var i=uu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Rj(this,o)}}var cu=function(e){Pj(r,e);var t=Tj(r);function r(n){wj(this,r);var o;return o=t.call(this,n),dy(vO(o),"props",void 0),o.props=new dO(n==null?void 0:n.props),o}return $j(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u9009\u62E9"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-select-button"}}]),r}($e);dy(cu,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),dy(cu,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function Ij(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lu(e){return lu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lu(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&&gy(e,t)}function Bj(e,t){return t&&(Aj(t)==="object"||typeof t=="function")?t:Ij(e)}function gy(e,t){return gy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gy(e,t)}function Aj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function my(e){var t=xj();return function(){var n=lu(e),o;if(t){var i=lu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Bj(this,o)}}var kj=function(e){by(r,e);var t=my(r);function r(n){return hy(this,r),t.call(this,n)}return r}(Y),Dj=function(e){by(r,e);var t=my(r);function r(n){return hy(this,r),t.call(this,n)}return r}(pn),Oy=function(e){by(r,e);var t=my(r);function r(n){return hy(this,r),t.call(this,n)}return r}(ee);bO(Oy,"Rules",kj),bO(Oy,"RuntimeRules",Dj);function gO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Fj(e,t,r){return t&&mO(e.prototype,t),r&&mO(e,r),e}function OO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function au(e){return au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},au(e)}function jj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wy(e,t)}function Lj(e,t){return t&&(Mj(t)==="object"||typeof t=="function")?t:gO(e)}function wy(e,t){return wy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wy(e,t)}function Mj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Cj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vj(e){var t=Cj();return function(){var n=au(e),o;if(t){var i=au(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lj(this,o)}}var zj=function(e){jj(r,e);var t=Vj(r);function r(n){Nj(this,r);var o;return o=t.call(this,n),OO(gO(o),"props",void 0),o.props=new Oy(n==null?void 0:n.props),o}return Fj(r,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),r}(L);OO(zj,"setting",[]);function qe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ue(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fu(e){return fu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fu(e)}function $O(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$y(e,t)}function Hj(e,t){return t&&(qj(t)==="object"||typeof t=="function")?t:qe(e)}function $y(e,t){return $y=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$y(e,t)}function qj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Uj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PO(e){var t=Uj();return function(){var n=fu(e),o;if(t){var i=fu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Hj(this,o)}}var Wj=function(e){$O(r,e);var t=PO(r);function r(n){wO(this,r);var o;return o=t.call(this,n),Ue(qe(o),"dashboardKey",{type:"string",required:!0,message:h.getMessage("pleaseSelectDashboard")}),Ue(qe(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),Ue(qe(o),"isHideCaption",{type:"boolean"}),Ue(qe(o),"labelPosition",{type:"enum",enum:["top","left"]}),Ue(qe(o),"captionTip",{type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Y),RO=function(e){$O(r,e);var t=PO(r);function r(n){wO(this,r);var o;o=t.call(this,n),Ue(qe(o),"dashboardKey",void 0),Ue(qe(o),"caption",void 0),Ue(qe(o),"isHideCaption",void 0),Ue(qe(o),"isShowCaptionTip",void 0),Ue(qe(o),"captionTip",void 0),Ue(qe(o),"labelPosition",void 0);var i;o.dashboardKey=(i=n==null?void 0:n.dashboardKey)!==null&&i!==void 0?i:"";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var c;o.isHideCaption=(c=n==null?void 0:n.isHideCaption)!==null&&c!==void 0?c:!1;var l;o.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var f;return o.labelPosition=(f=n==null?void 0:n.labelPosition)!==null&&f!==void 0?f:"top",o}return r}(ee);Ue(RO,"Rules",Wj);function SO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function EO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Gj(e,t,r){return t&&EO(e.prototype,t),r&&EO(e,r),e}function TO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function su(e){return su=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},su(e)}function Xj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Py(e,t)}function Qj(e,t){return t&&(Jj(t)==="object"||typeof t=="function")?t:SO(e)}function Py(e,t){return Py=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Py(e,t)}function Jj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yj(e){var t=Zj();return function(){var n=su(e),o;if(t){var i=su(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Qj(this,o)}}var eL=function(e){Xj(r,e);var t=Yj(r);function r(n){Kj(this,r);var o;return o=t.call(this,n),TO(SO(o),"props",void 0),o.props=new RO(n==null?void 0:n.props),o}return Gj(r,null,[{key:"controlName",get:function(){return"\u4EEA\u8868\u76D8"}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),r}(L);TO(eL,"setting",[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function so(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _u(e){return _u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_u(e)}function BO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ry(e,t)}function tL(e,t){return t&&(nL(t)==="object"||typeof t=="function")?t:so(e)}function Ry(e,t){return Ry=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ry(e,t)}function nL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AO(e){var t=rL();return function(){var n=_u(e),o;if(t){var i=_u(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tL(this,o)}}var oL=function(e){BO(r,e);var t=AO(r);function r(n){IO(this,r);var o;return o=t.call(this,n),_o(so(o),"showType",{type:"enum",enum:["select","tabs"]}),_o(so(o),"viewList",{type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:h.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:h.getMessage("pleaseSelectAtLeastOneColumn")}}}}),o}return r}(Y),xO=function(e){BO(r,e);var t=AO(r);function r(n){IO(this,r);var o,i;o=t.call(this,n),_o(so(o),"showType",void 0),_o(so(o),"viewList",void 0);var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"select";var c;return o.viewList=(c=n==null||(i=n.viewList)===null||i===void 0?void 0:i.map(function(l){return new yx(l)}))!==null&&c!==void 0?c:[],o}return r}(ee);_o(xO,"Rules",oL);function kO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uL(e,t,r){return t&&DO(e.prototype,t),r&&DO(e,r),e}function NO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yu(e){return yu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yu(e)}function cL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sy(e,t)}function lL(e,t){return t&&(aL(t)==="object"||typeof t=="function")?t:kO(e)}function Sy(e,t){return Sy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sy(e,t)}function aL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sL(e){var t=fL();return function(){var n=yu(e),o;if(t){var i=yu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lL(this,o)}}var _L=function(e){cL(r,e);var t=sL(r);function r(n){iL(this,r);var o;return o=t.call(this,n),NO(kO(o),"props",void 0),o.props=new xO(n==null?void 0:n.props),o}return uL(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u89C6\u56FE"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-view-select"}}]),r}(L);NO(_L,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}]);function Ie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Be(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pu(e){return pu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pu(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&&Ey(e,t)}function yL(e,t){return t&&(pL(t)==="object"||typeof t=="function")?t:Ie(e)}function Ey(e,t){return Ey=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ey(e,t)}function pL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LO(e){var t=dL();return function(){var n=pu(e),o;if(t){var i=pu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yL(this,o)}}var vL=function(e){jO(r,e);var t=LO(r);function r(n){FO(this,r);var o;return o=t.call(this,n),Be(Ie(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),Be(Ie(o),"isHideCaption",{type:"boolean"}),Be(Ie(o),"labelPosition",{type:"enum",enum:["top","left"]}),Be(Ie(o),"ocrType",{type:"string",required:!0,message:h.getMessage("pleaseSelectOcrType")}),Be(Ie(o),"fillList",{type:"array",validator:function(u,c,l){var a=c.every(function(f){return!f.controlId});if(a){l(h.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}l()}}),Be(Ie(o),"captionTip",{type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Y),MO=function(e){jO(r,e);var t=LO(r);function r(n){FO(this,r);var o,i;o=t.call(this,n),Be(Ie(o),"caption",void 0),Be(Ie(o),"isHideCaption",void 0),Be(Ie(o),"isShowCaptionTip",void 0),Be(Ie(o),"captionTip",void 0),Be(Ie(o),"labelPosition",void 0),Be(Ie(o),"ocrType",void 0),Be(Ie(o),"fillList",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:yo.controlName;var c;o.isHideCaption=(c=n==null?void 0:n.isHideCaption)!==null&&c!==void 0?c:!1;var l;o.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var f;o.labelPosition=(f=n==null?void 0:n.labelPosition)!==null&&f!==void 0?f:"top";var _;o.content=(_=n==null?void 0:n.content)!==null&&_!==void 0?_:yo.controlName;var p;o.icon=(p=n==null?void 0:n.icon)!==null&&p!==void 0?p:yo.controlIcon;var g;o.ocrType=(g=n==null?void 0:n.ocrType)!==null&&g!==void 0?g:"";var O;return o.fillList=(O=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(b){return new Te(b)}))!==null&&O!==void 0?O:[],o}return r}(Ne);Be(MO,"Rules",vL);function CO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bL(e,t,r){return t&&VO(e.prototype,t),r&&VO(e,r),e}function Ty(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function du(e){return du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},du(e)}function gL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Iy(e,t)}function mL(e,t){return t&&(OL(t)==="object"||typeof t=="function")?t:CO(e)}function Iy(e,t){return Iy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Iy(e,t)}function OL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $L(e){var t=wL();return function(){var n=du(e),o;if(t){var i=du(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mL(this,o)}}var yo=function(e){gL(r,e);var t=$L(r);function r(n){hL(this,r);var o;return o=t.call(this,n),Ty(CO(o),"props",void 0),o.props=new MO(n==null?void 0:n.props),o}return bL(r,null,[{key:"controlName",get:function(){return"\u6587\u5B57\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconwenzishibie"}},{key:"controlType",get:function(){return"text-ocr-button"}}]),r}($e);Ty(yo,"controlEventKeys",["on_click","on_click_finish"]),Ty(yo,"setting",[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function Ae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vu(e){return vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vu(e)}function HO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 PL(e,t){return t&&(RL(t)==="object"||typeof t=="function")?t:Ae(e)}function By(e,t){return By=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},By(e,t)}function RL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qO(e){var t=SL();return function(){var n=vu(e),o;if(t){var i=vu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PL(this,o)}}var EL=function(e){HO(r,e);var t=qO(r);function r(n){zO(this,r);var o;return o=t.call(this,n),xe(Ae(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),xe(Ae(o),"isHideCaption",{type:"boolean"}),xe(Ae(o),"labelPosition",{type:"enum",enum:["top","left"]}),xe(Ae(o),"invoiceCheck",{type:"boolean"}),xe(Ae(o),"fillList",{type:"array",validator:function(u,c,l){var a=c.every(function(f){return!f.controlId});if(a){l(h.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}l()}}),xe(Ae(o),"captionTip",{type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Y),UO=function(e){HO(r,e);var t=qO(r);function r(n){zO(this,r);var o,i;o=t.call(this,n),xe(Ae(o),"caption",void 0),xe(Ae(o),"isHideCaption",void 0),xe(Ae(o),"isShowCaptionTip",void 0),xe(Ae(o),"captionTip",void 0),xe(Ae(o),"labelPosition",void 0),xe(Ae(o),"invoiceCheck",void 0),xe(Ae(o),"fillList",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:po.controlName;var c;o.isHideCaption=(c=n==null?void 0:n.isHideCaption)!==null&&c!==void 0?c:!1;var l;o.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var f;o.labelPosition=(f=n==null?void 0:n.labelPosition)!==null&&f!==void 0?f:"top";var _;o.content=(_=n==null?void 0:n.content)!==null&&_!==void 0?_:po.controlName;var p;o.icon=(p=n==null?void 0:n.icon)!==null&&p!==void 0?p:po.controlIcon;var g;o.invoiceCheck=(g=n==null?void 0:n.invoiceCheck)!==null&&g!==void 0?g:!0;var O;return o.fillList=(O=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(b){return new Te(b)}))!==null&&O!==void 0?O:[],o}return r}(Ne);xe(UO,"Rules",EL);function WO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function IL(e,t,r){return t&&KO(e.prototype,t),r&&KO(e,r),e}function Ay(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hu(e){return hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hu(e)}function BL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xy(e,t)}function AL(e,t){return t&&(xL(t)==="object"||typeof t=="function")?t:WO(e)}function xy(e,t){return xy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xy(e,t)}function xL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DL(e){var t=kL();return function(){var n=hu(e),o;if(t){var i=hu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AL(this,o)}}var po=function(e){BL(r,e);var t=DL(r);function r(n){TL(this,r);var o;return o=t.call(this,n),Ay(WO(o),"props",void 0),o.props=new UO(n==null?void 0:n.props),o}return IL(r,null,[{key:"controlName",get:function(){return"\u53D1\u7968\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconfabiaoshibie1"}},{key:"controlType",get:function(){return"invoice-check-button"}}]),r}($e);Ay(po,"controlEventKeys",["on_click","on_click_finish"]),Ay(po,"setting",[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function bu(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mu(e){return mu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mu(e)}function 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&&ky(e,t)}function NL(e,t){return t&&(FL(t)==="object"||typeof t=="function")?t:bu(e)}function ky(e,t){return ky=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ky(e,t)}function FL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QO(e){var t=jL();return function(){var n=mu(e),o;if(t){var i=mu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return NL(this,o)}}var LL=function(e){XO(r,e);var t=QO(r);function r(){GO(this,r);var n;return n=t.apply(this,arguments),gu(bu(n),"printTemplates",{type:"array",min:1,required:!0,message:h.getMessage("pleaseUploadAtLeastOnePrintTemplate")}),n}return r}(Y),JO=function(e){XO(r,e);var t=QO(r);function r(n){GO(this,r);var o,i;o=t.call(this,n),gu(bu(o),"printTemplates",void 0),gu(bu(o),"autoSelectTemplate",void 0);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:vo.controlIcon;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:vo.controlName;var l;o.printTemplates=(l=n==null||(i=n.printTemplates)===null||i===void 0?void 0:i.map(function(f){return new lN(f)}))!==null&&l!==void 0?l:[];var a;return o.autoSelectTemplate=(a=n==null?void 0:n.autoSelectTemplate)!==null&&a!==void 0?a:!1,o}return r}(Ne);gu(JO,"Rules",LL);function ZO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ML(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function CL(e,t,r){return t&&YO(e.prototype,t),r&&YO(e,r),e}function Ou(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wu(e){return wu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wu(e)}function 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&&Dy(e,t)}function zL(e,t){return t&&(HL(t)==="object"||typeof t=="function")?t:ZO(e)}function Dy(e,t){return Dy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dy(e,t)}function HL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UL(e){var t=qL();return function(){var n=wu(e),o;if(t){var i=wu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zL(this,o)}}var vo=function(e){VL(r,e);var t=UL(r);function r(n){ML(this,r);var o;return o=t.call(this,n),Ou(ZO(o),"props",void 0),o.props=new JO(n==null?void 0:n.props),o}return CL(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u6253\u5370"}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),r}($e);Ou(vo,"slots",["grid-table-toolbar-slot"]),Ou(vo,"controlEventKeys",["on_click","on_click_finish"]),Ou(vo,"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 WL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $u(e){return $u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$u(e)}function GL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ny(e,t)}function XL(e,t){return t&&(QL(t)==="object"||typeof t=="function")?t:WL(e)}function Ny(e,t){return Ny=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ny(e,t)}function QL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZL(e){var t=JL();return function(){var n=$u(e),o;if(t){var i=$u(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XL(this,o)}}var YL=function(e){GL(r,e);var t=ZL(r);function r(n){KL(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:ho.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:ho.controlIcon,o}return r}(Ne);function ew(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function tM(e,t,r){return t&&tw(e.prototype,t),r&&tw(e,r),e}function Pu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ru(e){return Ru=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ru(e)}function nM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fy(e,t)}function rM(e,t){return t&&(oM(t)==="object"||typeof t=="function")?t:ew(e)}function Fy(e,t){return Fy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fy(e,t)}function oM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uM(e){var t=iM();return function(){var n=Ru(e),o;if(t){var i=Ru(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rM(this,o)}}var ho=function(e){nM(r,e);var t=uM(r);function r(n){eM(this,r);var o;return o=t.call(this,n),Pu(ew(o),"props",void 0),o.props=new YL(n==null?void 0:n.props),o}return tM(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u6253\u5370\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),r}($e);Pu(ho,"slots",["grid-table-toolbar-slot"]),Pu(ho,"controlEventKeys",["on_click"]),Pu(ho,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function Pe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Re(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Su(e){return Su=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Su(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&&jy(e,t)}function cM(e,t){return t&&(lM(t)==="object"||typeof t=="function")?t:Pe(e)}function jy(e,t){return jy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jy(e,t)}function lM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ow(e){var t=aM();return function(){var n=Su(e),o;if(t){var i=Su(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cM(this,o)}}var fM=function(e){rw(r,e);var t=ow(r);function r(n){nw(this,r);var o;return o=t.call(this,n),Re(Pe(o),"formKey",{type:"string",required:!1}),(n.command==="edit"||n.command==="view")&&(o.formKey={type:"string",required:!0,message:h.getMessage("pleaseEnterForm")}),o}return r}(Y),Eu=function(e){rw(r,e);var t=ow(r);function r(n){nw(this,r);var o;o=t.call(this,n),Re(Pe(o),"content",void 0),Re(Pe(o),"code",void 0),Re(Pe(o),"command",void 0),Re(Pe(o),"color",void 0),Re(Pe(o),"icon",void 0),Re(Pe(o),"formKey",void 0),Re(Pe(o),"openType",void 0),Re(Pe(o),"needConfirm",void 0),Re(Pe(o),"confirmMessage",void 0),Re(Pe(o),"options",void 0),Re(Pe(o),"defaultState",void 0),Re(Pe(o),"priorityProcess",void 0),Re(Pe(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6309\u94AE",o.code=n==null?void 0:n.code;var u;o.command=(u=n==null?void 0:n.command)!==null&&u!==void 0?u:"custom";var c;o.color=(c=n==null?void 0:n.color)!==null&&c!==void 0?c:"primary",o.icon=n==null?void 0:n.icon,o.formKey=n==null?void 0:n.formKey,o.openType=n==null?void 0:n.openType,o.needConfirm=n==null?void 0:n.needConfirm,o.confirmMessage=n==null?void 0:n.confirmMessage,o.options=n==null?void 0:n.options;var l;o.defaultState=(l=n==null?void 0:n.defaultState)!==null&&l!==void 0?l:"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 r}(ee);Re(Eu,"Rules",fM);function iw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _M(e,t,r){return t&&uw(e.prototype,t),r&&uw(e,r),e}function Ly(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tu(e){return Tu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tu(e)}function 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&&My(e,t)}function pM(e,t){return t&&(dM(t)==="object"||typeof t=="function")?t:iw(e)}function My(e,t){return My=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},My(e,t)}function dM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hM(e){var t=vM();return function(){var n=Tu(e),o;if(t){var i=Tu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pM(this,o)}}var Iu=function(e){yM(r,e);var t=hM(r);function r(n){sM(this,r);var o;return o=t.call(this,n),Ly(iw(o),"props",void 0),o.props=new Eu(n==null?void 0:n.props),o}return _M(r,null,[{key:"controlName",get:function(){return"\u64CD\u4F5C\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"operation-button"}}]),r}(L);Ly(Iu,"controlEventKeys",["on_click"]),Ly(Iu,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}]);function cw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gM(e,t,r){return t&&lw(e.prototype,t),r&&lw(e,r),e}function mM(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bu(e){return Bu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bu(e)}function OM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cy(e,t)}function wM(e,t){return t&&($M(t)==="object"||typeof t=="function")?t:cw(e)}function Cy(e,t){return Cy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cy(e,t)}function $M(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RM(e){var t=PM();return function(){var n=Bu(e),o;if(t){var i=Bu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wM(this,o)}}var SM=function(e){OM(r,e);var t=RM(r);function r(n){bM(this,r);var o;return o=t.call(this,n),mM(cw(o),"props",void 0),o.props=new Eu(n==null?void 0:n.props),o}return gM(r,null,[{key:"controlType",get:function(){return"operation-button"}}]),r}(Bt),Vy={Designer:Iu,Runtime:SM,Property:Eu};function Nt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Au(e){return Au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Au(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&&zy(e,t)}function IM(e,t){return t&&(BM(t)==="object"||typeof t=="function")?t:Nt(e)}function zy(e,t){return zy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zy(e,t)}function BM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xM(e){var t=AM();return function(){var n=Au(e),o;if(t){var i=Au(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return IM(this,o)}}var kM=function(e){TM(r,e);var t=xM(r);function r(n){EM(this,r);var o;o=t.call(this,n),nn(Nt(o),"content",void 0),nn(Nt(o),"buttonType",void 0),nn(Nt(o),"showType",void 0),nn(Nt(o),"color",void 0),nn(Nt(o),"icon",void 0),nn(Nt(o),"defaultState",void 0),nn(Nt(o),"command",void 0),nn(Nt(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:bo.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:bo.controlIcon;var c;o.buttonType=(c=n==null?void 0:n.buttonType)!==null&&c!==void 0?c:"primary";var l;o.showType=(l=n==null?void 0:n.showType)!==null&&l!==void 0?l:"iconText";var a;o.color=(a=n==null?void 0:n.color)!==null&&a!==void 0?a:"danger";var f;o.isHide=(f=n==null?void 0:n.isHide)!==null&&f!==void 0?f:!1;var _;o.defaultState=(_=n==null?void 0:n.defaultState)!==null&&_!==void 0?_:"default";var p;o.command=(p=n==null?void 0:n.command)!==null&&p!==void 0?p:"custom";var g;return o.isLoading=(g=n==null?void 0:n.isLoading)!==null&&g!==void 0?g:!1,o}return r}(ee);function aw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function NM(e,t,r){return t&&fw(e.prototype,t),r&&fw(e,r),e}function xu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ku(e){return ku=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ku(e)}function FM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hy(e,t)}function jM(e,t){return t&&(LM(t)==="object"||typeof t=="function")?t:aw(e)}function Hy(e,t){return Hy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hy(e,t)}function LM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CM(e){var t=MM();return function(){var n=ku(e),o;if(t){var i=ku(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jM(this,o)}}var bo=function(e){FM(r,e);var t=CM(r);function r(n){DM(this,r);var o;return o=t.call(this,n),xu(aw(o),"props",void 0),o.props=new kM(n==null?void 0:n.props),o}return NM(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u5220\u9664"}},{key:"controlIcon",get:function(){return"iconlajitong"}},{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),r}(L);xu(bo,"slots",["grid-table-toolbar-slot"]),xu(bo,"controlEventKeys",["on_click"]),xu(bo,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}]);function ht(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Du(e){return Du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Du(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&&Wy(e,t)}function VM(e,t){return t&&(zM(t)==="object"||typeof t=="function")?t:ht(e)}function Wy(e,t){return Wy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wy(e,t)}function zM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ky(e){var t=HM();return function(){var n=Du(e),o;if(t){var i=Du(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VM(this,o)}}var qM=function(e){Uy(r,e);var t=Ky(r);function r(n){qy(this,r);var o;return o=t.call(this,n),rt(ht(o),"maxLength",{type:"number",min:0,message:h.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),rt(ht(o),"minLength",{type:"number",max:200,message:h.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),rt(ht(o),"defaultValue",[{type:"string",max:200,min:0,message:h.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=h.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o.defaultValue[1].pattern=Ii(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(ue),UM=function(e){Uy(r,e);var t=Ky(r);function r(n){qy(this,r);var o;return o=t.call(this,n),o.push({type:"string",message:h.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:h.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:Ii(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(V),go=function(e){Uy(r,e);var t=Ky(r);function r(n){qy(this,r);var o;o=t.call(this,n),rt(ht(o),"maxLength",void 0),rt(ht(o),"minLength",void 0),rt(ht(o),"regularRules",void 0),rt(ht(o),"defaultValue",void 0),rt(ht(o),"encrypted",void 0),rt(ht(o),"encryptedMode",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:200;var u;o.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0,o.regularRules=new Cs(n==null?void 0:n.regularRules);var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:"";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:mo.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var f;o.encrypted=(f=n==null?void 0:n.encrypted)!==null&&f!==void 0?f:!1;var _;return o.encryptedMode=(_=n==null?void 0:n.encryptedMode)!==null&&_!==void 0?_:"",o}return r}(D);rt(go,"Rules",qM),rt(go,"RuntimeRules",UM);function sw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _w(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function KM(e,t,r){return t&&_w(e.prototype,t),r&&_w(e,r),e}function Nu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fu(e){return Fu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fu(e)}function GM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gy(e,t)}function XM(e,t){return t&&(QM(t)==="object"||typeof t=="function")?t:sw(e)}function Gy(e,t){return Gy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gy(e,t)}function QM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZM(e){var t=JM();return function(){var n=Fu(e),o;if(t){var i=Fu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XM(this,o)}}var mo=function(e){GM(r,e);var t=ZM(r);function r(n){WM(this,r);var o;return o=t.call(this,n),Nu(sw(o),"props",void 0),o.props=new go(n==null?void 0:n.props),o}return KM(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconSingleline_new1"}},{key:"controlType",get:function(){return"input"}}]),r}(N);Nu(mo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Nu(mo,"controlFieldType",m.VARCHAR),Nu(mo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP,s.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function yw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function e5(e,t,r){return t&&pw(e.prototype,t),r&&pw(e,r),e}function dw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ju(e){return ju=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ju(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&&Xy(e,t)}function n5(e,t){return t&&(r5(t)==="object"||typeof t=="function")?t:yw(e)}function Xy(e,t){return Xy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xy(e,t)}function r5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function o5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function i5(e){var t=o5();return function(){var n=ju(e),o;if(t){var i=ju(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return n5(this,o)}}var u5=function(e){t5(r,e);var t=i5(r);function r(n){YM(this,r);var o;return o=t.call(this,n),dw(yw(o),"props",void 0),o.props=new go(n==null?void 0:n.props),o}return e5(r,null,[{key:"controlType",get:function(){return"input"}}]),r}(F);dw(u5,"controlFieldType",m.VARCHAR);function ge(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lu(e){return Lu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lu(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&&Zy(e,t)}function c5(e,t){return t&&(l5(t)==="object"||typeof t=="function")?t:ge(e)}function Zy(e,t){return Zy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zy(e,t)}function l5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function a5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yy(e){var t=a5();return function(){var n=Lu(e),o;if(t){var i=Lu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return c5(this,o)}}var f5=function(e){Jy(r,e);var t=Yy(r);function r(n){Qy(this,r);var o;o=t.call(this,n),_e(ge(o),"limitMax",{type:"number",min:void 0,message:h.getMessage("PleaseReselectTheOptionalQuantity")});var i=n.limitMax==="unlimited";i&&(o.limitMax.type="string");var u=function(c){return c==="unlimited"?void 0:c};return o.limitMax.min=u(n.limitMin),o}return r}(Nn),s5=function(e){Jy(r,e);var t=Yy(r);function r(n){Qy(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o.push({type:"array",max:typeof n.limitMax=="number"?n.limitMax:void 0,min:typeof n.limitMin=="number"?n.limitMin:void 0}),o}return r}(V),Mu=function(e){Jy(r,e);var t=Yy(r);function r(n){Qy(this,r);var o;o=t.call(this,n),_e(ge(o),"checkboxMode",void 0),_e(ge(o),"options",void 0),_e(ge(o),"optionsOrder",void 0),_e(ge(o),"limitMax",void 0),_e(ge(o),"limitMin",void 0),_e(ge(o),"otherOption",void 0),_e(ge(o),"optionConfig",void 0),_e(ge(o),"optionsFormat",void 0),_e(ge(o),"defaultShowOptions",void 0),_e(ge(o),"datasourceBind",void 0),_e(ge(o),"multistageFilling",void 0),_e(ge(o),"interreaction",void 0),_e(ge(o),"defaultValue",void 0),_e(ge(o),"openMultistageFilling",void 0);var i;o.options=Tt((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.checkboxMode=(u=n==null?void 0:n.checkboxMode)!==null&&u!==void 0?u:"horizontal";var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"custom";var l;o.optionsOrder=(l=n==null?void 0:n.optionsOrder)!==null&&l!==void 0?l:!1;var a;o.otherOption=(a=n==null?void 0:n.otherOption)!==null&&a!==void 0?a:!1;var f;o.limitMin=(f=n==null?void 0:n.limitMin)!==null&&f!==void 0?f:"unlimited";var _;o.limitMax=(_=n==null?void 0:n.limitMax)!==null&&_!==void 0?_:"unlimited",o.datasourceBind=new ne(n==null?void 0:n.datasourceBind);var p;o.interreaction=(p=n==null?void 0:n.interreaction)!==null&&p!==void 0?p:[];var g;o.caption=(g=n==null?void 0:n.caption)!==null&&g!==void 0?g:zu.controlName;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:[];var b;o.optionsFormat=(b=n==null?void 0:n.optionsFormat)!==null&&b!==void 0?b:"horizontal";var w;o.defaultShowOptions=(w=n==null?void 0:n.defaultShowOptions)!==null&&w!==void 0?w:!0;var d;return o.openMultistageFilling=(d=n==null?void 0:n.openMultistageFilling)!==null&&d!==void 0?d:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function($){var P;(P=o.multistageFilling)===null||P===void 0||P.push(new Te($))})),o}return r}(D);_e(Mu,"Rules",f5),_e(Mu,"RuntimeRules",s5);function vw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function y5(e,t,r){return t&&hw(e.prototype,t),r&&hw(e,r),e}function Cu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vu(e){return Vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vu(e)}function 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&&ep(e,t)}function d5(e,t){return t&&(v5(t)==="object"||typeof t=="function")?t:vw(e)}function ep(e,t){return ep=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ep(e,t)}function v5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function h5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function b5(e){var t=h5();return function(){var n=Vu(e),o;if(t){var i=Vu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return d5(this,o)}}var zu=function(e){p5(r,e);var t=b5(r);function r(n){_5(this,r);var o;return o=t.call(this,n),Cu(vw(o),"props",void 0),o.props=new Mu(n==null?void 0:n.props),o}return y5(r,null,[{key:"controlName",get:function(){return"\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),r}(N);Cu(zu,"controlEventKeys",["on_change","on_click"]),Cu(zu,"controlFieldType",m.ARRAY),Cu(zu,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function bw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function m5(e,t,r){return t&&gw(e.prototype,t),r&&gw(e,r),e}function mw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hu(e){return Hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hu(e)}function O5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tp(e,t)}function w5(e,t){return t&&($5(t)==="object"||typeof t=="function")?t:bw(e)}function tp(e,t){return tp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tp(e,t)}function $5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function P5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function R5(e){var t=P5();return function(){var n=Hu(e),o;if(t){var i=Hu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return w5(this,o)}}var S5=function(e){O5(r,e);var t=R5(r);function r(n){g5(this,r);var o;return o=t.call(this,n),mw(bw(o),"props",void 0),o.props=new Mu(n==null?void 0:n.props),o}return m5(r,null,[{key:"controlType",get:function(){return"checkbox"}}]),r}(F);mw(S5,"controlFieldType",m.ARRAY);function Fe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ow(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function je(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qu(e){return qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qu(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&&np(e,t)}function E5(e,t){return t&&(T5(t)==="object"||typeof t=="function")?t:Fe(e)}function np(e,t){return np=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},np(e,t)}function T5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function I5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $w(e){var t=I5();return function(){var n=qu(e),o;if(t){var i=qu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return E5(this,o)}}var B5=function(e){ww(r,e);var t=$w(r);function r(n){return Ow(this,r),t.call(this,n)}return r}(Nn),rp=function(e){ww(r,e);var t=$w(r);function r(n){Ow(this,r);var o;o=t.call(this,n),je(Fe(o),"radioMode",void 0),je(Fe(o),"options",void 0),je(Fe(o),"optionConfig",void 0),je(Fe(o),"optionsFormat",void 0),je(Fe(o),"defaultShowOptions",void 0),je(Fe(o),"otherOption",void 0),je(Fe(o),"optionsOrder",void 0),je(Fe(o),"datasourceBind",void 0),je(Fe(o),"multistageFilling",void 0),je(Fe(o),"interreaction",void 0),je(Fe(o),"defaultValue",void 0),je(Fe(o),"openMultistageFilling",void 0);var i;o.options=Tt((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.radioMode=(u=n==null?void 0:n.radioMode)!==null&&u!==void 0?u:"horizontal";var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"custom";var l;o.otherOption=(l=n==null?void 0:n.otherOption)!==null&&l!==void 0?l:!1;var a;o.optionsOrder=(a=n==null?void 0:n.optionsOrder)!==null&&a!==void 0?a:!1;var f;o.defaultShowOptions=(f=n==null?void 0:n.defaultShowOptions)!==null&&f!==void 0?f:!0;var _;o.optionsFormat=(_=n==null?void 0:n.optionsFormat)!==null&&_!==void 0?_:"horizontal",o.datasourceBind=new ne(n==null?void 0:n.datasourceBind);var p;o.interreaction=(p=n==null?void 0:n.interreaction)!==null&&p!==void 0?p:[];var g;o.caption=(g=n==null?void 0:n.caption)!==null&&g!==void 0?g:Ku.controlName;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:"";var b;return o.openMultistageFilling=(b=n==null?void 0:n.openMultistageFilling)!==null&&b!==void 0?b:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(w){var d;(d=o.multistageFilling)===null||d===void 0||d.push(new Te(w))})),o}return r}(D);je(rp,"Rules",B5);function Pw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function x5(e,t,r){return t&&Rw(e.prototype,t),r&&Rw(e,r),e}function Uu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wu(e){return Wu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wu(e)}function k5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 D5(e,t){return t&&(N5(t)==="object"||typeof t=="function")?t:Pw(e)}function op(e,t){return op=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},op(e,t)}function N5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function F5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function j5(e){var t=F5();return function(){var n=Wu(e),o;if(t){var i=Wu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return D5(this,o)}}var Ku=function(e){k5(r,e);var t=j5(r);function r(n){A5(this,r);var o;return o=t.call(this,n),Uu(Pw(o),"props",void 0),o.props=new rp(n==null?void 0:n.props),o}return x5(r,null,[{key:"controlName",get:function(){return"\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),r}(N);Uu(Ku,"controlEventKeys",["on_change","on_click"]),Uu(Ku,"controlFieldType",m.VARCHAR),Uu(Ku,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function Sw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ew(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function M5(e,t,r){return t&&Ew(e.prototype,t),r&&Ew(e,r),e}function Tw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gu(e){return Gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gu(e)}function C5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ip(e,t)}function V5(e,t){return t&&(z5(t)==="object"||typeof t=="function")?t:Sw(e)}function ip(e,t){return ip=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ip(e,t)}function z5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function H5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function q5(e){var t=H5();return function(){var n=Gu(e),o;if(t){var i=Gu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return V5(this,o)}}var U5=function(e){C5(r,e);var t=q5(r);function r(n){L5(this,r);var o;return o=t.call(this,n),Tw(Sw(o),"props",void 0),o.props=new rp(n==null?void 0:n.props),o}return M5(r,null,[{key:"controlType",get:function(){return"radio"}}]),r}(F);Tw(U5,"controlFieldType",m.VARCHAR);function Se(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function up(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function me(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xu(e){return Xu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xu(e)}function cp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lp(e,t)}function W5(e,t){return t&&(K5(t)==="object"||typeof t=="function")?t:Se(e)}function lp(e,t){return lp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lp(e,t)}function K5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function G5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ap(e){var t=G5();return function(){var n=Xu(e),o;if(t){var i=Xu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return W5(this,o)}}var X5=function(e){cp(r,e);var t=ap(r);function r(n){up(this,r);var o;o=t.call(this,n),me(Se(o),"defaultValue",[{type:"number",min:0,max:200,message:h.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}]),me(Se(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue[0].max=i,o.defaultValue[0].min=u,o.defaultValue[0].message=h.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:h.getMessage("numberRangeSetError")}),o.defaultValue[1].pattern=Ii(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(ue),Q5=function(e){cp(r,e);var t=ap(r);function r(n){up(this,r);var o;o=t.call(this,n),o[0]!==void 0&&(o[0].type="number");var i=n.rangeMax!==""?n.rangeMax:void 0,u=n.rangeMin!==""?n.rangeMin:void 0;return o.push({type:"number",max:i,min:u,message:h.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:Ii(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(V),Qu=function(e){cp(r,e);var t=ap(r);function r(n){up(this,r);var o;o=t.call(this,n),me(Se(o),"rangeMin",void 0),me(Se(o),"rangeMax",void 0),me(Se(o),"numberType",void 0),me(Se(o),"percentageFormat",void 0),me(Se(o),"micrometer",void 0),me(Se(o),"precision",void 0),me(Se(o),"showUpperCase",void 0),me(Se(o),"isShowUnit",void 0),me(Se(o),"unitPosition",void 0),me(Se(o),"unit",void 0),me(Se(o),"defaultValue",void 0),me(Se(o),"regularRules",void 0);var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var u;o.rangeMax=(u=n==null?void 0:n.rangeMax)!==null&&u!==void 0?u:"";var c;o.numberType=(c=n==null?void 0:n.numberType)!==null&&c!==void 0?c:"number";var l;o.percentageFormat=(l=n==null?void 0:n.percentageFormat)!==null&&l!==void 0?l:!1;var a;o.micrometer=(a=n==null?void 0:n.micrometer)!==null&&a!==void 0?a:!1;var f;o.precision=(f=n==null?void 0:n.precision)!==null&&f!==void 0?f:0;var _;o.showUpperCase=(_=n==null?void 0:n.showUpperCase)!==null&&_!==void 0?_:!1;var p;o.isShowUnit=(p=n==null?void 0:n.isShowUnit)!==null&&p!==void 0?p:!1;var g;o.unitPosition=(g=n==null?void 0:n.unitPosition)!==null&&g!==void 0?g:"right";var O;o.unit=(O=n==null?void 0:n.unit)!==null&&O!==void 0?O:"";var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:Yu.controlName;var w;o.placeholder=(w=n==null?void 0:n.placeholder)!==null&&w!==void 0?w:"\u8BF7\u8F93\u5165";var d;return o.defaultValue=(d=n==null?void 0:n.defaultValue)!==null&&d!==void 0?d:"",o.regularRules=new Cs(n==null?void 0:n.regularRules),o}return r}(D);me(Qu,"Rules",X5),me(Qu,"RuntimeRules",Q5);function Iw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function J5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Z5(e,t,r){return t&&Bw(e.prototype,t),r&&Bw(e,r),e}function Ju(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zu(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Zu=Reflect.get:Zu=function(o,i,u){var c=t6(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Zu(e,t,r||e)}function Hn(e){return Hn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hn(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&&fp(e,t)}function e6(e,t){return t&&(n6(t)==="object"||typeof t=="function")?t:Iw(e)}function fp(e,t){return fp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fp(e,t)}function t6(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Hn(e),e!==null););return e}function n6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function r6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function o6(e){var t=r6();return function(){var n=Hn(e),o;if(t){var i=Hn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return e6(this,o)}}var Yu=function(e){Y5(r,e);var t=o6(r);function r(n){J5(this,r);var o;return o=t.call(this,n),Ju(Iw(o),"props",void 0),o.props=new Qu(n==null?void 0:n.props),o}return Z5(r,[{key:"toDataBindModel",value:function(o){var i=Zu(Hn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,l=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=l}return i}}],[{key:"controlName",get:function(){return"\u6570\u5B57"}},{key:"controlIcon",get:function(){return"iconnuminput_new"}},{key:"controlType",get:function(){return"number"}}]),r}(N);Ju(Yu,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Ju(Yu,"controlFieldType",m.DECIMAL),Ju(Yu,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_UNIT,s.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function Aw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function u6(e,t,r){return t&&xw(e.prototype,t),r&&xw(e,r),e}function kw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ec(e){return ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ec(e)}function 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&&sp(e,t)}function l6(e,t){return t&&(a6(t)==="object"||typeof t=="function")?t:Aw(e)}function sp(e,t){return sp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sp(e,t)}function a6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function f6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function s6(e){var t=f6();return function(){var n=ec(e),o;if(t){var i=ec(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return l6(this,o)}}var _6=function(e){c6(r,e);var t=s6(r);function r(n){i6(this,r);var o;return o=t.call(this,n),kw(Aw(o),"props",void 0),o.props=new Qu(n==null?void 0:n.props),o}return u6(r,null,[{key:"controlType",get:function(){return"number"}}]),r}(F);kw(_6,"controlFieldType",m.DECIMAL);function Ft(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tc(e){return tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tc(e)}function p6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_p(e,t)}function d6(e,t){return t&&(v6(t)==="object"||typeof t=="function")?t:Ft(e)}function _p(e,t){return _p=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_p(e,t)}function v6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function h6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function b6(e){var t=h6();return function(){var n=tc(e),o;if(t){var i=tc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return d6(this,o)}}var Dw=function(e){p6(r,e);var t=b6(r);function r(n){y6(this,r);var o,i;o=t.call(this,n),rn(Ft(o),"dateType",void 0),rn(Ft(o),"dateFormat",void 0),rn(Ft(o),"commonTimeSetting",void 0),rn(Ft(o),"setValueType",void 0),rn(Ft(o),"defaultValue",void 0),rn(Ft(o),"limitDateList",void 0),rn(Ft(o),"allowDateRange",void 0),rn(Ft(o),"filterWeekend",void 0);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:qt.DATE;var c;o.dateFormat=(c=n==null?void 0:n.dateFormat)!==null&&c!==void 0?c:"";var l;o.commonTimeSetting=(l=n==null?void 0:n.commonTimeSetting)!==null&&l!==void 0?l:[];var a;o.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:dp.controlName;var _;o.placeholder=(_=n==null?void 0:n.placeholder)!==null&&_!==void 0?_:"\u8BF7\u8F93\u5165\u65E5\u671F";var p;o.defaultValue=(p=n==null?void 0:n.defaultValue)!==null&&p!==void 0?p:"";var g;o.limitDateList=(g=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(w){return new L_(w)}))!==null&&g!==void 0?g:[];var O;o.allowDateRange=(O=n==null?void 0:n.allowDateRange)!==null&&O!==void 0?O:["",""];var b;return o.filterWeekend=(b=n==null?void 0:n.filterWeekend)!==null&&b!==void 0?b:!1,o}return r}(D);function Nw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function m6(e,t,r){return t&&Fw(e.prototype,t),r&&Fw(e,r),e}function yp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?nc=Reflect.get:nc=function(o,i,u){var c=$6(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},nc(e,t,r||e)}function qn(e){return qn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qn(e)}function O6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pp(e,t)}function w6(e,t){return t&&(P6(t)==="object"||typeof t=="function")?t:Nw(e)}function pp(e,t){return pp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pp(e,t)}function $6(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=qn(e),e!==null););return e}function P6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function R6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function S6(e){var t=R6();return function(){var n=qn(e),o;if(t){var i=qn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return w6(this,o)}}var dp=function(e){O6(r,e);var t=S6(r);function r(n){g6(this,r);var o;return o=t.call(this,n),yp(Nw(o),"props",void 0),o.props=new Dw(n==null?void 0:n.props),o}return m6(r,[{key:"toDataBindModel",value:function(o){var i=nc(qn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props.dateType;i.props.dateType=u}return i}}],[{key:"controlName",get:function(){return"\u65E5\u671F"}},{key:"controlIcon",get:function(){return"iconriqi1"}},{key:"controlType",get:function(){return"date-picker"}}]),r}(N);yp(dp,"controlFieldType",m.TIMESTAMP),yp(dp,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function jw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function T6(e,t,r){return t&&Lw(e.prototype,t),r&&Lw(e,r),e}function Mw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rc(e){return rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rc(e)}function I6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vp(e,t)}function B6(e,t){return t&&(A6(t)==="object"||typeof t=="function")?t:jw(e)}function vp(e,t){return vp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vp(e,t)}function A6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function x6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function k6(e){var t=x6();return function(){var n=rc(e),o;if(t){var i=rc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return B6(this,o)}}var D6=function(e){I6(r,e);var t=k6(r);function r(n){E6(this,r);var o;return o=t.call(this,n),Mw(jw(o),"props",void 0),o.props=new Dw(n==null?void 0:n.props),o}return T6(r,null,[{key:"controlType",get:function(){return"date-picker"}}]),r}(F);Mw(D6,"controlFieldType",m.TIMESTAMP);function We(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ke(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oc(e){return oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oc(e)}function Vw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hp(e,t)}function N6(e,t){return t&&(F6(t)==="object"||typeof t=="function")?t:We(e)}function hp(e,t){return hp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hp(e,t)}function F6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function j6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zw(e){var t=j6();return function(){var n=oc(e),o;if(t){var i=oc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return N6(this,o)}}var L6=function(e){Vw(r,e);var t=zw(r);function r(n){Cw(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="object"),n.required&&!n.isHide&&o.push({type:"object",fields:{max:{type:"string",required:n.required,message:o[0].message},min:{type:"string",required:n.required,message:o[0].message}}}),o}return r}(V),bp=function(e){Vw(r,e);var t=zw(r);function r(n){Cw(this,r);var o,i;o=t.call(this,n),Ke(We(o),"dataBind",void 0),Ke(We(o),"rangeMin",void 0),Ke(We(o),"rangeMax",void 0),Ke(We(o),"placeholderStart",void 0),Ke(We(o),"placeholderEnd",void 0),Ke(We(o),"dateFormat",void 0),Ke(We(o),"commonTimeSetting",void 0),Ke(We(o),"dateType",void 0),Ke(We(o),"setValueType",void 0),Ke(We(o),"defaultValue",void 0),Ke(We(o),"limitDateList",void 0),o.dataBind=new lx(n==null?void 0:n.dataBind),o.defaultValue=new ax(n==null?void 0:n.defaultValue);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:qt.DATE;var c;o.dateFormat=(c=n==null?void 0:n.dateFormat)!==null&&c!==void 0?c:"";var l;o.commonTimeSetting=(l=n==null?void 0:n.commonTimeSetting)!==null&&l!==void 0?l:[];var a;o.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var f;o.rangeMin=(f=n==null?void 0:n.rangeMin)!==null&&f!==void 0?f:"";var _;o.rangeMax=(_=n==null?void 0:n.rangeMax)!==null&&_!==void 0?_:"";var p;o.placeholderStart=(p=n==null?void 0:n.placeholderStart)!==null&&p!==void 0?p:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F";var g;o.placeholderEnd=(g=n==null?void 0:n.placeholderEnd)!==null&&g!==void 0?g:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F";var O;o.caption=(O=n==null?void 0:n.caption)!==null&&O!==void 0?O:Op.controlName;var b;return o.limitDateList=(b=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(w){return new L_(w)}))!==null&&b!==void 0?b:[],o}return r}(D);Ke(bp,"RuntimeRules",L6);function Hw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function C6(e,t,r){return t&&qw(e.prototype,t),r&&qw(e,r),e}function gp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ic(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ic=Reflect.get:ic=function(o,i,u){var c=H6(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},ic(e,t,r||e)}function Un(e){return Un=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Un(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&&mp(e,t)}function z6(e,t){return t&&(q6(t)==="object"||typeof t=="function")?t:Hw(e)}function mp(e,t){return mp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mp(e,t)}function H6(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Un(e),e!==null););return e}function q6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function U6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function W6(e){var t=U6();return function(){var n=Un(e),o;if(t){var i=Un(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return z6(this,o)}}var Op=function(e){V6(r,e);var t=W6(r);function r(n){M6(this,r);var o;return o=t.call(this,n),gp(Hw(o),"props",void 0),o.props=new bp(n==null?void 0:n.props),o}return C6(r,[{key:"toDataBindModel",value:function(o){var i=ic(Un(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props.dateType;i.props.dateType=u}return i}}],[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"date-range"}}]),r}(N);gp(Op,"controlFieldType",m.TIMESCOPE),gp(Op,"setting",[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function Uw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function K6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ww(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function G6(e,t,r){return t&&Ww(e.prototype,t),r&&Ww(e,r),e}function Kw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uc(e){return uc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uc(e)}function 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&&wp(e,t)}function Q6(e,t){return t&&(J6(t)==="object"||typeof t=="function")?t:Uw(e)}function wp(e,t){return wp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wp(e,t)}function J6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Z6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Y6(e){var t=Z6();return function(){var n=uc(e),o;if(t){var i=uc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Q6(this,o)}}var eC=function(e){X6(r,e);var t=Y6(r);function r(n){K6(this,r);var o;return o=t.call(this,n),Kw(Uw(o),"props",void 0),o.props=new bp(n==null?void 0:n.props),o}return G6(r,null,[{key:"controlType",get:function(){return"date-range"}}]),r}(F);Kw(eC,"controlFieldType",m.TIMESCOPE);function on(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cc(e){return cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cc(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&&Rp(e,t)}function tC(e,t){return t&&(nC(t)==="object"||typeof t=="function")?t:on(e)}function Rp(e,t){return Rp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rp(e,t)}function nC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sp(e){var t=rC();return function(){var n=cc(e),o;if(t){var i=cc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tC(this,o)}}var oC=function(e){Pp(r,e);var t=Sp(r);function r(n){$p(this,r);var o;return o=t.call(this,n),jt(on(o),"maxLength",{type:"number",min:0,message:h.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),jt(on(o),"minLength",{type:"number",max:1e6,message:h.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),jt(on(o),"defaultValue",{type:"string",max:200,min:0,message:h.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=h.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(ue),iC=function(e){Pp(r,e);var t=Sp(r);function r(n){$p(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:h.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(V),lc=function(e){Pp(r,e);var t=Sp(r);function r(n){$p(this,r);var o;o=t.call(this,n),jt(on(o),"maxLength",void 0),jt(on(o),"minLength",void 0),jt(on(o),"defaultValue",void 0),jt(on(o),"rowHeightSetting",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:5e4;var u;o.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0;var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:"";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:sc.controlName;var a;return o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165",o.rowHeightSetting=new Tg(n==null?void 0:n.rowHeightSetting),o}return r}(D);jt(lc,"Rules",oC),jt(lc,"RuntimeRules",iC);function Gw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cC(e,t,r){return t&&Xw(e.prototype,t),r&&Xw(e,r),e}function ac(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fc(e){return fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fc(e)}function 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&&Ep(e,t)}function aC(e,t){return t&&(fC(t)==="object"||typeof t=="function")?t:Gw(e)}function Ep(e,t){return Ep=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ep(e,t)}function fC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _C(e){var t=sC();return function(){var n=fc(e),o;if(t){var i=fc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aC(this,o)}}var sc=function(e){lC(r,e);var t=_C(r);function r(n){uC(this,r);var o;return o=t.call(this,n),ac(Gw(o),"props",void 0),o.props=new lc(n==null?void 0:n.props),o}return cC(r,null,[{key:"controlName",get:function(){return"\u591A\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconMultilineline_new1"}},{key:"controlType",get:function(){return"textarea"}}]),r}(N);ac(sc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),ac(sc,"controlFieldType",m.TEXT),ac(sc,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"row-height-setting",visible:!0},{key:"super-setting",visible:!0}]);function Qw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pC(e,t,r){return t&&Jw(e.prototype,t),r&&Jw(e,r),e}function Zw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _c(e){return _c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_c(e)}function 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&&Tp(e,t)}function vC(e,t){return t&&(hC(t)==="object"||typeof t=="function")?t:Qw(e)}function Tp(e,t){return Tp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tp(e,t)}function hC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gC(e){var t=bC();return function(){var n=_c(e),o;if(t){var i=_c(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vC(this,o)}}var mC=function(e){dC(r,e);var t=gC(r);function r(n){yC(this,r);var o;return o=t.call(this,n),Zw(Qw(o),"props",void 0),o.props=new lc(n==null?void 0:n.props),o}return pC(r,null,[{key:"controlType",get:function(){return"textarea"}}]),r}(F);Zw(mC,"controlFieldType",m.TEXT);function bn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ip(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function un(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yc(e){return yc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yc(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&&Ap(e,t)}function OC(e,t){return t&&(wC(t)==="object"||typeof t=="function")?t:bn(e)}function Ap(e,t){return Ap=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ap(e,t)}function wC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $C(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xp(e){var t=$C();return function(){var n=yc(e),o;if(t){var i=yc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return OC(this,o)}}var PC=function(e){Bp(r,e);var t=xp(r);function r(n){Ip(this,r);var o;return o=t.call(this,n),un(bn(o),"maxLength",{type:"number",min:0,message:h.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),un(bn(o),"minLength",{type:"number",max:1e6,message:h.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),un(bn(o),"defaultValue",{type:"string",max:200,min:0,message:h.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=h.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(ue),RC=function(e){Bp(r,e);var t=xp(r);function r(n){Ip(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:h.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(V),pc=function(e){Bp(r,e);var t=xp(r);function r(n){Ip(this,r);var o;o=t.call(this,n),un(bn(o),"maxLength",void 0),un(bn(o),"minLength",void 0),un(bn(o),"defaultValue",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:5e4;var u;o.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0;var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:"";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:hc.controlName;var a;return o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165",o}return r}(D);un(pc,"Rules",PC),un(pc,"RuntimeRules",RC);function Yw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function e$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function EC(e,t,r){return t&&e$(e.prototype,t),r&&e$(e,r),e}function dc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vc(e){return vc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vc(e)}function 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&&kp(e,t)}function IC(e,t){return t&&(BC(t)==="object"||typeof t=="function")?t:Yw(e)}function kp(e,t){return kp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kp(e,t)}function BC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xC(e){var t=AC();return function(){var n=vc(e),o;if(t){var i=vc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return IC(this,o)}}var hc=function(e){TC(r,e);var t=xC(r);function r(n){SC(this,r);var o;return o=t.call(this,n),dc(Yw(o),"props",void 0),o.props=new pc(n==null?void 0:n.props),o}return EC(r,null,[{key:"controlName",get:function(){return"\u5BCC\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconRichtextbox_new"}},{key:"controlType",get:function(){return"rich-text"}}]),r}(N);dc(hc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),dc(hc,"controlFieldType",m.TEXT),dc(hc,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}]);function t$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function DC(e,t,r){return t&&n$(e.prototype,t),r&&n$(e,r),e}function r$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bc(e){return bc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bc(e)}function NC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dp(e,t)}function FC(e,t){return t&&(jC(t)==="object"||typeof t=="function")?t:t$(e)}function Dp(e,t){return Dp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dp(e,t)}function jC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MC(e){var t=LC();return function(){var n=bc(e),o;if(t){var i=bc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FC(this,o)}}var CC=function(e){NC(r,e);var t=MC(r);function r(n){kC(this,r);var o;return o=t.call(this,n),r$(t$(o),"props",void 0),o.props=new pc(n==null?void 0:n.props),o}return DC(r,null,[{key:"controlType",get:function(){return"rich-text"}}]),r}(F);r$(CC,"controlFieldType",m.TEXT);function Le(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Me(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gc(e){return gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gc(e)}function i$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Np(e,t)}function VC(e,t){return t&&(zC(t)==="object"||typeof t=="function")?t:Le(e)}function Np(e,t){return Np=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Np(e,t)}function zC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function u$(e){var t=HC();return function(){var n=gc(e),o;if(t){var i=gc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VC(this,o)}}var qC=function(e){i$(r,e);var t=u$(r);function r(n){o$(this,r);var o;return o=t.call(this,n),Me(Le(o),"formBind",{type:"object",fields:{formKey:{type:"string",message:h.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return r}(Nn),Fp=function(e){i$(r,e);var t=u$(r);function r(n){o$(this,r);var o;o=t.call(this,n),Me(Le(o),"options",void 0),Me(Le(o),"defaultShowOptions",void 0),Me(Le(o),"optionConfig",void 0),Me(Le(o),"defaultValue",void 0),Me(Le(o),"datasourceBind",void 0),Me(Le(o),"multistageFilling",void 0),Me(Le(o),"allowCopyOptions",void 0),Me(Le(o),"openMultistageFilling",void 0),Me(Le(o),"viewFormModelType",void 0),Me(Le(o),"canViewForm",void 0),Me(Le(o),"formBind",void 0);var i;o.options=Tt((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.defaultShowOptions=(u=n==null?void 0:n.defaultShowOptions)!==null&&u!==void 0?u:!0;var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"custom",o.datasourceBind=new ne(n==null?void 0:n.datasourceBind);var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:Mp.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9";var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:"";var _;o.allowCopyOptions=(_=n==null?void 0:n.allowCopyOptions)!==null&&_!==void 0?_:!1;var p;o.openMultistageFilling=(p=n==null?void 0:n.openMultistageFilling)!==null&&p!==void 0?p:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(b){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new Te(b))}));var g;o.canViewForm=(g=n==null?void 0:n.canViewForm)!==null&&g!==void 0?g:!1;var O;return o.viewFormModelType=(O=n==null?void 0:n.viewFormModelType)!==null&&O!==void 0?O:"window",o.formBind=new kn(n==null?void 0:n.formBind),o}return r}(D);Me(Fp,"Rules",qC);function c$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function WC(e,t,r){return t&&l$(e.prototype,t),r&&l$(e,r),e}function jp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mc(e){return mc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mc(e)}function KC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 GC(e,t){return t&&(XC(t)==="object"||typeof t=="function")?t:c$(e)}function Lp(e,t){return Lp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lp(e,t)}function XC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JC(e){var t=QC();return function(){var n=mc(e),o;if(t){var i=mc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GC(this,o)}}var Mp=function(e){KC(r,e);var t=JC(r);function r(n){UC(this,r);var o;return o=t.call(this,n),jp(c$(o),"props",void 0),o.props=new Fp(n==null?void 0:n.props),o}return WC(r,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconxiala1"}},{key:"controlType",get:function(){return"select"}}]),r}(N);jp(Mp,"controlFieldType",m.VARCHAR),jp(Mp,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP,s.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function a$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function YC(e,t,r){return t&&f$(e.prototype,t),r&&f$(e,r),e}function s$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Oc(e){return Oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oc(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&&Cp(e,t)}function t4(e,t){return t&&(n4(t)==="object"||typeof t=="function")?t:a$(e)}function Cp(e,t){return Cp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cp(e,t)}function n4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function r4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function o4(e){var t=r4();return function(){var n=Oc(e),o;if(t){var i=Oc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return t4(this,o)}}var i4=function(e){e4(r,e);var t=o4(r);function r(n){ZC(this,r);var o;return o=t.call(this,n),s$(a$(o),"props",void 0),o.props=new Fp(n==null?void 0:n.props),o}return YC(r,null,[{key:"controlType",get:function(){return"select"}}]),r}(F);s$(i4,"controlFieldType",m.VARCHAR);function Ge(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ce(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wc(e){return wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wc(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 u4(e,t){return t&&(c4(t)==="object"||typeof t=="function")?t:Ge(e)}function Hp(e,t){return Hp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hp(e,t)}function c4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function l4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qp(e){var t=l4();return function(){var n=wc(e),o;if(t){var i=wc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return u4(this,o)}}var a4=function(e){zp(r,e);var t=qp(r);function r(n){Vp(this,r);var o;return o=t.call(this,n),Ce(Ge(o),"formBind",{type:"object",fields:{formKey:{type:"string",message:h.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return r}(Nn),f4=function(e){zp(r,e);var t=qp(r);function r(n){Vp(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(V),$c=function(e){zp(r,e);var t=qp(r);function r(n){Vp(this,r);var o;o=t.call(this,n),Ce(Ge(o),"options",void 0),Ce(Ge(o),"defaultShowOptions",void 0),Ce(Ge(o),"optionConfig",void 0),Ce(Ge(o),"defaultValue",void 0),Ce(Ge(o),"datasourceBind",void 0),Ce(Ge(o),"multistageFilling",void 0),Ce(Ge(o),"openMultistageFilling",void 0),Ce(Ge(o),"viewFormModelType",void 0),Ce(Ge(o),"canViewForm",void 0),Ce(Ge(o),"formBind",void 0);var i;o.options=Tt((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.defaultShowOptions=(u=n==null?void 0:n.defaultShowOptions)!==null&&u!==void 0?u:!0;var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"custom",o.datasourceBind=new ne(n==null?void 0:n.datasourceBind);var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:Kp.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9";var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var _;o.openMultistageFilling=(_=n==null?void 0:n.openMultistageFilling)!==null&&_!==void 0?_:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var b;(b=o.multistageFilling)===null||b===void 0||b.push(new Te(O))}));var p;o.canViewForm=(p=n==null?void 0:n.canViewForm)!==null&&p!==void 0?p:!1;var g;return o.viewFormModelType=(g=n==null?void 0:n.viewFormModelType)!==null&&g!==void 0?g:"window",o.formBind=new kn(n==null?void 0:n.formBind),o}return r}(D);Ce($c,"Rules",a4),Ce($c,"RuntimeRules",f4);function _$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _4(e,t,r){return t&&y$(e.prototype,t),r&&y$(e,r),e}function Up(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pc(e){return Pc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pc(e)}function y4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 p4(e,t){return t&&(d4(t)==="object"||typeof t=="function")?t:_$(e)}function Wp(e,t){return Wp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wp(e,t)}function d4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function v4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function h4(e){var t=v4();return function(){var n=Pc(e),o;if(t){var i=Pc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return p4(this,o)}}var Kp=function(e){y4(r,e);var t=h4(r);function r(n){s4(this,r);var o;return o=t.call(this,n),Up(_$(o),"props",void 0),o.props=new $c(n==null?void 0:n.props),o}return _4(r,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconxialaduoxuan"}},{key:"controlType",get:function(){return"select-multiple"}}]),r}(N);Up(Kp,"controlFieldType",m.ARRAY),Up(Kp,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function p$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function g4(e,t,r){return t&&d$(e.prototype,t),r&&d$(e,r),e}function v$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rc(e){return Rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rc(e)}function m4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 O4(e,t){return t&&(w4(t)==="object"||typeof t=="function")?t:p$(e)}function Gp(e,t){return Gp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gp(e,t)}function w4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function P4(e){var t=$4();return function(){var n=Rc(e),o;if(t){var i=Rc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return O4(this,o)}}var R4=function(e){m4(r,e);var t=P4(r);function r(n){b4(this,r);var o;return o=t.call(this,n),v$(p$(o),"props",void 0),o.props=new $c(n==null?void 0:n.props),o}return g4(r,null,[{key:"controlType",get:function(){return"select-multiple"}}]),r}(F);v$(R4,"controlFieldType",m.ARRAY);function Lt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sc(e){return Sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sc(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&&Xp(e,t)}function S4(e,t){return t&&(E4(t)==="object"||typeof t=="function")?t:Lt(e)}function Xp(e,t){return Xp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xp(e,t)}function E4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function T4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function g$(e){var t=T4();return function(){var n=Sc(e),o;if(t){var i=Sc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return S4(this,o)}}var I4=function(e){b$(r,e);var t=g$(r);function r(n){h$(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(V),Qp=function(e){b$(r,e);var t=g$(r);function r(n){h$(this,r);var o;o=t.call(this,n),Mt(Lt(o),"showType",void 0),Mt(Lt(o),"range",void 0),Mt(Lt(o),"rangeOptions",void 0),Mt(Lt(o),"multiple",void 0),Mt(Lt(o),"defaultValueType",void 0),Mt(Lt(o),"defaultValue",void 0),Mt(Lt(o),"multistageFilling",void 0),Mt(Lt(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var c;o.rangeOptions=(c=n==null?void 0:n.rangeOptions)!==null&&c!==void 0?c:[];var l;o.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1;var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:Yp.controlName;var p;o.placeholder=(p=n==null?void 0:n.placeholder)!==null&&p!==void 0?p:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var g;return o.openMultistageFilling=(g=n==null?void 0:n.openMultistageFilling)!==null&&g!==void 0?g:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var b;(b=o.multistageFilling)===null||b===void 0||b.push(new Te(O))})),o}return r}(D);Mt(Qp,"RuntimeRules",I4);function m$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function O$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function A4(e,t,r){return t&&O$(e.prototype,t),r&&O$(e,r),e}function Jp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ec(e){return Ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ec(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&&Zp(e,t)}function k4(e,t){return t&&(D4(t)==="object"||typeof t=="function")?t:m$(e)}function Zp(e,t){return Zp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zp(e,t)}function D4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function N4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function F4(e){var t=N4();return function(){var n=Ec(e),o;if(t){var i=Ec(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return k4(this,o)}}var Yp=function(e){x4(r,e);var t=F4(r);function r(n){B4(this,r);var o;return o=t.call(this,n),Jp(m$(o),"props",void 0),o.props=new Qp(n==null?void 0:n.props),o}return A4(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),r}(N);Jp(Yp,"controlFieldType",m.EMPLOYEES),Jp(Yp,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}]);function w$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function L4(e,t,r){return t&&$$(e.prototype,t),r&&$$(e,r),e}function P$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tc(e){return Tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tc(e)}function M4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 C4(e,t){return t&&(V4(t)==="object"||typeof t=="function")?t:w$(e)}function ed(e,t){return ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ed(e,t)}function V4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function z4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function H4(e){var t=z4();return function(){var n=Tc(e),o;if(t){var i=Tc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return C4(this,o)}}var q4=function(e){M4(r,e);var t=H4(r);function r(n){j4(this,r);var o;return o=t.call(this,n),P$(w$(o),"props",void 0),o.props=new Qp(n==null?void 0:n.props),o}return L4(r,null,[{key:"controlType",get:function(){return"employee"}}]),r}(F);P$(q4,"controlFieldType",m.EMPLOYEES);function ot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function td(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ic(e){return Ic=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ic(e)}function nd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rd(e,t)}function U4(e,t){return t&&(W4(t)==="object"||typeof t=="function")?t:ot(e)}function rd(e,t){return rd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rd(e,t)}function W4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function K4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function od(e){var t=K4();return function(){var n=Ic(e),o;if(t){var i=Ic(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return U4(this,o)}}var G4=10485760,X4=104857600,Q4=1048576e3,J4=function(e){nd(r,e);var t=od(r);function r(n){td(this,r);var o;return o=t.call(this,n),Xe(ot(o),"maxSize",{type:"number",min:0,max:Q4,message:h.getMessage("attachmentMaxSize")}),o}return r}(ue),Z4=function(e){nd(r,e);var t=od(r);function r(n){td(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o.push({type:"array",max:n.maxLimit,min:n.minLimit,message:h.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),o}return r}(V),Bc=function(e){nd(r,e);var t=od(r);function r(n){td(this,r);var o;o=t.call(this,n),Xe(ot(o),"defaultValue",void 0),Xe(ot(o),"showType",void 0),Xe(ot(o),"resultShowType",void 0),Xe(ot(o),"attachmentAccept",void 0),Xe(ot(o),"maxLimit",void 0),Xe(ot(o),"minLimit",void 0),Xe(ot(o),"isShowWatermark",void 0),Xe(ot(o),"watermarkFx",void 0),Xe(ot(o),"maxSize",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:[];var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"default";var c;o.resultShowType=(c=n==null?void 0:n.resultShowType)!==null&&c!==void 0?c:"simple";var l;o.attachmentAccept=(l=n==null?void 0:n.attachmentAccept)!==null&&l!==void 0?l:[];var a;o.maxLimit=(a=n==null?void 0:n.maxLimit)!==null&&a!==void 0?a:10;var f;o.minLimit=(f=n==null?void 0:n.minLimit)!==null&&f!==void 0?f:0;var _;o.maxSize=(_=n==null?void 0:n.maxSize)!==null&&_!==void 0?_:X4;var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:Oo.controlName;var g;o.placeholder=(g=n==null?void 0:n.placeholder)!==null&&g!==void 0?g:"\u4E0A\u4F20\u9644\u4EF6";var O;o.isShowWatermark=(O=n==null?void 0:n.isShowWatermark)!==null&&O!==void 0?O:!1;var b;return o.watermarkFx=(b=n==null?void 0:n.watermarkFx)!==null&&b!==void 0?b:{},o}return r}(D);Xe(Bc,"Rules",J4),Xe(Bc,"RuntimeRules",Z4);function R$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function S$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function e7(e,t,r){return t&&S$(e.prototype,t),r&&S$(e,r),e}function Ac(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xc(e){return xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xc(e)}function 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&&id(e,t)}function n7(e,t){return t&&(r7(t)==="object"||typeof t=="function")?t:R$(e)}function id(e,t){return id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},id(e,t)}function r7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function o7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function i7(e){var t=o7();return function(){var n=xc(e),o;if(t){var i=xc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return n7(this,o)}}var Oo=function(e){t7(r,e);var t=i7(r);function r(n){Y4(this,r);var o;return o=t.call(this,n),Ac(R$(o),"props",void 0),o.props=new Bc(n==null?void 0:n.props),o}return e7(r,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(N);Ac(Oo,"controlEventKeys",["on_change"]),Ac(Oo,"controlFieldType",m.FILE),Ac(Oo,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function E$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c7(e,t,r){return t&&T$(e.prototype,t),r&&T$(e,r),e}function I$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kc(e){return kc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kc(e)}function l7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 a7(e,t){return t&&(f7(t)==="object"||typeof t=="function")?t:E$(e)}function ud(e,t){return ud=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ud(e,t)}function f7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function s7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _7(e){var t=s7();return function(){var n=kc(e),o;if(t){var i=kc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return a7(this,o)}}var y7=function(e){l7(r,e);var t=_7(r);function r(n){u7(this,r);var o;return o=t.call(this,n),I$(E$(o),"props",void 0),o.props=new Bc(n==null?void 0:n.props),o}return c7(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(F);I$(y7,"controlFieldType",m.FILE);function p7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function B$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function v7(e,t,r){return t&&B$(e.prototype,t),r&&B$(e,r),e}function A$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dc(e){return Dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dc(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&&cd(e,t)}function b7(e,t){return t&&(g7(t)==="object"||typeof t=="function")?t:p7(e)}function cd(e,t){return cd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cd(e,t)}function g7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function m7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function O7(e){var t=m7();return function(){var n=Dc(e),o;if(t){var i=Dc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return b7(this,o)}}var x$=function(e){h7(r,e);var t=O7(r);function r(n){d7(this,r);var o,i,u;o=t.call(this,n),o.props.showType="image";var c;o.props.caption=(c=n==null||(i=n.props)===null||i===void 0?void 0:i.caption)!==null&&c!==void 0?c:r.controlName;var l;return o.props.placeholder=(l=n==null||(u=n.props)===null||u===void 0?void 0:u.placeholder)!==null&&l!==void 0?l:"\u4E0A\u4F20\u56FE\u7247",o}return v7(r,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),r}(Oo);A$(x$,"controlFieldType",m.IMAGE),A$(x$,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP,s.IS_SHOW_WATERMARK]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function Ee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ld(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ye(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nc(e){return Nc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nc(e)}function ad(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fd(e,t)}function w7(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){ye(e,o,r[o])})}return e}function $7(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function P7(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):$7(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function R7(e,t){return t&&(S7(t)==="object"||typeof t=="function")?t:Ee(e)}function fd(e,t){return fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fd(e,t)}function S7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function E7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sd(e){var t=E7();return function(){var n=Nc(e),o;if(t){var i=Nc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return R7(this,o)}}var T7=function(e){ad(r,e);var t=sd(r);function r(n){ld(this,r);var o;o=t.call(this,n),ye(Ee(o),"defaultValue",{type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:h.getMessage("pleaseEnterNumberRange")}]}}),ye(Ee(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue.fields.amount[0].max=i,o.defaultValue.fields.amount[0].min=u,o.defaultValue.fields.amount[0].message=h.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:h.getMessage("numberRangeSetError")}),o}return r}(Nn),I7=function(e){ad(r,e);var t=sd(r);function r(n){ld(this,r);var o;o=t.call(this,n),o[0]!==void 0&&(o[0].type="object");var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.push({type:"object",fields:{amount:[P7(w7({},o[0]),{type:"number"}),{type:"number",min:u,max:i,message:h.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}],currency:{type:"string"}}}),o}return r}(V),Fc=function(e){ad(r,e);var t=sd(r);function r(n){ld(this,r);var o;o=t.call(this,n),ye(Ee(o),"rangeMin",void 0),ye(Ee(o),"rangeMax",void 0),ye(Ee(o),"showUpperCase",void 0),ye(Ee(o),"submitSelectCurrency",void 0),ye(Ee(o),"micrometer",void 0),ye(Ee(o),"precision",void 0),ye(Ee(o),"unitPosition",void 0),ye(Ee(o),"optionConfig",void 0),ye(Ee(o),"dataBind",void 0),ye(Ee(o),"datasourceBind",void 0),ye(Ee(o),"defaultValue",void 0),ye(Ee(o),"options",void 0);var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var u;o.rangeMax=(u=n==null?void 0:n.rangeMax)!==null&&u!==void 0?u:"";var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"datasource";var l;o.micrometer=(l=n==null?void 0:n.micrometer)!==null&&l!==void 0?l:!1;var a;o.precision=(a=n==null?void 0:n.precision)!==null&&a!==void 0?a:2,o.dataBind=new ux(n==null?void 0:n.dataBind);var f;o.datasourceBind=new ne((f=n==null?void 0:n.datasourceBind)!==null&&f!==void 0?f:{displayBoList:[new js({value:"name"})]});var _;o.defaultValue=new cx((_=n==null?void 0:n.defaultValue)!==null&&_!==void 0?_:{amount:"",currency:zs.CNY});var p;o.unitPosition=(p=n==null?void 0:n.unitPosition)!==null&&p!==void 0?p:"right",o.options=Tt(n==null?void 0:n.options);var g;o.caption=(g=n==null?void 0:n.caption)!==null&&g!==void 0?g:Mc.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u8F93\u5165";var b;o.submitSelectCurrency=(b=n==null?void 0:n.submitSelectCurrency)!==null&&b!==void 0?b:!1;var w;return o.showUpperCase=(w=n==null?void 0:n.showUpperCase)!==null&&w!==void 0?w:!1,o}return r}(D);ye(Fc,"Rules",T7),ye(Fc,"RuntimeRules",I7);function k$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function D$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function A7(e,t,r){return t&&D$(e.prototype,t),r&&D$(e,r),e}function jc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Lc=Reflect.get:Lc=function(o,i,u){var c=D7(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Lc(e,t,r||e)}function Wn(e){return Wn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wn(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&&_d(e,t)}function k7(e,t){return t&&(N7(t)==="object"||typeof t=="function")?t:k$(e)}function _d(e,t){return _d=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_d(e,t)}function D7(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Wn(e),e!==null););return e}function N7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function F7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function j7(e){var t=F7();return function(){var n=Wn(e),o;if(t){var i=Wn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return k7(this,o)}}var Mc=function(e){x7(r,e);var t=j7(r);function r(n){B7(this,r);var o;return o=t.call(this,n),jc(k$(o),"props",void 0),o.props=new Fc(n==null?void 0:n.props),o}return A7(r,[{key:"toDataBindModel",value:function(o){var i=Lc(Wn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,l=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=l}return i}}],[{key:"controlName",get:function(){return"\u91D1\u989D"}},{key:"controlType",get:function(){return"amount"}},{key:"controlIcon",get:function(){return"iconjine"}}]),r}(N);jc(Mc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),jc(Mc,"controlFieldType",m.MONEY),jc(Mc,"setting",[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.SUBMIT_SELECT_CURRENCY,s.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"unit-position",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function N$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function F$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function M7(e,t,r){return t&&F$(e.prototype,t),r&&F$(e,r),e}function j$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cc(e){return Cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cc(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&&yd(e,t)}function V7(e,t){return t&&(z7(t)==="object"||typeof t=="function")?t:N$(e)}function yd(e,t){return yd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yd(e,t)}function z7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function H7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function q7(e){var t=H7();return function(){var n=Cc(e),o;if(t){var i=Cc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return V7(this,o)}}var U7=function(e){C7(r,e);var t=q7(r);function r(n){L7(this,r);var o;return o=t.call(this,n),j$(N$(o),"props",void 0),o.props=new Fc(n==null?void 0:n.props),o}return M7(r,null,[{key:"controlType",get:function(){return"amount"}}]),r}(F);j$(U7,"controlFieldType",m.MONEY);function cn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ct(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vc(e){return Vc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vc(e)}function dd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vd(e,t)}function W7(e,t){return t&&(K7(t)==="object"||typeof t=="function")?t:cn(e)}function vd(e,t){return vd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vd(e,t)}function K7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function G7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hd(e){var t=G7();return function(){var n=Vc(e),o;if(t){var i=Vc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return W7(this,o)}}var X7=function(e){dd(r,e);var t=hd(r);function r(n){pd(this,r);var o;return o=t.call(this,n),Ct(cn(o),"totalScore",[{type:"number",required:!0,message:h.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:h.getMessage("theTotalScoreMustNotBeLessThan1")}]),Ct(cn(o),"defaultValue",{type:"number",min:0,max:5,message:h.getMessage("scoreDefaultValueRange")}),o.defaultValue.max=n.totalScore,o.defaultValue.message=h.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:0}),o}return r}(ue),Q7=function(e){dd(r,e);var t=hd(r);function r(n){pd(this,r);var o;o=t.call(this,n),o[0]!==void 0&&(o[0].type="number");var i=n.required?1:0;return o.push({type:"number",min:i,max:n.totalScore,message:h.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:i})}),o}return r}(V),zc=function(e){dd(r,e);var t=hd(r);function r(n){pd(this,r);var o,i;o=t.call(this,n),Ct(cn(o),"totalScore",void 0),Ct(cn(o),"scoreType",void 0),Ct(cn(o),"isShowExplain",void 0),Ct(cn(o),"explain",void 0),Ct(cn(o),"defaultValue",void 0);var u;o.totalScore=(u=n==null?void 0:n.totalScore)!==null&&u!==void 0?u:5;var c;o.scoreType=(c=n==null?void 0:n.scoreType)!==null&&c!==void 0?c:M_.STAR;var l;o.isShowExplain=(l=n==null?void 0:n.isShowExplain)!==null&&l!==void 0?l:!0;var a;o.explain=(a=n==null||(i=n.explain)===null||i===void 0?void 0:i.map(function(p){return new C_(p)}))!==null&&a!==void 0?a:Array(o.totalScore).fill(void 0).map(function(){return new C_});var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:0;var _;return o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:Uc.controlName,o}return r}(D);Ct(zc,"Rules",X7),Ct(zc,"RuntimeRules",Q7);function bd(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function J7(e){if(Array.isArray(e))return bd(e)}function L$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Z7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function M$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Y7(e,t,r){return t&&M$(e.prototype,t),r&&M$(e,r),e}function Hc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?qc=Reflect.get:qc=function(o,i,u){var c=oV(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},qc(e,t,r||e)}function Kn(e){return Kn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kn(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&&gd(e,t)}function tV(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function nV(){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 rV(e,t){return t&&(uV(t)==="object"||typeof t=="function")?t:L$(e)}function gd(e,t){return gd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gd(e,t)}function oV(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Kn(e),e!==null););return e}function iV(e){return J7(e)||tV(e)||cV(e)||nV()}function uV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cV(e,t){if(!!e){if(typeof e=="string")return bd(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return bd(e,t)}}function lV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aV(e){var t=lV();return function(){var n=Kn(e),o;if(t){var i=Kn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rV(this,o)}}var Uc=function(e){eV(r,e);var t=aV(r);function r(n){Z7(this,r);var o;return o=t.call(this,n),Hc(L$(o),"props",void 0),o.props=new zc(n==null?void 0:n.props),o}return Y7(r,[{key:"postUpdate",value:function(o,i){if(o==="totalScore"){if(i===this.props.explain.length)return;if(this.props.explain.length>i)this.props.explain=this.props.explain.slice(0,i);else{var u,c=i-this.props.explain.length,l=Array(c).fill(void 0).map(function(){return new C_});(u=this.props.explain).push.apply(u,iV(l))}}qc(Kn(r.prototype),"postUpdate",this).call(this,o,i)}}],[{key:"controlName",get:function(){return"\u8BC4\u5206"}},{key:"controlIcon",get:function(){return"iconpingfen"}},{key:"controlType",get:function(){return"score"}}]),r}(N);Hc(Uc,"controlEventKeys",["on_change","on_click"]),Hc(Uc,"controlFieldType",m.DECIMAL),Hc(Uc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function C$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function V$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function sV(e,t,r){return t&&V$(e.prototype,t),r&&V$(e,r),e}function z$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wc(e){return Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wc(e)}function _V(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&md(e,t)}function yV(e,t){return t&&(pV(t)==="object"||typeof t=="function")?t:C$(e)}function md(e,t){return md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},md(e,t)}function pV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vV(e){var t=dV();return function(){var n=Wc(e),o;if(t){var i=Wc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yV(this,o)}}var hV=function(e){_V(r,e);var t=vV(r);function r(n){fV(this,r);var o;return o=t.call(this,n),z$(C$(o),"props",void 0),o.props=new zc(n==null?void 0:n.props),o}return sV(r,null,[{key:"controlType",get:function(){return"score"}}]),r}(F);z$(hV,"controlFieldType",m.DECIMAL);function Kc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function H$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xc(e){return Xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xc(e)}function 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&&Od(e,t)}function bV(e,t){return t&&(gV(t)==="object"||typeof t=="function")?t:Kc(e)}function Od(e,t){return Od=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Od(e,t)}function gV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function U$(e){var t=mV();return function(){var n=Xc(e),o;if(t){var i=Xc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bV(this,o)}}var OV=function(e){q$(r,e);var t=U$(r);function r(n){H$(this,r);var o;if(o=t.call(this,n),o[0]!==void 0&&(o[0].type="object"),n.required&&!n.isHide){var i={type:"object",fields:{province:{type:"string",required:n.required,message:h.getMessage("pleaseSelectProvince")}}};n.addressType.includes("city")&&(i.fields.city={type:"string",required:n.required,message:h.getMessage("pleaseSelectCity")}),n.addressType.includes("district")&&(i.fields.district={type:"string",required:n.required,message:h.getMessage("pleaseSelectDistrict")}),o.push(i)}return o}return r}(V),wd=function(e){q$(r,e);var t=U$(r);function r(n){H$(this,r);var o;o=t.call(this,n),Gc(Kc(o),"defaultValueType",void 0),Gc(Kc(o),"defaultValue",void 0),Gc(Kc(o),"addressType",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Rd.controlName;var u;o.defaultValueType=(u=n==null?void 0:n.defaultValueType)!==null&&u!==void 0?u:"default";var c;o.addressType=(c=n==null?void 0:n.addressType)!==null&&c!==void 0?c:["province","city","district"];var l;o.defaultValue=new fx((l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:{});var a;return o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9\u5730\u5740",o}return r}(D);Gc(wd,"RuntimeRules",OV);function W$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function K$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $V(e,t,r){return t&&K$(e.prototype,t),r&&K$(e,r),e}function $d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qc(e){return Qc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qc(e)}function PV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pd(e,t)}function RV(e,t){return t&&(SV(t)==="object"||typeof t=="function")?t:W$(e)}function Pd(e,t){return Pd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pd(e,t)}function SV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function EV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TV(e){var t=EV();return function(){var n=Qc(e),o;if(t){var i=Qc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return RV(this,o)}}var Rd=function(e){PV(r,e);var t=TV(r);function r(n){wV(this,r);var o;return o=t.call(this,n),$d(W$(o),"props",void 0),o.props=new wd(n==null?void 0:n.props),o}return $V(r,null,[{key:"controlName",get:function(){return"\u5730\u5740"}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),r}(N);$d(Rd,"controlFieldType",m.ADDRESS),$d(Rd,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function G$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function X$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function BV(e,t,r){return t&&X$(e.prototype,t),r&&X$(e,r),e}function Q$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jc(e){return Jc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jc(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&&Sd(e,t)}function xV(e,t){return t&&(kV(t)==="object"||typeof t=="function")?t:G$(e)}function Sd(e,t){return Sd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sd(e,t)}function kV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NV(e){var t=DV();return function(){var n=Jc(e),o;if(t){var i=Jc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xV(this,o)}}var FV=function(e){AV(r,e);var t=NV(r);function r(n){IV(this,r);var o;return o=t.call(this,n),Q$(G$(o),"props",void 0),o.props=new wd(n==null?void 0:n.props),o}return BV(r,null,[{key:"controlName",get:function(){return"\u7701\u5E02\u533A"}},{key:"controlIcon",get:function(){return"iconicon_site_management11"}},{key:"controlType",get:function(){return"address"}}]),r}(F);Q$(FV,"controlFieldType",m.ADDRESS);function it(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function J$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ut(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zc(e){return Zc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zc(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&&Ed(e,t)}function jV(e,t){return t&&(LV(t)==="object"||typeof t=="function")?t:it(e)}function Ed(e,t){return Ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ed(e,t)}function LV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Y$(e){var t=MV();return function(){var n=Zc(e),o;if(t){var i=Zc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jV(this,o)}}var CV=function(e){Z$(r,e);var t=Y$(r);function r(n){J$(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(V),Td=function(e){Z$(r,e);var t=Y$(r);function r(n){J$(this,r);var o;o=t.call(this,n),ut(it(o),"showType",void 0),ut(it(o),"range",void 0),ut(it(o),"defaultValueType",void 0),ut(it(o),"multiple",void 0),ut(it(o),"rangeOptions",void 0),ut(it(o),"defaultValue",void 0),ut(it(o),"displayLevel",void 0),ut(it(o),"showSubDept",void 0),ut(it(o),"multistageFilling",void 0),ut(it(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1;var c;o.range=(c=n==null?void 0:n.range)!==null&&c!==void 0?c:"all";var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var p;o.showSubDept=(p=n==null?void 0:n.showSubDept)!==null&&p!==void 0?p:!0;var g;o.caption=(g=n==null?void 0:n.caption)!==null&&g!==void 0?g:tl.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u90E8\u95E8";var b;return o.openMultistageFilling=(b=n==null?void 0:n.openMultistageFilling)!==null&&b!==void 0?b:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(w){var d;(d=o.multistageFilling)===null||d===void 0||d.push(new Te(w))})),o}return r}(D);ut(Td,"RuntimeRules",CV);function eP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zV(e,t,r){return t&&tP(e.prototype,t),r&&tP(e,r),e}function Yc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function el(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?el=Reflect.get:el=function(o,i,u){var c=UV(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},el(e,t,r||e)}function Gn(e){return Gn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gn(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&&Id(e,t)}function qV(e,t){return t&&(WV(t)==="object"||typeof t=="function")?t:eP(e)}function Id(e,t){return Id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Id(e,t)}function UV(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Gn(e),e!==null););return e}function WV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GV(e){var t=KV();return function(){var n=Gn(e),o;if(t){var i=Gn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qV(this,o)}}var tl=function(e){HV(r,e);var t=GV(r);function r(n){VV(this,r);var o;return o=t.call(this,n),Yc(eP(o),"props",void 0),o.props=new Td(n==null?void 0:n.props),o}return zV(r,[{key:"toDataBindModel",value:function(o){var i=el(Gn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,l=u.showSubDept;i.props.displayLevel=c,i.props.showSubDept=l}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),r}(N);Yc(tl,"controlName","\u90E8\u95E8"),Yc(tl,"controlFieldType",m.DEPARTMENTS),Yc(tl,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function nP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function QV(e,t,r){return t&&rP(e.prototype,t),r&&rP(e,r),e}function oP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nl(e){return nl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nl(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&&Bd(e,t)}function ZV(e,t){return t&&(YV(t)==="object"||typeof t=="function")?t:nP(e)}function Bd(e,t){return Bd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bd(e,t)}function YV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function e8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function t8(e){var t=e8();return function(){var n=nl(e),o;if(t){var i=nl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZV(this,o)}}var n8=function(e){JV(r,e);var t=t8(r);function r(n){XV(this,r);var o;return o=t.call(this,n),oP(nP(o),"props",void 0),o.props=new Td(n==null?void 0:n.props),o}return QV(r,null,[{key:"controlType",get:function(){return"department"}}]),r}(F);oP(n8,"controlFieldType",m.DEPARTMENTS);function iP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o8(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rl(e){return rl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rl(e)}function i8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 u8(e,t){return t&&(c8(t)==="object"||typeof t=="function")?t:iP(e)}function Ad(e,t){return Ad=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ad(e,t)}function c8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function l8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function a8(e){var t=l8();return function(){var n=rl(e),o;if(t){var i=rl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return u8(this,o)}}var uP=function(e){i8(r,e);var t=a8(r);function r(n){r8(this,r);var o;o=t.call(this,n),o8(iP(o),"defaultValue",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:"";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:ul.controlName;var c;return o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",o}return r}(D);function cP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s8(e,t,r){return t&&lP(e.prototype,t),r&&lP(e,r),e}function ol(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function il(e){return il=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},il(e)}function _8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xd(e,t)}function y8(e,t){return t&&(p8(t)==="object"||typeof t=="function")?t:cP(e)}function xd(e,t){return xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xd(e,t)}function p8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function d8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function v8(e){var t=d8();return function(){var n=il(e),o;if(t){var i=il(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return y8(this,o)}}var ul=function(e){_8(r,e);var t=v8(r);function r(n){f8(this,r);var o;return o=t.call(this,n),ol(cP(o),"props",void 0),o.props=new uP(n==null?void 0:n.props),o}return s8(r,null,[{key:"controlName",get:function(){return"\u81EA\u52A8\u7F16\u53F7"}},{key:"controlIcon",get:function(){return"iconnumber_new"}},{key:"controlType",get:function(){return"auto-number"}}]),r}(N);ol(ul,"controlEventKeys",["on_change"]),ol(ul,"controlFieldType",m.AUTO_NUMBER),ol(ul,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function aP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function b8(e,t,r){return t&&fP(e.prototype,t),r&&fP(e,r),e}function sP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cl(e){return cl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cl(e)}function g8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kd(e,t)}function m8(e,t){return t&&(O8(t)==="object"||typeof t=="function")?t:aP(e)}function kd(e,t){return kd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kd(e,t)}function O8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function w8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $8(e){var t=w8();return function(){var n=cl(e),o;if(t){var i=cl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return m8(this,o)}}var P8=function(e){g8(r,e);var t=$8(r);function r(n){h8(this,r);var o;return o=t.call(this,n),sP(aP(o),"props",void 0),o.props=new uP(n==null?void 0:n.props),o}return b8(r,null,[{key:"controlType",get:function(){return"auto-number"}}]),r}(F);sP(P8,"controlFieldType",m.AUTO_NUMBER);function bt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ct(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ll(e){return ll=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ll(e)}function Nd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fd(e,t)}function R8(e,t){return t&&(S8(t)==="object"||typeof t=="function")?t:bt(e)}function Fd(e,t){return Fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fd(e,t)}function S8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function E8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jd(e){var t=E8();return function(){var n=ll(e),o;if(t){var i=ll(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return R8(this,o)}}var T8=function(e){Nd(r,e);var t=jd(r);function r(n){Dd(this,r);var o;return o=t.call(this,n),o.dataBind.fields.result.required=!1,o.dataBind.fields.result.fields.fieldCode.required=!1,o.dataBind.fields.result.fields.dataCode.required=!1,o.dataBind.fields.unit.required=!1,o.dataBind.fields.unit.fields.fieldCode.required=!1,o.dataBind.fields.unit.fields.dataCode.required=!1,o}return r}(ue),I8=function(e){Nd(r,e);var t=jd(r);function r(n){Dd(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="object"),o.push({type:"object",message:h.getMessage("isNotObject"),fields:{result:[{type:"number",message:h.getMessage("isNotNumber")}],unit:{type:"string",message:h.getMessage("isNotString")}}}),o}return r}(V),al=function(e){Nd(r,e);var t=jd(r);function r(n){Dd(this,r);var o;o=t.call(this,n),ct(bt(o),"precision",void 0),ct(bt(o),"micrometer",void 0),ct(bt(o),"showUpperCase",void 0),ct(bt(o),"scriptSrc",void 0),ct(bt(o),"scriptEcho",void 0),ct(bt(o),"dataBind",void 0),ct(bt(o),"defaultValue",void 0),ct(bt(o),"unitPosition",void 0),ct(bt(o),"calcOnMounted",void 0);var i;o.precision=(i=n==null?void 0:n.precision)!==null&&i!==void 0?i:0;var u;o.micrometer=(u=n==null?void 0:n.micrometer)!==null&&u!==void 0?u:!1;var c;o.showUpperCase=(c=n==null?void 0:n.showUpperCase)!==null&&c!==void 0?c:!1,o.dataBind=new sx(n==null?void 0:n.dataBind),o.defaultValue=new _x(n==null?void 0:n.defaultValue);var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:_l.controlName;var a;o.unitPosition=(a=n==null?void 0:n.unitPosition)!==null&&a!==void 0?a:"right";var f;o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"\u8BF7\u8F93\u5165";var _;o.scriptEcho=(_=n==null?void 0:n.scriptEcho)!==null&&_!==void 0?_:[];var p;o.scriptSrc=(p=n==null?void 0:n.scriptSrc)!==null&&p!==void 0?p:"";var g;return o.calcOnMounted=(g=n==null?void 0:n.calcOnMounted)!==null&&g!==void 0?g:!1,o}return r}(D);ct(al,"Rules",T8),ct(al,"RuntimeRules",I8);function _P(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function A8(e,t,r){return t&&yP(e.prototype,t),r&&yP(e,r),e}function fl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sl(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?sl=Reflect.get:sl=function(o,i,u){var c=D8(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},sl(e,t,r||e)}function Xn(e){return Xn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xn(e)}function x8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 k8(e,t){return t&&(N8(t)==="object"||typeof t=="function")?t:_P(e)}function Ld(e,t){return Ld=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ld(e,t)}function D8(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Xn(e),e!==null););return e}function N8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function F8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function j8(e){var t=F8();return function(){var n=Xn(e),o;if(t){var i=Xn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return k8(this,o)}}var _l=function(e){x8(r,e);var t=j8(r);function r(n){B8(this,r);var o;return o=t.call(this,n),fl(_P(o),"props",void 0),o.props=new al(n==null?void 0:n.props),o}return A8(r,[{key:"toDataBindModel",value:function(o){var i=sl(Xn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,l=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=l}return i}}],[{key:"controlName",get:function(){return"\u8BA1\u7B97\u516C\u5F0F"}},{key:"controlType",get:function(){return"calc"}},{key:"controlIcon",get:function(){return"iconcalculation_new"}}]),r}(N);fl(_l,"controlEventKeys",["on_change"]),fl(_l,"controlFieldType",m.CALC),fl(_l,"setting",[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"calc-on-mounted",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"unit-position",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function pP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function M8(e,t,r){return t&&dP(e.prototype,t),r&&dP(e,r),e}function vP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yl(e){return yl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yl(e)}function 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&&Md(e,t)}function V8(e,t){return t&&(z8(t)==="object"||typeof t=="function")?t:pP(e)}function Md(e,t){return Md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Md(e,t)}function z8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function H8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function q8(e){var t=H8();return function(){var n=yl(e),o;if(t){var i=yl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return V8(this,o)}}var U8=function(e){C8(r,e);var t=q8(r);function r(n){L8(this,r);var o;return o=t.call(this,n),vP(pP(o),"props",void 0),o.props=new al(n==null?void 0:n.props),o}return M8(r,null,[{key:"controlType",get:function(){return"calc"}}]),r}(F);vP(U8,"controlFieldType",m.CALC);function Qn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pl(e){return pl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pl(e)}function 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&&Cd(e,t)}function W8(e,t){return t&&(K8(t)==="object"||typeof t=="function")?t:Qn(e)}function Cd(e,t){return Cd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cd(e,t)}function K8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function G8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gP(e){var t=G8();return function(){var n=pl(e),o;if(t){var i=pl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return W8(this,o)}}var X8=function(e){bP(r,e);var t=gP(r);function r(n){hP(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o.push({validator:function(u,c){if(n.required){var l=c.every(function(a){return!a});return l?Promise.reject(h.getMessage("runtimeRequired",{caption:n.caption})):Promise.resolve()}else return Promise.resolve()}}),o}return r}(V),Vd=function(e){bP(r,e);var t=gP(r);function r(n){hP(this,r);var o;o=t.call(this,n),Jn(Qn(o),"rangeMin",void 0),Jn(Qn(o),"rangeMax",void 0),Jn(Qn(o),"placeholderStart",void 0),Jn(Qn(o),"placeholderEnd",void 0),Jn(Qn(o),"defaultValue",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:["",""];var u;o.rangeMin=(u=n==null?void 0:n.rangeMin)!==null&&u!==void 0?u:"";var c;o.rangeMax=(c=n==null?void 0:n.rangeMax)!==null&&c!==void 0?c:"";var l;o.placeholderStart=(l=n==null?void 0:n.placeholderStart)!==null&&l!==void 0?l:"\u6700\u5C0F\u503C";var a;o.placeholderEnd=(a=n==null?void 0:n.placeholderEnd)!==null&&a!==void 0?a:"\u6700\u5927\u503C";var f;return o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:qd.controlName,o}return r}(D);Jn(Vd,"RuntimeRules",X8);function mP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Q8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function J8(e,t,r){return t&&OP(e.prototype,t),r&&OP(e,r),e}function zd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dl(e){return dl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dl(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&&Hd(e,t)}function Y8(e,t){return t&&(e9(t)==="object"||typeof t=="function")?t:mP(e)}function Hd(e,t){return Hd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hd(e,t)}function e9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function t9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function n9(e){var t=t9();return function(){var n=dl(e),o;if(t){var i=dl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Y8(this,o)}}var qd=function(e){Z8(r,e);var t=n9(r);function r(n){Q8(this,r);var o;return o=t.call(this,n),zd(mP(o),"props",void 0),o.props=new Vd(n==null?void 0:n.props),o}return J8(r,null,[{key:"controlName",get:function(){return"\u6570\u5B57\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconshuziqujian"}},{key:"controlType",get:function(){return"search-number-range"}}]),r}(N);zd(qd,"controlFieldType",m.DECIMAL_RANGE),zd(qd,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function wP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $P(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o9(e,t,r){return t&&$P(e.prototype,t),r&&$P(e,r),e}function PP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vl(e){return vl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vl(e)}function i9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ud(e,t)}function u9(e,t){return t&&(c9(t)==="object"||typeof t=="function")?t:wP(e)}function Ud(e,t){return Ud=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ud(e,t)}function c9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function l9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function a9(e){var t=l9();return function(){var n=vl(e),o;if(t){var i=vl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return u9(this,o)}}var f9=function(e){i9(r,e);var t=a9(r);function r(n){r9(this,r);var o;return o=t.call(this,n),PP(wP(o),"props",void 0),o.props=new Vd(n==null?void 0:n.props),o}return o9(r,null,[{key:"controlType",get:function(){return"search-number-range"}}]),r}(F);PP(f9,"controlFieldType",m.DECIMAL_RANGE);function lt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function at(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hl(e){return hl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hl(e)}function SP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 s9(e,t){return t&&(_9(t)==="object"||typeof t=="function")?t:lt(e)}function Wd(e,t){return Wd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wd(e,t)}function _9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function y9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EP(e){var t=y9();return function(){var n=hl(e),o;if(t){var i=hl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return s9(this,o)}}var p9=function(e){SP(r,e);var t=EP(r);function r(n){RP(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),n.required&&!n.isHide&&o.push({type:"array",fields:{0:{type:"string",required:n.required,message:o[0].message},1:{type:"string",required:n.required,message:o[0].message}}}),o}return r}(V),Kd=function(e){SP(r,e);var t=EP(r);function r(n){RP(this,r);var o,i;o=t.call(this,n),at(lt(o),"rangeMin",void 0),at(lt(o),"rangeMax",void 0),at(lt(o),"placeholderStart",void 0),at(lt(o),"placeholderEnd",void 0),at(lt(o),"dateType",void 0),at(lt(o),"dateFormat",void 0),at(lt(o),"commonTimeSetting",void 0),at(lt(o),"setValueType",void 0),at(lt(o),"defaultValue",void 0),at(lt(o),"limitDateList",void 0);var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:["",""];var c;o.dateType=(c=n==null?void 0:n.dateType)!==null&&c!==void 0?c:qt.DATE;var l;o.dateFormat=(l=n==null?void 0:n.dateFormat)!==null&&l!==void 0?l:"";var a;o.commonTimeSetting=(a=n==null?void 0:n.commonTimeSetting)!==null&&a!==void 0?a:[];var f;o.setValueType=(f=n==null?void 0:n.setValueType)!==null&&f!==void 0?f:"custom";var _;o.rangeMin=(_=n==null?void 0:n.rangeMin)!==null&&_!==void 0?_:"";var p;o.rangeMax=(p=n==null?void 0:n.rangeMax)!==null&&p!==void 0?p:"";var g;o.placeholderStart=(g=n==null?void 0:n.placeholderStart)!==null&&g!==void 0?g:"\u5F00\u59CB\u65E5\u671F";var O;o.placeholderEnd=(O=n==null?void 0:n.placeholderEnd)!==null&&O!==void 0?O:"\u7ED3\u675F\u65E5\u671F";var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:Qd.controlName;var w;return o.limitDateList=(w=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(d){return new L_(d)}))!==null&&w!==void 0?w:[],o}return r}(D);at(Kd,"RuntimeRules",p9);function TP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function v9(e,t,r){return t&&IP(e.prototype,t),r&&IP(e,r),e}function Gd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bl(e){return bl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bl(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&&Xd(e,t)}function b9(e,t){return t&&(g9(t)==="object"||typeof t=="function")?t:TP(e)}function Xd(e,t){return Xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xd(e,t)}function g9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function m9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function O9(e){var t=m9();return function(){var n=bl(e),o;if(t){var i=bl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return b9(this,o)}}var Qd=function(e){h9(r,e);var t=O9(r);function r(n){d9(this,r);var o;return o=t.call(this,n),Gd(TP(o),"props",void 0),o.props=new Kd(n==null?void 0:n.props),o}return v9(r,null,[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"search-date-range"}}]),r}(N);Gd(Qd,"controlFieldType",m.ARRAY),Gd(Qd,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function BP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $9(e,t,r){return t&&AP(e.prototype,t),r&&AP(e,r),e}function xP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gl(e){return gl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gl(e)}function P9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jd(e,t)}function R9(e,t){return t&&(S9(t)==="object"||typeof t=="function")?t:BP(e)}function Jd(e,t){return Jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jd(e,t)}function S9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function E9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function T9(e){var t=E9();return function(){var n=gl(e),o;if(t){var i=gl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return R9(this,o)}}var I9=function(e){P9(r,e);var t=T9(r);function r(n){w9(this,r);var o;return o=t.call(this,n),xP(BP(o),"props",void 0),o.props=new Kd(n==null?void 0:n.props),o}return $9(r,null,[{key:"controlType",get:function(){return"search-date-range"}}]),r}(F);xP(I9,"controlFieldType",m.ARRAY);function wo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ml(e){return ml=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ml(e)}function Yd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ev(e,t)}function B9(e,t){return t&&(A9(t)==="object"||typeof t=="function")?t:wo(e)}function ev(e,t){return ev=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ev(e,t)}function A9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function x9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tv(e){var t=x9();return function(){var n=ml(e),o;if(t){var i=ml(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return B9(this,o)}}var k9=function(e){Yd(r,e);var t=tv(r);function r(n){Zd(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(ue),D9=function(e){Yd(r,e);var t=tv(r);function r(n){Zd(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="any"),o}return r}(V),Ol=function(e){Yd(r,e);var t=tv(r);function r(n){Zd(this,r);var o;o=t.call(this,n),Zn(wo(o),"controlExportName",void 0),Zn(wo(o),"permissions",void 0),Zn(wo(o),"defaultValue",void 0),Zn(wo(o),"isInlineEdit",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Po.controlName;var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:void 0;var c;o.controlExportName=(c=n==null?void 0:n.controlExportName)!==null&&c!==void 0?c:"";var l;o.permissions=(l=n==null?void 0:n.permissions)!==null&&l!==void 0?l:[];var a;return o.isInlineEdit=(a=n==null?void 0:n.isInlineEdit)!==null&&a!==void 0?a:!1,o}return r}(D);Zn(Ol,"Rules",k9),Zn(Ol,"RuntimeRules",D9);function kP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function F9(e,t,r){return t&&DP(e.prototype,t),r&&DP(e,r),e}function $o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wl(e){return wl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wl(e)}function j9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nv(e,t)}function L9(e,t){return t&&(M9(t)==="object"||typeof t=="function")?t:kP(e)}function nv(e,t){return nv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nv(e,t)}function M9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function C9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function V9(e){var t=C9();return function(){var n=wl(e),o;if(t){var i=wl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return L9(this,o)}}var Po=function(e){j9(r,e);var t=V9(r);function r(n){N9(this,r);var o;return o=t.call(this,n),$o(kP(o),"props",void 0),o.props=new Ol(n==null?void 0:n.props),o}return F9(r,null,[{key:"controlName",get:function(){return"Vue\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return"vue-form-item"}}]),r}(N);$o(Po,"controlFieldType",m.ANY),$o(Po,"controlEventKeys",[]),$o(Po,"slots",["grid-table-toolbar-slot",og.DEFAULT]),$o(Po,"setting",[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_HIDE_CAPTION,s.REQUIRED,s.IS_SHOW_CAPTION_TIP,s.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}]);function NP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function z9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function H9(e,t,r){return t&&FP(e.prototype,t),r&&FP(e,r),e}function jP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $l(e){return $l=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$l(e)}function q9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rv(e,t)}function U9(e,t){return t&&(W9(t)==="object"||typeof t=="function")?t:NP(e)}function rv(e,t){return rv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rv(e,t)}function W9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function K9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function G9(e){var t=K9();return function(){var n=$l(e),o;if(t){var i=$l(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return U9(this,o)}}var X9=function(e){q9(r,e);var t=G9(r);function r(n){z9(this,r);var o;return o=t.call(this,n),jP(NP(o),"props",void 0),o.props=new Ol(n==null?void 0:n.props),o}return H9(r,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),r}(F);jP(X9,"controlFieldType",m.ANY);function pe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function de(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pl(e){return Pl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pl(e)}function MP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ov(e,t)}function Q9(e,t){return t&&(J9(t)==="object"||typeof t=="function")?t:pe(e)}function ov(e,t){return ov=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ov(e,t)}function J9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Z9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CP(e){var t=Z9();return function(){var n=Pl(e),o;if(t){var i=Pl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Q9(this,o)}}var Y9=function(e){MP(r,e);var t=CP(r);function r(n){LP(this,r);var o;return o=t.call(this,n),de(pe(o),"listPageBind",[{type:"object",message:h.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:h.getMessage("isNotString")},{type:"string",required:!0,message:h.getMessage("pleaseEnterList")}]}}]),de(pe(o),"formBind",{type:"object",fields:{formKey:{type:"string",message:h.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return r}(Nn),iv=function(e){MP(r,e);var t=CP(r);function r(n){LP(this,r);var o;o=t.call(this,n),de(pe(o),"options",void 0),de(pe(o),"optionConfig",void 0),de(pe(o),"defaultValue",void 0),de(pe(o),"listPageBind",void 0),de(pe(o),"datasourceBind",void 0),de(pe(o),"multistageFilling",void 0),de(pe(o),"viewFormModelType",void 0),de(pe(o),"canViewForm",void 0),de(pe(o),"formBind",void 0),de(pe(o),"openMultistageFilling",void 0),de(pe(o),"showSelectedDetail",void 0),de(pe(o),"selectedContentConfig",void 0),de(pe(o),"optionConfigItem",void 0),de(pe(o),"canSearch",void 0);var i;o.options=Tt((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[]);var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"datasource",o.listPageBind=new Ns(n==null?void 0:n.listPageBind),o.datasourceBind=new ne(n==null?void 0:n.datasourceBind);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:El.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u9009\u62E9";var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:"";var f;o.openMultistageFilling=(f=n==null?void 0:n.openMultistageFilling)!==null&&f!==void 0?f:!1;var _;o.showSelectedDetail=(_=n==null?void 0:n.showSelectedDetail)!==null&&_!==void 0?_:!1,o.selectedContentConfig=new Ms(n==null?void 0:n.selectedContentConfig),o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(w){var d;(d=o.multistageFilling)===null||d===void 0||d.push(new Te(w))}));var p;o.canViewForm=(p=n==null?void 0:n.canViewForm)!==null&&p!==void 0?p:!1;var g;o.viewFormModelType=(g=n==null?void 0:n.viewFormModelType)!==null&&g!==void 0?g:"window",o.formBind=new kn(n==null?void 0:n.formBind);var O;o.optionConfigItem=(O=n==null?void 0:n.optionConfigItem)!==null&&O!==void 0?O:[];var b;return o.canSearch=(b=n==null?void 0:n.canSearch)!==null&&b!==void 0?b:!1,o}return r}(D);de(iv,"Rules",Y9);function VP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ez(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function tz(e,t,r){return t&&zP(e.prototype,t),r&&zP(e,r),e}function Rl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sl(e){return Sl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sl(e)}function 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&&uv(e,t)}function rz(e,t){return t&&(oz(t)==="object"||typeof t=="function")?t:VP(e)}function uv(e,t){return uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uv(e,t)}function oz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uz(e){var t=iz();return function(){var n=Sl(e),o;if(t){var i=Sl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rz(this,o)}}var El=function(e){nz(r,e);var t=uz(r);function r(n){ez(this,r);var o;return o=t.call(this,n),Rl(VP(o),"props",void 0),o.props=new iv(n==null?void 0:n.props),o}return tz(r,null,[{key:"controlName",get:function(){return"\u5173\u8054\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconguanliandanxuan"}},{key:"controlType",get:function(){return"select-relation"}}]),r}(N);Rl(El,"controlFieldType",m.VARCHAR),Rl(El,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP,s.CAN_SEARCH]},{key:"relation-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"option-config-setting",visible:!0},{key:"super-setting",visible:!0}]),Rl(El,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);function HP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function lz(e,t,r){return t&&qP(e.prototype,t),r&&qP(e,r),e}function UP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tl(e){return Tl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tl(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&&cv(e,t)}function fz(e,t){return t&&(sz(t)==="object"||typeof t=="function")?t:HP(e)}function cv(e,t){return cv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cv(e,t)}function sz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _z(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yz(e){var t=_z();return function(){var n=Tl(e),o;if(t){var i=Tl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fz(this,o)}}var pz=function(e){az(r,e);var t=yz(r);function r(n){cz(this,r);var o;return o=t.call(this,n),UP(HP(o),"props",void 0),o.props=new iv(n==null?void 0:n.props),o}return lz(r,null,[{key:"controlType",get:function(){return"select-relation"}}]),r}(F);UP(pz,"controlFieldType",m.VARCHAR);function dz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Il(e){return Il=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Il(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&&lv(e,t)}function bz(e,t){return t&&(gz(t)==="object"||typeof t=="function")?t:dz(e)}function lv(e,t){return lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lv(e,t)}function gz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Oz(e){var t=mz();return function(){var n=Il(e),o;if(t){var i=Il(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bz(this,o)}}var WP=function(e){hz(r,e);var t=Oz(r);function r(n){return vz(this,r),t.call(this,n)}return r}(go);function KP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $z(e,t,r){return t&&GP(e.prototype,t),r&&GP(e,r),e}function XP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bl(e){return Bl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bl(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&&av(e,t)}function Rz(e,t){return t&&(Sz(t)==="object"||typeof t=="function")?t:KP(e)}function av(e,t){return av=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},av(e,t)}function Sz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ez(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tz(e){var t=Ez();return function(){var n=Bl(e),o;if(t){var i=Bl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Rz(this,o)}}var Iz=function(e){Pz(r,e);var t=Tz(r);function r(n){wz(this,r);var o;return o=t.call(this,n),XP(KP(o),"props",void 0),o.props=new WP(n==null?void 0:n.props),o}return $z(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),r}(mo);XP(Iz,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED]},{key:"super-setting",visible:!0}]);function QP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Az(e,t,r){return t&&JP(e.prototype,t),r&&JP(e,r),e}function ZP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Al(e){return Al=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Al(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&&fv(e,t)}function kz(e,t){return t&&(Dz(t)==="object"||typeof t=="function")?t:QP(e)}function fv(e,t){return fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fv(e,t)}function Dz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fz(e){var t=Nz();return function(){var n=Al(e),o;if(t){var i=Al(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kz(this,o)}}var jz=function(e){xz(r,e);var t=Fz(r);function r(n){Bz(this,r);var o;return o=t.call(this,n),ZP(QP(o),"props",void 0),o.props=new WP(n==null?void 0:n.props),o}return Az(r,null,[{key:"controlType",get:function(){return"search-input"}}]),r}(F);ZP(jz,"controlFieldType",m.VARCHAR);function Q(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xl(e){return xl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xl(e)}function _v(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yv(e,t)}function Lz(e,t){return t&&(Mz(t)==="object"||typeof t=="function")?t:Q(e)}function yv(e,t){return yv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yv(e,t)}function Mz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Cz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pv(e){var t=Cz();return function(){var n=xl(e),o;if(t){var i=xl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lz(this,o)}}var Vz=function(e){_v(r,e);var t=pv(r);function r(n){sv(this,r);var o;return o=t.call(this,n),J(Q(o),"datasourceBind",[{type:"object",message:h.getMessage("isNotObject")}]),Yo.call(Q(o),n,gn.controlCustomAttributes,!0),o.datasourceBind[1].fields&&(o.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:h.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:h.getMessage("rootNodeIsRequired")}}}]),o}return r}(ue),zz=function(e){_v(r,e);var t=pv(r);function r(n){sv(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(V),kl=function(e){_v(r,e);var t=pv(r);function r(n){sv(this,r);var o,i;o=t.call(this,n),J(Q(o),"placeholder",void 0),J(Q(o),"multiple",void 0),J(Q(o),"canSearch",void 0),J(Q(o),"levelType",void 0),J(Q(o),"optionalLevel",void 0),J(Q(o),"containsSubNode",void 0),J(Q(o),"defaultDisplay",void 0),J(Q(o),"isShowIncludeSub",void 0),J(Q(o),"isDefaultCheckSub",void 0),J(Q(o),"isShowFilterItem",void 0),J(Q(o),"defaultCollapse",void 0),J(Q(o),"defaultCollapseLevel",void 0),J(Q(o),"optionConfig","datasource"),J(Q(o),"datasourceBind",void 0),J(Q(o),"filterItemDatasourceBind",void 0),J(Q(o),"multistageFilling",void 0),J(Q(o),"defaultValue",void 0),J(Q(o),"openMultistageFilling",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:gn.controlName;var c;o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:"\u8BF7\u9009\u62E9";var l;o.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1;var a;o.canSearch=(a=n==null?void 0:n.canSearch)!==null&&a!==void 0?a:!0;var f;o.levelType=(f=n==null?void 0:n.levelType)!==null&&f!==void 0?f:"all";var _;o.optionalLevel=(_=n==null?void 0:n.optionalLevel)!==null&&_!==void 0?_:1;var p;o.containsSubNode=(p=n==null?void 0:n.containsSubNode)!==null&&p!==void 0?p:!1;var g;o.isShowFilterItem=(g=n==null?void 0:n.isShowFilterItem)!==null&&g!==void 0?g:!1;var O;o.isShowIncludeSub=(O=n==null?void 0:n.isShowIncludeSub)!==null&&O!==void 0?O:!1;var b;o.isDefaultCheckSub=(b=n==null?void 0:n.isDefaultCheckSub)!==null&&b!==void 0?b:!1;var w;o.defaultCollapse=(w=n==null?void 0:n.defaultCollapse)!==null&&w!==void 0?w:"all";var d;o.defaultCollapseLevel=(d=n==null?void 0:n.defaultCollapseLevel)!==null&&d!==void 0?d:1;var $;o.datasourceBind=new xg(($=n==null?void 0:n.datasourceBind)!==null&&$!==void 0?$:{attributes:gn.controlCustomAttributes});var P;o.filterItemDatasourceBind=new xg((P=n==null?void 0:n.filterItemDatasourceBind)!==null&&P!==void 0?P:{attributes:gn.controlCustomAttributes});var S;o.openMultistageFilling=(S=n==null?void 0:n.openMultistageFilling)!==null&&S!==void 0?S:!1;var E;o.defaultDisplay=(E=n==null?void 0:n.defaultDisplay)!==null&&E!==void 0?E:!1;var C;o.multistageFilling=(C=n==null||(i=n.multistageFilling)===null||i===void 0?void 0:i.map(function(K){return new Te(K)}))!==null&&C!==void 0?C:[];var x;return o.defaultValue=(x=n==null?void 0:n.defaultValue)!==null&&x!==void 0?x:[],o}return r}(D);J(kl,"Rules",Vz),J(kl,"RuntimeRules",zz);function YP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qz(e,t,r){return t&&eR(e.prototype,t),r&&eR(e,r),e}function Dl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nl(e){return Nl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nl(e)}function Uz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dv(e,t)}function Wz(e,t){return t&&(Kz(t)==="object"||typeof t=="function")?t:YP(e)}function dv(e,t){return dv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dv(e,t)}function Kz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Gz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xz(e){var t=Gz();return function(){var n=Nl(e),o;if(t){var i=Nl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Wz(this,o)}}var gn=function(e){Uz(r,e);var t=Xz(r);function r(n){Hz(this,r);var o;return o=t.call(this,n),Dl(YP(o),"props",void 0),o.props=new kl(n==null?void 0:n.props),o}return qz(r,null,[{key:"controlName",get:function(){return"\u6811"}},{key:"controlIcon",get:function(){return"icontree"}},{key:"controlType",get:function(){return"tree"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}]),r}(N);Dl(gn,"controlEventKeys",["on_change","on_click"]),Dl(gn,"controlFieldType",m.ARRAY),Dl(gn,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.CAN_SEARCH,s.DEFAULT_DISPLAY,s.CONTAINS_SUB_NODE,s.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function tR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Jz(e,t,r){return t&&nR(e.prototype,t),r&&nR(e,r),e}function rR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fl(e){return Fl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fl(e)}function Zz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vv(e,t)}function Yz(e,t){return t&&(eH(t)==="object"||typeof t=="function")?t:tR(e)}function vv(e,t){return vv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vv(e,t)}function eH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nH(e){var t=tH();return function(){var n=Fl(e),o;if(t){var i=Fl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Yz(this,o)}}var rH=function(e){Zz(r,e);var t=nH(r);function r(n){Qz(this,r);var o;return o=t.call(this,n),rR(tR(o),"props",void 0),o.props=new kl(n==null?void 0:n.props),o}return Jz(r,null,[{key:"controlType",get:function(){return"tree"}}]),r}(F);rR(rH,"controlFieldType",m.ARRAY);function ve(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function he(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jl(e){return jl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jl(e)}function bv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gv(e,t)}function oH(e,t){return t&&(iH(t)==="object"||typeof t=="function")?t:ve(e)}function gv(e,t){return gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gv(e,t)}function iH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mv(e){var t=uH();return function(){var n=jl(e),o;if(t){var i=jl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oH(this,o)}}var cH=function(e){bv(r,e);var t=mv(r);function r(n){hv(this,r);var o;return o=t.call(this,n),he(ve(o),"datasourceBind",[{type:"object",message:h.getMessage("isNotObject")}]),he(ve(o),"externalScope",{type:"any"}),Yo.call(ve(o),n,Ro.controlCustomAttributes),n.externalType===Zt.ASSIGN&&(o.externalScope={type:"array",required:!0,message:h.getMessage("pleaseAssignExternal")}),o}return r}(ue),lH=function(e){bv(r,e);var t=mv(r);function r(n){hv(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(V),Ll=function(e){bv(r,e);var t=mv(r);function r(n){hv(this,r);var o;o=t.call(this,n),he(ve(o),"showType",void 0),he(ve(o),"range",void 0),he(ve(o),"rangeOptions",void 0),he(ve(o),"multiple",void 0),he(ve(o),"defaultValueType",void 0),he(ve(o),"defaultValue",void 0),he(ve(o),"multistageFilling",void 0),he(ve(o),"datasourceBind",void 0),he(ve(o),"datasourceType",void 0),he(ve(o),"insideType",void 0),he(ve(o),"externalType",void 0),he(ve(o),"externalScope",void 0),he(ve(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var c;o.rangeOptions=(c=n==null?void 0:n.rangeOptions)!==null&&c!==void 0?c:[];var l;o.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1;var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:Ro.controlName;var p;o.placeholder=(p=n==null?void 0:n.placeholder)!==null&&p!==void 0?p:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var g;o.datasourceBind=new Xo((g=n==null?void 0:n.datasourceBind)!==null&&g!==void 0?g:{attributes:Ro.controlCustomAttributes});var O;o.datasourceType=(O=n==null?void 0:n.datasourceType)!==null&&O!==void 0?O:z_.INTERNAL;var b;o.insideType=(b=n==null?void 0:n.insideType)!==null&&b!==void 0?b:H_.ADMIN;var w;o.externalType=(w=n==null?void 0:n.externalType)!==null&&w!==void 0?w:Zt.ALL;var d;o.externalScope=(d=n==null?void 0:n.externalScope)!==null&&d!==void 0?d:[];var $;return o.openMultistageFilling=($=n==null?void 0:n.openMultistageFilling)!==null&&$!==void 0?$:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(P){var S;(S=o.multistageFilling)===null||S===void 0||S.push(new Te(P))})),o}return r}(D);he(Ll,"Rules",cH),he(Ll,"RuntimeRules",lH);function oR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fH(e,t,r){return t&&iR(e.prototype,t),r&&iR(e,r),e}function Ov(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ml(e){return Ml=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ml(e)}function sH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wv(e,t)}function _H(e,t){return t&&(yH(t)==="object"||typeof t=="function")?t:oR(e)}function wv(e,t){return wv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wv(e,t)}function yH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dH(e){var t=pH();return function(){var n=Ml(e),o;if(t){var i=Ml(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _H(this,o)}}var Ro=function(e){sH(r,e);var t=dH(r);function r(n){aH(this,r);var o;return o=t.call(this,n),Ov(oR(o),"props",void 0),o.props=new Ll(n==null?void 0:n.props),o}return fH(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(N);Ov(Ro,"controlFieldType",m.EMPLOYEES),Ov(Ro,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}]);function uR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hH(e,t,r){return t&&cR(e.prototype,t),r&&cR(e,r),e}function lR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cl(e){return Cl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cl(e)}function bH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$v(e,t)}function gH(e,t){return t&&(mH(t)==="object"||typeof t=="function")?t:uR(e)}function $v(e,t){return $v=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$v(e,t)}function mH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wH(e){var t=OH();return function(){var n=Cl(e),o;if(t){var i=Cl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gH(this,o)}}var $H=function(e){bH(r,e);var t=wH(r);function r(n){vH(this,r);var o;return o=t.call(this,n),lR(uR(o),"props",void 0),o.props=new Ll(n==null?void 0:n.props),o}return hH(r,null,[{key:"controlType",get:function(){return"employee2"}}]),r}(F);lR($H,"controlFieldType",m.EMPLOYEES);function gt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vl(e){return Vl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vl(e)}function fR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 PH(e,t){return t&&(RH(t)==="object"||typeof t=="function")?t:gt(e)}function Pv(e,t){return Pv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pv(e,t)}function RH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sR(e){var t=SH();return function(){var n=Vl(e),o;if(t){var i=Vl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PH(this,o)}}var EH=function(e){fR(r,e);var t=sR(r);function r(n){aR(this,r);var o;return o=t.call(this,n),mt(gt(o),"signatureConfig",void 0),o.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fields:n.signatureConfig.undersignedList.reduce(function(i,u,c){return i[c]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator:function(a,f,_){if(u.type==="public"&&Es(f.value)&&f.value.length===0){_("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}_()}},company:{type:"object",required:!0,validator:function(a,f,_){if(u.type==="public"&&u.signatureType.includes("company")&&Es(f.value)&&f.value.length===0){_("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}_()}}}},i},{})}}},o}return r}(ue),Rv=function(e){fR(r,e);var t=sR(r);function r(n){aR(this,r);var o;o=t.call(this,n),mt(gt(o),"buttonType",void 0),mt(gt(o),"content",void 0),mt(gt(o),"showType",void 0),mt(gt(o),"color",void 0),mt(gt(o),"icon",void 0),mt(gt(o),"command",""),mt(gt(o),"isLoading",!1),mt(gt(o),"signatureConfig",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:ql.controlName;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:"\u53D1\u8D77\u7B7E\u7F72";var c;o.buttonType=(c=n==null?void 0:n.buttonType)!==null&&c!==void 0?c:"primary";var l;o.showType=(l=n==null?void 0:n.showType)!==null&&l!==void 0?l:"text";var a;o.color=(a=n==null?void 0:n.color)!==null&&a!==void 0?a:"primary";var f;return o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:"iconfenlei2",o.signatureConfig=new nN(n==null?void 0:n.signatureConfig),o}return r}(D);mt(Rv,"Rules",EH);function _R(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function IH(e,t,r){return t&&yR(e.prototype,t),r&&yR(e,r),e}function zl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hl(e){return Hl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hl(e)}function BH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sv(e,t)}function AH(e,t){return t&&(xH(t)==="object"||typeof t=="function")?t:_R(e)}function Sv(e,t){return Sv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sv(e,t)}function xH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DH(e){var t=kH();return function(){var n=Hl(e),o;if(t){var i=Hl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AH(this,o)}}var ql=function(e){BH(r,e);var t=DH(r);function r(n){TH(this,r);var o;return o=t.call(this,n),zl(_R(o),"props",void 0),o.props=new Rv(n==null?void 0:n.props),o}return IH(r,null,[{key:"controlName",get:function(){return"\u7535\u5B50\u7B7E\u7AE0"}},{key:"controlIcon",get:function(){return"icondianziqianzhang"}},{key:"controlType",get:function(){return"electronic-signature"}}]),r}(N);zl(ql,"controlEventKeys",["on_click","on_click_finish"]),zl(ql,"controlFieldType",m.VARCHAR),zl(ql,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}]);function pR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function FH(e,t,r){return t&&dR(e.prototype,t),r&&dR(e,r),e}function vR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ul(e){return Ul=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ul(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&&Ev(e,t)}function LH(e,t){return t&&(MH(t)==="object"||typeof t=="function")?t:pR(e)}function Ev(e,t){return Ev=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ev(e,t)}function MH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VH(e){var t=CH();return function(){var n=Ul(e),o;if(t){var i=Ul(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return LH(this,o)}}var zH=function(e){jH(r,e);var t=VH(r);function r(n){NH(this,r);var o;return o=t.call(this,n),vR(pR(o),"props",void 0),o.props=new Rv(n==null?void 0:n.props),o}return FH(r,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),r}(F);vR(zH,"controlFieldType",m.VARCHAR);function Oe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function be(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wl(e){return Wl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wl(e)}function Iv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bv(e,t)}function HH(e,t){return t&&(qH(t)==="object"||typeof t=="function")?t:Oe(e)}function Bv(e,t){return Bv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bv(e,t)}function qH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function UH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Av(e){var t=UH();return function(){var n=Wl(e),o;if(t){var i=Wl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return HH(this,o)}}var WH=function(e){Iv(r,e);var t=Av(r);function r(n){Tv(this,r);var o;return o=t.call(this,n),be(Oe(o),"content",{type:"string",required:!0,message:h.getMessage("pleaseEnterButtonContent")}),be(Oe(o),"canAdd",void 0),be(Oe(o),"wpsSetting",{type:"object",fields:{watermark:{type:"object",validator:function(u,c,l){if(c.active&&!c.text){l(h.getMessage("pleaseEnterWatermark"));return}l()}},autoRename:{type:"object",validator:function(u,c,l){if(c.active&&!c.text){l(h.getMessage("pleaseEnterFileName"));return}l()}}}}),o.canAdd={type:"boolean",validator:function(u,c,l){if(n.canAdd&&!n.addLocal&&!n.addOnline){l(h.getMessage("pleaseChooseAtLeastOne"));return}l()}},o}return r}(ue),KH=function(e){Iv(r,e);var t=Av(r);function r(n){Tv(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(V),Kl=function(e){Iv(r,e);var t=Av(r);function r(n){Tv(this,r);var o;o=t.call(this,n),be(Oe(o),"content",void 0),be(Oe(o),"canAdd",void 0),be(Oe(o),"addLocal",void 0),be(Oe(o),"addOnline",void 0),be(Oe(o),"canDownload",void 0),be(Oe(o),"canEdit",void 0),be(Oe(o),"canExport",void 0),be(Oe(o),"canDelete",void 0),be(Oe(o),"wpsSetting",void 0),be(Oe(o),"maxSize",void 0),be(Oe(o),"defaultValue",void 0),be(Oe(o),"revisionsMode",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Ql.controlName;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:"\u65B0\u5EFA\u6587\u6863";var c;o.canAdd=(c=n==null?void 0:n.canAdd)!==null&&c!==void 0?c:!0;var l;o.addLocal=(l=n==null?void 0:n.addLocal)!==null&&l!==void 0?l:!0;var a;o.addOnline=(a=n==null?void 0:n.addOnline)!==null&&a!==void 0?a:!0;var f;o.canEdit=(f=n==null?void 0:n.canEdit)!==null&&f!==void 0?f:!0;var _;o.canDownload=(_=n==null?void 0:n.canDownload)!==null&&_!==void 0?_:!0;var p;o.canExport=(p=n==null?void 0:n.canExport)!==null&&p!==void 0?p:!0;var g;o.canDelete=(g=n==null?void 0:n.canDelete)!==null&&g!==void 0?g:!1;var O;o.maxSize=(O=n==null?void 0:n.maxSize)!==null&&O!==void 0?O:G4;var b;o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:[],o.wpsSetting=new rN(n==null?void 0:n.wpsSetting);var w;return o.revisionsMode=(w=n==null?void 0:n.revisionsMode)!==null&&w!==void 0?w:!1,o}return r}(D);be(Kl,"Rules",WH),be(Kl,"RuntimeRules",KH);function hR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function XH(e,t,r){return t&&bR(e.prototype,t),r&&bR(e,r),e}function Gl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xl(e){return Xl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xl(e)}function QH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xv(e,t)}function JH(e,t){return t&&(ZH(t)==="object"||typeof t=="function")?t:hR(e)}function xv(e,t){return xv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xv(e,t)}function ZH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eq(e){var t=YH();return function(){var n=Xl(e),o;if(t){var i=Xl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JH(this,o)}}var Ql=function(e){QH(r,e);var t=eq(r);function r(n){GH(this,r);var o;return o=t.call(this,n),Gl(hR(o),"props",void 0),o.props=new Kl(n==null?void 0:n.props),o}return XH(r,null,[{key:"controlName",get:function(){return"\u5728\u7EBF\u6587\u6863"}},{key:"controlIcon",get:function(){return"iconwps"}},{key:"controlType",get:function(){return"wps"}}]),r}(N);Gl(Ql,"controlEventKeys",["on_change","on_wps_open"]),Gl(Ql,"controlFieldType",m.FILE),Gl(Ql,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP,s.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}]);function gR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function nq(e,t,r){return t&&mR(e.prototype,t),r&&mR(e,r),e}function OR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jl(e){return Jl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jl(e)}function rq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kv(e,t)}function oq(e,t){return t&&(iq(t)==="object"||typeof t=="function")?t:gR(e)}function kv(e,t){return kv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kv(e,t)}function iq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cq(e){var t=uq();return function(){var n=Jl(e),o;if(t){var i=Jl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oq(this,o)}}var lq=function(e){rq(r,e);var t=cq(r);function r(n){tq(this,r);var o;return o=t.call(this,n),OR(gR(o),"props",void 0),o.props=new Kl(n==null?void 0:n.props),o}return nq(r,null,[{key:"controlType",get:function(){return"wps"}}]),r}(F);OR(lq,"controlFieldType",m.FILE);function oe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ie(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zl(e){return Zl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zl(e)}function Nv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fv(e,t)}function aq(e,t){return t&&(fq(t)==="object"||typeof t=="function")?t:oe(e)}function Fv(e,t){return Fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fv(e,t)}function fq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jv(e){var t=sq();return function(){var n=Zl(e),o;if(t){var i=Zl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aq(this,o)}}var _q=function(e){Nv(r,e);var t=jv(r);function r(n){Dv(this,r);var o;return o=t.call(this,n),ie(oe(o),"datasourceBind",[{type:"object",message:h.getMessage("isNotObject")}]),ie(oe(o),"businessScope",{type:"any"}),Yo.call(oe(o),n,er.controlCustomAttributes),n.businessType===Zt.ASSIGN&&(o.businessScope={type:"array",required:!0,message:h.getMessage("pleaseAssignBusiness")}),o}return r}(ue),yq=function(e){Nv(r,e);var t=jv(r);function r(n){Dv(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(V),Yl=function(e){Nv(r,e);var t=jv(r);function r(n){Dv(this,r);var o;o=t.call(this,n),ie(oe(o),"showType",void 0),ie(oe(o),"range",void 0),ie(oe(o),"defaultValueType",void 0),ie(oe(o),"multiple",void 0),ie(oe(o),"rangeOptions",void 0),ie(oe(o),"defaultValue",void 0),ie(oe(o),"displayLevel",void 0),ie(oe(o),"showSubDept",void 0),ie(oe(o),"multistageFilling",void 0),ie(oe(o),"datasourceBind",void 0),ie(oe(o),"datasourceType",void 0),ie(oe(o),"businessType",void 0),ie(oe(o),"businessScope",void 0),ie(oe(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1;var c;o.range=(c=n==null?void 0:n.range)!==null&&c!==void 0?c:"all";var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var p;o.showSubDept=(p=n==null?void 0:n.showSubDept)!==null&&p!==void 0?p:!0;var g;o.caption=(g=n==null?void 0:n.caption)!==null&&g!==void 0?g:er.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u90E8\u95E8";var b;o.datasourceBind=new Xo((b=n==null?void 0:n.datasourceBind)!==null&&b!==void 0?b:{attributes:er.controlCustomAttributes});var w;o.datasourceType=(w=n==null?void 0:n.datasourceType)!==null&&w!==void 0?w:Bi.INTERNAL;var d;o.businessScope=(d=n==null?void 0:n.businessScope)!==null&&d!==void 0?d:[];var $;o.businessType=($=n==null?void 0:n.businessType)!==null&&$!==void 0?$:Zt.ALL;var P;return o.openMultistageFilling=(P=n==null?void 0:n.openMultistageFilling)!==null&&P!==void 0?P:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(S){var E;(E=o.multistageFilling)===null||E===void 0||E.push(new Te(S))})),o}return r}(D);ie(Yl,"Rules",_q),ie(Yl,"RuntimeRules",yq);function wR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $R(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dq(e,t,r){return t&&$R(e.prototype,t),r&&$R(e,r),e}function ea(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ta(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ta=Reflect.get:ta=function(o,i,u){var c=bq(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},ta(e,t,r||e)}function Yn(e){return Yn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yn(e)}function vq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lv(e,t)}function hq(e,t){return t&&(gq(t)==="object"||typeof t=="function")?t:wR(e)}function Lv(e,t){return Lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lv(e,t)}function bq(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Yn(e),e!==null););return e}function gq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Oq(e){var t=mq();return function(){var n=Yn(e),o;if(t){var i=Yn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hq(this,o)}}var er=function(e){vq(r,e);var t=Oq(r);function r(n){pq(this,r);var o;return o=t.call(this,n),ea(wR(o),"props",void 0),o.props=new Yl(n==null?void 0:n.props),o}return dq(r,[{key:"toDataBindModel",value:function(o){var i=ta(Yn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,l=u.showSubDept;i.props.displayLevel=c,i.props.showSubDept=l}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(N);ea(er,"controlName","\u90E8\u95E8"),ea(er,"controlFieldType",m.DEPARTMENTS),ea(er,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function PR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $q(e,t,r){return t&&RR(e.prototype,t),r&&RR(e,r),e}function SR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function na(e){return na=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},na(e)}function Pq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mv(e,t)}function Rq(e,t){return t&&(Sq(t)==="object"||typeof t=="function")?t:PR(e)}function Mv(e,t){return Mv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mv(e,t)}function Sq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Eq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tq(e){var t=Eq();return function(){var n=na(e),o;if(t){var i=na(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Rq(this,o)}}var Iq=function(e){Pq(r,e);var t=Tq(r);function r(n){wq(this,r);var o;return o=t.call(this,n),SR(PR(o),"props",void 0),o.props=new Yl(n==null?void 0:n.props),o}return $q(r,null,[{key:"controlType",get:function(){return"department2"}}]),r}(F);SR(Iq,"controlFieldType",m.DEPARTMENTS);function U(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function W(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ra(e){return ra=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ra(e)}function Vv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zv(e,t)}function Bq(e,t){return t&&(Aq(t)==="object"||typeof t=="function")?t:U(e)}function zv(e,t){return zv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zv(e,t)}function Aq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hv(e){var t=xq();return function(){var n=ra(e),o;if(t){var i=ra(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Bq(this,o)}}var kq=function(e){Vv(r,e);var t=Hv(r);function r(n){Cv(this,r);var o;return o=t.call(this,n),W(U(o),"datasourceBind",[{type:"object",message:h.getMessage("isNotObject")}]),W(U(o),"businessScope",{type:"any"}),Yo.call(U(o),n,nr.controlCustomAttributes),n.businessType===Zt.ASSIGN&&(o.businessScope={type:"array",required:!0,message:h.getMessage("pleaseAssignBusiness")}),o}return r}(ue),Dq=function(e){Vv(r,e);var t=Hv(r);function r(n){Cv(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(V),oa=function(e){Vv(r,e);var t=Hv(r);function r(n){Cv(this,r);var o;o=t.call(this,n),W(U(o),"showType",void 0),W(U(o),"range",void 0),W(U(o),"defaultValueType",void 0),W(U(o),"multiple",void 0),W(U(o),"rangeOptions",void 0),W(U(o),"defaultValue",void 0),W(U(o),"displayLevel",void 0),W(U(o),"showSubDept",void 0),W(U(o),"multistageFilling",void 0),W(U(o),"datasourceBind",void 0),W(U(o),"listPageBind",void 0),W(U(o),"datasourceType",void 0),W(U(o),"businessType",void 0),W(U(o),"businessScope",void 0),W(U(o),"organizingFunction",void 0),W(U(o),"organizationView",void 0),W(U(o),"openMultistageFilling",void 0),W(U(o),"showSelectedDetail",void 0),W(U(o),"selectedContentConfig",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1;var c;o.range=(c=n==null?void 0:n.range)!==null&&c!==void 0?c:"all",o.listPageBind=new Ns(n==null?void 0:n.listPageBind);var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var p;o.showSubDept=(p=n==null?void 0:n.showSubDept)!==null&&p!==void 0?p:!0;var g;o.caption=(g=n==null?void 0:n.caption)!==null&&g!==void 0?g:nr.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u7EC4\u7EC7";var b;o.datasourceBind=new ox((b=n==null?void 0:n.datasourceBind)!==null&&b!==void 0?b:{attributes:nr.controlCustomAttributes});var w;o.datasourceType=(w=n==null?void 0:n.datasourceType)!==null&&w!==void 0?w:Bi.INTERNAL;var d;o.businessScope=(d=n==null?void 0:n.businessScope)!==null&&d!==void 0?d:[];var $;o.businessType=($=n==null?void 0:n.businessType)!==null&&$!==void 0?$:Zt.ALL;var P;o.organizingFunction=(P=n==null?void 0:n.organizingFunction)!==null&&P!==void 0?P:void 0;var S;o.organizationView=(S=n==null?void 0:n.organizationView)!==null&&S!==void 0?S:void 0;var E;o.showSelectedDetail=(E=n==null?void 0:n.showSelectedDetail)!==null&&E!==void 0?E:!1,o.selectedContentConfig=new Ms(n==null?void 0:n.selectedContentConfig);var C;return o.openMultistageFilling=(C=n==null?void 0:n.openMultistageFilling)!==null&&C!==void 0?C:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(x){var K;(K=o.multistageFilling)===null||K===void 0||K.push(new Te(x))})),o}return r}(D);W(oa,"Rules",kq),W(oa,"RuntimeRules",Dq);function ER(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Fq(e,t,r){return t&&TR(e.prototype,t),r&&TR(e,r),e}function ia(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ua(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ua=Reflect.get:ua=function(o,i,u){var c=Mq(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},ua(e,t,r||e)}function tr(e){return tr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tr(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&&qv(e,t)}function Lq(e,t){return t&&(Cq(t)==="object"||typeof t=="function")?t:ER(e)}function qv(e,t){return qv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qv(e,t)}function Mq(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=tr(e),e!==null););return e}function Cq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zq(e){var t=Vq();return function(){var n=tr(e),o;if(t){var i=tr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lq(this,o)}}var nr=function(e){jq(r,e);var t=zq(r);function r(n){Nq(this,r);var o;return o=t.call(this,n),ia(ER(o),"props",void 0),o.props=new oa(n==null?void 0:n.props),o}return Fq(r,[{key:"toDataBindModel",value:function(o){var i=ua(tr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,l=u.showSubDept;i.props.displayLevel=c,i.props.showSubDept=l}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"organization-selection"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(N);ia(nr,"controlName","\u4E1A\u52A1\u7EC4\u7EC7"),ia(nr,"controlFieldType",m.DEPARTMENTS),ia(nr,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function IR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qq(e,t,r){return t&&BR(e.prototype,t),r&&BR(e,r),e}function AR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ca(e){return ca=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ca(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&&Uv(e,t)}function Wq(e,t){return t&&(Kq(t)==="object"||typeof t=="function")?t:IR(e)}function Uv(e,t){return Uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uv(e,t)}function Kq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Gq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xq(e){var t=Gq();return function(){var n=ca(e),o;if(t){var i=ca(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Wq(this,o)}}var Qq=function(e){Uq(r,e);var t=Xq(r);function r(n){Hq(this,r);var o;return o=t.call(this,n),AR(IR(o),"props",void 0),o.props=new oa(n==null?void 0:n.props),o}return qq(r,null,[{key:"controlType",get:function(){return"organization-selection"}}]),r}(F);AR(Qq,"controlFieldType",m.DEPARTMENTS);function So(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function la(e){return la=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},la(e)}function Kv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gv(e,t)}function Jq(e,t){return t&&(Zq(t)==="object"||typeof t=="function")?t:So(e)}function Gv(e,t){return Gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gv(e,t)}function Zq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xv(e){var t=Yq();return function(){var n=la(e),o;if(t){var i=la(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Jq(this,o)}}var eU=function(e){Kv(r,e);var t=Xv(r);function r(n){Wv(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(ue),tU=function(e){Kv(r,e);var t=Xv(r);function r(n){Wv(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="any"),o}return r}(V),aa=function(e){Kv(r,e);var t=Xv(r);function r(n){Wv(this,r);var o;o=t.call(this,n),rr(So(o),"controlExportName",void 0),rr(So(o),"permissions",void 0),rr(So(o),"defaultValue",void 0),rr(So(o),"isInlineEdit",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:_a.controlName;var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:void 0;var c;o.controlExportName=(c=n==null?void 0:n.controlExportName)!==null&&c!==void 0?c:"";var l;o.permissions=(l=n==null?void 0:n.permissions)!==null&&l!==void 0?l:[];var a;return o.isInlineEdit=(a=n==null?void 0:n.isInlineEdit)!==null&&a!==void 0?a:!1,o}return r}(D);rr(aa,"Rules",eU),rr(aa,"RuntimeRules",tU);function xR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rU(e,t,r){return t&&kR(e.prototype,t),r&&kR(e,r),e}function fa(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sa(e){return sa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sa(e)}function 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&&Qv(e,t)}function iU(e,t){return t&&(uU(t)==="object"||typeof t=="function")?t:xR(e)}function Qv(e,t){return Qv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qv(e,t)}function uU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lU(e){var t=cU();return function(){var n=sa(e),o;if(t){var i=sa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iU(this,o)}}var _a=function(e){oU(r,e);var t=lU(r);function r(n){nU(this,r);var o;return o=t.call(this,n),fa(xR(o),"props",void 0),o.props=new aa(n==null?void 0:n.props),o}return rU(r,null,[{key:"controlName",get:function(){return"Vue\u9875\u9762"}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return y.VUE_PAGE}}]),r}(N);fa(_a,"controlFieldType",m.ANY),fa(_a,"controlEventKeys",[]),fa(_a,"setting",[]);function DR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fU(e,t,r){return t&&NR(e.prototype,t),r&&NR(e,r),e}function FR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ya(e){return ya=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ya(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&&Jv(e,t)}function _U(e,t){return t&&(yU(t)==="object"||typeof t=="function")?t:DR(e)}function Jv(e,t){return Jv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jv(e,t)}function yU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dU(e){var t=pU();return function(){var n=ya(e),o;if(t){var i=ya(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _U(this,o)}}var vU=function(e){sU(r,e);var t=dU(r);function r(n){aU(this,r);var o;return o=t.call(this,n),FR(DR(o),"props",void 0),o.props=new aa(n==null?void 0:n.props),o}return fU(r,null,[{key:"controlType",get:function(){return y.VUE_PAGE}}]),r}(F);FR(vU,"controlFieldType",m.ANY);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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gU(e,t,r){return t&&jR(e.prototype,t),r&&jR(e,r),e}function mU(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pa(e){return pa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pa(e)}function 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&&Zv(e,t)}function wU(e,t){return t&&($U(t)==="object"||typeof t=="function")?t:hU(e)}function Zv(e,t){return Zv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zv(e,t)}function $U(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RU(e){var t=PU();return function(){var n=pa(e),o;if(t){var i=pa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wU(this,o)}}var SU=function(e){OU(r,e);var t=RU(r);function r(n){return bU(this,r),t.call(this,n)}return gU(r,null,[{key:"controlName",get:function(){return"\u753B\u5E03"}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),r}(le);mU(SU,"excludes",[y.GRID]);function Yv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function da(e){return da=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},da(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&&eh(e,t)}function IU(e,t){return t&&(BU(t)==="object"||typeof t=="function")?t:Yv(e)}function eh(e,t){return eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eh(e,t)}function BU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xU(e){var t=AU();return function(){var n=da(e),o;if(t){var i=da(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return IU(this,o)}}var kU=24,Eo=function(e){TU(r,e);var t=xU(r);function r(n){EU(this,r);var o;o=t.call(this,n),LR(Yv(o),"span",void 0),LR(Yv(o),"offset",void 0);var i;o.span=(i=n==null?void 0:n.span)!==null&&i!==void 0?i:kU;var u;return o.offset=(u=n==null?void 0:n.offset)!==null&&u!==void 0?u:0,o}return r}(ce);function MR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function NU(e,t,r){return t&&CR(e.prototype,t),r&&CR(e,r),e}function th(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function va(e){return va=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},va(e)}function FU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nh(e,t)}function jU(e,t){return t&&(LU(t)==="object"||typeof t=="function")?t:MR(e)}function nh(e,t){return nh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nh(e,t)}function LU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CU(e){var t=MU();return function(){var n=va(e),o;if(t){var i=va(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jU(this,o)}}var To=function(e){FU(r,e);var t=CU(r);function r(n){DU(this,r);var o;return o=t.call(this,n),th(MR(o),"props",void 0),o.props=new Eo(n==null?void 0:n.props),o}return NU(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(le);th(To,"excludes",[y.COL,y.SUBTABLE,y.SUBTABLE_COLUMN,y.GRID_LAYOUT_CONTAINER,y.DIVIDER]),th(To,"childrenMaxLength",1);function VR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zU(e,t,r){return t&&zR(e.prototype,t),r&&zR(e,r),e}function HU(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ha(e){return ha=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ha(e)}function qU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 UU(e,t){return t&&(WU(t)==="object"||typeof t=="function")?t:VR(e)}function rh(e,t){return rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rh(e,t)}function WU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GU(e){var t=KU();return function(){var n=ha(e),o;if(t){var i=ha(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return UU(this,o)}}var XU=function(e){qU(r,e);var t=GU(r);function r(n){VU(this,r);var o;return o=t.call(this,n),HU(VR(o),"props",void 0),o.props=new Eo(n==null?void 0:n.props),o}return zU(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(vn),HR={Designer:To,Runtime:XU,Property:Eo};function oh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ba(e){return ba=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ba(e)}function JU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ZU(e,t){return t&&(YU(t)==="object"||typeof t=="function")?t:oh(e)}function ih(e,t){return ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ih(e,t)}function YU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tW(e){var t=eW();return function(){var n=ba(e),o;if(t){var i=ba(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZU(this,o)}}var uh=function(e){JU(r,e);var t=tW(r);function r(n){QU(this,r);var o;o=t.call(this,n),qR(oh(o),"layoutMode",void 0),qR(oh(o),"gutter",void 0);var i;o.layoutMode=(i=n==null?void 0:n.layoutMode)!==null&&i!==void 0?i:"select";var u;return o.gutter=(u=n==null?void 0:n.gutter)!==null&&u!==void 0?u:0,o}return r}(ce);function UR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rW(e,t,r){return t&&WR(e.prototype,t),r&&WR(e,r),e}function ch(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ga(e){return ga=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ga(e)}function 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&&lh(e,t)}function iW(e,t){return t&&(uW(t)==="object"||typeof t=="function")?t:UR(e)}function lh(e,t){return lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lh(e,t)}function uW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lW(e){var t=cW();return function(){var n=ga(e),o;if(t){var i=ga(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iW(this,o)}}var ah=function(e){oW(r,e);var t=lW(r);function r(n){nW(this,r);var o;return o=t.call(this,n),ch(UR(o),"props",void 0),o.props=new uh(n==null?void 0:n.props),o}return rW(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(le);ch(ah,"excludes",[y.ROW]),ch(ah,"setting",[{key:"col-setting",visible:!0}]);function KR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fW(e,t,r){return t&&GR(e.prototype,t),r&&GR(e,r),e}function sW(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ma(e){return ma=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ma(e)}function _W(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fh(e,t)}function yW(e,t){return t&&(pW(t)==="object"||typeof t=="function")?t:KR(e)}function fh(e,t){return fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fh(e,t)}function pW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vW(e){var t=dW();return function(){var n=ma(e),o;if(t){var i=ma(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yW(this,o)}}var hW=function(e){_W(r,e);var t=vW(r);function r(n){aW(this,r);var o;return o=t.call(this,n),sW(KR(o),"props",void 0),o.props=new uh(n==null?void 0:n.props),o}return fW(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(vn);function bW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mW(e,t,r){return t&&XR(e.prototype,t),r&&XR(e,r),e}function sh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Oa(e){return Oa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oa(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&&_h(e,t)}function wW(e,t){return t&&($W(t)==="object"||typeof t=="function")?t:bW(e)}function _h(e,t){return _h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_h(e,t)}function $W(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RW(e){var t=PW();return function(){var n=Oa(e),o;if(t){var i=Oa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wW(this,o)}}var SW=4,wa=function(e){OW(r,e);var t=RW(r);function r(n){return gW(this,r),t.call(this,n)}return mW(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u7B49\u5206\u884C"}},{key:"controlType",get:function(){return"grid-row"}},{key:"controlIcon",get:function(){return"grid-row"}}]),r}(ah);sh(wa,"excludes",[y.GRID_ROW]),sh(wa,"setting",[]),sh(wa,"childrenMaxLength",SW);function EW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function IW(e,t,r){return t&&QR(e.prototype,t),r&&QR(e,r),e}function $a(e){return $a=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$a(e)}function BW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yh(e,t)}function AW(e,t){return t&&(xW(t)==="object"||typeof t=="function")?t:EW(e)}function yh(e,t){return yh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yh(e,t)}function xW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DW(e){var t=kW();return function(){var n=$a(e),o;if(t){var i=$a(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AW(this,o)}}var NW=function(e){BW(r,e);var t=DW(r);function r(n){return TW(this,r),t.call(this,n)}return IW(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(hW);function FW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pa(e){return Pa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pa(e)}function LW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 MW(e,t){return t&&(CW(t)==="object"||typeof t=="function")?t:FW(e)}function ph(e,t){return ph=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ph(e,t)}function CW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zW(e){var t=VW();return function(){var n=Pa(e),o;if(t){var i=Pa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return MW(this,o)}}var HW=function(e){LW(r,e);var t=zW(r);function r(n){return jW(this,r),t.call(this,n)}return r}(uh),qW={Designer:wa,Runtime:NW,Property:HW};function Io(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ra(e){return Ra=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ra(e)}function ZR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 UW(e,t){return t&&(WW(t)==="object"||typeof t=="function")?t:Io(e)}function dh(e,t){return dh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dh(e,t)}function WW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YR(e){var t=KW();return function(){var n=Ra(e),o;if(t){var i=Ra(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return UW(this,o)}}var GW=function(e){ZR(r,e);var t=YR(r);function r(){JR(this,r);var n;return n=t.apply(this,arguments),Bo(Io(n),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),n}return r}(ce.Rules),eS=function(e){ZR(r,e);var t=YR(r);function r(n){JR(this,r);var o;o=t.call(this,n),Bo(Io(o),"caption",void 0),Bo(Io(o),"isHideCaption",void 0),Bo(Io(o),"collapse",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"\u5206\u7EC4";var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var c;return o.collapse=(c=n==null?void 0:n.collapse)!==null&&c!==void 0?c:"none",o}return r}(ce);Bo(eS,"Rules",GW);function tS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function QW(e,t,r){return t&&nS(e.prototype,t),r&&nS(e,r),e}function vh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sa(e){return Sa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sa(e)}function 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&&hh(e,t)}function ZW(e,t){return t&&(YW(t)==="object"||typeof t=="function")?t:tS(e)}function hh(e,t){return hh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hh(e,t)}function YW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tK(e){var t=eK();return function(){var n=Sa(e),o;if(t){var i=Sa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZW(this,o)}}var rS=function(e){JW(r,e);var t=tK(r);function r(n){XW(this,r);var o;return o=t.call(this,n),vh(tS(o),"props",void 0),o.props=new eS(n==null?void 0:n.props),o}return QW(r,null,[{key:"controlName",get:function(){return"\u5206\u7EC4"}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),r}(le);vh(rS,"setting",[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}]),vh(rS,"excludes",[y.CARD_GROUP]);function Ot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ea(e){return Ea=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ea(e)}function iS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bh(e,t)}function nK(e,t){return t&&(rK(t)==="object"||typeof t=="function")?t:Ot(e)}function bh(e,t){return bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bh(e,t)}function rK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uS(e){var t=oK();return function(){var n=Ea(e),o;if(t){var i=Ea(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nK(this,o)}}var iK=function(e){iS(r,e);var t=uS(r);function r(n){oS(this,r);var o;return o=t.call(this,n),wt(Ot(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),wt(Ot(o),"width",{type:"number",required:!1,message:h.getMessage("pleaseEnterColumnWidth")}),wt(Ot(o),"captionTip",{type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Y),Ta=function(e){iS(r,e);var t=uS(r);function r(n){oS(this,r);var o;o=t.call(this,n),wt(Ot(o),"metaAutoWidth",void 0),wt(Ot(o),"caption",void 0),wt(Ot(o),"fixed",void 0),wt(Ot(o),"isShowCaptionTip",void 0),wt(Ot(o),"captionTip",void 0),wt(Ot(o),"isHideCaption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:!1;var c;o.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var a;return o.isHideCaption=(a=n==null?void 0:n.isHideCaption)!==null&&a!==void 0?a:!1,o.metaAutoWidth=new Ig(n==null?void 0:n.metaAutoWidth),o}return r}(ce);wt(Ta,"Rules",iK);function cS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ia(e){return Ia=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ia(e)}function cK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gh(e,t)}function lK(e,t){return t&&(aK(t)==="object"||typeof t=="function")?t:cS(e)}function gh(e,t){return gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gh(e,t)}function aK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sK(e){var t=fK();return function(){var n=Ia(e),o;if(t){var i=Ia(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lK(this,o)}}var ft=function(e){cK(r,e);var t=sK(r);function r(n){uK(this,r);var o;return o=t.call(this,n),mn(cS(o),"props",void 0),o.props=new Ta(n==null?void 0:n.props),o}return r}(le);mn(ft,"controlName","\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),mn(ft,"controlType","subtable-column"),mn(ft,"controlIcon","subtable-column"),mn(ft,"childrenMaxLength",1),mn(ft,"excludes",[y.SUBTABLE,y.SUBTABLE_COLUMN,y.ROW,y.COL,y.CARD_GROUP,y.DIVIDER,y.TEXT]),mn(ft,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",showItems:[s.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}]);function lS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _K(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ba(e){return Ba=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ba(e)}function 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&&mh(e,t)}function pK(e,t){return t&&(dK(t)==="object"||typeof t=="function")?t:lS(e)}function mh(e,t){return mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mh(e,t)}function dK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hK(e){var t=vK();return function(){var n=Ba(e),o;if(t){var i=Ba(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pK(this,o)}}var fS=function(e){yK(r,e);var t=hK(r);function r(n){_K(this,r);var o;return o=t.call(this,n),aS(lS(o),"props",void 0),o.props=new Ta(n==null?void 0:n.props),o}return r}(vn);aS(fS,"controlType","subtable-column");var bK={Designer:ft,Runtime:fS,Property:Ta};function gK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Aa(e){return Aa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Aa(e)}function OK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Oh(e,t)}function wK(e,t){return t&&($K(t)==="object"||typeof t=="function")?t:gK(e)}function Oh(e,t){return Oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Oh(e,t)}function $K(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RK(e){var t=PK();return function(){var n=Aa(e),o;if(t){var i=Aa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wK(this,o)}}var SK=function(e){OK(r,e);var t=RK(r);function r(n){return mK(this,r),t.call(this,n)}return r}(ce);function sS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function On(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xa(e){return xa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xa(e)}function TK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wh(e,t)}function IK(e,t){return t&&(BK(t)==="object"||typeof t=="function")?t:sS(e)}function wh(e,t){return wh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wh(e,t)}function BK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xK(e){var t=AK();return function(){var n=xa(e),o;if(t){var i=xa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return IK(this,o)}}var or=function(e){TK(r,e);var t=xK(r);function r(n){EK(this,r);var o;return o=t.call(this,n),On(sS(o),"props",void 0),o.props=new SK(n==null?void 0:n.props),o}return r}(le);On(or,"controlName","\u660E\u7EC6\u5B50\u8868\u884C"),On(or,"controlType","subtable-row"),On(or,"controlIcon","subtable-row"),On(or,"childrenMaxLength",1),On(or,"excludes",[y.SUBTABLE,y.SUBTABLE_COLUMN,y.SUBTABLE_ROW,y.ROW,y.COL,y.CARD_GROUP,y.DIVIDER,y.TEXT]),On(or,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0}]);function Ve(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ka(e){return ka=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ka(e)}function DK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$h(e,t)}function NK(e,t){return t&&(FK(t)==="object"||typeof t=="function")?t:Ve(e)}function $h(e,t){return $h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$h(e,t)}function FK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LK(e){var t=jK();return function(){var n=ka(e),o;if(t){var i=ka(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return NK(this,o)}}var _S=function(e){DK(r,e);var t=LK(r);function r(n){kK(this,r);var o;o=t.call(this,n),Qe(Ve(o),"widthType",void 0),Qe(Ve(o),"width",void 0),Qe(Ve(o),"caption",void 0),Qe(Ve(o),"fieldCode",void 0),Qe(Ve(o),"fieldType",void 0),Qe(Ve(o),"fieldName",void 0),Qe(Ve(o),"datasourceBind",void 0),Qe(Ve(o),"fixed",void 0),Qe(Ve(o),"textCleanFormart",void 0),Qe(Ve(o),"decimalKeepPrecision",void 0),Qe(Ve(o),"timestampDateType",void 0),Qe(Ve(o),"departmentDisplayLevel",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:200,o.widthType=(n==null?void 0:n.widthType)||"auto";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var c;o.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:!1;var l;o.fieldCode=(l=n==null?void 0:n.fieldCode)!==null&&l!==void 0?l:"";var a;o.fieldType=(a=n==null?void 0:n.fieldType)!==null&&a!==void 0?a:m.VARCHAR;var f;o.fieldName=(f=n==null?void 0:n.fieldName)!==null&&f!==void 0?f:"",o.datasourceBind=new ne(n==null?void 0:n.datasourceBind);var _;o.textCleanFormart=(_=n==null?void 0:n.textCleanFormart)!==null&&_!==void 0?_:!1;var p;o.decimalKeepPrecision=(p=n==null?void 0:n.decimalKeepPrecision)!==null&&p!==void 0?p:0;var g;o.timestampDateType=(g=n==null?void 0:n.timestampDateType)!==null&&g!==void 0?g:qt.DATE;var O;return o.departmentDisplayLevel=(O=n==null?void 0:n.departmentDisplayLevel)!==null&&O!==void 0?O:1,o}return r}(ce);function yS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Da(e){return Da=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Da(e)}function CK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ph(e,t)}function VK(e,t){return t&&(zK(t)==="object"||typeof t=="function")?t:yS(e)}function Ph(e,t){return Ph=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ph(e,t)}function zK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qK(e){var t=HK();return function(){var n=Da(e),o;if(t){var i=Da(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VK(this,o)}}var ir=function(e){CK(r,e);var t=qK(r);function r(n){MK(this,r);var o;return o=t.call(this,n),wn(yS(o),"props",void 0),o.props=new _S(n==null?void 0:n.props),o}return r}(le);wn(ir,"controlName","\u5217\u8868\u5355\u5143\u683C"),wn(ir,"controlType","gridtable-column"),wn(ir,"controlIcon","gridtable-column"),wn(ir,"childrenMaxLength",1),wn(ir,"excludes",[y.GRID_TABLE,y.GRID_TABLE_COLUMN,y.ROW,y.COL,y.CARD_GROUP,y.DIVIDER,y.TEXT]),wn(ir,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}]);function pS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Na(e){return Na=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Na(e)}function WK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rh(e,t)}function KK(e,t){return t&&(GK(t)==="object"||typeof t=="function")?t:pS(e)}function Rh(e,t){return Rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rh(e,t)}function GK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QK(e){var t=XK();return function(){var n=Na(e),o;if(t){var i=Na(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KK(this,o)}}var JK=function(e){WK(r,e);var t=QK(r);function r(n){UK(this,r);var o;return o=t.call(this,n),dS(pS(o),"props",void 0),o.props=new _S(n==null?void 0:n.props),o}return r}(vn);dS(JK,"controlType","gridtable-column");function Sh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fa(e){return Fa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fa(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&&Eh(e,t)}function eG(e,t){return t&&(tG(t)==="object"||typeof t=="function")?t:Sh(e)}function Eh(e,t){return Eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eh(e,t)}function tG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rG(e){var t=nG();return function(){var n=Fa(e),o;if(t){var i=Fa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eG(this,o)}}var oG=function(e){YK(r,e);var t=rG(r);function r(n){ZK(this,r);var o;o=t.call(this,n),vS(Sh(o),"childMinWidth",void 0),vS(Sh(o),"colGap",void 0);var i;o.childMinWidth=(i=n==null?void 0:n.childMinWidth)!==null&&i!==void 0?i:230;var u;return o.colGap=(u=n==null?void 0:n.colGap)!==null&&u!==void 0?u:24,o}return r}(ce);function hS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uG(e,t,r){return t&&bS(e.prototype,t),r&&bS(e,r),e}function Th(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ja(e){return ja=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ja(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&&Ih(e,t)}function lG(e,t){return t&&(aG(t)==="object"||typeof t=="function")?t:hS(e)}function Ih(e,t){return Ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ih(e,t)}function aG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sG(e){var t=fG();return function(){var n=ja(e),o;if(t){var i=ja(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lG(this,o)}}var gS=function(e){cG(r,e);var t=sG(r);function r(n){iG(this,r);var o;return o=t.call(this,n),Th(hS(o),"props",void 0),o.props=new oG(n==null?void 0:n.props),o}return uG(r,null,[{key:"controlName",get:function(){return"\u6362\u884C\u5BB9\u5668"}},{key:"controlType",get:function(){return"grid-layout-container"}},{key:"controlIcon",get:function(){return"icona-huanhangrongqi1"}}]),r}(le);Th(gS,"excludes",[y.GRID_LAYOUT_CONTAINER,y.CARD_GROUP,y.TAB]),Th(gS,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}]);function mS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _G(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yG(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function La(e){return La=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},La(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&&Bh(e,t)}function dG(e,t){return t&&(vG(t)==="object"||typeof t=="function")?t:mS(e)}function Bh(e,t){return Bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bh(e,t)}function vG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bG(e){var t=hG();return function(){var n=La(e),o;if(t){var i=La(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dG(this,o)}}var gG=function(e){pG(r,e);var t=bG(r);function r(n){_G(this,r);var o;o=t.call(this,n),yG(mS(o),"mobileShowType",void 0);var i;return o.mobileShowType=(i=n==null?void 0:n.mobileShowType)!==null&&i!==void 0?i:"vertical",o}return r}(ce);function Ah(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ma(e){return Ma=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ma(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&&kh(e,t)}function mG(e,t){return t&&(OG(t)==="object"||typeof t=="function")?t:Ah(e)}function kh(e,t){return kh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kh(e,t)}function OG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $S(e){var t=wG();return function(){var n=Ma(e),o;if(t){var i=Ma(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mG(this,o)}}var $G=function(e){wS(r,e);var t=$S(r);function r(n){OS(this,r);var o;return o=t.call(this,n),xh(Ah(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),o}return r}(Y),PS=function(e){wS(r,e);var t=$S(r);function r(n){OS(this,r);var o;o=t.call(this,n),xh(Ah(o),"caption",void 0);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:qa.controlName,o}return r}(ce);xh(PS,"Rules",$G);function RS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function RG(e,t,r){return t&&SS(e.prototype,t),r&&SS(e,r),e}function Dh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ca(e){return Ca=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ca(e)}function SG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 EG(e,t){return t&&(TG(t)==="object"||typeof t=="function")?t:RS(e)}function Nh(e,t){return Nh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nh(e,t)}function TG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BG(e){var t=IG();return function(){var n=Ca(e),o;if(t){var i=Ca(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return EG(this,o)}}var Va=function(e){SG(r,e);var t=BG(r);function r(n){PG(this,r);var o;return o=t.call(this,n),Dh(RS(o),"props",void 0),o.props=new PS(n==null?void 0:n.props),o}return RG(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u5355\u5143"}},{key:"controlType",get:function(){return"tab-pane"}},{key:"controlIcon",get:function(){return"tab-pane"}}]),r}(le);Dh(Va,"excludes",[y.TAB]),Dh(Va,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}]);function ES(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xG(e,t,r){return t&&TS(e.prototype,t),r&&TS(e,r),e}function za(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ha(e){return Ha=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ha(e)}function 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&&Fh(e,t)}function DG(e,t){return t&&(NG(t)==="object"||typeof t=="function")?t:ES(e)}function Fh(e,t){return Fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fh(e,t)}function NG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jG(e){var t=FG();return function(){var n=Ha(e),o;if(t){var i=Ha(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DG(this,o)}}var qa=function(e){kG(r,e);var t=jG(r);function r(n){AG(this,r);var o;o=t.call(this,n),za(ES(o),"props",void 0),o.props=new gG(n==null?void 0:n.props);var i;return o.children=(i=n==null?void 0:n.children)!==null&&i!==void 0?i:[new Va,new Va],o}return xG(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u9875"}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),r}(le);za(qa,"excludes",[y.TAB]),za(qa,"controlEventKeys",["on_change_tab"]),za(qa,"setting",[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}]);function 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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ua(e){return Ua=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ua(e)}function 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&&jh(e,t)}function VG(e,t){return t&&(zG(t)==="object"||typeof t=="function")?t:LG(e)}function jh(e,t){return jh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jh(e,t)}function zG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qG(e){var t=HG();return function(){var n=Ua(e),o;if(t){var i=Ua(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VG(this,o)}}var UG=function(e){CG(r,e);var t=qG(r);function r(n){return MG(this,r),t.call(this,n)}return r}(ce);function IS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function KG(e,t,r){return t&&BS(e.prototype,t),r&&BS(e,r),e}function AS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wa(e){return Wa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wa(e)}function 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&&Lh(e,t)}function XG(e,t){return t&&(QG(t)==="object"||typeof t=="function")?t:IS(e)}function Lh(e,t){return Lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lh(e,t)}function QG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZG(e){var t=JG();return function(){var n=Wa(e),o;if(t){var i=Wa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XG(this,o)}}var YG=function(e){GG(r,e);var t=ZG(r);function r(n){WG(this,r);var o;return o=t.call(this,n),AS(IS(o),"props",void 0),o.props=new UG({}),o.children=(n==null?void 0:n.children)||[new To({props:new Eo({span:12})}),new To({props:new Eo({span:12})})],o}return KG(r,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),r}(le);AS(YG,"excludes",[y.GRID_ROW,y.ROW,y.GRID,y.SUBTABLE,y.TAB,y.TOOLBOX]);function G(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function X(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ka(e){return Ka=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ka(e)}function Ch(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vh(e,t)}function eX(e,t){return t&&(tX(t)==="object"||typeof t=="function")?t:G(e)}function Vh(e,t){return Vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vh(e,t)}function tX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zh(e){var t=nX();return function(){var n=Ka(e),o;if(t){var i=Ka(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eX(this,o)}}var xS;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(xS||(xS={}));var rX=function(e){Ch(r,e);var t=zh(r);function r(n){Mh(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(pn),oX=function(e){Ch(r,e);var t=zh(r);function r(n){Mh(this,r);var o;if(o=t.call(this,n),X(G(o),"triggerFieldCode",{type:"any"}),X(G(o),"datasourceBind",{type:"any"}),X(G(o),"joinRelation",[{type:"any"}]),console.log("--ListViewControlPropertyRules--"),n.triggerType===2&&n.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")}),n.isShowJoinRelation&&(o.joinRelation=[{type:"object",message:h.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:h.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:h.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:h.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:h.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:h.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),t_.call(G(o),{optionConfig:"datasource",datasourceBind:n.datasourceBind,options:[]}),Array.isArray(o.datasourceBind)&&o.datasourceBind.length>1){var i=o.datasourceBind.find(function(u){return u.type==="object"&&u.fields});i&&(delete i.fields.valueFieldCode,delete i.fields.displayBoList)}return o}return r}(Y),Ao=function(e){Ch(r,e);var t=zh(r);function r(n){Mh(this,r);var o;o=t.call(this,n),X(G(o),"datasourceBind",void 0),X(G(o),"isLoading",void 0),X(G(o),"isShowSubList",void 0),X(G(o),"triggerType",void 0),X(G(o),"triggerFieldCode",void 0),X(G(o),"sublistPage",void 0),X(G(o),"isShowJoinRelation",void 0),X(G(o),"joinRelation",void 0),X(G(o),"showType",void 0),X(G(o),"showFullScreen",void 0),X(G(o),"isFixedHeader",void 0),X(G(o),"selectionType",void 0),X(G(o),"isShowSelection",void 0),X(G(o),"isAllLoaded",void 0),X(G(o),"countType",void 0),X(G(o),"countLimit",void 0),X(G(o),"rowStyle",void 0),o.datasourceBind=new ne(n==null?void 0:n.datasourceBind);var i;o.isLoading=(i=n==null?void 0:n.isLoading)!==null&&i!==void 0?i:!1;var u;o.isShowSubList=(u=n==null?void 0:n.isShowSubList)!==null&&u!==void 0?u:!1;var c;o.triggerType=(c=n==null?void 0:n.triggerType)!==null&&c!==void 0?c:1;var l;o.triggerFieldCode=(l=n==null?void 0:n.triggerFieldCode)!==null&&l!==void 0?l:"",o.sublistPage=new ex(n==null?void 0:n.sublistPage);var a;o.isShowJoinRelation=(a=n==null?void 0:n.isShowJoinRelation)!==null&&a!==void 0?a:!1,o.joinRelation=new nx(n==null?void 0:n.joinRelation);var f;o.showType=(f=n==null?void 0:n.showType)!==null&&f!==void 0?f:"stretch";var _;o.showFullScreen=(_=n==null?void 0:n.showFullScreen)!==null&&_!==void 0?_:!1;var p;o.selectionType=(p=n==null?void 0:n.selectionType)!==null&&p!==void 0?p:"multiple";var g;o.isFixedHeader=(g=n==null?void 0:n.isFixedHeader)!==null&&g!==void 0?g:!1;var O;o.isShowSelection=(O=n==null?void 0:n.isShowSelection)!==null&&O!==void 0?O:!1;var b;o.isAllLoaded=(b=n==null?void 0:n.isAllLoaded)!==null&&b!==void 0?b:!0,o.countType=n==null?void 0:n.countType;var w;return o.countLimit=(w=n==null?void 0:n.countLimit)!==null&&w!==void 0?w:1e5,o.rowStyle=new bx(n==null?void 0:n.rowStyle),o}return r}(ce);X(Ao,"Rules",oX),X(Ao,"RuntimeRules",rX);function kS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uX(e,t,r){return t&&DS(e.prototype,t),r&&DS(e,r),e}function xo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ga(e){return Ga=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ga(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&&Hh(e,t)}function lX(e,t){return t&&(aX(t)==="object"||typeof t=="function")?t:kS(e)}function Hh(e,t){return Hh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hh(e,t)}function aX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sX(e){var t=fX();return function(){var n=Ga(e),o;if(t){var i=Ga(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lX(this,o)}}var ko=function(e){cX(r,e);var t=sX(r);function r(n){iX(this,r);var o;return o=t.call(this,n),xo(kS(o),"props",void 0),o.props=new Ao(n==null?void 0:n.props),o}return uX(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u5BB9\u5668"}},{key:"controlType",get:function(){return"list-view"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(le);xo(ko,"slotPosition",{left:"list-view-left-slot"}),xo(ko,"excludes",[y.ROW]),xo(ko,"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"]),xo(ko,"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 NS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _X(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yX(e,t,r){return t&&FS(e.prototype,t),r&&FS(e,r),e}function pX(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xa(e){return Xa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xa(e)}function dX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qh(e,t)}function vX(e,t){return t&&(hX(t)==="object"||typeof t=="function")?t:NS(e)}function qh(e,t){return qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qh(e,t)}function hX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gX(e){var t=bX();return function(){var n=Xa(e),o;if(t){var i=Xa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vX(this,o)}}var mX=function(e){dX(r,e);var t=gX(r);function r(n){_X(this,r);var o;return o=t.call(this,n),pX(NS(o),"props",void 0),o.props=new Ao(n==null?void 0:n.props),o}return yX(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(vn),OX={Designer:ko,Runtime:mX,Property:Ao};function ln(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function an(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qa(e){return Qa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qa(e)}function LS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uh(e,t)}function wX(e,t){return t&&($X(t)==="object"||typeof t=="function")?t:ln(e)}function Uh(e,t){return Uh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uh(e,t)}function $X(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MS(e){var t=PX();return function(){var n=Qa(e),o;if(t){var i=Qa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wX(this,o)}}var RX=function(e){LS(r,e);var t=MS(r);function r(n){jS(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(pn),Ja=function(e){LS(r,e);var t=MS(r);function r(n){jS(this,r);var o;o=t.call(this,n),an(ln(o),"save",void 0),an(ln(o),"cancel",void 0),an(ln(o),"saveAs",void 0),an(ln(o),"print",void 0),an(ln(o),"custom",void 0),an(ln(o),"isLoading",void 0),an(ln(o),"datasourceBind",void 0);var i;o.save=new Wt((i=n==null?void 0:n.save)!==null&&i!==void 0?i:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var u;o.cancel=new Wt((u=n==null?void 0:n.cancel)!==null&&u!==void 0?u:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var c;o.saveAs=new Wt((c=n==null?void 0:n.saveAs)!==null&&c!==void 0?c:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1});var l;o.print=new Wt((l=n==null?void 0:n.print)!==null&&l!==void 0?l:{content:"\u6253\u5370",type:"print",isShow:!1});var a;o.custom=((a=n==null?void 0:n.custom)!==null&&a!==void 0?a:[]).map(function(_){return new Wt(_)});var f;return o.isLoading=(f=n==null?void 0:n.isLoading)!==null&&f!==void 0?f:!1,o.datasourceBind=new ne(n==null?void 0:n.datasourceBind),o}return r}(ce);an(Ja,"RuntimeRules",RX);function CS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function EX(e,t,r){return t&&VS(e.prototype,t),r&&VS(e,r),e}function zS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Za(e){return Za=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Za(e)}function TX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wh(e,t)}function IX(e,t){return t&&(BX(t)==="object"||typeof t=="function")?t:CS(e)}function Wh(e,t){return Wh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wh(e,t)}function BX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xX(e){var t=AX();return function(){var n=Za(e),o;if(t){var i=Za(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return IX(this,o)}}var HS=function(e){TX(r,e);var t=xX(r);function r(n){SX(this,r);var o;return o=t.call(this,n),zS(CS(o),"props",void 0),o.props=new Ja(n==null?void 0:n.props),o}return EX(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(le);zS(HS,"excludes",[]);function qS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function US(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function DX(e,t,r){return t&&US(e.prototype,t),r&&US(e,r),e}function NX(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ya(e){return Ya=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ya(e)}function FX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kh(e,t)}function jX(e,t){return t&&(LX(t)==="object"||typeof t=="function")?t:qS(e)}function Kh(e,t){return Kh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kh(e,t)}function LX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CX(e){var t=MX();return function(){var n=Ya(e),o;if(t){var i=Ya(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jX(this,o)}}var VX=function(e){FX(r,e);var t=CX(r);function r(n){kX(this,r);var o;return o=t.call(this,n),NX(qS(o),"props",void 0),o.props=new Ja(n==null?void 0:n.props),o}return DX(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(vn),zX={Designer:HS,Runtime:VX,Property:Ja};function ef(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tf(e){return tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tf(e)}function qX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xh(e,t)}function UX(e,t){return t&&(WX(t)==="object"||typeof t=="function")?t:ef(e)}function Xh(e,t){return Xh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xh(e,t)}function WX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GX(e){var t=KX();return function(){var n=tf(e),o;if(t){var i=tf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return UX(this,o)}}var XX=function(e){qX(r,e);var t=GX(r);function r(n){HX(this,r);var o;o=t.call(this,n),Gh(ef(o),"position",void 0),Gh(ef(o),"opacity",void 0),Gh(ef(o),"align",void 0);var i;o.position=(i=n==null?void 0:n.position)!==null&&i!==void 0?i:"bottom";var u;o.opacity=(u=n==null?void 0:n.opacity)!==null&&u!==void 0?u:!0;var c;return o.align=(c=n==null?void 0:n.align)!==null&&c!==void 0?c:"right",o}return r}(ce);function WS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function JX(e,t,r){return t&&KS(e.prototype,t),r&&KS(e,r),e}function nf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rf(e){return rf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rf(e)}function 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&&Qh(e,t)}function YX(e,t){return t&&(eQ(t)==="object"||typeof t=="function")?t:WS(e)}function Qh(e,t){return Qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qh(e,t)}function eQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nQ(e){var t=tQ();return function(){var n=rf(e),o;if(t){var i=rf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YX(this,o)}}var Jh=function(e){ZX(r,e);var t=nQ(r);function r(n){QX(this,r);var o;o=t.call(this,n),nf(WS(o),"props",void 0);var i;return o.props=new XX((i=n==null?void 0:n.props)!==null&&i!==void 0?i:{}),o}return JX(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE\u64CD\u4F5C\u680F"}},{key:"controlType",get:function(){return"action-bar"}},{key:"controlIcon",get:function(){return"action-bar"}}]),r}(le);nf(Jh,"slotPosition",{default:"action-bar-slot"}),nf(Jh,"excludes",[]),nf(Jh,"setting",[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}]);function B(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function of(e){return of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},of(e)}function Yh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&e0(e,t)}function rQ(e,t){return t&&(oQ(t)==="object"||typeof t=="function")?t:B(e)}function e0(e,t){return e0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},e0(e,t)}function oQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function t0(e){var t=iQ();return function(){var n=of(e),o;if(t){var i=of(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rQ(this,o)}}var uQ=function(e){Yh(r,e);var t=t0(r);function r(n){Zh(this,r);var o;return o=t.call(this,n),I(B(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),I(B(o),"limitRows",[{type:"number",required:!0,message:h.getMessage("isNotNumber")},{type:"number",min:0,message:h.getMessage("limitRowsCannotBeLessThan0")}]),I(B(o),"formKey",{type:"string",required:!1,message:h.getMessage("pleaseEnterForm")}),I(B(o),"maxHeight",{type:"number",required:!0,message:h.getMessage("pleaseEnterMaxHeight")}),I(B(o),"captionTip",{type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")}),I(B(o),"mobileRowCaption",{type:"string",required:!1,message:h.getMessage("pleaseEnterRowCaption")}),n.openType==="modal"&&(o.formKey.required=!0),n.isShowCaptionTip&&(o.captionTip.required=!0),n.mobileShowType==="tile"&&(o.mobileRowCaption.required=!0),o}return r}(Y),cQ=function(e){Yh(r,e);var t=t0(r);function r(n){Zh(this,r);var o;return o=t.call(this,n),n.isHide||o.push({type:"array",required:n.limitRows>0,message:h.getMessage("runtimeRequired",{caption:n.caption})},{type:"array",validator:function(u,c,l){c.length<n.limitRows&&l(h.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})),l()},message:h.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})}),o}return r}(pn),n0=function(e){Yh(r,e);var t=t0(r);function r(n,o){Zh(this,r);var i;i=t.call(this,n,o,r.mode),I(B(i),"caption",void 0),I(B(i),"labelPosition",void 0),I(B(i),"isHideCaption",void 0),I(B(i),"isShowCaptionTip",void 0),I(B(i),"captionTip",void 0),I(B(i),"defaultState",void 0),I(B(i),"limitRows",void 0),I(B(i),"maxRows",void 0),I(B(i),"defaultRows",void 0),I(B(i),"datasourceBind",void 0),I(B(i),"printMode",void 0),I(B(i),"openType",void 0),I(B(i),"formKey",void 0),I(B(i),"useCustomHeight",void 0),I(B(i),"maxHeight",void 0),I(B(i),"canAdd",void 0),I(B(i),"canDelete",void 0),I(B(i),"canCheck",void 0),I(B(i),"canEdit",void 0),I(B(i),"canImport",void 0),I(B(i),"importConfig",void 0),I(B(i),"canExport",void 0),I(B(i),"exportConfig",void 0),I(B(i),"canClear",void 0),I(B(i),"isPaste",void 0),I(B(i),"mobileShowType",void 0),I(B(i),"mobileDefaultNum",void 0),I(B(i),"dataStorageDoc",void 0),I(B(i),"serverPagination",void 0),I(B(i),"fixedColumn",void 0),I(B(i),"mobileRowCaption",void 0),I(B(i),"mobileIsTile",void 0),I(B(i),"sortable",void 0),I(B(i),"sortKey",void 0);var u;i.caption=(u=o==null?void 0:o.caption)!==null&&u!==void 0?u:lf.controlName;var c;i.isHideCaption=(c=o==null?void 0:o.isHideCaption)!==null&&c!==void 0?c:!1;var l;i.defaultState=(l=o==null?void 0:o.defaultState)!==null&&l!==void 0?l:"default";var a;i.labelPosition=(a=o==null?void 0:o.labelPosition)!==null&&a!==void 0?a:"top";var f;i.openType=(f=o==null?void 0:o.openType)!==null&&f!==void 0?f:"default";var _;i.formKey=(_=o==null?void 0:o.formKey)!==null&&_!==void 0?_:"";var p;i.useCustomHeight=(p=o==null?void 0:o.useCustomHeight)!==null&&p!==void 0?p:!1;var g;i.maxHeight=(g=o==null?void 0:o.maxHeight)!==null&&g!==void 0?g:cN;var O;i.printMode=(O=o==null?void 0:o.printMode)!==null&&O!==void 0?O:"row";var b;i.limitRows=(b=o==null?void 0:o.limitRows)!==null&&b!==void 0?b:1;var w;i.maxRows=(w=o==null?void 0:o.maxRows)!==null&&w!==void 0?w:null;var d;i.defaultRows=(d=o==null?void 0:o.defaultRows)!==null&&d!==void 0?d:1,i.datasourceBind=new ne(o==null?void 0:o.datasourceBind);var $;i.canAdd=($=o==null?void 0:o.canAdd)!==null&&$!==void 0?$:!0;var P;i.canDelete=(P=o==null?void 0:o.canDelete)!==null&&P!==void 0?P:!0;var S;i.canCheck=(S=o==null?void 0:o.canCheck)!==null&&S!==void 0?S:!1;var E;i.canEdit=(E=o==null?void 0:o.canEdit)!==null&&E!==void 0?E:!1;var C;i.canImport=(C=o==null?void 0:o.canImport)!==null&&C!==void 0?C:!1;var x;i.canExport=(x=o==null?void 0:o.canExport)!==null&&x!==void 0?x:!1;var K;i.canClear=(K=o==null?void 0:o.canClear)!==null&&K!==void 0?K:!0;var A;i.serverPagination=(A=o==null?void 0:o.serverPagination)!==null&&A!==void 0?A:!1;var Pt;i.isShowCaptionTip=(Pt=o==null?void 0:o.isShowCaptionTip)!==null&&Pt!==void 0?Pt:!1;var Ho;i.captionTip=(Ho=o==null?void 0:o.captionTip)!==null&&Ho!==void 0?Ho:"";var Ur;i.mobileShowType=(Ur=o==null?void 0:o.mobileShowType)!==null&&Ur!==void 0?Ur:"list";var In;i.mobileDefaultNum=(In=o==null?void 0:o.mobileDefaultNum)!==null&&In!==void 0?In:10;var Rt;i.dataStorageDoc=(Rt=o==null?void 0:o.dataStorageDoc)!==null&&Rt!==void 0?Rt:new QA;var Wb;i.fixedColumn=(Wb=o==null?void 0:o.fixedColumn)!==null&&Wb!==void 0?Wb:[];var Kb;i.mobileRowCaption=(Kb=o==null?void 0:o.mobileRowCaption)!==null&&Kb!==void 0?Kb:"\u660E\u7EC6";var Gb;i.mobileIsTile=(Gb=o==null?void 0:o.mobileIsTile)!==null&&Gb!==void 0?Gb:!1;var Xb;i.isPaste=(Xb=o==null?void 0:o.isPaste)!==null&&Xb!==void 0?Xb:!1;var Qb;i.pageSize=(Qb=o==null?void 0:o.pageSize)!==null&&Qb!==void 0?Qb:10;var Jb;i.pageSizeOptions=(Jb=o==null?void 0:o.pageSizeOptions)!==null&&Jb!==void 0?Jb:[10,20,50,100],i.importConfig=new iN(o==null?void 0:o.importConfig),i.exportConfig=new uN(o==null?void 0:o.exportConfig);var Zb;i.sortable=(Zb=o==null?void 0:o.sortable)!==null&&Zb!==void 0?Zb:!1;var Yb;return i.sortKey=(Yb=o==null?void 0:o.sortKey)!==null&&Yb!==void 0?Yb:{},i}return r}(y_);I(n0,"Rules",uQ),I(n0,"RuntimeRules",cQ);function r0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function aQ(e,t,r){return t&&GS(e.prototype,t),r&&GS(e,r),e}function uf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cf(e){return cf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cf(e)}function 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&&o0(e,t)}function sQ(e,t){return t&&(_Q(t)==="object"||typeof t=="function")?t:r0(e)}function o0(e,t){return o0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},o0(e,t)}function _Q(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pQ(e){var t=yQ();return function(){var n=cf(e),o;if(t){var i=cf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sQ(this,o)}}var lf=function(e){fQ(r,e);var t=pQ(r);function r(n){lQ(this,r);var o,i,u;return o=t.call(this,n),uf(r0(o),"props",void 0),o.props=new n0(r0(o),n==null?void 0:n.props),(n==null||(i=n.props)===null||i===void 0?void 0:i.headers)===void 0&&(o.props.headers=[new ft,new ft,new ft]),(n==null||(u=n.props)===null||u===void 0?void 0:u.footers)===void 0&&(o.props.footers=[]),o}return aQ(r,[{key:"addColumn",value:function(o,i){var u=o!==void 0&&typeof o!="number"?o:new ft,c=typeof o=="number"?o:i;return c===void 0?this.props.headers.push(u):this.props.headers.splice(c,0,u),u}}],[{key:"controlName",get:function(){return"\u660E\u7EC6\u5B50\u8868"}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),r}(v_);uf(lf,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),uf(lf,"slotPosition",{toolbar:"subtable-toolbar-slot"}),uf(lf,"setting",[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP,s.IS_PASTE,s.SERVER_PAGINATION,s.SORTABLE]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"max-rows",visible:!0},{key:"list-pager",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}]);function ur(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Do(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function af(e){return af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},af(e)}function vQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i0(e,t)}function hQ(e,t){return t&&(bQ(t)==="object"||typeof t=="function")?t:ur(e)}function i0(e,t){return i0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},i0(e,t)}function bQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mQ(e){var t=gQ();return function(){var n=af(e),o;if(t){var i=af(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hQ(this,o)}}var OQ=function(e){vQ(r,e);var t=mQ(r);function r(n,o){dQ(this,r);var i;i=t.call(this,n,o),Do(ur(i),"isFixedHeader",void 0),Do(ur(i),"selectionType",void 0),Do(ur(i),"isShowToolbar",void 0),Do(ur(i),"isShowSelection",void 0),Do(ur(i),"isShowCustomColumns",void 0);var u;i.isFixedHeader=(u=o==null?void 0:o.isFixedHeader)!==null&&u!==void 0?u:!1,i.selectionType=o==null?void 0:o.selectionType;var c;i.isShowToolbar=(c=o==null?void 0:o.isShowToolbar)!==null&&c!==void 0?c:!0;var l;i.isShowSelection=(l=o==null?void 0:o.isShowSelection)!==null&&l!==void 0?l:!1;var a;i.isShowCustomColumns=(a=o==null?void 0:o.isShowCustomColumns)!==null&&a!==void 0?a:!0;var f;return i.pageSizeOptions=(f=o==null?void 0:o.pageSizeOptions)!==null&&f!==void 0?f:[10,20,50,100,500],i}return r}(y_);function wQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $Q(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ff(e){return ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ff(e)}function QS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u0(e,t)}function PQ(e,t){return t&&(RQ(t)==="object"||typeof t=="function")?t:wQ(e)}function u0(e,t){return u0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},u0(e,t)}function RQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JS(e){var t=SQ();return function(){var n=ff(e),o;if(t){var i=ff(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PQ(this,o)}}var EQ=function(e){QS(r,e);var t=JS(r);function r(n){XS(this,r);var o;return o=t.call(this,n),o.caption.required=!1,o}return r}(pt),c0=function(e){QS(r,e);var t=JS(r);function r(n){XS(this,r);var o,i,u;o=t.call(this,n);var c;o.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:"left";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:cr.controlName;var a;o.width=(a=n==null?void 0:n.width)!==null&&a!==void 0?a:60;var f;o.autoWidth.minWidth=(f=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.minWidth)!==null&&f!==void 0?f:60;var _;o.autoWidth.flex=(_=n==null||(u=n.autoWidth)===null||u===void 0?void 0:u.flex)!==null&&_!==void 0?_:.4;var p;return o.widthType=(p=n==null?void 0:n.widthType)!==null&&p!==void 0?p:"px",o}return r}(Z);$Q(c0,"Rules",EQ);function ZS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function No(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sf(e){return sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sf(e)}function IQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l0(e,t)}function BQ(e,t){return t&&(AQ(t)==="object"||typeof t=="function")?t:ZS(e)}function l0(e,t){return l0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},l0(e,t)}function AQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kQ(e){var t=xQ();return function(){var n=sf(e),o;if(t){var i=sf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BQ(this,o)}}var cr=function(e){IQ(r,e);var t=kQ(r);function r(n){TQ(this,r);var o;return o=t.call(this,n),No(ZS(o),"props",void 0),o.props=new c0(n==null?void 0:n.props),o}return r}(fe);No(cr,"controlType","order-column"),No(cr,"controlName","\u5E8F\u53F7"),No(cr,"controlIcon","order-column"),No(cr,"setting",[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}]);function YS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _f(e){return _f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_f(e)}function 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&&f0(e,t)}function FQ(e,t){return t&&(jQ(t)==="object"||typeof t=="function")?t:YS(e)}function f0(e,t){return f0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},f0(e,t)}function jQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MQ(e){var t=LQ();return function(){var n=_f(e),o;if(t){var i=_f(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FQ(this,o)}}var eE=function(e){NQ(r,e);var t=MQ(r);function r(n){DQ(this,r);var o;return o=t.call(this,n),a0(YS(o),"props",void 0),o.props=new c0(n==null?void 0:n.props),o}return r}(se);a0(eE,"controlType","order-column"),a0(eE,"controlFieldType",m.DECIMAL);function s0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yf(e){return yf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yf(e)}function VQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_0(e,t)}function zQ(e,t){return t&&(HQ(t)==="object"||typeof t=="function")?t:s0(e)}function _0(e,t){return _0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_0(e,t)}function HQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UQ(e){var t=qQ();return function(){var n=yf(e),o;if(t){var i=yf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zQ(this,o)}}var nE=function(e){VQ(r,e);var t=UQ(r);function r(n){CQ(this,r);var o,i;o=t.call(this,n),tE(s0(o),"showType",void 0),tE(s0(o),"limit",void 0);var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:"right",o.widthType="auto";var c;o.autoWidth.minWidth=(c=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.minWidth)!==null&&c!==void 0?c:84;var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:lr.controlName;var a;o.showType=(a=n==null?void 0:n.showType)!==null&&a!==void 0?a:"icon";var f;return o.limit=(f=n==null?void 0:n.limit)!==null&&f!==void 0?f:3,o}return r}(Z);function rE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oE(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(a){r(a);return}c.done?t(l):Promise.resolve(l).then(n,o)}function WQ(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){oE(i,n,o,u,c,"next",l)}function c(l){oE(i,n,o,u,c,"throw",l)}u(void 0)})}}function KQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function GQ(e,t,r){return t&&iE(e.prototype,t),r&&iE(e,r),e}function Fo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jo(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?jo=Reflect.get:jo=function(o,i,u){var c=JQ(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},jo(e,t,r||e)}function $n(e){return $n=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$n(e)}function XQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y0(e,t)}function QQ(e,t){return t&&(ZQ(t)==="object"||typeof t=="function")?t:rE(e)}function y0(e,t){return y0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},y0(e,t)}function JQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=$n(e),e!==null););return e}function ZQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eJ(e){var t=YQ();return function(){var n=$n(e),o;if(t){var i=$n(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QQ(this,o)}}function tJ(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(a){return function(f){return l([a,f])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(f){a=[6,f],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var lr=function(e){XQ(r,e);var t=eJ(r);function r(n){KQ(this,r);var o;return o=t.call(this,n),Fo(rE(o),"props",void 0),o.props=new nE(n==null?void 0:n.props),o}return GQ(r,[{key:"toDataBindModel",value:function(){var o=jo($n(r.prototype),"toDataBindModel",this).call(this);return this.children.map(function(i){if(i.type===Iu.controlType){var u=i;o.props[u.props.command]=u.props}}),o}},{key:"validate",value:function(o,i){var u=this,c=this,l=function(){return jo($n(r.prototype),"validate",u)};return WQ(function(){return tJ(this,function(a){switch(a.label){case 0:return[4,l().call(c,o,i)];case 1:return a.sent(),[4,Promise.all(c.children.map(function(f){return f.validate(o,i)}))];case 2:return a.sent(),[2,!0]}})})()}}]),r}(fe);Fo(lr,"controlType","operation-column"),Fo(lr,"controlName","\u64CD\u4F5C"),Fo(lr,"controlIcon","operation-column"),Fo(lr,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}]);function uE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pf(e){return pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pf(e)}function rJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d0(e,t)}function oJ(e,t){return t&&(iJ(t)==="object"||typeof t=="function")?t:uE(e)}function d0(e,t){return d0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},d0(e,t)}function iJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cJ(e){var t=uJ();return function(){var n=pf(e),o;if(t){var i=pf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oJ(this,o)}}var cE=function(e){rJ(r,e);var t=cJ(r);function r(n){nJ(this,r);var o;return o=t.call(this,n),p0(uE(o),"props",void 0),o.props=new nE(n==null?void 0:n.props),o}return r}(se);p0(cE,"controlType","operation-column"),p0(cE,"controlFieldType",m.FILE);function Pn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lE(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(a){r(a);return}c.done?t(l):Promise.resolve(l).then(n,o)}function lJ(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){lE(i,n,o,u,c,"next",l)}function c(l){lE(i,n,o,u,c,"throw",l)}u(void 0)})}}function aJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fJ(e,t,r){return t&&aE(e.prototype,t),r&&aE(e,r),e}function Vt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lo(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Lo=Reflect.get:Lo=function(o,i,u){var c=hJ(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Lo(e,t,r||e)}function Rn(e){return Rn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rn(e)}function sJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v0(e,t)}function _J(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function yJ(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Vt(e,o,r[o])})}return e}function pJ(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function dJ(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):pJ(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function vJ(e,t){return t&&(bJ(t)==="object"||typeof t=="function")?t:Pn(e)}function v0(e,t){return v0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},v0(e,t)}function hJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Rn(e),e!==null););return e}function bJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mJ(e){var t=gJ();return function(){var n=Rn(e),o;if(t){var i=Rn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vJ(this,o)}}function OJ(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(a){return function(f){return l([a,f])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(f){a=[6,f],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var wJ=1e4,df=function(t){sJ(n,t);var r=mJ(n);function n(o){aJ(this,n);var i,u;i=r.call(this,o),Vt(Pn(i),"props",void 0),Vt(Pn(i),"children",void 0),Vt(Pn(i),"excludes",void 0),Vt(Pn(i),"childrenMaxLength",void 0);var c=_J(this,n)?this.constructor:void 0,l=c.excludes,a=c.childrenMaxLength;return i.props=new OQ(Pn(i),o==null?void 0:o.props),St(Pn(i),"children",o==null?void 0:o.children,void 0,"Designer"),(o==null?void 0:o.props.headers)===void 0&&(i.props.headers=[new cr,new lr]),(o==null||(u=o.props)===null||u===void 0?void 0:u.footers)===void 0&&(i.props.footers=[]),i.excludes=Je(l),i.childrenMaxLength=a,i}return fJ(n,[{key:"judgeJoinChildren",value:function(i){var u=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i);return u&&this.childrenMaxLength>this.children.length}},{key:"toSchema",value:function(){var i=Lo(Rn(n.prototype),"toSchema",this).call(this),u=this.children.map(function(c){return c.toSchema()});return dJ(yJ({},i),{children:u})}},{key:"validate",value:function(i,u){var c=this,l=this,a=function(){return Lo(Rn(n.prototype),"validate",c)};return lJ(function(){return OJ(this,function(f){switch(f.label){case 0:return[4,a().call(l,i,u)];case 1:return f.sent(),[4,Promise.all(l.children.map(function(_){return _.validate(i,u)}))];case 2:return f.sent(),[2,!0]}})})()}}],[{key:"controlName",get:function(){return"\u8868\u683C"}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),n}(v_);Vt(df,"slotPosition",{toolbar:"grid-table-toolbar-slot"}),Vt(df,"setting",[{key:"list-fixed-header",visible:!0}]),Vt(df,"excludes",[]),Vt(df,"childrenMaxLength",wJ);function zt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vf(e){return vf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vf(e)}function sE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h0(e,t)}function $J(e,t){return t&&(PJ(t)==="object"||typeof t=="function")?t:zt(e)}function h0(e,t){return h0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},h0(e,t)}function PJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _E(e){var t=RJ();return function(){var n=vf(e),o;if(t){var i=vf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $J(this,o)}}var SJ=function(e){sE(r,e);var t=_E(r);function r(n){fE(this,r);var o;return o=t.call(this,n),Jt.call(zt(o),n),o}return r}(lm),b0=function(e){sE(r,e);var t=_E(r);function r(n){fE(this,r);var o;o=t.call(this,n),fn(zt(o),"optionConfig",void 0),fn(zt(o),"datasourceBind",void 0),fn(zt(o),"showLinkOperation",void 0),fn(zt(o),"linkOperationOption",void 0),fn(zt(o),"options",void 0),fn(zt(o),"lineEllipsis",void 0),fn(zt(o),"dictionaryTagConfig",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:fr.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new ne(n==null?void 0:n.datasourceBind);var c;o.options=Tt((c=n==null?void 0:n.options)!==null&&c!==void 0?c:[{}]);var l;o.showLinkOperation=(l=n==null?void 0:n.showLinkOperation)!==null&&l!==void 0?l:!1,o.linkOperationOption=new Et(n==null?void 0:n.linkOperationOption);var a;o.lineEllipsis=(a=n==null?void 0:n.lineEllipsis)!==null&&a!==void 0?a:1;var f;return o.dictionaryTagConfig=(f=n==null?void 0:n.dictionaryTagConfig)!==null&&f!==void 0?f:{isTag:!1},o}return r}(Z);fn(b0,"Rules",SJ);function yE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ar(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hf(e){return hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hf(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&&g0(e,t)}function IJ(e,t){return t&&(BJ(t)==="object"||typeof t=="function")?t:yE(e)}function g0(e,t){return g0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},g0(e,t)}function BJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xJ(e){var t=AJ();return function(){var n=hf(e),o;if(t){var i=hf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return IJ(this,o)}}var fr=function(e){TJ(r,e);var t=xJ(r);function r(n){EJ(this,r);var o;return o=t.call(this,n),ar(yE(o),"props",void 0),o.props=new b0(n==null?void 0:n.props),o}return r}(fe);ar(fr,"controlType","varchar-column"),ar(fr,"controlName","\u77ED\u6587\u672C"),ar(fr,"controlIcon","varchar-column"),ar(fr,"controlFieldType",m.VARCHAR),ar(fr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function pE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bf(e){return bf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bf(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&&O0(e,t)}function NJ(e,t){return t&&(FJ(t)==="object"||typeof t=="function")?t:pE(e)}function O0(e,t){return O0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},O0(e,t)}function FJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LJ(e){var t=jJ();return function(){var n=bf(e),o;if(t){var i=bf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return NJ(this,o)}}var dE=function(e){DJ(r,e);var t=LJ(r);function r(n){kJ(this,r);var o;return o=t.call(this,n),m0(pE(o),"props",void 0),o.props=new b0(n==null?void 0:n.props),o}return r}(se);m0(dE,"controlType","varchar-column"),m0(dE,"controlFieldType",m.VARCHAR);function sr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gf(e){return gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gf(e)}function hE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w0(e,t)}function MJ(e,t){return t&&(CJ(t)==="object"||typeof t=="function")?t:sr(e)}function w0(e,t){return w0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},w0(e,t)}function CJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bE(e){var t=VJ();return function(){var n=gf(e),o;if(t){var i=gf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return MJ(this,o)}}var zJ=function(e){hE(r,e);var t=bE(r);function r(n){vE(this,r);var o;return o=t.call(this,n),Jt.call(sr(o),n),o}return r}(pt),$0=function(e){hE(r,e);var t=bE(r);function r(n){vE(this,r);var o;o=t.call(this,n),Mo(sr(o),"escapeHTML",void 0),Mo(sr(o),"showLinkOperation",void 0),Mo(sr(o),"linkOperationOption",void 0),Mo(sr(o),"lineEllipsis",void 0);var i;o.escapeHTML=(i=n==null?void 0:n.escapeHTML)!==null&&i!==void 0?i:!1;var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:pr.controlName;var c;o.lineEllipsis=(c=n==null?void 0:n.lineEllipsis)!==null&&c!==void 0?c:1;var l;return o.showLinkOperation=(l=n==null?void 0:n.showLinkOperation)!==null&&l!==void 0?l:!1,o.linkOperationOption=new Et(n==null?void 0:n.linkOperationOption),o}return r}(Z);Mo($0,"Rules",zJ);function gE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qJ(e,t,r){return t&&mE(e.prototype,t),r&&mE(e,r),e}function _r(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?mf=Reflect.get:mf=function(o,i,u){var c=KJ(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},mf(e,t,r||e)}function yr(e){return yr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yr(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&&P0(e,t)}function WJ(e,t){return t&&(GJ(t)==="object"||typeof t=="function")?t:gE(e)}function P0(e,t){return P0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},P0(e,t)}function KJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=yr(e),e!==null););return e}function GJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QJ(e){var t=XJ();return function(){var n=yr(e),o;if(t){var i=yr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WJ(this,o)}}var pr=function(e){UJ(r,e);var t=QJ(r);function r(n){HJ(this,r);var o;return o=t.call(this,n),_r(gE(o),"props",void 0),o.props=new $0(n==null?void 0:n.props),o}return qJ(r,[{key:"toDataBindModel",value:function(o){var i=mf(yr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.escapeHTML;i.props.escapeHTML=u}return i}}]),r}(fe);_r(pr,"controlType","text-column"),_r(pr,"controlName","\u957F\u6587\u672C"),_r(pr,"controlIcon","text-column"),_r(pr,"controlFieldType",m.TEXT),_r(pr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function OE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Of(e){return Of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Of(e)}function ZJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&S0(e,t)}function YJ(e,t){return t&&(eZ(t)==="object"||typeof t=="function")?t:OE(e)}function S0(e,t){return S0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},S0(e,t)}function eZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nZ(e){var t=tZ();return function(){var n=Of(e),o;if(t){var i=Of(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YJ(this,o)}}var wE=function(e){ZJ(r,e);var t=nZ(r);function r(n){JJ(this,r);var o;return o=t.call(this,n),R0(OE(o),"props",void 0),o.props=new $0(n==null?void 0:n.props),o}return r}(se);R0(wE,"controlType","text-column"),R0(wE,"controlFieldType",m.TEXT);function $t(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $E(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ht(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wf(e){return wf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wf(e)}function PE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&E0(e,t)}function rZ(e,t){return t&&(oZ(t)==="object"||typeof t=="function")?t:$t(e)}function E0(e,t){return E0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},E0(e,t)}function oZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RE(e){var t=iZ();return function(){var n=wf(e),o;if(t){var i=wf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rZ(this,o)}}var uZ=function(e){PE(r,e);var t=RE(r);function r(n){$E(this,r);var o;return o=t.call(this,n),Jt.call($t(o),n),o}return r}(pt),T0=function(e){PE(r,e);var t=RE(r);function r(n){$E(this,r);var o;o=t.call(this,n),Ht($t(o),"optionConfig",void 0),Ht($t(o),"datasourceBind",void 0),Ht($t(o),"showLinkOperation",void 0),Ht($t(o),"linkOperationOption",void 0),Ht($t(o),"options",void 0),Ht($t(o),"precision",void 0),Ht($t(o),"micrometer",void 0),Ht($t(o),"percentageFormat",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:hr.controlName;var u;o.precision=(u=n==null?void 0:n.precision)!==null&&u!==void 0?u:0;var c;o.micrometer=(c=n==null?void 0:n.micrometer)!==null&&c!==void 0?c:!1;var l;o.percentageFormat=(l=n==null?void 0:n.percentageFormat)!==null&&l!==void 0?l:!1;var a;o.optionConfig=(a=n==null?void 0:n.optionConfig)!==null&&a!==void 0?a:"none",o.datasourceBind=new ne(n==null?void 0:n.datasourceBind);var f;o.options=Tt((f=n==null?void 0:n.options)!==null&&f!==void 0?f:[{}]);var _;return o.showLinkOperation=(_=n==null?void 0:n.showLinkOperation)!==null&&_!==void 0?_:!1,o.linkOperationOption=new Et(n==null?void 0:n.linkOperationOption),o}return r}(Z);Ht(T0,"Rules",uZ);function SE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function EE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function lZ(e,t,r){return t&&EE(e.prototype,t),r&&EE(e,r),e}function dr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $f(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?$f=Reflect.get:$f=function(o,i,u){var c=sZ(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},$f(e,t,r||e)}function vr(e){return vr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vr(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&&I0(e,t)}function fZ(e,t){return t&&(_Z(t)==="object"||typeof t=="function")?t:SE(e)}function I0(e,t){return I0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},I0(e,t)}function sZ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=vr(e),e!==null););return e}function _Z(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pZ(e){var t=yZ();return function(){var n=vr(e),o;if(t){var i=vr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fZ(this,o)}}var hr=function(e){aZ(r,e);var t=pZ(r);function r(n){cZ(this,r);var o;return o=t.call(this,n),dr(SE(o),"props",void 0),o.props=new T0(n==null?void 0:n.props),o}return lZ(r,[{key:"toDataBindModel",value:function(o){var i=$f(vr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props,c=u.precision,l=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=l}return i}}]),r}(fe);dr(hr,"controlType","decimal-column"),dr(hr,"controlName","\u6570\u503C"),dr(hr,"controlIcon","decimal-column"),dr(hr,"controlFieldType",m.DECIMAL),dr(hr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[s.MICROMETER,s.PRECISION,s.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function TE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function B0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pf(e){return Pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pf(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&&A0(e,t)}function hZ(e,t){return t&&(bZ(t)==="object"||typeof t=="function")?t:TE(e)}function A0(e,t){return A0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},A0(e,t)}function bZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mZ(e){var t=gZ();return function(){var n=Pf(e),o;if(t){var i=Pf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hZ(this,o)}}var IE=function(e){vZ(r,e);var t=mZ(r);function r(n){dZ(this,r);var o;return o=t.call(this,n),B0(TE(o),"props",void 0),o.props=new T0(n==null?void 0:n.props),o}return r}(se);B0(IE,"controlType","decimal-column"),B0(IE,"controlFieldType",m.DECIMAL);function Co(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sf(e){return Sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sf(e)}function AE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&x0(e,t)}function OZ(e,t){return t&&(wZ(t)==="object"||typeof t=="function")?t:Co(e)}function x0(e,t){return x0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},x0(e,t)}function wZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $Z(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xE(e){var t=$Z();return function(){var n=Sf(e),o;if(t){var i=Sf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return OZ(this,o)}}var PZ=function(e){AE(r,e);var t=xE(r);function r(n){BE(this,r);var o;return o=t.call(this,n),Jt.call(Co(o),n),o}return r}(pt),k0=function(e){AE(r,e);var t=xE(r);function r(n){BE(this,r);var o;o=t.call(this,n),Rf(Co(o),"dateType",void 0),Rf(Co(o),"showLinkOperation",void 0),Rf(Co(o),"linkOperationOption",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:qt.DATE;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Et(n==null?void 0:n.linkOperationOption);var c;return o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:mr.controlName,o}return r}(Z);Rf(k0,"Rules",PZ);function kE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function SZ(e,t,r){return t&&DE(e.prototype,t),r&&DE(e,r),e}function br(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ef(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ef=Reflect.get:Ef=function(o,i,u){var c=IZ(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Ef(e,t,r||e)}function gr(e){return gr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gr(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&&D0(e,t)}function TZ(e,t){return t&&(BZ(t)==="object"||typeof t=="function")?t:kE(e)}function D0(e,t){return D0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},D0(e,t)}function IZ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=gr(e),e!==null););return e}function BZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xZ(e){var t=AZ();return function(){var n=gr(e),o;if(t){var i=gr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TZ(this,o)}}var mr=function(e){EZ(r,e);var t=xZ(r);function r(n){RZ(this,r);var o;return o=t.call(this,n),br(kE(o),"props",void 0),o.props=new k0(n==null?void 0:n.props),o}return SZ(r,[{key:"toDataBindModel",value:function(o){var i=Ef(gr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(fe);br(mr,"controlType","timescope-column"),br(mr,"controlName","\u65E5\u671F\u533A\u95F4"),br(mr,"controlIcon","timescope-column"),br(mr,"controlFieldType",m.TIMESCOPE),br(mr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}]);function NE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function N0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tf(e){return Tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tf(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&&F0(e,t)}function NZ(e,t){return t&&(FZ(t)==="object"||typeof t=="function")?t:NE(e)}function F0(e,t){return F0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},F0(e,t)}function FZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LZ(e){var t=jZ();return function(){var n=Tf(e),o;if(t){var i=Tf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return NZ(this,o)}}var FE=function(e){DZ(r,e);var t=LZ(r);function r(n){kZ(this,r);var o;return o=t.call(this,n),N0(NE(o),"props",void 0),o.props=new k0(n==null?void 0:n.props),o}return r}(se);N0(FE,"controlType","timescope-column"),N0(FE,"controlFieldType",m.TIMESCOPE);function Vo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function If(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bf(e){return Bf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bf(e)}function LE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&j0(e,t)}function MZ(e,t){return t&&(CZ(t)==="object"||typeof t=="function")?t:Vo(e)}function j0(e,t){return j0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},j0(e,t)}function CZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ME(e){var t=VZ();return function(){var n=Bf(e),o;if(t){var i=Bf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return MZ(this,o)}}var zZ=function(e){LE(r,e);var t=ME(r);function r(n){jE(this,r);var o;return o=t.call(this,n),Jt.call(Vo(o),n),o}return r}(pt),L0=function(e){LE(r,e);var t=ME(r);function r(n){jE(this,r);var o;o=t.call(this,n),If(Vo(o),"dateType",void 0),If(Vo(o),"showLinkOperation",void 0),If(Vo(o),"linkOperationOption",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:qt.DATE;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Et(n==null?void 0:n.linkOperationOption);var c;return o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:$r.controlName,o}return r}(Z);If(L0,"Rules",zZ);function CE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qZ(e,t,r){return t&&VE(e.prototype,t),r&&VE(e,r),e}function Or(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Af(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Af=Reflect.get:Af=function(o,i,u){var c=KZ(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Af(e,t,r||e)}function wr(e){return wr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wr(e)}function UZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&M0(e,t)}function WZ(e,t){return t&&(GZ(t)==="object"||typeof t=="function")?t:CE(e)}function M0(e,t){return M0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},M0(e,t)}function KZ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=wr(e),e!==null););return e}function GZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QZ(e){var t=XZ();return function(){var n=wr(e),o;if(t){var i=wr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WZ(this,o)}}var $r=function(e){UZ(r,e);var t=QZ(r);function r(n){HZ(this,r);var o;return o=t.call(this,n),Or(CE(o),"props",void 0),o.props=new L0(n==null?void 0:n.props),o}return qZ(r,[{key:"toDataBindModel",value:function(o){var i=Af(wr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(fe);Or($r,"controlType","timestamp-column"),Or($r,"controlName","\u65E5\u671F"),Or($r,"controlIcon","timestamp-column"),Or($r,"controlFieldType",m.TIMESTAMP),Or($r,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}]);function zE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xf(e){return xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xf(e)}function ZZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&V0(e,t)}function YZ(e,t){return t&&(eY(t)==="object"||typeof t=="function")?t:zE(e)}function V0(e,t){return V0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},V0(e,t)}function eY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nY(e){var t=tY();return function(){var n=xf(e),o;if(t){var i=xf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YZ(this,o)}}var HE=function(e){ZZ(r,e);var t=nY(r);function r(n){JZ(this,r);var o;return o=t.call(this,n),C0(zE(o),"props",void 0),o.props=new L0(n==null?void 0:n.props),o}return r}(se);C0(HE,"controlType","timestamp-column"),C0(HE,"controlFieldType",m.TIMESTAMP);function Sn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kf(e){return kf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kf(e)}function UE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&z0(e,t)}function rY(e,t){return t&&(oY(t)==="object"||typeof t=="function")?t:Sn(e)}function z0(e,t){return z0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},z0(e,t)}function oY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WE(e){var t=iY();return function(){var n=kf(e),o;if(t){var i=kf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rY(this,o)}}var uY=function(e){UE(r,e);var t=WE(r);function r(n){qE(this,r);var o;return o=t.call(this,n),Jt.call(Sn(o),n),o}return r}(lm),H0=function(e){UE(r,e);var t=WE(r);function r(n){qE(this,r);var o;o=t.call(this,n),Pr(Sn(o),"optionConfig",void 0),Pr(Sn(o),"datasourceBind",void 0),Pr(Sn(o),"showLinkOperation",void 0),Pr(Sn(o),"linkOperationOption",void 0),Pr(Sn(o),"options",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Sr.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new ne(n==null?void 0:n.datasourceBind);var c;o.showLinkOperation=(c=n==null?void 0:n.showLinkOperation)!==null&&c!==void 0?c:!1,o.linkOperationOption=new Et(n==null?void 0:n.linkOperationOption);var l;return o.options=Tt((l=n==null?void 0:n.options)!==null&&l!==void 0?l:[{}]),o}return r}(Z);Pr(H0,"Rules",uY);function KE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Df(e){return Df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Df(e)}function lY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&q0(e,t)}function aY(e,t){return t&&(fY(t)==="object"||typeof t=="function")?t:KE(e)}function q0(e,t){return q0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},q0(e,t)}function fY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _Y(e){var t=sY();return function(){var n=Df(e),o;if(t){var i=Df(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aY(this,o)}}var Sr=function(e){lY(r,e);var t=_Y(r);function r(n){cY(this,r);var o;return o=t.call(this,n),Rr(KE(o),"props",void 0),o.props=new H0(n==null?void 0:n.props),o}return r}(fe);Rr(Sr,"controlType","array-column"),Rr(Sr,"controlName","\u6570\u7EC4"),Rr(Sr,"controlIcon","array-column"),Rr(Sr,"controlFieldType",m.ARRAY),Rr(Sr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}]);function GE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function U0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nf(e){return Nf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nf(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&&W0(e,t)}function dY(e,t){return t&&(vY(t)==="object"||typeof t=="function")?t:GE(e)}function W0(e,t){return W0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},W0(e,t)}function vY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bY(e){var t=hY();return function(){var n=Nf(e),o;if(t){var i=Nf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dY(this,o)}}var XE=function(e){pY(r,e);var t=bY(r);function r(n){yY(this,r);var o;return o=t.call(this,n),U0(GE(o),"props",void 0),o.props=new H0(n==null?void 0:n.props),o}return r}(se);U0(XE,"controlType","array-column"),U0(XE,"controlFieldType",m.ARRAY);function QE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mY(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ff(e){return Ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ff(e)}function OY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&K0(e,t)}function wY(e,t){return t&&($Y(t)==="object"||typeof t=="function")?t:QE(e)}function K0(e,t){return K0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},K0(e,t)}function $Y(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RY(e){var t=PY();return function(){var n=Ff(e),o;if(t){var i=Ff(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wY(this,o)}}var JE=function(e){OY(r,e);var t=RY(r);function r(n){gY(this,r);var o;o=t.call(this,n),mY(QE(o),"displayLevel",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Ir.controlName;var u;return o.displayLevel=(u=n==null?void 0:n.displayLevel)!==null&&u!==void 0?u:1,o}return r}(Z);function ZE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function EY(e,t,r){return t&&YE(e.prototype,t),r&&YE(e,r),e}function Er(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?jf=Reflect.get:jf=function(o,i,u){var c=BY(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},jf(e,t,r||e)}function Tr(e){return Tr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tr(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&&G0(e,t)}function IY(e,t){return t&&(AY(t)==="object"||typeof t=="function")?t:ZE(e)}function G0(e,t){return G0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},G0(e,t)}function BY(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Tr(e),e!==null););return e}function AY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kY(e){var t=xY();return function(){var n=Tr(e),o;if(t){var i=Tr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return IY(this,o)}}var Ir=function(e){TY(r,e);var t=kY(r);function r(n){SY(this,r);var o;return o=t.call(this,n),Er(ZE(o),"props",void 0),o.props=new JE(n==null?void 0:n.props),o}return EY(r,[{key:"toDataBindModel",value:function(o){var i=jf(Tr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.displayLevel;i.props.displayLevel=u}return i}}]),r}(fe);Er(Ir,"controlType","department-column"),Er(Ir,"controlName","\u90E8\u95E8"),Er(Ir,"controlIcon","department-column"),Er(Ir,"controlFieldType",m.DEPARTMENTS),Er(Ir,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}]);function eT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function X0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lf(e){return Lf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lf(e)}function NY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Q0(e,t)}function FY(e,t){return t&&(jY(t)==="object"||typeof t=="function")?t:eT(e)}function Q0(e,t){return Q0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Q0(e,t)}function jY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MY(e){var t=LY();return function(){var n=Lf(e),o;if(t){var i=Lf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FY(this,o)}}var tT=function(e){NY(r,e);var t=MY(r);function r(n){DY(this,r);var o;return o=t.call(this,n),X0(eT(o),"props",void 0),o.props=new JE(n==null?void 0:n.props),o}return r}(se);X0(tT,"controlType","department-column"),X0(tT,"controlFieldType",m.DEPARTMENTS);function Mf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cf(e){return Cf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cf(e)}function rT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Z0(e,t)}function CY(e,t){return t&&(VY(t)==="object"||typeof t=="function")?t:Mf(e)}function Z0(e,t){return Z0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Z0(e,t)}function VY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oT(e){var t=zY();return function(){var n=Cf(e),o;if(t){var i=Cf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return CY(this,o)}}var HY=function(e){rT(r,e);var t=oT(r);function r(n){nT(this,r);var o;return o=t.call(this,n),Jt.call(Mf(o),n),o}return r}(pt),Y0=function(e){rT(r,e);var t=oT(r);function r(n){nT(this,r);var o;o=t.call(this,n),J0(Mf(o),"showLinkOperation",void 0),J0(Mf(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Ar.controlName;var u;return o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Et(n==null?void 0:n.linkOperationOption),o}return r}(Z);J0(Y0,"Rules",HY);function iT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Br(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vf(e){return Vf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vf(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&&eb(e,t)}function WY(e,t){return t&&(KY(t)==="object"||typeof t=="function")?t:iT(e)}function eb(e,t){return eb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eb(e,t)}function KY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XY(e){var t=GY();return function(){var n=Vf(e),o;if(t){var i=Vf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WY(this,o)}}var Ar=function(e){UY(r,e);var t=XY(r);function r(n){qY(this,r);var o;return o=t.call(this,n),Br(iT(o),"props",void 0),o.props=new Y0(n==null?void 0:n.props),o}return r}(fe);Br(Ar,"controlType","auto-number-column"),Br(Ar,"controlName","\u81EA\u52A8\u7F16\u53F7"),Br(Ar,"controlIcon","auto-number-column"),Br(Ar,"controlFieldType",m.AUTO_NUMBER),Br(Ar,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}]);function uT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zf(e){return zf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zf(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&&nb(e,t)}function ZY(e,t){return t&&(YY(t)==="object"||typeof t=="function")?t:uT(e)}function nb(e,t){return nb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nb(e,t)}function YY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tee(e){var t=eee();return function(){var n=zf(e),o;if(t){var i=zf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZY(this,o)}}var cT=function(e){JY(r,e);var t=tee(r);function r(n){QY(this,r);var o;return o=t.call(this,n),tb(uT(o),"props",void 0),o.props=new Y0(n==null?void 0:n.props),o}return r}(se);tb(cT,"controlType","auto-number-column"),tb(cT,"controlFieldType",m.AUTO_NUMBER);function nee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ree(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hf(e){return Hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hf(e)}function oee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rb(e,t)}function iee(e,t){return t&&(uee(t)==="object"||typeof t=="function")?t:nee(e)}function rb(e,t){return rb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rb(e,t)}function uee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lee(e){var t=cee();return function(){var n=Hf(e),o;if(t){var i=Hf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iee(this,o)}}var lT=function(e){oee(r,e);var t=lee(r);function r(n){ree(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:kr.controlName,o}return r}(Z);function aT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qf(e){return qf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qf(e)}function fee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ob(e,t)}function see(e,t){return t&&(_ee(t)==="object"||typeof t=="function")?t:aT(e)}function ob(e,t){return ob=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ob(e,t)}function _ee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pee(e){var t=yee();return function(){var n=qf(e),o;if(t){var i=qf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return see(this,o)}}var kr=function(e){fee(r,e);var t=pee(r);function r(n){aee(this,r);var o;return o=t.call(this,n),xr(aT(o),"props",void 0),o.props=new lT(n==null?void 0:n.props),o}return r}(fe);xr(kr,"controlType","file-column"),xr(kr,"controlName","\u9644\u4EF6"),xr(kr,"controlIcon","file-column"),xr(kr,"controlFieldType",m.FILE),xr(kr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function fT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ib(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Uf(e){return Uf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uf(e)}function vee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ub(e,t)}function hee(e,t){return t&&(bee(t)==="object"||typeof t=="function")?t:fT(e)}function ub(e,t){return ub=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ub(e,t)}function bee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mee(e){var t=gee();return function(){var n=Uf(e),o;if(t){var i=Uf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hee(this,o)}}var sT=function(e){vee(r,e);var t=mee(r);function r(n){dee(this,r);var o;return o=t.call(this,n),ib(fT(o),"props",void 0),o.props=new lT(n==null?void 0:n.props),o}return r}(se);ib(sT,"controlType","file-column"),ib(sT,"controlFieldType",m.FILE);function Oee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wf(e){return Wf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wf(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&&cb(e,t)}function Pee(e,t){return t&&(Ree(t)==="object"||typeof t=="function")?t:Oee(e)}function cb(e,t){return cb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cb(e,t)}function Ree(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function See(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Eee(e){var t=See();return function(){var n=Wf(e),o;if(t){var i=Wf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Pee(this,o)}}var _T=function(e){$ee(r,e);var t=Eee(r);function r(n){wee(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Nr.controlName,o}return r}(Z);function yT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kf(e){return Kf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kf(e)}function Iee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lb(e,t)}function Bee(e,t){return t&&(Aee(t)==="object"||typeof t=="function")?t:yT(e)}function lb(e,t){return lb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lb(e,t)}function Aee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kee(e){var t=xee();return function(){var n=Kf(e),o;if(t){var i=Kf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Bee(this,o)}}var Nr=function(e){Iee(r,e);var t=kee(r);function r(n){Tee(this,r);var o;return o=t.call(this,n),Dr(yT(o),"props",void 0),o.props=new _T(n==null?void 0:n.props),o}return r}(fe);Dr(Nr,"controlType","image-column"),Dr(Nr,"controlName","\u56FE\u7247"),Dr(Nr,"controlIcon","image-column"),Dr(Nr,"controlFieldType",m.IMAGE),Dr(Nr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function pT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ab(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gf(e){return Gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gf(e)}function Nee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fb(e,t)}function Fee(e,t){return t&&(jee(t)==="object"||typeof t=="function")?t:pT(e)}function fb(e,t){return fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fb(e,t)}function jee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mee(e){var t=Lee();return function(){var n=Gf(e),o;if(t){var i=Gf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Fee(this,o)}}var dT=function(e){Nee(r,e);var t=Mee(r);function r(n){Dee(this,r);var o;return o=t.call(this,n),ab(pT(o),"props",void 0),o.props=new _T(n==null?void 0:n.props),o}return r}(se);ab(dT,"controlType","image-column"),ab(dT,"controlFieldType",m.IMAGE);function Cee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xf(e){return Xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xf(e)}function zee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sb(e,t)}function Hee(e,t){return t&&(qee(t)==="object"||typeof t=="function")?t:Cee(e)}function sb(e,t){return sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sb(e,t)}function qee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Uee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wee(e){var t=Uee();return function(){var n=Xf(e),o;if(t){var i=Xf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Hee(this,o)}}var vT=function(e){zee(r,e);var t=Wee(r);function r(n){Vee(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:jr.controlName,o}return r}(Z);function hT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qf(e){return Qf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qf(e)}function Gee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_b(e,t)}function Xee(e,t){return t&&(Qee(t)==="object"||typeof t=="function")?t:hT(e)}function _b(e,t){return _b=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_b(e,t)}function Qee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zee(e){var t=Jee();return function(){var n=Qf(e),o;if(t){var i=Qf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xee(this,o)}}var jr=function(e){Gee(r,e);var t=Zee(r);function r(n){Kee(this,r);var o;return o=t.call(this,n),Fr(hT(o),"props",void 0),o.props=new vT(n==null?void 0:n.props),o}return r}(fe);Fr(jr,"controlType","people-column"),Fr(jr,"controlName","\u4EBA\u5458"),Fr(jr,"controlIcon","people-column"),Fr(jr,"controlFieldType",m.EMPLOYEES),Fr(jr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function bT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jf(e){return Jf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jf(e)}function ete(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pb(e,t)}function tte(e,t){return t&&(nte(t)==="object"||typeof t=="function")?t:bT(e)}function pb(e,t){return pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pb(e,t)}function nte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ote(e){var t=rte();return function(){var n=Jf(e),o;if(t){var i=Jf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tte(this,o)}}var gT=function(e){ete(r,e);var t=ote(r);function r(n){Yee(this,r);var o;return o=t.call(this,n),yb(bT(o),"props",void 0),o.props=new vT(n==null?void 0:n.props),o}return r}(se);yb(gT,"controlType","people-column"),yb(gT,"controlFieldType",m.EMPLOYEES);function Zf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function db(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yf(e){return Yf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yf(e)}function OT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vb(e,t)}function ite(e,t){return t&&(ute(t)==="object"||typeof t=="function")?t:Zf(e)}function vb(e,t){return vb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vb(e,t)}function ute(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wT(e){var t=cte();return function(){var n=Yf(e),o;if(t){var i=Yf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ite(this,o)}}var lte=function(e){OT(r,e);var t=wT(r);function r(n){mT(this,r);var o;return o=t.call(this,n),Jt.call(Zf(o),n),o}return r}(pt),hb=function(e){OT(r,e);var t=wT(r);function r(n){mT(this,r);var o;o=t.call(this,n),db(Zf(o),"showLinkOperation",void 0),db(Zf(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Mr.controlName;var u;return o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Et(n==null?void 0:n.linkOperationOption),o}return r}(Z);db(hb,"Rules",lte);function $T(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ate(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function es(e){return es=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},es(e)}function fte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bb(e,t)}function ste(e,t){return t&&(_te(t)==="object"||typeof t=="function")?t:$T(e)}function bb(e,t){return bb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bb(e,t)}function _te(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pte(e){var t=yte();return function(){var n=es(e),o;if(t){var i=es(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ste(this,o)}}var Mr=function(e){fte(r,e);var t=pte(r);function r(n){ate(this,r);var o;return o=t.call(this,n),Lr($T(o),"props",void 0),o.props=new hb(n==null?void 0:n.props),o}return r}(fe);Lr(Mr,"controlType","location-column"),Lr(Mr,"controlName","\u5730\u5740"),Lr(Mr,"controlIcon","location-column"),Lr(Mr,"controlFieldType",m.ADDRESS),Lr(Mr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}]);function PT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ts(e){return ts=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ts(e)}function vte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mb(e,t)}function hte(e,t){return t&&(bte(t)==="object"||typeof t=="function")?t:PT(e)}function mb(e,t){return mb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mb(e,t)}function bte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mte(e){var t=gte();return function(){var n=ts(e),o;if(t){var i=ts(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hte(this,o)}}var RT=function(e){vte(r,e);var t=mte(r);function r(n){dte(this,r);var o;return o=t.call(this,n),gb(PT(o),"props",void 0),o.props=new hb(n==null?void 0:n.props),o}return r}(se);gb(RT,"controlType","location-column"),gb(RT,"controlFieldType",m.ADDRESS);function ns(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ST(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rs(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function os(e){return os=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},os(e)}function 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&&Ob(e,t)}function Ote(e,t){return t&&(wte(t)==="object"||typeof t=="function")?t:ns(e)}function Ob(e,t){return Ob=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ob(e,t)}function wte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $te(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TT(e){var t=$te();return function(){var n=os(e),o;if(t){var i=os(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ote(this,o)}}var Pte=function(e){ET(r,e);var t=TT(r);function r(n){ST(this,r);var o;return o=t.call(this,n),rs(ns(o),"sortFieldCode",{type:"string",message:h.getMessage("pleaseSelectSortFieldCode")}),n.sort===!0&&(o.sortFieldCode.required=!0),o}return r}(pt),wb=function(e){ET(r,e);var t=TT(r);function r(n){ST(this,r);var o;o=t.call(this,n),rs(ns(o),"fieldCodeList",void 0),rs(ns(o),"sortFieldCode",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:sn.controlName;var u;o.fieldCodeList=(u=n==null?void 0:n.fieldCodeList)!==null&&u!==void 0?u:[];var c;return o.sortFieldCode=(c=n==null?void 0:n.sortFieldCode)!==null&&c!==void 0?c:"",o}return r}(Z);rs(wb,"Rules",Pte);function Cr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ste(e,t,r){return t&&IT(e.prototype,t),r&&IT(e,r),e}function st(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function is(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?is=Reflect.get:is=function(o,i,u){var c=Bte(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},is(e,t,r||e)}function Vr(e){return Vr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vr(e)}function Ete(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Tte(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Ite(e,t){return t&&(Ate(t)==="object"||typeof t=="function")?t:Cr(e)}function $b(e,t){return $b=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$b(e,t)}function Bte(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Vr(e),e!==null););return e}function Ate(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kte(e){var t=xte();return function(){var n=Vr(e),o;if(t){var i=Vr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ite(this,o)}}var Dte=1,sn=function(t){Ete(n,t);var r=kte(n);function n(o){Rte(this,n);var i;i=r.call(this,o),st(Cr(i),"excludes",void 0),st(Cr(i),"childrenMaxLength",void 0),st(Cr(i),"props",void 0),st(Cr(i),"children",void 0);var u=Tte(this,n)?this.constructor:void 0,c=u.excludes,l=u.childrenMaxLength;return i.props=new wb(o==null?void 0:o.props),St(Cr(i),"children",o==null?void 0:o.children,void 0,"Designer"),i.excludes=Je(c),i.childrenMaxLength=l,i}return Ste(n,[{key:"judgeJoinChildren",value:function(i){var u=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i);return u&&this.childrenMaxLength>this.children.length}},{key:"toDataBindModel",value:function(i){var u=is(Vr(n.prototype),"toDataBindModel",this).call(this,i);if(u){var c=this.props.fieldCodeList;u.props.fieldCodeList=c}return u}}]),n}(fe);st(sn,"controlType","custom-column"),st(sn,"controlName","\u81EA\u5B9A\u4E49"),st(sn,"controlIcon","custom-column"),st(sn,"slots",["column-column-slot"]),st(sn,"excludes",[]),st(sn,"childrenMaxLength",Dte),st(sn,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0}]);function us(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cs(e){return cs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cs(e)}function Fte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rb(e,t)}function jte(e,t){return t&&(Lte(t)==="object"||typeof t=="function")?t:us(e)}function Rb(e,t){return Rb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rb(e,t)}function Lte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Mte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Cte(e){var t=Mte();return function(){var n=cs(e),o;if(t){var i=cs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jte(this,o)}}var Vte=function(e){Fte(r,e);var t=Cte(r);function r(n){Nte(this,r);var o;return o=t.call(this,n),Pb(us(o),"props",void 0),Pb(us(o),"children",void 0),o.props=new wb(n==null?void 0:n.props),St(us(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(se);Pb(Vte,"controlType","custom-column");function BT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hte(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ls(e){return ls=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ls(e)}function qte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sb(e,t)}function Ute(e,t){return t&&(Wte(t)==="object"||typeof t=="function")?t:BT(e)}function Sb(e,t){return Sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sb(e,t)}function Wte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Kte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gte(e){var t=Kte();return function(){var n=ls(e),o;if(t){var i=ls(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ute(this,o)}}var AT=function(e){qte(r,e);var t=Gte(r);function r(n){zte(this,r);var o;o=t.call(this,n),Hte(BT(o),"datasourceBind",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:En.controlName;var u;return o.datasourceBind=new Xo((u=n==null?void 0:n.datasourceBind)!==null&&u!==void 0?u:{attributes:En.controlCustomAttributes}),o}return r}(Z);function xT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Qte(e,t,r){return t&&kT(e.prototype,t),r&&kT(e,r),e}function zr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function as(e){return as=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},as(e)}function Jte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Eb(e,t)}function Zte(e,t){return t&&(Yte(t)==="object"||typeof t=="function")?t:xT(e)}function Eb(e,t){return Eb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eb(e,t)}function Yte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ene(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tne(e){var t=ene();return function(){var n=as(e),o;if(t){var i=as(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Zte(this,o)}}var En=function(e){Jte(r,e);var t=tne(r);function r(n){Xte(this,r);var o;return o=t.call(this,n),zr(xT(o),"props",void 0),o.props=new AT(n==null?void 0:n.props),o}return Qte(r,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(fe);zr(En,"controlType","employee-column"),zr(En,"controlName","\u4EBA\u5458"),zr(En,"controlIcon","employee-column"),zr(En,"controlFieldType",m.EMPLOYEES),zr(En,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function DT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fs(e){return fs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fs(e)}function rne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ib(e,t)}function one(e,t){return t&&(ine(t)==="object"||typeof t=="function")?t:DT(e)}function Ib(e,t){return Ib=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ib(e,t)}function ine(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function une(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cne(e){var t=une();return function(){var n=fs(e),o;if(t){var i=fs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return one(this,o)}}var NT=function(e){rne(r,e);var t=cne(r);function r(n){nne(this,r);var o;return o=t.call(this,n),Tb(DT(o),"props",void 0),o.props=new AT(n==null?void 0:n.props),o}return r}(se);Tb(NT,"controlType","employee-column"),Tb(NT,"controlFieldType",m.EMPLOYEES);function ss(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _s(e){return _s=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_s(e)}function ane(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ab(e,t)}function fne(e,t){return t&&(sne(t)==="object"||typeof t=="function")?t:ss(e)}function Ab(e,t){return Ab=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ab(e,t)}function sne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _ne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yne(e){var t=_ne();return function(){var n=_s(e),o;if(t){var i=_s(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fne(this,o)}}var FT=function(e){ane(r,e);var t=yne(r);function r(n){lne(this,r);var o;o=t.call(this,n),Bb(ss(o),"lineEllipsis",void 0),Bb(ss(o),"showLinkOperation",void 0),Bb(ss(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Hr.controlName;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Et(n==null?void 0:n.linkOperationOption);var c;return o.lineEllipsis=(c=n==null?void 0:n.lineEllipsis)!==null&&c!==void 0?c:1,o}return r}(Z);function xb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ys(e){return ys=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ys(e)}function dne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kb(e,t)}function vne(e,t){return t&&(hne(t)==="object"||typeof t=="function")?t:xb(e)}function kb(e,t){return kb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kb(e,t)}function hne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gne(e){var t=bne();return function(){var n=ys(e),o;if(t){var i=ys(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vne(this,o)}}var Hr=function(e){dne(r,e);var t=gne(r);function r(n){pne(this,r);var o;return o=t.call(this,n),Tn(xb(o),"props",void 0),Tn(xb(o),"children",void 0),o.props=new FT(n==null?void 0:n.props),o}return r}(fe);Tn(Hr,"controlType","approval-status-column"),Tn(Hr,"controlName","\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),Tn(Hr,"controlIcon","approval-status-column"),Tn(Hr,"excludes",[]),Tn(Hr,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0}]);function Db(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ps(e){return ps=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ps(e)}function One(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fb(e,t)}function wne(e,t){return t&&($ne(t)==="object"||typeof t=="function")?t:Db(e)}function Fb(e,t){return Fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fb(e,t)}function $ne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Rne(e){var t=Pne();return function(){var n=ps(e),o;if(t){var i=ps(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wne(this,o)}}var Sne=function(e){One(r,e);var t=Rne(r);function r(n){mne(this,r);var o;return o=t.call(this,n),Nb(Db(o),"props",void 0),Nb(Db(o),"children",void 0),o.props=new FT(n==null?void 0:n.props),o}return r}(se);Nb(Sne,"controlType","approval-status-column");function ze(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function He(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ds(e){return ds=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ds(e)}function LT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jb(e,t)}function Ene(e,t){return t&&(Tne(t)==="object"||typeof t=="function")?t:ze(e)}function jb(e,t){return jb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jb(e,t)}function Tne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ine(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MT(e){var t=Ine();return function(){var n=ds(e),o;if(t){var i=ds(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ene(this,o)}}var Bne=function(e){LT(r,e);var t=MT(r);function r(n){jT(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(pn),Lb=function(e){LT(r,e);var t=MT(r);function r(n){jT(this,r);var o;o=t.call(this,n),He(ze(o),"search",void 0),He(ze(o),"cancel",void 0),He(ze(o),"searchType",void 0),He(ze(o),"labelPosition",void 0),He(ze(o),"viewType",void 0),He(ze(o),"isLoading",void 0),He(ze(o),"custom",void 0),He(ze(o),"queryTypeMap",void 0),He(ze(o),"childMinWidth",void 0),He(ze(o),"colGap",void 0),He(ze(o),"viewConfig",void 0),He(ze(o),"simpleConfig",void 0);var i;o.searchType=(i=n==null?void 0:n.searchType)!==null&&i!==void 0?i:"model";var u;o.labelPosition=(u=n==null?void 0:n.labelPosition)!==null&&u!==void 0?u:"top";var c;o.viewType=(c=n==null?void 0:n.viewType)!==null&&c!==void 0?c:"mini";var l;o.search=new Wt((l=n==null?void 0:n.search)!==null&&l!==void 0?l:{content:"\u67E5\u8BE2",isShow:!0});var a;o.cancel=new Wt((a=n==null?void 0:n.cancel)!==null&&a!==void 0?a:{content:"\u91CD\u7F6E",isShow:!0});var f;o.isLoading=(f=n==null?void 0:n.isLoading)!==null&&f!==void 0?f:!1;var _;o.custom=((_=n==null?void 0:n.custom)!==null&&_!==void 0?_:[]).map(function(d){return new Wt(d)});var p;o.queryTypeMap=(p=n==null?void 0:n.queryTypeMap)!==null&&p!==void 0?p:[];var g;o.childMinWidth=(g=n==null?void 0:n.childMinWidth)!==null&&g!==void 0?g:230;var O;o.colGap=(O=n==null?void 0:n.colGap)!==null&&O!==void 0?O:24;var b;o.viewConfig=(b=n==null?void 0:n.viewConfig)!==null&&b!==void 0?b:[];var w;return o.simpleConfig=(w=n==null?void 0:n.simpleConfig)!==null&&w!==void 0?w:[],o}return r}(R_);He(Lb,"RuntimeRules",Bne);function CT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ane(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vs(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hs(e){return hs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hs(e)}function xne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mb(e,t)}function kne(e,t){return t&&(Dne(t)==="object"||typeof t=="function")?t:CT(e)}function Mb(e,t){return Mb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mb(e,t)}function Dne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fne(e){var t=Nne();return function(){var n=hs(e),o;if(t){var i=hs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kne(this,o)}}var Cb=function(e){xne(r,e);var t=Fne(r);function r(n){Ane(this,r);var o;return o=t.call(this,n),vs(CT(o),"props",void 0),o.props=new Lb(n==null?void 0:n.props),o}return r}(uD);vs(Cb,"controlType","simple-search"),vs(Cb,"slotPosition",{default:"search"}),vs(Cb,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0},{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"search-view-type",visible:!0}]);function Vb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bs(e){return bs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bs(e)}function Lne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hb(e,t)}function Mne(e,t){return t&&(Cne(t)==="object"||typeof t=="function")?t:Vb(e)}function Hb(e,t){return Hb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hb(e,t)}function Cne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zne(e){var t=Vne();return function(){var n=bs(e),o;if(t){var i=bs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Mne(this,o)}}var Hne=function(e){Lne(r,e);var t=zne(r);function r(n){jne(this,r);var o;o=t.call(this,n),zb(Vb(o),"props",void 0),zb(Vb(o),"children",void 0),o.props=new Lb(n==null?void 0:n.props);var i;return o.children=(i=n==null?void 0:n.children)!==null&&i!==void 0?i:[],o}return r}(yD);zb(Hne,"controlType","simple-search");const qne=(e,t)=>{const r=Array.isArray(e),n=r?e:[e];nre(t==null?void 0:t.events),Qne(n),Jne(n);const o=Xne(n),i=Zne(o,t);let u=yn(z(i,c=>Gne(c,t)));return r?u:u[0]},Une=[y.DIVIDER,y.TEXT,y.TITLE,y.LINK,y.BUTTON,"list-btn-export-list","list-btn-export-record"],Wne=["subtable","grid-table"],Kne=["simple-search"];function Gne(e,t){var o,i,u,c,l,a;let r=e;if(r.controlType||(r.is_layout_control===!0?r.controlType="layout":Une.includes(r.type)?r.controlType="base":r.controlType="form",Wne.includes(r.type)&&(r.controlType="list"),Kne.includes(r.type)&&(r.controlType="search-view")),delete r.is_layout_control,e.props.lable_position&&(e.props.labelPosition=e.props.lable_position),e.props.select_mode&&(e.props.optionsFormat=e.props.select_mode),e.props.value&&(e.props.defaultValue=e.props.value),we((o=e==null?void 0:e.props)==null?void 0:o.caption)&&(r.props.caption=e.props.caption.zh),we((i=e==null?void 0:e.props)==null?void 0:i.placeholder)&&(r.props.placeholder=e.props.placeholder.zh),we((u=e==null?void 0:e.props)==null?void 0:u.placeholder_end)&&(r.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(r.type="department",e.props.value.length&&(r.props.default_value=e.props.value),r.props.showType=e.props.show_tree?"tree":"default",r.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(r.type="auto-number",r.props.defaultValue=e.props.value),e.type==="file"&&(r.type="attachment",r.props.attachmentAccept=(c=e.attachment_format)==null?void 0:c.split(","),r.props.showType=e.props.show_type==="title"?"default":"table"),e.type==="image"&&(r.props.attachmentAccept=(l=e.attachment_format)==null?void 0:l.split(",")),e.type==="date-pick"&&(r.type="date-picker"),e.type==="rich-text"&&(we(e.props.value)?r.props.defaultValue=e.props.value.zh:r.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(we(e.props.value)?r.props.content=e.props.value.zh:r.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(r.props.showState="image"),e.type==="user-search"&&(r.type="employee",r.props.defaultValue=e.props.value),e.type==="address"&&(r.props.addressType=e.props.address_type_value),r.type==="subtable"){const f=r.props.entry_type||r.props.entryType;r.props.openType=f==="subpage"?"modal":"default",((a=r.children[0])==null?void 0:a.type)==="subtable-row"&&r.props.headers&&(r.props.headers=r.props.headers.map((_,p)=>{const g=new bK.Designer;g.props.caption=we(_.field_name)?_.field_name.zh:_.field_name;const O=g.toSchema();O.id=_.header_id;const b=r.children[0].children[p].children[0];return b&&(O.children=[b]),O}),r.children=[])}if(r.type==="subtable-cell"&&(r.type="subtable-column"),["radio","checkbox","select","select-multiple"].includes(e.type)&&(e.props.options.map(f=>{f.label=we(f.text)?f.text.zh:f.text,f.id=f.id||f.opt_id||f.optId||f.data_id}),r=e),e.type==="grid-row"){const f=24/r.children.length;r.children=r.children.map(_=>{const p=new HR.Designer;p.props.span=f;const g=p.toSchema();return g.children.push(_),g})}if(e.type==="grid-layout-row"&&(r.type="row"),e.type==="grid-layout-col"&&(r.type="col"),e.type==="group-panel"&&(r.type="card-group",r.props.collapse=r.props.flod==="no"?"none":r.props.flod),e.type==="tabs-pane"&&(r.type="tab-pane"),e.type==="calc"){const f=r==null?void 0:r.children[0],_=r==null?void 0:r.children[1],p={};f&&(VT(r,t),p.result=f.props.data_bind,r.id=f.id,r.props=f.props,r.props.script_src=f.props.script_src,r.props.script_echo=f.props.script_echo,r.props.precision=f.props.precision,r.props.micrometer=f.props.is_show_money,r.props.showUpperCase=f.props.is_show_chn),_&&(p.unit=_.props.data_bind,r.props.default_value={unit:_.props.value}),r.props.dataBind=p,delete r.children}if(e.type==="amount-currency"){r.type="amount",r.controlType="form";const f=r==null?void 0:r.children[0],_=r==null?void 0:r.children[1],p={},g={};f&&(VT(r,t),r.id=f.id,p.amount=f.props.data_bind,r.props.range_min=xn(f.props.range_min),r.props.range_max=xn(f.props.range_max),g.amount=xn(f.props.value),r.props.required=f.props.required,r.props.is_hide=f.props.is_hide,r.props.default_state=f.props.default_state,r.props.caption=we(f.props.caption)?f.props.caption.zh:f.props.caption,r.props.is_hide_caption=f.props.is_hide_caption,r.props.showUpperCase=f.props.is_show_chn),_&&(p.currency=_.props.data_bind,g.currency=_.props.value,r.props.datasourceBind=_.props.datasource_bind,r.props.options=_.props.options.map(O=>({label:O.text,value:O.value}))),r.props.dataBind=p,r.props.defaultValue=g,delete r.children}if(e.type==="date-range"){r.controlType="form";const f=r==null?void 0:r.children[0],_=r==null?void 0:r.children[1];r.props.placeholderStart=we(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,r.props.caption=we(e.props.caption)?e.props.caption.zh:e.props.caption;const p={};f&&(p.min=f.props.data_bind),_&&(p.max=_.props.data_bind),r.props.dataBind=p,delete r.children}return e.type==="score"&&(r.props.defaultValue=r.props.value*1),["input","textarea"].includes(e.type)&&(r.props.defaultValue=we(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(r.props.range_min=xn(e.props.range_min),r.props.range_max=xn(e.props.range_max),r.props.defaultValue=xn(e.props.value)),e.type==="list-page-btn-custom-button"&&(e.type="button"),e.type==="button"&&e.props.button_type==="dashed"&&(r.props.buttonType="default"),rre(r,t==null?void 0:t.control_events),r}function VT(e,t){if(!t)return;const{displayBoList:r=[],behaviors:n=[]}=t,o=e.id,i=e.children[0].id;r.forEach(u=>{u.id===o&&(u.id=i);const c=u.show_controls.findIndex(a=>a===o),l=u.hide_controls.findIndex(a=>a===o);c>-1&&u.show_controls.splice(c,1,i),l>-1&&u.hide_controls.splice(l,1,i)}),n.forEach(u=>{u.ctrl_id===o&&(u.id=i)})}function Xne(e){if(!Array.isArray(e)||!e.find(o=>o.type==="grid"))return e;const n=new zX.Designer().toSchema();return n.children=e,[n]}function Qne(e){e.forEach(t=>{t.children&&tre(t.children)})}function Jne(e){e.forEach(t=>{var n,o;if(!(t&&t.children))return;const r=t.children;for(let i=0;i<r.length;i++){const u=r[i],c=(o=(n=r[i])==null?void 0:n.children)==null?void 0:o[0];u.type==="grid-row"&&c&&["group-panel","subtable","tab"].includes(c.type)&&r.splice(i,1,c)}})}function Zne(e,t){var g,O,b,w,d,$,P,S;if(!(Array.isArray(e)&&e.length===1))return e;const r=e[0];if(r.type!=="list-page")return e;const{props:n,children:o}=r,[i,u,c]=o;Yne(i),c.props.is_fixed_header=(g=n==null?void 0:n.source_config)==null?void 0:g.is_fixed_header,ere(c,u);const l=(b=(O=n==null?void 0:n.source_config)==null?void 0:O.data_code)!=null?b:t==null?void 0:t.dataCode,a=((d=(w=n==null?void 0:n.source_config)==null?void 0:w.svc_code)!=null?d:l)?`${l}_selectMore`:void 0,f=(P=($=n==null?void 0:n.source_config)==null?void 0:$.orders)!=null?P:[],_=new OX.Designer;_.props.datasourceBind=new ne({dataCode:l,svcCode:a,orders:RA(f)}),_.props.isShowSubList=n.is_show_sublist,_.props.triggerType=n.timing_type,_.props.triggerFieldCode=n.ctrl_field_code,(S=n==null?void 0:n.sublist_page)==null||S.sublists.forEach(E=>{E.title=we(E.title)?E.title.zh:E.title}),_.props.sublistPage=n.sublist_page;const p=_.toSchema();return p.children.push(i,c),[p]}function Yne(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(t=>{var n,o;const r=we(t.placeholder)?t.placeholder.zh:t.placeholder;t.type==="number-range"&&(t.type="search-number-range",t.placeholderStart=r,t.placeholderEnd=r),t.type==="date-pick"&&(t.type="search-date-range",t.placeholderStart=r,t.placeholderEnd=r,t.dateType=(o=(n=t.dateType)==null?void 0:n.replace)==null?void 0:o.call(n,/range$/)),(t.type==="automatic-number"||t.type==="auto-number")&&(t.type="search-input",t.props.defaultValue="")})}function ere(e,t){e.children=t.children.filter(r=>r.type!=="list-page-btn-custom-head"),e.type="grid-table",e.props.sublist_page&&(e.props.sublist_page.form_bind={data_code:e.props.sublist_page.data_code,form_key:e.props.sublist_page.form_key}),Array.isArray(e.props.headers)&&(e.props.headers=e.props.headers.map(r=>{var o,i,u;let n={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:r.field_code,field_name:we(r.field_name)?r.field_name.zh:r.field_name}};return n.props.caption=we(r.field_name)?r.field_name.zh:r.field_name,n.props.filter_tags=r.is_filter_tags,n.props.fixed=r.fixed,n.props.display_bo_list=r.display_bo_list,n.props.date_type=r.date_type,n.props.optionConfig="none",r.header_width_config&&(n.props.widthType=r.header_width_config==="1"?"auto":"px"),n.props.widthType==="px"&&r.header_width&&(n.props.width=Number(r.header_width)),r.table_header_type==="order"?(n.type="order-column",n.props.fixed=!0):r.table_header_type==="operation"?(n.type="operation-column",n.props.check=(o=r.check)!=null?o:{},n.props.check.openType="window",n.props.delete=(i=r.delete)!=null?i:{},n.props.delete.openType="window",n.props.edit=(u=r.edit)!=null?u:{},n.props.edit.openType="window",n.props.fixed=!0):(n.type=r.field_type+"-column",r.field_type==="auto_number"&&(n.type="auto-number-column"),r.field_type==="relation"&&(n.type="varchar-column")),r.convert_switch&&(n.props.optionConfig=r.convert_type===1?"datasource":"custom"),n.props.optionConfig==="datasource"?n.props.datasource_bind=new ne({svcCode:r.svc_code,displayBoList:r.display_bo_list,valueFieldCode:r.field_match,dataCode:r.field_source}):n.props.optionConfig==="custom"&&(n.props.options=r.custom_match_bo_list),n}))}function tre(e){var r;let t=null;for(let n=0;n<e.length;n++){const o=e[n];if(!!o){if(o.children&&((r=o.children[0])==null?void 0:r.type)==="group-panel"){t=o.children[0];continue}t&&(t.children.push(o),e.splice(n,1),n--)}}}function nre(e){!e||(e.did_mount=e.did_mount.map(t=>t.name),e.will_submit=e.will_submit.map(t=>t.name),e.did_submit=e.did_submit.map(t=>t.name))}function rre(e,t){var n;if(!t||!e.props.events)return;const r=Object.keys(e.props.events);!r.length||(r.forEach(o=>{!e.props.events[o].length||(t[e.id]||(t[e.id]={}),t[e.id][o]||(t[e.id][o]=[]),t[e.id][o].push(...e.props.events[o].map(i=>i.name)))}),(n=t[e.id])!=null&&n.on_blur&&(t[e.id].on_change||(t[e.id].on_change=[]),t[e.id].on_change.push(...t[e.id].on_blur)))}const ore=(e,t)=>{const r=Array.isArray(e);let o=yn(z(r?e:[e],i=>ire(i)));return r?o:o[0]};function ire(e,t){return e.type===y.LIST_VIEW&&e.children.find(n=>n.type===y.GRID_TABLE).props.headers.forEach(n=>{!n.props.data_bind&&n.props.field_code&&(n.props.data_bind=new et({dataCode:e.props.datasource_bind.data_code,fieldCode:n.props.field_code}))}),e}const ure=(e,t)=>{const r=Array.isArray(e);let o=yn(z(r?e:[e],i=>cre(i)));return r?o:o[0]};function cre(e,t){return[y.BUTTON,y.CREATE_FORM_LIST_BUTTON,y.BATCH_SUBMISSION_LIST_BUTTON,y.SUBMISSION_RECORD_LIST_BUTTON,y.IMPORT_RECORD_LIST_BUTTON,y.EXPORT_RECORD_LIST_BUTTON,y.EXPORT_LIST_BUTTON,y.FORM_SELECT_BUTTON,y.LIST_SELECT_BUTTON].includes(e.type)&&(e.props.button_type==="default"&&(e.props.button_type="secondary"),e.props.button_type==="danger"&&(e.props.button_type="secondary",e.props.color="danger"),e.props.icon||(e.props.icon="iconfenlei2")),e.type===y.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===y.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}const lre=(e,t)=>{const r=Array.isArray(e);let o=yn(z(r?e:[e],i=>are(i)));return r?o:o[0]};function are(e,t){if(e.props.icon){let r=e.props.icon;switch(r){case"icongeren":r="iconyyzy-renyuan";break;case"iconjine1":r="iconcaiwu";break;case"iconhuibao":r="iconyyzy-tianxie";break;case"iconwenjian":r="iconyyzy-wenjianjia1";break;case"iconyingpin":r="iconyyzy-gongzuo";break;case"iconpiliangtijiaojilu":r="iconyyzy-renwu";break}e.props.icon=r}return e}const fre=(e,t)=>{const r=Array.isArray(e);let o=yn(z(r?e:[e],i=>_re(i)));return r?o:o[0]},sre=[y.ROW,y.TAB,y.SUBTABLE,y.GRID_ROW,y.CARD_GROUP];function _re(e,t){return e.type===y.TAB_PANE&&(e.children=e.children.map(r=>{if(sre.includes(r.type))return r;const n=new qW.Designer,o=new HR.Designer;n.children.push(o);const i=n.toSchema();return i.children[0].children.push(r),i})),e}const yre=(e,t)=>{const r=Array.isArray(e);let o=yn(z(r?e:[e],i=>pre(i)));return r?o:o[0]};function pre(e,t){return e.type===y.GRID_TABLE&&e.props.headers.forEach(r=>{r.type===y.OPERATION_COLUMN&&(r.props.check.priorityProcess=!0)}),e}const dre=(e,t)=>{const r=Array.isArray(e);let o=z(r?e:[e],i=>vre(i));return r?o:o[0]};function vre(e,t){return e.type===y.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}const hre=(e,t)=>{const r=Array.isArray(e);let o=z(r?e:[e],i=>bre(i));return r?o:o[0]};function _n(e,t){e.field_code&&(e.field_type=t)}function bre(e,t){var n;const r={[y.TITLE]:m.AUTO_NUMBER,[y.ADDRESS]:m.ADDRESS,[y.ATTACHMENT]:m.FILE,[y.AUTO_NUMBER]:m.AUTO_NUMBER,[y.CHECKBOX]:m.ARRAY,[y.DATE_PICKER]:m.TIMESTAMP,[y.DEPARTMENT]:m.DEPARTMENTS,[y.DEPARTMENT2]:m.DEPARTMENTS,[y.EMPLOYEE]:m.EMPLOYEES,[y.EMPLOYEE2]:m.EMPLOYEES,[y.IMAGE]:m.IMAGE,[y.INPUT]:m.VARCHAR,[y.NUMBER]:m.DECIMAL,[y.RADIO]:m.VARCHAR,[y.RICH_TEXT]:m.TEXT,[y.SCORE]:m.DECIMAL,[y.SELECT]:m.VARCHAR,[y.SELECT_MULTIPLE]:m.ARRAY,[y.SELECT_RELATION]:m.VARCHAR,[y.TEXTAREA]:m.TEXT,[y.TREE]:m.ARRAY,[y.SEARCH_DATE_RANGE]:m.ARRAY,[y.SEARCH_INPUT]:m.VARCHAR,[y.SEARCH_NUMBER_RANGE]:m.ARRAY};return r.hasOwnProperty(e.type)&&_n(e.props.data_bind,r[e.type]),e.type===y.AMOUNT&&(_n(e.props.data_bind.amount,m.DECIMAL),_n(e.props.data_bind.currency,m.VARCHAR)),e.type===y.CALC&&(_n(e.props.data_bind.result,m.DECIMAL),_n(e.props.data_bind.unit,m.VARCHAR)),e.type===y.DATE_RANGE&&(_n(e.props.data_bind.min,m.TIMESTAMP),_n(e.props.data_bind.max,m.TIMESTAMP)),e.type===y.VUE_FORM_ITEM&&_n(e.props.data_bind,(n=e.field_type)!=null?n:m.ANY),e}const gre=(e,t)=>{const r=Array.isArray(e);let o=z(r?e:[e],i=>mre(i));return r?o:o[0]};function mre(e,t){return e.type===y.GRID_TABLE&&e.props.headers.forEach(r=>{r.type.endsWith("-column")&&(r.props.fixed?(r.props.fixed="left",r.type===y.OPERATION_COLUMN&&(r.props.fixed="right")):r.props.fixed="none")}),e}const Ore=(e,t)=>{const r=Array.isArray(e);let o=z(r?e:[e],i=>wre(i));return r?o:o[0]};function wre(e,t){return e.type===y.SIMPLE_SEARCH&&e.children.length&&(e.props.query_type_map||(e.props.query_type_map=[]),e.children.forEach(r=>{var n,o;[m.VARCHAR,m.TEXT,m.AUTO_NUMBER].includes((o=(n=r.props)==null?void 0:n.data_bind)==null?void 0:o.field_type)&&e.props.query_type_map.push({query_type:"LIKE",field_code:r.props.data_bind.field_code})})),e}const $re=(e,t)=>{const r=Array.isArray(e);let o=z(r?e:[e],i=>Pre(i));return r?o:o[0]};function Pre(e,t){return[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===y.SUBTABLE&&e.props.headers.forEach(r=>{[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}const Rre=(e,t)=>{const r=Array.isArray(e);let o=z(r?e:[e],i=>Sre(i));return r?o:o[0]};function Sre(e,t){return[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===y.SUBTABLE&&e.props.headers.forEach(r=>{[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}const Ere=(e,t)=>{const r=Array.isArray(e);let o=z(r?e:[e],i=>Tre(i));return r?o:o[0]};function Tre(e,t){return e.type===y.TITLE&&e.props.config.push(kt.ShowTitle),e.type===y.GRID_TABLE&&e.props.headers.map(r=>{var n,o,i,u,c,l,a,f,_,p,g,O,b,w,d,$,P,S,E,C,x,K;if(r.type===y.OPERATION_COLUMN){if(r.props.width_type==="auto"?r.props.auto_width={min_width:120,max_width:120,flex:1}:r.props.width_type==="px"&&(r.props.auto_width={min_width:r.props.width,max_width:r.props.width,flex:1}),r.props.width_type="auto",r.children=(n=r==null?void 0:r.children)!=null?n:[],delete r.props.custom,((o=r.props)==null?void 0:o.check)!==void 0){const A=new Vy.Designer;Object.defineProperty(A,"id",{value:"listPageCheckBtnId"}),A.props.code="view",A.props.icon="iconliulan1",A.props.command="view",A.props.content=(i=r.props)==null?void 0:i.check.content,A.props.priorityProcess=(u=r.props)==null?void 0:u.check.priority_process,A.props.openType=(c=r.props)==null?void 0:c.check.open_type,A.props.formKey=(l=r.props)==null?void 0:l.check.form_key,(a=r.props)!=null&&a.check.is_show&&r.children.push(A.toSchema()),(f=r.props)==null||delete f.check}if(((_=r.props)==null?void 0:_.edit)!==void 0){const A=new Vy.Designer;Object.defineProperty(A,"id",{value:"listPageEditBtnId"}),A.props.code="edit",A.props.icon="iconbianji1",A.props.command="edit",A.props.content=(p=r.props)==null?void 0:p.edit.content,A.props.priorityProcess=(g=r.props)==null?void 0:g.edit.priority_process,A.props.openType=(O=r.props)==null?void 0:O.edit.open_type,A.props.formKey=(b=r.props)==null?void 0:b.edit.form_key,(w=r.props)!=null&&w.edit.is_show&&r.children.push(A.toSchema()),(d=r.props)==null||delete d.edit}if((($=r.props)==null?void 0:$.delete)!==void 0){const A=new Vy.Designer;Object.defineProperty(A,"id",{value:"listPageDeleteBtnId"}),A.props.code="delete",A.props.icon="iconlajitong",A.props.command="delete",A.props.content=(P=r.props)==null?void 0:P.delete.content,A.props.priorityProcess=(S=r.props)==null?void 0:S.delete.priority_process,A.props.openType=(E=r.props)==null?void 0:E.delete.open_type,A.props.formKey=(C=r.props)==null?void 0:C.delete.form_key,A.props.needConfirm=!0,A.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",(x=r.props)!=null&&x.delete.is_show&&r.children.push(A.toSchema()),(K=r.props)==null||delete K.delete}}}),[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===y.SUBTABLE&&e.props.headers.forEach(r=>{[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}const Ire=(e,t)=>{const r=Array.isArray(e);let o=z(r?e:[e],i=>Bre(i,t));return r?o:o[0]};function Bre(e,t){e.type===y.SUBTABLE&&e.props.headers.map(n=>{var i;n.props.meta_auto_width=new Ig,n.props.width_type==="px"&&(n.props.meta_auto_width.pc.width=n.props.width,n.props.meta_auto_width.pc.width_type="px"),delete n.props.width,delete n.props.width_type;const o=(i=n.children)==null?void 0:i[0];o&&o.type===y.CALC&&o.props.calc_on_mounted===void 0&&(o.props.calc_on_mounted=!0)});const r={[y.SUBTABLE]:[{key:"page_index",value:1},{key:"page_size",value:10},{key:"page_size_options",value:[10,20,50,100]},{key:"total_count",value:0}],[y.GRID_TABLE]:[{key:"page_index",value:1},{key:"page_size",value:20},{key:"page_size_options",value:[10,20,50,100]},{key:"total_count",value:0},{key:"is_show_selection",value:!1}],[y.LIST_VIEW]:[{key:"selection_type",value:"multiple"},{key:"row_style_type",value:"none"},{key:"is_show_selection",value:!1}],[y.SIMPLE_SEARCH]:[{key:"col-gap",value:24},{key:"child-min-width",value:230}],[y.IMPORT_RECORD_LIST_BUTTON]:[{key:"template-type",value:"system"}]};return e.type in r&&r[e.type].forEach(n=>{e.props[n.key]===void 0&&(e.props[n.key]=n.value)}),e.type===y.GRID_TABLE&&e.props.headers.forEach(n=>{n.type===y.OPERATION_COLUMN&&(n.props.limit===void 0&&(n.props.limit=3),n.props.show_type===void 0&&(n.props.show_type="icon")),n.props.flex===void 0&&(n.props.flex=1),n.props.auto_width===void 0&&(n.props.auto_width=new ks)}),e.type===y.CALC&&e.props.calc_on_mounted===void 0&&(e.props.calc_on_mounted=!0),Are(t),e}function Are(e){if(!(!e||!e.listeners)){if(Object.keys(e.listeners).forEach(t=>{let r,n,o;e.listeners[t].forEach((i,u)=>{switch(i.event_key||i.eventKey){case"on_click_finish":n=i,o=u;break;case"on_click":r=i;break}}),n&&(n.cases[0].handlers.unshift(qb()),r?(n.cases.forEach(i=>{r.cases[0].handlers.push(i)}),e.listeners[t].splice(o,1)):n.event_key="on_click")}),!e.listeners.form_submit)e.listeners.form_submit=[{event_key:"on_click",event_param:[],cases:[xre()]}];else if(e.listeners.form_submit&&e.listeners.form_submit&&e.listeners.form_submit[0]&&e.listeners.form_submit[0].cases&&e.listeners.form_submit[0].cases[0]&&e.listeners.form_submit[0].cases[0].handlers){let t=!1;e.listeners.form_submit[0].cases[0].handlers.forEach(r=>{r.method==="actionOperate"&&(t=!0)}),t||e.listeners.form_submit[0].cases[0].handlers.push(qb())}}}function xre(){return{id:"case"+new Date().getTime(),name:"\u9ED8\u8BA4\u60C5\u5F62",match_type:"AND",match_rules:[],handlers:[qb()]}}function qb(){return{id:"handler"+new Date().getTime(),method:"actionOperate",params:{control_id:"",opt_type:"",opt_code:"",is_error_continue:!1}}}const kre=(e,t)=>{const r=Array.isArray(e);let o=z(r?e:[e],i=>Dre(i,t));return r?o:o[0]};function Dre(e,t){if(e.type===y.LIST_VIEW){if(e.props.is_show_selection===!1){const r=[y.BATCH_SUBMISSION_LIST_BUTTON,y.LIST_PAGE_BTN_BATCH_PRINT,y.BATCH_DELETE_LIST_BUTTON];e.children.forEach(n=>{n.type===y.GRID_TABLE&&n.children.map(u=>u.type).some(u=>r.includes(u))===!0&&(e.props.is_show_selection=!0,n.props.is_show_selection=!0)})}e.props.caption===""&&(e.props.caption=t==null?void 0:t.formName),e.props.is_all_loaded===void 0&&(e.props.is_all_loaded=!0)}return e.type===y.TEXTAREA&&e.props.auto_size===void 0&&(e.props.auto_size=!1),e.type===y.SUBTABLE&&e.props.mobile_default_num===void 0&&(e.props.mobile_default_num=e.props.mobile_show_type==="tile"?5:10),e.type===y.TREE&&e.props.default_display===void 0&&(e.props.default_display=!1),e.type===y.GRID_TABLE&&e.props.is_show_toolbar===void 0&&(e.props.is_show_toolbar=!0),e.type===y.NUMBER&&e.props.regular_rules===void 0&&(e.props.regular_rules=new Cs),e}const Nre=(e,t)=>{const r=Array.isArray(e);let o=z(r?e:[e],i=>Fre(i));return r?o:o[0]};function Fre(e,t){const r={[y.SUBTABLE]:[{key:"import_config",value:{template_type:"system",template_list:[]}},{key:"export_config",value:{template_type:"system",template_list:[]}}]};return e.type in r&&r[e.type].forEach(o=>{e.props[o.key]===void 0&&(e.props[o.key]=o.value)}),e.type==="card-group"&&e.props.isHideCaption===void 0&&(e.props.isHideCaption=!1),[y.LIST_PAGE_BTN_BATCH_PRINT_RECORD,y.EXPORT_LIST_BUTTON,y.EXPORT_RECORD_LIST_BUTTON,y.CREATE_FORM_LIST_BUTTON,y.IMPORT_RECORD_LIST_BUTTON,y.SUBMISSION_RECORD_LIST_BUTTON,y.BATCH_DELETE_LIST_BUTTON,y.BUTTON,y.SUBMISSION_RECORD_LIST_BUTTON,y.LIST_PAGE_BTN_BATCH_PRINT].includes(e.type)&&(e.control_type="base"),e.type===y.SUBTABLE&&e.props.mobile_default_num===void 0&&(e.props.mobile_default_num=e.props.mobile_show_type==="tile"?5:10),e}function jre(e,t){var r,n;if((t==null?void 0:t.formType)===1&&(t==null?void 0:t.events)!==void 0){const o=(n=(r=t==null?void 0:t.events)==null?void 0:r.did_mount)!=null?n:[];o.length>0&&(t.events.did_init=o,t.events.did_mount=[]),t.events.did_init===void 0&&(t.events.did_init=[])}}const Lre=(e,t)=>{const r=Array.isArray(e),n=r?e:[e],o={};let i=z(n,u=>{const c=Mre(u);return o[u.id]=u,c});return jre(o,t),r?i:i[0]};function Mre(e,t){var r,n,o;if(e.type===y.TEXTAREA){const i={rowHeightType:e.props.auto_size===!0?"auto":"fixed",minRows:(r=e.props.line_ellipsis)!=null?r:4,maxRows:(n=e.props.max_rows)!=null?n:20,fiexdRow:(o=e.props.line_ellipsis)!=null?o:4};if(e.props.row_height_setting=yn(new Tg({pc:i,mobile:i})),e.type===y.ORGANIZATION_SELECTION){const u=e.props.selected_content_config,c=u==null?void 0:u.display_bo_list;c&&c.forEach(l=>{l.value==="org_type_code"&&(l.label="\u4E1A\u52A1\u7C7B\u578B"),l.value==="org_pattern_code"&&(l.label="\u7EC4\u7EC7\u5F62\u6001")})}e.type===y.LIST_SELECT_BUTTON&&e.props.disable_filling===void 0&&(e.props.disable_filling=!1)}return e}const Cre=(e,t)=>{const r=Array.isArray(e),n=r?e:[e],o={};let i=z(n,u=>{const c=Vre(u);return o[u.id]=u,c});return zre(o,t),r?i:i[0]};function Vre(e,t){return e}function zre(e,t){(t==null?void 0:t.formType)===0&&(t==null?void 0:t.listeners)!==void 0&&Object.keys(t==null?void 0:t.listeners).map(r=>{var i,u,c,l,a;const n=t==null?void 0:t.listeners[r],o=e[r];(o==null?void 0:o.type)===y.BUTTON&&(["draft","form_submit","save"].includes((u=(i=o.props)==null?void 0:i.opt_obj)==null?void 0:u.opt_type)&&(n==null||n.map(f=>{var _,p,g,O;(_=f==null?void 0:f.cases)==null||_.map(b=>{var w;(w=b==null?void 0:b.handlers)==null||w.map(d=>{var $,P,S,E;(d==null?void 0:d.method)==="optPage"&&d.params.operation==="refresh"&&(d.params.operation="close"),(d==null?void 0:d.method)==="openPage"&&((E=(S=(P=($=d.params)==null?void 0:$.options)==null?void 0:P.link)==null?void 0:S.fx)==null?void 0:E.expression)==="GET_FORM_URL(GET_PAYLOAD_VAL('value').data_uid,{type:'edit'})"&&(d.id="optPage",d.method="optPage",d.params={operation:"close"})})}),((O=(g=(p=f==null?void 0:f.cases)==null?void 0:p[0])==null?void 0:g.handlers)==null?void 0:O.length)===1&&f.cases[0].handlers.push({id:"optPage",method:"optPage",params:{operation:"close"}})})),["form_submit"].includes((l=(c=o.props)==null?void 0:c.opt_obj)==null?void 0:l.opt_type)&&((a=t.dataModelExtend)==null?void 0:a.process_status_enum_type)==="business"&&(n==null||n.map(f=>{f.cases[0].handlers.map(_=>{(_==null?void 0:_.method)==="optPage"&&_.params.operation==="close"&&(_.params.operation="edit")})})))})}const Hre=(e,t)=>{const r=Array.isArray(e),n=r?e:[e],o={};let i=z(n,u=>{const c=qre(u);return o[u.id]=u,c});return Ure(o,t),r?i:i[0]};function qre(e,t){if(e.type===y.ORGANIZATION_SELECTION){const r=e.props.selected_content_config,n=r==null?void 0:r.display_bo_list;n&&n.forEach(o=>{o.value==="org_type_code"&&(o.label="\u4E1A\u52A1\u7C7B\u578B"),o.value==="org_pattern_code"&&(o.label="\u7EC4\u7EC7\u5F62\u6001")})}return e}function Ure(e,t){var r,n;if((t==null?void 0:t.formType)===1&&(t==null?void 0:t.events)!==void 0){const o=(n=(r=t==null?void 0:t.events)==null?void 0:r.did_mount)!=null?n:[];o.length>0&&(t.events.did_init=o,t.events.did_mount=[]),t.events.did_init===void 0&&(t.events.did_init=[])}}const Wre=(e,t)=>{const r=Array.isArray(e);let o=z(r?e:[e],i=>Kre(i));return r?o:o[0]};function Kre(e,t){var r,n;if(e.type===y.SIMPLE_SEARCH&&(e.props.view_config===void 0&&(e.props.view_config=(r=e.children)==null?void 0:r.map(o=>{var i;return(i=o.props)==null?void 0:i.data_bind})),e.props.simple_config===void 0&&(e.props.simple_config=(n=e.children)==null?void 0:n.map(o=>{var i;return(i=o.props)==null?void 0:i.data_bind}))),e.type===y.ORGANIZATION_SELECTION){const o=e.props.selected_content_config,i=o==null?void 0:o.display_bo_list;i&&i.forEach(u=>{u.value==="org_type_code"&&(u.label="\u4E1A\u52A1\u7C7B\u578B"),u.value==="org_pattern_code"&&(u.label="\u7EC4\u7EC7\u5F62\u6001")})}return e}const Gre=(e,t)=>{const r=Array.isArray(e);let o=z(r?e:[e],i=>Xre(i));return eoe(o),Qre(o),r?o:o[0]};function Xre(e,t){return e.type===y.SIMPLE_SEARCH&&e.children.forEach(r=>{if(r.type===y.SELECT||r.type===y.SELECT_MULTIPLE){const n=r;n.props.option_config==="datasource"&&(n.props.default_show_options=!1)}}),e}function Qre(e){var t,r;if(e[0].type===y.LIST_VIEW){const n=e[0].props;let o={type:(t=n.row_style_type)!=null?t:"none",interval:{color:(r=n.row_style_bg_color)!=null?r:""},rules:[]};n.row_style_rules&&(n.row_style_rules.forEach(i=>{const u=i.id;let c={color:i.color,type:"background",scope:"row",fieldCodes:["_row_"]},l;if(n.row_style_rules_script){const a=n.row_style_rules_script.find(f=>f.id===u);a&&(l=Yre(i.filters,a.script))}i.settings=[c],i.script=l,delete i.color}),o.rules=n.row_style_rules),n.row_style=o,delete n.row_style_type,delete n.row_style_bg_color,delete n.row_style_rules,delete n.row_style_rules_script}}function zT(e,t){return t||(t={}),e.forEach(r=>{if(r.children)zT(r.children,t);else{const n=r.left_variable_bo;switch(n.type){case"people":case"department":case"array":case"timestamp":let o=n.value;t[o]=n;break}}}),t}function Jre(e){return e=e.replace(/\(|\)/g,"").replace(/(\|\|)|(&&)/g,"__split__"),e.split("__split__").map(r=>r.replace(/^\s+|\s+$/gm,""))}function Zre(e){let t="",r="";if(e[0]==="!")t="is_empty";else{const n=e.match(/(===|!=|>|>=|<|<=)/);if(n){const o=n[0];switch(o){case"===":t="op_equal";break;case"!=":t="op_no_equal";break;case">":t="op_greater";break;case">=":t="op_greater_equal";break;case"<":t="op_less";break;case"<=":t="op_less_equal";break;default:t="is_not_empty";break}r=e.split(o)[1]||""}else t="is_not_empty"}return{operate:t,value:r}}function Yre(e,t){const r=zT(e);return Jre(t).forEach(o=>{Object.keys(r).forEach(i=>{if(o.indexOf(`params.data.data_value_map['${i}']`)>-1){const l=r[i].type,{operate:a,value:f}=Zre(o);let _=`SpecialMatch(data, sys, '${i}', '${l}', '${a}', ${f||"''"})`;t=t.replace(o,_)}})}),t=t.replace(/params.data.data_value_map/g,"data"),t}function eoe(e){if(e[0].type===y.LIST_VIEW){const t=e[0].children.find(r=>r.type===y.GRID_TABLE);if(t){const r=t.props.headers,n=t.props.footers,o={};n&&n.length>0&&n.forEach(i=>{const u=i.id.replace("foot_",""),c=i.children;c&&c.length>0&&i.children[0].type!==y.BUTTON&&(i.children[0].field_type=i.field_type||"varchar"),o[u]=i}),r.forEach(i=>{const u=o[i.id];if(u){const c=u.children;if(!c||c.length===0)return;const l=i.children||[];i.children=[].concat(l,c)}}),t.props.footers=[]}}return e}const toe=(e,t)=>{const r=Array.isArray(e);let o=noe(r?e:[e],t);return r?o:o[0]};function noe(e,t){const r=ooe(t);return r.length>0&&(roe(r,t),HT(r,e)),e}function HT(e,t){if(t){const r=t.length;for(let n=r-1;n>=0;n--){const o=t[n],i=o.id;e.indexOf(i)>-1?t.splice(n,1):HT(e,o.children)}}}function roe(e,t){const r=(t==null?void 0:t.permission_controls)||[];for(let n=r.length-1;n>=0;n--){const o=r[n].control_id;e.indexOf(o)>-1&&r.splice(n,1)}}function ooe(e){const t=[],r=e==null?void 0:e.listeners;return r&&Object.keys(r).forEach(n=>{r[n].forEach(o=>{!o.cases||o.cases.forEach(i=>{!i.handlers||i.handlers.forEach(u=>{var c;if(!!u&&u.method==="openPage"){const l=(c=u.params)==null?void 0:c.relation_control_id;l&&t.push(l)}})})})}),t}var qT={"v1.0":qne,"v2.0":ore,"v2.1":ure,"v2.2":lre,"v2.3":fre,"v2.4":yre,"v2.5":dre,"v2.6":hre,"v2.7":gre,"v2.8":Ore,"v2.9":$re,"v2.10":Rre,"v3.0":Ere,"v3.1":Ire,"v3.2":kre,"v3.3":Nre,"v3.4":Lre,"v3.5":Cre,"v3.6":Hre,"v3.7":Wre,"v3.8":Gre,"v3.10":toe,"v3.11":()=>{}};const UT=(e,t)=>{const r=WT(e),n=WT(t),o=r.pop(),i=n.pop(),u=XT(r,n);return u!==0?u:o&&i?XT(o.split("."),i.split(".")):o||i?o?-1:1:0},gs=(e,t,r)=>{loe(r);const n=UT(e,t);return QT[r].includes(n)},ioe=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,WT=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(ioe);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},KT=e=>e==="*"||e==="x"||e==="X",GT=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},uoe=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],coe=(e,t)=>{if(KT(e)||KT(t))return 0;const[r,n]=uoe(GT(e),GT(t));return r>n?1:r<n?-1:0},XT=(e,t)=>{for(let r=0;r<Math.max(e.length,t.length);r++){const n=coe(e[r]||"0",t[r]||"0");if(n!==0)return n}return 0},QT={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},JT=Object.keys(QT),loe=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(JT.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${JT.join("|")}`)};function Ub(e){return e.replace(/^v/,"")}const qr=Object.keys(qT).map(e=>Ub(e)).sort(UT),zo=qr[qr.length-1];class aoe{constructor(t,r=zo){this.schemaVersion=t,this.toVersion=r,gs(r,zo,">")?Xr(`Version Builder: The specified ${r} is an undefined version, and the current latest version is ${zo}`):(!qr.includes(Ub(r))||!qr.includes(Ub(t)))&&Xr(`Version Builder: Please give me a valid version number, The valid version is: ${qr.join(",")}, But give me a ${t}`)}dataCleaner(t,r){if(gs(this.toVersion,this.schemaVersion,"="))return t;const n=this.callDataCleanerKeys.reduce((o,i,u,c)=>{var _;const l=(_=c[u+1])!=null?_:this.toVersion;Uo(`Version Builder: current version: ${i}, nextVersion: ${l}`);const a=qT[i];let f=o;if(typeof a=="function"){const p=a(o,r);p&&(f=p)}return f},t);return Uo(`Version Builder: Version conversion completed, evolving from ${this.schemaVersion} to ${this.toVersion}`),n}get runDataCleanerKeys(){return qr.filter(t=>gs(t,this.schemaVersion,">=")&&gs(t,this.toVersion,"<"))}get callDataCleanerKeys(){return this.runDataCleanerKeys.map(t=>"v"+t)}get version(){return zo}static get version(){return zo}}Bn.VersionBuilder=aoe,Object.defineProperty(Bn,"__esModule",{value:!0})});
|