@byteluck-fe/model-driven-upgrade 4.34.0-lx1 → 4.34.0-lx3
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/README.md +10 -10
- package/dist/esm/VersionBuilder.js +2 -2
- package/dist/esm/upgrade/v3_0.js +7 -7
- package/dist/esm/upgrade/v3_1.js +6 -6
- package/dist/esm/upgrade/v3_2.js +6 -6
- package/dist/esm/upgrade/v3_4.js +6 -6
- package/dist/index.umd.js +1 -1
- package/dist/types/VersionBuilder.d.ts +11 -11
- package/dist/types/index.d.ts +2 -2
- package/dist/types/types.d.ts +14 -14
- package/dist/types/upgrade/index.d.ts +21 -21
- package/dist/types/upgrade/v1_0.d.ts +3 -3
- package/dist/types/upgrade/v2_0.d.ts +3 -3
- package/dist/types/upgrade/v2_1.d.ts +3 -3
- package/dist/types/upgrade/v2_10.d.ts +3 -3
- package/dist/types/upgrade/v2_2.d.ts +3 -3
- package/dist/types/upgrade/v2_3.d.ts +3 -3
- package/dist/types/upgrade/v2_4.d.ts +3 -3
- package/dist/types/upgrade/v2_5.d.ts +3 -3
- package/dist/types/upgrade/v2_6.d.ts +3 -3
- package/dist/types/upgrade/v2_7.d.ts +3 -3
- package/dist/types/upgrade/v2_8.d.ts +3 -3
- package/dist/types/upgrade/v2_9.d.ts +3 -3
- package/dist/types/upgrade/v3_0.d.ts +3 -3
- package/dist/types/upgrade/v3_1.d.ts +3 -3
- package/dist/types/upgrade/v3_2.d.ts +3 -3
- package/dist/types/upgrade/v3_3.d.ts +3 -3
- package/dist/types/upgrade/v3_4.d.ts +3 -3
- package/package.json +36 -36
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(Ft,Gn){typeof exports=="object"&&typeof module!="undefined"?Gn(exports):typeof define=="function"&&define.amd?define(["exports"],Gn):(Ft=typeof globalThis!="undefined"?globalThis:Ft||self,Gn(Ft.modelDrivenUpgrade={}))})(this,function(Ft){"use strict";var Gn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",l3="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",a3="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",f3="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",_3="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",y3="{caption}\u5FC5\u586B",s3="\u8BF7\u8F93\u5165\u6807\u9898",p3="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",d3="\u8BF7\u8F93\u5165\u884C\u6807\u9898",v3="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",h3="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",b3="\u8BF7\u7ED1\u5B9A\u8868\u5355",g3="\u8BF7\u7ED1\u5B9A\u5217\u8868",m3="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",O3="\u8BF7\u8F93\u5165\u663E\u793A\u503C",w3="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",$3="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",P3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",E3="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",S3="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",T3="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",R3="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",B3="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",I3="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",A3="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",k3="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",D3="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",x3="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",F3="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",j3="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",L3="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",M3="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",N3="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",V3="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",z3="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",H3="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",q3="\u8BF7\u7ED1\u5B9A\u670D\u52A1",U3="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",C3="\u8BF7\u9009\u62E9\u7701",W3="\u8BF7\u9009\u62E9\u5E02",K3="\u8BF7\u9009\u62E9\u533A",G3="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",X3="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Q3="\u8BF7\u8F93\u5165\u5217\u5BBD",J3="\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",Y3="\u8BF7\u9009\u62E9\u63A7\u4EF6",eB="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",tB="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",nB="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",oB="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",rB="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",iB="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",uB="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",cB="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",lB="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",aB="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",fB="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",_B="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",yB="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",sB="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",pB="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",dB="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",vB="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",hB="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",bB="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",gB="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",mB="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",OB="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",wB="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",$B="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",PB="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",EB="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",SB="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",TB={isNotNumber:Gn,isNotString:l3,isNotObject:a3,isNotArray:f3,isNotBoolean:_3,runtimeRequired:y3,pleaseEnterCaption:s3,pleaseEnterCaptionTip:p3,pleaseEnterRowCaption:d3,pleaseEnterPlaceholder:v3,pleaseEnterFieldCode:h3,pleaseEnterForm:b3,pleaseEnterList:g3,pleaseEnterProcess:m3,pleaseEnterLabel:O3,pleaseEnterValue:w3,bizKeyNotBindFiled:$3,pleaseSelectOneField:P3,pleaseEnterNumberRange:E3,pleaseEnterAValueGreaterThanMin:S3,pleaseEnterAValueLessThanMax:T3,numberRangeSetError:R3,stringRangeError:B3,attachmentMaxSize:I3,pleaseEnterTotalScoreSetting:A3,theTotalScoreMustNotBeLessThan1:k3,scoreDefaultValueRange:D3,attachmentLimitError:x3,PleaseReselectTheOptionalQuantity:F3,TheMaximumLengthIsGreaterThanTheMinimumLength:j3,TheMinimumLengthIsGreaterThanTheMaximumLength:L3,PleaseSelectTheCorrectOptionSettings:M3,optionIdIsRepeat:N3,optionIsRequired:V3,pleaseEnterDataCode:z3,pleaseEnterValueFieldCode:H3,pleaseEnterSvcCode:q3,pleaseBindAtLeastOneDisplayValue:U3,pleaseSelectProvince:C3,pleaseSelectCity:W3,pleaseSelectDistrict:K3,limitRowsCannotBeLessThan0:G3,TheNumberOfRowsCannotBeLessThanMinRows:X3,pleaseEnterColumnWidth:Q3,pleaseSetTheLogicalRelationshipOfAllRuleConditions:J3,pleaseCompleteAllRulesAndConditions:Z3,pleaseSelectControl:Y3,pleaseSelectAtLeastOneColumn:eB,pleaseSelectFillBackMode:tB,pleaseSelectDashboard:nB,rootNodeIsRequired:oB,theViewNameCannotBeEmpty:rB,pleaseSelectOcrType:iB,pleaseSelectAtLeastOneFieldToFillIn:uB,pleaseChooseAtLeastOne:cB,pleaseEnterButtonContent:lB,pleaseEnterDataCodeInDataSetting:aB,pleaseEnterValueFieldCodeInDataSetting:fB,pleaseEnterSvcCodeInDataSetting:_B,pleaseBindAtLeastOneDisplayValueInDataSetting:yB,rootNodeIsRequiredInDataSetting:sB,pleaseEnterMaxHeight:pB,pleaseEnter:dB,pleaseEnterWatermark:vB,pleaseEnterFileName:hB,pleaseUploadAtLeastOnePrintTemplate:bB,pleaseAssignBusiness:gB,pleaseAssignExternal:mB,pleaseEnterAliasCode:OB,pleaseSelectDataCode:wB,pleaseSelectSvcCode:$B,pleaseSelectJoinFieldCode:PB,pleaseSelectMainFieldCode:EB,pleaseSelectSortFieldCode:SB},RB="Please enter a number",BB="Please enter a string",IB="Please enter an object",AB="Please enter an array",kB="Please enter a boolean",DB="{caption} Required",xB="Please enter the title",FB="Please enter the bubble prompt",jB="Please enter the row title",LB="Please enter the prompt text",MB="Please bind data items",NB="Please bind the form",VB="Please bind the list",zB="Please bind the process",HB="Please enter the displayed value",qB="Please enter the stored value",UB="The document number is not bound to the data item",CB="Please select at least one display field",WB="Please enter a value greater than or equal to {min} and less than or equal to {max}",KB="Please enter a value greater than or equal to {min}",GB="Please enter a value less than or equal to {max}",XB="The value range is set incorrectly",QB="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",JB="The attachment size must be between 0MB and 1000MB",ZB="Please fill in the total score setting",YB="The total score cannot be less than 1",e1="The default value must be between {min} and {max}",t1="The number of attachments uploaded must be between {min} and {max}",n1="Please re-select the optional quantity",o1="The maximum length of the control must be greater than the minimum length",r1="The minimum length of the control must be less than the maximum length",i1="Please select the correct option setting",u1="Option ID cannot be repeated",c1="Please enter at least one option",l1="Please bind the data source",a1="Please bind the stored value",f1="Please bind the service",_1="At least one display value must be bound",y1="Please select a province",s1="Please select a city",p1="Please select a district",d1="The minimum number of lines to fill in cannot be less than 0",v1="The number of rows cannot be less than {min} rows",h1="Please enter the column width",b1="Please set the logical relationship of all rule conditions",g1="Please complete all rules and conditions",m1="please select control",O1="Please select the dashboard",w1="View name cannot be empty",$1="Please select recognition type",P1="Please select at least one field to fill in",E1="Please select at least one",S1="Please enter the button title",T1="Please bind the business model in the data settings",R1="Please bind storage values in data settings",B1="Please bind the service in the data settings",I1="Please bind at least one display value in the data settings",A1="Please select the root node in the data settings",k1="Please enter the maximum height",D1="The input content cannot be empty",x1="Watermark cannot be empty",F1="File name cannot be empty",j1="Please upload at least one printing template!\uFF01",L1="Please select a specific business department",M1="Please select a specified external organization",N1="Please enter a sub table alias",V1="Please select the associated table to set the business model",z1="Please select the association table to set the binding service",H1="Select associated sub table fields",q1="Please select the associated main table field",U1="Please select the sort field",C1={isNotNumber:RB,isNotString:BB,isNotObject:IB,isNotArray:AB,isNotBoolean:kB,runtimeRequired:DB,pleaseEnterCaption:xB,pleaseEnterCaptionTip:FB,pleaseEnterRowCaption:jB,pleaseEnterPlaceholder:LB,pleaseEnterFieldCode:MB,pleaseEnterForm:NB,pleaseEnterList:VB,pleaseEnterProcess:zB,pleaseEnterLabel:HB,pleaseEnterValue:qB,bizKeyNotBindFiled:UB,pleaseSelectOneField:CB,pleaseEnterNumberRange:WB,pleaseEnterAValueGreaterThanMin:KB,pleaseEnterAValueLessThanMax:GB,numberRangeSetError:XB,stringRangeError:QB,attachmentMaxSize:JB,pleaseEnterTotalScoreSetting:ZB,theTotalScoreMustNotBeLessThan1:YB,scoreDefaultValueRange:e1,attachmentLimitError:t1,PleaseReselectTheOptionalQuantity:n1,TheMaximumLengthIsGreaterThanTheMinimumLength:o1,TheMinimumLengthIsGreaterThanTheMaximumLength:r1,PleaseSelectTheCorrectOptionSettings:i1,optionIdIsRepeat:u1,optionIsRequired:c1,pleaseEnterDataCode:l1,pleaseEnterValueFieldCode:a1,pleaseEnterSvcCode:f1,pleaseBindAtLeastOneDisplayValue:_1,pleaseSelectProvince:y1,pleaseSelectCity:s1,pleaseSelectDistrict:p1,limitRowsCannotBeLessThan0:d1,TheNumberOfRowsCannotBeLessThanMinRows:v1,pleaseEnterColumnWidth:h1,pleaseSetTheLogicalRelationshipOfAllRuleConditions:b1,pleaseCompleteAllRulesAndConditions:g1,pleaseSelectControl:m1,pleaseSelectDashboard:O1,theViewNameCannotBeEmpty:w1,pleaseSelectOcrType:$1,pleaseSelectAtLeastOneFieldToFillIn:P1,pleaseChooseAtLeastOne:E1,pleaseEnterButtonContent:S1,pleaseEnterDataCodeInDataSetting:T1,pleaseEnterValueFieldCodeInDataSetting:R1,pleaseEnterSvcCodeInDataSetting:B1,pleaseBindAtLeastOneDisplayValueInDataSetting:I1,rootNodeIsRequiredInDataSetting:A1,pleaseEnterMaxHeight:k1,pleaseEnter:D1,pleaseEnterWatermark:x1,pleaseEnterFileName:F1,pleaseUploadAtLeastOnePrintTemplate:j1,pleaseAssignBusiness:L1,pleaseAssignExternal:M1,pleaseEnterAliasCode:N1,pleaseSelectDataCode:V1,pleaseSelectSvcCode:z1,pleaseSelectJoinFieldCode:H1,pleaseSelectMainFieldCode:q1,pleaseSelectSortFieldCode:U1},W1="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",K1="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",G1="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",X1="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Q1="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",J1="{caption}\u5FC5\u9808",Z1="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Y1="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",eI="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",tI="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",nI="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",oI="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",rI="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",iI="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",uI="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",cI="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",lI="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",aI="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",fI="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",_I="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",yI="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",sI="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",pI="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",dI="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",vI="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",hI="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",bI="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",gI="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",mI="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",OI="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5927\u5024\u306F\u6700\u5C0F\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",wI="\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",$I="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",PI="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",EI="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",SI="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",TI="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",RI="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",BI="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",II="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",AI="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",kI="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",DI="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",xI="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",FI="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jI="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",LI="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",MI="please select control",NI="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",VI="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",zI="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",HI="\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",qI="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",UI="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",CI="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",WI="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",KI="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",GI="\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",XI="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",QI="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",JI="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",ZI="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",YI="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",eA="\u5370\u5237\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u5C11\u306A\u304F\u3068\u30821\u3064\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\uFF01\uFF01",tA="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",nA="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",oA="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",rA="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",iA="\u95A2\u9023\u30C6\u30FC\u30D6\u30EB\u8A2D\u5B9A\u30D0\u30A4\u30F3\u30C9\u30B5\u30FC\u30D3\u30B9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",uA="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",cA="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",lA="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",aA={isNotNumber:W1,isNotString:K1,isNotObject:G1,isNotArray:X1,isNotBoolean:Q1,runtimeRequired:J1,pleaseEnterCaption:Z1,pleaseEnterCaptionTip:Y1,pleaseEnterRowCaption:eI,pleaseEnterPlaceholder:tI,pleaseEnterFieldCode:nI,pleaseEnterForm:oI,pleaseEnterList:rI,pleaseEnterProcess:iI,pleaseEnterLabel:uI,pleaseEnterValue:cI,bizKeyNotBindFiled:lI,pleaseSelectOneField:aI,pleaseEnterNumberRange:fI,pleaseEnterAValueGreaterThanMin:_I,pleaseEnterAValueLessThanMax:yI,numberRangeSetError:sI,stringRangeError:pI,attachmentMaxSize:dI,pleaseEnterTotalScoreSetting:vI,theTotalScoreMustNotBeLessThan1:hI,scoreDefaultValueRange:bI,attachmentLimitError:gI,PleaseReselectTheOptionalQuantity:mI,TheMaximumLengthIsGreaterThanTheMinimumLength:OI,TheMinimumLengthIsGreaterThanTheMaximumLength:wI,PleaseSelectTheCorrectOptionSettings:$I,optionIdIsRepeat:PI,optionIsRequired:EI,pleaseEnterDataCode:SI,pleaseEnterValueFieldCode:TI,pleaseEnterSvcCode:RI,pleaseBindAtLeastOneDisplayValue:BI,pleaseSelectProvince:II,pleaseSelectCity:AI,pleaseSelectDistrict:kI,limitRowsCannotBeLessThan0:DI,TheNumberOfRowsCannotBeLessThanMinRows:xI,pleaseEnterColumnWidth:FI,pleaseSetTheLogicalRelationshipOfAllRuleConditions:jI,pleaseCompleteAllRulesAndConditions:LI,pleaseSelectControl:MI,pleaseSelectDashboard:NI,theViewNameCannotBeEmpty:VI,pleaseSelectOcrType:zI,pleaseSelectAtLeastOneFieldToFillIn:HI,pleaseChooseAtLeastOne:qI,pleaseEnterButtonContent:UI,pleaseEnterDataCodeInDataSetting:CI,pleaseEnterValueFieldCodeInDataSetting:WI,pleaseEnterSvcCodeInDataSetting:KI,pleaseBindAtLeastOneDisplayValueInDataSetting:GI,rootNodeIsRequiredInDataSetting:XI,pleaseEnterMaxHeight:QI,pleaseEnter:JI,pleaseEnterWatermark:ZI,pleaseEnterFileName:YI,pleaseUploadAtLeastOnePrintTemplate:eA,pleaseAssignBusiness:tA,pleaseAssignExternal:nA,pleaseEnterAliasCode:oA,pleaseSelectDataCode:rA,pleaseSelectSvcCode:iA,pleaseSelectJoinFieldCode:uA,pleaseSelectMainFieldCode:cA,pleaseSelectSortFieldCode:lA},fA={zhCN:TB,enUS:C1,jaJP:aA},d0;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(d0||(d0={}));var v0;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(v0||(v0={}));var _A="zh-CN";function be(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var jt;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(jt||(jt={}));var h0;(function(t){t[t.FORM=0]="FORM",t[t.LIST=1]="LIST",t[t.REPORT=2]="REPORT",t[t.DASHBOARD=3]="DASHBOARD",t[t.VUE=4]="VUE",t[t.FREE_PAGE=5]="FREE_PAGE"})(h0||(h0={}));var s;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.OPERATION_BUTTON="operation-button",t.EMPLOYEE_COLUMN="employee-column",t.Approval_Status_Column="approval-status-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.GRID_LAYOUT_CONTAINER="grid-layout-container",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.ACTION_BAR="action-bar",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2",t.GRID_LAYOUT_WRAP="grid-layout-wrap",t.SENSITIVEN_INFORMATION="sensitiven-information"})(s||(s={}));var b0;(function(t){t.SAVE="save",t.DRAFT="draft",t.UNSUBMIT="unsubmit",t.AUDIT="audit",t.UNAUDIT="unaudit",t.CANCEL="cancel",t.FORM_SUBMIT="form_submit"})(b0||(b0={}));var g;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.RELATION="relation",t.LIST="list",t.RELATION_FIELD="relation-field",t.REFERENCE_FIELD="reference-field",t.CALC_FIELD="calc",t.JSON="json",t.BIGINT="bigint",t.ANY="ANY",t.ENCRYPTED_FIELD="encrypted_field"})(g||(g={}));var ae;ae={},be(ae,"array","array-column"),be(ae,"auto_number","auto-number-column"),be(ae,"decimal","decimal-column"),be(ae,"department","department-column"),be(ae,"file","file-column"),be(ae,"image","image-column"),be(ae,"location","location-column"),be(ae,"people","employee-column"),be(ae,"text","text-column"),be(ae,"timescope","timescope-column"),be(ae,"timestamp","timestamp-column"),be(ae,"varchar","varchar-column"),be(ae,"relation","varchar-column");var rt;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime"})(rt||(rt={}));var g0="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",yA=g0+"0123456789";function Ie(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var o=n===0?g0:yA,r=Math.random()*o.length;e+=o[parseInt(String(r),10)]}return e}function Na(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function sA(t){if(Array.isArray(t))return Na(t)}function pA(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function m0(t,e,n){return e=Xn(e),bA(t,za()?Reflect.construct(e,n||[],Xn(t).constructor):e.apply(t,n))}function O0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $o(t,e,n){return za()?$o=Reflect.construct:$o=function(r,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(r,c),l=new a;return u&&Qn(l,u.prototype),l},$o.apply(null,arguments)}function Xn(t){return Xn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xn(t)}function w0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Qn(t,e)}function dA(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function vA(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function hA(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function bA(t,e){return e&&(gA(e)==="object"||typeof e=="function")?e:pA(t)}function Qn(t,e){return Qn=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qn(t,e)}function $0(t){return sA(t)||vA(t)||mA(t)||hA()}function gA(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mA(t,e){if(!!t){if(typeof t=="string")return Na(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Na(t,e)}}function Va(t){var e=typeof Map=="function"?new Map:void 0;return Va=function(o){if(o===null||!dA(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(o))return e.get(o);e.set(o,r)}function r(){return $o(o,arguments,Xn(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Qn(r,o)},Va(t)}function za(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(za=function(){return!!t})()}var Ha=console;function qa(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var o,r=e.slice(1);(o=Ha).warn.apply(o,["\u{1F9D0} Driven Warning:"+e[0]].concat($0(r)))}function Po(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var o,r=e.slice(1);(o=Ha).log.apply(o,["\u{1F680} Driven Log:"+e[0]].concat($0(r)))}function OA(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Ua=function(t){w0(e,t);function e(n){O0(this,e);var o;return o=m0(this,e,[n]),o.name="\u{1F4A5} Driven Error",o.message=n?OA(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return e}(Va(Error)),wA=function(t){w0(e,t);function e(n){O0(this,e);var o;return o=m0(this,e,[n]),o.name="\u{1F6A8} Driven Reference Error",o}return e}(Ua);function Jn(t){throw new Ua(t)}function P0(t){throw new wA(t)}function $A(t){Ha.error(new Ua(t))}var PA=Object.prototype.toString;function E0(t,e){return PA.call(t)==="[object "+e+"]"}function EA(t){return E0(t,"String")}function SA(t){return E0(t,"Promise")}var TA=function(){function t(e){var n,o;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((o=(n=e.messages)!==null&&n!==void 0?n:this.getPreImport(e.locale))!==null&&o!==void 0?o:{}),e.variableRegExp&&(this.variableRegExp=e.variableRegExp),this.setLocale(e.locale)}return t.prototype.setLocale=function(e){var n=this;this.locale=e,this._messageCache.clear();var o=this.getMessageData();SA(o)?o.then(function(r){n._messageCache.clear(),n.messages[n.localeInMessageKey]=r}):this.messages[this.localeInMessageKey]=o},t.prototype.getMessageData=function(){var e=this._messages[this.localeInMessageKey];return typeof e=="function"?e():e},t.prototype.translate=function(e,n,o){var r=this.getMessage(e);return r?this.formatMessage(r,o):this.formatMessage(n,o)},t.prototype.getMessage=function(e){if(this._messageCache.has(e))return this._messageCache.get(e);var n=this.getPathArray(e),o=n.reduce(function(r,i,u,c){if(r!==void 0){var a=r[i];if(!(u===c.length-1&&!EA(a)))return a}},this.message);return this._messageCache.set(e,o),o},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(o,r){var i=n[r];return i!==void 0?String(i):o}):e},t.prototype.getPreImport=function(e){var n;if(window.okI18nPreImport){var o=this.getLocaleInMessageKey(e);return window.okI18nPreImport.hasOwnProperty(o)?window.okI18nPreImport:(n={},n[o]=window.okI18nPreImport,n)}},t.prototype.getPathArray=function(e){return e.split(".")},t.prototype.getLocaleInMessageKey=function(e){return e.replace(/-/g,"")},Object.defineProperty(t.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){var e;return(e=this.messages[this.localeInMessageKey])!==null&&e!==void 0?e:{}},enumerable:!1,configurable:!0}),t}();function RA(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function S0(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function BA(t,e,n){return e&&S0(t.prototype,e),n&&S0(t,n),t}function IA(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var d=function(){function t(){RA(this,t)}return BA(t,null,[{key:"getMessage",value:function(n){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",o)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:_A;return new TA({locale:n,messages:fA})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();IA(d,"$i18n",d.resetI18n());function AA(t,e,n){var o=e.replace(/\[(\d)]/g,function(i,u){return"."+u}).split("."),r=!1;return o.reduce(function(i,u,c,a){var l=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,u)){qa("Can not set ".concat(e,"'s ").concat(u," property in current %o, Because there is no ").concat(u," property on the %o"),i,i);return}return c===a.length-1&&!Object.is(l[u],n)&&(l[u]=n,r=!0),l[u]}},t),r}var kA=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Ca={exports:{}};(function(t){(function(e){var n=function(h,$,P){if(!l($)||y($)||p($)||b($)||a($))return $;var E,T=0,j=0;if(f($))for(E=[],j=$.length;T<j;T++)E.push(n(h,$[T],P));else{E={};for(var A in $)Object.prototype.hasOwnProperty.call($,A)&&(E[h(A,P)]=n(h,$[A],P))}return E},o=function(h,$){$=$||{};var P=$.separator||"_",E=$.split||/(?=[A-Z])/;return h.split(E).join(P)},r=function(h){return O(h)?h:(h=h.replace(/[\-_\s]+(.)?/g,function($,P){return P?P.toUpperCase():""}),h.substr(0,1).toLowerCase()+h.substr(1))},i=function(h){var $=r(h);return $.substr(0,1).toUpperCase()+$.substr(1)},u=function(h,$){return o(h,$).toLowerCase()},c=Object.prototype.toString,a=function(h){return typeof h=="function"},l=function(h){return h===Object(h)},f=function(h){return c.call(h)=="[object Array]"},y=function(h){return c.call(h)=="[object Date]"},p=function(h){return c.call(h)=="[object RegExp]"},b=function(h){return c.call(h)=="[object Boolean]"},O=function(h){return h=h-0,h===h},m=function(h,$){var P=$&&"process"in $?$.process:$;return typeof P!="function"?h:function(E,T){return P(E,h,T)}},w={camelize:r,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(h,$){return n(m(r,$),h)},decamelizeKeys:function(h,$){return n(m(u,$),h,$)},pascalizeKeys:function(h,$){return n(m(i,$),h)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=w:e.humps=w})(kA)})(Ca);var T0={};Object.defineProperty(T0,"__esModule",{value:!0});function Wa(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Wa(e));{const e={};for(const n in t){const o=t[n];e[n]=typeof o!="object"||o===null?o:Wa(o)}return e}}var DA=T0.default=Wa;function xA(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function it(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":xA(t))==="object"?DA(t):t}function fe(t){return R0(t)&&"zh"in t}function R0(t){return Object.prototype.toString.call(t)==="[object Object]"}function Ka(t){return Array.isArray(t)}function Lt(t){return isNaN(parseFloat(t))?"":Number(t)}function FA(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function C(t,e){var n=[];return Array.isArray(t)&&(n=t.map(function(o){var r=o;return Array.isArray(o==null?void 0:o.children)&&(r.children=C(o.children,e)),Array.isArray(o==null?void 0:o.footers)&&(r.footers=C(o.footers,e)),e(r)})),n}function jA(t){return Ca.exports.camelizeKeys(t)}function Mt(t){return Ca.exports.decamelizeKeys(t)}function Ga(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function LA(t){if(Array.isArray(t))return Ga(t)}function B0(t,e,n,o,r,i,u){try{var c=t[i](u),a=c.value}catch(l){n(l);return}c.done?e(a):Promise.resolve(a).then(o,r)}function MA(t){return function(){var e=this,n=arguments;return new Promise(function(o,r){var i=t.apply(e,n);function u(a){B0(i,o,r,u,c,"next",a)}function c(a){B0(i,o,r,u,c,"throw",a)}u(void 0)})}}function NA(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function I0(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function VA(t,e,n){return e&&I0(t.prototype,e),n&&I0(t,n),t}function A0(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zA(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function 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 Xa(t){return LA(t)||zA(t)||qA(t)||HA()}function qA(t,e){if(!!t){if(typeof t=="string")return Ga(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ga(t,e)}}function UA(t,e){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,o=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){u.label=l[1];break}if(l[0]===6&&u.label<r[1]){u.label=r[1],r=l;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(l);break}r[2]&&u.ops.pop(),u.trys.pop();continue}l=e.call(t,u)}catch(f){l=[6,f],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var CA=function(){function t(){NA(this,t),A0(this,"_events",new Map),A0(this,"debug",!1)}return VA(t,[{key:"emit",value:function(n){for(var o=arguments.length,r=new Array(o>1?o-1:0),i=1;i<o;i++)r[i-1]=arguments[i];var u=this;return MA(function(){var c,a,l,f,y,p,b,O,m,w,h,$;return UA(this,function(P){switch(P.label){case 0:if(c=u._events.get(n),a=[],!c)return[3,10];l=c.slice(),f=!0,y=!1,p=void 0,P.label=1;case 1:P.trys.push([1,8,9,10]),b=l[Symbol.iterator](),P.label=2;case 2:if(f=(O=b.next()).done)return[3,7];if(m=O.value,!c.includes(m))return[3,6];P.label=3;case 3:return P.trys.push([3,5,,6]),u.debug&&Po.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(m.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+m.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(r.map(function(){return"%o"}).join(","),"\u3002")].concat(Xa(r))),[4,m.apply(null,Xa(r))];case 4:return w=P.sent(),u.debug&&Po.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(m.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+m.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(r.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Xa(r),[w])),a.push(w),w===!1?[3,7]:[3,6];case 5:return h=P.sent(),$A(String(h)+":"+String(h.stack)),[3,6];case 6:return f=!0,[3,2];case 7:return[3,10];case 8:return $=P.sent(),y=!0,p=$,[3,10];case 9:try{!f&&b.return!=null&&b.return()}finally{if(y)throw p}return[7];case 10:return[2,a]}})})()}},{key:"on",value:function(n,o){if(this._events.has(n)){var r;(r=this._events.get(n))===null||r===void 0||r.push(o)}else this._events.set(n,[o])}},{key:"off",value:function(n,o){if(this._events.has(n)){var r=this._events.get(n),i=r==null?void 0:r.indexOf(o);r==null||r.splice(i,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function WA(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function k0(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function KA(t,e,n){return e&&k0(t.prototype,e),n&&k0(t,n),t}function GA(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var XA=[{key:"on_click",name:"\u70B9\u51FB\u65F6",code:"click"},{key:"on_click_finish",name:"\u6267\u884C\u5B8C\u6210\u65F6",code:"click-finish"},{key:"on_change",name:"\u503C\u53D1\u751F\u53D8\u5316\u65F6",code:"change"},{key:"on_search",name:"\u641C\u7D22\u65F6",code:"search"},{key:"on_list_change",name:"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",code:"list-change"},{key:"on_list_search",name:"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",code:"list-search"},{key:"on_list_mounted",name:"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",code:"list-mounted"},{key:"on_list_delete",name:"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",code:"list-delete"},{key:"on_list_before_insert",name:"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",code:"list-before-insert"},{key:"on_input",name:"\u7528\u6237\u8F93\u5165\u65F6",code:"input"},{key:"on_blur",name:"\u5931\u53BB\u7126\u70B9\u65F6",code:"blur"},{key:"on_focus",name:"\u83B7\u53D6\u7126\u70B9\u65F6",code:"focus"},{key:"on_wps_open",name:"\u6253\u5F00\u6587\u4EF6\u65F6",code:"wps-open"},{key:"on_wps_save",name:"\u4FDD\u5B58\u6587\u4EF6\u65F6",code:"wps-save"},{key:"on_wps_rename",name:"\u91CD\u547D\u540D\u65F6",code:"wps-rename"},{key:"on_list_actions",name:"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",code:"list-actions"},{key:"on_list_render_operation",name:"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",code:"list-render-operation"},{key:"on_list_rowclick",name:"\u884C\u70B9\u51FB\u65F6",code:"list-rowclick"},{key:"on_list_before_rowdelete",name:"\u884C\u5220\u9664\u524D",code:"list-before-rowdelete"},{key:"on_list_before_import",name:"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",code:"list-before-import"},{key:"on_list_rows_checked",name:"\u884C\u9009\u4E2D\u65F6",code:"list-rows-checked"},{key:"on_change_tab",name:"\u6807\u7B7E\u9875\u5207\u6362\u65F6",code:"change-tab"},{key:"on_modal_ok",name:"\u5F39\u7A97\u786E\u8BA4\u65F6",code:"modal-ok"}],QA=function(){function t(){WA(this,t)}return KA(t,null,[{key:"getEventsFromKeys",value:function(n){var o=typeof n=="string"?[n]:n;return t.events.filter(function(r){return o.includes(r.key)})}},{key:"getEventsFromControl",value:function(n){var o=[],r=n.eventKeys;o=o.concat(t.events.filter(function(u){return r.includes(u.key)}));var i=n.customEvents.map(function(u){var c=u.key;return{key:c,code:u.key,name:u.name}});return o=o.concat(i),o}}]),t}();GA(QA,"events",XA);function Qa(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function JA(t){if(Array.isArray(t))return Qa(t)}function ZA(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function YA(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function D0(t){return JA(t)||ZA(t)||ek(t)||YA()}function ek(t,e){if(!!t){if(typeof t=="string")return Qa(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Qa(t,e)}}function Ja(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function x0(t,e,n){n!=="Runtime"&&(t.parent=e,Ja(t,"parent"))}function tk(t,e,n){t.forEach(function(o){x0(o,e,n)})}var F0=Symbol("targetKey");function j0(t){var e;return(e=t[F0])!==null&&e!==void 0?e:t}function L0(t,e,n){return tk(t,e,n),new Proxy(t,{get:function(r,i){for(var u=arguments.length,c=new Array(u>2?u-2:0),a=2;a<u;a++)c[a-2]=arguments[a];var l;return i===F0?r:(l=Reflect).get.apply(l,[r,i].concat(D0(c)))},set:function(r,i,u){for(var c=arguments.length,a=new Array(c>3?c-3:0),l=3;l<c;l++)a[l-3]=arguments[l];var f;if(Ka(t)&&i==="length"&&u===t.length)return!0;var y=(f=Reflect).set.apply(f,[r,i,u].concat(D0(a)));return R0(u)&&x0(u,e,n),y}})}function Ge(t,e,n,o,r){var i=o!=null?o:t,u=L0(j0(n!=null?n:[]),i,r);Object.defineProperty(t,e,{get:function(){return u},set:function(a){u=L0(j0(a),i,r)},enumerable:!0})}function nk(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function M0(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function ok(t,e,n){return e&&M0(t.prototype,e),n&&M0(t,n),t}function ut(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var N0=[],Eo=function(){function t(e){nk(this,t),ut(this,"registeredControlTypes",new Set),ut(this,"controlConfigMap",new Map),ut(this,"_controls",[]),ut(this,"_type",void 0),this._type=e,this._initControls(e)}return ok(t,[{key:"registerControlConfig",value:function(n,o){return this.controlConfigMap.set(n,o),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||Jn("".concat(n.name," is not a Control"));var o=this._controls.findIndex(function(r){return r.controlType===n.controlType});return o>-1&&(qa("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(o,1)),this.registeredControlTypes.add(n.controlType),this._controls.push(n),this}},{key:"isLayoutControl",value:function(n){return n.controlType===jt.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===jt.FORM}},{key:"isListControl",value:function(n){return n.controlType===jt.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===jt.COLUMN}},{key:"createControl",value:function(n,o){var r=this;if(Array.isArray(n))return n.map(function(f){return r.createControl(f,o)});if(n.children&&(n.children=n.children.map(function(f){return r.createControl(f,o)})),this.isListControl(n)){var i=n.props;i.headers&&(i.headers=i.headers.map(function(f){return r.createControl(f,o)})),i.footers&&(i.footers=i.footers.map(function(f){var y;return f&&(y=r.createControl(f,o)),y}))}var u=this.getControlFormType(n.type);if(u){var c=n;if(typeof o=="function"){var a=o(c);a&&(c=a)}var l;return u.mode==="Runtime"?(l=c,l.fieldType=u.controlFieldType,this._setParentPrototypeToSchema(l,this)):l=new u(c),l}else Jn("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(n,o){delete n.parent,Object.defineProperty(n,"parent",{configurable:!0,get:function(){return o}}),Ja(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,o){o._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var i=n.id,u=o._controlParentIdMap,c=o.instanceMap;if(!(!u||!c)){var a=u[i],l=c[i];if(!(!a&&!l)){var f=l.findIndex(function(b){return b==n}),y=c[a]||[],p;return y.length!==l.length?p=y[0]:p=y[f],p}}}}),Ja(n,"parent"))}},{key:"createControlInstance",value:function(n,o){var r=this.getControlFormType(n);if(r)return new r(o)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(o){return o.controlType===n})}},{key:"_initControls",value:function(n){var o=this;this.constructor.staticControls.forEach(function(r){o.register(r[n]),t.staticControlsRuntimeRules.set(r.Runtime.controlType,r.Property.RuntimeRules),r.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,o){var r=t.staticControlsRuntimeRules.get(n),i=[];if(r){var u=new r(o);i=Array.from(u)}return i}},{key:"register",value:function(n,o){var r=n.Designer,i=n.Runtime,u=n.Property;(!r||!i||!r.__is_control__||!i.__is_control__)&&Jn("".concat(n," is can't register as a Control"));var c=this.staticControls.findIndex(function(a){return a.Designer.controlType===r.controlType});return c>-1&&(qa("The ".concat(r.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(c,1)),this.staticRegisteredTypes.add(r.controlType),this.staticControls.push(n),u.mode=o,this}}]),t}();ut(Eo,"staticControlsRuntimeRules",new Map),ut(Eo,"staticControls",N0),ut(Eo,"staticRegisteredTypes",new Set(N0.map(function(t){return t.Designer.controlType}))),ut(Eo,"staticRegisteredConfigs",new Map);function rk(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ae(t,e,n){return e=So(e),ik(t,V0()?Reflect.construct(e,n||[],So(t).constructor):e.apply(t,n))}function S(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function So(t){return So=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},So(t)}function ke(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Za(t,e)}function ik(t,e){return e&&(uk(e)==="object"||typeof e=="function")?e:rk(t)}function Za(t,e){return Za=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Za(t,e)}function uk(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function V0(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(V0=function(){return!!t})()}var De=function t(e){S(this,t),v(this,"dataCode",void 0),v(this,"fieldCode",void 0),v(this,"fieldType",void 0),v(this,"aliasCode",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var o;this.fieldCode=(o=e==null?void 0:e.fieldCode)!==null&&o!==void 0?o:"";var r;this.fieldType=(r=e==null?void 0:e.fieldType)!==null&&r!==void 0?r:"",this.aliasCode=e==null?void 0:e.aliasCode},Ya=function t(e){S(this,t),v(this,"minWidth",void 0),v(this,"maxWidth",void 0),v(this,"flex",void 0);var n;this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth;var o;this.flex=(o=e==null?void 0:e.flex)!==null&&o!==void 0?o:1},ef=function(t){ke(e,t);function e(n){S(this,e);var o;o=Ae(this,e,[n]),v(o,"width",void 0),v(o,"widthType",void 0);var r;o.width=(r=n==null?void 0:n.width)!==null&&r!==void 0?r:240;var i;return o.widthType=(i=n==null?void 0:n.widthType)!==null&&i!==void 0?i:"auto",o}return e}(Ya),z0=function t(e){S(this,t),v(this,"pc",void 0),v(this,"mobile",void 0),this.pc=new ef(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new ef(e==null?void 0:e.mobile):new ef({width:130,minWidth:180})},ck=function t(e){S(this,t),v(this,"type",void 0),v(this,"customOptions",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree";var o;this.customOptions=(o=e==null?void 0:e.customOptions)!==null&&o!==void 0?o:[]},Nt=function t(e){S(this,t),v(this,"dataCode",void 0),v(this,"formKey",void 0),v(this,"appId",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var o;this.formKey=(o=e==null?void 0:e.formKey)!==null&&o!==void 0?o:"";var r;this.appId=(r=e==null?void 0:e.appId)!==null&&r!==void 0?r:""},lk=function(t){ke(e,t);function e(n){S(this,e);var o;o=Ae(this,e,[n]),v(o,"primaryControlId",void 0);var r;return o.primaryControlId=(r=n==null?void 0:n.primaryControlId)!==null&&r!==void 0?r:"",o}return e}(Nt),H0=function t(e){S(this,t),v(this,"fieldCode",void 0),v(this,"dataCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"";var o;this.dataCode=(o=e==null?void 0:e.dataCode)!==null&&o!==void 0?o:""},tf=function t(e){S(this,t);var n;v(this,"appId",void 0),v(this,"formKey",void 0),v(this,"headers",void 0);var o;this.appId=(o=e==null?void 0:e.appId)!==null&&o!==void 0?o:"";var r;this.formKey=(r=e==null?void 0:e.formKey)!==null&&r!==void 0?r:"";var i;this.headers=(i=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(u){return new H0(u)}))!==null&&i!==void 0?i:[]},ak=function t(e){S(this,t),v(this,"fieldName",void 0),v(this,"fieldCode",void 0),v(this,"fieldType",void 0);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var o;this.fieldCode=(o=e==null?void 0:e.fieldCode)!==null&&o!==void 0?o:"";var r;this.fieldType=(r=e==null?void 0:e.fieldType)!==null&&r!==void 0?r:g.VARCHAR},fk=function(t){ke(e,t);function e(n){S(this,e);var o;o=Ae(this,e,[n]),v(o,"title",void 0),v(o,"svcCode",void 0),v(o,"isOpenFilter",void 0),v(o,"filters",void 0);var r;o.title=(r=n==null?void 0:n.title)!==null&&r!==void 0?r:"";var i;o.svcCode=(i=n==null?void 0:n.svcCode)!==null&&i!==void 0?i:"";var u;o.isOpenFilter=(u=n==null?void 0:n.isOpenFilter)!==null&&u!==void 0?u:!1;var c;return o.filters=(c=n==null?void 0:n.filters)!==null&&c!==void 0?c:[],o}return e}(Nt),_k=function t(e){S(this,t);var n,o;v(this,"type","sublist-page"),v(this,"formBind",void 0),v(this,"displayFields",void 0),v(this,"sublists",void 0),this.formBind=new Nt(e==null?void 0:e.formBind);var r;this.displayFields=(r=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(u){return new ak(u)}))!==null&&r!==void 0?r:[];var i;this.sublists=(i=e==null||(o=e.sublists)===null||o===void 0?void 0:o.map(function(u){return new fk(u)}))!==null&&i!==void 0?i:[]},yk=function t(e){S(this,t),v(this,"type",void 0),v(this,"value",void 0),v(this,"dataCode",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value,this.dataCode=e==null?void 0:e.dataCode},Zn=function t(e){S(this,t),v(this,"type",void 0),v(this,"value",void 0),v(this,"displayBos",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var o;this.value=(o=e==null?void 0:e.value)!==null&&o!==void 0?o:[];var r;this.displayBos=(r=e==null?void 0:e.displayBos)!==null&&r!==void 0?r:[]},nf=function t(e){var n=this;S(this,t),v(this,"id",void 0),v(this,"ruleId",void 0),v(this,"type","conditions"),v(this,"level",void 0),v(this,"value",void 0),v(this,"children",void 0);var o;this.id=(o=e==null?void 0:e.id)!==null&&o!==void 0?o:Ie();var r;this.ruleId=(r=e==null?void 0:e.ruleId)!==null&&r!==void 0?r:new Date().valueOf();var i;this.level=(i=e==null?void 0:e.level)!==null&&i!==void 0?i:0;var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(c){if(c.children!==void 0){var a,l=new t(c);(a=n.children)===null||a===void 0||a.push(l)}else{var f,y=new To(c);(f=n.children)===null||f===void 0||f.push(y)}}))},To=function t(e){S(this,t),v(this,"id",void 0),v(this,"ruleId",void 0),v(this,"type","condition"),v(this,"symbol",void 0),v(this,"checked",void 0),v(this,"describe",void 0),v(this,"leftVariableBo",void 0),v(this,"rightVariableBo",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:Ie();var o;this.ruleId=(o=e==null?void 0:e.ruleId)!==null&&o!==void 0?o:new Date().valueOf();var r;this.symbol=(r=e==null?void 0:e.symbol)!==null&&r!==void 0?r:"";var i;this.checked=(i=e==null?void 0:e.checked)!==null&&i!==void 0?i:!1;var u;this.describe=(u=e==null?void 0:e.describe)!==null&&u!==void 0?u:"",this.leftVariableBo=new yk(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new Zn(e==null?void 0:e.rightVariableBo)},sk=function t(e){S(this,t),v(this,"aliasCode",void 0),v(this,"datasourceBind",void 0),v(this,"relationFields",void 0);var n;this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new X(e==null?void 0:e.datasourceBind);var o;this.relationFields=(o=e==null?void 0:e.relationFields)!==null&&o!==void 0?o:[]},se=function t(e){S(this,t),v(this,"controlId",void 0),v(this,"fieldCode",void 0),v(this,"fieldType",void 0),v(this,"propName",void 0);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var o;this.fieldCode=(o=e==null?void 0:e.fieldCode)!==null&&o!==void 0?o:"";var r;this.fieldType=(r=e==null?void 0:e.fieldType)!==null&&r!==void 0?r:"";var i;this.propName=(i=e==null?void 0:e.propName)!==null&&i!==void 0?i:""},of=function t(e){S(this,t),v(this,"type",void 0),v(this,"value",void 0),v(this,"fieldType",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var o;this.value=(o=e==null?void 0:e.value)!==null&&o!==void 0?o:"",this.fieldType=e==null?void 0:e.fieldType},pk=function t(e){S(this,t),v(this,"columnName",void 0),v(this,"desc",void 0);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var o;this.desc=(o=e.desc)!==null&&o!==void 0?o:!1};function rf(t){var e,n,o,r;this.filters=(r=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(c){return c.children!==void 0?new nf(c):new To(c)}))!==null&&r!==void 0?r:[];var i;this.viewFilters=(i=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(c){return c.children!==void 0?new nf(c):new To(c)}))!==null&&i!==void 0?i:[];var u;this.orders=(u=t==null||(o=t.orders)===null||o===void 0?void 0:o.map(function(c){return new pk(c)}))!==null&&u!==void 0?u:[]}var X=function t(e){var n=this;S(this,t),v(this,"dataCode",void 0),v(this,"valueFieldCode",void 0),v(this,"displayBoList",void 0),v(this,"keywordMapping",void 0),v(this,"svcCode",void 0),v(this,"appId",void 0),v(this,"filters",void 0),v(this,"viewFilters",void 0),v(this,"isOpenViewFilters",void 0),v(this,"orders",void 0),v(this,"showOrder",void 0);var o;this.dataCode=(o=e==null?void 0:e.dataCode)!==null&&o!==void 0?o:"";var r;this.appId=(r=e==null?void 0:e.appId)!==null&&r!==void 0?r:"";var i;this.valueFieldCode=(i=e==null?void 0:e.valueFieldCode)!==null&&i!==void 0?i:"",this.displayBoList=[];var u;this.isOpenViewFilters=(u=e==null?void 0:e.isOpenViewFilters)!==null&&u!==void 0?u:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(f){var y;(y=n.displayBoList)===null||y===void 0||y.push(new of(f))}));var c;this.keywordMapping=(c=e==null?void 0:e.keywordMapping)!==null&&c!==void 0?c:"";var a;this.showOrder=(a=e==null?void 0:e.showOrder)!==null&&a!==void 0?a:!0;var l;this.svcCode=(l=e==null?void 0:e.svcCode)!==null&&l!==void 0?l:"",rf.call(this,e)},uf=function t(e){S(this,t),v(this,"dataCode",void 0),v(this,"displayBoList",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var o;this.displayBoList=(o=e==null?void 0:e.displayBoList)!==null&&o!==void 0?o:[]},Xe=function t(e){S(this,t),v(this,"code",void 0),v(this,"color",void 0),v(this,"command",void 0),v(this,"confirmMessage",void 0),v(this,"defaultState",void 0),v(this,"formKey",void 0),v(this,"formType",void 0),v(this,"icon",void 0),v(this,"needConfirm",void 0),v(this,"openType",void 0),v(this,"priorityProcess",void 0);var n;this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view";var o;this.color=(o=e==null?void 0:e.color)!==null&&o!==void 0?o:"primary";var r;this.command=(r=e==null?void 0:e.command)!==null&&r!==void 0?r:"view";var i;this.confirmMessage=(i=e==null?void 0:e.confirmMessage)!==null&&i!==void 0?i:void 0;var u;this.defaultState=(u=e==null?void 0:e.defaultState)!==null&&u!==void 0?u:"default";var c;this.formKey=(c=e==null?void 0:e.formKey)!==null&&c!==void 0?c:void 0,this.formType=e==null?void 0:e.formType;var a;this.icon=(a=e==null?void 0:e.icon)!==null&&a!==void 0?a:"iconliulan1";var l;this.needConfirm=(l=e==null?void 0:e.needConfirm)!==null&&l!==void 0?l:!1;var f;this.openType=(f=e==null?void 0:e.openType)!==null&&f!==void 0?f:"modal";var y;this.priorityProcess=(y=e==null?void 0:e.priorityProcess)!==null&&y!==void 0?y:!0},q0=function t(e){S(this,t);var n;v(this,"name",void 0),v(this,"key",void 0),v(this,"value",void 0);var o;this.name=(o=e==null?void 0:e.name)!==null&&o!==void 0?o:"";var r;this.key=(r=e==null?void 0:e.key)!==null&&r!==void 0?r:"";var i;this.value=(i=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(u){return new of(u)}))!==null&&i!==void 0?i:[]},Ro=function(t){ke(e,t);function e(n){S(this,e);var o,r;o=Ae(this,e,[n]),v(o,"attributes",void 0);var i;return o.attributes=(i=n==null||(r=n.attributes)===null||r===void 0?void 0:r.map(function(u){return new q0(u)}))!==null&&i!==void 0?i:[],o}return e}(X),dk=function(t){ke(e,t);function e(n){S(this,e);var o,r;o=Ae(this,e,[n]),v(o,"attributes",void 0),v(o,"formCode",void 0);var i;o.attributes=(i=n==null||(r=n.attributes)===null||r===void 0?void 0:r.map(function(c){return new q0(c)}))!==null&&i!==void 0?i:[];var u;return o.formCode=(u=n==null?void 0:n.formCode)!==null&&u!==void 0?u:"",o}return e}(X),U0=function(t){ke(e,t);function e(n){S(this,e);var o;o=Ae(this,e,[n]),v(o,"rootNode",void 0),v(o,"filterCode",void 0),o.rootNode=new Zn(n==null?void 0:n.rootNode);var r;return o.filterCode=(r=n==null?void 0:n.filterCode)!==null&&r!==void 0?r:"",o}return e}(Ro),C0=function t(e){S(this,t);var n;v(this,"dataCode",void 0),v(this,"appId",void 0),v(this,"fillList",void 0);var o;this.dataCode=(o=e==null?void 0:e.dataCode)!==null&&o!==void 0?o:"";var r;this.appId=(r=e==null?void 0:e.appId)!==null&&r!==void 0?r:"";var i;this.fillList=(i=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(u){return new se(u)}))!==null&&i!==void 0?i:[]},W0=function(t){ke(e,t);function e(n){S(this,e);var o;return o=Ae(this,e,[n]),v(o,"filters",void 0),v(o,"viewFilters",void 0),v(o,"orders",void 0),rf.call(o,n),o}return e}(C0),K0=function(t){ke(e,t);function e(n){S(this,e);var o;o=Ae(this,e,[n]),v(o,"mode",void 0),v(o,"multiple",void 0);var r;o.mode=(r=n==null?void 0:n.mode)!==null&&r!==void 0?r:"current";var i;return o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1,o}return e}(C0),Bo=function t(e){S(this,t),v(this,"stencilName",void 0),v(this,"expression",void 0),v(this,"errMessage",void 0);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var o;this.expression=(o=e==null?void 0:e.expression)!==null&&o!==void 0?o:"";var r;this.errMessage=(r=e==null?void 0:e.errMessage)!==null&&r!==void 0?r:""},vk=function t(e){S(this,t),v(this,"id",void 0),v(this,"label",void 0),v(this,"value",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:Ie(8);var o;this.label=(o=e==null?void 0:e.label)!==null&&o!==void 0?o:"";var r;this.value=(r=e==null?void 0:e.value)!==null&&r!==void 0?r:this.label};function Qe(t){var e;return(e=t==null?void 0:t.map(function(n){return new vk(n)}))!==null&&e!==void 0?e:[]}var cf=function t(){S(this,t)},hk=function(t){ke(e,t);function e(n){S(this,e);var o;return o=Ae(this,e),v(o,"amount",void 0),v(o,"currency",void 0),o.amount=new De(n==null?void 0:n.amount),o.currency=new De(n==null?void 0:n.currency),o}return e}(cf),bk=function t(e){S(this,t),v(this,"amount",void 0),v(this,"currency",void 0);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var o;this.currency=(o=e==null?void 0:e.currency)!==null&&o!==void 0?o:"CNY"},gk=function(t){ke(e,t);function e(n){S(this,e);var o;return o=Ae(this,e),v(o,"min",void 0),v(o,"max",void 0),o.min=new De(n==null?void 0:n.min),o.max=new De(n==null?void 0:n.max),o}return e}(cf),mk=function t(e){S(this,t),v(this,"min",void 0),v(this,"max",void 0);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var o;this.max=(o=e==null?void 0:e.max)!==null&&o!==void 0?o:""},Ok=function t(e){S(this,t),v(this,"city",void 0),v(this,"cityDisplay",void 0),v(this,"district",void 0),v(this,"districtDisplay",void 0),v(this,"province",void 0),v(this,"provinceDisplay",void 0);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var o;this.cityDisplay=(o=e==null?void 0:e.cityDisplay)!==null&&o!==void 0?o:"";var r;this.district=(r=e==null?void 0:e.district)!==null&&r!==void 0?r:"";var i;this.districtDisplay=(i=e==null?void 0:e.districtDisplay)!==null&&i!==void 0?i:"";var u;this.province=(u=e==null?void 0:e.province)!==null&&u!==void 0?u:"";var c;this.provinceDisplay=(c=e==null?void 0:e.provinceDisplay)!==null&&c!==void 0?c:""},wk=function(t){ke(e,t);function e(n){S(this,e);var o;return o=Ae(this,e),v(o,"result",void 0),v(o,"unit",void 0),o.result=new De(n==null?void 0:n.result),o.unit=new De(n==null?void 0:n.unit),o}return e}(cf),$k=function t(e){S(this,t),v(this,"result",void 0),v(this,"unit",void 0);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var o;this.unit=(o=e==null?void 0:e.unit)!==null&&o!==void 0?o:""},lf;(function(t){t.CNY="CNY",t.USD="USD",t.JPY="JPY",t.EUR="EUR",t.INR="INR",t.IDR="IDR",t.BRL="BRL",t.AED="AED",t.AUD="AUD",t.CAD="CAD",t.EGP="EGP",t.GBP="GBP",t.ZAR="ZAR",t.KRW="KRW",t.MAD="MAD",t.MXN="MXN",t.MYR="MYR",t.PHP="PHP",t.PLN="PLN",t.RUB="RUB",t.SGD="SGD",t.THB="THB",t.TRY="TRY",t.TWD="TWD",t.VND="VND",t.HKD="HKD",t.IEP="IEP"})(lf||(lf={}));var _;(function(t){t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.IS_SHOW_WATERMARK="isShowWatermark",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions",t.IS_PASTE="isPaste"})(_||(_={}));var af;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(af||(af={}));var ct=function t(e){S(this,t),v(this,"isShow",void 0),v(this,"priorityProcess",void 0),v(this,"formKey",void 0),v(this,"content",void 0),v(this,"openType",void 0),v(this,"type",void 0);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var o;this.content=(o=e==null?void 0:e.content)!==null&&o!==void 0?o:"";var r;this.formKey=(r=e==null?void 0:e.formKey)!==null&&r!==void 0?r:"";var i;this.openType=(i=e==null?void 0:e.openType)!==null&&i!==void 0?i:"modal";var u;this.type=(u=e==null?void 0:e.type)!==null&&u!==void 0?u:"";var c;this.priorityProcess=(c=e==null?void 0:e.priorityProcess)!==null&&c!==void 0?c:!1},Pk=function t(e){S(this,t);var n;v(this,"id",void 0),v(this,"title",void 0),v(this,"filters",void 0),v(this,"viewFilters",void 0),v(this,"headers",void 0);var o;this.id=(o=e==null?void 0:e.id)!==null&&o!==void 0?o:Ie(8);var r;this.title=(r=e==null?void 0:e.title)!==null&&r!==void 0?r:"";var i;this.headers=(i=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(u){return new H0(u)}))!==null&&i!==void 0?i:[],rf.call(this,e)},Ek=function t(e){S(this,t),v(this,"width",void 0),v(this,"height",void 0),v(this,"widthConfig",void 0),v(this,"heightConfig",void 0);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var o;this.height=(o=e==null?void 0:e.height)!==null&&o!==void 0?o:"";var r;this.widthConfig=(r=e==null?void 0:e.widthConfig)!==null&&r!==void 0?r:"fill";var i;this.heightConfig=(i=e==null?void 0:e.heightConfig)!==null&&i!==void 0?i:"fill"},Sk=function t(e){S(this,t),v(this,"optCode",void 0),v(this,"optType",void 0);var n;this.optCode=(n=e==null?void 0:e.optCode)!==null&&n!==void 0?n:"";var o;this.optType=(o=e==null?void 0:e.optType)!==null&&o!==void 0?o:""},Tk=function t(e){S(this,t);var n;v(this,"id",void 0),v(this,"name",void 0),v(this,"color",void 0),v(this,"filters",void 0);var o;this.id=(o=e==null?void 0:e.id)!==null&&o!==void 0?o:Ie();var r;this.name=(r=e==null?void 0:e.name)!==null&&r!==void 0?r:"";var i;this.color=(i=e==null?void 0:e.color)!==null&&i!==void 0?i:"theme";var u;this.filters=(u=e==null||(n=e.filters)===null||n===void 0?void 0:n.map(function(c){return c.children!==void 0?new nf(c):new To(c)}))!==null&&u!==void 0?u:[]},Rk=function t(e){S(this,t),v(this,"id",void 0),v(this,"script",void 0),v(this,"color",void 0);var n;this.id=(n=e.id)!==null&&n!==void 0?n:Ie();var o;this.script=(o=e.script)!==null&&o!==void 0?o:"";var r;this.color=(r=e.color)!==null&&r!==void 0?r:"theme"};function Bk(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ik(t,e,n){return e=Yn(e),Dk(t,yf()?Reflect.construct(e,n||[],Yn(t).constructor):e.apply(t,n))}function ff(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Io(t,e,n){return yf()?Io=Reflect.construct:Io=function(r,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(r,c),l=new a;return u&&eo(l,u.prototype),l},Io.apply(null,arguments)}function lt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yn(t){return Yn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yn(t)}function Ak(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&eo(t,e)}function kk(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Dk(t,e){return e&&(xk(e)==="object"||typeof e=="function")?e:Bk(t)}function eo(t,e){return eo=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},eo(t,e)}function xk(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _f(t){var e=typeof Map=="function"?new Map:void 0;return _f=function(o){if(o===null||!kk(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(o))return e.get(o);e.set(o,r)}function r(){return Io(o,arguments,Yn(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),eo(r,o)},_f(t)}function yf(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(yf=function(){return!!t})()}var W=function t(e){ff(this,t),lt(this,"isHide",{type:"boolean"})},$t=function(t){Ak(e,t);function e(n){return ff(this,e),Ik(this,e)}return e}(_f(Array)),K=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";ff(this,t),lt(this,"isHide",void 0),lt(this,"className",void 0),lt(this,"style",void 0),lt(this,"caption",void 0);var o;this.isHide=(o=e==null?void 0:e.isHide)!==null&&o!==void 0?o:!1,this.style=new Ek(e==null?void 0:e.style);var r;this.caption=(r=e==null?void 0:e.caption)!==null&&r!==void 0?r:n};lt(K,"mode",void 0),lt(K,"Rules",W),lt(K,"RuntimeRules",$t);function Ve(){return Ve=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},Ve.apply(this,arguments)}function Fk(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function sf(t){return sf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sf(t)}function Ao(t,e){return Ao=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ao(t,e)}function jk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function ko(t,e,n){return jk()?ko=Reflect.construct:ko=function(r,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(r,c),l=new a;return u&&Ao(l,u.prototype),l},ko.apply(null,arguments)}function Lk(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function pf(t){var e=typeof Map=="function"?new Map:void 0;return pf=function(o){if(o===null||!Lk(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(o))return e.get(o);e.set(o,r)}function r(){return ko(o,arguments,sf(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Ao(r,o)},pf(t)}var Mk=/%[sdj%]/g,G0=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(G0=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(o){return typeof o=="string"})&&console.warn(e,n)});function df(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var o=n.field;e[o]=e[o]||[],e[o].push(n)}),e}function ge(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var o=1,r=e[0],i=e.length;if(typeof r=="function")return r.apply(null,e.slice(1));if(typeof r=="string"){var u=String(r).replace(Mk,function(c){if(c==="%%")return"%";if(o>=i)return c;switch(c){case"%s":return String(e[o++]);case"%d":return Number(e[o++]);case"%j":try{return JSON.stringify(e[o++])}catch(a){return"[Circular]"}break;default:return c}});return u}return r}function Nk(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function G(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||Nk(e)&&typeof t=="string"&&!t)}function Vk(t,e,n){var o=[],r=0,i=t.length;function u(c){o.push.apply(o,c),r++,r===i&&n(o)}t.forEach(function(c){e(c,u)})}function X0(t,e,n){var o=0,r=t.length;function i(u){if(u&&u.length){n(u);return}var c=o;o=o+1,c<r?e(t[c],i):n([])}i([])}function zk(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Q0=function(t){Fk(e,t);function e(n,o){var r;return r=t.call(this,"Async Validation Error")||this,r.errors=n,r.fields=o,r}return e}(pf(Error));function Hk(t,e,n,o){if(e.first){var r=new Promise(function(y,p){var b=function(w){return o(w),w.length?p(new Q0(w,df(w))):y()},O=zk(t);X0(O,n,b)});return r.catch(function(y){return y}),r}var i=e.firstFields||[];i===!0&&(i=Object.keys(t));var u=Object.keys(t),c=u.length,a=0,l=[],f=new Promise(function(y,p){var b=function(m){if(l.push.apply(l,m),a++,a===c)return o(l),l.length?p(new Q0(l,df(l))):y()};u.length||(o(l),y()),u.forEach(function(O){var m=t[O];i.indexOf(O)!==-1?X0(m,n,b):Vk(m,n,b)})});return f.catch(function(y){return y}),f}function J0(t){return function(e){return e&&e.message?(e.field=e.field||t.fullField,e):{message:typeof e=="function"?e():e,field:e.field||t.fullField}}}function Z0(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var o=e[n];typeof o=="object"&&typeof t[n]=="object"?t[n]=Ve(Ve({},t[n]),o):t[n]=o}}return t}function Y0(t,e,n,o,r,i){t.required&&(!n.hasOwnProperty(t.field)||G(e,i||t.type))&&o.push(ge(r.messages.required,t.fullField))}function qk(t,e,n,o,r){(/^\s+$/.test(e)||e==="")&&o.push(ge(r.messages.whitespace,t.fullField))}var vf={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},to={integer:function(e){return to.number(e)&&parseInt(e,10)===e},float:function(e){return to.number(e)&&!to.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(n){return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!to.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(vf.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(vf.url)},hex:function(e){return typeof e=="string"&&!!e.match(vf.hex)}};function Uk(t,e,n,o,r){if(t.required&&e===void 0){Y0(t,e,n,o,r);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],u=t.type;i.indexOf(u)>-1?to[u](e)||o.push(ge(r.messages.types[u],t.fullField,t.type)):u&&typeof e!==t.type&&o.push(ge(r.messages.types[u],t.fullField,t.type))}function Ck(t,e,n,o,r){var i=typeof t.len=="number",u=typeof t.min=="number",c=typeof t.max=="number",a=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l=e,f=null,y=typeof e=="number",p=typeof e=="string",b=Array.isArray(e);if(y?f="number":p?f="string":b&&(f="array"),!f)return!1;b&&(l=e.length),p&&(l=e.replace(a,"_").length),i?l!==t.len&&o.push(ge(r.messages[f].len,t.fullField,t.len)):u&&!c&&l<t.min?o.push(ge(r.messages[f].min,t.fullField,t.min)):c&&!u&&l>t.max?o.push(ge(r.messages[f].max,t.fullField,t.max)):u&&c&&(l<t.min||l>t.max)&&o.push(ge(r.messages[f].range,t.fullField,t.min,t.max))}var Vt="enum";function Wk(t,e,n,o,r){t[Vt]=Array.isArray(t[Vt])?t[Vt]:[],t[Vt].indexOf(e)===-1&&o.push(ge(r.messages[Vt],t.fullField,t[Vt].join(", ")))}function Kk(t,e,n,o,r){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||o.push(ge(r.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var i=new RegExp(t.pattern);i.test(e)||o.push(ge(r.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var k={required:Y0,whitespace:qk,type:Uk,range:Ck,enum:Wk,pattern:Kk};function Gk(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(G(e,"string")&&!t.required)return n();k.required(t,e,o,i,r,"string"),G(e,"string")||(k.type(t,e,o,i,r),k.range(t,e,o,i,r),k.pattern(t,e,o,i,r),t.whitespace===!0&&k.whitespace(t,e,o,i,r))}n(i)}function Xk(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(G(e)&&!t.required)return n();k.required(t,e,o,i,r),e!==void 0&&k.type(t,e,o,i,r)}n(i)}function Qk(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(e===""&&(e=void 0),G(e)&&!t.required)return n();k.required(t,e,o,i,r),e!==void 0&&(k.type(t,e,o,i,r),k.range(t,e,o,i,r))}n(i)}function Jk(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(G(e)&&!t.required)return n();k.required(t,e,o,i,r),e!==void 0&&k.type(t,e,o,i,r)}n(i)}function Zk(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(G(e)&&!t.required)return n();k.required(t,e,o,i,r),G(e)||k.type(t,e,o,i,r)}n(i)}function Yk(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(G(e)&&!t.required)return n();k.required(t,e,o,i,r),e!==void 0&&(k.type(t,e,o,i,r),k.range(t,e,o,i,r))}n(i)}function e2(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(G(e)&&!t.required)return n();k.required(t,e,o,i,r),e!==void 0&&(k.type(t,e,o,i,r),k.range(t,e,o,i,r))}n(i)}function t2(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(e==null&&!t.required)return n();k.required(t,e,o,i,r,"array"),e!=null&&(k.type(t,e,o,i,r),k.range(t,e,o,i,r))}n(i)}function n2(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(G(e)&&!t.required)return n();k.required(t,e,o,i,r),e!==void 0&&k.type(t,e,o,i,r)}n(i)}var o2="enum";function r2(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(G(e)&&!t.required)return n();k.required(t,e,o,i,r),e!==void 0&&k[o2](t,e,o,i,r)}n(i)}function i2(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(G(e,"string")&&!t.required)return n();k.required(t,e,o,i,r),G(e,"string")||k.pattern(t,e,o,i,r)}n(i)}function u2(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(G(e,"date")&&!t.required)return n();if(k.required(t,e,o,i,r),!G(e,"date")){var c;e instanceof Date?c=e:c=new Date(e),k.type(t,c,o,i,r),c&&k.range(t,c.getTime(),o,i,r)}}n(i)}function c2(t,e,n,o,r){var i=[],u=Array.isArray(e)?"array":typeof e;k.required(t,e,o,i,r,u),n(i)}function hf(t,e,n,o,r){var i=t.type,u=[],c=t.required||!t.required&&o.hasOwnProperty(t.field);if(c){if(G(e,i)&&!t.required)return n();k.required(t,e,o,u,r,i),G(e,i)||k.type(t,e,o,u,r)}n(u)}function l2(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(G(e)&&!t.required)return n();k.required(t,e,o,i,r)}n(i)}var no={string:Gk,method:Xk,number:Qk,boolean:Jk,regexp:Zk,integer:Yk,float:e2,array:t2,object:n2,enum:r2,pattern:i2,date:u2,url:hf,hex:hf,email:hf,required:c2,any:l2};function bf(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var gf=bf();function at(t){this.rules=null,this._messages=gf,this.define(t)}at.prototype={messages:function(e){return e&&(this._messages=Z0(bf(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,o;for(n in e)e.hasOwnProperty(n)&&(o=e[n],this.rules[n]=Array.isArray(o)?o:[o])},validate:function(e,n,o){var r=this;n===void 0&&(n={}),o===void 0&&(o=function(){});var i=e,u=n,c=o;if(typeof u=="function"&&(c=u,u={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(),Promise.resolve();function a(m){var w,h=[],$={};function P(E){if(Array.isArray(E)){var T;h=(T=h).concat.apply(T,E)}else h.push(E)}for(w=0;w<m.length;w++)P(m[w]);h.length?$=df(h):(h=null,$=null),c(h,$)}if(u.messages){var l=this.messages();l===gf&&(l=bf()),Z0(l,u.messages),u.messages=l}else u.messages=this.messages();var f,y,p={},b=u.keys||Object.keys(this.rules);b.forEach(function(m){f=r.rules[m],y=i[m],f.forEach(function(w){var h=w;typeof h.transform=="function"&&(i===e&&(i=Ve({},i)),y=i[m]=h.transform(y)),typeof h=="function"?h={validator:h}:h=Ve({},h),h.validator=r.getValidationMethod(h),h.field=m,h.fullField=h.fullField||m,h.type=r.getType(h),h.validator&&(p[m]=p[m]||[],p[m].push({rule:h,value:y,source:i,field:m}))})});var O={};return Hk(p,u,function(m,w){var h=m.rule,$=(h.type==="object"||h.type==="array")&&(typeof h.fields=="object"||typeof h.defaultField=="object");$=$&&(h.required||!h.required&&m.value),h.field=m.field;function P(j,A){return Ve(Ve({},A),{},{fullField:h.fullField+"."+j})}function E(j){j===void 0&&(j=[]);var A=j;if(Array.isArray(A)||(A=[A]),!u.suppressWarning&&A.length&&at.warning("async-validator:",A),A.length&&h.message!==void 0&&(A=[].concat(h.message)),A=A.map(J0(h)),u.first&&A.length)return O[h.field]=1,w(A);if(!$)w(A);else{if(h.required&&!m.value)return h.message!==void 0?A=[].concat(h.message).map(J0(h)):u.error&&(A=[u.error(h,ge(u.messages.required,h.field))]),w(A);var ue={};if(h.defaultField)for(var B in m.value)m.value.hasOwnProperty(B)&&(ue[B]=h.defaultField);ue=Ve(Ve({},ue),m.rule.fields);for(var We in ue)if(ue.hasOwnProperty(We)){var wo=Array.isArray(ue[We])?ue[We]:[ue[We]];ue[We]=wo.map(P.bind(null,We))}var Kn=new at(ue);Kn.messages(u.messages),m.rule.options&&(m.rule.options.messages=u.messages,m.rule.options.error=u.error),Kn.validate(m.value,m.rule.options||u,function(xt){var Ke=[];A&&A.length&&Ke.push.apply(Ke,A),xt&&xt.length&&Ke.push.apply(Ke,xt),w(Ke.length?Ke:null)})}}var T;h.asyncValidator?T=h.asyncValidator(h,m.value,E,m.source,u):h.validator&&(T=h.validator(h,m.value,E,m.source,u),T===!0?E():T===!1?E(h.message||h.field+" fails"):T instanceof Array?E(T):T instanceof Error&&E(T.message)),T&&T.then&&T.then(function(){return E()},function(j){return E(j)})},function(m){a(m)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!no.hasOwnProperty(e.type))throw new Error(ge("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),o=n.indexOf("message");return o!==-1&&n.splice(o,1),n.length===1&&n[0]==="required"?no.required:no[this.getType(e)]||!1}},at.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");no[e]=n},at.warning=G0,at.messages=gf,at.validators=no;var a2={required:"%s \u5FC5\u586B",maxLength:"%s \u8D85\u51FA\u6700\u5927\u957F\u5EA6\u9650\u5236",minLength:"%s \u5C0F\u4E8E\u6700\u5C0F\u957F\u5EA6\u9650\u5236",string:{range:"%s \u4E0D\u5728\u6307\u5B9A\u957F\u5EA6\u5185"}};function f2(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new at(t);return n.messages(Object.assign(a2,e)),n}var _2=new CA;function mf(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function y2(t){if(Array.isArray(t))return t}function s2(t){if(Array.isArray(t))return mf(t)}function eb(t,e,n,o,r,i,u){try{var c=t[i](u),a=c.value}catch(l){n(l);return}c.done?e(a):Promise.resolve(a).then(o,r)}function tb(t){return function(){var e=this,n=arguments;return new Promise(function(o,r){var i=t.apply(e,n);function u(a){eb(i,o,r,u,c,"next",a)}function c(a){eb(i,o,r,u,c,"throw",a)}u(void 0)})}}function p2(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nb(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function d2(t,e,n){return e&&nb(t.prototype,e),n&&nb(t,n),t}function M(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ob(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function rb(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function v2(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function h2(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ib(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){M(t,r,n[r])})}return t}function b2(t){return y2(t)||rb(t)||ub(t)||v2()}function Of(t){return s2(t)||rb(t)||ub(t)||h2()}function g2(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ub(t,e){if(!!t){if(typeof t=="string")return mf(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return mf(t,e)}}function cb(t,e){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,o=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){u.label=l[1];break}if(l[0]===6&&u.label<r[1]){u.label=r[1],r=l;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(l);break}r[2]&&u.ops.pop(),u.trys.pop();continue}l=e.call(t,u)}catch(f){l=[6,f],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var N=function(){function e(n){var o=this;p2(this,e),M(this,"id",void 0),M(this,"name",void 0),M(this,"icon",void 0),M(this,"type",void 0),M(this,"controlType",void 0),M(this,"props",void 0),M(this,"setting",[]),M(this,"fieldType",void 0),M(this,"eventKeys",[]),M(this,"customEvents",[]),M(this,"parent",null),M(this,"updateSetting",ab),M(this,"removeSetting",lb),this._callControlHooks("preInstance",n);var r=ob(this,e)?this.constructor:void 0,i=r.controlName,u=r.controlIcon,c=r.controlType,a=r.controlFieldType,l=r.controlEventKeys,f=r.controlCustomEvents,y=r.name,p=r.setting;i&&u&&c||P0("The ".concat(y," controlName,controlIcon,controlType is not define"));var b;this.id=(b=n==null?void 0:n.id)!==null&&b!==void 0?b:Ie(10),this.name=i,this.icon=u;var O;this.type=(O=n==null?void 0:n.type)!==null&&O!==void 0?O:c,this.props=new K(n==null?void 0:n.props,(ob(this,e)?this.constructor:void 0).controlName);var m;this.controlType=(m=n==null?void 0:n.controlType)!==null&&m!==void 0?m:"base",this.setting=it(p);var w;this.fieldType=(w=n==null?void 0:n.fieldType)!==null&&w!==void 0?w:a,this.eventKeys=it(l),this.customEvents=it(f),Promise.resolve().then(function(){o._callControlHooks("postInstance",n)})}return d2(e,[{key:"rules",get:function(){var o=this.props.constructor.Rules;return o?new o(this.props):{}}},{key:"_callControlHooks",value:function(){for(var o=arguments.length,r=new Array(o),i=0;i<o;i++)r[i]=arguments[i];var u,c=b2(r),a=c[0],l=c.slice(1);return(u=_2).emit.apply(u,[a,this].concat(Of(l)))}},{key:"preUpdate",value:function(o,r){this._callControlHooks("preUpdateProps",o,r)}},{key:"postUpdate",value:function(o,r){this._callControlHooks("postUpdateProps",o,r)}},{key:"updateProps",value:function(o,r){this.preUpdate(o,r),AA(this.props,o,r),this.postUpdate(o,r)}},{key:"preValidate",value:function(){var o=this;return tb(function(){var r,i,u;return cb(this,function(c){switch(c.label){case 0:return r=ib({},o.rules),[4,o._callControlHooks("preValidate",r)];case 1:return i=c.sent(),u=i[i.length-1],[2,u===!1?void 0:u]}})})()}},{key:"validate",value:function(o,r){var i=this;return tb(function(){var u,c,a,l;return cb(this,function(f){switch(f.label){case 0:return[4,i.preValidate()];case 1:u=f.sent(),c=u!==void 0?u:ib({},i.rules),Array.isArray(r)&&r.forEach(function(y){c.hasOwnProperty(y)&&delete c[y]}),a=f2(c,o),f.label=2;case 2:return f.trys.push([2,4,,5]),[4,a.validate(i.props)];case 3:return f.sent(),[2,!0];case 4:throw l=f.sent(),l.control||(l.control=i),l;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=this.fieldType,i=this.id,u=this.type,c=this.props,a=c.dataBind,l=c.datasourceBind,f=c.optionConfig,y=c.caption,p=c.required,b=c.maxLength,O=c.options,m=c.encrypted,w=c.encryptedMode;if(!(!r&&!a&&!l)){var h={parentId:o,fieldType:r,controlId:i,caption:y,type:u,props:{}};switch(a&&(h.dataBind=a),f){case"datasource":case void 0:l&&(h.datasourceBind=l);break;case"custom":h.props.options=O;break}return p!==void 0&&(h.required=p),b!==void 0&&(h.maxLength=b),m!==void 0&&(h.encrypted=m),w!==void 0&&(h.encryptedMode=w),h}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:it(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(o,r){if(o==="setting"){if(r.add){var i;(i=this.setting).push.apply(i,Of(r.add))}r.remove&&this.removeSettingItem(r.remove),r.update}}}]),e}();M(N,"mode","Designer"),M(N,"controlName","\u63A7\u4EF6"),M(N,"controlIcon","icon"),M(N,"controlType","control"),M(N,"controlFieldType",void 0),M(N,"controlEventKeys",[]),M(N,"controlCustomEvents",[]),M(N,"setting",[]),M(N,"__is_control__",!0),M(N,"removeSettingItem",lb),M(N,"updateSettingItem",ab);function lb(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(o){var r,i=typeof o!="string",u=(r=e.setting)===null||r===void 0?void 0:r.findIndex(function(l){return l.key===(i?o.key:o)});if(u!==-1){var c,a;i?e.setting[u].showItems=(c=e.setting[u].showItems)===null||c===void 0?void 0:c.filter(function(l){return!o.hideItems.includes(l)}):e.setting.splice(u,1),i&&!(!((a=e.setting[u].showItems)===null||a===void 0)&&a.length)&&e.setting.splice(u,1)}})}function ab(t,e){var n=this,o=typeof t=="string"?[t]:t;o.forEach(function(r){var i=n.setting.find(function(l){return l.key===r});if(i){if(typeof e=="boolean")i.visible=e;else if((typeof e=="undefined"?"undefined":g2(e))==="object"){var u,c=(u=e.type)!==null&&u!==void 0?u:"replace";if(c==="replace")i.showItems=e.showItems;else{var a;(a=i.showItems).push.apply(a,Of(e.showItems))}}}})}function m2(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fb(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function O2(t,e,n){return e&&fb(t.prototype,e),n&&fb(t,n),t}function me(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function w2(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var Je=function(){function e(n){m2(this,e),me(this,"id",void 0),me(this,"type",void 0),me(this,"controlType",void 0),me(this,"props",void 0),me(this,"fieldType",void 0),me(this,"customEvents",[]),me(this,"pageStatus",void 0),me(this,"parent",null);var o=w2(this,e)?this.constructor:void 0,r=o.controlType,i=o.controlFieldType,u=o.name,c=o.controlCustomEvents;r||P0("The ".concat(u," controlType is not define"));var a;this.id=(a=n==null?void 0:n.id)!==null&&a!==void 0?a:Ie(10);var l;this.type=(l=n==null?void 0:n.type)!==null&&l!==void 0?l:r,this.props=new K(n==null?void 0:n.props),this.customEvents=c;var f;this.controlType=(f=n==null?void 0:n.controlType)!==null&&f!==void 0?f:"base";var y;this.fieldType=(y=n==null?void 0:n.fieldType)!==null&&y!==void 0?y:i;var p;this.pageStatus=(p=n==null?void 0:n.pageStatus)!==null&&p!==void 0?p:af.UNKNOWN}return O2(e,[{key:"rules",get:function(){var o=this.props.constructor.RuntimeRules;if(o){var r=new o(this.props);return Array.from(r)}return[]}}]),e}();me(Je,"mode","Runtime"),me(Je,"controlType","control"),me(Je,"controlFieldType",void 0),me(Je,"__is_control__",!0),me(Je,"controlCustomEvents",[]);function wf(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:d.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:d.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,o,r){o.length===0&&r(d.getMessage("optionIsRequired")),r()}},{type:"array",validator:function(n,o,r){var i=o.map(function(c){return c.value}),u=FA(i);i.length!==u.length?r(d.getMessage("optionIdIsRepeat")):r()},message:d.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(n,o,r){o.length===0&&r(d.getMessage("pleaseBindAtLeastOneDisplayValue")),r()},message:d.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}])}function Do(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:d.getMessage("isNotString")},key:{type:"string",required:!0,message:d.getMessage("isNotString")},value:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(r,i,u){i.length===0&&u(d.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),u()},message:d.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}]}function $2(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function P2(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xo(t,e,n){return e=jo(e),E2(t,_b()?Reflect.construct(e,n||[],jo(t).constructor):e.apply(t,n))}function Fo(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function L(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function jo(t){return jo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jo(t)}function Lo(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$f(t,e)}function E2(t,e){return e&&(S2(e)==="object"||typeof e=="function")?e:P2(t)}function $f(t,e){return $f=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$f(t,e)}function S2(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _b(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_b=function(){return!!t})()}var J=function(t){Lo(e,t);function e(n){Fo(this,e);var o;o=xo(this,e,[n]),L(o,"dataBind",{}),L(o,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),L(o,"isHideCaption",{type:"boolean"}),L(o,"labelPosition",{type:"enum",enum:["top","left"]}),L(o,"defaultState",{type:"enum",enum:["default","readonly"]}),L(o,"required",{type:"boolean"}),L(o,"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")});var r={fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")}};if($2(n.dataBind))o.dataBind={type:"object",required:!0,fields:it(r),message:d.getMessage("pleaseEnterFieldCode")};else{var i={type:"object",required:!0,fields:{},message:d.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(u){i.fields[u]={type:"object",required:!0,fields:it(r),message:d.getMessage("pleaseEnterFieldCode")}}),o.dataBind=i}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return e}(W),z=function(t){Lo(e,t);function e(n){Fo(this,e);var o;o=xo(this,e,[n]);var r=n.isHide?!1:n.required;return r&&o.push({type:"string",required:r,message:n.requiredMessage!==""?n.requiredMessage:d.getMessage("runtimeRequired",{caption:n.caption})}),o}return e}($t),D=function(t){Lo(e,t);function e(n){Fo(this,e);var o;o=xo(this,e,[n]),L(o,"caption",void 0),L(o,"captionSize",void 0),L(o,"captionColor",void 0),L(o,"isCaptionItalic",void 0),L(o,"isHideCaption",void 0),L(o,"isShowCaptionTip",void 0),L(o,"captionTip",void 0),L(o,"labelPosition",void 0),L(o,"dataBind",void 0),L(o,"defaultValue",void 0),L(o,"placeholder",void 0),L(o,"defaultState",void 0),L(o,"required",void 0),L(o,"requiredMessage",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:"";var i;o.captionSize=(i=n==null?void 0:n.captionSize)!==null&&i!==void 0?i:"";var u;o.captionColor=(u=n==null?void 0:n.captionColor)!==null&&u!==void 0?u:"";var c;o.isCaptionItalic=(c=n==null?void 0:n.isCaptionItalic)!==null&&c!==void 0?c:!1;var a;o.isHideCaption=(a=n==null?void 0:n.isHideCaption)!==null&&a!==void 0?a:!1;var l;o.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var f;o.captionTip=(f=n==null?void 0:n.captionTip)!==null&&f!==void 0?f:"";var y;o.defaultState=(y=n==null?void 0:n.defaultState)!==null&&y!==void 0?y:"default";var p;o.labelPosition=(p=n==null?void 0:n.labelPosition)!==null&&p!==void 0?p:"top";var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"";var O;o.required=(O=n==null?void 0:n.required)!==null&&O!==void 0?O:!1;var m;o.requiredMessage=(m=n==null?void 0:n.requiredMessage)!==null&&m!==void 0?m:"",o.dataBind=new De(n==null?void 0:n.dataBind);var w;return o.defaultValue=(w=n==null?void 0:n.defaultValue)!==null&&w!==void 0?w:"",o}return e}(K);L(D,"Rules",J),L(D,"RuntimeRules",z);var zt=function(t){Lo(e,t);function e(n){Fo(this,e);var o;return o=xo(this,e,[n]),L(o,"optionConfig",{type:"enum",enum:["custom","datasource"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")}),L(o,"options",[{type:"array",message:d.getMessage("isNotArray")}]),L(o,"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),wf.call(o,n),o}return e}(J);function T2(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function R2(t,e,n){return e=No(e),A2(t,yb()?Reflect.construct(e,n||[],No(t).constructor):e.apply(t,n))}function B2(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function No(t){return No=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},No(t)}function I2(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Pf(t,e)}function A2(t,e){return e&&(k2(e)==="object"||typeof e=="function")?e:T2(t)}function Pf(t,e){return Pf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Pf(t,e)}function k2(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function yb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(yb=function(){return!!t})()}var x=function(t){I2(e,t);function e(n){B2(this,e);var o;return o=R2(this,e,[n]),Mo(o,"controlType","form"),Mo(o,"props",void 0),o.props=new D(n==null?void 0:n.props),o}return e}(N);Mo(x,"controlEventKeys",["on_change","on_focus","on_blur"]),Mo(x,"controlCustomAttributes",void 0);function D2(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function x2(t,e,n){return e=Vo(e),L2(t,sb()?Reflect.construct(e,n||[],Vo(t).constructor):e.apply(t,n))}function F2(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ef(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Vo(t){return Vo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vo(t)}function j2(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Sf(t,e)}function L2(t,e){return e&&(M2(e)==="object"||typeof e=="function")?e:D2(t)}function Sf(t,e){return Sf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sf(t,e)}function M2(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function sb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(sb=function(){return!!t})()}var F=function(t){j2(e,t);function e(n){F2(this,e);var o;return o=x2(this,e,[n]),Ef(o,"controlType","form"),Ef(o,"props",void 0),Ef(o,"value",void 0),o.props=new D(n==null?void 0:n.props),o}return e}(Je);function N2(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function V2(t,e,n){return e=zo(e),q2(t,pb()?Reflect.construct(e,n||[],zo(t).constructor):e.apply(t,n))}function z2(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zo(t){return zo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zo(t)}function H2(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Tf(t,e)}function q2(t,e){return e&&(U2(e)==="object"||typeof e=="function")?e:N2(t)}function Tf(t,e){return Tf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Tf(t,e)}function U2(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pb=function(){return!!t})()}var Z=function(t){H2(e,t);function e(n){return z2(this,e),V2(this,e,[n])}return e}(K);function Rf(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function C2(t){if(Array.isArray(t))return Rf(t)}function W2(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function db(t,e,n,o,r,i,u){try{var c=t[i](u),a=c.value}catch(l){n(l);return}c.done?e(a):Promise.resolve(a).then(o,r)}function K2(t){return function(){var e=this,n=arguments;return new Promise(function(o,r){var i=t.apply(e,n);function u(a){db(i,o,r,u,c,"next",a)}function c(a){db(i,o,r,u,c,"throw",a)}u(void 0)})}}function G2(t,e,n){return e=_t(e),rD(t,bb()?Reflect.construct(e,n||[],_t(t).constructor):e.apply(t,n))}function X2(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vb(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Q2(t,e,n){return e&&vb(t.prototype,e),n&&vb(t,n),t}function ft(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ht(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Ht=Reflect.get:Ht=function(r,i,u){var c=iD(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Ht(t,e,n||t)}function _t(t){return _t=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_t(t)}function J2(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Bf(t,e)}function Z2(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Y2(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function eD(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function tD(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){ft(t,r,n[r])})}return t}function nD(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,o)}return n}function oD(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):nD(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function rD(t,e){return e&&(uD(e)==="object"||typeof e=="function")?e:W2(t)}function Bf(t,e){return Bf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bf(t,e)}function iD(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=_t(t),t!==null););return t}function hb(t){return C2(t)||Y2(t)||cD(t)||eD()}function uD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function cD(t,e){if(!!t){if(typeof t=="string")return Rf(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Rf(t,e)}}function bb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(bb=function(){return!!t})()}function lD(t,e){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,o=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){u.label=l[1];break}if(l[0]===6&&u.label<r[1]){u.label=r[1],r=l;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(l);break}r[2]&&u.ops.pop(),u.trys.pop();continue}l=e.call(t,u)}catch(f){l=[6,f],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var aD=1e4,Y=function(e){J2(n,e);function n(o){X2(this,n);var r;r=G2(this,n,[o]),ft(r,"controlType","layout"),ft(r,"children",void 0),ft(r,"excludes",void 0),ft(r,"childrenMaxLength",void 0),ft(r,"props",void 0);var i=Z2(this,n)?this.constructor:void 0,u=i.excludes,c=i.childrenMaxLength;return r.props=new Z(o==null?void 0:o.props),Ge(r,"children",o==null?void 0:o.children,void 0,"Designer"),r.excludes=it(u),r.childrenMaxLength=c,r}return Q2(n,[{key:"judgeExcludesChildren",value:function(r){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(r)}},{key:"judgeJoinChildren",value:function(r){var i=this.judgeExcludesChildren(r);return i&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(r,i){var u=this,c=this,a=function(){return Ht(_t(n.prototype),"validate",u)};return K2(function(){return lD(this,function(l){switch(l.label){case 0:return[4,a().call(c,r,i)];case 1:return l.sent(),[4,Promise.all(c.children.map(function(f){return f.validate(r,i)}))];case 2:return l.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,i=Ht(_t(n.prototype),"toDataBindModel",this).call(this),u=i?[i]:[];return this.children.reduce(function(c,a){var l=a.toDataBindModel(r);if(Array.isArray(l)){var f=l.filter(function(y){return!!y});return hb(c).concat(hb(f))}return l&&c.push(l),c},u)}},{key:"toSchema",value:function(){var r=Ht(_t(n.prototype),"toSchema",this).call(this),i=this.children.map(function(u){var c=u.toSchema();return c});return oD(tD({},r),{children:i})}}]),n}(N);ft(Y,"excludes",!1),ft(Y,"childrenMaxLength",aD);function fD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _D(t,e,n){return e=Ho(e),pD(t,gb()?Reflect.construct(e,n||[],Ho(t).constructor):e.apply(t,n))}function yD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function If(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ho(t){return Ho=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ho(t)}function sD(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Af(t,e)}function pD(t,e){return e&&(dD(e)==="object"||typeof e=="function")?e:fD(t)}function Af(t,e){return Af=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Af(t,e)}function dD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function gb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(gb=function(){return!!t})()}var Pt=function(t){sD(e,t);function e(n){yD(this,e);var o;return o=_D(this,e,[n]),If(o,"controlType","layout"),If(o,"children",void 0),If(o,"props",void 0),o.props=new Z(n==null?void 0:n.props),Ge(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return e}(Je);function vD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hD(t,e,n){return e=qo(e),mD(t,mb()?Reflect.construct(e,n||[],qo(t).constructor):e.apply(t,n))}function bD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function qo(t){return qo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qo(t)}function gD(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&kf(t,e)}function mD(t,e){return e&&(OD(e)==="object"||typeof e=="function")?e:vD(t)}function kf(t,e){return kf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kf(t,e)}function OD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(mb=function(){return!!t})()}var Df=function(t){gD(e,t);function e(n,o,r){bD(this,e);var i;i=hD(this,e,[o]),qt(i,"headers",void 0),qt(i,"footers",void 0),qt(i,"pageIndex",void 0),qt(i,"pageSize",void 0),qt(i,"pageSizeOptions",void 0),qt(i,"totalCount",void 0),Ge(i,"headers",o==null?void 0:o.headers,n,r),Ge(i,"footers",o==null?void 0:o.footers,n);var u;i.pageIndex=(u=o==null?void 0:o.pageIndex)!==null&&u!==void 0?u:1;var c;i.pageSize=(c=o==null?void 0:o.pageSize)!==null&&c!==void 0?c:20;var a;i.pageSizeOptions=(a=o==null?void 0:o.pageSizeOptions)!==null&&a!==void 0?a:[20];var l;return i.totalCount=(l=o==null?void 0:o.totalCount)!==null&&l!==void 0?l:0,i}return e}(K);function xf(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function wD(t){if(Array.isArray(t))return xf(t)}function $D(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ob(t,e,n,o,r,i,u){try{var c=t[i](u),a=c.value}catch(l){n(l);return}c.done?e(a):Promise.resolve(a).then(o,r)}function PD(t){return function(){var e=this,n=arguments;return new Promise(function(o,r){var i=t.apply(e,n);function u(a){Ob(i,o,r,u,c,"next",a)}function c(a){Ob(i,o,r,u,c,"throw",a)}u(void 0)})}}function ED(t,e,n){return e=yt(e),kD(t,Sb()?Reflect.construct(e,n||[],yt(t).constructor):e.apply(t,n))}function SD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wb(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function TD(t,e,n){return e&&wb(t.prototype,e),n&&wb(t,n),t}function Uo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ut(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Ut=Reflect.get:Ut=function(r,i,u){var c=DD(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Ut(t,e,n||t)}function yt(t){return yt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yt(t)}function RD(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ff(t,e)}function BD(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function ID(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function $b(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Uo(t,r,n[r])})}return t}function AD(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,o)}return n}function Pb(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):AD(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function kD(t,e){return e&&(xD(e)==="object"||typeof e=="function")?e:$D(t)}function Ff(t,e){return Ff=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ff(t,e)}function DD(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=yt(t),t!==null););return t}function Eb(t){return wD(t)||BD(t)||FD(t)||ID()}function xD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function FD(t,e){if(!!t){if(typeof t=="string")return xf(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return xf(t,e)}}function Sb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Sb=function(){return!!t})()}function jD(t,e){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,o=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){u.label=l[1];break}if(l[0]===6&&u.label<r[1]){u.label=r[1],r=l;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(l);break}r[2]&&u.ops.pop(),u.trys.pop();continue}l=e.call(t,u)}catch(f){l=[6,f],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var jf=function(t){RD(e,t);function e(n){SD(this,e);var o;return o=ED(this,e,[n]),Uo(o,"controlType","list"),Uo(o,"props",void 0),o.props=new Df(o,n==null?void 0:n.props,"Designer"),o}return TD(e,[{key:"validate",value:function(o,r){var i=this,u=this,c=function(){return Ut(yt(e.prototype),"validate",i)};return PD(function(){return jD(this,function(a){switch(a.label){case 0:return[4,c().call(u,o)];case 1:return a.sent(),[4,Promise.all(u.props.headers.map(function(l){return l.validate(o,r)}))];case 2:return a.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var o=Ut(yt(e.prototype),"toDataBindModel",this).call(this),r=o?[o]:[],i=this.id;return this.props.headers.reduce(function(u,c){var a=c.toDataBindModel(i);if(Array.isArray(a)){var l=a.filter(function(f){return!!f});return Eb(u).concat(Eb(l))}return a&&u.push(a),u},r)}},{key:"toSchema",value:function(){var o,r,i=Ut(yt(e.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(a){return a.toSchema()}),c=(r=this.props)===null||r===void 0||(o=r.footers)===null||o===void 0?void 0:o.map(function(a){if(a)return a.toSchema()});return Pb($b({},i),{props:Pb($b({},this.props),{headers:u,footers:c})})}}]),e}(N);Uo(jf,"controlFieldType",g.LIST);function LD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Lf(t,e,n){return e=Co(e),MD(t,Tb()?Reflect.construct(e,n||[],Co(t).constructor):e.apply(t,n))}function Mf(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ee(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Co(t){return Co=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Co(t)}function Nf(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vf(t,e)}function MD(t,e){return e&&(ND(e)==="object"||typeof e=="function")?e:LD(t)}function Vf(t,e){return Vf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vf(t,e)}function ND(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Tb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Tb=function(){return!!t})()}var ze=function(t){Nf(e,t);function e(n){Mf(this,e);var o;return o=Lf(this,e,[n]),ee(o,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),ee(o,"width",{type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")}),o.width.required=n.widthType==="px",o}return e}(W),U=function(t){Nf(e,t);function e(n){Mf(this,e);var o;o=Lf(this,e,[n]),ee(o,"widthType",void 0),ee(o,"width",void 0),ee(o,"caption",void 0),ee(o,"dataBind",void 0),ee(o,"autoWidth",void 0),ee(o,"fixed",void 0),ee(o,"sort",void 0),ee(o,"align",void 0),ee(o,"colSpan",void 0),ee(o,"autoHeight",void 0),ee(o,"children",void 0);var r;o.width=(r=n==null?void 0:n.width)!==null&&r!==void 0?r:150,o.widthType=(n==null?void 0:n.widthType)||"auto";var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:"none",o.autoWidth=new Ya(n==null?void 0:n.autoWidth),o.dataBind=new De(n==null?void 0:n.dataBind);var c;o.sort=(c=n==null?void 0:n.sort)!==null&&c!==void 0?c:!0,o.align=n==null?void 0:n.align,o.colSpan=n==null?void 0:n.colSpan;var a;return o.autoHeight=(a=n==null?void 0:n.autoHeight)!==null&&a!==void 0?a:!1,o}return e}(K);ee(U,"Rules",ze);var Rb=function(t){Nf(e,t);function e(n){Mf(this,e);var o;return o=Lf(this,e,[n]),ee(o,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")}),ee(o,"options",[{type:"array",message:d.getMessage("isNotArray")}]),ee(o,"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),wf.call(o,n),o}return e}(ze);function VD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zD(t,e,n){return e=Ct(e),GD(t,Ib()?Reflect.construct(e,n||[],Ct(t).constructor):e.apply(t,n))}function HD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Bb(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function qD(t,e,n){return e&&Bb(t.prototype,e),n&&Bb(t,n),t}function Wo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ko(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Ko=Reflect.get:Ko=function(r,i,u){var c=XD(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Ko(t,e,n||t)}function Ct(t){return Ct=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ct(t)}function UD(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&zf(t,e)}function CD(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Wo(t,r,n[r])})}return t}function WD(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,o)}return n}function KD(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):WD(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function GD(t,e){return e&&(QD(e)==="object"||typeof e=="function")?e:VD(t)}function zf(t,e){return zf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zf(t,e)}function XD(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Ct(t),t!==null););return t}function QD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ib(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ib=function(){return!!t})()}var te=function(t){UD(e,t);function e(n){HD(this,e);var o;return o=zD(this,e,[n]),Wo(o,"controlType","column"),Wo(o,"props",void 0),Wo(o,"children",void 0),o.props=new U(n==null?void 0:n.props),Ge(o,"children",n==null?void 0:n.children,void 0,"Designer"),o}return qD(e,[{key:"toSchema",value:function(){var o=Ko(Ct(e.prototype),"toSchema",this).call(this);return KD(CD({},o),{children:this.children?this.children.map(function(r){return r.toSchema()}):[]})}}]),e}(N);function JD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ZD(t,e,n){return e=Go(e),tx(t,Ab()?Reflect.construct(e,n||[],Go(t).constructor):e.apply(t,n))}function YD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hf(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Go(t){return Go=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Go(t)}function ex(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&qf(t,e)}function tx(t,e){return e&&(nx(e)==="object"||typeof e=="function")?e:JD(t)}function qf(t,e){return qf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qf(t,e)}function nx(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ab(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ab=function(){return!!t})()}var ne=function(t){ex(e,t);function e(n){YD(this,e);var o;return o=ZD(this,e,[n]),Hf(o,"controlType","column"),Hf(o,"props",void 0),Hf(o,"children",void 0),o.props=new U(n==null?void 0:n.props),Ge(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return e}(Je);function ox(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rx(t,e,n){return e=Xo(e),lx(t,kb()?Reflect.construct(e,n||[],Xo(t).constructor):e.apply(t,n))}function ix(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ux(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xo(t){return Xo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xo(t)}function cx(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Uf(t,e)}function lx(t,e){return e&&(ax(e)==="object"||typeof e=="function")?e:ox(t)}function Uf(t,e){return Uf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Uf(t,e)}function ax(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function kb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(kb=function(){return!!t})()}var Cf=function(t){cx(e,t);function e(n){ix(this,e);var o;return o=rx(this,e,[n]),ux(o,"dataBind",void 0),o.dataBind=new De(n==null?void 0:n.dataBind),o}return e}(Z);function fx(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _x(t,e,n){return e=Qo(e),px(t,xb()?Reflect.construct(e,n||[],Qo(t).constructor):e.apply(t,n))}function yx(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Db(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Qo(t){return Qo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qo(t)}function sx(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Wf(t,e)}function px(t,e){return e&&(dx(e)==="object"||typeof e=="function")?e:fx(t)}function Wf(t,e){return Wf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wf(t,e)}function dx(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xb=function(){return!!t})()}var vx=function(t){sx(e,t);function e(n){yx(this,e);var o;return o=_x(this,e,[n]),Db(o,"controlType","search"),Db(o,"props",void 0),o.props=new Cf(n==null?void 0:n.props),o}return e}(Y);function hx(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bx(t,e,n){return e=Jo(e),Ox(t,jb()?Reflect.construct(e,n||[],Jo(t).constructor):e.apply(t,n))}function gx(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fb(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Jo(t){return Jo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jo(t)}function mx(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Kf(t,e)}function Ox(t,e){return e&&(wx(e)==="object"||typeof e=="function")?e:hx(t)}function Kf(t,e){return Kf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kf(t,e)}function wx(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function jb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(jb=function(){return!!t})()}var $x=function(t){mx(e,t);function e(n){gx(this,e);var o;return o=bx(this,e,[n]),Fb(o,"controlType","search"),Fb(o,"props",void 0),o.props=new Cf(n==null?void 0:n.props),o}return e}(Pt);function st(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}}}])}function Px(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ex(t,e,n){return e=Zo(e),Rx(t,Lb()?Reflect.construct(e,n||[],Zo(t).constructor):e.apply(t,n))}function Sx(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Zo(t){return Zo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zo(t)}function Tx(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Gf(t,e)}function Rx(t,e){return e&&(Bx(e)==="object"||typeof e=="function")?e:Px(t)}function Gf(t,e){return Gf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gf(t,e)}function Bx(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Lb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Lb=function(){return!!t})()}var Ix=function(t){Tx(e,t);function e(n){Sx(this,e);var o;o=Ex(this,e,[n]),Wt(o,"content",void 0),Wt(o,"fontSize",void 0),Wt(o,"color",void 0),Wt(o,"icon",void 0),Wt(o,"align",void 0),Wt(o,"showState",void 0);var r;o.fontSize=(r=n==null?void 0:n.fontSize)!==null&&r!==void 0?r:"14px";var i;o.color=(i=n==null?void 0:n.color)!==null&&i!==void 0?i:"#646A73";var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:"page-hint";var c;o.showState=(c=n==null?void 0:n.showState)!==null&&c!==void 0?c:"text";var a;o.content=(a=n==null?void 0:n.content)!==null&&a!==void 0?a:"\u8BF4\u660E\u6587\u5B57";var l;return o.align=(l=n==null?void 0:n.align)!==null&&l!==void 0?l:"",o}return e}(K);function Ax(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kx(t,e,n){return e=Yo(e),jx(t,Vb()?Reflect.construct(e,n||[],Yo(t).constructor):e.apply(t,n))}function Dx(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mb(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function xx(t,e,n){return e&&Mb(t.prototype,e),n&&Mb(t,n),t}function Nb(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yo(t){return Yo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yo(t)}function Fx(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xf(t,e)}function jx(t,e){return e&&(Lx(e)==="object"||typeof e=="function")?e:Ax(t)}function Xf(t,e){return Xf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xf(t,e)}function Lx(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Vb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Vb=function(){return!!t})()}var Mx=function(t){Fx(e,t);function e(n){Dx(this,e);var o;return o=kx(this,e,[n]),Nb(o,"props",void 0),o.props=new Ix(n==null?void 0:n.props),o}return xx(e,null,[{key:"controlName",get:function(){return"\u8BF4\u660E\u6587\u5B57"}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),e}(N);Nb(Mx,"setting",[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}]);function Nx(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Vx(t,e,n){return e=er(e),qx(t,zb()?Reflect.construct(e,n||[],er(t).constructor):e.apply(t,n))}function zx(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qf(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function er(t){return er=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},er(t)}function Hx(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Jf(t,e)}function qx(t,e){return e&&(Ux(e)==="object"||typeof e=="function")?e:Nx(t)}function Jf(t,e){return Jf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jf(t,e)}function Ux(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function zb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zb=function(){return!!t})()}var Cx=function(t){Hx(e,t);function e(n){zx(this,e);var o;o=Vx(this,e,[n]),Qf(o,"content",void 0),Qf(o,"url",void 0),Qf(o,"openMode",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5";var i;o.url=(i=n==null?void 0:n.url)!==null&&i!==void 0?i:"";var u;return o.openMode=(u=n==null?void 0:n.openMode)!==null&&u!==void 0?u:"new",o}return e}(K);function Wx(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Kx(t,e,n){return e=tr(e),Jx(t,qb()?Reflect.construct(e,n||[],tr(t).constructor):e.apply(t,n))}function Gx(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hb(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Xx(t,e,n){return e&&Hb(t.prototype,e),n&&Hb(t,n),t}function Zf(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function tr(t){return tr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tr(t)}function Qx(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Yf(t,e)}function Jx(t,e){return e&&(Zx(e)==="object"||typeof e=="function")?e:Wx(t)}function Yf(t,e){return Yf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yf(t,e)}function Zx(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function qb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(qb=function(){return!!t})()}var Ub=function(t){Qx(e,t);function e(n){Gx(this,e);var o;return o=Kx(this,e,[n]),Zf(o,"props",void 0),o.props=new Cx(n==null?void 0:n.props),o}return Xx(e,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),e}(N);Zf(Ub,"controlEventKeys",["on_click"]),Zf(Ub,"setting",[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}]);function Yx(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function eF(t,e,n){return e=nr(e),oF(t,Cb()?Reflect.construct(e,n||[],nr(t).constructor):e.apply(t,n))}function tF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ze(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function nr(t){return nr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nr(t)}function nF(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&e_(t,e)}function oF(t,e){return e&&(rF(e)==="object"||typeof e=="function")?e:Yx(t)}function e_(t,e){return e_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},e_(t,e)}function rF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Cb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Cb=function(){return!!t})()}var Oe=function(t){nF(e,t);function e(n){tF(this,e);var o;o=eF(this,e,[n]),Ze(o,"content",void 0),Ze(o,"buttonType",void 0),Ze(o,"showType",void 0),Ze(o,"color",void 0),Ze(o,"icon",void 0),Ze(o,"defaultState",void 0),Ze(o,"command",void 0),Ze(o,"isLoading",void 0),Ze(o,"optObj",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:"\u6309\u94AE";var i;o.buttonType=(i=n==null?void 0:n.buttonType)!==null&&i!==void 0?i:"primary";var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"text";var c;o.color=(c=n==null?void 0:n.color)!==null&&c!==void 0?c:"primary";var a;o.icon=(a=n==null?void 0:n.icon)!==null&&a!==void 0?a:"iconfenlei2";var l;o.defaultState=(l=n==null?void 0:n.defaultState)!==null&&l!==void 0?l:"default";var f;o.command=(f=n==null?void 0:n.command)!==null&&f!==void 0?f:"custom";var y;o.isLoading=(y=n==null?void 0:n.isLoading)!==null&&y!==void 0?y:!1;var p;return o.optObj=new Sk((p=n==null?void 0:n.optObj)!==null&&p!==void 0?p:{}),o}return e}(K);function iF(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function uF(t,e,n){return e=or(e),fF(t,Kb()?Reflect.construct(e,n||[],or(t).constructor):e.apply(t,n))}function cF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wb(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function lF(t,e,n){return e&&Wb(t.prototype,e),n&&Wb(t,n),t}function t_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function or(t){return or=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},or(t)}function aF(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&n_(t,e)}function fF(t,e){return e&&(_F(e)==="object"||typeof e=="function")?e:iF(t)}function n_(t,e){return n_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},n_(t,e)}function _F(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Kb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Kb=function(){return!!t})()}var pe=function(t){aF(e,t);function e(n){cF(this,e);var o;return o=uF(this,e,[n]),t_(o,"props",void 0),o.props=new Oe(n==null?void 0:n.props),o}return lF(e,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),e}(N);t_(pe,"controlEventKeys",["on_click"]),t_(pe,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"super-setting",visible:!0}]);function pt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function I(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ye;(function(t){t.ShowBizKey="is_show_biz_key",t.ShowSubmitUser="is_show_submit_user",t.ShowSubmitTime="is_show_submit_time",t.ShowSubmitDept="is_show_submit_dept",t.ShowCurrentApprovar="is_show_current_approvar",t.ShowTitle="is_show_title"})(Ye||(Ye={}));var Gb;(function(t){t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"})(Gb||(Gb={}));var Xb;(function(t){t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified"})(Xb||(Xb={}));var o_=function t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:Ie(8),value:["",""]};pt(this,t),I(this,"dateConfigType",void 0),I(this,"dateLimitType",void 0),I(this,"id",void 0),I(this,"value",void 0),this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value},r_;(function(t){t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile"})(r_||(r_={}));var i_=function t(e){pt(this,t),I(this,"id",void 0),I(this,"text",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:Ie();var o;this.text=(o=e==null?void 0:e.text)!==null&&o!==void 0?o:""},u_;(function(t){t.SOLID="solid-line",t.DASHED="dashed-line",t.BOLD_SOLID="bold-solid-line",t.BOLD_DASHED="bold-dashed-line",t.DOUBLE_SOLID="double-solid-line",t.DOUBLE_DASHED="double-dashed-line"})(u_||(u_={}));var Qb=function t(e){pt(this,t),I(this,"type",void 0),I(this,"person",void 0),I(this,"signatureType",void 0),I(this,"telephone",void 0),I(this,"company",void 0),I(this,"remark",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"private";var o;this.person=new Zn((o=e==null?void 0:e.person)!==null&&o!==void 0?o:{type:"form"});var r;this.signatureType=(r=e==null?void 0:e.signatureType)!==null&&r!==void 0?r:[];var i,u;this.telephone=(u=e==null?void 0:e.telephone)!==null&&u!==void 0?u:new Zn((i=e==null?void 0:e.telephone)!==null&&i!==void 0?i:{type:"form"});var c,a;this.company=(a=e==null?void 0:e.company)!==null&&a!==void 0?a:new Zn((c=e==null?void 0:e.company)!==null&&c!==void 0?c:{type:"form"});var l;this.remark=(l=e==null?void 0:e.remark)!==null&&l!==void 0?l:""},yF=function t(e){pt(this,t);var n;I(this,"fileControl",void 0),I(this,"undersignedList",void 0),I(this,"statusControl",void 0),I(this,"completeControl",void 0),I(this,"completeTimeControl",void 0);var o;this.fileControl=(o=e==null?void 0:e.fileControl)!==null&&o!==void 0?o:"";var r;this.undersignedList=(r=e==null||(n=e.undersignedList)===null||n===void 0?void 0:n.map(function(a){return new Qb(a)}))!==null&&r!==void 0?r:[new Qb];var i;this.statusControl=(i=e==null?void 0:e.statusControl)!==null&&i!==void 0?i:"";var u;this.completeControl=(u=e==null?void 0:e.completeControl)!==null&&u!==void 0?u:"";var c;this.completeTimeControl=(c=e==null?void 0:e.completeTimeControl)!==null&&c!==void 0?c:""},Jb=function t(e){pt(this,t),I(this,"id",void 0),I(this,"appId",void 0),I(this,"dataCode",void 0),I(this,"svcCode",void 0),I(this,"name",void 0),I(this,"fieldList",void 0),I(this,"active",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:Ie(8);var o;this.appId=(o=e==null?void 0:e.appId)!==null&&o!==void 0?o:"";var r;this.dataCode=(r=e==null?void 0:e.dataCode)!==null&&r!==void 0?r:"";var i;this.svcCode=(i=e==null?void 0:e.svcCode)!==null&&i!==void 0?i:"";var u;this.name=(u=e==null?void 0:e.name)!==null&&u!==void 0?u:"";var c;this.fieldList=(c=e==null?void 0:e.fieldList)!==null&&c!==void 0?c:[];var a;this.active=(a=e==null?void 0:e.active)!==null&&a!==void 0?a:!1},Zb=function t(e){pt(this,t),I(this,"active",void 0),I(this,"text",void 0);var n;this.active=(n=e==null?void 0:e.active)!==null&&n!==void 0?n:!1;var o;this.text=(o=e==null?void 0:e.text)!==null&&o!==void 0?o:""},sF=function t(e){pt(this,t),I(this,"types",void 0),I(this,"history",void 0),I(this,"collaborativeRecord",void 0),I(this,"logicToDelete",void 0),I(this,"watermark",void 0),I(this,"autoRename",void 0);var n;this.types=(n=e==null?void 0:e.types)!==null&&n!==void 0?n:["word","ppt","excel"];var o;this.history=(o=e==null?void 0:e.history)!==null&&o!==void 0?o:!1;var r;this.collaborativeRecord=(r=e==null?void 0:e.collaborativeRecord)!==null&&r!==void 0?r:!1;var i;this.logicToDelete=(i=e==null?void 0:e.logicToDelete)!==null&&i!==void 0?i:!0,this.watermark=new Zb(e==null?void 0:e.watermark),this.autoRename=new Zb(e==null?void 0:e.autoRename)},pF=480;function Kt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}var dF=function t(e){pt(this,t),I(this,"fileId",void 0),I(this,"fileName",void 0),I(this,"ruleName",void 0),I(this,"isDefault",void 0),I(this,"rules",void 0);var n;this.fileId=(n=e==null?void 0:e.fileId)!==null&&n!==void 0?n:"";var o;this.fileName=(o=e==null?void 0:e.fileName)!==null&&o!==void 0?o:"";var r;this.ruleName=(r=e==null?void 0:e.ruleName)!==null&&r!==void 0?r:"";var i;this.isDefault=(i=e.isDefault)!==null&&i!==void 0?i:!1;var u;this.rules=(u=e.rules)!==null&&u!==void 0?u:[]},Yb;(function(t){t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK"})(Yb||(Yb={}));var c_;(function(t){t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"})(c_||(c_={}));var rr;(function(t){t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS"})(rr||(rr={}));var dt;(function(t){t.ALL="all",t.ASSIGN="assign"})(dt||(dt={}));var l_;(function(t){t.ALL="all",t.ADMIN="admin"})(l_||(l_={}));function vF(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hF(t,e,n){return e=ir(e),mF(t,tg()?Reflect.construct(e,n||[],ir(t).constructor):e.apply(t,n))}function bF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function eg(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ir(t){return ir=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ir(t)}function gF(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a_(t,e)}function mF(t,e){return e&&(OF(e)==="object"||typeof e=="function")?e:vF(t)}function a_(t,e){return a_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},a_(t,e)}function OF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tg=function(){return!!t})()}var wF=function(t){gF(e,t);function e(n){bF(this,e);var o;o=hF(this,e,[n]),eg(o,"color",void 0),eg(o,"lineStyle",void 0);var r;o.color=(r=n==null?void 0:n.color)!==null&&r!==void 0?r:"#000";var i;return o.lineStyle=(i=n==null?void 0:n.lineStyle)!==null&&i!==void 0?i:u_.SOLID,o}return e}(K);function $F(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function PF(t,e,n){return e=ur(e),RF(t,rg()?Reflect.construct(e,n||[],ur(t).constructor):e.apply(t,n))}function EF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ng(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function SF(t,e,n){return e&&ng(t.prototype,e),n&&ng(t,n),t}function og(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ur(t){return ur=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ur(t)}function TF(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&f_(t,e)}function RF(t,e){return e&&(BF(e)==="object"||typeof e=="function")?e:$F(t)}function f_(t,e){return f_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},f_(t,e)}function BF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function rg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(rg=function(){return!!t})()}var IF=function(t){TF(e,t);function e(n){EF(this,e);var o;return o=PF(this,e,[n]),og(o,"props",void 0),o.props=new wF(n==null?void 0:n.props),o}return SF(e,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),e}(N);og(IF,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]}]);function AF(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ig(t,e,n){return e=cr(e),kF(t,lg()?Reflect.construct(e,n||[],cr(t).constructor):e.apply(t,n))}function ug(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function cr(t){return cr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cr(t)}function cg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&__(t,e)}function kF(t,e){return e&&(DF(e)==="object"||typeof e=="function")?e:AF(t)}function __(t,e){return __=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},__(t,e)}function DF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function lg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(lg=function(){return!!t})()}var xF=function(t){cg(e,t);function e(n){ug(this,e);var o;return o=ig(this,e,[n]),vt(o,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),vt(o,"dataBind",{type:"any"}),vt(o,"config",{type:"array"}),n.config.includes(Ye.ShowBizKey)&&(o.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")}},message:d.getMessage("bizKeyNotBindFiled")}),!n.isHide&&n.config.length===0&&(o.config={type:"array",min:1,required:!0,message:d.getMessage("pleaseSelectOneField")}),o}return e}(W),ag=function(t){cg(e,t);function e(n){ug(this,e);var o;o=ig(this,e,[n]),vt(o,"dataBind",void 0),vt(o,"caption",void 0),vt(o,"config",void 0),vt(o,"position",void 0),o.dataBind=new De(n==null?void 0:n.dataBind);var r;o.config=(r=n==null?void 0:n.config)!==null&&r!==void 0?r:[Ye.ShowSubmitUser,Ye.ShowSubmitDept,Ye.ShowSubmitTime,Ye.ShowCurrentApprovar,Ye.ShowTitle];var i,u;o.caption=(u=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:oo==null?void 0:oo.controlName)!==null&&u!==void 0?u:"";var c;return o.position=(c=n==null?void 0:n.position)!==null&&c!==void 0?c:"top",o}return e}(K);vt(ag,"Rules",xF);function FF(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jF(t,e,n){return e=lr(e),VF(t,_g()?Reflect.construct(e,n||[],lr(t).constructor):e.apply(t,n))}function LF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fg(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function MF(t,e,n){return e&&fg(t.prototype,e),n&&fg(t,n),t}function y_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function lr(t){return lr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},lr(t)}function NF(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s_(t,e)}function VF(t,e){return e&&(zF(e)==="object"||typeof e=="function")?e:FF(t)}function s_(t,e){return s_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},s_(t,e)}function zF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _g(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_g=function(){return!!t})()}var oo=function(t){NF(e,t);function e(n){LF(this,e);var o;return o=jF(this,e,[n]),y_(o,"props",void 0),o.props=new ag(n==null?void 0:n.props),o}return MF(e,null,[{key:"controlName",get:function(){return"\u6807\u9898\u7EC4\u4EF6"}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),e}(N);y_(oo,"controlFieldType",g.AUTO_NUMBER),y_(oo,"setting",[{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}]);function HF(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yg(t,e,n){return e=fr(e),qF(t,dg()?Reflect.construct(e,n||[],fr(t).constructor):e.apply(t,n))}function sg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ar(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fr(t){return fr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fr(t)}function pg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p_(t,e)}function qF(t,e){return e&&(UF(e)==="object"||typeof e=="function")?e:HF(t)}function p_(t,e){return p_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},p_(t,e)}function UF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function dg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(dg=function(){return!!t})()}var CF=function(t){pg(e,t);function e(n){sg(this,e);var o;return o=yg(this,e,[n]),ar(o,"formKey",{type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}),o}return e}(W),vg=function(t){pg(e,t);function e(n){sg(this,e);var o;o=yg(this,e,[n]),ar(o,"formKey",void 0),ar(o,"openType",void 0);var r;o.icon=(r=n==null?void 0:n.icon)!==null&&r!==void 0?r:yr.controlIcon;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:yr.controlName;var u;o.formKey=(u=n==null?void 0:n.formKey)!==null&&u!==void 0?u:"";var c;return o.openType=(c=n==null?void 0:n.openType)!==null&&c!==void 0?c:"modal",o}return e}(Oe);ar(vg,"Rules",CF);function WF(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function KF(t,e,n){return e=_r(e),JF(t,bg()?Reflect.construct(e,n||[],_r(t).constructor):e.apply(t,n))}function GF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hg(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function XF(t,e,n){return e&&hg(t.prototype,e),n&&hg(t,n),t}function d_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _r(t){return _r=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_r(t)}function QF(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&v_(t,e)}function JF(t,e){return e&&(ZF(e)==="object"||typeof e=="function")?e:WF(t)}function v_(t,e){return v_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},v_(t,e)}function ZF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function bg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(bg=function(){return!!t})()}var yr=function(t){QF(e,t);function e(n){GF(this,e);var o;return o=KF(this,e,[n]),d_(o,"props",void 0),o.props=new vg(n==null?void 0:n.props),o}return XF(e,null,[{key:"controlName",get:function(){return"\u521B\u5EFA\u5355\u636E"}},{key:"controlIcon",get:function(){return"iconchuangjiandanju"}},{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),e}(pe);d_(yr,"controlEventKeys",["on_click","on_click_finish"]),d_(yr,"setting",[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function YF(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function gg(t,e,n){return e=sr(e),ej(t,wg()?Reflect.construct(e,n||[],sr(t).constructor):e.apply(t,n))}function mg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function sr(t){return sr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sr(t)}function Og(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&h_(t,e)}function ej(t,e){return e&&(tj(e)==="object"||typeof e=="function")?e:YF(t)}function h_(t,e){return h_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},h_(t,e)}function tj(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function wg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(wg=function(){return!!t})()}var nj=function(t){Og(e,t);function e(n){mg(this,e);var o;return o=gg(this,e,[n]),Gt(o,"processKey",[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterProcess")}]),o}return e}(W),$g=function(t){Og(e,t);function e(n){mg(this,e);var o;o=gg(this,e,[n]),Gt(o,"processKey",void 0),Gt(o,"initiatorMode",void 0),Gt(o,"fieldCode",void 0),Gt(o,"employeeId",void 0);var r;o.icon=(r=n==null?void 0:n.icon)!==null&&r!==void 0?r:dr.controlIcon;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:dr.controlName;var u;o.initiatorMode=(u=n==null?void 0:n.initiatorMode)!==null&&u!==void 0?u:"currentInitiator";var c;o.processKey=(c=n==null?void 0:n.processKey)!==null&&c!==void 0?c:"";var a;o.fieldCode=(a=n==null?void 0:n.fieldCode)!==null&&a!==void 0?a:"";var l;return o.employeeId=(l=n==null?void 0:n.employeeId)!==null&&l!==void 0?l:"",o}return e}(Oe);Gt($g,"Rules",nj);function oj(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rj(t,e,n){return e=pr(e),lj(t,Eg()?Reflect.construct(e,n||[],pr(t).constructor):e.apply(t,n))}function ij(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pg(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function uj(t,e,n){return e&&Pg(t.prototype,e),n&&Pg(t,n),t}function b_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pr(t){return pr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pr(t)}function cj(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&g_(t,e)}function lj(t,e){return e&&(aj(e)==="object"||typeof e=="function")?e:oj(t)}function g_(t,e){return g_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},g_(t,e)}function aj(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Eg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Eg=function(){return!!t})()}var dr=function(t){cj(e,t);function e(n){ij(this,e);var o;return o=rj(this,e,[n]),b_(o,"props",void 0),o.props=new $g(n==null?void 0:n.props),o}return uj(e,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u63D0\u4EA4"}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),e}(pe);b_(dr,"controlEventKeys",["on_click","on_click_finish"]),b_(dr,"setting",[{key:"button-content",visible:!0},{key:"select-process",visible:!0},{key:"initiator-mode",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function fj(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _j(t,e,n){return e=vr(e),pj(t,Sg()?Reflect.construct(e,n||[],vr(t).constructor):e.apply(t,n))}function yj(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vr(t){return vr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vr(t)}function sj(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&m_(t,e)}function pj(t,e){return e&&(dj(e)==="object"||typeof e=="function")?e:fj(t)}function m_(t,e){return m_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},m_(t,e)}function dj(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Sg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Sg=function(){return!!t})()}var vj=function(t){sj(e,t);function e(n){yj(this,e);var o;o=_j(this,e,[n]);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:br.controlName;var i;return o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:br.controlIcon,o}return e}(Oe);function hj(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bj(t,e,n){return e=hr(e),wj(t,Rg()?Reflect.construct(e,n||[],hr(t).constructor):e.apply(t,n))}function gj(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Tg(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function mj(t,e,n){return e&&Tg(t.prototype,e),n&&Tg(t,n),t}function O_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function hr(t){return hr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hr(t)}function Oj(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&w_(t,e)}function wj(t,e){return e&&($j(e)==="object"||typeof e=="function")?e:hj(t)}function w_(t,e){return w_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},w_(t,e)}function $j(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Rg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Rg=function(){return!!t})()}var br=function(t){Oj(e,t);function e(n){gj(this,e);var o;return o=bj(this,e,[n]),O_(o,"props",void 0),o.props=new vj(n==null?void 0:n.props),o}return mj(e,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),e}(pe);O_(br,"controlEventKeys",["on_click"]),O_(br,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function Pj(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ej(t,e,n){return e=gr(e),Rj(t,Ig()?Reflect.construct(e,n||[],gr(t).constructor):e.apply(t,n))}function Sj(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Bg(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gr(t){return gr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gr(t)}function Tj(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$_(t,e)}function Rj(t,e){return e&&(Bj(e)==="object"||typeof e=="function")?e:Pj(t)}function $_(t,e){return $_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$_(t,e)}function Bj(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ig(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ig=function(){return!!t})()}var Ij=function(t){Tj(e,t);function e(n){Sj(this,e);var o,r;o=Ej(this,e,[n]),Bg(o,"templateList",void 0),Bg(o,"templateType",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Or.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:Or.controlName;var c;o.templateType=(c=n==null?void 0:n.templateType)!==null&&c!==void 0?c:"system";var a;return o.templateList=(a=n==null||(r=n.templateList)===null||r===void 0?void 0:r.map(function(l){return new Jb(l)}))!==null&&a!==void 0?a:[new Jb({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return e}(Oe);function Aj(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kj(t,e,n){return e=mr(e),jj(t,kg()?Reflect.construct(e,n||[],mr(t).constructor):e.apply(t,n))}function Dj(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ag(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function xj(t,e,n){return e&&Ag(t.prototype,e),n&&Ag(t,n),t}function P_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function mr(t){return mr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mr(t)}function Fj(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&E_(t,e)}function jj(t,e){return e&&(Lj(e)==="object"||typeof e=="function")?e:Aj(t)}function E_(t,e){return E_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},E_(t,e)}function Lj(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function kg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(kg=function(){return!!t})()}var Or=function(t){Fj(e,t);function e(n){Dj(this,e);var o;return o=kj(this,e,[n]),P_(o,"props",void 0),o.props=new Ij(n==null?void 0:n.props),o}return xj(e,null,[{key:"controlName",get:function(){return"\u5BFC\u51FA"}},{key:"controlIcon",get:function(){return"iconxiazai1"}},{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),e}(pe);P_(Or,"controlEventKeys",["on_click","on_click_finish"]),P_(Or,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function Mj(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Nj(t,e,n){return e=wr(e),Hj(t,Dg()?Reflect.construct(e,n||[],wr(t).constructor):e.apply(t,n))}function Vj(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wr(t){return wr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wr(t)}function zj(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&S_(t,e)}function Hj(t,e){return e&&(qj(e)==="object"||typeof e=="function")?e:Mj(t)}function S_(t,e){return S_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},S_(t,e)}function qj(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Dg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Dg=function(){return!!t})()}var Uj=function(t){zj(e,t);function e(n){Vj(this,e);var o;o=Nj(this,e,[n]);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:Pr.controlName;var i;return o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Pr.controlIcon,o}return e}(Oe);function Cj(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Wj(t,e,n){return e=$r(e),Qj(t,Fg()?Reflect.construct(e,n||[],$r(t).constructor):e.apply(t,n))}function Kj(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xg(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Gj(t,e,n){return e&&xg(t.prototype,e),n&&xg(t,n),t}function T_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $r(t){return $r=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$r(t)}function Xj(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&R_(t,e)}function Qj(t,e){return e&&(Jj(e)==="object"||typeof e=="function")?e:Cj(t)}function R_(t,e){return R_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},R_(t,e)}function Jj(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Fg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Fg=function(){return!!t})()}var Pr=function(t){Xj(e,t);function e(n){Kj(this,e);var o;return o=Wj(this,e,[n]),T_(o,"props",void 0),o.props=new Uj(n==null?void 0:n.props),o}return Gj(e,null,[{key:"controlName",get:function(){return"\u5BFC\u51FA\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"icondaochujilu"}},{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),e}(pe);T_(Pr,"controlEventKeys",["on_click"]),T_(Pr,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function Zj(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Yj(t,e,n){return e=Er(e),tL(t,Lg()?Reflect.construct(e,n||[],Er(t).constructor):e.apply(t,n))}function jg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function B_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Er(t){return Er=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Er(t)}function eL(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&I_(t,e)}function tL(t,e){return e&&(nL(e)==="object"||typeof e=="function")?e:Zj(t)}function I_(t,e){return I_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},I_(t,e)}function nL(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Lg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Lg=function(){return!!t})()}var oL=function t(e){jg(this,t),B_(this,"dataCode",void 0),this.dataCode=e.dataCode},rL=function(t){eL(e,t);function e(n){jg(this,e);var o,r;o=Yj(this,e,[n]),B_(o,"canImportList",void 0),B_(o,"templateType",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Tr.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Tr.controlIcon;var c;o.canImportList=(c=n==null||(r=n.canImportList)===null||r===void 0?void 0:r.map(function(l){return new oL(l)}))!==null&&c!==void 0?c:[];var a;return o.templateType=(a=n==null?void 0:n.templateType)!==null&&a!==void 0?a:"system",o}return e}(Oe);function iL(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function uL(t,e,n){return e=Sr(e),fL(t,Ng()?Reflect.construct(e,n||[],Sr(t).constructor):e.apply(t,n))}function cL(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mg(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function lL(t,e,n){return e&&Mg(t.prototype,e),n&&Mg(t,n),t}function A_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Sr(t){return Sr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sr(t)}function aL(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&k_(t,e)}function fL(t,e){return e&&(_L(e)==="object"||typeof e=="function")?e:iL(t)}function k_(t,e){return k_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},k_(t,e)}function _L(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ng(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ng=function(){return!!t})()}var Tr=function(t){aL(e,t);function e(n){cL(this,e);var o;return o=uL(this,e,[n]),A_(o,"props",void 0),o.props=new rL(n==null?void 0:n.props),o}return lL(e,null,[{key:"controlName",get:function(){return"\u5BFC\u5165"}},{key:"controlIcon",get:function(){return"iconshangchuan3"}},{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),e}(pe);A_(Tr,"controlEventKeys",["on_click","on_click_finish"]),A_(Tr,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}]);function Rr(){return{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:d.getMessage("pleaseSelectControl")}}}}}}function yL(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Vg(t,e,n){return e=Br(e),sL(t,Ug()?Reflect.construct(e,n||[],Br(t).constructor):e.apply(t,n))}function zg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function et(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Br(t){return Br=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Br(t)}function Hg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&D_(t,e)}function qg(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){et(t,r,n[r])})}return t}function sL(t,e){return e&&(pL(e)==="object"||typeof e=="function")?e:yL(t)}function D_(t,e){return D_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},D_(t,e)}function pL(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ug(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ug=function(){return!!t})()}var dL=function(t){Hg(e,t);function e(n){zg(this,e);var o;return o=Vg(this,e,[n]),et(o,"fillPayload",{type:"object",fields:qg({},Rr())}),et(o,"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}}}),et(o,"fillBack",{type:"object",fields:qg({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},Rr())}),(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:d.getMessage("pleaseSelectControl")}),o}return e}(W),Cg=function(t){Hg(e,t);function e(n){zg(this,e);var o;o=Vg(this,e,[n]),et(o,"fillPayload",void 0),et(o,"formBind",void 0),et(o,"fillBack",void 0),et(o,"command",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:Ar.controlName;var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Ar.controlIcon;var u;return o.command=(u=n==null?void 0:n.command)!==null&&u!==void 0?u:"create",o.fillPayload=new W0(n==null?void 0:n.fillPayload),o.formBind=new lk(n==null?void 0:n.formBind),o.fillBack=new K0(n==null?void 0:n.fillBack),o}return e}(Oe);et(Cg,"Rules",dL);function vL(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hL(t,e,n){return e=Ir(e),OL(t,Kg()?Reflect.construct(e,n||[],Ir(t).constructor):e.apply(t,n))}function bL(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wg(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function gL(t,e,n){return e&&Wg(t.prototype,e),n&&Wg(t,n),t}function x_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ir(t){return Ir=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ir(t)}function mL(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&F_(t,e)}function OL(t,e){return e&&(wL(e)==="object"||typeof e=="function")?e:vL(t)}function F_(t,e){return F_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},F_(t,e)}function wL(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Kg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Kg=function(){return!!t})()}var Ar=function(t){mL(e,t);function e(n){bL(this,e);var o;return o=hL(this,e,[n]),x_(o,"props",void 0),o.props=new Cg(n==null?void 0:n.props),o}return gL(e,null,[{key:"controlName",get:function(){return"\u8868\u5355\u64CD\u4F5C"}},{key:"controlIcon",get:function(){return"iconbiaodancaozuo"}},{key:"controlType",get:function(){return"form-select-button"}}]),e}(pe);x_(Ar,"controlEventKeys",["on_click","on_click_finish"]),x_(Ar,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function $L(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Gg(t,e,n){return e=kr(e),PL(t,Zg()?Reflect.construct(e,n||[],kr(t).constructor):e.apply(t,n))}function Xg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function kr(t){return kr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kr(t)}function Qg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&j_(t,e)}function Jg(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){xe(t,r,n[r])})}return t}function PL(t,e){return e&&(EL(e)==="object"||typeof e=="function")?e:$L(t)}function j_(t,e){return j_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},j_(t,e)}function EL(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Zg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Zg=function(){return!!t})()}var SL=function(t){Qg(e,t);function e(n){Xg(this,e);var o;return o=Gg(this,e,[n]),xe(o,"fillPayload",{type:"object",fields:Jg({},Rr())}),xe(o,"listPageBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}}),xe(o,"fillBack",{type:"object",fields:Jg({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},Rr())}),o}return e}(W),Yg=function(t){Qg(e,t);function e(n){Xg(this,e);var o;o=Gg(this,e,[n]),xe(o,"fillPayload",void 0),xe(o,"listPageBind",void 0),xe(o,"disableFilling",void 0),xe(o,"fillBack",void 0),xe(o,"showSelectedDetail",void 0),xe(o,"selectedContentConfig",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:xr.controlName;var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:xr.controlIcon,o.fillPayload=new W0(n==null?void 0:n.fillPayload),o.listPageBind=new tf(n==null?void 0:n.listPageBind),o.fillBack=new K0(n==null?void 0:n.fillBack);var u;o.showSelectedDetail=(u=n==null?void 0:n.showSelectedDetail)!==null&&u!==void 0?u:!1,o.selectedContentConfig=new uf(n==null?void 0:n.selectedContentConfig);var c;return o.disableFilling=(c=n==null?void 0:n.disableFilling)!==null&&c!==void 0?c:!0,o}return e}(Oe);xe(Yg,"Rules",SL);function TL(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function RL(t,e,n){return e=Dr(e),kL(t,tm()?Reflect.construct(e,n||[],Dr(t).constructor):e.apply(t,n))}function BL(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function em(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function IL(t,e,n){return e&&em(t.prototype,e),n&&em(t,n),t}function L_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Dr(t){return Dr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dr(t)}function AL(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&M_(t,e)}function kL(t,e){return e&&(DL(e)==="object"||typeof e=="function")?e:TL(t)}function M_(t,e){return M_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},M_(t,e)}function DL(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tm=function(){return!!t})()}var xr=function(t){AL(e,t);function e(n){BL(this,e);var o;return o=RL(this,e,[n]),L_(o,"props",void 0),o.props=new Yg(n==null?void 0:n.props),o}return IL(e,null,[{key:"controlName",get:function(){return"\u5217\u8868\u9009\u62E9"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-select-button"}}]),e}(pe);L_(xr,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),L_(xr,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function xL(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function N_(t,e,n){return e=Fr(e),FL(t,om()?Reflect.construct(e,n||[],Fr(t).constructor):e.apply(t,n))}function V_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Fr(t){return Fr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fr(t)}function z_(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&H_(t,e)}function FL(t,e){return e&&(jL(e)==="object"||typeof e=="function")?e:xL(t)}function H_(t,e){return H_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},H_(t,e)}function jL(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function om(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(om=function(){return!!t})()}var LL=function(t){z_(e,t);function e(n){return V_(this,e),N_(this,e,[n])}return e}(W),ML=function(t){z_(e,t);function e(n){return V_(this,e),N_(this,e,[n])}return e}($t),q_=function(t){z_(e,t);function e(n){return V_(this,e),N_(this,e,[n])}return e}(K);nm(q_,"Rules",LL),nm(q_,"RuntimeRules",ML);function NL(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function VL(t,e,n){return e=jr(e),UL(t,um()?Reflect.construct(e,n||[],jr(t).constructor):e.apply(t,n))}function zL(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rm(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function HL(t,e,n){return e&&rm(t.prototype,e),n&&rm(t,n),t}function im(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function jr(t){return jr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jr(t)}function qL(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&U_(t,e)}function UL(t,e){return e&&(CL(e)==="object"||typeof e=="function")?e:NL(t)}function U_(t,e){return U_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},U_(t,e)}function CL(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function um(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(um=function(){return!!t})()}var WL=function(t){qL(e,t);function e(n){zL(this,e);var o;return o=VL(this,e,[n]),im(o,"props",void 0),o.props=new q_(n==null?void 0:n.props),o}return HL(e,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),e}(N);im(WL,"setting",[]);function KL(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cm(t,e,n){return e=Lr(e),GL(t,fm()?Reflect.construct(e,n||[],Lr(t).constructor):e.apply(t,n))}function lm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Te(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Lr(t){return Lr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lr(t)}function am(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&C_(t,e)}function GL(t,e){return e&&(XL(e)==="object"||typeof e=="function")?e:KL(t)}function C_(t,e){return C_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},C_(t,e)}function XL(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(fm=function(){return!!t})()}var QL=function(t){am(e,t);function e(n){lm(this,e);var o;return o=cm(this,e,[n]),Te(o,"dashboardKey",{type:"string",required:!0,message:d.getMessage("pleaseSelectDashboard")}),Te(o,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),Te(o,"isHideCaption",{type:"boolean"}),Te(o,"labelPosition",{type:"enum",enum:["top","left"]}),Te(o,"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return e}(W),_m=function(t){am(e,t);function e(n){lm(this,e);var o;o=cm(this,e,[n]),Te(o,"dashboardKey",void 0),Te(o,"caption",void 0),Te(o,"isHideCaption",void 0),Te(o,"isShowCaptionTip",void 0),Te(o,"captionTip",void 0),Te(o,"labelPosition",void 0);var r;o.dashboardKey=(r=n==null?void 0:n.dashboardKey)!==null&&r!==void 0?r:"";var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var c;o.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var l;return o.labelPosition=(l=n==null?void 0:n.labelPosition)!==null&&l!==void 0?l:"top",o}return e}(K);Te(_m,"Rules",QL);function JL(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ZL(t,e,n){return e=Mr(e),nM(t,pm()?Reflect.construct(e,n||[],Mr(t).constructor):e.apply(t,n))}function YL(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ym(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function eM(t,e,n){return e&&ym(t.prototype,e),n&&ym(t,n),t}function sm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Mr(t){return Mr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mr(t)}function tM(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&W_(t,e)}function nM(t,e){return e&&(oM(e)==="object"||typeof e=="function")?e:JL(t)}function W_(t,e){return W_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},W_(t,e)}function oM(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pm=function(){return!!t})()}var rM=function(t){tM(e,t);function e(n){YL(this,e);var o;return o=ZL(this,e,[n]),sm(o,"props",void 0),o.props=new _m(n==null?void 0:n.props),o}return eM(e,null,[{key:"controlName",get:function(){return"\u4EEA\u8868\u76D8"}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),e}(N);sm(rM,"setting",[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE,_.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function iM(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function dm(t,e,n){return e=Nr(e),uM(t,bm()?Reflect.construct(e,n||[],Nr(t).constructor):e.apply(t,n))}function vm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ro(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Nr(t){return Nr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nr(t)}function hm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&K_(t,e)}function uM(t,e){return e&&(cM(e)==="object"||typeof e=="function")?e:iM(t)}function K_(t,e){return K_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},K_(t,e)}function cM(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function bm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(bm=function(){return!!t})()}var lM=function(t){hm(e,t);function e(n){vm(this,e);var o;return o=dm(this,e,[n]),ro(o,"showType",{type:"enum",enum:["select","tabs"]}),ro(o,"viewList",{type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:d.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}}}),o}return e}(W),gm=function(t){hm(e,t);function e(n){vm(this,e);var o,r;o=dm(this,e,[n]),ro(o,"showType",void 0),ro(o,"viewList",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"select";var u;return o.viewList=(u=n==null||(r=n.viewList)===null||r===void 0?void 0:r.map(function(c){return new Pk(c)}))!==null&&u!==void 0?u:[],o}return e}(K);ro(gm,"Rules",lM);function aM(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fM(t,e,n){return e=Vr(e),pM(t,wm()?Reflect.construct(e,n||[],Vr(t).constructor):e.apply(t,n))}function _M(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mm(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function yM(t,e,n){return e&&mm(t.prototype,e),n&&mm(t,n),t}function Om(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Vr(t){return Vr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vr(t)}function sM(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&G_(t,e)}function pM(t,e){return e&&(dM(e)==="object"||typeof e=="function")?e:aM(t)}function G_(t,e){return G_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},G_(t,e)}function dM(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function wm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(wm=function(){return!!t})()}var vM=function(t){sM(e,t);function e(n){_M(this,e);var o;return o=fM(this,e,[n]),Om(o,"props",void 0),o.props=new gm(n==null?void 0:n.props),o}return yM(e,null,[{key:"controlName",get:function(){return"\u5217\u8868\u89C6\u56FE"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-view-select"}}]),e}(N);Om(vM,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}]);function hM(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $m(t,e,n){return e=zr(e),bM(t,Sm()?Reflect.construct(e,n||[],zr(t).constructor):e.apply(t,n))}function Pm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function de(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zr(t){return zr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zr(t)}function Em(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&X_(t,e)}function bM(t,e){return e&&(gM(e)==="object"||typeof e=="function")?e:hM(t)}function X_(t,e){return X_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},X_(t,e)}function gM(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Sm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Sm=function(){return!!t})()}var mM=function(t){Em(e,t);function e(n){Pm(this,e);var o;return o=$m(this,e,[n]),de(o,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),de(o,"isHideCaption",{type:"boolean"}),de(o,"labelPosition",{type:"enum",enum:["top","left"]}),de(o,"ocrType",{type:"string",required:!0,message:d.getMessage("pleaseSelectOcrType")}),de(o,"fillList",{type:"array",validator:function(i,u,c){var a=u.every(function(l){return!l.controlId});if(a){c(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}c()}}),de(o,"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return e}(W),Tm=function(t){Em(e,t);function e(n){Pm(this,e);var o,r;o=$m(this,e,[n]),de(o,"caption",void 0),de(o,"isHideCaption",void 0),de(o,"isShowCaptionTip",void 0),de(o,"captionTip",void 0),de(o,"labelPosition",void 0),de(o,"ocrType",void 0),de(o,"fillList",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:io.controlName;var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var c;o.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var l;o.labelPosition=(l=n==null?void 0:n.labelPosition)!==null&&l!==void 0?l:"top";var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:io.controlName;var y;o.icon=(y=n==null?void 0:n.icon)!==null&&y!==void 0?y:io.controlIcon;var p;o.ocrType=(p=n==null?void 0:n.ocrType)!==null&&p!==void 0?p:"";var b;return o.fillList=(b=n==null||(r=n.fillList)===null||r===void 0?void 0:r.map(function(O){return new se(O)}))!==null&&b!==void 0?b:[],o}return e}(Oe);de(Tm,"Rules",mM);function OM(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wM(t,e,n){return e=Hr(e),SM(t,Bm()?Reflect.construct(e,n||[],Hr(t).constructor):e.apply(t,n))}function $M(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rm(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function PM(t,e,n){return e&&Rm(t.prototype,e),n&&Rm(t,n),t}function Q_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Hr(t){return Hr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hr(t)}function EM(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&J_(t,e)}function SM(t,e){return e&&(TM(e)==="object"||typeof e=="function")?e:OM(t)}function J_(t,e){return J_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},J_(t,e)}function TM(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Bm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Bm=function(){return!!t})()}var io=function(t){EM(e,t);function e(n){$M(this,e);var o;return o=wM(this,e,[n]),Q_(o,"props",void 0),o.props=new Tm(n==null?void 0:n.props),o}return PM(e,null,[{key:"controlName",get:function(){return"\u6587\u5B57\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconwenzishibie"}},{key:"controlType",get:function(){return"text-ocr-button"}}]),e}(pe);Q_(io,"controlEventKeys",["on_click","on_click_finish"]),Q_(io,"setting",[{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE,_.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function RM(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Im(t,e,n){return e=qr(e),BM(t,Dm()?Reflect.construct(e,n||[],qr(t).constructor):e.apply(t,n))}function Am(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ve(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function qr(t){return qr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qr(t)}function km(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Z_(t,e)}function BM(t,e){return e&&(IM(e)==="object"||typeof e=="function")?e:RM(t)}function Z_(t,e){return Z_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Z_(t,e)}function IM(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Dm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Dm=function(){return!!t})()}var AM=function(t){km(e,t);function e(n){Am(this,e);var o;return o=Im(this,e,[n]),ve(o,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),ve(o,"isHideCaption",{type:"boolean"}),ve(o,"labelPosition",{type:"enum",enum:["top","left"]}),ve(o,"invoiceCheck",{type:"boolean"}),ve(o,"fillList",{type:"array",validator:function(i,u,c){var a=u.every(function(l){return!l.controlId});if(a){c(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}c()}}),ve(o,"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return e}(W),xm=function(t){km(e,t);function e(n){Am(this,e);var o,r;o=Im(this,e,[n]),ve(o,"caption",void 0),ve(o,"isHideCaption",void 0),ve(o,"isShowCaptionTip",void 0),ve(o,"captionTip",void 0),ve(o,"labelPosition",void 0),ve(o,"invoiceCheck",void 0),ve(o,"fillList",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:uo.controlName;var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var c;o.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var l;o.labelPosition=(l=n==null?void 0:n.labelPosition)!==null&&l!==void 0?l:"top";var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:uo.controlName;var y;o.icon=(y=n==null?void 0:n.icon)!==null&&y!==void 0?y:uo.controlIcon;var p;o.invoiceCheck=(p=n==null?void 0:n.invoiceCheck)!==null&&p!==void 0?p:!0;var b;return o.fillList=(b=n==null||(r=n.fillList)===null||r===void 0?void 0:r.map(function(O){return new se(O)}))!==null&&b!==void 0?b:[],o}return e}(Oe);ve(xm,"Rules",AM);function kM(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function DM(t,e,n){return e=Ur(e),LM(t,jm()?Reflect.construct(e,n||[],Ur(t).constructor):e.apply(t,n))}function xM(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fm(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function FM(t,e,n){return e&&Fm(t.prototype,e),n&&Fm(t,n),t}function Y_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ur(t){return Ur=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ur(t)}function jM(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ey(t,e)}function LM(t,e){return e&&(MM(e)==="object"||typeof e=="function")?e:kM(t)}function ey(t,e){return ey=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ey(t,e)}function MM(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function jm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(jm=function(){return!!t})()}var uo=function(t){jM(e,t);function e(n){xM(this,e);var o;return o=DM(this,e,[n]),Y_(o,"props",void 0),o.props=new xm(n==null?void 0:n.props),o}return FM(e,null,[{key:"controlName",get:function(){return"\u53D1\u7968\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconfabiaoshibie1"}},{key:"controlType",get:function(){return"invoice-check-button"}}]),e}(pe);Y_(uo,"controlEventKeys",["on_click","on_click_finish"]),Y_(uo,"setting",[{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE,_.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function NM(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Lm(t,e,n){return e=Wr(e),VM(t,Vm()?Reflect.construct(e,n||[],Wr(t).constructor):e.apply(t,n))}function Mm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Cr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wr(t){return Wr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wr(t)}function Nm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ty(t,e)}function VM(t,e){return e&&(zM(e)==="object"||typeof e=="function")?e:NM(t)}function ty(t,e){return ty=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ty(t,e)}function zM(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Vm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Vm=function(){return!!t})()}var HM=function(t){Nm(e,t);function e(){Mm(this,e);var n;return n=Lm(this,e,arguments),Cr(n,"printTemplates",{type:"array",min:1,required:!0,message:d.getMessage("pleaseUploadAtLeastOnePrintTemplate")}),n}return e}(W),zm=function(t){Nm(e,t);function e(n){Mm(this,e);var o,r;o=Lm(this,e,[n]),Cr(o,"printTemplates",void 0),Cr(o,"autoSelectTemplate",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Gr.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:Gr.controlName;var c;o.printTemplates=(c=n==null||(r=n.printTemplates)===null||r===void 0?void 0:r.map(function(l){return new dF(l)}))!==null&&c!==void 0?c:[];var a;return o.autoSelectTemplate=(a=n==null?void 0:n.autoSelectTemplate)!==null&&a!==void 0?a:!1,o}return e}(Oe);Cr(zm,"Rules",HM);function qM(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function UM(t,e,n){return e=Kr(e),GM(t,qm()?Reflect.construct(e,n||[],Kr(t).constructor):e.apply(t,n))}function CM(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hm(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function WM(t,e,n){return e&&Hm(t.prototype,e),n&&Hm(t,n),t}function ny(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Kr(t){return Kr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kr(t)}function KM(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&oy(t,e)}function GM(t,e){return e&&(XM(e)==="object"||typeof e=="function")?e:qM(t)}function oy(t,e){return oy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},oy(t,e)}function XM(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function qm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(qm=function(){return!!t})()}var Gr=function(t){KM(e,t);function e(n){CM(this,e);var o;return o=UM(this,e,[n]),ny(o,"props",void 0),o.props=new zm(n==null?void 0:n.props),o}return WM(e,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u6253\u5370"}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),e}(pe);ny(Gr,"controlEventKeys",["on_click","on_click_finish"]),ny(Gr,"setting",[{key:"button-content",visible:!0},{key:"batch-print-setting",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function QM(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function JM(t,e,n){return e=Xr(e),e5(t,Um()?Reflect.construct(e,n||[],Xr(t).constructor):e.apply(t,n))}function ZM(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xr(t){return Xr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xr(t)}function YM(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ry(t,e)}function e5(t,e){return e&&(t5(e)==="object"||typeof e=="function")?e:QM(t)}function ry(t,e){return ry=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ry(t,e)}function t5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Um(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Um=function(){return!!t})()}var n5=function(t){YM(e,t);function e(n){ZM(this,e);var o;o=JM(this,e,[n]);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:Jr.controlName;var i;return o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Jr.controlIcon,o}return e}(Oe);function o5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function r5(t,e,n){return e=Qr(e),l5(t,Wm()?Reflect.construct(e,n||[],Qr(t).constructor):e.apply(t,n))}function i5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Cm(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function u5(t,e,n){return e&&Cm(t.prototype,e),n&&Cm(t,n),t}function iy(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Qr(t){return Qr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qr(t)}function c5(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&uy(t,e)}function l5(t,e){return e&&(a5(e)==="object"||typeof e=="function")?e:o5(t)}function uy(t,e){return uy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},uy(t,e)}function a5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Wm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Wm=function(){return!!t})()}var Jr=function(t){c5(e,t);function e(n){i5(this,e);var o;return o=r5(this,e,[n]),iy(o,"props",void 0),o.props=new n5(n==null?void 0:n.props),o}return u5(e,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u6253\u5370\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),e}(pe);iy(Jr,"controlEventKeys",["on_click"]),iy(Jr,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function f5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Km(t,e,n){return e=Zr(e),_5(t,Qm()?Reflect.construct(e,n||[],Zr(t).constructor):e.apply(t,n))}function Gm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _e(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Zr(t){return Zr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zr(t)}function Xm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&cy(t,e)}function _5(t,e){return e&&(y5(e)==="object"||typeof e=="function")?e:f5(t)}function cy(t,e){return cy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cy(t,e)}function y5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Qm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Qm=function(){return!!t})()}var s5=function(t){Xm(e,t);function e(n){Gm(this,e);var o;return o=Km(this,e,[n]),_e(o,"formKey",{type:"string",required:!1}),(n.command==="edit"||n.command==="view")&&(o.formKey={type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}),o}return e}(W),Yr=function(t){Xm(e,t);function e(n){Gm(this,e);var o;o=Km(this,e,[n]),_e(o,"content",void 0),_e(o,"code",void 0),_e(o,"command",void 0),_e(o,"color",void 0),_e(o,"icon",void 0),_e(o,"formKey",void 0),_e(o,"openType",void 0),_e(o,"needConfirm",void 0),_e(o,"confirmMessage",void 0),_e(o,"options",void 0),_e(o,"defaultState",void 0),_e(o,"priorityProcess",void 0),_e(o,"isLoading",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:"\u6309\u94AE",o.code=n==null?void 0:n.code;var i;o.command=(i=n==null?void 0:n.command)!==null&&i!==void 0?i:"custom";var u;o.color=(u=n==null?void 0:n.color)!==null&&u!==void 0?u:"primary",o.icon=n==null?void 0:n.icon,o.formKey=n==null?void 0:n.formKey,o.openType=n==null?void 0:n.openType,o.needConfirm=n==null?void 0:n.needConfirm,o.confirmMessage=n==null?void 0:n.confirmMessage,o.options=n==null?void 0:n.options;var c;o.defaultState=(c=n==null?void 0:n.defaultState)!==null&&c!==void 0?c:"default",o.priorityProcess=n==null?void 0:n.priorityProcess;var a;return o.isLoading=(a=n==null?void 0:n.isLoading)!==null&&a!==void 0?a:!1,o}return e}(K);_e(Yr,"Rules",s5);function p5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function d5(t,e,n){return e=ei(e),g5(t,Zm()?Reflect.construct(e,n||[],ei(t).constructor):e.apply(t,n))}function v5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jm(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function h5(t,e,n){return e&&Jm(t.prototype,e),n&&Jm(t,n),t}function ly(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ei(t){return ei=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ei(t)}function b5(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ay(t,e)}function g5(t,e){return e&&(m5(e)==="object"||typeof e=="function")?e:p5(t)}function ay(t,e){return ay=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ay(t,e)}function m5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Zm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Zm=function(){return!!t})()}var ti=function(t){b5(e,t);function e(n){v5(this,e);var o;return o=d5(this,e,[n]),ly(o,"props",void 0),o.props=new Yr(n==null?void 0:n.props),o}return h5(e,null,[{key:"controlName",get:function(){return"\u64CD\u4F5C\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"operation-button"}}]),e}(N);ly(ti,"controlEventKeys",["on_click"]),ly(ti,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"super-setting",visible:!0}]);function O5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function w5(t,e,n){return e=ni(e),T5(t,eO()?Reflect.construct(e,n||[],ni(t).constructor):e.apply(t,n))}function $5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ym(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function P5(t,e,n){return e&&Ym(t.prototype,e),n&&Ym(t,n),t}function E5(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ni(t){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ni(t)}function S5(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fy(t,e)}function T5(t,e){return e&&(R5(e)==="object"||typeof e=="function")?e:O5(t)}function fy(t,e){return fy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fy(t,e)}function R5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function eO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(eO=function(){return!!t})()}var B5=function(t){S5(e,t);function e(n){$5(this,e);var o;return o=w5(this,e,[n]),E5(o,"props",void 0),o.props=new Yr(n==null?void 0:n.props),o}return P5(e,null,[{key:"controlType",get:function(){return"operation-button"}}]),e}(Je),_y={Designer:ti,Runtime:B5,Property:Yr};function I5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function A5(t,e,n){return e=oi(e),x5(t,tO()?Reflect.construct(e,n||[],oi(t).constructor):e.apply(t,n))}function k5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ht(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function oi(t){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oi(t)}function D5(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&yy(t,e)}function x5(t,e){return e&&(F5(e)==="object"||typeof e=="function")?e:I5(t)}function yy(t,e){return yy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yy(t,e)}function F5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tO=function(){return!!t})()}var j5=function(t){D5(e,t);function e(n){k5(this,e);var o;o=A5(this,e,[n]),ht(o,"content",void 0),ht(o,"buttonType",void 0),ht(o,"showType",void 0),ht(o,"color",void 0),ht(o,"icon",void 0),ht(o,"defaultState",void 0),ht(o,"command",void 0),ht(o,"isLoading",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:ii.controlName;var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:ii.controlIcon;var u;o.buttonType=(u=n==null?void 0:n.buttonType)!==null&&u!==void 0?u:"primary";var c;o.showType=(c=n==null?void 0:n.showType)!==null&&c!==void 0?c:"iconText";var a;o.color=(a=n==null?void 0:n.color)!==null&&a!==void 0?a:"danger";var l;o.isHide=(l=n==null?void 0:n.isHide)!==null&&l!==void 0?l:!1;var f;o.defaultState=(f=n==null?void 0:n.defaultState)!==null&&f!==void 0?f:"default";var y;o.command=(y=n==null?void 0:n.command)!==null&&y!==void 0?y:"custom";var p;return o.isLoading=(p=n==null?void 0:n.isLoading)!==null&&p!==void 0?p:!1,o}return e}(K);function L5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function M5(t,e,n){return e=ri(e),H5(t,oO()?Reflect.construct(e,n||[],ri(t).constructor):e.apply(t,n))}function N5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function V5(t,e,n){return e&&nO(t.prototype,e),n&&nO(t,n),t}function sy(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ri(t){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ri(t)}function z5(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&py(t,e)}function H5(t,e){return e&&(q5(e)==="object"||typeof e=="function")?e:L5(t)}function py(t,e){return py=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},py(t,e)}function q5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function oO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(oO=function(){return!!t})()}var ii=function(t){z5(e,t);function e(n){N5(this,e);var o;return o=M5(this,e,[n]),sy(o,"props",void 0),o.props=new j5(n==null?void 0:n.props),o}return V5(e,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u5220\u9664"}},{key:"controlIcon",get:function(){return"iconlajitong"}},{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),e}(N);sy(ii,"controlEventKeys",["on_click"]),sy(ii,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"super-setting",visible:!0}]);function U5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function dy(t,e,n){return e=ui(e),C5(t,rO()?Reflect.construct(e,n||[],ui(t).constructor):e.apply(t,n))}function vy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function we(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ui(t){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ui(t)}function hy(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&by(t,e)}function C5(t,e){return e&&(W5(e)==="object"||typeof e=="function")?e:U5(t)}function by(t,e){return by=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},by(t,e)}function W5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function rO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(rO=function(){return!!t})()}var K5=function(t){hy(e,t);function e(n){vy(this,e);var o;return o=dy(this,e,[n]),we(o,"maxLength",{type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),we(o,"minLength",{type:"number",max:200,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),we(o,"defaultValue",[{type:"string",max:200,min:0,message:d.getMessage("stringRangeError")},{pattern:"",message:""}]),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue[0].max=n.maxLength,o.defaultValue[0].min=n.minLength,o.defaultValue[0].message=d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o.defaultValue[1].pattern=Kt(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return e}(J),G5=function(t){hy(e,t);function e(n){vy(this,e);var o;return o=dy(this,e,[n]),o.push({type:"string",message:d.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:Kt(n.regularRules.expression),message:n.regularRules.errMessage}),o}return e}(z),co=function(t){hy(e,t);function e(n){vy(this,e);var o;o=dy(this,e,[n]),we(o,"maxLength",void 0),we(o,"minLength",void 0),we(o,"regularRules",void 0),we(o,"defaultValue",void 0),we(o,"encrypted",void 0),we(o,"encryptedMode",void 0),we(o,"borderColor",void 0),we(o,"backgroundColor",void 0);var r;o.maxLength=(r=n==null?void 0:n.maxLength)!==null&&r!==void 0?r:200;var i;o.minLength=(i=n==null?void 0:n.minLength)!==null&&i!==void 0?i:0,o.regularRules=new Bo(n==null?void 0:n.regularRules);var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:"";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:lo.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var l;o.encrypted=(l=n==null?void 0:n.encrypted)!==null&&l!==void 0?l:!1;var f;o.encryptedMode=(f=n==null?void 0:n.encryptedMode)!==null&&f!==void 0?f:"";var y;o.borderColor=(y=n==null?void 0:n.borderColor)!==null&&y!==void 0?y:"";var p;return o.backgroundColor=(p=n==null?void 0:n.backgroundColor)!==null&&p!==void 0?p:"",o}return e}(D);we(co,"Rules",K5),we(co,"RuntimeRules",G5);function X5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Q5(t,e,n){return e=li(e),eN(t,uO()?Reflect.construct(e,n||[],li(t).constructor):e.apply(t,n))}function J5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function iO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Z5(t,e,n){return e&&iO(t.prototype,e),n&&iO(t,n),t}function ci(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function li(t){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},li(t)}function Y5(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&gy(t,e)}function eN(t,e){return e&&(tN(e)==="object"||typeof e=="function")?e:X5(t)}function gy(t,e){return gy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gy(t,e)}function tN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function uO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(uO=function(){return!!t})()}var lo=function(t){Y5(e,t);function e(n){J5(this,e);var o;return o=Q5(this,e,[n]),ci(o,"props",void 0),o.props=new co(n==null?void 0:n.props),o}return Z5(e,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconSingleline_new1"}},{key:"controlType",get:function(){return"input"}}]),e}(x);ci(lo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),ci(lo,"controlFieldType",g.VARCHAR),ci(lo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP,_.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function nN(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function oN(t,e,n){return e=ai(e),cN(t,aO()?Reflect.construct(e,n||[],ai(t).constructor):e.apply(t,n))}function rN(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function cO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function iN(t,e,n){return e&&cO(t.prototype,e),n&&cO(t,n),t}function lO(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ai(t){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ai(t)}function uN(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&my(t,e)}function cN(t,e){return e&&(lN(e)==="object"||typeof e=="function")?e:nN(t)}function my(t,e){return my=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},my(t,e)}function lN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function aO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(aO=function(){return!!t})()}var aN=function(t){uN(e,t);function e(n){rN(this,e);var o;return o=oN(this,e,[n]),lO(o,"props",void 0),o.props=new co(n==null?void 0:n.props),o}return iN(e,null,[{key:"controlType",get:function(){return"input"}}]),e}(F);lO(aN,"controlFieldType",g.VARCHAR);function fN(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Oy(t,e,n){return e=fi(e),_N(t,fO()?Reflect.construct(e,n||[],fi(t).constructor):e.apply(t,n))}function wy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function oe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fi(t){return fi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fi(t)}function $y(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Py(t,e)}function _N(t,e){return e&&(yN(e)==="object"||typeof e=="function")?e:fN(t)}function Py(t,e){return Py=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Py(t,e)}function yN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(fO=function(){return!!t})()}var sN=function(t){$y(e,t);function e(n){wy(this,e);var o;o=Oy(this,e,[n]),oe(o,"limitMax",{type:"number",min:void 0,message:d.getMessage("PleaseReselectTheOptionalQuantity")});var r=n.limitMax==="unlimited";r&&(o.limitMax.type="string");var i=function(u){return u==="unlimited"?void 0:u};return o.limitMax.min=i(n.limitMin),o}return e}(zt),pN=function(t){$y(e,t);function e(n){wy(this,e);var o;return o=Oy(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o.push({type:"array",max:typeof n.limitMax=="number"?n.limitMax:void 0,min:typeof n.limitMin=="number"?n.limitMin:void 0}),o}return e}(z),_i=function(t){$y(e,t);function e(n){wy(this,e);var o;o=Oy(this,e,[n]),oe(o,"checkboxMode",void 0),oe(o,"options",void 0),oe(o,"optionsOrder",void 0),oe(o,"limitMax",void 0),oe(o,"limitMin",void 0),oe(o,"otherOption",void 0),oe(o,"optionConfig",void 0),oe(o,"optionsFormat",void 0),oe(o,"defaultShowOptions",void 0),oe(o,"datasourceBind",void 0),oe(o,"multistageFilling",void 0),oe(o,"interreaction",void 0),oe(o,"defaultValue",void 0),oe(o,"openMultistageFilling",void 0);var r;o.options=Qe((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var i;o.checkboxMode=(i=n==null?void 0:n.checkboxMode)!==null&&i!==void 0?i:"horizontal";var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"custom";var c;o.optionsOrder=(c=n==null?void 0:n.optionsOrder)!==null&&c!==void 0?c:!1;var a;o.otherOption=(a=n==null?void 0:n.otherOption)!==null&&a!==void 0?a:!1;var l;o.limitMin=(l=n==null?void 0:n.limitMin)!==null&&l!==void 0?l:"unlimited";var f;o.limitMax=(f=n==null?void 0:n.limitMax)!==null&&f!==void 0?f:"unlimited",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var y;o.interreaction=(y=n==null?void 0:n.interreaction)!==null&&y!==void 0?y:[];var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:pi.controlName;var b;o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:[];var O;o.optionsFormat=(O=n==null?void 0:n.optionsFormat)!==null&&O!==void 0?O:"horizontal";var m;o.defaultShowOptions=(m=n==null?void 0:n.defaultShowOptions)!==null&&m!==void 0?m:!0;var w;return o.openMultistageFilling=(w=n==null?void 0:n.openMultistageFilling)!==null&&w!==void 0?w:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(h){var $;($=o.multistageFilling)===null||$===void 0||$.push(new se(h))})),o}return e}(D);oe(_i,"Rules",sN),oe(_i,"RuntimeRules",pN);function dN(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vN(t,e,n){return e=si(e),mN(t,yO()?Reflect.construct(e,n||[],si(t).constructor):e.apply(t,n))}function hN(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _O(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function bN(t,e,n){return e&&_O(t.prototype,e),n&&_O(t,n),t}function yi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function si(t){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},si(t)}function gN(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ey(t,e)}function mN(t,e){return e&&(ON(e)==="object"||typeof e=="function")?e:dN(t)}function Ey(t,e){return Ey=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ey(t,e)}function ON(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function yO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(yO=function(){return!!t})()}var pi=function(t){gN(e,t);function e(n){hN(this,e);var o;return o=vN(this,e,[n]),yi(o,"props",void 0),o.props=new _i(n==null?void 0:n.props),o}return bN(e,null,[{key:"controlName",get:function(){return"\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),e}(x);yi(pi,"controlEventKeys",["on_change","on_click"]),yi(pi,"controlFieldType",g.ARRAY),yi(pi,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}]);function wN(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $N(t,e,n){return e=di(e),TN(t,dO()?Reflect.construct(e,n||[],di(t).constructor):e.apply(t,n))}function PN(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function EN(t,e,n){return e&&sO(t.prototype,e),n&&sO(t,n),t}function pO(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function di(t){return di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},di(t)}function SN(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Sy(t,e)}function TN(t,e){return e&&(RN(e)==="object"||typeof e=="function")?e:wN(t)}function Sy(t,e){return Sy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sy(t,e)}function RN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function dO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(dO=function(){return!!t})()}var BN=function(t){SN(e,t);function e(n){PN(this,e);var o;return o=$N(this,e,[n]),pO(o,"props",void 0),o.props=new _i(n==null?void 0:n.props),o}return EN(e,null,[{key:"controlType",get:function(){return"checkbox"}}]),e}(F);pO(BN,"controlFieldType",g.ARRAY);function IN(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vO(t,e,n){return e=vi(e),AN(t,gO()?Reflect.construct(e,n||[],vi(t).constructor):e.apply(t,n))}function hO(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $e(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function vi(t){return vi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vi(t)}function bO(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ty(t,e)}function AN(t,e){return e&&(kN(e)==="object"||typeof e=="function")?e:IN(t)}function Ty(t,e){return Ty=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ty(t,e)}function kN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function gO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(gO=function(){return!!t})()}var DN=function(t){bO(e,t);function e(n){return hO(this,e),vO(this,e,[n])}return e}(zt),Ry=function(t){bO(e,t);function e(n){hO(this,e);var o;o=vO(this,e,[n]),$e(o,"radioMode",void 0),$e(o,"options",void 0),$e(o,"optionConfig",void 0),$e(o,"optionsFormat",void 0),$e(o,"defaultShowOptions",void 0),$e(o,"otherOption",void 0),$e(o,"optionsOrder",void 0),$e(o,"datasourceBind",void 0),$e(o,"multistageFilling",void 0),$e(o,"interreaction",void 0),$e(o,"defaultValue",void 0),$e(o,"openMultistageFilling",void 0);var r;o.options=Qe((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var i;o.radioMode=(i=n==null?void 0:n.radioMode)!==null&&i!==void 0?i:"horizontal";var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"custom";var c;o.otherOption=(c=n==null?void 0:n.otherOption)!==null&&c!==void 0?c:!1;var a;o.optionsOrder=(a=n==null?void 0:n.optionsOrder)!==null&&a!==void 0?a:!1;var l;o.defaultShowOptions=(l=n==null?void 0:n.defaultShowOptions)!==null&&l!==void 0?l:!0;var f;o.optionsFormat=(f=n==null?void 0:n.optionsFormat)!==null&&f!==void 0?f:"horizontal",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var y;o.interreaction=(y=n==null?void 0:n.interreaction)!==null&&y!==void 0?y:[];var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:gi.controlName;var b;o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:"";var O;return o.openMultistageFilling=(O=n==null?void 0:n.openMultistageFilling)!==null&&O!==void 0?O:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(m){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new se(m))})),o}return e}(D);$e(Ry,"Rules",DN);function xN(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function FN(t,e,n){return e=bi(e),NN(t,OO()?Reflect.construct(e,n||[],bi(t).constructor):e.apply(t,n))}function jN(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function LN(t,e,n){return e&&mO(t.prototype,e),n&&mO(t,n),t}function hi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function bi(t){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bi(t)}function MN(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&By(t,e)}function NN(t,e){return e&&(VN(e)==="object"||typeof e=="function")?e:xN(t)}function By(t,e){return By=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},By(t,e)}function VN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function OO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(OO=function(){return!!t})()}var gi=function(t){MN(e,t);function e(n){jN(this,e);var o;return o=FN(this,e,[n]),hi(o,"props",void 0),o.props=new Ry(n==null?void 0:n.props),o}return LN(e,null,[{key:"controlName",get:function(){return"\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),e}(x);hi(gi,"controlEventKeys",["on_change","on_click"]),hi(gi,"controlFieldType",g.VARCHAR),hi(gi,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}]);function zN(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function HN(t,e,n){return e=mi(e),WN(t,PO()?Reflect.construct(e,n||[],mi(t).constructor):e.apply(t,n))}function qN(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function UN(t,e,n){return e&&wO(t.prototype,e),n&&wO(t,n),t}function $O(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function mi(t){return mi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mi(t)}function CN(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Iy(t,e)}function WN(t,e){return e&&(KN(e)==="object"||typeof e=="function")?e:zN(t)}function Iy(t,e){return Iy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Iy(t,e)}function KN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function PO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(PO=function(){return!!t})()}var GN=function(t){CN(e,t);function e(n){qN(this,e);var o;return o=HN(this,e,[n]),$O(o,"props",void 0),o.props=new Ry(n==null?void 0:n.props),o}return UN(e,null,[{key:"controlType",get:function(){return"radio"}}]),e}(F);$O(GN,"controlFieldType",g.VARCHAR);function XN(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ay(t,e,n){return e=Oi(e),QN(t,EO()?Reflect.construct(e,n||[],Oi(t).constructor):e.apply(t,n))}function ky(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ce(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Oi(t){return Oi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oi(t)}function Dy(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xy(t,e)}function QN(t,e){return e&&(JN(e)==="object"||typeof e=="function")?e:XN(t)}function xy(t,e){return xy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xy(t,e)}function JN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function EO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(EO=function(){return!!t})()}var ZN=function(t){Dy(e,t);function e(n){ky(this,e);var o;o=Ay(this,e,[n]),ce(o,"defaultValue",[{type:"number",min:0,max:200,message:d.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}]),ce(o,"rangeMax",{type:"any"});var r=n.rangeMax===""?void 0:n.rangeMax,i=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue[0].max=r,o.defaultValue[0].min=i,o.defaultValue[0].message=d.getMessage("pleaseEnterNumberRange",{max:r,min:i}),i&&r!==void 0&&(o.rangeMax={type:"number",min:i,message:d.getMessage("numberRangeSetError")}),o.defaultValue[1].pattern=Kt(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return e}(J),YN=function(t){Dy(e,t);function e(n){ky(this,e);var o;o=Ay(this,e,[n]),o[0]!==void 0&&(o[0].type="number");var r=n.rangeMax!==""?n.rangeMax:void 0,i=n.rangeMin!==""?n.rangeMin:void 0;return o.push({type:"number",max:r,min:i,message:d.getMessage(r===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:r,min:i})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:Kt(n.regularRules.expression),message:n.regularRules.errMessage}),o}return e}(z),wi=function(t){Dy(e,t);function e(n){ky(this,e);var o;o=Ay(this,e,[n]),ce(o,"rangeMin",void 0),ce(o,"rangeMax",void 0),ce(o,"numberType",void 0),ce(o,"percentageFormat",void 0),ce(o,"micrometer",void 0),ce(o,"precision",void 0),ce(o,"showUpperCase",void 0),ce(o,"isShowUnit",void 0),ce(o,"unitPosition",void 0),ce(o,"unit",void 0),ce(o,"defaultValue",void 0),ce(o,"regularRules",void 0);var r;o.rangeMin=(r=n==null?void 0:n.rangeMin)!==null&&r!==void 0?r:"";var i;o.rangeMax=(i=n==null?void 0:n.rangeMax)!==null&&i!==void 0?i:"";var u;o.numberType=(u=n==null?void 0:n.numberType)!==null&&u!==void 0?u:"number";var c;o.percentageFormat=(c=n==null?void 0:n.percentageFormat)!==null&&c!==void 0?c:!1;var a;o.micrometer=(a=n==null?void 0:n.micrometer)!==null&&a!==void 0?a:!1;var l;o.precision=(l=n==null?void 0:n.precision)!==null&&l!==void 0?l:0;var f;o.showUpperCase=(f=n==null?void 0:n.showUpperCase)!==null&&f!==void 0?f:!1;var y;o.isShowUnit=(y=n==null?void 0:n.isShowUnit)!==null&&y!==void 0?y:!1;var p;o.unitPosition=(p=n==null?void 0:n.unitPosition)!==null&&p!==void 0?p:"right";var b;o.unit=(b=n==null?void 0:n.unit)!==null&&b!==void 0?b:"";var O;o.caption=(O=n==null?void 0:n.caption)!==null&&O!==void 0?O:Ei.controlName;var m;o.placeholder=(m=n==null?void 0:n.placeholder)!==null&&m!==void 0?m:"\u8BF7\u8F93\u5165";var w;return o.defaultValue=(w=n==null?void 0:n.defaultValue)!==null&&w!==void 0?w:"",o.regularRules=new Bo(n==null?void 0:n.regularRules),o}return e}(D);ce(wi,"Rules",ZN),ce(wi,"RuntimeRules",YN);function e6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function t6(t,e,n){return e=Xt(e),i6(t,TO()?Reflect.construct(e,n||[],Xt(t).constructor):e.apply(t,n))}function n6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function SO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function o6(t,e,n){return e&&SO(t.prototype,e),n&&SO(t,n),t}function $i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Pi(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Pi=Reflect.get:Pi=function(r,i,u){var c=u6(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Pi(t,e,n||t)}function Xt(t){return Xt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xt(t)}function r6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Fy(t,e)}function i6(t,e){return e&&(c6(e)==="object"||typeof e=="function")?e:e6(t)}function Fy(t,e){return Fy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fy(t,e)}function u6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Xt(t),t!==null););return t}function c6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function TO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(TO=function(){return!!t})()}var Ei=function(t){r6(e,t);function e(n){n6(this,e);var o;return o=t6(this,e,[n]),$i(o,"props",void 0),o.props=new wi(n==null?void 0:n.props),o}return o6(e,[{key:"toDataBindModel",value:function(o){var r=Pi(Xt(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.precision,c=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=c}return r}}],[{key:"controlName",get:function(){return"\u6570\u5B57"}},{key:"controlIcon",get:function(){return"iconnuminput_new"}},{key:"controlType",get:function(){return"number"}}]),e}(x);$i(Ei,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),$i(Ei,"controlFieldType",g.DECIMAL),$i(Ei,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_UNIT,_.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[_.SHOW_UPPER_CASE,_.MICROMETER,_.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function l6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function a6(t,e,n){return e=Si(e),s6(t,IO()?Reflect.construct(e,n||[],Si(t).constructor):e.apply(t,n))}function f6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function RO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function _6(t,e,n){return e&&RO(t.prototype,e),n&&RO(t,n),t}function BO(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Si(t){return Si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Si(t)}function y6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&jy(t,e)}function s6(t,e){return e&&(p6(e)==="object"||typeof e=="function")?e:l6(t)}function jy(t,e){return jy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jy(t,e)}function p6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function IO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(IO=function(){return!!t})()}var d6=function(t){y6(e,t);function e(n){f6(this,e);var o;return o=a6(this,e,[n]),BO(o,"props",void 0),o.props=new wi(n==null?void 0:n.props),o}return _6(e,null,[{key:"controlType",get:function(){return"number"}}]),e}(F);BO(d6,"controlFieldType",g.DECIMAL);function v6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function h6(t,e,n){return e=Ti(e),m6(t,AO()?Reflect.construct(e,n||[],Ti(t).constructor):e.apply(t,n))}function b6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ti(t){return Ti=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ti(t)}function g6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ly(t,e)}function m6(t,e){return e&&(O6(e)==="object"||typeof e=="function")?e:v6(t)}function Ly(t,e){return Ly=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ly(t,e)}function O6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function AO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(AO=function(){return!!t})()}var kO=function(t){g6(e,t);function e(n){b6(this,e);var o,r;o=h6(this,e,[n]),bt(o,"dateType",void 0),bt(o,"dateFormat",void 0),bt(o,"commonTimeSetting",void 0),bt(o,"setValueType",void 0),bt(o,"defaultValue",void 0),bt(o,"limitDateList",void 0),bt(o,"allowDateRange",void 0),bt(o,"filterWeekend",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:rt.DATE;var u;o.dateFormat=(u=n==null?void 0:n.dateFormat)!==null&&u!==void 0?u:"";var c;o.commonTimeSetting=(c=n==null?void 0:n.commonTimeSetting)!==null&&c!==void 0?c:[];var a;o.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:Vy.controlName;var f;o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"\u8BF7\u8F93\u5165\u65E5\u671F";var y;o.defaultValue=(y=n==null?void 0:n.defaultValue)!==null&&y!==void 0?y:"";var p;o.limitDateList=(p=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function(m){return new o_(m)}))!==null&&p!==void 0?p:[];var b;o.allowDateRange=(b=n==null?void 0:n.allowDateRange)!==null&&b!==void 0?b:["",""];var O;return o.filterWeekend=(O=n==null?void 0:n.filterWeekend)!==null&&O!==void 0?O:!1,o}return e}(D);function w6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $6(t,e,n){return e=Qt(e),T6(t,xO()?Reflect.construct(e,n||[],Qt(t).constructor):e.apply(t,n))}function P6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function DO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function E6(t,e,n){return e&&DO(t.prototype,e),n&&DO(t,n),t}function My(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ri(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Ri=Reflect.get:Ri=function(r,i,u){var c=R6(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Ri(t,e,n||t)}function Qt(t){return Qt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qt(t)}function S6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ny(t,e)}function T6(t,e){return e&&(B6(e)==="object"||typeof e=="function")?e:w6(t)}function Ny(t,e){return Ny=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ny(t,e)}function R6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Qt(t),t!==null););return t}function B6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xO=function(){return!!t})()}var Vy=function(t){S6(e,t);function e(n){P6(this,e);var o;return o=$6(this,e,[n]),My(o,"props",void 0),o.props=new kO(n==null?void 0:n.props),o}return E6(e,[{key:"toDataBindModel",value:function(o){var r=Ri(Qt(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props.dateType;r.props.dateType=i}return r}}],[{key:"controlName",get:function(){return"\u65E5\u671F"}},{key:"controlIcon",get:function(){return"iconriqi1"}},{key:"controlType",get:function(){return"date-picker"}}]),e}(x);My(Vy,"controlFieldType",g.TIMESTAMP),My(Vy,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function I6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function A6(t,e,n){return e=Bi(e),F6(t,LO()?Reflect.construct(e,n||[],Bi(t).constructor):e.apply(t,n))}function k6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function FO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function D6(t,e,n){return e&&FO(t.prototype,e),n&&FO(t,n),t}function jO(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Bi(t){return Bi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bi(t)}function x6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&zy(t,e)}function F6(t,e){return e&&(j6(e)==="object"||typeof e=="function")?e:I6(t)}function zy(t,e){return zy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zy(t,e)}function j6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function LO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(LO=function(){return!!t})()}var L6=function(t){x6(e,t);function e(n){k6(this,e);var o;return o=A6(this,e,[n]),jO(o,"props",void 0),o.props=new kO(n==null?void 0:n.props),o}return D6(e,null,[{key:"controlType",get:function(){return"date-picker"}}]),e}(F);jO(L6,"controlFieldType",g.TIMESTAMP);function M6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function MO(t,e,n){return e=Ii(e),N6(t,zO()?Reflect.construct(e,n||[],Ii(t).constructor):e.apply(t,n))}function NO(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Re(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ii(t){return Ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ii(t)}function VO(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hy(t,e)}function N6(t,e){return e&&(V6(e)==="object"||typeof e=="function")?e:M6(t)}function Hy(t,e){return Hy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hy(t,e)}function V6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function zO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zO=function(){return!!t})()}var z6=function(t){VO(e,t);function e(n){NO(this,e);var o;return o=MO(this,e,[n]),o[0]!==void 0&&(o[0].type="object"),n.required&&!n.isHide&&o.push({type:"object",fields:{max:{type:"string",required:n.required,message:o[0].message},min:{type:"string",required:n.required,message:o[0].message}}}),o}return e}(z),qy=function(t){VO(e,t);function e(n){NO(this,e);var o,r;o=MO(this,e,[n]),Re(o,"dataBind",void 0),Re(o,"rangeMin",void 0),Re(o,"rangeMax",void 0),Re(o,"placeholderStart",void 0),Re(o,"placeholderEnd",void 0),Re(o,"dateFormat",void 0),Re(o,"commonTimeSetting",void 0),Re(o,"dateType",void 0),Re(o,"setValueType",void 0),Re(o,"defaultValue",void 0),Re(o,"limitDateList",void 0),o.dataBind=new gk(n==null?void 0:n.dataBind),o.defaultValue=new mk(n==null?void 0:n.defaultValue);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:rt.DATE;var u;o.dateFormat=(u=n==null?void 0:n.dateFormat)!==null&&u!==void 0?u:"";var c;o.commonTimeSetting=(c=n==null?void 0:n.commonTimeSetting)!==null&&c!==void 0?c:[];var a;o.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var l;o.rangeMin=(l=n==null?void 0:n.rangeMin)!==null&&l!==void 0?l:"";var f;o.rangeMax=(f=n==null?void 0:n.rangeMax)!==null&&f!==void 0?f:"";var y;o.placeholderStart=(y=n==null?void 0:n.placeholderStart)!==null&&y!==void 0?y:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F";var p;o.placeholderEnd=(p=n==null?void 0:n.placeholderEnd)!==null&&p!==void 0?p:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F";var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:Wy.controlName;var O;return o.limitDateList=(O=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function(m){return new o_(m)}))!==null&&O!==void 0?O:[],o}return e}(D);Re(qy,"RuntimeRules",z6);function H6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function q6(t,e,n){return e=Jt(e),K6(t,qO()?Reflect.construct(e,n||[],Jt(t).constructor):e.apply(t,n))}function U6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function HO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function C6(t,e,n){return e&&HO(t.prototype,e),n&&HO(t,n),t}function Uy(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ai(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Ai=Reflect.get:Ai=function(r,i,u){var c=G6(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Ai(t,e,n||t)}function Jt(t){return Jt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jt(t)}function W6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Cy(t,e)}function K6(t,e){return e&&(X6(e)==="object"||typeof e=="function")?e:H6(t)}function Cy(t,e){return Cy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cy(t,e)}function G6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Jt(t),t!==null););return t}function X6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function qO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(qO=function(){return!!t})()}var Wy=function(t){W6(e,t);function e(n){U6(this,e);var o;return o=q6(this,e,[n]),Uy(o,"props",void 0),o.props=new qy(n==null?void 0:n.props),o}return C6(e,[{key:"toDataBindModel",value:function(o){var r=Ai(Jt(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props.dateType;r.props.dateType=i}return r}}],[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"date-range"}}]),e}(x);Uy(Wy,"controlFieldType",g.TIMESCOPE),Uy(Wy,"setting",[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function Q6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function J6(t,e,n){return e=ki(e),t4(t,WO()?Reflect.construct(e,n||[],ki(t).constructor):e.apply(t,n))}function Z6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function UO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Y6(t,e,n){return e&&UO(t.prototype,e),n&&UO(t,n),t}function CO(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ki(t){return ki=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ki(t)}function e4(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ky(t,e)}function t4(t,e){return e&&(n4(e)==="object"||typeof e=="function")?e:Q6(t)}function Ky(t,e){return Ky=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ky(t,e)}function n4(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function WO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(WO=function(){return!!t})()}var o4=function(t){e4(e,t);function e(n){Z6(this,e);var o;return o=J6(this,e,[n]),CO(o,"props",void 0),o.props=new qy(n==null?void 0:n.props),o}return Y6(e,null,[{key:"controlType",get:function(){return"date-range"}}]),e}(F);CO(o4,"controlFieldType",g.TIMESCOPE);function r4(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Gy(t,e,n){return e=Di(e),i4(t,KO()?Reflect.construct(e,n||[],Di(t).constructor):e.apply(t,n))}function Xy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Di(t){return Di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Di(t)}function Qy(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Jy(t,e)}function i4(t,e){return e&&(u4(e)==="object"||typeof e=="function")?e:r4(t)}function Jy(t,e){return Jy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jy(t,e)}function u4(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function KO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(KO=function(){return!!t})()}var c4=function(t){Qy(e,t);function e(n){Xy(this,e);var o;return o=Gy(this,e,[n]),Pe(o,"maxLength",{type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),Pe(o,"minLength",{type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),Pe(o,"defaultValue",{type:"string",max:200,min:0,message:d.getMessage("stringRangeError")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return e}(J),l4=function(t){Qy(e,t);function e(n){Xy(this,e);var o;return o=Gy(this,e,[n]),o.push({type:"string",max:n.maxLength,min:n.minLength,message:d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return e}(z),xi=function(t){Qy(e,t);function e(n){Xy(this,e);var o;o=Gy(this,e,[n]),Pe(o,"maxLength",void 0),Pe(o,"minLength",void 0),Pe(o,"defaultValue",void 0),Pe(o,"lineEllipsis",void 0),Pe(o,"autoSize",void 0),Pe(o,"maxRows",void 0),Pe(o,"borderColor",void 0),Pe(o,"backgroundColor",void 0);var r;o.maxLength=(r=n==null?void 0:n.maxLength)!==null&&r!==void 0?r:5e4;var i;o.minLength=(i=n==null?void 0:n.minLength)!==null&&i!==void 0?i:0;var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:"";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Li.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var l;o.lineEllipsis=(l=n==null?void 0:n.lineEllipsis)!==null&&l!==void 0?l:4;var f;o.autoSize=(f=n==null?void 0:n.autoSize)!==null&&f!==void 0?f:!1,o.maxRows=n==null?void 0:n.maxRows;var y;o.borderColor=(y=n==null?void 0:n.borderColor)!==null&&y!==void 0?y:"";var p;return o.backgroundColor=(p=n==null?void 0:n.backgroundColor)!==null&&p!==void 0?p:"",o}return e}(D);Pe(xi,"Rules",c4),Pe(xi,"RuntimeRules",l4);function a4(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function f4(t,e,n){return e=ji(e),p4(t,XO()?Reflect.construct(e,n||[],ji(t).constructor):e.apply(t,n))}function _4(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function GO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function y4(t,e,n){return e&&GO(t.prototype,e),n&&GO(t,n),t}function Fi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ji(t){return ji=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ji(t)}function s4(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Zy(t,e)}function p4(t,e){return e&&(d4(e)==="object"||typeof e=="function")?e:a4(t)}function Zy(t,e){return Zy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zy(t,e)}function d4(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function XO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(XO=function(){return!!t})()}var Li=function(t){s4(e,t);function e(n){_4(this,e);var o;return o=f4(this,e,[n]),Fi(o,"props",void 0),o.props=new xi(n==null?void 0:n.props),o}return y4(e,null,[{key:"controlName",get:function(){return"\u591A\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconMultilineline_new1"}},{key:"controlType",get:function(){return"textarea"}}]),e}(x);Fi(Li,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Fi(Li,"controlFieldType",g.TEXT),Fi(Li,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}]);function v4(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function h4(t,e,n){return e=Mi(e),O4(t,ZO()?Reflect.construct(e,n||[],Mi(t).constructor):e.apply(t,n))}function b4(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function QO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function g4(t,e,n){return e&&QO(t.prototype,e),n&&QO(t,n),t}function JO(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Mi(t){return Mi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mi(t)}function m4(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Yy(t,e)}function O4(t,e){return e&&(w4(e)==="object"||typeof e=="function")?e:v4(t)}function Yy(t,e){return Yy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yy(t,e)}function w4(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ZO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ZO=function(){return!!t})()}var $4=function(t){m4(e,t);function e(n){b4(this,e);var o;return o=h4(this,e,[n]),JO(o,"props",void 0),o.props=new xi(n==null?void 0:n.props),o}return g4(e,null,[{key:"controlType",get:function(){return"textarea"}}]),e}(F);JO($4,"controlFieldType",g.TEXT);function P4(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function es(t,e,n){return e=Ni(e),E4(t,YO()?Reflect.construct(e,n||[],Ni(t).constructor):e.apply(t,n))}function ts(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ni(t){return Ni=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ni(t)}function ns(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&os(t,e)}function E4(t,e){return e&&(S4(e)==="object"||typeof e=="function")?e:P4(t)}function os(t,e){return os=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},os(t,e)}function S4(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function YO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(YO=function(){return!!t})()}var T4=function(t){ns(e,t);function e(n){ts(this,e);var o;return o=es(this,e,[n]),gt(o,"maxLength",{type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),gt(o,"minLength",{type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),gt(o,"defaultValue",{type:"string",max:200,min:0,message:d.getMessage("stringRangeError")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return e}(J),R4=function(t){ns(e,t);function e(n){ts(this,e);var o;return o=es(this,e,[n]),o.push({type:"string",max:n.maxLength,min:n.minLength,message:d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return e}(z),Vi=function(t){ns(e,t);function e(n){ts(this,e);var o;o=es(this,e,[n]),gt(o,"maxLength",void 0),gt(o,"minLength",void 0),gt(o,"defaultValue",void 0);var r;o.maxLength=(r=n==null?void 0:n.maxLength)!==null&&r!==void 0?r:5e4;var i;o.minLength=(i=n==null?void 0:n.minLength)!==null&&i!==void 0?i:0;var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:"";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:qi.controlName;var a;return o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165",o}return e}(D);gt(Vi,"Rules",T4),gt(Vi,"RuntimeRules",R4);function B4(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function I4(t,e,n){return e=Hi(e),x4(t,tw()?Reflect.construct(e,n||[],Hi(t).constructor):e.apply(t,n))}function A4(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ew(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function k4(t,e,n){return e&&ew(t.prototype,e),n&&ew(t,n),t}function zi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Hi(t){return Hi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hi(t)}function D4(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&rs(t,e)}function x4(t,e){return e&&(F4(e)==="object"||typeof e=="function")?e:B4(t)}function rs(t,e){return rs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rs(t,e)}function F4(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tw=function(){return!!t})()}var qi=function(t){D4(e,t);function e(n){A4(this,e);var o;return o=I4(this,e,[n]),zi(o,"props",void 0),o.props=new Vi(n==null?void 0:n.props),o}return k4(e,null,[{key:"controlName",get:function(){return"\u5BCC\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconRichtextbox_new"}},{key:"controlType",get:function(){return"rich-text"}}]),e}(x);zi(qi,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),zi(qi,"controlFieldType",g.TEXT),zi(qi,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}]);function j4(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function L4(t,e,n){return e=Ui(e),z4(t,rw()?Reflect.construct(e,n||[],Ui(t).constructor):e.apply(t,n))}function M4(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function N4(t,e,n){return e&&nw(t.prototype,e),n&&nw(t,n),t}function ow(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ui(t){return Ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ui(t)}function V4(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&is(t,e)}function z4(t,e){return e&&(H4(e)==="object"||typeof e=="function")?e:j4(t)}function is(t,e){return is=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},is(t,e)}function H4(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function rw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(rw=function(){return!!t})()}var q4=function(t){V4(e,t);function e(n){M4(this,e);var o;return o=L4(this,e,[n]),ow(o,"props",void 0),o.props=new Vi(n==null?void 0:n.props),o}return N4(e,null,[{key:"controlType",get:function(){return"rich-text"}}]),e}(F);ow(q4,"controlFieldType",g.TEXT);function U4(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function iw(t,e,n){return e=Ci(e),C4(t,lw()?Reflect.construct(e,n||[],Ci(t).constructor):e.apply(t,n))}function uw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ee(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ci(t){return Ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ci(t)}function cw(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&us(t,e)}function C4(t,e){return e&&(W4(e)==="object"||typeof e=="function")?e:U4(t)}function us(t,e){return us=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},us(t,e)}function W4(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function lw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(lw=function(){return!!t})()}var K4=function(t){cw(e,t);function e(n){uw(this,e);var o;return o=iw(this,e,[n]),Ee(o,"formBind",{type:"object",fields:{formKey:{type:"string",message:d.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return e}(zt),cs=function(t){cw(e,t);function e(n){uw(this,e);var o;o=iw(this,e,[n]),Ee(o,"options",void 0),Ee(o,"defaultShowOptions",void 0),Ee(o,"optionConfig",void 0),Ee(o,"defaultValue",void 0),Ee(o,"datasourceBind",void 0),Ee(o,"multistageFilling",void 0),Ee(o,"allowCopyOptions",void 0),Ee(o,"openMultistageFilling",void 0),Ee(o,"viewFormModelType",void 0),Ee(o,"canViewForm",void 0),Ee(o,"formBind",void 0);var r;o.options=Qe((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var i;o.defaultShowOptions=(i=n==null?void 0:n.defaultShowOptions)!==null&&i!==void 0?i:!0;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"custom",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:fs.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9";var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:"";var f;o.allowCopyOptions=(f=n==null?void 0:n.allowCopyOptions)!==null&&f!==void 0?f:!1;var y;o.openMultistageFilling=(y=n==null?void 0:n.openMultistageFilling)!==null&&y!==void 0?y:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var m;(m=o.multistageFilling)===null||m===void 0||m.push(new se(O))}));var p;o.canViewForm=(p=n==null?void 0:n.canViewForm)!==null&&p!==void 0?p:!1;var b;return o.viewFormModelType=(b=n==null?void 0:n.viewFormModelType)!==null&&b!==void 0?b:"window",o.formBind=new Nt(n==null?void 0:n.formBind),o}return e}(D);Ee(cs,"Rules",K4);function G4(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function X4(t,e,n){return e=Wi(e),Y4(t,fw()?Reflect.construct(e,n||[],Wi(t).constructor):e.apply(t,n))}function Q4(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function aw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function J4(t,e,n){return e&&aw(t.prototype,e),n&&aw(t,n),t}function ls(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wi(t){return Wi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wi(t)}function Z4(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&as(t,e)}function Y4(t,e){return e&&(e7(e)==="object"||typeof e=="function")?e:G4(t)}function as(t,e){return as=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},as(t,e)}function e7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(fw=function(){return!!t})()}var fs=function(t){Z4(e,t);function e(n){Q4(this,e);var o;return o=X4(this,e,[n]),ls(o,"props",void 0),o.props=new cs(n==null?void 0:n.props),o}return J4(e,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconxiala1"}},{key:"controlType",get:function(){return"select"}}]),e}(x);ls(fs,"controlFieldType",g.VARCHAR),ls(fs,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.DEFAULT_SHOW_OPTIONS,_.IS_SHOW_CAPTION_TIP,_.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[_.CAN_VIEW_FORM,_.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]);function t7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function n7(t,e,n){return e=Ki(e),u7(t,sw()?Reflect.construct(e,n||[],Ki(t).constructor):e.apply(t,n))}function o7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _w(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function r7(t,e,n){return e&&_w(t.prototype,e),n&&_w(t,n),t}function yw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ki(t){return Ki=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ki(t)}function i7(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_s(t,e)}function u7(t,e){return e&&(c7(e)==="object"||typeof e=="function")?e:t7(t)}function _s(t,e){return _s=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_s(t,e)}function c7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function sw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(sw=function(){return!!t})()}var l7=function(t){i7(e,t);function e(n){o7(this,e);var o;return o=n7(this,e,[n]),yw(o,"props",void 0),o.props=new cs(n==null?void 0:n.props),o}return r7(e,null,[{key:"controlType",get:function(){return"select"}}]),e}(F);yw(l7,"controlFieldType",g.VARCHAR);function a7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ys(t,e,n){return e=Gi(e),f7(t,pw()?Reflect.construct(e,n||[],Gi(t).constructor):e.apply(t,n))}function ss(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Se(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gi(t){return Gi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gi(t)}function ps(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ds(t,e)}function f7(t,e){return e&&(_7(e)==="object"||typeof e=="function")?e:a7(t)}function ds(t,e){return ds=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ds(t,e)}function _7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pw=function(){return!!t})()}var y7=function(t){ps(e,t);function e(n){ss(this,e);var o;return o=ys(this,e,[n]),Se(o,"formBind",{type:"object",fields:{formKey:{type:"string",message:d.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return e}(zt),s7=function(t){ps(e,t);function e(n){ss(this,e);var o;return o=ys(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(z),Xi=function(t){ps(e,t);function e(n){ss(this,e);var o;o=ys(this,e,[n]),Se(o,"options",void 0),Se(o,"defaultShowOptions",void 0),Se(o,"optionConfig",void 0),Se(o,"defaultValue",void 0),Se(o,"datasourceBind",void 0),Se(o,"multistageFilling",void 0),Se(o,"openMultistageFilling",void 0),Se(o,"viewFormModelType",void 0),Se(o,"canViewForm",void 0),Se(o,"formBind",void 0);var r;o.options=Qe((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var i;o.defaultShowOptions=(i=n==null?void 0:n.defaultShowOptions)!==null&&i!==void 0?i:!0;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"custom",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:bs.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9";var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var f;o.openMultistageFilling=(f=n==null?void 0:n.openMultistageFilling)!==null&&f!==void 0?f:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(b){var O;(O=o.multistageFilling)===null||O===void 0||O.push(new se(b))}));var y;o.canViewForm=(y=n==null?void 0:n.canViewForm)!==null&&y!==void 0?y:!1;var p;return o.viewFormModelType=(p=n==null?void 0:n.viewFormModelType)!==null&&p!==void 0?p:"window",o.formBind=new Nt(n==null?void 0:n.formBind),o}return e}(D);Se(Xi,"Rules",y7),Se(Xi,"RuntimeRules",s7);function p7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function d7(t,e,n){return e=Qi(e),g7(t,vw()?Reflect.construct(e,n||[],Qi(t).constructor):e.apply(t,n))}function v7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function h7(t,e,n){return e&&dw(t.prototype,e),n&&dw(t,n),t}function vs(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Qi(t){return Qi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qi(t)}function b7(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&hs(t,e)}function g7(t,e){return e&&(m7(e)==="object"||typeof e=="function")?e:p7(t)}function hs(t,e){return hs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hs(t,e)}function m7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function vw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(vw=function(){return!!t})()}var bs=function(t){b7(e,t);function e(n){v7(this,e);var o;return o=d7(this,e,[n]),vs(o,"props",void 0),o.props=new Xi(n==null?void 0:n.props),o}return h7(e,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconxialaduoxuan"}},{key:"controlType",get:function(){return"select-multiple"}}]),e}(x);vs(bs,"controlFieldType",g.ARRAY),vs(bs,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.DEFAULT_SHOW_OPTIONS,_.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[_.CAN_VIEW_FORM,_.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]);function O7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function w7(t,e,n){return e=Ji(e),S7(t,gw()?Reflect.construct(e,n||[],Ji(t).constructor):e.apply(t,n))}function $7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function P7(t,e,n){return e&&hw(t.prototype,e),n&&hw(t,n),t}function bw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ji(t){return Ji=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ji(t)}function E7(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&gs(t,e)}function S7(t,e){return e&&(T7(e)==="object"||typeof e=="function")?e:O7(t)}function gs(t,e){return gs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gs(t,e)}function T7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function gw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(gw=function(){return!!t})()}var R7=function(t){E7(e,t);function e(n){$7(this,e);var o;return o=w7(this,e,[n]),bw(o,"props",void 0),o.props=new Xi(n==null?void 0:n.props),o}return P7(e,null,[{key:"controlType",get:function(){return"select-multiple"}}]),e}(F);bw(R7,"controlFieldType",g.ARRAY);function B7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mw(t,e,n){return e=Zi(e),I7(t,$w()?Reflect.construct(e,n||[],Zi(t).constructor):e.apply(t,n))}function Ow(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function tt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Zi(t){return Zi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zi(t)}function ww(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ms(t,e)}function I7(t,e){return e&&(A7(e)==="object"||typeof e=="function")?e:B7(t)}function ms(t,e){return ms=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ms(t,e)}function A7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $w(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($w=function(){return!!t})()}var k7=function(t){ww(e,t);function e(n){Ow(this,e);var o;return o=mw(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(z),Os=function(t){ww(e,t);function e(n){Ow(this,e);var o;o=mw(this,e,[n]),tt(o,"showType",void 0),tt(o,"range",void 0),tt(o,"rangeOptions",void 0),tt(o,"multiple",void 0),tt(o,"defaultValueType",void 0),tt(o,"defaultValue",void 0),tt(o,"multistageFilling",void 0),tt(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.range=(i=n==null?void 0:n.range)!==null&&i!==void 0?i:"all";var u;o.rangeOptions=(u=n==null?void 0:n.rangeOptions)!==null&&u!==void 0?u:[];var c;o.multiple=(c=n==null?void 0:n.multiple)!==null&&c!==void 0?c:!1;var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:Ps.controlName;var y;o.placeholder=(y=n==null?void 0:n.placeholder)!==null&&y!==void 0?y:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var p;return o.openMultistageFilling=(p=n==null?void 0:n.openMultistageFilling)!==null&&p!==void 0?p:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(b){var O;(O=o.multistageFilling)===null||O===void 0||O.push(new se(b))})),o}return e}(D);tt(Os,"RuntimeRules",k7);function D7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function x7(t,e,n){return e=Yi(e),M7(t,Ew()?Reflect.construct(e,n||[],Yi(t).constructor):e.apply(t,n))}function F7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function j7(t,e,n){return e&&Pw(t.prototype,e),n&&Pw(t,n),t}function ws(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yi(t){return Yi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yi(t)}function L7(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$s(t,e)}function M7(t,e){return e&&(N7(e)==="object"||typeof e=="function")?e:D7(t)}function $s(t,e){return $s=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$s(t,e)}function N7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ew(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ew=function(){return!!t})()}var Ps=function(t){L7(e,t);function e(n){F7(this,e);var o;return o=x7(this,e,[n]),ws(o,"props",void 0),o.props=new Os(n==null?void 0:n.props),o}return j7(e,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),e}(x);ws(Ps,"controlFieldType",g.EMPLOYEES),ws(Ps,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.MULTIPLE,_.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}]);function V7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function z7(t,e,n){return e=eu(e),C7(t,Rw()?Reflect.construct(e,n||[],eu(t).constructor):e.apply(t,n))}function H7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function q7(t,e,n){return e&&Sw(t.prototype,e),n&&Sw(t,n),t}function Tw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function eu(t){return eu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},eu(t)}function U7(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Es(t,e)}function C7(t,e){return e&&(W7(e)==="object"||typeof e=="function")?e:V7(t)}function Es(t,e){return Es=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Es(t,e)}function W7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Rw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Rw=function(){return!!t})()}var K7=function(t){U7(e,t);function e(n){H7(this,e);var o;return o=z7(this,e,[n]),Tw(o,"props",void 0),o.props=new Os(n==null?void 0:n.props),o}return q7(e,null,[{key:"controlType",get:function(){return"employee"}}]),e}(F);Tw(K7,"controlFieldType",g.EMPLOYEES);function G7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ss(t,e,n){return e=tu(e),X7(t,Bw()?Reflect.construct(e,n||[],tu(t).constructor):e.apply(t,n))}function Ts(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function he(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function tu(t){return tu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tu(t)}function Rs(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Bs(t,e)}function X7(t,e){return e&&(Q7(e)==="object"||typeof e=="function")?e:G7(t)}function Bs(t,e){return Bs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bs(t,e)}function Q7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Bw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Bw=function(){return!!t})()}var J7=10485760,Z7=104857600,Y7=1048576e3,eV=function(t){Rs(e,t);function e(n){Ts(this,e);var o;return o=Ss(this,e,[n]),he(o,"maxSize",{type:"number",min:0,max:Y7,message:d.getMessage("attachmentMaxSize")}),o}return e}(J),tV=function(t){Rs(e,t);function e(n){Ts(this,e);var o;return o=Ss(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o.push({type:"array",max:n.maxLimit,min:n.minLimit,message:d.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),o}return e}(z),nu=function(t){Rs(e,t);function e(n){Ts(this,e);var o;o=Ss(this,e,[n]),he(o,"defaultValue",void 0),he(o,"showType",void 0),he(o,"resultShowType",void 0),he(o,"attachmentAccept",void 0),he(o,"maxLimit",void 0),he(o,"minLimit",void 0),he(o,"isShowWatermark",void 0),he(o,"watermarkFx",void 0),he(o,"maxSize",void 0),he(o,"forbidDownload",void 0),he(o,"accessControl",void 0);var r;o.defaultValue=(r=n==null?void 0:n.defaultValue)!==null&&r!==void 0?r:[];var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.resultShowType=(u=n==null?void 0:n.resultShowType)!==null&&u!==void 0?u:"simple";var c;o.attachmentAccept=(c=n==null?void 0:n.attachmentAccept)!==null&&c!==void 0?c:[];var a;o.maxLimit=(a=n==null?void 0:n.maxLimit)!==null&&a!==void 0?a:10;var l;o.minLimit=(l=n==null?void 0:n.minLimit)!==null&&l!==void 0?l:0;var f;o.maxSize=(f=n==null?void 0:n.maxSize)!==null&&f!==void 0?f:Z7;var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:ao.controlName;var p;o.placeholder=(p=n==null?void 0:n.placeholder)!==null&&p!==void 0?p:"\u4E0A\u4F20\u9644\u4EF6";var b;o.isShowWatermark=(b=n==null?void 0:n.isShowWatermark)!==null&&b!==void 0?b:!1;var O;o.watermarkFx=(O=n==null?void 0:n.watermarkFx)!==null&&O!==void 0?O:{};var m;o.forbidDownload=(m=n==null?void 0:n.forbidDownload)!==null&&m!==void 0?m:!1;var w;return o.accessControl=(w=n==null?void 0:n.accessControl)!==null&&w!==void 0?w:!1,o}return e}(D);he(nu,"Rules",eV),he(nu,"RuntimeRules",tV);function nV(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function oV(t,e,n){return e=ru(e),cV(t,Aw()?Reflect.construct(e,n||[],ru(t).constructor):e.apply(t,n))}function rV(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Iw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function iV(t,e,n){return e&&Iw(t.prototype,e),n&&Iw(t,n),t}function ou(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ru(t){return ru=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ru(t)}function uV(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Is(t,e)}function cV(t,e){return e&&(lV(e)==="object"||typeof e=="function")?e:nV(t)}function Is(t,e){return Is=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Is(t,e)}function lV(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Aw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Aw=function(){return!!t})()}var ao=function(t){uV(e,t);function e(n){rV(this,e);var o;return o=oV(this,e,[n]),ou(o,"props",void 0),o.props=new nu(n==null?void 0:n.props),o}return iV(e,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),e}(x);ou(ao,"controlEventKeys",["on_change"]),ou(ao,"controlFieldType",g.FILE),ou(ao,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function aV(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fV(t,e,n){return e=iu(e),pV(t,xw()?Reflect.construct(e,n||[],iu(t).constructor):e.apply(t,n))}function _V(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function kw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function yV(t,e,n){return e&&kw(t.prototype,e),n&&kw(t,n),t}function Dw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function iu(t){return iu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},iu(t)}function sV(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&As(t,e)}function pV(t,e){return e&&(dV(e)==="object"||typeof e=="function")?e:aV(t)}function As(t,e){return As=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},As(t,e)}function dV(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xw=function(){return!!t})()}var vV=function(t){sV(e,t);function e(n){_V(this,e);var o;return o=fV(this,e,[n]),Dw(o,"props",void 0),o.props=new nu(n==null?void 0:n.props),o}return yV(e,null,[{key:"controlType",get:function(){return"attachment"}}]),e}(F);Dw(vV,"controlFieldType",g.FILE);function hV(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bV(t,e,n){return e=uu(e),wV(t,Lw()?Reflect.construct(e,n||[],uu(t).constructor):e.apply(t,n))}function gV(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function mV(t,e,n){return e&&Fw(t.prototype,e),n&&Fw(t,n),t}function jw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function uu(t){return uu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},uu(t)}function OV(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ks(t,e)}function wV(t,e){return e&&($V(e)==="object"||typeof e=="function")?e:hV(t)}function ks(t,e){return ks=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ks(t,e)}function $V(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Lw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Lw=function(){return!!t})()}var Mw=function(t){OV(e,t);function e(n){gV(this,e);var o,r,i;o=bV(this,e,[n]),o.props.showType="image";var u;o.props.caption=(u=n==null||(r=n.props)===null||r===void 0?void 0:r.caption)!==null&&u!==void 0?u:e.controlName;var c;return o.props.placeholder=(c=n==null||(i=n.props)===null||i===void 0?void 0:i.placeholder)!==null&&c!==void 0?c:"\u4E0A\u4F20\u56FE\u7247",o}return mV(e,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),e}(ao);jw(Mw,"controlFieldType",g.IMAGE),jw(Mw,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP,_.IS_SHOW_WATERMARK]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function PV(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ds(t,e,n){return e=cu(e),RV(t,Nw()?Reflect.construct(e,n||[],cu(t).constructor):e.apply(t,n))}function xs(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function le(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function cu(t){return cu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cu(t)}function Fs(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&js(t,e)}function EV(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){le(t,r,n[r])})}return t}function SV(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,o)}return n}function TV(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):SV(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function RV(t,e){return e&&(BV(e)==="object"||typeof e=="function")?e:PV(t)}function js(t,e){return js=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},js(t,e)}function BV(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Nw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Nw=function(){return!!t})()}var IV=function(t){Fs(e,t);function e(n){xs(this,e);var o;o=Ds(this,e,[n]),le(o,"defaultValue",{type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:d.getMessage("pleaseEnterNumberRange")}]}}),le(o,"rangeMax",{type:"any"});var r=n.rangeMax===""?void 0:n.rangeMax,i=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue.fields.amount[0].max=r,o.defaultValue.fields.amount[0].min=i,o.defaultValue.fields.amount[0].message=d.getMessage("pleaseEnterNumberRange",{max:r,min:i}),i&&r!==void 0&&(o.rangeMax={type:"number",min:i,message:d.getMessage("numberRangeSetError")}),o}return e}(zt),AV=function(t){Fs(e,t);function e(n){xs(this,e);var o;o=Ds(this,e,[n]),o[0]!==void 0&&(o[0].type="object");var r=n.rangeMax===""?void 0:n.rangeMax,i=n.rangeMin===""?void 0:n.rangeMin;return o.push({type:"object",fields:{amount:[TV(EV({},o[0]),{type:"number"}),{type:"number",min:i,max:r,message:d.getMessage(r===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:r,min:i})}],currency:{type:"string"}}}),o}return e}(z),lu=function(t){Fs(e,t);function e(n){xs(this,e);var o;o=Ds(this,e,[n]),le(o,"rangeMin",void 0),le(o,"rangeMax",void 0),le(o,"showUpperCase",void 0),le(o,"submitSelectCurrency",void 0),le(o,"micrometer",void 0),le(o,"precision",void 0),le(o,"optionConfig",void 0),le(o,"dataBind",void 0),le(o,"datasourceBind",void 0),le(o,"defaultValue",void 0),le(o,"options",void 0);var r;o.rangeMin=(r=n==null?void 0:n.rangeMin)!==null&&r!==void 0?r:"";var i;o.rangeMax=(i=n==null?void 0:n.rangeMax)!==null&&i!==void 0?i:"";var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"datasource";var c;o.micrometer=(c=n==null?void 0:n.micrometer)!==null&&c!==void 0?c:!1;var a;o.precision=(a=n==null?void 0:n.precision)!==null&&a!==void 0?a:2,o.dataBind=new hk(n==null?void 0:n.dataBind);var l;o.datasourceBind=new X((l=n==null?void 0:n.datasourceBind)!==null&&l!==void 0?l:{displayBoList:[new of({value:"name"})]});var f;o.defaultValue=new bk((f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:{amount:"",currency:lf.CNY}),o.options=Qe(n==null?void 0:n.options);var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:_u.controlName;var p;o.placeholder=(p=n==null?void 0:n.placeholder)!==null&&p!==void 0?p:"\u8BF7\u8F93\u5165";var b;o.submitSelectCurrency=(b=n==null?void 0:n.submitSelectCurrency)!==null&&b!==void 0?b:!1;var O;return o.showUpperCase=(O=n==null?void 0:n.showUpperCase)!==null&&O!==void 0?O:!1,o}return e}(D);le(lu,"Rules",IV),le(lu,"RuntimeRules",AV);function kV(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function DV(t,e,n){return e=Zt(e),LV(t,zw()?Reflect.construct(e,n||[],Zt(t).constructor):e.apply(t,n))}function xV(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function FV(t,e,n){return e&&Vw(t.prototype,e),n&&Vw(t,n),t}function au(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fu(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?fu=Reflect.get:fu=function(r,i,u){var c=MV(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},fu(t,e,n||t)}function Zt(t){return Zt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zt(t)}function jV(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ls(t,e)}function LV(t,e){return e&&(NV(e)==="object"||typeof e=="function")?e:kV(t)}function Ls(t,e){return Ls=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ls(t,e)}function MV(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Zt(t),t!==null););return t}function NV(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function zw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zw=function(){return!!t})()}var _u=function(t){jV(e,t);function e(n){xV(this,e);var o;return o=DV(this,e,[n]),au(o,"props",void 0),o.props=new lu(n==null?void 0:n.props),o}return FV(e,[{key:"toDataBindModel",value:function(o){var r=fu(Zt(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.precision,c=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=c}return r}}],[{key:"controlName",get:function(){return"\u91D1\u989D"}},{key:"controlType",get:function(){return"amount"}},{key:"controlIcon",get:function(){return"iconjine"}}]),e}(x);au(_u,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),au(_u,"controlFieldType",g.MONEY),au(_u,"setting",[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.SUBMIT_SELECT_CURRENCY,_.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[_.SHOW_UPPER_CASE,_.MICROMETER,_.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function VV(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zV(t,e,n){return e=yu(e),CV(t,Uw()?Reflect.construct(e,n||[],yu(t).constructor):e.apply(t,n))}function HV(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function qV(t,e,n){return e&&Hw(t.prototype,e),n&&Hw(t,n),t}function qw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yu(t){return yu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yu(t)}function UV(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ms(t,e)}function CV(t,e){return e&&(WV(e)==="object"||typeof e=="function")?e:VV(t)}function Ms(t,e){return Ms=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ms(t,e)}function WV(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Uw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Uw=function(){return!!t})()}var KV=function(t){UV(e,t);function e(n){HV(this,e);var o;return o=zV(this,e,[n]),qw(o,"props",void 0),o.props=new lu(n==null?void 0:n.props),o}return qV(e,null,[{key:"controlType",get:function(){return"amount"}}]),e}(F);qw(KV,"controlFieldType",g.MONEY);function GV(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ns(t,e,n){return e=su(e),XV(t,Cw()?Reflect.construct(e,n||[],su(t).constructor):e.apply(t,n))}function Vs(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function su(t){return su=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},su(t)}function zs(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hs(t,e)}function XV(t,e){return e&&(QV(e)==="object"||typeof e=="function")?e:GV(t)}function Hs(t,e){return Hs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hs(t,e)}function QV(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Cw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Cw=function(){return!!t})()}var JV=function(t){zs(e,t);function e(n){Vs(this,e);var o;return o=Ns(this,e,[n]),nt(o,"totalScore",[{type:"number",required:!0,message:d.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:d.getMessage("theTotalScoreMustNotBeLessThan1")}]),nt(o,"defaultValue",{type:"number",min:0,max:5,message:d.getMessage("scoreDefaultValueRange")}),o.defaultValue.max=n.totalScore,o.defaultValue.message=d.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:0}),o}return e}(J),ZV=function(t){zs(e,t);function e(n){Vs(this,e);var o;o=Ns(this,e,[n]),o[0]!==void 0&&(o[0].type="number");var r=n.required?1:0;return o.push({type:"number",min:r,max:n.totalScore,message:d.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:r})}),o}return e}(z),pu=function(t){zs(e,t);function e(n){Vs(this,e);var o,r;o=Ns(this,e,[n]),nt(o,"totalScore",void 0),nt(o,"scoreType",void 0),nt(o,"isShowExplain",void 0),nt(o,"explain",void 0),nt(o,"defaultValue",void 0);var i;o.totalScore=(i=n==null?void 0:n.totalScore)!==null&&i!==void 0?i:5;var u;o.scoreType=(u=n==null?void 0:n.scoreType)!==null&&u!==void 0?u:r_.STAR;var c;o.isShowExplain=(c=n==null?void 0:n.isShowExplain)!==null&&c!==void 0?c:!0;var a;o.explain=(a=n==null||(r=n.explain)===null||r===void 0?void 0:r.map(function(y){return new i_(y)}))!==null&&a!==void 0?a:Array(o.totalScore).fill(void 0).map(function(){return new i_});var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:0;var f;return o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:hu.controlName,o}return e}(D);nt(pu,"Rules",JV),nt(pu,"RuntimeRules",ZV);function qs(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function YV(t){if(Array.isArray(t))return qs(t)}function e9(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function t9(t,e,n){return e=Yt(e),c9(t,Kw()?Reflect.construct(e,n||[],Yt(t).constructor):e.apply(t,n))}function n9(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ww(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function o9(t,e,n){return e&&Ww(t.prototype,e),n&&Ww(t,n),t}function du(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function vu(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?vu=Reflect.get:vu=function(r,i,u){var c=l9(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},vu(t,e,n||t)}function Yt(t){return Yt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yt(t)}function r9(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Us(t,e)}function i9(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function u9(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function c9(t,e){return e&&(f9(e)==="object"||typeof e=="function")?e:e9(t)}function Us(t,e){return Us=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Us(t,e)}function l9(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Yt(t),t!==null););return t}function a9(t){return YV(t)||i9(t)||_9(t)||u9()}function f9(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _9(t,e){if(!!t){if(typeof t=="string")return qs(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return qs(t,e)}}function Kw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Kw=function(){return!!t})()}var hu=function(t){r9(e,t);function e(n){n9(this,e);var o;return o=t9(this,e,[n]),du(o,"props",void 0),o.props=new pu(n==null?void 0:n.props),o}return o9(e,[{key:"postUpdate",value:function(o,r){if(o==="totalScore"){if(r===this.props.explain.length)return;if(this.props.explain.length>r)this.props.explain=this.props.explain.slice(0,r);else{var i,u=r-this.props.explain.length,c=Array(u).fill(void 0).map(function(){return new i_});(i=this.props.explain).push.apply(i,a9(c))}}vu(Yt(e.prototype),"postUpdate",this).call(this,o,r)}}],[{key:"controlName",get:function(){return"\u8BC4\u5206"}},{key:"controlIcon",get:function(){return"iconpingfen"}},{key:"controlType",get:function(){return"score"}}]),e}(x);du(hu,"controlEventKeys",["on_change","on_click"]),du(hu,"controlFieldType",g.DECIMAL),du(hu,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function y9(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function s9(t,e,n){return e=bu(e),h9(t,Qw()?Reflect.construct(e,n||[],bu(t).constructor):e.apply(t,n))}function p9(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function d9(t,e,n){return e&&Gw(t.prototype,e),n&&Gw(t,n),t}function Xw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function bu(t){return bu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bu(t)}function v9(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Cs(t,e)}function h9(t,e){return e&&(b9(e)==="object"||typeof e=="function")?e:y9(t)}function Cs(t,e){return Cs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cs(t,e)}function b9(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Qw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Qw=function(){return!!t})()}var g9=function(t){v9(e,t);function e(n){p9(this,e);var o;return o=s9(this,e,[n]),Xw(o,"props",void 0),o.props=new pu(n==null?void 0:n.props),o}return d9(e,null,[{key:"controlType",get:function(){return"score"}}]),e}(F);Xw(g9,"controlFieldType",g.DECIMAL);function m9(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Jw(t,e,n){return e=mu(e),O9(t,e$()?Reflect.construct(e,n||[],mu(t).constructor):e.apply(t,n))}function Zw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function mu(t){return mu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mu(t)}function Yw(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ws(t,e)}function O9(t,e){return e&&(w9(e)==="object"||typeof e=="function")?e:m9(t)}function Ws(t,e){return Ws=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ws(t,e)}function w9(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function e$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(e$=function(){return!!t})()}var $9=function(t){Yw(e,t);function e(n){Zw(this,e);var o;if(o=Jw(this,e,[n]),o[0]!==void 0&&(o[0].type="object"),n.required&&!n.isHide){var r={type:"object",fields:{province:{type:"string",required:n.required,message:d.getMessage("pleaseSelectProvince")}}};n.addressType.includes("city")&&(r.fields.city={type:"string",required:n.required,message:d.getMessage("pleaseSelectCity")}),n.addressType.includes("district")&&(r.fields.district={type:"string",required:n.required,message:d.getMessage("pleaseSelectDistrict")}),o.push(r)}return o}return e}(z),Ks=function(t){Yw(e,t);function e(n){Zw(this,e);var o;o=Jw(this,e,[n]),gu(o,"defaultValueType",void 0),gu(o,"defaultValue",void 0),gu(o,"addressType",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Qs.controlName;var i;o.defaultValueType=(i=n==null?void 0:n.defaultValueType)!==null&&i!==void 0?i:"default";var u;o.addressType=(u=n==null?void 0:n.addressType)!==null&&u!==void 0?u:["province","city","district"];var c;o.defaultValue=new Ok((c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:{});var a;return o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9\u5730\u5740",o}return e}(D);gu(Ks,"RuntimeRules",$9);function P9(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function E9(t,e,n){return e=Ou(e),B9(t,n$()?Reflect.construct(e,n||[],Ou(t).constructor):e.apply(t,n))}function S9(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function t$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function T9(t,e,n){return e&&t$(t.prototype,e),n&&t$(t,n),t}function Gs(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ou(t){return Ou=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ou(t)}function R9(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xs(t,e)}function B9(t,e){return e&&(I9(e)==="object"||typeof e=="function")?e:P9(t)}function Xs(t,e){return Xs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xs(t,e)}function I9(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function n$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(n$=function(){return!!t})()}var Qs=function(t){R9(e,t);function e(n){S9(this,e);var o;return o=E9(this,e,[n]),Gs(o,"props",void 0),o.props=new Ks(n==null?void 0:n.props),o}return T9(e,null,[{key:"controlName",get:function(){return"\u5730\u5740"}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),e}(x);Gs(Qs,"controlFieldType",g.ADDRESS),Gs(Qs,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function A9(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function k9(t,e,n){return e=wu(e),j9(t,i$()?Reflect.construct(e,n||[],wu(t).constructor):e.apply(t,n))}function D9(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function x9(t,e,n){return e&&o$(t.prototype,e),n&&o$(t,n),t}function r$(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function wu(t){return wu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wu(t)}function F9(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Js(t,e)}function j9(t,e){return e&&(L9(e)==="object"||typeof e=="function")?e:A9(t)}function Js(t,e){return Js=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Js(t,e)}function L9(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function i$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(i$=function(){return!!t})()}var M9=function(t){F9(e,t);function e(n){D9(this,e);var o;return o=k9(this,e,[n]),r$(o,"props",void 0),o.props=new Ks(n==null?void 0:n.props),o}return x9(e,null,[{key:"controlName",get:function(){return"\u7701\u5E02\u533A"}},{key:"controlIcon",get:function(){return"iconicon_site_management11"}},{key:"controlType",get:function(){return"address"}}]),e}(F);r$(M9,"controlFieldType",g.ADDRESS);function N9(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function u$(t,e,n){return e=$u(e),V9(t,a$()?Reflect.construct(e,n||[],$u(t).constructor):e.apply(t,n))}function c$(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $u(t){return $u=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$u(t)}function l$(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Zs(t,e)}function V9(t,e){return e&&(z9(e)==="object"||typeof e=="function")?e:N9(t)}function Zs(t,e){return Zs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zs(t,e)}function z9(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function a$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(a$=function(){return!!t})()}var H9=function(t){l$(e,t);function e(n){c$(this,e);var o;return o=u$(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(z),Ys=function(t){l$(e,t);function e(n){c$(this,e);var o;o=u$(this,e,[n]),Fe(o,"showType",void 0),Fe(o,"range",void 0),Fe(o,"defaultValueType",void 0),Fe(o,"multiple",void 0),Fe(o,"rangeOptions",void 0),Fe(o,"defaultValue",void 0),Fe(o,"displayLevel",void 0),Fe(o,"showSubDept",void 0),Fe(o,"multistageFilling",void 0),Fe(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1;var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var c;o.defaultValueType=(c=n==null?void 0:n.defaultValueType)!==null&&c!==void 0?c:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var f;o.displayLevel=(f=n==null?void 0:n.displayLevel)!==null&&f!==void 0?f:1;var y;o.showSubDept=(y=n==null?void 0:n.showSubDept)!==null&&y!==void 0?y:!0;var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:Su.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u8BF7\u9009\u62E9\u90E8\u95E8";var O;return o.openMultistageFilling=(O=n==null?void 0:n.openMultistageFilling)!==null&&O!==void 0?O:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(m){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new se(m))})),o}return e}(D);Fe(Ys,"RuntimeRules",H9);function q9(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function U9(t,e,n){return e=en(e),G9(t,_$()?Reflect.construct(e,n||[],en(t).constructor):e.apply(t,n))}function C9(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function W9(t,e,n){return e&&f$(t.prototype,e),n&&f$(t,n),t}function Pu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Eu(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Eu=Reflect.get:Eu=function(r,i,u){var c=X9(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Eu(t,e,n||t)}function en(t){return en=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},en(t)}function K9(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ep(t,e)}function G9(t,e){return e&&(Q9(e)==="object"||typeof e=="function")?e:q9(t)}function ep(t,e){return ep=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ep(t,e)}function X9(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=en(t),t!==null););return t}function Q9(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_$=function(){return!!t})()}var Su=function(t){K9(e,t);function e(n){C9(this,e);var o;return o=U9(this,e,[n]),Pu(o,"props",void 0),o.props=new Ys(n==null?void 0:n.props),o}return W9(e,[{key:"toDataBindModel",value:function(o){var r=Eu(en(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.displayLevel,c=i.showSubDept;r.props.displayLevel=u,r.props.showSubDept=c}return r}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),e}(x);Pu(Su,"controlName","\u90E8\u95E8"),Pu(Su,"controlFieldType",g.DEPARTMENTS),Pu(Su,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.MULTIPLE,_.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function J9(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Z9(t,e,n){return e=Tu(e),n8(t,p$()?Reflect.construct(e,n||[],Tu(t).constructor):e.apply(t,n))}function Y9(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function e8(t,e,n){return e&&y$(t.prototype,e),n&&y$(t,n),t}function s$(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Tu(t){return Tu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tu(t)}function t8(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&tp(t,e)}function n8(t,e){return e&&(o8(e)==="object"||typeof e=="function")?e:J9(t)}function tp(t,e){return tp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},tp(t,e)}function o8(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function p$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(p$=function(){return!!t})()}var r8=function(t){t8(e,t);function e(n){Y9(this,e);var o;return o=Z9(this,e,[n]),s$(o,"props",void 0),o.props=new Ys(n==null?void 0:n.props),o}return e8(e,null,[{key:"controlType",get:function(){return"department"}}]),e}(F);s$(r8,"controlFieldType",g.DEPARTMENTS);function i8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function u8(t,e,n){return e=Ru(e),f8(t,d$()?Reflect.construct(e,n||[],Ru(t).constructor):e.apply(t,n))}function c8(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l8(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ru(t){return Ru=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ru(t)}function a8(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&np(t,e)}function f8(t,e){return e&&(_8(e)==="object"||typeof e=="function")?e:i8(t)}function np(t,e){return np=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},np(t,e)}function _8(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function d$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(d$=function(){return!!t})()}var v$=function(t){a8(e,t);function e(n){c8(this,e);var o;o=u8(this,e,[n]),l8(o,"defaultValue",void 0);var r;o.defaultValue=(r=n==null?void 0:n.defaultValue)!==null&&r!==void 0?r:"";var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Au.controlName;var u;return o.placeholder=(u=n==null?void 0:n.placeholder)!==null&&u!==void 0?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",o}return e}(D);function y8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function s8(t,e,n){return e=Iu(e),h8(t,b$()?Reflect.construct(e,n||[],Iu(t).constructor):e.apply(t,n))}function p8(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function d8(t,e,n){return e&&h$(t.prototype,e),n&&h$(t,n),t}function Bu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Iu(t){return Iu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Iu(t)}function v8(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&op(t,e)}function h8(t,e){return e&&(b8(e)==="object"||typeof e=="function")?e:y8(t)}function op(t,e){return op=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},op(t,e)}function b8(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function b$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(b$=function(){return!!t})()}var Au=function(t){v8(e,t);function e(n){p8(this,e);var o;return o=s8(this,e,[n]),Bu(o,"props",void 0),o.props=new v$(n==null?void 0:n.props),o}return d8(e,null,[{key:"controlName",get:function(){return"\u81EA\u52A8\u7F16\u53F7"}},{key:"controlIcon",get:function(){return"iconnumber_new"}},{key:"controlType",get:function(){return"auto-number"}}]),e}(x);Bu(Au,"controlEventKeys",["on_change"]),Bu(Au,"controlFieldType",g.AUTO_NUMBER),Bu(Au,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function g8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function m8(t,e,n){return e=ku(e),P8(t,O$()?Reflect.construct(e,n||[],ku(t).constructor):e.apply(t,n))}function O8(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function g$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function w8(t,e,n){return e&&g$(t.prototype,e),n&&g$(t,n),t}function m$(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ku(t){return ku=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ku(t)}function $8(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&rp(t,e)}function P8(t,e){return e&&(E8(e)==="object"||typeof e=="function")?e:g8(t)}function rp(t,e){return rp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rp(t,e)}function E8(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function O$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(O$=function(){return!!t})()}var S8=function(t){$8(e,t);function e(n){O8(this,e);var o;return o=m8(this,e,[n]),m$(o,"props",void 0),o.props=new v$(n==null?void 0:n.props),o}return w8(e,null,[{key:"controlType",get:function(){return"auto-number"}}]),e}(F);m$(S8,"controlFieldType",g.AUTO_NUMBER);function T8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ip(t,e,n){return e=Du(e),R8(t,w$()?Reflect.construct(e,n||[],Du(t).constructor):e.apply(t,n))}function up(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function He(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Du(t){return Du=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Du(t)}function cp(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&lp(t,e)}function R8(t,e){return e&&(B8(e)==="object"||typeof e=="function")?e:T8(t)}function lp(t,e){return lp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},lp(t,e)}function B8(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function w$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(w$=function(){return!!t})()}var I8=function(t){cp(e,t);function e(n){up(this,e);var o;return o=ip(this,e,[n]),o.dataBind.fields.result.required=!1,o.dataBind.fields.result.fields.fieldCode.required=!1,o.dataBind.fields.result.fields.dataCode.required=!1,o.dataBind.fields.unit.required=!1,o.dataBind.fields.unit.fields.fieldCode.required=!1,o.dataBind.fields.unit.fields.dataCode.required=!1,o}return e}(J),A8=function(t){cp(e,t);function e(n){up(this,e);var o;return o=ip(this,e,[n]),o[0]!==void 0&&(o[0].type="object"),o.push({type:"object",message:d.getMessage("isNotObject"),fields:{result:[{type:"number",message:d.getMessage("isNotNumber")}],unit:{type:"string",message:d.getMessage("isNotString")}}}),o}return e}(z),xu=function(t){cp(e,t);function e(n){up(this,e);var o;o=ip(this,e,[n]),He(o,"precision",void 0),He(o,"micrometer",void 0),He(o,"showUpperCase",void 0),He(o,"scriptSrc",void 0),He(o,"scriptEcho",void 0),He(o,"dataBind",void 0),He(o,"defaultValue",void 0),He(o,"calcOnMounted",void 0);var r;o.precision=(r=n==null?void 0:n.precision)!==null&&r!==void 0?r:0;var i;o.micrometer=(i=n==null?void 0:n.micrometer)!==null&&i!==void 0?i:!1;var u;o.showUpperCase=(u=n==null?void 0:n.showUpperCase)!==null&&u!==void 0?u:!1,o.dataBind=new wk(n==null?void 0:n.dataBind),o.defaultValue=new $k(n==null?void 0:n.defaultValue);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Lu.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var l;o.scriptEcho=(l=n==null?void 0:n.scriptEcho)!==null&&l!==void 0?l:[];var f;o.scriptSrc=(f=n==null?void 0:n.scriptSrc)!==null&&f!==void 0?f:"";var y;return o.calcOnMounted=(y=n==null?void 0:n.calcOnMounted)!==null&&y!==void 0?y:!1,o}return e}(D);He(xu,"Rules",I8),He(xu,"RuntimeRules",A8);function k8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function D8(t,e,n){return e=tn(e),L8(t,P$()?Reflect.construct(e,n||[],tn(t).constructor):e.apply(t,n))}function x8(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function F8(t,e,n){return e&&$$(t.prototype,e),n&&$$(t,n),t}function Fu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ju(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ju=Reflect.get:ju=function(r,i,u){var c=M8(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},ju(t,e,n||t)}function tn(t){return tn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tn(t)}function j8(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ap(t,e)}function L8(t,e){return e&&(N8(e)==="object"||typeof e=="function")?e:k8(t)}function ap(t,e){return ap=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ap(t,e)}function M8(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=tn(t),t!==null););return t}function N8(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function P$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(P$=function(){return!!t})()}var Lu=function(t){j8(e,t);function e(n){x8(this,e);var o;return o=D8(this,e,[n]),Fu(o,"props",void 0),o.props=new xu(n==null?void 0:n.props),o}return F8(e,[{key:"toDataBindModel",value:function(o){var r=ju(tn(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.precision,c=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=c}return r}}],[{key:"controlName",get:function(){return"\u8BA1\u7B97\u516C\u5F0F"}},{key:"controlType",get:function(){return"calc"}},{key:"controlIcon",get:function(){return"iconcalculation_new"}}]),e}(x);Fu(Lu,"controlEventKeys",["on_change"]),Fu(Lu,"controlFieldType",g.CALC),Fu(Lu,"setting",[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"calc-on-mounted",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[_.SHOW_UPPER_CASE,_.MICROMETER,_.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function V8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function z8(t,e,n){return e=Mu(e),C8(t,T$()?Reflect.construct(e,n||[],Mu(t).constructor):e.apply(t,n))}function H8(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function E$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function q8(t,e,n){return e&&E$(t.prototype,e),n&&E$(t,n),t}function S$(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Mu(t){return Mu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mu(t)}function U8(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fp(t,e)}function C8(t,e){return e&&(W8(e)==="object"||typeof e=="function")?e:V8(t)}function fp(t,e){return fp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fp(t,e)}function W8(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function T$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(T$=function(){return!!t})()}var K8=function(t){U8(e,t);function e(n){H8(this,e);var o;return o=z8(this,e,[n]),S$(o,"props",void 0),o.props=new xu(n==null?void 0:n.props),o}return q8(e,null,[{key:"controlType",get:function(){return"calc"}}]),e}(F);S$(K8,"controlFieldType",g.CALC);function G8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function R$(t,e,n){return e=Nu(e),X8(t,A$()?Reflect.construct(e,n||[],Nu(t).constructor):e.apply(t,n))}function B$(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Nu(t){return Nu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nu(t)}function I$(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_p(t,e)}function X8(t,e){return e&&(Q8(e)==="object"||typeof e=="function")?e:G8(t)}function _p(t,e){return _p=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_p(t,e)}function Q8(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function A$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(A$=function(){return!!t})()}var J8=function(t){I$(e,t);function e(n){B$(this,e);var o;return o=R$(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o.push({validator:function(i,u){if(n.required){var c=u.every(function(a){return!a});return c?Promise.reject(d.getMessage("runtimeRequired",{caption:n.caption})):Promise.resolve()}else return Promise.resolve()}}),o}return e}(z),yp=function(t){I$(e,t);function e(n){B$(this,e);var o;o=R$(this,e,[n]),nn(o,"rangeMin",void 0),nn(o,"rangeMax",void 0),nn(o,"placeholderStart",void 0),nn(o,"placeholderEnd",void 0),nn(o,"defaultValue",void 0);var r;o.defaultValue=(r=n==null?void 0:n.defaultValue)!==null&&r!==void 0?r:["",""];var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var u;o.rangeMax=(u=n==null?void 0:n.rangeMax)!==null&&u!==void 0?u:"";var c;o.placeholderStart=(c=n==null?void 0:n.placeholderStart)!==null&&c!==void 0?c:"\u6700\u5C0F\u503C";var a;o.placeholderEnd=(a=n==null?void 0:n.placeholderEnd)!==null&&a!==void 0?a:"\u6700\u5927\u503C";var l;return o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:dp.controlName,o}return e}(D);nn(yp,"RuntimeRules",J8);function Z8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Y8(t,e,n){return e=Vu(e),oz(t,D$()?Reflect.construct(e,n||[],Vu(t).constructor):e.apply(t,n))}function ez(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function k$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function tz(t,e,n){return e&&k$(t.prototype,e),n&&k$(t,n),t}function sp(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Vu(t){return Vu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vu(t)}function nz(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&pp(t,e)}function oz(t,e){return e&&(rz(e)==="object"||typeof e=="function")?e:Z8(t)}function pp(t,e){return pp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},pp(t,e)}function rz(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function D$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(D$=function(){return!!t})()}var dp=function(t){nz(e,t);function e(n){ez(this,e);var o;return o=Y8(this,e,[n]),sp(o,"props",void 0),o.props=new yp(n==null?void 0:n.props),o}return tz(e,null,[{key:"controlName",get:function(){return"\u6570\u5B57\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconshuziqujian"}},{key:"controlType",get:function(){return"search-number-range"}}]),e}(x);sp(dp,"controlFieldType",g.DECIMAL_RANGE),sp(dp,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function iz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function uz(t,e,n){return e=zu(e),fz(t,j$()?Reflect.construct(e,n||[],zu(t).constructor):e.apply(t,n))}function cz(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function x$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function lz(t,e,n){return e&&x$(t.prototype,e),n&&x$(t,n),t}function F$(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zu(t){return zu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zu(t)}function az(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&vp(t,e)}function fz(t,e){return e&&(_z(e)==="object"||typeof e=="function")?e:iz(t)}function vp(t,e){return vp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vp(t,e)}function _z(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function j$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(j$=function(){return!!t})()}var yz=function(t){az(e,t);function e(n){cz(this,e);var o;return o=uz(this,e,[n]),F$(o,"props",void 0),o.props=new yp(n==null?void 0:n.props),o}return lz(e,null,[{key:"controlType",get:function(){return"search-number-range"}}]),e}(F);F$(yz,"controlFieldType",g.DECIMAL_RANGE);function sz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function L$(t,e,n){return e=Hu(e),pz(t,V$()?Reflect.construct(e,n||[],Hu(t).constructor):e.apply(t,n))}function M$(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function je(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Hu(t){return Hu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hu(t)}function N$(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&hp(t,e)}function pz(t,e){return e&&(dz(e)==="object"||typeof e=="function")?e:sz(t)}function hp(t,e){return hp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hp(t,e)}function dz(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function V$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(V$=function(){return!!t})()}var vz=function(t){N$(e,t);function e(n){M$(this,e);var o;return o=L$(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),n.required&&!n.isHide&&o.push({type:"array",fields:{0:{type:"string",required:n.required,message:o[0].message},1:{type:"string",required:n.required,message:o[0].message}}}),o}return e}(z),bp=function(t){N$(e,t);function e(n){M$(this,e);var o,r;o=L$(this,e,[n]),je(o,"rangeMin",void 0),je(o,"rangeMax",void 0),je(o,"placeholderStart",void 0),je(o,"placeholderEnd",void 0),je(o,"dateType",void 0),je(o,"dateFormat",void 0),je(o,"commonTimeSetting",void 0),je(o,"setValueType",void 0),je(o,"defaultValue",void 0),je(o,"limitDateList",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:["",""];var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:rt.DATE;var c;o.dateFormat=(c=n==null?void 0:n.dateFormat)!==null&&c!==void 0?c:"";var a;o.commonTimeSetting=(a=n==null?void 0:n.commonTimeSetting)!==null&&a!==void 0?a:[];var l;o.setValueType=(l=n==null?void 0:n.setValueType)!==null&&l!==void 0?l:"custom";var f;o.rangeMin=(f=n==null?void 0:n.rangeMin)!==null&&f!==void 0?f:"";var y;o.rangeMax=(y=n==null?void 0:n.rangeMax)!==null&&y!==void 0?y:"";var p;o.placeholderStart=(p=n==null?void 0:n.placeholderStart)!==null&&p!==void 0?p:"\u5F00\u59CB\u65E5\u671F";var b;o.placeholderEnd=(b=n==null?void 0:n.placeholderEnd)!==null&&b!==void 0?b:"\u7ED3\u675F\u65E5\u671F";var O;o.caption=(O=n==null?void 0:n.caption)!==null&&O!==void 0?O:Op.controlName;var m;return o.limitDateList=(m=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function(w){return new o_(w)}))!==null&&m!==void 0?m:[],o}return e}(D);je(bp,"RuntimeRules",vz);function hz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bz(t,e,n){return e=qu(e),wz(t,H$()?Reflect.construct(e,n||[],qu(t).constructor):e.apply(t,n))}function gz(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function z$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function mz(t,e,n){return e&&z$(t.prototype,e),n&&z$(t,n),t}function gp(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function qu(t){return qu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qu(t)}function Oz(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&mp(t,e)}function wz(t,e){return e&&($z(e)==="object"||typeof e=="function")?e:hz(t)}function mp(t,e){return mp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},mp(t,e)}function $z(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function H$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(H$=function(){return!!t})()}var Op=function(t){Oz(e,t);function e(n){gz(this,e);var o;return o=bz(this,e,[n]),gp(o,"props",void 0),o.props=new bp(n==null?void 0:n.props),o}return mz(e,null,[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"search-date-range"}}]),e}(x);gp(Op,"controlFieldType",g.ARRAY),gp(Op,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function Pz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ez(t,e,n){return e=Uu(e),Bz(t,C$()?Reflect.construct(e,n||[],Uu(t).constructor):e.apply(t,n))}function Sz(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function q$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Tz(t,e,n){return e&&q$(t.prototype,e),n&&q$(t,n),t}function U$(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Uu(t){return Uu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Uu(t)}function Rz(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wp(t,e)}function Bz(t,e){return e&&(Iz(e)==="object"||typeof e=="function")?e:Pz(t)}function wp(t,e){return wp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wp(t,e)}function Iz(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function C$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(C$=function(){return!!t})()}var Az=function(t){Rz(e,t);function e(n){Sz(this,e);var o;return o=Ez(this,e,[n]),U$(o,"props",void 0),o.props=new bp(n==null?void 0:n.props),o}return Tz(e,null,[{key:"controlType",get:function(){return"search-date-range"}}]),e}(F);U$(Az,"controlFieldType",g.ARRAY);function kz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $p(t,e,n){return e=Cu(e),Dz(t,W$()?Reflect.construct(e,n||[],Cu(t).constructor):e.apply(t,n))}function Pp(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function on(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Cu(t){return Cu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cu(t)}function Ep(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Sp(t,e)}function Dz(t,e){return e&&(xz(e)==="object"||typeof e=="function")?e:kz(t)}function Sp(t,e){return Sp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sp(t,e)}function xz(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function W$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(W$=function(){return!!t})()}var Fz=function(t){Ep(e,t);function e(n){Pp(this,e);var o;return o=$p(this,e,[n]),o.dataBind={type:"any"},o}return e}(J),jz=function(t){Ep(e,t);function e(n){Pp(this,e);var o;return o=$p(this,e,[n]),o[0]!==void 0&&(o[0].type="any"),o}return e}(z),Wu=function(t){Ep(e,t);function e(n){Pp(this,e);var o;o=$p(this,e,[n]),on(o,"controlExportName",void 0),on(o,"permissions",void 0),on(o,"defaultValue",void 0),on(o,"isInlineEdit",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Xu.controlName;var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:void 0;var u;o.controlExportName=(u=n==null?void 0:n.controlExportName)!==null&&u!==void 0?u:"";var c;o.permissions=(c=n==null?void 0:n.permissions)!==null&&c!==void 0?c:[];var a;return o.isInlineEdit=(a=n==null?void 0:n.isInlineEdit)!==null&&a!==void 0?a:!1,o}return e}(D);on(Wu,"Rules",Fz),on(Wu,"RuntimeRules",jz);function Lz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Mz(t,e,n){return e=Gu(e),Hz(t,G$()?Reflect.construct(e,n||[],Gu(t).constructor):e.apply(t,n))}function Nz(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function K$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Vz(t,e,n){return e&&K$(t.prototype,e),n&&K$(t,n),t}function Ku(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gu(t){return Gu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gu(t)}function zz(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Tp(t,e)}function Hz(t,e){return e&&(qz(e)==="object"||typeof e=="function")?e:Lz(t)}function Tp(t,e){return Tp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Tp(t,e)}function qz(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function G$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(G$=function(){return!!t})()}var Xu=function(t){zz(e,t);function e(n){Nz(this,e);var o;return o=Mz(this,e,[n]),Ku(o,"props",void 0),o.props=new Wu(n==null?void 0:n.props),o}return Vz(e,null,[{key:"controlName",get:function(){return"Vue\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return"vue-form-item"}}]),e}(x);Ku(Xu,"controlFieldType",g.ANY),Ku(Xu,"controlEventKeys",[]),Ku(Xu,"setting",[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE,_.IS_HIDE_CAPTION,_.REQUIRED,_.IS_SHOW_CAPTION_TIP,_.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}]);function Uz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Cz(t,e,n){return e=Qu(e),Xz(t,J$()?Reflect.construct(e,n||[],Qu(t).constructor):e.apply(t,n))}function Wz(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function X$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Kz(t,e,n){return e&&X$(t.prototype,e),n&&X$(t,n),t}function Q$(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Qu(t){return Qu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qu(t)}function Gz(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Rp(t,e)}function Xz(t,e){return e&&(Qz(e)==="object"||typeof e=="function")?e:Uz(t)}function Rp(t,e){return Rp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rp(t,e)}function Qz(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function J$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(J$=function(){return!!t})()}var Jz=function(t){Gz(e,t);function e(n){Wz(this,e);var o;return o=Cz(this,e,[n]),Q$(o,"props",void 0),o.props=new Wu(n==null?void 0:n.props),o}return Kz(e,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),e}(F);Q$(Jz,"controlFieldType",g.ANY);function Zz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Z$(t,e,n){return e=Ju(e),Yz(t,tP()?Reflect.construct(e,n||[],Ju(t).constructor):e.apply(t,n))}function Y$(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ye(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ju(t){return Ju=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ju(t)}function eP(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Bp(t,e)}function Yz(t,e){return e&&(eH(e)==="object"||typeof e=="function")?e:Zz(t)}function Bp(t,e){return Bp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bp(t,e)}function eH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tP=function(){return!!t})()}var tH=function(t){eP(e,t);function e(n){Y$(this,e);var o;return o=Z$(this,e,[n]),ye(o,"listPageBind",[{type:"object",message:d.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}]}}]),ye(o,"formBind",{type:"object",fields:{formKey:{type:"string",message:d.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return e}(zt),Ip=function(t){eP(e,t);function e(n){Y$(this,e);var o;o=Z$(this,e,[n]),ye(o,"options",void 0),ye(o,"optionConfig",void 0),ye(o,"defaultValue",void 0),ye(o,"listPageBind",void 0),ye(o,"datasourceBind",void 0),ye(o,"multistageFilling",void 0),ye(o,"viewFormModelType",void 0),ye(o,"canViewForm",void 0),ye(o,"formBind",void 0),ye(o,"openMultistageFilling",void 0),ye(o,"showSelectedDetail",void 0),ye(o,"selectedContentConfig",void 0);var r;o.options=Qe((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[]);var i;o.optionConfig=(i=n==null?void 0:n.optionConfig)!==null&&i!==void 0?i:"datasource",o.listPageBind=new tf(n==null?void 0:n.listPageBind),o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:ec.controlName;var c;o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:"\u8BF7\u9009\u62E9";var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:"";var l;o.openMultistageFilling=(l=n==null?void 0:n.openMultistageFilling)!==null&&l!==void 0?l:!1;var f;o.showSelectedDetail=(f=n==null?void 0:n.showSelectedDetail)!==null&&f!==void 0?f:!1,o.selectedContentConfig=new uf(n==null?void 0:n.selectedContentConfig),o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(b){var O;(O=o.multistageFilling)===null||O===void 0||O.push(new se(b))}));var y;o.canViewForm=(y=n==null?void 0:n.canViewForm)!==null&&y!==void 0?y:!1;var p;return o.viewFormModelType=(p=n==null?void 0:n.viewFormModelType)!==null&&p!==void 0?p:"window",o.formBind=new Nt(n==null?void 0:n.formBind),o}return e}(D);ye(Ip,"Rules",tH);function nH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function oH(t,e,n){return e=Yu(e),cH(t,oP()?Reflect.construct(e,n||[],Yu(t).constructor):e.apply(t,n))}function rH(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function iH(t,e,n){return e&&nP(t.prototype,e),n&&nP(t,n),t}function Zu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yu(t){return Yu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yu(t)}function uH(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ap(t,e)}function cH(t,e){return e&&(lH(e)==="object"||typeof e=="function")?e:nH(t)}function Ap(t,e){return Ap=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ap(t,e)}function lH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function oP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(oP=function(){return!!t})()}var ec=function(t){uH(e,t);function e(n){rH(this,e);var o;return o=oH(this,e,[n]),Zu(o,"props",void 0),o.props=new Ip(n==null?void 0:n.props),o}return iH(e,null,[{key:"controlName",get:function(){return"\u5173\u8054\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconguanliandanxuan"}},{key:"controlType",get:function(){return"select-relation"}}]),e}(x);Zu(ec,"controlFieldType",g.VARCHAR),Zu(ec,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0,showItems:[_.CAN_VIEW_FORM,_.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]),Zu(ec,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);function aH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fH(t,e,n){return e=tc(e),pH(t,uP()?Reflect.construct(e,n||[],tc(t).constructor):e.apply(t,n))}function _H(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function yH(t,e,n){return e&&rP(t.prototype,e),n&&rP(t,n),t}function iP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function tc(t){return tc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tc(t)}function sH(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&kp(t,e)}function pH(t,e){return e&&(dH(e)==="object"||typeof e=="function")?e:aH(t)}function kp(t,e){return kp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kp(t,e)}function dH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function uP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(uP=function(){return!!t})()}var vH=function(t){sH(e,t);function e(n){_H(this,e);var o;return o=fH(this,e,[n]),iP(o,"props",void 0),o.props=new Ip(n==null?void 0:n.props),o}return yH(e,null,[{key:"controlType",get:function(){return"select-relation"}}]),e}(F);iP(vH,"controlFieldType",g.VARCHAR);function hH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bH(t,e,n){return e=nc(e),OH(t,cP()?Reflect.construct(e,n||[],nc(t).constructor):e.apply(t,n))}function gH(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nc(t){return nc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nc(t)}function mH(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Dp(t,e)}function OH(t,e){return e&&(wH(e)==="object"||typeof e=="function")?e:hH(t)}function Dp(t,e){return Dp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dp(t,e)}function wH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function cP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(cP=function(){return!!t})()}var lP=function(t){mH(e,t);function e(n){return gH(this,e),bH(this,e,[n])}return e}(co);function $H(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function PH(t,e,n){return e=oc(e),RH(t,_P()?Reflect.construct(e,n||[],oc(t).constructor):e.apply(t,n))}function EH(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function aP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function SH(t,e,n){return e&&aP(t.prototype,e),n&&aP(t,n),t}function fP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function oc(t){return oc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oc(t)}function TH(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xp(t,e)}function RH(t,e){return e&&(BH(e)==="object"||typeof e=="function")?e:$H(t)}function xp(t,e){return xp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xp(t,e)}function BH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _P(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_P=function(){return!!t})()}var IH=function(t){TH(e,t);function e(n){EH(this,e);var o;return o=PH(this,e,[n]),fP(o,"props",void 0),o.props=new lP(n==null?void 0:n.props),o}return SH(e,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),e}(lo);fP(IH,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED]},{key:"super-setting",visible:!0}]);function AH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kH(t,e,n){return e=rc(e),jH(t,pP()?Reflect.construct(e,n||[],rc(t).constructor):e.apply(t,n))}function DH(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function xH(t,e,n){return e&&yP(t.prototype,e),n&&yP(t,n),t}function sP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function rc(t){return rc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rc(t)}function FH(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Fp(t,e)}function jH(t,e){return e&&(LH(e)==="object"||typeof e=="function")?e:AH(t)}function Fp(t,e){return Fp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fp(t,e)}function LH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pP=function(){return!!t})()}var MH=function(t){FH(e,t);function e(n){DH(this,e);var o;return o=kH(this,e,[n]),sP(o,"props",void 0),o.props=new lP(n==null?void 0:n.props),o}return xH(e,null,[{key:"controlType",get:function(){return"search-input"}}]),e}(F);sP(MH,"controlFieldType",g.VARCHAR);function NH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jp(t,e,n){return e=ic(e),VH(t,dP()?Reflect.construct(e,n||[],ic(t).constructor):e.apply(t,n))}function Lp(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function q(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ic(t){return ic=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ic(t)}function Mp(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Np(t,e)}function VH(t,e){return e&&(zH(e)==="object"||typeof e=="function")?e:NH(t)}function Np(t,e){return Np=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Np(t,e)}function zH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function dP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(dP=function(){return!!t})()}var HH=function(t){Mp(e,t);function e(n){Lp(this,e);var o;return o=jp(this,e,[n]),q(o,"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),Do.call(o,n,Et.controlCustomAttributes,!0),o.datasourceBind[1].fields&&(o.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:d.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:d.getMessage("rootNodeIsRequired")}}}]),o}return e}(J),qH=function(t){Mp(e,t);function e(n){Lp(this,e);var o;return o=jp(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(z),uc=function(t){Mp(e,t);function e(n){Lp(this,e);var o,r;o=jp(this,e,[n]),q(o,"placeholder",void 0),q(o,"multiple",void 0),q(o,"canSearch",void 0),q(o,"levelType",void 0),q(o,"optionalLevel",void 0),q(o,"containsSubNode",void 0),q(o,"defaultDisplay",void 0),q(o,"isShowIncludeSub",void 0),q(o,"isDefaultCheckSub",void 0),q(o,"isShowFilterItem",void 0),q(o,"defaultCollapse",void 0),q(o,"defaultCollapseLevel",void 0),q(o,"optionConfig","datasource"),q(o,"datasourceBind",void 0),q(o,"filterItemDatasourceBind",void 0),q(o,"multistageFilling",void 0),q(o,"defaultValue",void 0),q(o,"openMultistageFilling",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Et.controlName;var u;o.placeholder=(u=n==null?void 0:n.placeholder)!==null&&u!==void 0?u:"\u8BF7\u9009\u62E9";var c;o.multiple=(c=n==null?void 0:n.multiple)!==null&&c!==void 0?c:!1;var a;o.canSearch=(a=n==null?void 0:n.canSearch)!==null&&a!==void 0?a:!0;var l;o.levelType=(l=n==null?void 0:n.levelType)!==null&&l!==void 0?l:"all";var f;o.optionalLevel=(f=n==null?void 0:n.optionalLevel)!==null&&f!==void 0?f:1;var y;o.containsSubNode=(y=n==null?void 0:n.containsSubNode)!==null&&y!==void 0?y:!1;var p;o.isShowFilterItem=(p=n==null?void 0:n.isShowFilterItem)!==null&&p!==void 0?p:!1;var b;o.isShowIncludeSub=(b=n==null?void 0:n.isShowIncludeSub)!==null&&b!==void 0?b:!1;var O;o.isDefaultCheckSub=(O=n==null?void 0:n.isDefaultCheckSub)!==null&&O!==void 0?O:!1;var m;o.defaultCollapse=(m=n==null?void 0:n.defaultCollapse)!==null&&m!==void 0?m:"all";var w;o.defaultCollapseLevel=(w=n==null?void 0:n.defaultCollapseLevel)!==null&&w!==void 0?w:1;var h;o.datasourceBind=new U0((h=n==null?void 0:n.datasourceBind)!==null&&h!==void 0?h:{attributes:Et.controlCustomAttributes});var $;o.filterItemDatasourceBind=new U0(($=n==null?void 0:n.filterItemDatasourceBind)!==null&&$!==void 0?$:{attributes:Et.controlCustomAttributes});var P;o.openMultistageFilling=(P=n==null?void 0:n.openMultistageFilling)!==null&&P!==void 0?P:!1;var E;o.defaultDisplay=(E=n==null?void 0:n.defaultDisplay)!==null&&E!==void 0?E:!1;var T;o.multistageFilling=(T=n==null||(r=n.multistageFilling)===null||r===void 0?void 0:r.map(function(A){return new se(A)}))!==null&&T!==void 0?T:[];var j;return o.defaultValue=(j=n==null?void 0:n.defaultValue)!==null&&j!==void 0?j:[],o}return e}(D);q(uc,"Rules",HH),q(uc,"RuntimeRules",qH);function UH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function CH(t,e,n){return e=lc(e),XH(t,hP()?Reflect.construct(e,n||[],lc(t).constructor):e.apply(t,n))}function WH(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function KH(t,e,n){return e&&vP(t.prototype,e),n&&vP(t,n),t}function cc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function lc(t){return lc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},lc(t)}function GH(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vp(t,e)}function XH(t,e){return e&&(QH(e)==="object"||typeof e=="function")?e:UH(t)}function Vp(t,e){return Vp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vp(t,e)}function QH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function hP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(hP=function(){return!!t})()}var Et=function(t){GH(e,t);function e(n){WH(this,e);var o;return o=CH(this,e,[n]),cc(o,"props",void 0),o.props=new uc(n==null?void 0:n.props),o}return KH(e,null,[{key:"controlName",get:function(){return"\u6811"}},{key:"controlIcon",get:function(){return"icontree"}},{key:"controlType",get:function(){return"tree"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}]),e}(x);cc(Et,"controlEventKeys",["on_change","on_click"]),cc(Et,"controlFieldType",g.ARRAY),cc(Et,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.MULTIPLE,_.CAN_SEARCH,_.DEFAULT_DISPLAY,_.CONTAINS_SUB_NODE,_.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}]);function JH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ZH(t,e,n){return e=ac(e),nq(t,mP()?Reflect.construct(e,n||[],ac(t).constructor):e.apply(t,n))}function YH(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function eq(t,e,n){return e&&bP(t.prototype,e),n&&bP(t,n),t}function gP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ac(t){return ac=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ac(t)}function tq(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&zp(t,e)}function nq(t,e){return e&&(oq(e)==="object"||typeof e=="function")?e:JH(t)}function zp(t,e){return zp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zp(t,e)}function oq(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(mP=function(){return!!t})()}var rq=function(t){tq(e,t);function e(n){YH(this,e);var o;return o=ZH(this,e,[n]),gP(o,"props",void 0),o.props=new uc(n==null?void 0:n.props),o}return eq(e,null,[{key:"controlType",get:function(){return"tree"}}]),e}(F);gP(rq,"controlFieldType",g.ARRAY);function iq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Hp(t,e,n){return e=fc(e),uq(t,OP()?Reflect.construct(e,n||[],fc(t).constructor):e.apply(t,n))}function qp(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function re(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fc(t){return fc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fc(t)}function Up(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Cp(t,e)}function uq(t,e){return e&&(cq(e)==="object"||typeof e=="function")?e:iq(t)}function Cp(t,e){return Cp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cp(t,e)}function cq(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function OP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(OP=function(){return!!t})()}var lq=function(t){Up(e,t);function e(n){qp(this,e);var o;return o=Hp(this,e,[n]),re(o,"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),re(o,"externalScope",{type:"any"}),Do.call(o,n,fo.controlCustomAttributes),n.externalType===dt.ASSIGN&&(o.externalScope={type:"array",required:!0,message:d.getMessage("pleaseAssignExternal")}),o}return e}(J),aq=function(t){Up(e,t);function e(n){qp(this,e);var o;return o=Hp(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(z),_c=function(t){Up(e,t);function e(n){qp(this,e);var o;o=Hp(this,e,[n]),re(o,"showType",void 0),re(o,"range",void 0),re(o,"rangeOptions",void 0),re(o,"multiple",void 0),re(o,"defaultValueType",void 0),re(o,"defaultValue",void 0),re(o,"multistageFilling",void 0),re(o,"datasourceBind",void 0),re(o,"datasourceType",void 0),re(o,"insideType",void 0),re(o,"externalType",void 0),re(o,"externalScope",void 0),re(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.range=(i=n==null?void 0:n.range)!==null&&i!==void 0?i:"all";var u;o.rangeOptions=(u=n==null?void 0:n.rangeOptions)!==null&&u!==void 0?u:[];var c;o.multiple=(c=n==null?void 0:n.multiple)!==null&&c!==void 0?c:!1;var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:fo.controlName;var y;o.placeholder=(y=n==null?void 0:n.placeholder)!==null&&y!==void 0?y:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var p;o.datasourceBind=new Ro((p=n==null?void 0:n.datasourceBind)!==null&&p!==void 0?p:{attributes:fo.controlCustomAttributes});var b;o.datasourceType=(b=n==null?void 0:n.datasourceType)!==null&&b!==void 0?b:c_.INTERNAL;var O;o.insideType=(O=n==null?void 0:n.insideType)!==null&&O!==void 0?O:l_.ADMIN;var m;o.externalType=(m=n==null?void 0:n.externalType)!==null&&m!==void 0?m:dt.ALL;var w;o.externalScope=(w=n==null?void 0:n.externalScope)!==null&&w!==void 0?w:[];var h;return o.openMultistageFilling=(h=n==null?void 0:n.openMultistageFilling)!==null&&h!==void 0?h:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function($){var P;(P=o.multistageFilling)===null||P===void 0||P.push(new se($))})),o}return e}(D);re(_c,"Rules",lq),re(_c,"RuntimeRules",aq);function fq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _q(t,e,n){return e=yc(e),dq(t,$P()?Reflect.construct(e,n||[],yc(t).constructor):e.apply(t,n))}function yq(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function sq(t,e,n){return e&&wP(t.prototype,e),n&&wP(t,n),t}function Wp(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yc(t){return yc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yc(t)}function pq(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Kp(t,e)}function dq(t,e){return e&&(vq(e)==="object"||typeof e=="function")?e:fq(t)}function Kp(t,e){return Kp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kp(t,e)}function vq(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $P(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($P=function(){return!!t})()}var fo=function(t){pq(e,t);function e(n){yq(this,e);var o;return o=_q(this,e,[n]),Wp(o,"props",void 0),o.props=new _c(n==null?void 0:n.props),o}return sq(e,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),e}(x);Wp(fo,"controlFieldType",g.EMPLOYEES),Wp(fo,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.MULTIPLE,_.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}]);function hq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bq(t,e,n){return e=sc(e),wq(t,SP()?Reflect.construct(e,n||[],sc(t).constructor):e.apply(t,n))}function gq(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function PP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function mq(t,e,n){return e&&PP(t.prototype,e),n&&PP(t,n),t}function EP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function sc(t){return sc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sc(t)}function Oq(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Gp(t,e)}function wq(t,e){return e&&($q(e)==="object"||typeof e=="function")?e:hq(t)}function Gp(t,e){return Gp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gp(t,e)}function $q(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function SP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(SP=function(){return!!t})()}var Pq=function(t){Oq(e,t);function e(n){gq(this,e);var o;return o=bq(this,e,[n]),EP(o,"props",void 0),o.props=new _c(n==null?void 0:n.props),o}return mq(e,null,[{key:"controlType",get:function(){return"employee2"}}]),e}(F);EP(Pq,"controlFieldType",g.EMPLOYEES);function Eq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function TP(t,e,n){return e=pc(e),Sq(t,IP()?Reflect.construct(e,n||[],pc(t).constructor):e.apply(t,n))}function RP(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pc(t){return pc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pc(t)}function BP(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xp(t,e)}function Sq(t,e){return e&&(Tq(e)==="object"||typeof e=="function")?e:Eq(t)}function Xp(t,e){return Xp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xp(t,e)}function Tq(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function IP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(IP=function(){return!!t})()}var Rq=function(t){BP(e,t);function e(n){RP(this,e);var o;return o=TP(this,e,[n]),qe(o,"signatureConfig",void 0),o.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fields:n.signatureConfig.undersignedList.reduce(function(r,i,u){return r[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator:function(a,l,f){if(i.type==="public"&&Ka(l.value)&&l.value.length===0){f("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}f()}},company:{type:"object",required:!0,validator:function(a,l,f){if(i.type==="public"&&i.signatureType.includes("company")&&Ka(l.value)&&l.value.length===0){f("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}f()}}}},r},{})}}},o}return e}(J),Qp=function(t){BP(e,t);function e(n){RP(this,e);var o;o=TP(this,e,[n]),qe(o,"buttonType",void 0),qe(o,"content",void 0),qe(o,"showType",void 0),qe(o,"color",void 0),qe(o,"icon",void 0),qe(o,"command",""),qe(o,"isLoading",!1),qe(o,"signatureConfig",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:hc.controlName;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u53D1\u8D77\u7B7E\u7F72";var u;o.buttonType=(u=n==null?void 0:n.buttonType)!==null&&u!==void 0?u:"primary";var c;o.showType=(c=n==null?void 0:n.showType)!==null&&c!==void 0?c:"text";var a;o.color=(a=n==null?void 0:n.color)!==null&&a!==void 0?a:"primary";var l;return o.icon=(l=n==null?void 0:n.icon)!==null&&l!==void 0?l:"iconfenlei2",o.signatureConfig=new yF(n==null?void 0:n.signatureConfig),o}return e}(D);qe(Qp,"Rules",Rq);function Bq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Iq(t,e,n){return e=vc(e),xq(t,kP()?Reflect.construct(e,n||[],vc(t).constructor):e.apply(t,n))}function Aq(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function AP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function kq(t,e,n){return e&&AP(t.prototype,e),n&&AP(t,n),t}function dc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function vc(t){return vc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vc(t)}function Dq(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Jp(t,e)}function xq(t,e){return e&&(Fq(e)==="object"||typeof e=="function")?e:Bq(t)}function Jp(t,e){return Jp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jp(t,e)}function Fq(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function kP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(kP=function(){return!!t})()}var hc=function(t){Dq(e,t);function e(n){Aq(this,e);var o;return o=Iq(this,e,[n]),dc(o,"props",void 0),o.props=new Qp(n==null?void 0:n.props),o}return kq(e,null,[{key:"controlName",get:function(){return"\u7535\u5B50\u7B7E\u7AE0"}},{key:"controlIcon",get:function(){return"icondianziqianzhang"}},{key:"controlType",get:function(){return"electronic-signature"}}]),e}(x);dc(hc,"controlEventKeys",["on_click","on_click_finish"]),dc(hc,"controlFieldType",g.VARCHAR),dc(hc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}]);function jq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Lq(t,e,n){return e=bc(e),zq(t,FP()?Reflect.construct(e,n||[],bc(t).constructor):e.apply(t,n))}function Mq(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function DP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Nq(t,e,n){return e&&DP(t.prototype,e),n&&DP(t,n),t}function xP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function bc(t){return bc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bc(t)}function Vq(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Zp(t,e)}function zq(t,e){return e&&(Hq(e)==="object"||typeof e=="function")?e:jq(t)}function Zp(t,e){return Zp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zp(t,e)}function Hq(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function FP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(FP=function(){return!!t})()}var qq=function(t){Vq(e,t);function e(n){Mq(this,e);var o;return o=Lq(this,e,[n]),xP(o,"props",void 0),o.props=new Qp(n==null?void 0:n.props),o}return Nq(e,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),e}(F);xP(qq,"controlFieldType",g.VARCHAR);function Uq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Yp(t,e,n){return e=gc(e),Cq(t,jP()?Reflect.construct(e,n||[],gc(t).constructor):e.apply(t,n))}function ed(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ie(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gc(t){return gc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gc(t)}function td(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&nd(t,e)}function Cq(t,e){return e&&(Wq(e)==="object"||typeof e=="function")?e:Uq(t)}function nd(t,e){return nd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},nd(t,e)}function Wq(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function jP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(jP=function(){return!!t})()}var Kq=function(t){td(e,t);function e(n){ed(this,e);var o;return o=Yp(this,e,[n]),ie(o,"content",{type:"string",required:!0,message:d.getMessage("pleaseEnterButtonContent")}),ie(o,"canAdd",void 0),ie(o,"wpsSetting",{type:"object",fields:{watermark:{type:"object",validator:function(i,u,c){if(u.active&&!u.text){c(d.getMessage("pleaseEnterWatermark"));return}c()}},autoRename:{type:"object",validator:function(i,u,c){if(u.active&&!u.text){c(d.getMessage("pleaseEnterFileName"));return}c()}}}}),o.canAdd={type:"boolean",validator:function(i,u,c){if(n.canAdd&&!n.addLocal&&!n.addOnline){c(d.getMessage("pleaseChooseAtLeastOne"));return}c()}},o}return e}(J),Gq=function(t){td(e,t);function e(n){ed(this,e);var o;return o=Yp(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(z),mc=function(t){td(e,t);function e(n){ed(this,e);var o;o=Yp(this,e,[n]),ie(o,"content",void 0),ie(o,"canAdd",void 0),ie(o,"addLocal",void 0),ie(o,"addOnline",void 0),ie(o,"canDownload",void 0),ie(o,"canEdit",void 0),ie(o,"canExport",void 0),ie(o,"canDelete",void 0),ie(o,"wpsSetting",void 0),ie(o,"maxSize",void 0),ie(o,"defaultValue",void 0),ie(o,"revisionsMode",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:$c.controlName;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u65B0\u5EFA\u6587\u6863";var u;o.canAdd=(u=n==null?void 0:n.canAdd)!==null&&u!==void 0?u:!0;var c;o.addLocal=(c=n==null?void 0:n.addLocal)!==null&&c!==void 0?c:!0;var a;o.addOnline=(a=n==null?void 0:n.addOnline)!==null&&a!==void 0?a:!0;var l;o.canEdit=(l=n==null?void 0:n.canEdit)!==null&&l!==void 0?l:!0;var f;o.canDownload=(f=n==null?void 0:n.canDownload)!==null&&f!==void 0?f:!0;var y;o.canExport=(y=n==null?void 0:n.canExport)!==null&&y!==void 0?y:!0;var p;o.canDelete=(p=n==null?void 0:n.canDelete)!==null&&p!==void 0?p:!1;var b;o.maxSize=(b=n==null?void 0:n.maxSize)!==null&&b!==void 0?b:J7;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:[],o.wpsSetting=new sF(n==null?void 0:n.wpsSetting);var m;return o.revisionsMode=(m=n==null?void 0:n.revisionsMode)!==null&&m!==void 0?m:!1,o}return e}(D);ie(mc,"Rules",Kq),ie(mc,"RuntimeRules",Gq);function Xq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Qq(t,e,n){return e=wc(e),eU(t,MP()?Reflect.construct(e,n||[],wc(t).constructor):e.apply(t,n))}function Jq(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function LP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Zq(t,e,n){return e&&LP(t.prototype,e),n&&LP(t,n),t}function Oc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function wc(t){return wc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wc(t)}function Yq(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&od(t,e)}function eU(t,e){return e&&(tU(e)==="object"||typeof e=="function")?e:Xq(t)}function od(t,e){return od=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},od(t,e)}function tU(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function MP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(MP=function(){return!!t})()}var $c=function(t){Yq(e,t);function e(n){Jq(this,e);var o;return o=Qq(this,e,[n]),Oc(o,"props",void 0),o.props=new mc(n==null?void 0:n.props),o}return Zq(e,null,[{key:"controlName",get:function(){return"\u5728\u7EBF\u6587\u6863"}},{key:"controlIcon",get:function(){return"iconwps"}},{key:"controlType",get:function(){return"wps"}}]),e}(x);Oc($c,"controlEventKeys",["on_change","on_wps_open"]),Oc($c,"controlFieldType",g.FILE),Oc($c,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_SHOW_CAPTION_TIP,_.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}]);function nU(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function oU(t,e,n){return e=Pc(e),cU(t,zP()?Reflect.construct(e,n||[],Pc(t).constructor):e.apply(t,n))}function rU(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function NP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function iU(t,e,n){return e&&NP(t.prototype,e),n&&NP(t,n),t}function VP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Pc(t){return Pc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pc(t)}function uU(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&rd(t,e)}function cU(t,e){return e&&(lU(e)==="object"||typeof e=="function")?e:nU(t)}function rd(t,e){return rd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rd(t,e)}function lU(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function zP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zP=function(){return!!t})()}var aU=function(t){uU(e,t);function e(n){rU(this,e);var o;return o=oU(this,e,[n]),VP(o,"props",void 0),o.props=new mc(n==null?void 0:n.props),o}return iU(e,null,[{key:"controlType",get:function(){return"wps"}}]),e}(F);VP(aU,"controlFieldType",g.FILE);function fU(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function id(t,e,n){return e=Ec(e),_U(t,HP()?Reflect.construct(e,n||[],Ec(t).constructor):e.apply(t,n))}function ud(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Q(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ec(t){return Ec=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ec(t)}function cd(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ld(t,e)}function _U(t,e){return e&&(yU(e)==="object"||typeof e=="function")?e:fU(t)}function ld(t,e){return ld=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ld(t,e)}function yU(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function HP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(HP=function(){return!!t})()}var sU=function(t){cd(e,t);function e(n){ud(this,e);var o;return o=id(this,e,[n]),Q(o,"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),Q(o,"businessScope",{type:"any"}),Do.call(o,n,un.controlCustomAttributes),n.businessType===dt.ASSIGN&&(o.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")}),o}return e}(J),pU=function(t){cd(e,t);function e(n){ud(this,e);var o;return o=id(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(z),Sc=function(t){cd(e,t);function e(n){ud(this,e);var o;o=id(this,e,[n]),Q(o,"showType",void 0),Q(o,"range",void 0),Q(o,"defaultValueType",void 0),Q(o,"multiple",void 0),Q(o,"rangeOptions",void 0),Q(o,"defaultValue",void 0),Q(o,"displayLevel",void 0),Q(o,"showSubDept",void 0),Q(o,"multistageFilling",void 0),Q(o,"datasourceBind",void 0),Q(o,"datasourceType",void 0),Q(o,"businessType",void 0),Q(o,"businessScope",void 0),Q(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1;var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var c;o.defaultValueType=(c=n==null?void 0:n.defaultValueType)!==null&&c!==void 0?c:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var f;o.displayLevel=(f=n==null?void 0:n.displayLevel)!==null&&f!==void 0?f:1;var y;o.showSubDept=(y=n==null?void 0:n.showSubDept)!==null&&y!==void 0?y:!0;var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:un.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u8BF7\u9009\u62E9\u90E8\u95E8";var O;o.datasourceBind=new Ro((O=n==null?void 0:n.datasourceBind)!==null&&O!==void 0?O:{attributes:un.controlCustomAttributes});var m;o.datasourceType=(m=n==null?void 0:n.datasourceType)!==null&&m!==void 0?m:rr.INTERNAL;var w;o.businessScope=(w=n==null?void 0:n.businessScope)!==null&&w!==void 0?w:[];var h;o.businessType=(h=n==null?void 0:n.businessType)!==null&&h!==void 0?h:dt.ALL;var $;return o.openMultistageFilling=($=n==null?void 0:n.openMultistageFilling)!==null&&$!==void 0?$:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(P){var E;(E=o.multistageFilling)===null||E===void 0||E.push(new se(P))})),o}return e}(D);Q(Sc,"Rules",sU),Q(Sc,"RuntimeRules",pU);function dU(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vU(t,e,n){return e=rn(e),mU(t,UP()?Reflect.construct(e,n||[],rn(t).constructor):e.apply(t,n))}function hU(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function bU(t,e,n){return e&&qP(t.prototype,e),n&&qP(t,n),t}function Tc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Rc(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Rc=Reflect.get:Rc=function(r,i,u){var c=OU(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Rc(t,e,n||t)}function rn(t){return rn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rn(t)}function gU(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ad(t,e)}function mU(t,e){return e&&(wU(e)==="object"||typeof e=="function")?e:dU(t)}function ad(t,e){return ad=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ad(t,e)}function OU(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=rn(t),t!==null););return t}function wU(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function UP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(UP=function(){return!!t})()}var un=function(t){gU(e,t);function e(n){hU(this,e);var o;return o=vU(this,e,[n]),Tc(o,"props",void 0),o.props=new Sc(n==null?void 0:n.props),o}return bU(e,[{key:"toDataBindModel",value:function(o){var r=Rc(rn(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.displayLevel,c=i.showSubDept;r.props.displayLevel=u,r.props.showSubDept=c}return r}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),e}(x);Tc(un,"controlName","\u90E8\u95E8"),Tc(un,"controlFieldType",g.DEPARTMENTS),Tc(un,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.MULTIPLE,_.IS_SHOW_CAPTION_TIP]},{key:"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 $U(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function PU(t,e,n){return e=Bc(e),RU(t,KP()?Reflect.construct(e,n||[],Bc(t).constructor):e.apply(t,n))}function EU(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function CP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function SU(t,e,n){return e&&CP(t.prototype,e),n&&CP(t,n),t}function WP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Bc(t){return Bc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bc(t)}function TU(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fd(t,e)}function RU(t,e){return e&&(BU(e)==="object"||typeof e=="function")?e:$U(t)}function fd(t,e){return fd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fd(t,e)}function BU(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function KP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(KP=function(){return!!t})()}var IU=function(t){TU(e,t);function e(n){EU(this,e);var o;return o=PU(this,e,[n]),WP(o,"props",void 0),o.props=new Sc(n==null?void 0:n.props),o}return SU(e,null,[{key:"controlType",get:function(){return"department2"}}]),e}(F);WP(IU,"controlFieldType",g.DEPARTMENTS);function AU(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _d(t,e,n){return e=Ic(e),kU(t,GP()?Reflect.construct(e,n||[],Ic(t).constructor):e.apply(t,n))}function yd(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function H(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ic(t){return Ic=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ic(t)}function sd(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&pd(t,e)}function kU(t,e){return e&&(DU(e)==="object"||typeof e=="function")?e:AU(t)}function pd(t,e){return pd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},pd(t,e)}function DU(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function GP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(GP=function(){return!!t})()}var xU=function(t){sd(e,t);function e(n){yd(this,e);var o;return o=_d(this,e,[n]),H(o,"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),H(o,"businessScope",{type:"any"}),Do.call(o,n,ln.controlCustomAttributes),n.businessType===dt.ASSIGN&&(o.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")}),o}return e}(J),FU=function(t){sd(e,t);function e(n){yd(this,e);var o;return o=_d(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(z),Ac=function(t){sd(e,t);function e(n){yd(this,e);var o;o=_d(this,e,[n]),H(o,"showType",void 0),H(o,"range",void 0),H(o,"defaultValueType",void 0),H(o,"multiple",void 0),H(o,"rangeOptions",void 0),H(o,"defaultValue",void 0),H(o,"displayLevel",void 0),H(o,"showSubDept",void 0),H(o,"multistageFilling",void 0),H(o,"datasourceBind",void 0),H(o,"listPageBind",void 0),H(o,"datasourceType",void 0),H(o,"businessType",void 0),H(o,"businessScope",void 0),H(o,"organizingFunction",void 0),H(o,"organizationView",void 0),H(o,"openMultistageFilling",void 0),H(o,"showSelectedDetail",void 0),H(o,"selectedContentConfig",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1;var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all",o.listPageBind=new tf(n==null?void 0:n.listPageBind);var c;o.defaultValueType=(c=n==null?void 0:n.defaultValueType)!==null&&c!==void 0?c:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var f;o.displayLevel=(f=n==null?void 0:n.displayLevel)!==null&&f!==void 0?f:1;var y;o.showSubDept=(y=n==null?void 0:n.showSubDept)!==null&&y!==void 0?y:!0;var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:ln.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u8BF7\u9009\u62E9\u7EC4\u7EC7";var O;o.datasourceBind=new dk((O=n==null?void 0:n.datasourceBind)!==null&&O!==void 0?O:{attributes:ln.controlCustomAttributes});var m;o.datasourceType=(m=n==null?void 0:n.datasourceType)!==null&&m!==void 0?m:rr.INTERNAL;var w;o.businessScope=(w=n==null?void 0:n.businessScope)!==null&&w!==void 0?w:[];var h;o.businessType=(h=n==null?void 0:n.businessType)!==null&&h!==void 0?h:dt.ALL;var $;o.organizingFunction=($=n==null?void 0:n.organizingFunction)!==null&&$!==void 0?$:void 0;var P;o.organizationView=(P=n==null?void 0:n.organizationView)!==null&&P!==void 0?P:void 0;var E;o.showSelectedDetail=(E=n==null?void 0:n.showSelectedDetail)!==null&&E!==void 0?E:!1,o.selectedContentConfig=new uf(n==null?void 0:n.selectedContentConfig);var T;return o.openMultistageFilling=(T=n==null?void 0:n.openMultistageFilling)!==null&&T!==void 0?T:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(j){var A;(A=o.multistageFilling)===null||A===void 0||A.push(new se(j))})),o}return e}(D);H(Ac,"Rules",xU),H(Ac,"RuntimeRules",FU);function jU(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function LU(t,e,n){return e=cn(e),zU(t,QP()?Reflect.construct(e,n||[],cn(t).constructor):e.apply(t,n))}function MU(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function XP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function NU(t,e,n){return e&&XP(t.prototype,e),n&&XP(t,n),t}function kc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Dc(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Dc=Reflect.get:Dc=function(r,i,u){var c=HU(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Dc(t,e,n||t)}function cn(t){return cn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cn(t)}function VU(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&dd(t,e)}function zU(t,e){return e&&(qU(e)==="object"||typeof e=="function")?e:jU(t)}function dd(t,e){return dd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dd(t,e)}function HU(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=cn(t),t!==null););return t}function qU(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function QP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(QP=function(){return!!t})()}var ln=function(t){VU(e,t);function e(n){MU(this,e);var o;return o=LU(this,e,[n]),kc(o,"props",void 0),o.props=new Ac(n==null?void 0:n.props),o}return NU(e,[{key:"toDataBindModel",value:function(o){var r=Dc(cn(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.displayLevel,c=i.showSubDept;r.props.displayLevel=u,r.props.showSubDept=c}return r}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"organization-selection"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),e}(x);kc(ln,"controlName","\u4E1A\u52A1\u7EC4\u7EC7"),kc(ln,"controlFieldType",g.DEPARTMENTS),kc(ln,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.MULTIPLE,_.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function UU(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function CU(t,e,n){return e=xc(e),XU(t,YP()?Reflect.construct(e,n||[],xc(t).constructor):e.apply(t,n))}function WU(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function JP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function KU(t,e,n){return e&&JP(t.prototype,e),n&&JP(t,n),t}function ZP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function xc(t){return xc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xc(t)}function GU(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&vd(t,e)}function XU(t,e){return e&&(QU(e)==="object"||typeof e=="function")?e:UU(t)}function vd(t,e){return vd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vd(t,e)}function QU(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function YP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(YP=function(){return!!t})()}var JU=function(t){GU(e,t);function e(n){WU(this,e);var o;return o=CU(this,e,[n]),ZP(o,"props",void 0),o.props=new Ac(n==null?void 0:n.props),o}return KU(e,null,[{key:"controlType",get:function(){return"organization-selection"}}]),e}(F);ZP(JU,"controlFieldType",g.DEPARTMENTS);function ZU(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hd(t,e,n){return e=Fc(e),YU(t,eE()?Reflect.construct(e,n||[],Fc(t).constructor):e.apply(t,n))}function bd(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Le(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Fc(t){return Fc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fc(t)}function gd(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&md(t,e)}function YU(t,e){return e&&(eC(e)==="object"||typeof e=="function")?e:ZU(t)}function md(t,e){return md=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},md(t,e)}function eC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function eE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(eE=function(){return!!t})()}var tC=function(t){gd(e,t);function e(n){bd(this,e);var o;return o=hd(this,e,[n]),Le(o,"maxLength",{type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),Le(o,"minLength",{type:"number",max:200,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),Le(o,"defaultValue",[{type:"string",max:200,min:0,message:d.getMessage("stringRangeError")},{pattern:"",message:""}]),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue[0].max=n.maxLength,o.defaultValue[0].min=n.minLength,o.defaultValue[0].message=d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o.defaultValue[1].pattern=Kt(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return e}(J),nC=function(t){gd(e,t);function e(n){bd(this,e);var o;return o=hd(this,e,[n]),o.push({type:"string",message:d.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:Kt(n.regularRules.expression),message:n.regularRules.errMessage}),o}return e}(z),jc=function(t){gd(e,t);function e(n){bd(this,e);var o;o=hd(this,e,[n]),Le(o,"maxLength",void 0),Le(o,"minLength",void 0),Le(o,"regularRules",void 0),Le(o,"defaultValue",void 0),Le(o,"encrypted",void 0),Le(o,"encryptedMode",void 0);var r;o.maxLength=(r=n==null?void 0:n.maxLength)!==null&&r!==void 0?r:200;var i;o.minLength=(i=n==null?void 0:n.minLength)!==null&&i!==void 0?i:0,o.regularRules=new Bo(n==null?void 0:n.regularRules);var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:"";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Nc.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var l;o.encrypted=(l=n==null?void 0:n.encrypted)!==null&&l!==void 0?l:!1;var f;return o.encryptedMode=(f=n==null?void 0:n.encryptedMode)!==null&&f!==void 0?f:"",o}return e}(D);Le(jc,"Rules",tC),Le(jc,"RuntimeRules",nC);function oC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rC(t,e,n){return e=Mc(e),lC(t,nE()?Reflect.construct(e,n||[],Mc(t).constructor):e.apply(t,n))}function iC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function tE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function uC(t,e,n){return e&&tE(t.prototype,e),n&&tE(t,n),t}function Lc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Mc(t){return Mc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mc(t)}function cC(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Od(t,e)}function lC(t,e){return e&&(aC(e)==="object"||typeof e=="function")?e:oC(t)}function Od(t,e){return Od=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Od(t,e)}function aC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function nE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(nE=function(){return!!t})()}var Nc=function(t){cC(e,t);function e(n){iC(this,e);var o;return o=rC(this,e,[n]),Lc(o,"props",void 0),o.props=new jc(n==null?void 0:n.props),o}return uC(e,null,[{key:"controlName",get:function(){return"\u654F\u611F\u4FE1\u606F"}},{key:"controlIcon",get:function(){return"iconSingleline_new1"}},{key:"controlType",get:function(){return"sensitiven-information"}}]),e}(x);Lc(Nc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Lc(Nc,"controlFieldType",g.VARCHAR),Lc(Nc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP,_.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function fC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _C(t,e,n){return e=Vc(e),dC(t,iE()?Reflect.construct(e,n||[],Vc(t).constructor):e.apply(t,n))}function yC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function oE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function sC(t,e,n){return e&&oE(t.prototype,e),n&&oE(t,n),t}function rE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Vc(t){return Vc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vc(t)}function pC(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wd(t,e)}function dC(t,e){return e&&(vC(e)==="object"||typeof e=="function")?e:fC(t)}function wd(t,e){return wd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wd(t,e)}function vC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function iE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(iE=function(){return!!t})()}var hC=function(t){pC(e,t);function e(n){yC(this,e);var o;return o=_C(this,e,[n]),rE(o,"props",void 0),o.props=new jc(n==null?void 0:n.props),o}return sC(e,null,[{key:"controlType",get:function(){return"sensitiven-information"}}]),e}(F);rE(hC,"controlFieldType",g.VARCHAR);function bC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function gC(t,e,n){return e=zc(e),PC(t,cE()?Reflect.construct(e,n||[],zc(t).constructor):e.apply(t,n))}function mC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function uE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function OC(t,e,n){return e&&uE(t.prototype,e),n&&uE(t,n),t}function wC(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zc(t){return zc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zc(t)}function $C(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$d(t,e)}function PC(t,e){return e&&(EC(e)==="object"||typeof e=="function")?e:bC(t)}function $d(t,e){return $d=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$d(t,e)}function EC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function cE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(cE=function(){return!!t})()}var SC=function(t){$C(e,t);function e(n){return mC(this,e),gC(this,e,[n])}return OC(e,null,[{key:"controlName",get:function(){return"\u753B\u5E03"}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),e}(Y);wC(SC,"excludes",[s.GRID]);function TC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function RC(t,e,n){return e=Hc(e),AC(t,aE()?Reflect.construct(e,n||[],Hc(t).constructor):e.apply(t,n))}function BC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function lE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Hc(t){return Hc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hc(t)}function IC(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Pd(t,e)}function AC(t,e){return e&&(kC(e)==="object"||typeof e=="function")?e:TC(t)}function Pd(t,e){return Pd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Pd(t,e)}function kC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function aE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(aE=function(){return!!t})()}var DC=24,_o=function(t){IC(e,t);function e(n){BC(this,e);var o;o=RC(this,e,[n]),lE(o,"span",void 0),lE(o,"offset",void 0);var r;o.span=(r=n==null?void 0:n.span)!==null&&r!==void 0?r:DC;var i;return o.offset=(i=n==null?void 0:n.offset)!==null&&i!==void 0?i:0,o}return e}(Z);function xC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function FC(t,e,n){return e=qc(e),NC(t,_E()?Reflect.construct(e,n||[],qc(t).constructor):e.apply(t,n))}function jC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function LC(t,e,n){return e&&fE(t.prototype,e),n&&fE(t,n),t}function Ed(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function qc(t){return qc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qc(t)}function MC(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Sd(t,e)}function NC(t,e){return e&&(VC(e)==="object"||typeof e=="function")?e:xC(t)}function Sd(t,e){return Sd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sd(t,e)}function VC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _E(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_E=function(){return!!t})()}var yo=function(t){MC(e,t);function e(n){jC(this,e);var o;return o=FC(this,e,[n]),Ed(o,"props",void 0),o.props=new _o(n==null?void 0:n.props),o}return LC(e,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),e}(Y);Ed(yo,"excludes",[s.COL,s.CARD_GROUP,s.SUBTABLE,s.SUBTABLE_COLUMN,s.GRID_LAYOUT_CONTAINER,s.DIVIDER]),Ed(yo,"childrenMaxLength",1);function zC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function HC(t,e,n){return e=Uc(e),KC(t,sE()?Reflect.construct(e,n||[],Uc(t).constructor):e.apply(t,n))}function qC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function UC(t,e,n){return e&&yE(t.prototype,e),n&&yE(t,n),t}function CC(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Uc(t){return Uc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Uc(t)}function WC(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Td(t,e)}function KC(t,e){return e&&(GC(e)==="object"||typeof e=="function")?e:zC(t)}function Td(t,e){return Td=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Td(t,e)}function GC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function sE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(sE=function(){return!!t})()}var XC=function(t){WC(e,t);function e(n){qC(this,e);var o;return o=HC(this,e,[n]),CC(o,"props",void 0),o.props=new _o(n==null?void 0:n.props),o}return UC(e,null,[{key:"controlType",get:function(){return"col"}}]),e}(Pt),pE={Designer:yo,Runtime:XC,Property:_o};function QC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function JC(t,e,n){return e=Cc(e),eW(t,vE()?Reflect.construct(e,n||[],Cc(t).constructor):e.apply(t,n))}function ZC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Cc(t){return Cc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cc(t)}function YC(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Rd(t,e)}function eW(t,e){return e&&(tW(e)==="object"||typeof e=="function")?e:QC(t)}function Rd(t,e){return Rd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rd(t,e)}function tW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function vE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(vE=function(){return!!t})()}var Bd=function(t){YC(e,t);function e(n){ZC(this,e);var o;o=JC(this,e,[n]),dE(o,"layoutMode",void 0),dE(o,"gutter",void 0);var r;o.layoutMode=(r=n==null?void 0:n.layoutMode)!==null&&r!==void 0?r:"select";var i;return o.gutter=(i=n==null?void 0:n.gutter)!==null&&i!==void 0?i:0,o}return e}(Z);function nW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function oW(t,e,n){return e=Wc(e),cW(t,bE()?Reflect.construct(e,n||[],Wc(t).constructor):e.apply(t,n))}function rW(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function iW(t,e,n){return e&&hE(t.prototype,e),n&&hE(t,n),t}function Id(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wc(t){return Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wc(t)}function uW(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ad(t,e)}function cW(t,e){return e&&(lW(e)==="object"||typeof e=="function")?e:nW(t)}function Ad(t,e){return Ad=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ad(t,e)}function lW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function bE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(bE=function(){return!!t})()}var kd=function(t){uW(e,t);function e(n){rW(this,e);var o;return o=oW(this,e,[n]),Id(o,"props",void 0),o.props=new Bd(n==null?void 0:n.props),o}return iW(e,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),e}(Y);Id(kd,"excludes",[s.ROW]),Id(kd,"setting",[{key:"col-setting",visible:!0}]);function aW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fW(t,e,n){return e=Kc(e),dW(t,mE()?Reflect.construct(e,n||[],Kc(t).constructor):e.apply(t,n))}function _W(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function yW(t,e,n){return e&&gE(t.prototype,e),n&&gE(t,n),t}function sW(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Kc(t){return Kc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kc(t)}function pW(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Dd(t,e)}function dW(t,e){return e&&(vW(e)==="object"||typeof e=="function")?e:aW(t)}function Dd(t,e){return Dd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dd(t,e)}function vW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(mE=function(){return!!t})()}var hW=function(t){pW(e,t);function e(n){_W(this,e);var o;return o=fW(this,e,[n]),sW(o,"props",void 0),o.props=new Bd(n==null?void 0:n.props),o}return yW(e,null,[{key:"controlType",get:function(){return"row"}}]),e}(Pt);function bW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function gW(t,e,n){return e=Gc(e),$W(t,wE()?Reflect.construct(e,n||[],Gc(t).constructor):e.apply(t,n))}function mW(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function OE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function OW(t,e,n){return e&&OE(t.prototype,e),n&&OE(t,n),t}function xd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gc(t){return Gc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gc(t)}function wW(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Fd(t,e)}function $W(t,e){return e&&(PW(e)==="object"||typeof e=="function")?e:bW(t)}function Fd(t,e){return Fd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fd(t,e)}function PW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function wE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(wE=function(){return!!t})()}var EW=4,Xc=function(t){wW(e,t);function e(n){return mW(this,e),gW(this,e,[n])}return OW(e,null,[{key:"controlName",get:function(){return"\u6805\u683C\u7B49\u5206\u884C"}},{key:"controlType",get:function(){return"grid-row"}},{key:"controlIcon",get:function(){return"grid-row"}}]),e}(kd);xd(Xc,"excludes",[s.GRID_ROW]),xd(Xc,"setting",[]),xd(Xc,"childrenMaxLength",EW);function SW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function TW(t,e,n){return e=Qc(e),AW(t,PE()?Reflect.construct(e,n||[],Qc(t).constructor):e.apply(t,n))}function RW(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $E(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function BW(t,e,n){return e&&$E(t.prototype,e),n&&$E(t,n),t}function Qc(t){return Qc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qc(t)}function IW(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&jd(t,e)}function AW(t,e){return e&&(kW(e)==="object"||typeof e=="function")?e:SW(t)}function jd(t,e){return jd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jd(t,e)}function kW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function PE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(PE=function(){return!!t})()}var DW=function(t){IW(e,t);function e(n){return RW(this,e),TW(this,e,[n])}return BW(e,null,[{key:"controlType",get:function(){return"grid-row"}}]),e}(hW);function xW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function FW(t,e,n){return e=Jc(e),MW(t,EE()?Reflect.construct(e,n||[],Jc(t).constructor):e.apply(t,n))}function jW(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jc(t){return Jc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jc(t)}function LW(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ld(t,e)}function MW(t,e){return e&&(NW(e)==="object"||typeof e=="function")?e:xW(t)}function Ld(t,e){return Ld=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ld(t,e)}function NW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function EE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(EE=function(){return!!t})()}var VW=function(t){LW(e,t);function e(n){return jW(this,e),FW(this,e,[n])}return e}(Bd),zW={Designer:Xc,Runtime:DW,Property:VW};function HW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function SE(t,e,n){return e=Yc(e),qW(t,BE()?Reflect.construct(e,n||[],Yc(t).constructor):e.apply(t,n))}function TE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yc(t){return Yc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yc(t)}function RE(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Md(t,e)}function qW(t,e){return e&&(UW(e)==="object"||typeof e=="function")?e:HW(t)}function Md(t,e){return Md=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Md(t,e)}function UW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function BE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(BE=function(){return!!t})()}var CW=function(t){RE(e,t);function e(){TE(this,e);var n;return n=SE(this,e,arguments),Zc(n,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),n}return e}(Z.Rules),IE=function(t){RE(e,t);function e(n){TE(this,e);var o;o=SE(this,e,[n]),Zc(o,"caption",void 0),Zc(o,"collapse",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:"\u5206\u7EC4";var i;return o.collapse=(i=n==null?void 0:n.collapse)!==null&&i!==void 0?i:"none",o}return e}(Z);Zc(IE,"Rules",CW);function WW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function KW(t,e,n){return e=el(e),JW(t,kE()?Reflect.construct(e,n||[],el(t).constructor):e.apply(t,n))}function GW(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function AE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function XW(t,e,n){return e&&AE(t.prototype,e),n&&AE(t,n),t}function Nd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function el(t){return el=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},el(t)}function QW(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vd(t,e)}function JW(t,e){return e&&(ZW(e)==="object"||typeof e=="function")?e:WW(t)}function Vd(t,e){return Vd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vd(t,e)}function ZW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function kE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(kE=function(){return!!t})()}var DE=function(t){QW(e,t);function e(n){GW(this,e);var o;return o=KW(this,e,[n]),Nd(o,"props",void 0),o.props=new IE(n==null?void 0:n.props),o}return XW(e,null,[{key:"controlName",get:function(){return"\u5206\u7EC4"}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),e}(Y);Nd(DE,"setting",[{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}]),Nd(DE,"excludes",[s.CARD_GROUP]);function YW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xE(t,e,n){return e=tl(e),eK(t,LE()?Reflect.construct(e,n||[],tl(t).constructor):e.apply(t,n))}function FE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ue(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function tl(t){return tl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tl(t)}function jE(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&zd(t,e)}function eK(t,e){return e&&(tK(e)==="object"||typeof e=="function")?e:YW(t)}function zd(t,e){return zd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zd(t,e)}function tK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function LE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(LE=function(){return!!t})()}var nK=function(t){jE(e,t);function e(n){FE(this,e);var o;return o=xE(this,e,[n]),Ue(o,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),Ue(o,"width",{type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")}),Ue(o,"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return e}(W),nl=function(t){jE(e,t);function e(n){FE(this,e);var o;o=xE(this,e,[n]),Ue(o,"metaAutoWidth",void 0),Ue(o,"caption",void 0),Ue(o,"fixed",void 0),Ue(o,"isShowCaptionTip",void 0),Ue(o,"captionTip",void 0),Ue(o,"isHideCaption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:"";var i;o.fixed=(i=n==null?void 0:n.fixed)!==null&&i!==void 0?i:!1;var u;o.isShowCaptionTip=(u=n==null?void 0:n.isShowCaptionTip)!==null&&u!==void 0?u:!1;var c;o.captionTip=(c=n==null?void 0:n.captionTip)!==null&&c!==void 0?c:"";var a;return o.isHideCaption=(a=n==null?void 0:n.isHideCaption)!==null&&a!==void 0?a:!1,o.metaAutoWidth=new z0(n==null?void 0:n.metaAutoWidth),o}return e}(Z);Ue(nl,"Rules",nK);function oK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rK(t,e,n){return e=ol(e),cK(t,ME()?Reflect.construct(e,n||[],ol(t).constructor):e.apply(t,n))}function iK(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function St(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ol(t){return ol=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ol(t)}function uK(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hd(t,e)}function cK(t,e){return e&&(lK(e)==="object"||typeof e=="function")?e:oK(t)}function Hd(t,e){return Hd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hd(t,e)}function lK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ME(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ME=function(){return!!t})()}var Me=function(t){uK(e,t);function e(n){iK(this,e);var o;return o=rK(this,e,[n]),St(o,"props",void 0),o.props=new nl(n==null?void 0:n.props),o}return e}(Y);St(Me,"controlName","\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),St(Me,"controlType","subtable-column"),St(Me,"controlIcon","subtable-column"),St(Me,"childrenMaxLength",1),St(Me,"excludes",[s.SUBTABLE,s.SUBTABLE_COLUMN,s.ROW,s.COL,s.CARD_GROUP,s.DIVIDER,s.TEXT]),St(Me,"setting",[{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"common-setting",showItems:[_.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}]);function aK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fK(t,e,n){return e=rl(e),sK(t,VE()?Reflect.construct(e,n||[],rl(t).constructor):e.apply(t,n))}function _K(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function NE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function rl(t){return rl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rl(t)}function yK(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&qd(t,e)}function sK(t,e){return e&&(pK(e)==="object"||typeof e=="function")?e:aK(t)}function qd(t,e){return qd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qd(t,e)}function pK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function VE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(VE=function(){return!!t})()}var zE=function(t){yK(e,t);function e(n){_K(this,e);var o;return o=fK(this,e,[n]),NE(o,"props",void 0),o.props=new nl(n==null?void 0:n.props),o}return e}(Pt);NE(zE,"controlType","subtable-column");var dK={Designer:Me,Runtime:zE,Property:nl};function vK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hK(t,e,n){return e=il(e),mK(t,HE()?Reflect.construct(e,n||[],il(t).constructor):e.apply(t,n))}function bK(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function il(t){return il=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},il(t)}function gK(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ud(t,e)}function mK(t,e){return e&&(OK(e)==="object"||typeof e=="function")?e:vK(t)}function Ud(t,e){return Ud=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ud(t,e)}function OK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function HE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(HE=function(){return!!t})()}var wK=function(t){gK(e,t);function e(n){return bK(this,e),hK(this,e,[n])}return e}(Z);function $K(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function PK(t,e,n){return e=ul(e),TK(t,qE()?Reflect.construct(e,n||[],ul(t).constructor):e.apply(t,n))}function EK(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Tt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ul(t){return ul=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ul(t)}function SK(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Cd(t,e)}function TK(t,e){return e&&(RK(e)==="object"||typeof e=="function")?e:$K(t)}function Cd(t,e){return Cd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cd(t,e)}function RK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function qE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(qE=function(){return!!t})()}var an=function(t){SK(e,t);function e(n){EK(this,e);var o;return o=PK(this,e,[n]),Tt(o,"props",void 0),o.props=new wK(n==null?void 0:n.props),o}return e}(Y);Tt(an,"controlName","\u660E\u7EC6\u5B50\u8868\u884C"),Tt(an,"controlType","subtable-row"),Tt(an,"controlIcon","subtable-row"),Tt(an,"childrenMaxLength",1),Tt(an,"excludes",[s.SUBTABLE,s.SUBTABLE_COLUMN,s.SUBTABLE_ROW,s.ROW,s.COL,s.CARD_GROUP,s.DIVIDER,s.TEXT]),Tt(an,"setting",[{key:"caption",showItems:[_.CAPTION],visible:!0}]);function BK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function IK(t,e,n){return e=cl(e),DK(t,UE()?Reflect.construct(e,n||[],cl(t).constructor):e.apply(t,n))}function AK(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Be(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function cl(t){return cl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cl(t)}function kK(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Wd(t,e)}function DK(t,e){return e&&(xK(e)==="object"||typeof e=="function")?e:BK(t)}function Wd(t,e){return Wd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wd(t,e)}function xK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function UE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(UE=function(){return!!t})()}var CE=function(t){kK(e,t);function e(n){AK(this,e);var o;o=IK(this,e,[n]),Be(o,"widthType",void 0),Be(o,"width",void 0),Be(o,"caption",void 0),Be(o,"fieldCode",void 0),Be(o,"fieldType",void 0),Be(o,"fieldName",void 0),Be(o,"datasourceBind",void 0),Be(o,"fixed",void 0),Be(o,"textCleanFormart",void 0),Be(o,"decimalKeepPrecision",void 0),Be(o,"timestampDateType",void 0),Be(o,"departmentDisplayLevel",void 0);var r;o.width=(r=n==null?void 0:n.width)!==null&&r!==void 0?r:200,o.widthType=(n==null?void 0:n.widthType)||"auto";var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:!1;var c;o.fieldCode=(c=n==null?void 0:n.fieldCode)!==null&&c!==void 0?c:"";var a;o.fieldType=(a=n==null?void 0:n.fieldType)!==null&&a!==void 0?a:g.VARCHAR;var l;o.fieldName=(l=n==null?void 0:n.fieldName)!==null&&l!==void 0?l:"",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var f;o.textCleanFormart=(f=n==null?void 0:n.textCleanFormart)!==null&&f!==void 0?f:!1;var y;o.decimalKeepPrecision=(y=n==null?void 0:n.decimalKeepPrecision)!==null&&y!==void 0?y:0;var p;o.timestampDateType=(p=n==null?void 0:n.timestampDateType)!==null&&p!==void 0?p:rt.DATE;var b;return o.departmentDisplayLevel=(b=n==null?void 0:n.departmentDisplayLevel)!==null&&b!==void 0?b:1,o}return e}(Z);function FK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jK(t,e,n){return e=ll(e),NK(t,WE()?Reflect.construct(e,n||[],ll(t).constructor):e.apply(t,n))}function LK(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ll(t){return ll=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ll(t)}function MK(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Kd(t,e)}function NK(t,e){return e&&(VK(e)==="object"||typeof e=="function")?e:FK(t)}function Kd(t,e){return Kd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kd(t,e)}function VK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function WE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(WE=function(){return!!t})()}var fn=function(t){MK(e,t);function e(n){LK(this,e);var o;return o=jK(this,e,[n]),Rt(o,"props",void 0),o.props=new CE(n==null?void 0:n.props),o}return e}(Y);Rt(fn,"controlName","\u5217\u8868\u5355\u5143\u683C"),Rt(fn,"controlType","gridtable-column"),Rt(fn,"controlIcon","gridtable-column"),Rt(fn,"childrenMaxLength",1),Rt(fn,"excludes",[s.GRID_TABLE,s.GRID_TABLE_COLUMN,s.ROW,s.COL,s.CARD_GROUP,s.DIVIDER,s.TEXT]),Rt(fn,"setting",[{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}]);function zK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function HK(t,e,n){return e=al(e),CK(t,GE()?Reflect.construct(e,n||[],al(t).constructor):e.apply(t,n))}function qK(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function KE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function al(t){return al=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},al(t)}function UK(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Gd(t,e)}function CK(t,e){return e&&(WK(e)==="object"||typeof e=="function")?e:zK(t)}function Gd(t,e){return Gd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gd(t,e)}function WK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function GE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(GE=function(){return!!t})()}var KK=function(t){UK(e,t);function e(n){qK(this,e);var o;return o=HK(this,e,[n]),KE(o,"props",void 0),o.props=new CE(n==null?void 0:n.props),o}return e}(Pt);KE(KK,"controlType","gridtable-column");function GK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function XK(t,e,n){return e=fl(e),ZK(t,QE()?Reflect.construct(e,n||[],fl(t).constructor):e.apply(t,n))}function QK(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function XE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fl(t){return fl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fl(t)}function JK(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xd(t,e)}function ZK(t,e){return e&&(YK(e)==="object"||typeof e=="function")?e:GK(t)}function Xd(t,e){return Xd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xd(t,e)}function YK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function QE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(QE=function(){return!!t})()}var eG=function(t){JK(e,t);function e(n){QK(this,e);var o;o=XK(this,e,[n]),XE(o,"childMinWidth",void 0),XE(o,"colGap",void 0);var r;o.childMinWidth=(r=n==null?void 0:n.childMinWidth)!==null&&r!==void 0?r:230;var i;return o.colGap=(i=n==null?void 0:n.colGap)!==null&&i!==void 0?i:24,o}return e}(Z);function tG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nG(t,e,n){return e=_l(e),uG(t,ZE()?Reflect.construct(e,n||[],_l(t).constructor):e.apply(t,n))}function oG(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function JE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function rG(t,e,n){return e&&JE(t.prototype,e),n&&JE(t,n),t}function Qd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _l(t){return _l=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_l(t)}function iG(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Jd(t,e)}function uG(t,e){return e&&(cG(e)==="object"||typeof e=="function")?e:tG(t)}function Jd(t,e){return Jd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jd(t,e)}function cG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ZE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ZE=function(){return!!t})()}var YE=function(t){iG(e,t);function e(n){oG(this,e);var o;return o=nG(this,e,[n]),Qd(o,"props",void 0),o.props=new eG(n==null?void 0:n.props),o}return rG(e,null,[{key:"controlName",get:function(){return"\u6362\u884C\u5BB9\u5668"}},{key:"controlType",get:function(){return"grid-layout-container"}},{key:"controlIcon",get:function(){return"icona-huanhangrongqi1"}}]),e}(Y);Qd(YE,"excludes",[s.GRID_LAYOUT_CONTAINER,s.CARD_GROUP,s.TAB]),Qd(YE,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}]);function lG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function aG(t,e,n){return e=yl(e),sG(t,eS()?Reflect.construct(e,n||[],yl(t).constructor):e.apply(t,n))}function fG(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _G(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yl(t){return yl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yl(t)}function yG(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Zd(t,e)}function sG(t,e){return e&&(pG(e)==="object"||typeof e=="function")?e:lG(t)}function Zd(t,e){return Zd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zd(t,e)}function pG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function eS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(eS=function(){return!!t})()}var dG=function(t){yG(e,t);function e(n){fG(this,e);var o;o=aG(this,e,[n]),_G(o,"mobileShowType",void 0);var r;return o.mobileShowType=(r=n==null?void 0:n.mobileShowType)!==null&&r!==void 0?r:"vertical",o}return e}(Z);function vG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tS(t,e,n){return e=sl(e),hG(t,rS()?Reflect.construct(e,n||[],sl(t).constructor):e.apply(t,n))}function nS(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function sl(t){return sl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sl(t)}function oS(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ev(t,e)}function hG(t,e){return e&&(bG(e)==="object"||typeof e=="function")?e:vG(t)}function ev(t,e){return ev=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ev(t,e)}function bG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function rS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(rS=function(){return!!t})()}var gG=function(t){oS(e,t);function e(n){nS(this,e);var o;return o=tS(this,e,[n]),Yd(o,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),o}return e}(W),iS=function(t){oS(e,t);function e(n){nS(this,e);var o;o=tS(this,e,[n]),Yd(o,"caption",void 0);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:bl.controlName,o}return e}(Z);Yd(iS,"Rules",gG);function mG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function OG(t,e,n){return e=pl(e),EG(t,cS()?Reflect.construct(e,n||[],pl(t).constructor):e.apply(t,n))}function wG(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function uS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function $G(t,e,n){return e&&uS(t.prototype,e),n&&uS(t,n),t}function tv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pl(t){return pl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pl(t)}function PG(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&nv(t,e)}function EG(t,e){return e&&(SG(e)==="object"||typeof e=="function")?e:mG(t)}function nv(t,e){return nv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},nv(t,e)}function SG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function cS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(cS=function(){return!!t})()}var dl=function(t){PG(e,t);function e(n){wG(this,e);var o;return o=OG(this,e,[n]),tv(o,"props",void 0),o.props=new iS(n==null?void 0:n.props),o}return $G(e,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u5355\u5143"}},{key:"controlType",get:function(){return"tab-pane"}},{key:"controlIcon",get:function(){return"tab-pane"}}]),e}(Y);tv(dl,"excludes",[s.TAB]),tv(dl,"setting",[{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"super-setting",visible:!0}]);function TG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function RG(t,e,n){return e=hl(e),kG(t,aS()?Reflect.construct(e,n||[],hl(t).constructor):e.apply(t,n))}function BG(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function lS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function IG(t,e,n){return e&&lS(t.prototype,e),n&&lS(t,n),t}function vl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function hl(t){return hl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hl(t)}function AG(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ov(t,e)}function kG(t,e){return e&&(DG(e)==="object"||typeof e=="function")?e:TG(t)}function ov(t,e){return ov=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ov(t,e)}function DG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function aS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(aS=function(){return!!t})()}var bl=function(t){AG(e,t);function e(n){BG(this,e);var o;o=RG(this,e,[n]),vl(o,"props",void 0),o.props=new dG(n==null?void 0:n.props);var r;return o.children=(r=n==null?void 0:n.children)!==null&&r!==void 0?r:[new dl,new dl],o}return IG(e,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u9875"}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),e}(Y);vl(bl,"excludes",[s.TAB]),vl(bl,"controlEventKeys",["on_change_tab"]),vl(bl,"setting",[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}]);function xG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function FG(t,e,n){return e=gl(e),MG(t,fS()?Reflect.construct(e,n||[],gl(t).constructor):e.apply(t,n))}function jG(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gl(t){return gl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gl(t)}function LG(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&rv(t,e)}function MG(t,e){return e&&(NG(e)==="object"||typeof e=="function")?e:xG(t)}function rv(t,e){return rv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rv(t,e)}function NG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(fS=function(){return!!t})()}var VG=function(t){LG(e,t);function e(n){return jG(this,e),FG(this,e,[n])}return e}(Z);function zG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function HG(t,e,n){return e=ml(e),WG(t,sS()?Reflect.construct(e,n||[],ml(t).constructor):e.apply(t,n))}function qG(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _S(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function UG(t,e,n){return e&&_S(t.prototype,e),n&&_S(t,n),t}function yS(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ml(t){return ml=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ml(t)}function CG(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&iv(t,e)}function WG(t,e){return e&&(KG(e)==="object"||typeof e=="function")?e:zG(t)}function iv(t,e){return iv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},iv(t,e)}function KG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function sS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(sS=function(){return!!t})()}var GG=function(t){CG(e,t);function e(n){qG(this,e);var o;return o=HG(this,e,[n]),yS(o,"props",void 0),o.props=new VG({}),o.children=(n==null?void 0:n.children)||[new yo({props:new _o({span:12})}),new yo({props:new _o({span:12})})],o}return UG(e,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),e}(Y);yS(GG,"excludes",[s.GRID_ROW,s.ROW,s.GRID,s.SUBTABLE,s.TAB,s.TOOLBOX]);function XG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function uv(t,e,n){return e=Ol(e),QG(t,pS()?Reflect.construct(e,n||[],Ol(t).constructor):e.apply(t,n))}function cv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function V(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ol(t){return Ol=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ol(t)}function lv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&av(t,e)}function QG(t,e){return e&&(JG(e)==="object"||typeof e=="function")?e:XG(t)}function av(t,e){return av=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},av(t,e)}function JG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pS=function(){return!!t})()}var dS;(function(t){t[t.CLICK_ROW=1]="CLICK_ROW",t[t.CLICK_CELL=2]="CLICK_CELL"})(dS||(dS={}));var ZG=function(t){lv(e,t);function e(n){cv(this,e);var o;return o=uv(this,e,[n]),o.push({type:"object",fields:{}}),o}return e}($t),YG=function(t){lv(e,t);function e(n){cv(this,e);var o;if(o=uv(this,e,[n]),V(o,"triggerFieldCode",{type:"any"}),V(o,"datasourceBind",{type:"any"}),V(o,"joinRelation",[{type:"any"}]),console.log("--ListViewControlPropertyRules--"),n.triggerType===2&&n.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")}),n.isShowJoinRelation&&(o.joinRelation=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),wf.call(o,{optionConfig:"datasource",datasourceBind:n.datasourceBind,options:[]}),Array.isArray(o.datasourceBind)&&o.datasourceBind.length>1){var r=o.datasourceBind.find(function(i){return i.type==="object"&&i.fields});r&&(delete r.fields.valueFieldCode,delete r.fields.displayBoList)}return o}return e}(W),so=function(t){lv(e,t);function e(n){cv(this,e);var o,r,i;o=uv(this,e,[n]),V(o,"datasourceBind",void 0),V(o,"isLoading",void 0),V(o,"isShowSubList",void 0),V(o,"triggerType",void 0),V(o,"triggerFieldCode",void 0),V(o,"sublistPage",void 0),V(o,"isShowJoinRelation",void 0),V(o,"joinRelation",void 0),V(o,"showType",void 0),V(o,"showFullScreen",void 0),V(o,"isFixedHeader",void 0),V(o,"selectionType",void 0),V(o,"isShowSelection",void 0),V(o,"isAllLoaded",void 0),V(o,"countType",void 0),V(o,"countLimit",void 0),V(o,"rowStyleType",void 0),V(o,"rowStyleBgColor",void 0),V(o,"rowStyleRules",void 0),V(o,"rowStyleRulesScript",void 0),o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var u;o.isLoading=(u=n==null?void 0:n.isLoading)!==null&&u!==void 0?u:!1;var c;o.isShowSubList=(c=n==null?void 0:n.isShowSubList)!==null&&c!==void 0?c:!1;var a;o.triggerType=(a=n==null?void 0:n.triggerType)!==null&&a!==void 0?a:1;var l;o.triggerFieldCode=(l=n==null?void 0:n.triggerFieldCode)!==null&&l!==void 0?l:"",o.sublistPage=new _k(n==null?void 0:n.sublistPage);var f;o.isShowJoinRelation=(f=n==null?void 0:n.isShowJoinRelation)!==null&&f!==void 0?f:!1,o.joinRelation=new sk(n==null?void 0:n.joinRelation);var y;o.showType=(y=n==null?void 0:n.showType)!==null&&y!==void 0?y:"stretch";var p;o.showFullScreen=(p=n==null?void 0:n.showFullScreen)!==null&&p!==void 0?p:!1;var b;o.selectionType=(b=n==null?void 0:n.selectionType)!==null&&b!==void 0?b:"multiple";var O;o.isFixedHeader=(O=n==null?void 0:n.isFixedHeader)!==null&&O!==void 0?O:!1;var m;o.isShowSelection=(m=n==null?void 0:n.isShowSelection)!==null&&m!==void 0?m:!1;var w;o.isAllLoaded=(w=n==null?void 0:n.isAllLoaded)!==null&&w!==void 0?w:!0,o.countType=n==null?void 0:n.countType;var h;o.countLimit=(h=n==null?void 0:n.countLimit)!==null&&h!==void 0?h:1e5;var $;o.rowStyleType=($=n==null?void 0:n.rowStyleType)!==null&&$!==void 0?$:"none";var P;o.rowStyleBgColor=(P=n==null?void 0:n.rowStyleBgColor)!==null&&P!==void 0?P:"theme";var E;o.rowStyleRules=(n==null?void 0:n.rowStyleRules)&&Array.isArray(n==null?void 0:n.rowStyleRules)?(E=n==null||(r=n.rowStyleRules)===null||r===void 0?void 0:r.map(function(j){return new Tk(j)}))!==null&&E!==void 0?E:[]:[];var T;return o.rowStyleRulesScript=(n==null?void 0:n.rowStyleRulesScript)&&Array.isArray(n==null?void 0:n.rowStyleRulesScript)?(T=n==null||(i=n.rowStyleRulesScript)===null||i===void 0?void 0:i.map(function(j){return new Rk(j)}))!==null&&T!==void 0?T:[]:[],o}return e}(Z);V(so,"Rules",YG),V(so,"RuntimeRules",ZG);function eX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tX(t,e,n){return e=$l(e),iX(t,hS()?Reflect.construct(e,n||[],$l(t).constructor):e.apply(t,n))}function nX(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function oX(t,e,n){return e&&vS(t.prototype,e),n&&vS(t,n),t}function wl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $l(t){return $l=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$l(t)}function rX(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fv(t,e)}function iX(t,e){return e&&(uX(e)==="object"||typeof e=="function")?e:eX(t)}function fv(t,e){return fv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fv(t,e)}function uX(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function hS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(hS=function(){return!!t})()}var Pl=function(t){rX(e,t);function e(n){nX(this,e);var o;return o=tX(this,e,[n]),wl(o,"props",void 0),o.props=new so(n==null?void 0:n.props),o}return oX(e,null,[{key:"controlName",get:function(){return"\u5217\u8868\u5BB9\u5668"}},{key:"controlType",get:function(){return"list-view"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),e}(Y);wl(Pl,"excludes",[s.ROW]),wl(Pl,"controlEventKeys",["on_list_search","on_list_mounted","on_list_actions","on_list_render_operation","on_list_rowclick","on_list_before_rowdelete","on_list_rows_checked"]),wl(Pl,"setting",[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"list-row-style",visible:!0},{key:"super-setting",visible:!0}]);function cX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lX(t,e,n){return e=El(e),sX(t,gS()?Reflect.construct(e,n||[],El(t).constructor):e.apply(t,n))}function aX(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function fX(t,e,n){return e&&bS(t.prototype,e),n&&bS(t,n),t}function _X(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function El(t){return El=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},El(t)}function yX(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_v(t,e)}function sX(t,e){return e&&(pX(e)==="object"||typeof e=="function")?e:cX(t)}function _v(t,e){return _v=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_v(t,e)}function pX(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function gS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(gS=function(){return!!t})()}var dX=function(t){yX(e,t);function e(n){aX(this,e);var o;return o=lX(this,e,[n]),_X(o,"props",void 0),o.props=new so(n==null?void 0:n.props),o}return fX(e,null,[{key:"controlType",get:function(){return"list-view"}}]),e}(Pt),vX={Designer:Pl,Runtime:dX,Property:so};function hX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mS(t,e,n){return e=Sl(e),bX(t,$S()?Reflect.construct(e,n||[],Sl(t).constructor):e.apply(t,n))}function OS(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Sl(t){return Sl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sl(t)}function wS(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&yv(t,e)}function bX(t,e){return e&&(gX(e)==="object"||typeof e=="function")?e:hX(t)}function yv(t,e){return yv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yv(t,e)}function gX(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $S(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($S=function(){return!!t})()}var mX=function(t){wS(e,t);function e(n){OS(this,e);var o;return o=mS(this,e,[n]),o.push({type:"object",fields:{}}),o}return e}($t),Tl=function(t){wS(e,t);function e(n){OS(this,e);var o;o=mS(this,e,[n]),mt(o,"save",void 0),mt(o,"cancel",void 0),mt(o,"saveAs",void 0),mt(o,"print",void 0),mt(o,"custom",void 0),mt(o,"isLoading",void 0),mt(o,"datasourceBind",void 0);var r;o.save=new ct((r=n==null?void 0:n.save)!==null&&r!==void 0?r:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var i;o.cancel=new ct((i=n==null?void 0:n.cancel)!==null&&i!==void 0?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var u;o.saveAs=new ct((u=n==null?void 0:n.saveAs)!==null&&u!==void 0?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1});var c;o.print=new ct((c=n==null?void 0:n.print)!==null&&c!==void 0?c:{content:"\u6253\u5370",type:"print",isShow:!1});var a;o.custom=((a=n==null?void 0:n.custom)!==null&&a!==void 0?a:[]).map(function(f){return new ct(f)});var l;return o.isLoading=(l=n==null?void 0:n.isLoading)!==null&&l!==void 0?l:!1,o.datasourceBind=new X(n==null?void 0:n.datasourceBind),o}return e}(Z);mt(Tl,"RuntimeRules",mX);function OX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wX(t,e,n){return e=Rl(e),SX(t,SS()?Reflect.construct(e,n||[],Rl(t).constructor):e.apply(t,n))}function $X(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function PS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function PX(t,e,n){return e&&PS(t.prototype,e),n&&PS(t,n),t}function ES(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Rl(t){return Rl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rl(t)}function EX(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&sv(t,e)}function SX(t,e){return e&&(TX(e)==="object"||typeof e=="function")?e:OX(t)}function sv(t,e){return sv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sv(t,e)}function TX(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function SS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(SS=function(){return!!t})()}var TS=function(t){EX(e,t);function e(n){$X(this,e);var o;return o=wX(this,e,[n]),ES(o,"props",void 0),o.props=new Tl(n==null?void 0:n.props),o}return PX(e,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),e}(Y);ES(TS,"excludes",[]);function RX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function BX(t,e,n){return e=Bl(e),xX(t,BS()?Reflect.construct(e,n||[],Bl(t).constructor):e.apply(t,n))}function IX(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function RS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function AX(t,e,n){return e&&RS(t.prototype,e),n&&RS(t,n),t}function kX(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Bl(t){return Bl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bl(t)}function DX(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&pv(t,e)}function xX(t,e){return e&&(FX(e)==="object"||typeof e=="function")?e:RX(t)}function pv(t,e){return pv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},pv(t,e)}function FX(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function BS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(BS=function(){return!!t})()}var jX=function(t){DX(e,t);function e(n){IX(this,e);var o;return o=BX(this,e,[n]),kX(o,"props",void 0),o.props=new Tl(n==null?void 0:n.props),o}return AX(e,null,[{key:"controlType",get:function(){return"data-view"}}]),e}(Pt),LX={Designer:TS,Runtime:jX,Property:Tl};function MX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function NX(t,e,n){return e=Il(e),HX(t,IS()?Reflect.construct(e,n||[],Il(t).constructor):e.apply(t,n))}function VX(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Il(t){return Il=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Il(t)}function zX(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&vv(t,e)}function HX(t,e){return e&&(qX(e)==="object"||typeof e=="function")?e:MX(t)}function vv(t,e){return vv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vv(t,e)}function qX(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function IS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(IS=function(){return!!t})()}var UX=function(t){zX(e,t);function e(n){VX(this,e);var o;o=NX(this,e,[n]),dv(o,"position",void 0),dv(o,"opacity",void 0),dv(o,"align",void 0);var r;o.position=(r=n==null?void 0:n.position)!==null&&r!==void 0?r:"bottom";var i;o.opacity=(i=n==null?void 0:n.opacity)!==null&&i!==void 0?i:!0;var u;return o.align=(u=n==null?void 0:n.align)!==null&&u!==void 0?u:"right",o}return e}(Z);function CX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function WX(t,e,n){return e=Al(e),QX(t,kS()?Reflect.construct(e,n||[],Al(t).constructor):e.apply(t,n))}function KX(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function AS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function GX(t,e,n){return e&&AS(t.prototype,e),n&&AS(t,n),t}function hv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Al(t){return Al=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Al(t)}function XX(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&bv(t,e)}function QX(t,e){return e&&(JX(e)==="object"||typeof e=="function")?e:CX(t)}function bv(t,e){return bv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},bv(t,e)}function JX(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function kS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(kS=function(){return!!t})()}var DS=function(t){XX(e,t);function e(n){KX(this,e);var o;o=WX(this,e,[n]),hv(o,"props",void 0);var r;return o.props=new UX((r=n==null?void 0:n.props)!==null&&r!==void 0?r:{}),o}return GX(e,null,[{key:"controlName",get:function(){return"\u6309\u94AE\u64CD\u4F5C\u680F"}},{key:"controlType",get:function(){return"action-bar"}},{key:"controlIcon",get:function(){return"action-bar"}}]),e}(Y);hv(DS,"excludes",[]),hv(DS,"setting",[{key:"action-buttons",visible:!0},{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0}]);function ZX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function gv(t,e,n){return e=kl(e),YX(t,xS()?Reflect.construct(e,n||[],kl(t).constructor):e.apply(t,n))}function mv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function R(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function kl(t){return kl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kl(t)}function Ov(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wv(t,e)}function YX(t,e){return e&&(eQ(e)==="object"||typeof e=="function")?e:ZX(t)}function wv(t,e){return wv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wv(t,e)}function eQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xS=function(){return!!t})()}var tQ=function(t){Ov(e,t);function e(n){mv(this,e);var o;return o=gv(this,e,[n]),R(o,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),R(o,"limitRows",[{type:"number",required:!0,message:d.getMessage("isNotNumber")},{type:"number",min:0,message:d.getMessage("limitRowsCannotBeLessThan0")}]),R(o,"formKey",{type:"string",required:!1,message:d.getMessage("pleaseEnterForm")}),R(o,"maxHeight",{type:"number",required:!0,message:d.getMessage("pleaseEnterMaxHeight")}),R(o,"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),R(o,"mobileRowCaption",{type:"string",required:!1,message:d.getMessage("pleaseEnterRowCaption")}),n.openType==="modal"&&(o.formKey.required=!0),n.isShowCaptionTip&&(o.captionTip.required=!0),n.mobileShowType==="tile"&&(o.mobileRowCaption.required=!0),o}return e}(W),nQ=function(t){Ov(e,t);function e(n){mv(this,e);var o;return o=gv(this,e,[n]),n.isHide||o.push({type:"array",required:n.limitRows>0,message:d.getMessage("runtimeRequired",{caption:n.caption})},{type:"array",validator:function(i,u,c){u.length<n.limitRows&&c(d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})),c()},message:d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})}),o}return e}($t),$v=function(t){Ov(e,t);function e(n,o){mv(this,e);var r;r=gv(this,e,[n,o,e.mode]),R(r,"caption",void 0),R(r,"labelPosition",void 0),R(r,"isHideCaption",void 0),R(r,"isShowCaptionTip",void 0),R(r,"captionTip",void 0),R(r,"defaultState",void 0),R(r,"limitRows",void 0),R(r,"maxRows",void 0),R(r,"defaultRows",void 0),R(r,"datasourceBind",void 0),R(r,"printMode",void 0),R(r,"openType",void 0),R(r,"formKey",void 0),R(r,"useCustomHeight",void 0),R(r,"maxHeight",void 0),R(r,"canAdd",void 0),R(r,"canDelete",void 0),R(r,"canCheck",void 0),R(r,"canEdit",void 0),R(r,"canImport",void 0),R(r,"canExport",void 0),R(r,"canClear",void 0),R(r,"isPaste",void 0),R(r,"mobileShowType",void 0),R(r,"mobileDefaultNum",void 0),R(r,"dataStorageDoc",void 0),R(r,"serverPagination",void 0),R(r,"fixedColumn",void 0),R(r,"mobileRowCaption",void 0),R(r,"mobileIsTile",void 0);var i;r.caption=(i=o==null?void 0:o.caption)!==null&&i!==void 0?i:Sv.controlName;var u;r.isHideCaption=(u=o==null?void 0:o.isHideCaption)!==null&&u!==void 0?u:!1;var c;r.defaultState=(c=o==null?void 0:o.defaultState)!==null&&c!==void 0?c:"default";var a;r.labelPosition=(a=o==null?void 0:o.labelPosition)!==null&&a!==void 0?a:"top";var l;r.openType=(l=o==null?void 0:o.openType)!==null&&l!==void 0?l:"default";var f;r.formKey=(f=o==null?void 0:o.formKey)!==null&&f!==void 0?f:"";var y;r.useCustomHeight=(y=o==null?void 0:o.useCustomHeight)!==null&&y!==void 0?y:!1;var p;r.maxHeight=(p=o==null?void 0:o.maxHeight)!==null&&p!==void 0?p:pF;var b;r.printMode=(b=o==null?void 0:o.printMode)!==null&&b!==void 0?b:"row";var O;r.limitRows=(O=o==null?void 0:o.limitRows)!==null&&O!==void 0?O:1;var m;r.maxRows=(m=o==null?void 0:o.maxRows)!==null&&m!==void 0?m:null;var w;r.defaultRows=(w=o==null?void 0:o.defaultRows)!==null&&w!==void 0?w:1,r.datasourceBind=new X(o==null?void 0:o.datasourceBind);var h;r.canAdd=(h=o==null?void 0:o.canAdd)!==null&&h!==void 0?h:!0;var $;r.canDelete=($=o==null?void 0:o.canDelete)!==null&&$!==void 0?$:!0;var P;r.canCheck=(P=o==null?void 0:o.canCheck)!==null&&P!==void 0?P:!1;var E;r.canEdit=(E=o==null?void 0:o.canEdit)!==null&&E!==void 0?E:!1;var T;r.canImport=(T=o==null?void 0:o.canImport)!==null&&T!==void 0?T:!1;var j;r.canExport=(j=o==null?void 0:o.canExport)!==null&&j!==void 0?j:!1;var A;r.canClear=(A=o==null?void 0:o.canClear)!==null&&A!==void 0?A:!0;var ue;r.serverPagination=(ue=o==null?void 0:o.serverPagination)!==null&&ue!==void 0?ue:!1;var B;r.isShowCaptionTip=(B=o==null?void 0:o.isShowCaptionTip)!==null&&B!==void 0?B:!1;var We;r.captionTip=(We=o==null?void 0:o.captionTip)!==null&&We!==void 0?We:"";var wo;r.mobileShowType=(wo=o==null?void 0:o.mobileShowType)!==null&&wo!==void 0?wo:"list";var Kn;r.mobileDefaultNum=(Kn=o==null?void 0:o.mobileDefaultNum)!==null&&Kn!==void 0?Kn:10;var xt;r.dataStorageDoc=(xt=o==null?void 0:o.dataStorageDoc)!==null&&xt!==void 0?xt:new ck;var Ke;r.fixedColumn=(Ke=o==null?void 0:o.fixedColumn)!==null&&Ke!==void 0?Ke:[];var f0;r.mobileRowCaption=(f0=o==null?void 0:o.mobileRowCaption)!==null&&f0!==void 0?f0:"\u660E\u7EC6";var _0;r.mobileIsTile=(_0=o==null?void 0:o.mobileIsTile)!==null&&_0!==void 0?_0:!1;var y0;r.isPaste=(y0=o==null?void 0:o.isPaste)!==null&&y0!==void 0?y0:!1;var s0;r.pageSize=(s0=o==null?void 0:o.pageSize)!==null&&s0!==void 0?s0:10;var p0;return r.pageSizeOptions=(p0=o==null?void 0:o.pageSizeOptions)!==null&&p0!==void 0?p0:[10,20,50,100],r}return e}(Df);R($v,"Rules",tQ),R($v,"RuntimeRules",nQ);function oQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rQ(t,e,n){return e=Dl(e),lQ(t,jS()?Reflect.construct(e,n||[],Dl(t).constructor):e.apply(t,n))}function iQ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function FS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function uQ(t,e,n){return e&&FS(t.prototype,e),n&&FS(t,n),t}function Pv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Dl(t){return Dl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dl(t)}function cQ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ev(t,e)}function lQ(t,e){return e&&(aQ(e)==="object"||typeof e=="function")?e:oQ(t)}function Ev(t,e){return Ev=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ev(t,e)}function aQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function jS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(jS=function(){return!!t})()}var Sv=function(t){cQ(e,t);function e(n){iQ(this,e);var o,r,i;return o=rQ(this,e,[n]),Pv(o,"props",void 0),o.props=new $v(o,n==null?void 0:n.props),(n==null||(r=n.props)===null||r===void 0?void 0:r.headers)===void 0&&(o.props.headers=[new Me,new Me,new Me]),(n==null||(i=n.props)===null||i===void 0?void 0:i.footers)===void 0&&(o.props.footers=[]),o}return uQ(e,[{key:"addColumn",value:function(o,r){var i=o!==void 0&&typeof o!="number"?o:new Me,u=typeof o=="number"?o:r;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}],[{key:"controlName",get:function(){return"\u660E\u7EC6\u5B50\u8868"}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),e}(jf);Pv(Sv,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),Pv(Sv,"setting",[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE,_.IS_SHOW_CAPTION_TIP,_.IS_PASTE,_.SERVER_PAGINATION]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"max-rows",visible:!0},{key:"list-pager",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}]);function fQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _Q(t,e,n){return e=xl(e),pQ(t,LS()?Reflect.construct(e,n||[],xl(t).constructor):e.apply(t,n))}function yQ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function po(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function xl(t){return xl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xl(t)}function sQ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Tv(t,e)}function pQ(t,e){return e&&(dQ(e)==="object"||typeof e=="function")?e:fQ(t)}function Tv(t,e){return Tv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Tv(t,e)}function dQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function LS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(LS=function(){return!!t})()}var vQ=function(t){sQ(e,t);function e(n,o){yQ(this,e);var r;r=_Q(this,e,[n,o]),po(r,"isFixedHeader",void 0),po(r,"selectionType",void 0),po(r,"isShowToolbar",void 0),po(r,"isShowSelection",void 0),po(r,"isShowCustomColumns",void 0);var i;r.isFixedHeader=(i=o==null?void 0:o.isFixedHeader)!==null&&i!==void 0?i:!1,r.selectionType=o==null?void 0:o.selectionType;var u;r.isShowToolbar=(u=o==null?void 0:o.isShowToolbar)!==null&&u!==void 0?u:!0;var c;r.isShowSelection=(c=o==null?void 0:o.isShowSelection)!==null&&c!==void 0?c:!1;var a;r.isShowCustomColumns=(a=o==null?void 0:o.isShowCustomColumns)!==null&&a!==void 0?a:!0;var l;return r.pageSizeOptions=(l=o==null?void 0:o.pageSizeOptions)!==null&&l!==void 0?l:[10,20,50,100,500],r}return e}(Df);function hQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function MS(t,e,n){return e=Fl(e),gQ(t,zS()?Reflect.construct(e,n||[],Fl(t).constructor):e.apply(t,n))}function NS(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bQ(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Fl(t){return Fl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fl(t)}function VS(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Rv(t,e)}function gQ(t,e){return e&&(mQ(e)==="object"||typeof e=="function")?e:hQ(t)}function Rv(t,e){return Rv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rv(t,e)}function mQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function zS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zS=function(){return!!t})()}var OQ=function(t){VS(e,t);function e(n){NS(this,e);var o;return o=MS(this,e,[n]),o.caption.required=!1,o}return e}(ze),Bv=function(t){VS(e,t);function e(n){NS(this,e);var o,r,i;o=MS(this,e,[n]);var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:"left";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:_n.controlName;var a;o.width=(a=n==null?void 0:n.width)!==null&&a!==void 0?a:60;var l;o.autoWidth.minWidth=(l=n==null||(r=n.autoWidth)===null||r===void 0?void 0:r.minWidth)!==null&&l!==void 0?l:60;var f;o.autoWidth.flex=(f=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.flex)!==null&&f!==void 0?f:.4;var y;return o.widthType=(y=n==null?void 0:n.widthType)!==null&&y!==void 0?y:"px",o}return e}(U);bQ(Bv,"Rules",OQ);function wQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $Q(t,e,n){return e=jl(e),SQ(t,HS()?Reflect.construct(e,n||[],jl(t).constructor):e.apply(t,n))}function PQ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function jl(t){return jl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jl(t)}function EQ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Iv(t,e)}function SQ(t,e){return e&&(TQ(e)==="object"||typeof e=="function")?e:wQ(t)}function Iv(t,e){return Iv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Iv(t,e)}function TQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function HS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(HS=function(){return!!t})()}var _n=function(t){EQ(e,t);function e(n){PQ(this,e);var o;return o=$Q(this,e,[n]),vo(o,"props",void 0),o.props=new Bv(n==null?void 0:n.props),o}return e}(te);vo(_n,"controlType","order-column"),vo(_n,"controlName","\u5E8F\u53F7"),vo(_n,"controlIcon","order-column"),vo(_n,"setting",[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}]);function RQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function BQ(t,e,n){return e=Ll(e),kQ(t,qS()?Reflect.construct(e,n||[],Ll(t).constructor):e.apply(t,n))}function IQ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Av(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ll(t){return Ll=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ll(t)}function AQ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&kv(t,e)}function kQ(t,e){return e&&(DQ(e)==="object"||typeof e=="function")?e:RQ(t)}function kv(t,e){return kv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kv(t,e)}function DQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function qS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(qS=function(){return!!t})()}var US=function(t){AQ(e,t);function e(n){IQ(this,e);var o;return o=BQ(this,e,[n]),Av(o,"props",void 0),o.props=new Bv(n==null?void 0:n.props),o}return e}(ne);Av(US,"controlType","order-column"),Av(US,"controlFieldType",g.DECIMAL);function xQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function FQ(t,e,n){return e=Ml(e),MQ(t,WS()?Reflect.construct(e,n||[],Ml(t).constructor):e.apply(t,n))}function jQ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function CS(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ml(t){return Ml=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ml(t)}function LQ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Dv(t,e)}function MQ(t,e){return e&&(NQ(e)==="object"||typeof e=="function")?e:xQ(t)}function Dv(t,e){return Dv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dv(t,e)}function NQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function WS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(WS=function(){return!!t})()}var KS=function(t){LQ(e,t);function e(n){jQ(this,e);var o,r;o=FQ(this,e,[n]),CS(o,"showType",void 0),CS(o,"limit",void 0);var i;o.fixed=(i=n==null?void 0:n.fixed)!==null&&i!==void 0?i:"right",o.widthType="auto";var u;o.autoWidth.minWidth=(u=n==null||(r=n.autoWidth)===null||r===void 0?void 0:r.minWidth)!==null&&u!==void 0?u:84;var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:yn.controlName;var a;o.showType=(a=n==null?void 0:n.showType)!==null&&a!==void 0?a:"icon";var l;return o.limit=(l=n==null?void 0:n.limit)!==null&&l!==void 0?l:3,o}return e}(U);function VQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function GS(t,e,n,o,r,i,u){try{var c=t[i](u),a=c.value}catch(l){n(l);return}c.done?e(a):Promise.resolve(a).then(o,r)}function zQ(t){return function(){var e=this,n=arguments;return new Promise(function(o,r){var i=t.apply(e,n);function u(a){GS(i,o,r,u,c,"next",a)}function c(a){GS(i,o,r,u,c,"throw",a)}u(void 0)})}}function HQ(t,e,n){return e=Bt(e),WQ(t,QS()?Reflect.construct(e,n||[],Bt(t).constructor):e.apply(t,n))}function qQ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function XS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function UQ(t,e,n){return e&&XS(t.prototype,e),n&&XS(t,n),t}function ho(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function bo(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?bo=Reflect.get:bo=function(r,i,u){var c=KQ(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},bo(t,e,n||t)}function Bt(t){return Bt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bt(t)}function CQ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xv(t,e)}function WQ(t,e){return e&&(GQ(e)==="object"||typeof e=="function")?e:VQ(t)}function xv(t,e){return xv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xv(t,e)}function KQ(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Bt(t),t!==null););return t}function GQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function QS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(QS=function(){return!!t})()}function XQ(t,e){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,o=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){u.label=l[1];break}if(l[0]===6&&u.label<r[1]){u.label=r[1],r=l;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(l);break}r[2]&&u.ops.pop(),u.trys.pop();continue}l=e.call(t,u)}catch(f){l=[6,f],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var yn=function(t){CQ(e,t);function e(n){qQ(this,e);var o;return o=HQ(this,e,[n]),ho(o,"props",void 0),o.props=new KS(n==null?void 0:n.props),o}return UQ(e,[{key:"toDataBindModel",value:function(){var o=bo(Bt(e.prototype),"toDataBindModel",this).call(this);return this.children.map(function(r){if(r.type===ti.controlType){var i=r;o.props[i.props.command]=i.props}}),o}},{key:"validate",value:function(o,r){var i=this,u=this,c=function(){return bo(Bt(e.prototype),"validate",i)};return zQ(function(){return XQ(this,function(a){switch(a.label){case 0:return[4,c().call(u,o,r)];case 1:return a.sent(),[4,Promise.all(u.children.map(function(l){return l.validate(o,r)}))];case 2:return a.sent(),[2,!0]}})})()}}]),e}(te);ho(yn,"controlType","operation-column"),ho(yn,"controlName","\u64CD\u4F5C"),ho(yn,"controlIcon","operation-column"),ho(yn,"setting",[{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}]);function QQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function JQ(t,e,n){return e=Nl(e),eJ(t,JS()?Reflect.construct(e,n||[],Nl(t).constructor):e.apply(t,n))}function ZQ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Nl(t){return Nl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nl(t)}function YQ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&jv(t,e)}function eJ(t,e){return e&&(tJ(e)==="object"||typeof e=="function")?e:QQ(t)}function jv(t,e){return jv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jv(t,e)}function tJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function JS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(JS=function(){return!!t})()}var ZS=function(t){YQ(e,t);function e(n){ZQ(this,e);var o;return o=JQ(this,e,[n]),Fv(o,"props",void 0),o.props=new KS(n==null?void 0:n.props),o}return e}(ne);Fv(ZS,"controlType","operation-column"),Fv(ZS,"controlFieldType",g.FILE);function nJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function YS(t,e,n,o,r,i,u){try{var c=t[i](u),a=c.value}catch(l){n(l);return}c.done?e(a):Promise.resolve(a).then(o,r)}function oJ(t){return function(){var e=this,n=arguments;return new Promise(function(o,r){var i=t.apply(e,n);function u(a){YS(i,o,r,u,c,"next",a)}function c(a){YS(i,o,r,u,c,"throw",a)}u(void 0)})}}function rJ(t,e,n){return e=It(e),_J(t,tT()?Reflect.construct(e,n||[],It(t).constructor):e.apply(t,n))}function iJ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function eT(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function uJ(t,e,n){return e&&eT(t.prototype,e),n&&eT(t,n),t}function Vl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function go(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?go=Reflect.get:go=function(r,i,u){var c=yJ(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},go(t,e,n||t)}function It(t){return It=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},It(t)}function cJ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Lv(t,e)}function lJ(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Vl(t,r,n[r])})}return t}function aJ(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,o)}return n}function fJ(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):aJ(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function _J(t,e){return e&&(sJ(e)==="object"||typeof e=="function")?e:nJ(t)}function Lv(t,e){return Lv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Lv(t,e)}function yJ(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=It(t),t!==null););return t}function sJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tT=function(){return!!t})()}function pJ(t,e){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,o=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){u.label=l[1];break}if(l[0]===6&&u.label<r[1]){u.label=r[1],r=l;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(l);break}r[2]&&u.ops.pop(),u.trys.pop();continue}l=e.call(t,u)}catch(f){l=[6,f],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var dJ=function(t){cJ(e,t);function e(n){iJ(this,e);var o,r;return o=rJ(this,e,[n]),Vl(o,"props",void 0),Vl(o,"children",void 0),o.props=new vQ(o,n==null?void 0:n.props),Ge(o,"children",n==null?void 0:n.children,void 0,"Designer"),(n==null?void 0:n.props.headers)===void 0&&(o.props.headers=[new _n,new yn]),(n==null||(r=n.props)===null||r===void 0?void 0:r.footers)===void 0&&(o.props.footers=[]),o}return uJ(e,[{key:"toSchema",value:function(){var o=go(It(e.prototype),"toSchema",this).call(this),r=this.children.map(function(i){return i.toSchema()});return fJ(lJ({},o),{children:r})}},{key:"validate",value:function(o,r){var i=this,u=this,c=function(){return go(It(e.prototype),"validate",i)};return oJ(function(){return pJ(this,function(a){switch(a.label){case 0:return[4,c().call(u,o,r)];case 1:return a.sent(),[4,Promise.all(u.children.map(function(l){return l.validate(o,r)}))];case 2:return a.sent(),[2,!0]}})})()}}],[{key:"controlName",get:function(){return"\u8868\u683C"}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),e}(jf);Vl(dJ,"setting",[{key:"list-fixed-header",visible:!0}]);function vJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nT(t,e,n){return e=zl(e),hJ(t,iT()?Reflect.construct(e,n||[],zl(t).constructor):e.apply(t,n))}function oT(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ot(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zl(t){return zl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zl(t)}function rT(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Mv(t,e)}function hJ(t,e){return e&&(bJ(e)==="object"||typeof e=="function")?e:vJ(t)}function Mv(t,e){return Mv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Mv(t,e)}function bJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function iT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(iT=function(){return!!t})()}var gJ=function(t){rT(e,t);function e(n){oT(this,e);var o;return o=nT(this,e,[n]),st.call(o,n),o}return e}(Rb),Nv=function(t){rT(e,t);function e(n){oT(this,e);var o;o=nT(this,e,[n]),Ot(o,"optionConfig",void 0),Ot(o,"datasourceBind",void 0),Ot(o,"showLinkOperation",void 0),Ot(o,"linkOperationOption",void 0),Ot(o,"options",void 0),Ot(o,"lineEllipsis",void 0),Ot(o,"displayPlaintext",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:pn.controlName;var i;o.optionConfig=(i=n==null?void 0:n.optionConfig)!==null&&i!==void 0?i:"none",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var u;o.options=Qe((u=n==null?void 0:n.options)!==null&&u!==void 0?u:[{}]);var c;o.showLinkOperation=(c=n==null?void 0:n.showLinkOperation)!==null&&c!==void 0?c:!1,o.linkOperationOption=new Xe(n==null?void 0:n.linkOperationOption);var a;o.lineEllipsis=(a=n==null?void 0:n.lineEllipsis)!==null&&a!==void 0?a:1;var l;return o.displayPlaintext=(l=n==null?void 0:n.displayPlaintext)!==null&&l!==void 0?l:!1,o}return e}(U);Ot(Nv,"Rules",gJ);function mJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function OJ(t,e,n){return e=Hl(e),PJ(t,uT()?Reflect.construct(e,n||[],Hl(t).constructor):e.apply(t,n))}function wJ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Hl(t){return Hl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hl(t)}function $J(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vv(t,e)}function PJ(t,e){return e&&(EJ(e)==="object"||typeof e=="function")?e:mJ(t)}function Vv(t,e){return Vv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vv(t,e)}function EJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function uT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(uT=function(){return!!t})()}var pn=function(t){$J(e,t);function e(n){wJ(this,e);var o;return o=OJ(this,e,[n]),sn(o,"props",void 0),o.props=new Nv(n==null?void 0:n.props),o}return e}(te);sn(pn,"controlType","varchar-column"),sn(pn,"controlName","\u77ED\u6587\u672C"),sn(pn,"controlIcon","varchar-column"),sn(pn,"controlFieldType",g.VARCHAR),sn(pn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"column-display-plaintext",visible:!0}]);function SJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function TJ(t,e,n){return e=ql(e),IJ(t,cT()?Reflect.construct(e,n||[],ql(t).constructor):e.apply(t,n))}function RJ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ql(t){return ql=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ql(t)}function BJ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hv(t,e)}function IJ(t,e){return e&&(AJ(e)==="object"||typeof e=="function")?e:SJ(t)}function Hv(t,e){return Hv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hv(t,e)}function AJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function cT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(cT=function(){return!!t})()}var lT=function(t){BJ(e,t);function e(n){RJ(this,e);var o;return o=TJ(this,e,[n]),zv(o,"props",void 0),o.props=new Nv(n==null?void 0:n.props),o}return e}(ne);zv(lT,"controlType","varchar-column"),zv(lT,"controlFieldType",g.VARCHAR);function kJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function aT(t,e,n){return e=Ul(e),DJ(t,yT()?Reflect.construct(e,n||[],Ul(t).constructor):e.apply(t,n))}function fT(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ul(t){return Ul=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ul(t)}function _T(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&qv(t,e)}function DJ(t,e){return e&&(xJ(e)==="object"||typeof e=="function")?e:kJ(t)}function qv(t,e){return qv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qv(t,e)}function xJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function yT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(yT=function(){return!!t})()}var FJ=function(t){_T(e,t);function e(n){fT(this,e);var o;return o=aT(this,e,[n]),st.call(o,n),o}return e}(ze),Uv=function(t){_T(e,t);function e(n){fT(this,e);var o;o=aT(this,e,[n]),mo(o,"escapeHTML",void 0),mo(o,"showLinkOperation",void 0),mo(o,"linkOperationOption",void 0),mo(o,"lineEllipsis",void 0);var r;o.escapeHTML=(r=n==null?void 0:n.escapeHTML)!==null&&r!==void 0?r:!1;var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:hn.controlName;var u;o.lineEllipsis=(u=n==null?void 0:n.lineEllipsis)!==null&&u!==void 0?u:1;var c;return o.showLinkOperation=(c=n==null?void 0:n.showLinkOperation)!==null&&c!==void 0?c:!1,o.linkOperationOption=new Xe(n==null?void 0:n.linkOperationOption),o}return e}(U);mo(Uv,"Rules",FJ);function jJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function LJ(t,e,n){return e=vn(e),zJ(t,pT()?Reflect.construct(e,n||[],vn(t).constructor):e.apply(t,n))}function MJ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sT(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function NJ(t,e,n){return e&&sT(t.prototype,e),n&&sT(t,n),t}function dn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Cl(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Cl=Reflect.get:Cl=function(r,i,u){var c=HJ(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Cl(t,e,n||t)}function vn(t){return vn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vn(t)}function VJ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Cv(t,e)}function zJ(t,e){return e&&(qJ(e)==="object"||typeof e=="function")?e:jJ(t)}function Cv(t,e){return Cv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cv(t,e)}function HJ(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=vn(t),t!==null););return t}function qJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pT=function(){return!!t})()}var hn=function(t){VJ(e,t);function e(n){MJ(this,e);var o;return o=LJ(this,e,[n]),dn(o,"props",void 0),o.props=new Uv(n==null?void 0:n.props),o}return NJ(e,[{key:"toDataBindModel",value:function(o){var r=Cl(vn(e.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.escapeHTML;r.props.escapeHTML=i}return r}}]),e}(te);dn(hn,"controlType","text-column"),dn(hn,"controlName","\u957F\u6587\u672C"),dn(hn,"controlIcon","text-column"),dn(hn,"controlFieldType",g.TEXT),dn(hn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function UJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function CJ(t,e,n){return e=Wl(e),GJ(t,dT()?Reflect.construct(e,n||[],Wl(t).constructor):e.apply(t,n))}function WJ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wl(t){return Wl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wl(t)}function KJ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Kv(t,e)}function GJ(t,e){return e&&(XJ(e)==="object"||typeof e=="function")?e:UJ(t)}function Kv(t,e){return Kv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kv(t,e)}function XJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function dT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(dT=function(){return!!t})()}var vT=function(t){KJ(e,t);function e(n){WJ(this,e);var o;return o=CJ(this,e,[n]),Wv(o,"props",void 0),o.props=new Uv(n==null?void 0:n.props),o}return e}(ne);Wv(vT,"controlType","text-column"),Wv(vT,"controlFieldType",g.TEXT);function QJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hT(t,e,n){return e=Kl(e),JJ(t,mT()?Reflect.construct(e,n||[],Kl(t).constructor):e.apply(t,n))}function bT(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ot(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Kl(t){return Kl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kl(t)}function gT(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Gv(t,e)}function JJ(t,e){return e&&(ZJ(e)==="object"||typeof e=="function")?e:QJ(t)}function Gv(t,e){return Gv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gv(t,e)}function ZJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(mT=function(){return!!t})()}var YJ=function(t){gT(e,t);function e(n){bT(this,e);var o;return o=hT(this,e,[n]),st.call(o,n),o}return e}(ze),Xv=function(t){gT(e,t);function e(n){bT(this,e);var o;o=hT(this,e,[n]),ot(o,"optionConfig",void 0),ot(o,"datasourceBind",void 0),ot(o,"showLinkOperation",void 0),ot(o,"linkOperationOption",void 0),ot(o,"options",void 0),ot(o,"precision",void 0),ot(o,"micrometer",void 0),ot(o,"percentageFormat",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:mn.controlName;var i;o.precision=(i=n==null?void 0:n.precision)!==null&&i!==void 0?i:0;var u;o.micrometer=(u=n==null?void 0:n.micrometer)!==null&&u!==void 0?u:!1;var c;o.percentageFormat=(c=n==null?void 0:n.percentageFormat)!==null&&c!==void 0?c:!1;var a;o.optionConfig=(a=n==null?void 0:n.optionConfig)!==null&&a!==void 0?a:"none",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var l;o.options=Qe((l=n==null?void 0:n.options)!==null&&l!==void 0?l:[{}]);var f;return o.showLinkOperation=(f=n==null?void 0:n.showLinkOperation)!==null&&f!==void 0?f:!1,o.linkOperationOption=new Xe(n==null?void 0:n.linkOperationOption),o}return e}(U);ot(Xv,"Rules",YJ);function eZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tZ(t,e,n){return e=gn(e),iZ(t,wT()?Reflect.construct(e,n||[],gn(t).constructor):e.apply(t,n))}function nZ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function OT(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function oZ(t,e,n){return e&&OT(t.prototype,e),n&&OT(t,n),t}function bn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gl(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Gl=Reflect.get:Gl=function(r,i,u){var c=uZ(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Gl(t,e,n||t)}function gn(t){return gn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gn(t)}function rZ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Qv(t,e)}function iZ(t,e){return e&&(cZ(e)==="object"||typeof e=="function")?e:eZ(t)}function Qv(t,e){return Qv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qv(t,e)}function uZ(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=gn(t),t!==null););return t}function cZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function wT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(wT=function(){return!!t})()}var mn=function(t){rZ(e,t);function e(n){nZ(this,e);var o;return o=tZ(this,e,[n]),bn(o,"props",void 0),o.props=new Xv(n==null?void 0:n.props),o}return oZ(e,[{key:"toDataBindModel",value:function(o){var r=Gl(gn(e.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props,u=i.precision,c=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=c}return r}}]),e}(te);bn(mn,"controlType","decimal-column"),bn(mn,"controlName","\u6570\u503C"),bn(mn,"controlIcon","decimal-column"),bn(mn,"controlFieldType",g.DECIMAL),bn(mn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[_.MICROMETER,_.PRECISION,_.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function lZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function aZ(t,e,n){return e=Xl(e),yZ(t,$T()?Reflect.construct(e,n||[],Xl(t).constructor):e.apply(t,n))}function fZ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xl(t){return Xl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xl(t)}function _Z(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Zv(t,e)}function yZ(t,e){return e&&(sZ(e)==="object"||typeof e=="function")?e:lZ(t)}function Zv(t,e){return Zv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zv(t,e)}function sZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $T(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($T=function(){return!!t})()}var PT=function(t){_Z(e,t);function e(n){fZ(this,e);var o;return o=aZ(this,e,[n]),Jv(o,"props",void 0),o.props=new Xv(n==null?void 0:n.props),o}return e}(ne);Jv(PT,"controlType","decimal-column"),Jv(PT,"controlFieldType",g.DECIMAL);function pZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ET(t,e,n){return e=Jl(e),dZ(t,RT()?Reflect.construct(e,n||[],Jl(t).constructor):e.apply(t,n))}function ST(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ql(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Jl(t){return Jl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jl(t)}function TT(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Yv(t,e)}function dZ(t,e){return e&&(vZ(e)==="object"||typeof e=="function")?e:pZ(t)}function Yv(t,e){return Yv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yv(t,e)}function vZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function RT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(RT=function(){return!!t})()}var hZ=function(t){TT(e,t);function e(n){ST(this,e);var o;return o=ET(this,e,[n]),st.call(o,n),o}return e}(ze),eh=function(t){TT(e,t);function e(n){ST(this,e);var o;o=ET(this,e,[n]),Ql(o,"dateType",void 0),Ql(o,"showLinkOperation",void 0),Ql(o,"linkOperationOption",void 0);var r;o.dateType=(r=n==null?void 0:n.dateType)!==null&&r!==void 0?r:rt.DATE;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Xe(n==null?void 0:n.linkOperationOption);var u;return o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:$n.controlName,o}return e}(U);Ql(eh,"Rules",hZ);function bZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function gZ(t,e,n){return e=wn(e),$Z(t,IT()?Reflect.construct(e,n||[],wn(t).constructor):e.apply(t,n))}function mZ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function BT(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function OZ(t,e,n){return e&&BT(t.prototype,e),n&&BT(t,n),t}function On(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Zl(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Zl=Reflect.get:Zl=function(r,i,u){var c=PZ(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Zl(t,e,n||t)}function wn(t){return wn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wn(t)}function wZ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&th(t,e)}function $Z(t,e){return e&&(EZ(e)==="object"||typeof e=="function")?e:bZ(t)}function th(t,e){return th=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},th(t,e)}function PZ(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=wn(t),t!==null););return t}function EZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function IT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(IT=function(){return!!t})()}var $n=function(t){wZ(e,t);function e(n){mZ(this,e);var o;return o=gZ(this,e,[n]),On(o,"props",void 0),o.props=new eh(n==null?void 0:n.props),o}return OZ(e,[{key:"toDataBindModel",value:function(o){var r=Zl(wn(e.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.dateType;r.props.dateType=i}return r}}]),e}(te);On($n,"controlType","timescope-column"),On($n,"controlName","\u65E5\u671F\u533A\u95F4"),On($n,"controlIcon","timescope-column"),On($n,"controlFieldType",g.TIMESCOPE),On($n,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}]);function SZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function TZ(t,e,n){return e=Yl(e),IZ(t,AT()?Reflect.construct(e,n||[],Yl(t).constructor):e.apply(t,n))}function RZ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yl(t){return Yl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yl(t)}function BZ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&oh(t,e)}function IZ(t,e){return e&&(AZ(e)==="object"||typeof e=="function")?e:SZ(t)}function oh(t,e){return oh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},oh(t,e)}function AZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function AT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(AT=function(){return!!t})()}var kT=function(t){BZ(e,t);function e(n){RZ(this,e);var o;return o=TZ(this,e,[n]),nh(o,"props",void 0),o.props=new eh(n==null?void 0:n.props),o}return e}(ne);nh(kT,"controlType","timescope-column"),nh(kT,"controlFieldType",g.TIMESCOPE);function kZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function DT(t,e,n){return e=ta(e),DZ(t,jT()?Reflect.construct(e,n||[],ta(t).constructor):e.apply(t,n))}function xT(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ea(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ta(t){return ta=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ta(t)}function FT(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&rh(t,e)}function DZ(t,e){return e&&(xZ(e)==="object"||typeof e=="function")?e:kZ(t)}function rh(t,e){return rh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rh(t,e)}function xZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function jT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(jT=function(){return!!t})()}var FZ=function(t){FT(e,t);function e(n){xT(this,e);var o;return o=DT(this,e,[n]),st.call(o,n),o}return e}(ze),ih=function(t){FT(e,t);function e(n){xT(this,e);var o;o=DT(this,e,[n]),ea(o,"dateType",void 0),ea(o,"showLinkOperation",void 0),ea(o,"linkOperationOption",void 0);var r;o.dateType=(r=n==null?void 0:n.dateType)!==null&&r!==void 0?r:rt.DATE;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Xe(n==null?void 0:n.linkOperationOption);var u;return o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Sn.controlName,o}return e}(U);ea(ih,"Rules",FZ);function jZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function LZ(t,e,n){return e=En(e),zZ(t,MT()?Reflect.construct(e,n||[],En(t).constructor):e.apply(t,n))}function MZ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function LT(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function NZ(t,e,n){return e&<(t.prototype,e),n&<(t,n),t}function Pn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function na(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?na=Reflect.get:na=function(r,i,u){var c=HZ(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},na(t,e,n||t)}function En(t){return En=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},En(t)}function VZ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&uh(t,e)}function zZ(t,e){return e&&(qZ(e)==="object"||typeof e=="function")?e:jZ(t)}function uh(t,e){return uh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},uh(t,e)}function HZ(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=En(t),t!==null););return t}function qZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function MT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(MT=function(){return!!t})()}var Sn=function(t){VZ(e,t);function e(n){MZ(this,e);var o;return o=LZ(this,e,[n]),Pn(o,"props",void 0),o.props=new ih(n==null?void 0:n.props),o}return NZ(e,[{key:"toDataBindModel",value:function(o){var r=na(En(e.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.dateType;r.props.dateType=i}return r}}]),e}(te);Pn(Sn,"controlType","timestamp-column"),Pn(Sn,"controlName","\u65E5\u671F"),Pn(Sn,"controlIcon","timestamp-column"),Pn(Sn,"controlFieldType",g.TIMESTAMP),Pn(Sn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}]);function UZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function CZ(t,e,n){return e=oa(e),GZ(t,NT()?Reflect.construct(e,n||[],oa(t).constructor):e.apply(t,n))}function WZ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ch(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function oa(t){return oa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oa(t)}function KZ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&lh(t,e)}function GZ(t,e){return e&&(XZ(e)==="object"||typeof e=="function")?e:UZ(t)}function lh(t,e){return lh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},lh(t,e)}function XZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function NT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(NT=function(){return!!t})()}var VT=function(t){KZ(e,t);function e(n){WZ(this,e);var o;return o=CZ(this,e,[n]),ch(o,"props",void 0),o.props=new ih(n==null?void 0:n.props),o}return e}(ne);ch(VT,"controlType","timestamp-column"),ch(VT,"controlFieldType",g.TIMESTAMP);function QZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zT(t,e,n){return e=ra(e),JZ(t,UT()?Reflect.construct(e,n||[],ra(t).constructor):e.apply(t,n))}function HT(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Tn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ra(t){return ra=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ra(t)}function qT(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ah(t,e)}function JZ(t,e){return e&&(ZZ(e)==="object"||typeof e=="function")?e:QZ(t)}function ah(t,e){return ah=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ah(t,e)}function ZZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function UT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(UT=function(){return!!t})()}var YZ=function(t){qT(e,t);function e(n){HT(this,e);var o;return o=zT(this,e,[n]),st.call(o,n),o}return e}(Rb),fh=function(t){qT(e,t);function e(n){HT(this,e);var o;o=zT(this,e,[n]),Tn(o,"optionConfig",void 0),Tn(o,"datasourceBind",void 0),Tn(o,"showLinkOperation",void 0),Tn(o,"linkOperationOption",void 0),Tn(o,"options",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Bn.controlName;var i;o.optionConfig=(i=n==null?void 0:n.optionConfig)!==null&&i!==void 0?i:"none",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Xe(n==null?void 0:n.linkOperationOption);var c;return o.options=Qe((c=n==null?void 0:n.options)!==null&&c!==void 0?c:[{}]),o}return e}(U);Tn(fh,"Rules",YZ);function eY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tY(t,e,n){return e=ia(e),rY(t,CT()?Reflect.construct(e,n||[],ia(t).constructor):e.apply(t,n))}function nY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ia(t){return ia=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ia(t)}function oY(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_h(t,e)}function rY(t,e){return e&&(iY(e)==="object"||typeof e=="function")?e:eY(t)}function _h(t,e){return _h=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_h(t,e)}function iY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function CT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(CT=function(){return!!t})()}var Bn=function(t){oY(e,t);function e(n){nY(this,e);var o;return o=tY(this,e,[n]),Rn(o,"props",void 0),o.props=new fh(n==null?void 0:n.props),o}return e}(te);Rn(Bn,"controlType","array-column"),Rn(Bn,"controlName","\u6570\u7EC4"),Rn(Bn,"controlIcon","array-column"),Rn(Bn,"controlFieldType",g.ARRAY),Rn(Bn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}]);function uY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cY(t,e,n){return e=ua(e),fY(t,WT()?Reflect.construct(e,n||[],ua(t).constructor):e.apply(t,n))}function lY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ua(t){return ua=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ua(t)}function aY(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&sh(t,e)}function fY(t,e){return e&&(_Y(e)==="object"||typeof e=="function")?e:uY(t)}function sh(t,e){return sh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sh(t,e)}function _Y(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function WT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(WT=function(){return!!t})()}var KT=function(t){aY(e,t);function e(n){lY(this,e);var o;return o=cY(this,e,[n]),yh(o,"props",void 0),o.props=new fh(n==null?void 0:n.props),o}return e}(ne);yh(KT,"controlType","array-column"),yh(KT,"controlFieldType",g.ARRAY);function yY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function sY(t,e,n){return e=ca(e),hY(t,GT()?Reflect.construct(e,n||[],ca(t).constructor):e.apply(t,n))}function pY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dY(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ca(t){return ca=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ca(t)}function vY(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ph(t,e)}function hY(t,e){return e&&(bY(e)==="object"||typeof e=="function")?e:yY(t)}function ph(t,e){return ph=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ph(t,e)}function bY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function GT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(GT=function(){return!!t})()}var XT=function(t){vY(e,t);function e(n){pY(this,e);var o;o=sY(this,e,[n]),dY(o,"displayLevel",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:kn.controlName;var i;return o.displayLevel=(i=n==null?void 0:n.displayLevel)!==null&&i!==void 0?i:1,o}return e}(U);function gY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mY(t,e,n){return e=An(e),PY(t,JT()?Reflect.construct(e,n||[],An(t).constructor):e.apply(t,n))}function OY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function QT(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function wY(t,e,n){return e&&QT(t.prototype,e),n&&QT(t,n),t}function In(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function la(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?la=Reflect.get:la=function(r,i,u){var c=EY(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},la(t,e,n||t)}function An(t){return An=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},An(t)}function $Y(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&dh(t,e)}function PY(t,e){return e&&(SY(e)==="object"||typeof e=="function")?e:gY(t)}function dh(t,e){return dh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dh(t,e)}function EY(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=An(t),t!==null););return t}function SY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function JT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(JT=function(){return!!t})()}var kn=function(t){$Y(e,t);function e(n){OY(this,e);var o;return o=mY(this,e,[n]),In(o,"props",void 0),o.props=new XT(n==null?void 0:n.props),o}return wY(e,[{key:"toDataBindModel",value:function(o){var r=la(An(e.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.displayLevel;r.props.displayLevel=i}return r}}]),e}(te);In(kn,"controlType","department-column"),In(kn,"controlName","\u90E8\u95E8"),In(kn,"controlIcon","department-column"),In(kn,"controlFieldType",g.DEPARTMENTS),In(kn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}]);function TY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function RY(t,e,n){return e=aa(e),AY(t,ZT()?Reflect.construct(e,n||[],aa(t).constructor):e.apply(t,n))}function BY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function aa(t){return aa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},aa(t)}function IY(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&hh(t,e)}function AY(t,e){return e&&(kY(e)==="object"||typeof e=="function")?e:TY(t)}function hh(t,e){return hh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hh(t,e)}function kY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ZT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ZT=function(){return!!t})()}var YT=function(t){IY(e,t);function e(n){BY(this,e);var o;return o=RY(this,e,[n]),vh(o,"props",void 0),o.props=new XT(n==null?void 0:n.props),o}return e}(ne);vh(YT,"controlType","department-column"),vh(YT,"controlFieldType",g.DEPARTMENTS);function DY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function eR(t,e,n){return e=fa(e),xY(t,oR()?Reflect.construct(e,n||[],fa(t).constructor):e.apply(t,n))}function tR(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fa(t){return fa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fa(t)}function nR(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&gh(t,e)}function xY(t,e){return e&&(FY(e)==="object"||typeof e=="function")?e:DY(t)}function gh(t,e){return gh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gh(t,e)}function FY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function oR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(oR=function(){return!!t})()}var jY=function(t){nR(e,t);function e(n){tR(this,e);var o;return o=eR(this,e,[n]),st.call(o,n),o}return e}(ze),mh=function(t){nR(e,t);function e(n){tR(this,e);var o;o=eR(this,e,[n]),bh(o,"showLinkOperation",void 0),bh(o,"linkOperationOption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:xn.controlName;var i;return o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Xe(n==null?void 0:n.linkOperationOption),o}return e}(U);bh(mh,"Rules",jY);function LY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function MY(t,e,n){return e=_a(e),zY(t,rR()?Reflect.construct(e,n||[],_a(t).constructor):e.apply(t,n))}function NY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _a(t){return _a=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_a(t)}function VY(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Oh(t,e)}function zY(t,e){return e&&(HY(e)==="object"||typeof e=="function")?e:LY(t)}function Oh(t,e){return Oh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Oh(t,e)}function HY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function rR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(rR=function(){return!!t})()}var xn=function(t){VY(e,t);function e(n){NY(this,e);var o;return o=MY(this,e,[n]),Dn(o,"props",void 0),o.props=new mh(n==null?void 0:n.props),o}return e}(te);Dn(xn,"controlType","auto-number-column"),Dn(xn,"controlName","\u81EA\u52A8\u7F16\u53F7"),Dn(xn,"controlIcon","auto-number-column"),Dn(xn,"controlFieldType",g.AUTO_NUMBER),Dn(xn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}]);function qY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function UY(t,e,n){return e=ya(e),KY(t,iR()?Reflect.construct(e,n||[],ya(t).constructor):e.apply(t,n))}function CY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ya(t){return ya=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ya(t)}function WY(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$h(t,e)}function KY(t,e){return e&&(GY(e)==="object"||typeof e=="function")?e:qY(t)}function $h(t,e){return $h=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$h(t,e)}function GY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function iR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(iR=function(){return!!t})()}var uR=function(t){WY(e,t);function e(n){CY(this,e);var o;return o=UY(this,e,[n]),wh(o,"props",void 0),o.props=new mh(n==null?void 0:n.props),o}return e}(ne);wh(uR,"controlType","auto-number-column"),wh(uR,"controlFieldType",g.AUTO_NUMBER);function XY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function QY(t,e,n){return e=sa(e),YY(t,cR()?Reflect.construct(e,n||[],sa(t).constructor):e.apply(t,n))}function JY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sa(t){return sa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sa(t)}function ZY(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ph(t,e)}function YY(t,e){return e&&(eee(e)==="object"||typeof e=="function")?e:XY(t)}function Ph(t,e){return Ph=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ph(t,e)}function eee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function cR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(cR=function(){return!!t})()}var lR=function(t){ZY(e,t);function e(n){JY(this,e);var o;o=QY(this,e,[n]);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:jn.controlName,o}return e}(U);function tee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nee(t,e,n){return e=pa(e),iee(t,aR()?Reflect.construct(e,n||[],pa(t).constructor):e.apply(t,n))}function oee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pa(t){return pa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pa(t)}function ree(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Eh(t,e)}function iee(t,e){return e&&(uee(e)==="object"||typeof e=="function")?e:tee(t)}function Eh(t,e){return Eh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Eh(t,e)}function uee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function aR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(aR=function(){return!!t})()}var jn=function(t){ree(e,t);function e(n){oee(this,e);var o;return o=nee(this,e,[n]),Fn(o,"props",void 0),o.props=new lR(n==null?void 0:n.props),o}return e}(te);Fn(jn,"controlType","file-column"),Fn(jn,"controlName","\u9644\u4EF6"),Fn(jn,"controlIcon","file-column"),Fn(jn,"controlFieldType",g.FILE),Fn(jn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function cee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lee(t,e,n){return e=da(e),_ee(t,fR()?Reflect.construct(e,n||[],da(t).constructor):e.apply(t,n))}function aee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function da(t){return da=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},da(t)}function fee(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Th(t,e)}function _ee(t,e){return e&&(yee(e)==="object"||typeof e=="function")?e:cee(t)}function Th(t,e){return Th=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Th(t,e)}function yee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(fR=function(){return!!t})()}var _R=function(t){fee(e,t);function e(n){aee(this,e);var o;return o=lee(this,e,[n]),Sh(o,"props",void 0),o.props=new lR(n==null?void 0:n.props),o}return e}(ne);Sh(_R,"controlType","file-column"),Sh(_R,"controlFieldType",g.FILE);function see(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function pee(t,e,n){return e=va(e),hee(t,yR()?Reflect.construct(e,n||[],va(t).constructor):e.apply(t,n))}function dee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function va(t){return va=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},va(t)}function vee(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Rh(t,e)}function hee(t,e){return e&&(bee(e)==="object"||typeof e=="function")?e:see(t)}function Rh(t,e){return Rh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rh(t,e)}function bee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function yR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(yR=function(){return!!t})()}var sR=function(t){vee(e,t);function e(n){dee(this,e);var o;o=pee(this,e,[n]);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Mn.controlName,o}return e}(U);function gee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mee(t,e,n){return e=ha(e),$ee(t,pR()?Reflect.construct(e,n||[],ha(t).constructor):e.apply(t,n))}function Oee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ln(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ha(t){return ha=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ha(t)}function wee(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Bh(t,e)}function $ee(t,e){return e&&(Pee(e)==="object"||typeof e=="function")?e:gee(t)}function Bh(t,e){return Bh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bh(t,e)}function Pee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pR=function(){return!!t})()}var Mn=function(t){wee(e,t);function e(n){Oee(this,e);var o;return o=mee(this,e,[n]),Ln(o,"props",void 0),o.props=new sR(n==null?void 0:n.props),o}return e}(te);Ln(Mn,"controlType","image-column"),Ln(Mn,"controlName","\u56FE\u7247"),Ln(Mn,"controlIcon","image-column"),Ln(Mn,"controlFieldType",g.IMAGE),Ln(Mn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function Eee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function See(t,e,n){return e=ba(e),Bee(t,dR()?Reflect.construct(e,n||[],ba(t).constructor):e.apply(t,n))}function Tee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ih(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ba(t){return ba=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ba(t)}function Ree(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ah(t,e)}function Bee(t,e){return e&&(Iee(e)==="object"||typeof e=="function")?e:Eee(t)}function Ah(t,e){return Ah=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ah(t,e)}function Iee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function dR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(dR=function(){return!!t})()}var vR=function(t){Ree(e,t);function e(n){Tee(this,e);var o;return o=See(this,e,[n]),Ih(o,"props",void 0),o.props=new sR(n==null?void 0:n.props),o}return e}(ne);Ih(vR,"controlType","image-column"),Ih(vR,"controlFieldType",g.IMAGE);function Aee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kee(t,e,n){return e=ga(e),Fee(t,hR()?Reflect.construct(e,n||[],ga(t).constructor):e.apply(t,n))}function Dee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ga(t){return ga=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ga(t)}function xee(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&kh(t,e)}function Fee(t,e){return e&&(jee(e)==="object"||typeof e=="function")?e:Aee(t)}function kh(t,e){return kh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kh(t,e)}function jee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function hR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(hR=function(){return!!t})()}var bR=function(t){xee(e,t);function e(n){Dee(this,e);var o;o=kee(this,e,[n]);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Vn.controlName,o}return e}(U);function Lee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Mee(t,e,n){return e=ma(e),zee(t,gR()?Reflect.construct(e,n||[],ma(t).constructor):e.apply(t,n))}function Nee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ma(t){return ma=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ma(t)}function Vee(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Dh(t,e)}function zee(t,e){return e&&(Hee(e)==="object"||typeof e=="function")?e:Lee(t)}function Dh(t,e){return Dh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dh(t,e)}function Hee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function gR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(gR=function(){return!!t})()}var Vn=function(t){Vee(e,t);function e(n){Nee(this,e);var o;return o=Mee(this,e,[n]),Nn(o,"props",void 0),o.props=new bR(n==null?void 0:n.props),o}return e}(te);Nn(Vn,"controlType","people-column"),Nn(Vn,"controlName","\u4EBA\u5458"),Nn(Vn,"controlIcon","people-column"),Nn(Vn,"controlFieldType",g.EMPLOYEES),Nn(Vn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function qee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Uee(t,e,n){return e=Oa(e),Kee(t,mR()?Reflect.construct(e,n||[],Oa(t).constructor):e.apply(t,n))}function Cee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Oa(t){return Oa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oa(t)}function Wee(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Fh(t,e)}function Kee(t,e){return e&&(Gee(e)==="object"||typeof e=="function")?e:qee(t)}function Fh(t,e){return Fh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fh(t,e)}function Gee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(mR=function(){return!!t})()}var OR=function(t){Wee(e,t);function e(n){Cee(this,e);var o;return o=Uee(this,e,[n]),xh(o,"props",void 0),o.props=new bR(n==null?void 0:n.props),o}return e}(ne);xh(OR,"controlType","people-column"),xh(OR,"controlFieldType",g.EMPLOYEES);function Xee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wR(t,e,n){return e=wa(e),Qee(t,ER()?Reflect.construct(e,n||[],wa(t).constructor):e.apply(t,n))}function $R(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function wa(t){return wa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wa(t)}function PR(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Lh(t,e)}function Qee(t,e){return e&&(Jee(e)==="object"||typeof e=="function")?e:Xee(t)}function Lh(t,e){return Lh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Lh(t,e)}function Jee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ER(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ER=function(){return!!t})()}var Zee=function(t){PR(e,t);function e(n){$R(this,e);var o;return o=wR(this,e,[n]),st.call(o,n),o}return e}(ze),Mh=function(t){PR(e,t);function e(n){$R(this,e);var o;o=wR(this,e,[n]),jh(o,"showLinkOperation",void 0),jh(o,"linkOperationOption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Hn.controlName;var i;return o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Xe(n==null?void 0:n.linkOperationOption),o}return e}(U);jh(Mh,"Rules",Zee);function Yee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ete(t,e,n){return e=$a(e),ote(t,SR()?Reflect.construct(e,n||[],$a(t).constructor):e.apply(t,n))}function tte(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $a(t){return $a=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$a(t)}function nte(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Nh(t,e)}function ote(t,e){return e&&(rte(e)==="object"||typeof e=="function")?e:Yee(t)}function Nh(t,e){return Nh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Nh(t,e)}function rte(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function SR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(SR=function(){return!!t})()}var Hn=function(t){nte(e,t);function e(n){tte(this,e);var o;return o=ete(this,e,[n]),zn(o,"props",void 0),o.props=new Mh(n==null?void 0:n.props),o}return e}(te);zn(Hn,"controlType","location-column"),zn(Hn,"controlName","\u5730\u5740"),zn(Hn,"controlIcon","location-column"),zn(Hn,"controlFieldType",g.ADDRESS),zn(Hn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}]);function ite(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ute(t,e,n){return e=Pa(e),ate(t,TR()?Reflect.construct(e,n||[],Pa(t).constructor):e.apply(t,n))}function cte(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Pa(t){return Pa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pa(t)}function lte(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&zh(t,e)}function ate(t,e){return e&&(fte(e)==="object"||typeof e=="function")?e:ite(t)}function zh(t,e){return zh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zh(t,e)}function fte(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function TR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(TR=function(){return!!t})()}var RR=function(t){lte(e,t);function e(n){cte(this,e);var o;return o=ute(this,e,[n]),Vh(o,"props",void 0),o.props=new Mh(n==null?void 0:n.props),o}return e}(ne);Vh(RR,"controlType","location-column"),Vh(RR,"controlFieldType",g.ADDRESS);function _te(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function BR(t,e,n){return e=Sa(e),yte(t,kR()?Reflect.construct(e,n||[],Sa(t).constructor):e.apply(t,n))}function IR(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ea(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Sa(t){return Sa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sa(t)}function AR(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hh(t,e)}function yte(t,e){return e&&(ste(e)==="object"||typeof e=="function")?e:_te(t)}function Hh(t,e){return Hh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hh(t,e)}function ste(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function kR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(kR=function(){return!!t})()}var pte=function(t){AR(e,t);function e(n){IR(this,e);var o;return o=BR(this,e,[n]),Ea(o,"sortFieldCode",{type:"string",message:d.getMessage("pleaseSelectSortFieldCode")}),n.sort===!0&&(o.sortFieldCode.required=!0),o}return e}(ze),qh=function(t){AR(e,t);function e(n){IR(this,e);var o;o=BR(this,e,[n]),Ea(o,"fieldCodeList",void 0),Ea(o,"sortFieldCode",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:At.controlName;var i;o.fieldCodeList=(i=n==null?void 0:n.fieldCodeList)!==null&&i!==void 0?i:[];var u;return o.sortFieldCode=(u=n==null?void 0:n.sortFieldCode)!==null&&u!==void 0?u:"",o}return e}(U);Ea(qh,"Rules",pte);function dte(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vte(t,e,n){return e=qn(e),Ote(t,xR()?Reflect.construct(e,n||[],qn(t).constructor):e.apply(t,n))}function hte(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function DR(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function bte(t,e,n){return e&&DR(t.prototype,e),n&&DR(t,n),t}function Ce(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ta(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Ta=Reflect.get:Ta=function(r,i,u){var c=wte(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Ta(t,e,n||t)}function qn(t){return qn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qn(t)}function gte(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Uh(t,e)}function mte(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Ote(t,e){return e&&($te(e)==="object"||typeof e=="function")?e:dte(t)}function Uh(t,e){return Uh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Uh(t,e)}function wte(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=qn(t),t!==null););return t}function $te(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xR=function(){return!!t})()}var Pte=1,At=function(e){gte(n,e);function n(o){hte(this,n);var r;r=vte(this,n,[o]),Ce(r,"excludes",void 0),Ce(r,"childrenMaxLength",void 0),Ce(r,"props",void 0),Ce(r,"children",void 0);var i=mte(this,n)?this.constructor:void 0,u=i.excludes,c=i.childrenMaxLength;return r.props=new qh(o==null?void 0:o.props),Ge(r,"children",o==null?void 0:o.children,void 0,"Designer"),r.excludes=it(u),r.childrenMaxLength=c,r}return bte(n,[{key:"judgeJoinChildren",value:function(r){var i=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(r);return i&&this.childrenMaxLength>this.children.length}},{key:"toDataBindModel",value:function(r){var i=Ta(qn(n.prototype),"toDataBindModel",this).call(this,r);if(i){var u=this.props.fieldCodeList;i.props.fieldCodeList=u}return i}}]),n}(te);Ce(At,"controlType","custom-column"),Ce(At,"controlName","\u81EA\u5B9A\u4E49"),Ce(At,"controlIcon","custom-column"),Ce(At,"excludes",[]),Ce(At,"childrenMaxLength",Pte),Ce(At,"setting",[{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0}]);function Ete(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ste(t,e,n){return e=Ra(e),Bte(t,FR()?Reflect.construct(e,n||[],Ra(t).constructor):e.apply(t,n))}function Tte(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ch(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ra(t){return Ra=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ra(t)}function Rte(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Wh(t,e)}function Bte(t,e){return e&&(Ite(e)==="object"||typeof e=="function")?e:Ete(t)}function Wh(t,e){return Wh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wh(t,e)}function Ite(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function FR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(FR=function(){return!!t})()}var Ate=function(t){Rte(e,t);function e(n){Tte(this,e);var o;return o=Ste(this,e,[n]),Ch(o,"props",void 0),Ch(o,"children",void 0),o.props=new qh(n==null?void 0:n.props),Ge(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return e}(ne);Ch(Ate,"controlType","custom-column");function kte(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Dte(t,e,n){return e=Ba(e),Lte(t,jR()?Reflect.construct(e,n||[],Ba(t).constructor):e.apply(t,n))}function xte(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fte(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ba(t){return Ba=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ba(t)}function jte(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Kh(t,e)}function Lte(t,e){return e&&(Mte(e)==="object"||typeof e=="function")?e:kte(t)}function Kh(t,e){return Kh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kh(t,e)}function Mte(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function jR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(jR=function(){return!!t})()}var LR=function(t){jte(e,t);function e(n){xte(this,e);var o;o=Dte(this,e,[n]),Fte(o,"datasourceBind",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:kt.controlName;var i;return o.datasourceBind=new Ro((i=n==null?void 0:n.datasourceBind)!==null&&i!==void 0?i:{attributes:kt.controlCustomAttributes}),o}return e}(U);function Nte(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Vte(t,e,n){return e=Ia(e),Ute(t,NR()?Reflect.construct(e,n||[],Ia(t).constructor):e.apply(t,n))}function zte(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function MR(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Hte(t,e,n){return e&&MR(t.prototype,e),n&&MR(t,n),t}function Un(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ia(t){return Ia=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ia(t)}function qte(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Gh(t,e)}function Ute(t,e){return e&&(Cte(e)==="object"||typeof e=="function")?e:Nte(t)}function Gh(t,e){return Gh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gh(t,e)}function Cte(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function NR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(NR=function(){return!!t})()}var kt=function(t){qte(e,t);function e(n){zte(this,e);var o;return o=Vte(this,e,[n]),Un(o,"props",void 0),o.props=new LR(n==null?void 0:n.props),o}return Hte(e,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),e}(te);Un(kt,"controlType","employee-column"),Un(kt,"controlName","\u4EBA\u5458"),Un(kt,"controlIcon","employee-column"),Un(kt,"controlFieldType",g.EMPLOYEES),Un(kt,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function Wte(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Kte(t,e,n){return e=Aa(e),Qte(t,VR()?Reflect.construct(e,n||[],Aa(t).constructor):e.apply(t,n))}function Gte(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Aa(t){return Aa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Aa(t)}function Xte(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Qh(t,e)}function Qte(t,e){return e&&(Jte(e)==="object"||typeof e=="function")?e:Wte(t)}function Qh(t,e){return Qh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qh(t,e)}function Jte(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function VR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(VR=function(){return!!t})()}var zR=function(t){Xte(e,t);function e(n){Gte(this,e);var o;return o=Kte(this,e,[n]),Xh(o,"props",void 0),o.props=new LR(n==null?void 0:n.props),o}return e}(ne);Xh(zR,"controlType","employee-column"),Xh(zR,"controlFieldType",g.EMPLOYEES);function Zte(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Yte(t,e,n){return e=ka(e),nne(t,HR()?Reflect.construct(e,n||[],ka(t).constructor):e.apply(t,n))}function ene(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ka(t){return ka=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ka(t)}function tne(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Zh(t,e)}function nne(t,e){return e&&(one(e)==="object"||typeof e=="function")?e:Zte(t)}function Zh(t,e){return Zh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zh(t,e)}function one(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function HR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(HR=function(){return!!t})()}var qR=function(t){tne(e,t);function e(n){ene(this,e);var o;o=Yte(this,e,[n]),Jh(o,"lineEllipsis",void 0),Jh(o,"showLinkOperation",void 0),Jh(o,"linkOperationOption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Cn.controlName;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Xe(n==null?void 0:n.linkOperationOption);var u;return o.lineEllipsis=(u=n==null?void 0:n.lineEllipsis)!==null&&u!==void 0?u:1,o}return e}(U);function rne(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ine(t,e,n){return e=Da(e),lne(t,UR()?Reflect.construct(e,n||[],Da(t).constructor):e.apply(t,n))}function une(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Da(t){return Da=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Da(t)}function cne(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Yh(t,e)}function lne(t,e){return e&&(ane(e)==="object"||typeof e=="function")?e:rne(t)}function Yh(t,e){return Yh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yh(t,e)}function ane(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function UR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(UR=function(){return!!t})()}var Cn=function(t){cne(e,t);function e(n){une(this,e);var o;return o=ine(this,e,[n]),Dt(o,"props",void 0),Dt(o,"children",void 0),o.props=new qR(n==null?void 0:n.props),o}return e}(te);Dt(Cn,"controlType","approval-status-column"),Dt(Cn,"controlName","\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),Dt(Cn,"controlIcon","approval-status-column"),Dt(Cn,"excludes",[]),Dt(Cn,"setting",[{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0}]);function fne(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _ne(t,e,n){return e=xa(e),pne(t,CR()?Reflect.construct(e,n||[],xa(t).constructor):e.apply(t,n))}function yne(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function e0(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function xa(t){return xa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xa(t)}function sne(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&t0(t,e)}function pne(t,e){return e&&(dne(e)==="object"||typeof e=="function")?e:fne(t)}function t0(t,e){return t0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},t0(t,e)}function dne(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function CR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(CR=function(){return!!t})()}var vne=function(t){sne(e,t);function e(n){yne(this,e);var o;return o=_ne(this,e,[n]),e0(o,"props",void 0),e0(o,"children",void 0),o.props=new qR(n==null?void 0:n.props),o}return e}(ne);e0(vne,"controlType","approval-status-column");function hne(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function WR(t,e,n){return e=Fa(e),bne(t,XR()?Reflect.construct(e,n||[],Fa(t).constructor):e.apply(t,n))}function KR(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ne(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Fa(t){return Fa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fa(t)}function GR(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&n0(t,e)}function bne(t,e){return e&&(gne(e)==="object"||typeof e=="function")?e:hne(t)}function n0(t,e){return n0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},n0(t,e)}function gne(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function XR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(XR=function(){return!!t})()}var mne=function(t){GR(e,t);function e(n){KR(this,e);var o;return o=WR(this,e,[n]),o.push({type:"object",fields:{}}),o}return e}($t),o0=function(t){GR(e,t);function e(n){KR(this,e);var o;o=WR(this,e,[n]),Ne(o,"search",void 0),Ne(o,"cancel",void 0),Ne(o,"searchType",void 0),Ne(o,"labelPosition",void 0),Ne(o,"viewType",void 0),Ne(o,"isLoading",void 0),Ne(o,"custom",void 0),Ne(o,"queryTypeMap",void 0),Ne(o,"childMinWidth",void 0),Ne(o,"colGap",void 0);var r;o.searchType=(r=n==null?void 0:n.searchType)!==null&&r!==void 0?r:"model";var i;o.labelPosition=(i=n==null?void 0:n.labelPosition)!==null&&i!==void 0?i:"top";var u;o.viewType=(u=n==null?void 0:n.viewType)!==null&&u!==void 0?u:"mini";var c;o.search=new ct((c=n==null?void 0:n.search)!==null&&c!==void 0?c:{content:"\u67E5\u8BE2",isShow:!0});var a;o.cancel=new ct((a=n==null?void 0:n.cancel)!==null&&a!==void 0?a:{content:"\u91CD\u7F6E",isShow:!0});var l;o.isLoading=(l=n==null?void 0:n.isLoading)!==null&&l!==void 0?l:!1;var f;o.custom=((f=n==null?void 0:n.custom)!==null&&f!==void 0?f:[]).map(function(O){return new ct(O)});var y;o.queryTypeMap=(y=n==null?void 0:n.queryTypeMap)!==null&&y!==void 0?y:[];var p;o.childMinWidth=(p=n==null?void 0:n.childMinWidth)!==null&&p!==void 0?p:230;var b;return o.colGap=(b=n==null?void 0:n.colGap)!==null&&b!==void 0?b:24,o}return e}(Cf);Ne(o0,"RuntimeRules",mne);function One(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wne(t,e,n){return e=ja(e),Ene(t,QR()?Reflect.construct(e,n||[],ja(t).constructor):e.apply(t,n))}function $ne(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r0(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ja(t){return ja=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ja(t)}function Pne(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i0(t,e)}function Ene(t,e){return e&&(Sne(e)==="object"||typeof e=="function")?e:One(t)}function i0(t,e){return i0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},i0(t,e)}function Sne(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function QR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(QR=function(){return!!t})()}var JR=function(t){Pne(e,t);function e(n){$ne(this,e);var o;return o=wne(this,e,[n]),r0(o,"props",void 0),o.props=new o0(n==null?void 0:n.props),o}return e}(vx);r0(JR,"controlType","simple-search"),r0(JR,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0},{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"search-view-type",visible:!0}]);function Tne(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Rne(t,e,n){return e=La(e),Ane(t,ZR()?Reflect.construct(e,n||[],La(t).constructor):e.apply(t,n))}function Bne(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u0(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function La(t){return La=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},La(t)}function Ine(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c0(t,e)}function Ane(t,e){return e&&(kne(e)==="object"||typeof e=="function")?e:Tne(t)}function c0(t,e){return c0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},c0(t,e)}function kne(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ZR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ZR=function(){return!!t})()}var Dne=function(t){Ine(e,t);function e(n){Bne(this,e);var o;o=Rne(this,e,[n]),u0(o,"props",void 0),u0(o,"children",void 0),o.props=new o0(n==null?void 0:n.props);var r;return o.children=(r=n==null?void 0:n.children)!==null&&r!==void 0?r:[],o}return e}($x);u0(Dne,"controlType","simple-search");const xne=(t,e)=>{const n=Array.isArray(t),o=n?t:[t];Wne(e==null?void 0:e.events),Vne(o),zne(o);const r=Nne(o),i=Hne(r,e);let u=Mt(C(i,c=>Mne(c,e)));return n?u:u[0]},Fne=[s.DIVIDER,s.TEXT,s.TITLE,s.LINK,s.BUTTON,"list-btn-export-list","list-btn-export-record"],jne=["subtable","grid-table"],Lne=["simple-search"];function Mne(t,e){var r,i,u,c,a,l;let n=t;if(n.controlType||(n.is_layout_control===!0?n.controlType="layout":Fne.includes(n.type)?n.controlType="base":n.controlType="form",jne.includes(n.type)&&(n.controlType="list"),Lne.includes(n.type)&&(n.controlType="search-view")),delete n.is_layout_control,t.props.lable_position&&(t.props.labelPosition=t.props.lable_position),t.props.select_mode&&(t.props.optionsFormat=t.props.select_mode),t.props.value&&(t.props.defaultValue=t.props.value),fe((r=t==null?void 0:t.props)==null?void 0:r.caption)&&(n.props.caption=t.props.caption.zh),fe((i=t==null?void 0:t.props)==null?void 0:i.placeholder)&&(n.props.placeholder=t.props.placeholder.zh),fe((u=t==null?void 0:t.props)==null?void 0:u.placeholder_end)&&(n.props.placeholder_end=t.props.placeholder_end.zh),t.type==="department-search"&&(n.type="department",t.props.value.length&&(n.props.default_value=t.props.value),n.props.showType=t.props.show_tree?"tree":"default",n.props.rangeOptions=t.props.department_list),t.type==="automatic-number"&&(n.type="auto-number",n.props.defaultValue=t.props.value),t.type==="file"&&(n.type="attachment",n.props.attachmentAccept=(c=t.attachment_format)==null?void 0:c.split(","),n.props.showType=t.props.show_type==="title"?"default":"table"),t.type==="image"&&(n.props.attachmentAccept=(a=t.attachment_format)==null?void 0:a.split(",")),t.type==="date-pick"&&(n.type="date-picker"),t.type==="rich-text"&&(fe(t.props.value)?n.props.defaultValue=t.props.value.zh:n.props.defaultValue=t.props.value),["link","text","button"].includes(t.type)&&(fe(t.props.value)?n.props.content=t.props.value.zh:n.props.content=t.props.value),t.type==="text"&&t.props.showState==="iconText"&&(n.props.showState="image"),t.type==="user-search"&&(n.type="employee",n.props.defaultValue=t.props.value),t.type==="address"&&(n.props.addressType=t.props.address_type_value),n.type==="subtable"){const f=n.props.entry_type||n.props.entryType;n.props.openType=f==="subpage"?"modal":"default",((l=n.children[0])==null?void 0:l.type)==="subtable-row"&&n.props.headers&&(n.props.headers=n.props.headers.map((y,p)=>{const b=new dK.Designer;b.props.caption=fe(y.field_name)?y.field_name.zh:y.field_name;const O=b.toSchema();O.id=y.header_id;const m=n.children[0].children[p].children[0];return m&&(O.children=[m]),O}),n.children=[])}if(n.type==="subtable-cell"&&(n.type="subtable-column"),["radio","checkbox","select","select-multiple"].includes(t.type)&&(t.props.options.map(f=>{f.label=fe(f.text)?f.text.zh:f.text,f.id=f.id||f.opt_id||f.optId||f.data_id}),n=t),t.type==="grid-row"){const f=24/n.children.length;n.children=n.children.map(y=>{const p=new pE.Designer;p.props.span=f;const b=p.toSchema();return b.children.push(y),b})}if(t.type==="grid-layout-row"&&(n.type="row"),t.type==="grid-layout-col"&&(n.type="col"),t.type==="group-panel"&&(n.type="card-group",n.props.collapse=n.props.flod==="no"?"none":n.props.flod),t.type==="tabs-pane"&&(n.type="tab-pane"),t.type==="calc"){const f=n==null?void 0:n.children[0],y=n==null?void 0:n.children[1],p={};f&&(YR(n,e),p.result=f.props.data_bind,n.id=f.id,n.props=f.props,n.props.script_src=f.props.script_src,n.props.script_echo=f.props.script_echo,n.props.precision=f.props.precision,n.props.micrometer=f.props.is_show_money,n.props.showUpperCase=f.props.is_show_chn),y&&(p.unit=y.props.data_bind,n.props.default_value={unit:y.props.value}),n.props.dataBind=p,delete n.children}if(t.type==="amount-currency"){n.type="amount",n.controlType="form";const f=n==null?void 0:n.children[0],y=n==null?void 0:n.children[1],p={},b={};f&&(YR(n,e),n.id=f.id,p.amount=f.props.data_bind,n.props.range_min=Lt(f.props.range_min),n.props.range_max=Lt(f.props.range_max),b.amount=Lt(f.props.value),n.props.required=f.props.required,n.props.is_hide=f.props.is_hide,n.props.default_state=f.props.default_state,n.props.caption=fe(f.props.caption)?f.props.caption.zh:f.props.caption,n.props.is_hide_caption=f.props.is_hide_caption,n.props.showUpperCase=f.props.is_show_chn),y&&(p.currency=y.props.data_bind,b.currency=y.props.value,n.props.datasourceBind=y.props.datasource_bind,n.props.options=y.props.options.map(O=>({label:O.text,value:O.value}))),n.props.dataBind=p,n.props.defaultValue=b,delete n.children}if(t.type==="date-range"){n.controlType="form";const f=n==null?void 0:n.children[0],y=n==null?void 0:n.children[1];n.props.placeholderStart=fe(t.props.placeholder)?t.props.placeholder.zh:t.props.placeholder,n.props.caption=fe(t.props.caption)?t.props.caption.zh:t.props.caption;const p={};f&&(p.min=f.props.data_bind),y&&(p.max=y.props.data_bind),n.props.dataBind=p,delete n.children}return t.type==="score"&&(n.props.defaultValue=n.props.value*1),["input","textarea"].includes(t.type)&&(n.props.defaultValue=fe(t.props.value)?t.props.value.zh:t.props.value),t.type==="number"&&(n.props.range_min=Lt(t.props.range_min),n.props.range_max=Lt(t.props.range_max),n.props.defaultValue=Lt(t.props.value)),t.type==="list-page-btn-custom-button"&&(t.type="button"),t.type==="button"&&t.props.button_type==="dashed"&&(n.props.buttonType="default"),Kne(n,e==null?void 0:e.control_events),n}function YR(t,e){if(!e)return;const{displayBoList:n=[],behaviors:o=[]}=e,r=t.id,i=t.children[0].id;n.forEach(u=>{u.id===r&&(u.id=i);const c=u.show_controls.findIndex(l=>l===r),a=u.hide_controls.findIndex(l=>l===r);c>-1&&u.show_controls.splice(c,1,i),a>-1&&u.hide_controls.splice(a,1,i)}),o.forEach(u=>{u.ctrl_id===r&&(u.id=i)})}function Nne(t){if(!Array.isArray(t)||!t.find(r=>r.type==="grid"))return t;const o=new LX.Designer().toSchema();return o.children=t,[o]}function Vne(t){t.forEach(e=>{e.children&&Cne(e.children)})}function zne(t){t.forEach(e=>{var o,r;if(!(e&&e.children))return;const n=e.children;for(let i=0;i<n.length;i++){const u=n[i],c=(r=(o=n[i])==null?void 0:o.children)==null?void 0:r[0];u.type==="grid-row"&&c&&["group-panel","subtable","tab"].includes(c.type)&&n.splice(i,1,c)}})}function Hne(t,e){var b,O,m,w,h,$,P,E;if(!(Array.isArray(t)&&t.length===1))return t;const n=t[0];if(n.type!=="list-page")return t;const{props:o,children:r}=n,[i,u,c]=r;qne(i),c.props.is_fixed_header=(b=o==null?void 0:o.source_config)==null?void 0:b.is_fixed_header,Une(c,u);const a=(m=(O=o==null?void 0:o.source_config)==null?void 0:O.data_code)!=null?m:e==null?void 0:e.dataCode,l=((h=(w=o==null?void 0:o.source_config)==null?void 0:w.svc_code)!=null?h:a)?`${a}_selectMore`:void 0,f=(P=($=o==null?void 0:o.source_config)==null?void 0:$.orders)!=null?P:[],y=new vX.Designer;y.props.datasourceBind=new X({dataCode:a,svcCode:l,orders:jA(f)}),y.props.isShowSubList=o.is_show_sublist,y.props.triggerType=o.timing_type,y.props.triggerFieldCode=o.ctrl_field_code,(E=o==null?void 0:o.sublist_page)==null||E.sublists.forEach(T=>{T.title=fe(T.title)?T.title.zh:T.title}),y.props.sublistPage=o.sublist_page;const p=y.toSchema();return p.children.push(i,c),[p]}function qne(t){t.type="simple-search",t.control_type="search-view",t.children.forEach(e=>{var o,r;const n=fe(e.placeholder)?e.placeholder.zh:e.placeholder;e.type==="number-range"&&(e.type="search-number-range",e.placeholderStart=n,e.placeholderEnd=n),e.type==="date-pick"&&(e.type="search-date-range",e.placeholderStart=n,e.placeholderEnd=n,e.dateType=(r=(o=e.dateType)==null?void 0:o.replace)==null?void 0:r.call(o,/range$/)),(e.type==="automatic-number"||e.type==="auto-number")&&(e.type="search-input",e.props.defaultValue="")})}function Une(t,e){t.children=e.children.filter(n=>n.type!=="list-page-btn-custom-head"),t.type="grid-table",t.props.sublist_page&&(t.props.sublist_page.form_bind={data_code:t.props.sublist_page.data_code,form_key:t.props.sublist_page.form_key}),Array.isArray(t.props.headers)&&(t.props.headers=t.props.headers.map(n=>{var r,i,u;let o={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:n.field_code,field_name:fe(n.field_name)?n.field_name.zh:n.field_name}};return o.props.caption=fe(n.field_name)?n.field_name.zh:n.field_name,o.props.filter_tags=n.is_filter_tags,o.props.fixed=n.fixed,o.props.display_bo_list=n.display_bo_list,o.props.date_type=n.date_type,o.props.optionConfig="none",n.header_width_config&&(o.props.widthType=n.header_width_config==="1"?"auto":"px"),o.props.widthType==="px"&&n.header_width&&(o.props.width=Number(n.header_width)),n.table_header_type==="order"?(o.type="order-column",o.props.fixed=!0):n.table_header_type==="operation"?(o.type="operation-column",o.props.check=(r=n.check)!=null?r:{},o.props.check.openType="window",o.props.delete=(i=n.delete)!=null?i:{},o.props.delete.openType="window",o.props.edit=(u=n.edit)!=null?u:{},o.props.edit.openType="window",o.props.fixed=!0):(o.type=n.field_type+"-column",n.field_type==="auto_number"&&(o.type="auto-number-column"),n.field_type==="relation"&&(o.type="varchar-column")),n.convert_switch&&(o.props.optionConfig=n.convert_type===1?"datasource":"custom"),o.props.optionConfig==="datasource"?o.props.datasource_bind=new X({svcCode:n.svc_code,displayBoList:n.display_bo_list,valueFieldCode:n.field_match,dataCode:n.field_source}):o.props.optionConfig==="custom"&&(o.props.options=n.custom_match_bo_list),o}))}function Cne(t){var n;let e=null;for(let o=0;o<t.length;o++){const r=t[o];if(!!r){if(r.children&&((n=r.children[0])==null?void 0:n.type)==="group-panel"){e=r.children[0];continue}e&&(e.children.push(r),t.splice(o,1),o--)}}}function Wne(t){!t||(t.did_mount=t.did_mount.map(e=>e.name),t.will_submit=t.will_submit.map(e=>e.name),t.did_submit=t.did_submit.map(e=>e.name))}function Kne(t,e){var o;if(!e||!t.props.events)return;const n=Object.keys(t.props.events);!n.length||(n.forEach(r=>{!t.props.events[r].length||(e[t.id]||(e[t.id]={}),e[t.id][r]||(e[t.id][r]=[]),e[t.id][r].push(...t.props.events[r].map(i=>i.name)))}),(o=e[t.id])!=null&&o.on_blur&&(e[t.id].on_change||(e[t.id].on_change=[]),e[t.id].on_change.push(...e[t.id].on_blur)))}const Gne=(t,e)=>{const n=Array.isArray(t);let r=Mt(C(n?t:[t],i=>Xne(i)));return n?r:r[0]};function Xne(t,e){return t.type===s.LIST_VIEW&&t.children.find(o=>o.type===s.GRID_TABLE).props.headers.forEach(o=>{!o.props.data_bind&&o.props.field_code&&(o.props.data_bind=new De({dataCode:t.props.datasource_bind.data_code,fieldCode:o.props.field_code}))}),t}const Qne=(t,e)=>{const n=Array.isArray(t);let r=Mt(C(n?t:[t],i=>Jne(i)));return n?r:r[0]};function Jne(t,e){return[s.BUTTON,s.CREATE_FORM_LIST_BUTTON,s.BATCH_SUBMISSION_LIST_BUTTON,s.SUBMISSION_RECORD_LIST_BUTTON,s.IMPORT_RECORD_LIST_BUTTON,s.EXPORT_RECORD_LIST_BUTTON,s.EXPORT_LIST_BUTTON,s.FORM_SELECT_BUTTON,s.LIST_SELECT_BUTTON].includes(t.type)&&(t.props.button_type==="default"&&(t.props.button_type="secondary"),t.props.button_type==="danger"&&(t.props.button_type="secondary",t.props.color="danger"),t.props.icon||(t.props.icon="iconfenlei2")),t.type===s.IMPORT_RECORD_LIST_BUTTON&&(t.props.icon="iconshangchuan3"),t.type===s.EXPORT_LIST_BUTTON&&(t.props.icon="iconxiazai1"),t}const Zne=(t,e)=>{const n=Array.isArray(t);let r=Mt(C(n?t:[t],i=>Yne(i)));return n?r:r[0]};function Yne(t,e){if(t.props.icon){let n=t.props.icon;switch(n){case"icongeren":n="iconyyzy-renyuan";break;case"iconjine1":n="iconcaiwu";break;case"iconhuibao":n="iconyyzy-tianxie";break;case"iconwenjian":n="iconyyzy-wenjianjia1";break;case"iconyingpin":n="iconyyzy-gongzuo";break;case"iconpiliangtijiaojilu":n="iconyyzy-renwu";break}t.props.icon=n}return t}const eoe=(t,e)=>{const n=Array.isArray(t);let r=Mt(C(n?t:[t],i=>noe(i)));return n?r:r[0]},toe=[s.ROW,s.TAB,s.SUBTABLE,s.GRID_ROW,s.CARD_GROUP];function noe(t,e){return t.type===s.TAB_PANE&&(t.children=t.children.map(n=>{if(toe.includes(n.type))return n;const o=new zW.Designer,r=new pE.Designer;o.children.push(r);const i=o.toSchema();return i.children[0].children.push(n),i})),t}const ooe=(t,e)=>{const n=Array.isArray(t);let r=Mt(C(n?t:[t],i=>roe(i)));return n?r:r[0]};function roe(t,e){return t.type===s.GRID_TABLE&&t.props.headers.forEach(n=>{n.type===s.OPERATION_COLUMN&&(n.props.check.priorityProcess=!0)}),t}const ioe=(t,e)=>{const n=Array.isArray(t);let r=C(n?t:[t],i=>uoe(i));return n?r:r[0]};function uoe(t,e){return t.type===s.SUBTABLE&&(t.props.default_rows=t.props.limit_rows),t}const coe=(t,e)=>{const n=Array.isArray(t);let r=C(n?t:[t],i=>loe(i));return n?r:r[0]};function wt(t,e){t.field_code&&(t.field_type=e)}function loe(t,e){var o;const n={[s.TITLE]:g.AUTO_NUMBER,[s.ADDRESS]:g.ADDRESS,[s.ATTACHMENT]:g.FILE,[s.AUTO_NUMBER]:g.AUTO_NUMBER,[s.CHECKBOX]:g.ARRAY,[s.DATE_PICKER]:g.TIMESTAMP,[s.DEPARTMENT]:g.DEPARTMENTS,[s.DEPARTMENT2]:g.DEPARTMENTS,[s.EMPLOYEE]:g.EMPLOYEES,[s.EMPLOYEE2]:g.EMPLOYEES,[s.IMAGE]:g.IMAGE,[s.INPUT]:g.VARCHAR,[s.NUMBER]:g.DECIMAL,[s.RADIO]:g.VARCHAR,[s.RICH_TEXT]:g.TEXT,[s.SCORE]:g.DECIMAL,[s.SELECT]:g.VARCHAR,[s.SELECT_MULTIPLE]:g.ARRAY,[s.SELECT_RELATION]:g.VARCHAR,[s.TEXTAREA]:g.TEXT,[s.TREE]:g.ARRAY,[s.SEARCH_DATE_RANGE]:g.ARRAY,[s.SEARCH_INPUT]:g.VARCHAR,[s.SEARCH_NUMBER_RANGE]:g.ARRAY};return n.hasOwnProperty(t.type)&&wt(t.props.data_bind,n[t.type]),t.type===s.AMOUNT&&(wt(t.props.data_bind.amount,g.DECIMAL),wt(t.props.data_bind.currency,g.VARCHAR)),t.type===s.CALC&&(wt(t.props.data_bind.result,g.DECIMAL),wt(t.props.data_bind.unit,g.VARCHAR)),t.type===s.DATE_RANGE&&(wt(t.props.data_bind.min,g.TIMESTAMP),wt(t.props.data_bind.max,g.TIMESTAMP)),t.type===s.VUE_FORM_ITEM&&wt(t.props.data_bind,(o=t.field_type)!=null?o:g.ANY),t}const aoe=(t,e)=>{const n=Array.isArray(t);let r=C(n?t:[t],i=>foe(i));return n?r:r[0]};function foe(t,e){return t.type===s.GRID_TABLE&&t.props.headers.forEach(n=>{n.type.endsWith("-column")&&(n.props.fixed?(n.props.fixed="left",n.type===s.OPERATION_COLUMN&&(n.props.fixed="right")):n.props.fixed="none")}),t}const _oe=(t,e)=>{const n=Array.isArray(t);let r=C(n?t:[t],i=>yoe(i));return n?r:r[0]};function yoe(t,e){return t.type===s.SIMPLE_SEARCH&&t.children.length&&(t.props.query_type_map||(t.props.query_type_map=[]),t.children.forEach(n=>{var o,r;[g.VARCHAR,g.TEXT,g.AUTO_NUMBER].includes((r=(o=n.props)==null?void 0:o.data_bind)==null?void 0:r.field_type)&&t.props.query_type_map.push({query_type:"LIKE",field_code:n.props.data_bind.field_code})})),t}const soe=(t,e)=>{const n=Array.isArray(t);let r=C(n?t:[t],i=>poe(i));return n?r:r[0]};function poe(t,e){return[s.SELECT,s.SELECT_RELATION,s.SELECT_MULTIPLE,s.RADIO,s.CHECKBOX,s.TREE,s.DEPARTMENT2,s.EMPLOYEE2,s.DEPARTMENT,s.EMPLOYEE].includes(t.type)&&t.props.open_multistage_filling===void 0&&(t.props.open_multistage_filling=!0),t.type===s.SUBTABLE&&t.props.headers.forEach(n=>{[s.SELECT,s.SELECT_RELATION,s.SELECT_MULTIPLE,s.RADIO,s.CHECKBOX,s.TREE,s.DEPARTMENT2,s.EMPLOYEE2,s.DEPARTMENT,s.EMPLOYEE].includes(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),t}const doe=(t,e)=>{const n=Array.isArray(t);let r=C(n?t:[t],i=>voe(i));return n?r:r[0]};function voe(t,e){return[s.SELECT,s.SELECT_RELATION,s.SELECT_MULTIPLE,s.RADIO,s.CHECKBOX,s.TREE,s.DEPARTMENT2,s.EMPLOYEE2,s.DEPARTMENT,s.EMPLOYEE].includes(t.type)&&t.props.open_multistage_filling===void 0&&(t.props.open_multistage_filling=!0),t.type===s.SUBTABLE&&t.props.headers.forEach(n=>{[s.SELECT,s.SELECT_RELATION,s.SELECT_MULTIPLE,s.RADIO,s.CHECKBOX,s.TREE,s.DEPARTMENT2,s.EMPLOYEE2,s.DEPARTMENT,s.EMPLOYEE].includes(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),t}const hoe=(t,e)=>{const n=Array.isArray(t);let r=C(n?t:[t],i=>boe(i));return n?r:r[0]};function boe(t,e){return t.type===s.TITLE&&t.props.config.push(Ye.ShowTitle),t.type===s.GRID_TABLE&&t.props.headers.map(n=>{var o,r,i,u,c,a,l,f,y,p,b,O,m,w,h,$,P,E,T,j,A,ue;if(n.type===s.OPERATION_COLUMN){if(n.props.width_type==="auto"?n.props.auto_width={min_width:120,max_width:120,flex:1}:n.props.width_type==="px"&&(n.props.auto_width={min_width:n.props.width,max_width:n.props.width,flex:1}),n.props.width_type="auto",n.children=(o=n==null?void 0:n.children)!=null?o:[],delete n.props.custom,((r=n.props)==null?void 0:r.check)!==void 0){const B=new _y.Designer;Object.defineProperty(B,"id",{value:"listPageCheckBtnId"}),B.props.code="view",B.props.icon="iconliulan1",B.props.command="view",B.props.content=(i=n.props)==null?void 0:i.check.content,B.props.priorityProcess=(u=n.props)==null?void 0:u.check.priority_process,B.props.openType=(c=n.props)==null?void 0:c.check.open_type,B.props.formKey=(a=n.props)==null?void 0:a.check.form_key,(l=n.props)!=null&&l.check.is_show&&n.children.push(B.toSchema()),(f=n.props)==null||delete f.check}if(((y=n.props)==null?void 0:y.edit)!==void 0){const B=new _y.Designer;Object.defineProperty(B,"id",{value:"listPageEditBtnId"}),B.props.code="edit",B.props.icon="iconbianji1",B.props.command="edit",B.props.content=(p=n.props)==null?void 0:p.edit.content,B.props.priorityProcess=(b=n.props)==null?void 0:b.edit.priority_process,B.props.openType=(O=n.props)==null?void 0:O.edit.open_type,B.props.formKey=(m=n.props)==null?void 0:m.edit.form_key,(w=n.props)!=null&&w.edit.is_show&&n.children.push(B.toSchema()),(h=n.props)==null||delete h.edit}if((($=n.props)==null?void 0:$.delete)!==void 0){const B=new _y.Designer;Object.defineProperty(B,"id",{value:"listPageDeleteBtnId"}),B.props.code="delete",B.props.icon="iconlajitong",B.props.command="delete",B.props.content=(P=n.props)==null?void 0:P.delete.content,B.props.priorityProcess=(E=n.props)==null?void 0:E.delete.priority_process,B.props.openType=(T=n.props)==null?void 0:T.delete.open_type,B.props.formKey=(j=n.props)==null?void 0:j.delete.form_key,B.props.needConfirm=!0,B.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",(A=n.props)!=null&&A.delete.is_show&&n.children.push(B.toSchema()),(ue=n.props)==null||delete ue.delete}}}),[s.SELECT,s.SELECT_RELATION,s.SELECT_MULTIPLE,s.RADIO,s.CHECKBOX,s.TREE,s.DEPARTMENT2,s.EMPLOYEE2,s.DEPARTMENT,s.EMPLOYEE].includes(t.type)&&t.props.open_multistage_filling===void 0&&(t.props.open_multistage_filling=!0),t.type===s.SUBTABLE&&t.props.headers.forEach(n=>{[s.SELECT,s.SELECT_RELATION,s.SELECT_MULTIPLE,s.RADIO,s.CHECKBOX,s.TREE,s.DEPARTMENT2,s.EMPLOYEE2,s.DEPARTMENT,s.EMPLOYEE].includes(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),t}const goe=(t,e)=>{const n=Array.isArray(t);let r=C(n?t:[t],i=>moe(i,e));return n?r:r[0]};function moe(t,e){t.type===s.SUBTABLE&&t.props.headers.map(o=>{var i;o.props.meta_auto_width=new z0,o.props.width_type==="px"&&(o.props.meta_auto_width.pc.width=o.props.width,o.props.meta_auto_width.pc.width_type="px"),delete o.props.width,delete o.props.width_type;const r=(i=o.children)==null?void 0:i[0];r&&r.type===s.CALC&&r.props.calc_on_mounted===void 0&&(r.props.calc_on_mounted=!0)});const n={[s.SUBTABLE]:[{key:"page_index",value:1},{key:"page_size",value:10},{key:"page_size_options",value:[10,20,50,100]},{key:"total_count",value:0}],[s.GRID_TABLE]:[{key:"page_index",value:1},{key:"page_size",value:20},{key:"page_size_options",value:[10,20,50,100]},{key:"total_count",value:0},{key:"is_show_selection",value:!1}],[s.LIST_VIEW]:[{key:"selection_type",value:"multiple"},{key:"row_style_type",value:"none"},{key:"is_show_selection",value:!1}],[s.SIMPLE_SEARCH]:[{key:"col-gap",value:24},{key:"child-min-width",value:230}],[s.IMPORT_RECORD_LIST_BUTTON]:[{key:"template-type",value:"system"}]};return t.type in n&&n[t.type].forEach(o=>{t.props[o.key]===void 0&&(t.props[o.key]=o.value)}),t.type===s.GRID_TABLE&&t.props.headers.forEach(o=>{o.type===s.OPERATION_COLUMN&&(o.props.limit===void 0&&(o.props.limit=3),o.props.show_type===void 0&&(o.props.show_type="icon")),o.props.flex===void 0&&(o.props.flex=1),o.props.auto_width===void 0&&(o.props.auto_width=new Ya)}),t.type===s.CALC&&t.props.calc_on_mounted===void 0&&(t.props.calc_on_mounted=!0),Ooe(e),t}function Ooe(t){if(!(!t||!t.listeners)){if(Object.keys(t.listeners).forEach(e=>{let n,o,r;t.listeners[e].forEach((i,u)=>{switch(i.event_key||i.eventKey){case"on_click_finish":o=i,r=u;break;case"on_click":n=i;break}}),o&&(o.cases[0].handlers.unshift(l0()),n?(o.cases.forEach(i=>{n.cases[0].handlers.push(i)}),t.listeners[e].splice(r,1)):o.event_key="on_click")}),!t.listeners.form_submit)t.listeners.form_submit=[{event_key:"on_click",event_param:[],cases:[woe()]}];else if(t.listeners.form_submit&&t.listeners.form_submit&&t.listeners.form_submit[0]&&t.listeners.form_submit[0].cases&&t.listeners.form_submit[0].cases[0]&&t.listeners.form_submit[0].cases[0].handlers){let e=!1;t.listeners.form_submit[0].cases[0].handlers.forEach(n=>{n.method==="actionOperate"&&(e=!0)}),e||t.listeners.form_submit[0].cases[0].handlers.push(l0())}}}function woe(){return{id:"case"+new Date().getTime(),name:"\u9ED8\u8BA4\u60C5\u5F62",match_type:"AND",match_rules:[],handlers:[l0()]}}function l0(){return{id:"handler"+new Date().getTime(),method:"actionOperate",params:{control_id:"",opt_type:"",opt_code:"",is_error_continue:!1}}}const $oe=(t,e)=>{const n=Array.isArray(t);let r=C(n?t:[t],i=>Poe(i,e));return n?r:r[0]};function Poe(t,e){if(t.type===s.LIST_VIEW){if(t.props.is_show_selection===!1){const n=[s.BATCH_SUBMISSION_LIST_BUTTON,s.LIST_PAGE_BTN_BATCH_PRINT,s.BATCH_DELETE_LIST_BUTTON];t.children.forEach(o=>{o.type===s.GRID_TABLE&&o.children.map(u=>u.type).some(u=>n.includes(u))===!0&&(t.props.is_show_selection=!0,o.props.is_show_selection=!0)})}t.props.caption===""&&(t.props.caption=e==null?void 0:e.formName),t.props.is_all_loaded===void 0&&(t.props.is_all_loaded=!0)}return t.type===s.TEXTAREA&&t.props.auto_size===void 0&&(t.props.auto_size=!1),t.type===s.SUBTABLE&&t.props.mobile_default_num===void 0&&(t.props.mobile_default_num=t.props.mobile_show_type==="tile"?5:10),t.type===s.TREE&&t.props.default_display===void 0&&(t.props.default_display=!1),t.type===s.GRID_TABLE&&t.props.is_show_toolbar===void 0&&(t.props.is_show_toolbar=!0),t.type===s.NUMBER&&t.props.regular_rules===void 0&&(t.props.regular_rules=new Bo),t}const Eoe=(t,e)=>{const n=Array.isArray(t);let r=C(n?t:[t],i=>Soe(i));return n?r:r[0]};function Soe(t,e){return[s.LIST_PAGE_BTN_BATCH_PRINT_RECORD,s.EXPORT_LIST_BUTTON,s.EXPORT_RECORD_LIST_BUTTON,s.CREATE_FORM_LIST_BUTTON,s.IMPORT_RECORD_LIST_BUTTON,s.SUBMISSION_RECORD_LIST_BUTTON,s.BATCH_DELETE_LIST_BUTTON,s.BUTTON,s.SUBMISSION_RECORD_LIST_BUTTON,s.LIST_PAGE_BTN_BATCH_PRINT].includes(t.type)&&(t.control_type="base"),t.type===s.SUBTABLE&&t.props.mobile_default_num===void 0&&(t.props.mobile_default_num=t.props.mobile_show_type==="tile"?5:10),t}const Toe=(t,e)=>{const n=Array.isArray(t),o=n?t:[t],r={};let i=C(o,u=>{const c=Roe(u);return r[u.id]=u,c});return Boe(r,e),n?i:i[0]};function Roe(t,e){if(t.type===s.ORGANIZATION_SELECTION){const n=t.props.selected_content_config,o=n==null?void 0:n.display_bo_list;o&&o.forEach(r=>{r.value==="org_type_code"&&(r.label="\u4E1A\u52A1\u7C7B\u578B"),r.value==="org_pattern_code"&&(r.label="\u7EC4\u7EC7\u5F62\u6001")})}return t.type===s.LIST_SELECT_BUTTON&&t.props.disable_filling===void 0&&(t.props.disable_filling=!1),t}function Boe(t,e){var n,o;if((e==null?void 0:e.formType)===1&&(e==null?void 0:e.events)!==void 0){const r=(o=(n=e==null?void 0:e.events)==null?void 0:n.did_mount)!=null?o:[];r.length>0&&(e.events.did_init=r,e.events.did_mount=[]),e.events.did_init===void 0&&(e.events.did_init=[])}}var e3={"v1.0":xne,"v2.0":Gne,"v2.1":Qne,"v2.2":Zne,"v2.3":eoe,"v2.4":ooe,"v2.5":ioe,"v2.6":coe,"v2.7":aoe,"v2.8":_oe,"v2.9":soe,"v2.10":doe,"v3.0":hoe,"v3.1":goe,"v3.2":$oe,"v3.3":Eoe,"v3.4":Toe,"v3.5":()=>{}};const t3=(t,e)=>{const n=n3(t),o=n3(e),r=n.pop(),i=o.pop(),u=i3(n,o);return u!==0?u:r&&i?i3(r.split("."),i.split(".")):r||i?r?-1:1:0},Ma=(t,e,n)=>{Doe(n);const o=t3(t,e);return u3[n].includes(o)},Ioe=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,n3=t=>{if(typeof t!="string")throw new TypeError("Invalid argument expected string");const e=t.match(Ioe);if(!e)throw new Error(`Invalid argument not valid semver ('${t}' received)`);return e.shift(),e},o3=t=>t==="*"||t==="x"||t==="X",r3=t=>{const e=parseInt(t,10);return isNaN(e)?t:e},Aoe=(t,e)=>typeof t!=typeof e?[String(t),String(e)]:[t,e],koe=(t,e)=>{if(o3(t)||o3(e))return 0;const[n,o]=Aoe(r3(t),r3(e));return n>o?1:n<o?-1:0},i3=(t,e)=>{for(let n=0;n<Math.max(t.length,e.length);n++){const o=koe(t[n]||"0",e[n]||"0");if(o!==0)return o}return 0},u3={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},c3=Object.keys(u3),Doe=t=>{if(typeof t!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof t}`);if(c3.indexOf(t)===-1)throw new Error(`Invalid operator, expected one of ${c3.join("|")}`)};function a0(t){return t.replace(/^v/,"")}const Wn=Object.keys(e3).map(t=>a0(t)).sort(t3),Oo=Wn[Wn.length-1];class xoe{constructor(e,n=Oo){this.schemaVersion=e,this.toVersion=n,Ma(n,Oo,">")?Jn(`Version Builder: The specified ${n} is an undefined version, and the current latest version is ${Oo}`):(!Wn.includes(a0(n))||!Wn.includes(a0(e)))&&Jn(`Version Builder: Please give me a valid version number, The valid version is: ${Wn.join(",")}, But give me a ${e}`)}dataCleaner(e,n){if(Ma(this.toVersion,this.schemaVersion,"="))return e;const o=this.callDataCleanerKeys.reduce((r,i,u,c)=>{var y;const a=(y=c[u+1])!=null?y:this.toVersion;Po(`Version Builder: current version: ${i}, nextVersion: ${a}`);const l=e3[i];let f=r;if(typeof l=="function"){const p=l(r,n);p&&(f=p)}return f},e);return Po(`Version Builder: Version conversion completed, evolving from ${this.schemaVersion} to ${this.toVersion}`),o}get runDataCleanerKeys(){return Wn.filter(e=>Ma(e,this.schemaVersion,">=")&&Ma(e,this.toVersion,"<"))}get callDataCleanerKeys(){return this.runDataCleanerKeys.map(e=>"v"+e)}get version(){return Oo}static get version(){return Oo}}Ft.VersionBuilder=xoe,Object.defineProperty(Ft,"__esModule",{value:!0})});
|
|
1
|
+
(function(Dt,Kn){typeof exports=="object"&&typeof module!="undefined"?Kn(exports):typeof define=="function"&&define.amd?define(["exports"],Kn):(Dt=typeof globalThis!="undefined"?globalThis:Dt||self,Kn(Dt.modelDrivenUpgrade={}))})(this,function(Dt){"use strict";var Kn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",GR="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",XR="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",QR="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",JR="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",ZR="{caption}\u5FC5\u586B",YR="\u8BF7\u8F93\u5165\u6807\u9898",e3="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",t3="\u8BF7\u8F93\u5165\u884C\u6807\u9898",n3="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",o3="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",r3="\u8BF7\u7ED1\u5B9A\u8868\u5355",i3="\u8BF7\u7ED1\u5B9A\u5217\u8868",u3="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",c3="\u8BF7\u8F93\u5165\u663E\u793A\u503C",l3="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",a3="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",f3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",_3="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",y3="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",s3="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",p3="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",d3="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",v3="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",h3="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",b3="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",g3="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",m3="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",O3="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",w3="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",$3="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",P3="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",E3="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",S3="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",T3="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",R3="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",I3="\u8BF7\u7ED1\u5B9A\u670D\u52A1",B3="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",A3="\u8BF7\u9009\u62E9\u7701",k3="\u8BF7\u9009\u62E9\u5E02",D3="\u8BF7\u9009\u62E9\u533A",x3="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",L3="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",F3="\u8BF7\u8F93\u5165\u5217\u5BBD",j3="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",M3="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",N3="\u8BF7\u9009\u62E9\u63A7\u4EF6",V3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",z3="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",C3="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",H3="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",q3="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",U3="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",W3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",K3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",G3="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",X3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Q3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",J3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Z3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Y3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",eI="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",tI="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",nI="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",oI="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",rI="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",iI="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",uI="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",cI="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",lI="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",aI="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",fI="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",_I="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",yI="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",sI={isNotNumber:Kn,isNotString:GR,isNotObject:XR,isNotArray:QR,isNotBoolean:JR,runtimeRequired:ZR,pleaseEnterCaption:YR,pleaseEnterCaptionTip:e3,pleaseEnterRowCaption:t3,pleaseEnterPlaceholder:n3,pleaseEnterFieldCode:o3,pleaseEnterForm:r3,pleaseEnterList:i3,pleaseEnterProcess:u3,pleaseEnterLabel:c3,pleaseEnterValue:l3,bizKeyNotBindFiled:a3,pleaseSelectOneField:f3,pleaseEnterNumberRange:_3,pleaseEnterAValueGreaterThanMin:y3,pleaseEnterAValueLessThanMax:s3,numberRangeSetError:p3,stringRangeError:d3,attachmentMaxSize:v3,pleaseEnterTotalScoreSetting:h3,theTotalScoreMustNotBeLessThan1:b3,scoreDefaultValueRange:g3,attachmentLimitError:m3,PleaseReselectTheOptionalQuantity:O3,TheMaximumLengthIsGreaterThanTheMinimumLength:w3,TheMinimumLengthIsGreaterThanTheMaximumLength:$3,PleaseSelectTheCorrectOptionSettings:P3,optionIdIsRepeat:E3,optionIsRequired:S3,pleaseEnterDataCode:T3,pleaseEnterValueFieldCode:R3,pleaseEnterSvcCode:I3,pleaseBindAtLeastOneDisplayValue:B3,pleaseSelectProvince:A3,pleaseSelectCity:k3,pleaseSelectDistrict:D3,limitRowsCannotBeLessThan0:x3,TheNumberOfRowsCannotBeLessThanMinRows:L3,pleaseEnterColumnWidth:F3,pleaseSetTheLogicalRelationshipOfAllRuleConditions:j3,pleaseCompleteAllRulesAndConditions:M3,pleaseSelectControl:N3,pleaseSelectAtLeastOneColumn:V3,pleaseSelectFillBackMode:z3,pleaseSelectDashboard:C3,rootNodeIsRequired:H3,theViewNameCannotBeEmpty:q3,pleaseSelectOcrType:U3,pleaseSelectAtLeastOneFieldToFillIn:W3,pleaseChooseAtLeastOne:K3,pleaseEnterButtonContent:G3,pleaseEnterDataCodeInDataSetting:X3,pleaseEnterValueFieldCodeInDataSetting:Q3,pleaseEnterSvcCodeInDataSetting:J3,pleaseBindAtLeastOneDisplayValueInDataSetting:Z3,rootNodeIsRequiredInDataSetting:Y3,pleaseEnterMaxHeight:eI,pleaseEnter:tI,pleaseEnterWatermark:nI,pleaseEnterFileName:oI,pleaseUploadAtLeastOnePrintTemplate:rI,pleaseAssignBusiness:iI,pleaseAssignExternal:uI,pleaseEnterAliasCode:cI,pleaseSelectDataCode:lI,pleaseSelectSvcCode:aI,pleaseSelectJoinFieldCode:fI,pleaseSelectMainFieldCode:_I,pleaseSelectSortFieldCode:yI},pI="Please enter a number",dI="Please enter a string",vI="Please enter an object",hI="Please enter an array",bI="Please enter a boolean",gI="{caption} Required",mI="Please enter the title",OI="Please enter the bubble prompt",wI="Please enter the row title",$I="Please enter the prompt text",PI="Please bind data items",EI="Please bind the form",SI="Please bind the list",TI="Please bind the process",RI="Please enter the displayed value",II="Please enter the stored value",BI="The document number is not bound to the data item",AI="Please select at least one display field",kI="Please enter a value greater than or equal to {min} and less than or equal to {max}",DI="Please enter a value greater than or equal to {min}",xI="Please enter a value less than or equal to {max}",LI="The value range is set incorrectly",FI="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",jI="The attachment size must be between 0MB and 1000MB",MI="Please fill in the total score setting",NI="The total score cannot be less than 1",VI="The default value must be between {min} and {max}",zI="The number of attachments uploaded must be between {min} and {max}",CI="Please re-select the optional quantity",HI="The maximum length of the control must be greater than the minimum length",qI="The minimum length of the control must be less than the maximum length",UI="Please select the correct option setting",WI="Option ID cannot be repeated",KI="Please enter at least one option",GI="Please bind the data source",XI="Please bind the stored value",QI="Please bind the service",JI="At least one display value must be bound",ZI="Please select a province",YI="Please select a city",eB="Please select a district",tB="The minimum number of lines to fill in cannot be less than 0",nB="The number of rows cannot be less than {min} rows",oB="Please enter the column width",rB="Please set the logical relationship of all rule conditions",iB="Please complete all rules and conditions",uB="please select control",cB="Please select the dashboard",lB="View name cannot be empty",aB="Please select recognition type",fB="Please select at least one field to fill in",_B="Please select at least one",yB="Please enter the button title",sB="Please bind the business model in the data settings",pB="Please bind storage values in data settings",dB="Please bind the service in the data settings",vB="Please bind at least one display value in the data settings",hB="Please select the root node in the data settings",bB="Please enter the maximum height",gB="The input content cannot be empty",mB="Watermark cannot be empty",OB="File name cannot be empty",wB="Please upload at least one printing template!\uFF01",$B="Please select a specific business department",PB="Please select a specified external organization",EB="Please enter a sub table alias",SB="Please select the associated table to set the business model",TB="Please select the association table to set the binding service",RB="Select associated sub table fields",IB="Please select the associated main table field",BB="Please select the sort field",AB={isNotNumber:pI,isNotString:dI,isNotObject:vI,isNotArray:hI,isNotBoolean:bI,runtimeRequired:gI,pleaseEnterCaption:mI,pleaseEnterCaptionTip:OI,pleaseEnterRowCaption:wI,pleaseEnterPlaceholder:$I,pleaseEnterFieldCode:PI,pleaseEnterForm:EI,pleaseEnterList:SI,pleaseEnterProcess:TI,pleaseEnterLabel:RI,pleaseEnterValue:II,bizKeyNotBindFiled:BI,pleaseSelectOneField:AI,pleaseEnterNumberRange:kI,pleaseEnterAValueGreaterThanMin:DI,pleaseEnterAValueLessThanMax:xI,numberRangeSetError:LI,stringRangeError:FI,attachmentMaxSize:jI,pleaseEnterTotalScoreSetting:MI,theTotalScoreMustNotBeLessThan1:NI,scoreDefaultValueRange:VI,attachmentLimitError:zI,PleaseReselectTheOptionalQuantity:CI,TheMaximumLengthIsGreaterThanTheMinimumLength:HI,TheMinimumLengthIsGreaterThanTheMaximumLength:qI,PleaseSelectTheCorrectOptionSettings:UI,optionIdIsRepeat:WI,optionIsRequired:KI,pleaseEnterDataCode:GI,pleaseEnterValueFieldCode:XI,pleaseEnterSvcCode:QI,pleaseBindAtLeastOneDisplayValue:JI,pleaseSelectProvince:ZI,pleaseSelectCity:YI,pleaseSelectDistrict:eB,limitRowsCannotBeLessThan0:tB,TheNumberOfRowsCannotBeLessThanMinRows:nB,pleaseEnterColumnWidth:oB,pleaseSetTheLogicalRelationshipOfAllRuleConditions:rB,pleaseCompleteAllRulesAndConditions:iB,pleaseSelectControl:uB,pleaseSelectDashboard:cB,theViewNameCannotBeEmpty:lB,pleaseSelectOcrType:aB,pleaseSelectAtLeastOneFieldToFillIn:fB,pleaseChooseAtLeastOne:_B,pleaseEnterButtonContent:yB,pleaseEnterDataCodeInDataSetting:sB,pleaseEnterValueFieldCodeInDataSetting:pB,pleaseEnterSvcCodeInDataSetting:dB,pleaseBindAtLeastOneDisplayValueInDataSetting:vB,rootNodeIsRequiredInDataSetting:hB,pleaseEnterMaxHeight:bB,pleaseEnter:gB,pleaseEnterWatermark:mB,pleaseEnterFileName:OB,pleaseUploadAtLeastOnePrintTemplate:wB,pleaseAssignBusiness:$B,pleaseAssignExternal:PB,pleaseEnterAliasCode:EB,pleaseSelectDataCode:SB,pleaseSelectSvcCode:TB,pleaseSelectJoinFieldCode:RB,pleaseSelectMainFieldCode:IB,pleaseSelectSortFieldCode:BB},kB="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",DB="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",xB="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",LB="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",FB="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jB="{caption}\u5FC5\u9808",MB="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",NB="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",VB="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",zB="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",CB="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",HB="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",qB="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",UB="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",WB="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",KB="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",GB="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",XB="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",QB="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",JB="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ZB="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",YB="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",e1="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",t1="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",n1="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",o1="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",r1="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",i1="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",u1="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",c1="\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",l1="\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",a1="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",f1="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",_1="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",y1="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",s1="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",p1="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",d1="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",v1="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",h1="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",b1="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",g1="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",m1="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",O1="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",w1="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",$1="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",P1="please select control",E1="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",S1="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",T1="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",R1="\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",I1="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",B1="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",A1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",k1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",D1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",x1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",L1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",F1="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",j1="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",M1="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",N1="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",V1="\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",z1="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",C1="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",H1="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",q1="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",U1="\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",W1="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",K1="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",G1="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",X1={isNotNumber:kB,isNotString:DB,isNotObject:xB,isNotArray:LB,isNotBoolean:FB,runtimeRequired:jB,pleaseEnterCaption:MB,pleaseEnterCaptionTip:NB,pleaseEnterRowCaption:VB,pleaseEnterPlaceholder:zB,pleaseEnterFieldCode:CB,pleaseEnterForm:HB,pleaseEnterList:qB,pleaseEnterProcess:UB,pleaseEnterLabel:WB,pleaseEnterValue:KB,bizKeyNotBindFiled:GB,pleaseSelectOneField:XB,pleaseEnterNumberRange:QB,pleaseEnterAValueGreaterThanMin:JB,pleaseEnterAValueLessThanMax:ZB,numberRangeSetError:YB,stringRangeError:e1,attachmentMaxSize:t1,pleaseEnterTotalScoreSetting:n1,theTotalScoreMustNotBeLessThan1:o1,scoreDefaultValueRange:r1,attachmentLimitError:i1,PleaseReselectTheOptionalQuantity:u1,TheMaximumLengthIsGreaterThanTheMinimumLength:c1,TheMinimumLengthIsGreaterThanTheMaximumLength:l1,PleaseSelectTheCorrectOptionSettings:a1,optionIdIsRepeat:f1,optionIsRequired:_1,pleaseEnterDataCode:y1,pleaseEnterValueFieldCode:s1,pleaseEnterSvcCode:p1,pleaseBindAtLeastOneDisplayValue:d1,pleaseSelectProvince:v1,pleaseSelectCity:h1,pleaseSelectDistrict:b1,limitRowsCannotBeLessThan0:g1,TheNumberOfRowsCannotBeLessThanMinRows:m1,pleaseEnterColumnWidth:O1,pleaseSetTheLogicalRelationshipOfAllRuleConditions:w1,pleaseCompleteAllRulesAndConditions:$1,pleaseSelectControl:P1,pleaseSelectDashboard:E1,theViewNameCannotBeEmpty:S1,pleaseSelectOcrType:T1,pleaseSelectAtLeastOneFieldToFillIn:R1,pleaseChooseAtLeastOne:I1,pleaseEnterButtonContent:B1,pleaseEnterDataCodeInDataSetting:A1,pleaseEnterValueFieldCodeInDataSetting:k1,pleaseEnterSvcCodeInDataSetting:D1,pleaseBindAtLeastOneDisplayValueInDataSetting:x1,rootNodeIsRequiredInDataSetting:L1,pleaseEnterMaxHeight:F1,pleaseEnter:j1,pleaseEnterWatermark:M1,pleaseEnterFileName:N1,pleaseUploadAtLeastOnePrintTemplate:V1,pleaseAssignBusiness:z1,pleaseAssignExternal:C1,pleaseEnterAliasCode:H1,pleaseSelectDataCode:q1,pleaseSelectSvcCode:U1,pleaseSelectJoinFieldCode:W1,pleaseSelectMainFieldCode:K1,pleaseSelectSortFieldCode:G1},Q1={zhCN:sI,enUS:AB,jaJP:X1},J1="zh-CN";function be(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var wo=function(t){return t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search",t}({}),y=function(t){return t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.OPERATION_BUTTON="operation-button",t.EMPLOYEE_COLUMN="employee-column",t.Approval_Status_Column="approval-status-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.GRID_LAYOUT_CONTAINER="grid-layout-container",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.ACTION_BAR="action-bar",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2",t.GRID_LAYOUT_WRAP="grid-layout-wrap",t.SENSITIVEN_INFORMATION="sensitiven-information",t}({}),g=function(t){return t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.RELATION="relation",t.LIST="list",t.RELATION_FIELD="relation-field",t.REFERENCE_FIELD="reference-field",t.CALC_FIELD="calc",t.JSON="json",t.BIGINT="bigint",t.ANY="ANY",t.ENCRYPTED_FIELD="encrypted_field",t}({}),ae;ae={},be(ae,"array","array-column"),be(ae,"auto_number","auto-number-column"),be(ae,"decimal","decimal-column"),be(ae,"department","department-column"),be(ae,"file","file-column"),be(ae,"image","image-column"),be(ae,"location","location-column"),be(ae,"people","employee-column"),be(ae,"text","text-column"),be(ae,"timescope","timescope-column"),be(ae,"timestamp","timestamp-column"),be(ae,"varchar","varchar-column"),be(ae,"relation","varchar-column");var xt=function(t){return t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime",t}({}),l0="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Z1=l0+"0123456789";function Re(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var o=n===0?l0:Z1,r=Math.random()*o.length;e+=o[parseInt(String(r),10)]}return e}function Ma(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function Y1(t){if(Array.isArray(t))return Ma(t)}function eA(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function a0(t,e,n){return e=Gn(e),rA(t,Va()?Reflect.construct(e,n||[],Gn(t).constructor):e.apply(t,n))}function f0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $o(t,e,n){return Va()?$o=Reflect.construct:$o=function(r,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(r,c),l=new a;return u&&Xn(l,u.prototype),l},$o.apply(null,arguments)}function Gn(t){return Gn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gn(t)}function _0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xn(t,e)}function tA(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function nA(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function oA(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function rA(t,e){return e&&(iA(e)==="object"||typeof e=="function")?e:eA(t)}function Xn(t,e){return Xn=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xn(t,e)}function y0(t){return Y1(t)||nA(t)||uA(t)||oA()}function iA(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function uA(t,e){if(!!t){if(typeof t=="string")return Ma(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ma(t,e)}}function Na(t){var e=typeof Map=="function"?new Map:void 0;return Na=function(o){if(o===null||!tA(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(o))return e.get(o);e.set(o,r)}function r(){return $o(o,arguments,Gn(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Xn(r,o)},Na(t)}function Va(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Va=function(){return!!t})()}var za=console;function Ca(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var o,r=e.slice(1);(o=za).warn.apply(o,["\u{1F9D0} Driven Warning:"+e[0]].concat(y0(r)))}function Po(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var o,r=e.slice(1);(o=za).log.apply(o,["\u{1F680} Driven Log:"+e[0]].concat(y0(r)))}function cA(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Ha=function(t){_0(e,t);function e(n){f0(this,e);var o;return o=a0(this,e,[n]),o.name="\u{1F4A5} Driven Error",o.message=n?cA(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return e}(Na(Error)),lA=function(t){_0(e,t);function e(n){f0(this,e);var o;return o=a0(this,e,[n]),o.name="\u{1F6A8} Driven Reference Error",o}return e}(Ha);function Qn(t){throw new Ha(t)}function s0(t){throw new lA(t)}function aA(t){za.error(new Ha(t))}var fA=Object.prototype.toString;function p0(t,e){return fA.call(t)==="[object "+e+"]"}function _A(t){return p0(t,"String")}function yA(t){return p0(t,"Promise")}var sA=function(){function t(e){var n,o;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((o=(n=e.messages)!==null&&n!==void 0?n:this.getPreImport(e.locale))!==null&&o!==void 0?o:{}),e.variableRegExp&&(this.variableRegExp=e.variableRegExp),this.setLocale(e.locale)}return t.prototype.setLocale=function(e){var n=this;this.locale=e,this._messageCache.clear();var o=this.getMessageData();yA(o)?o.then(function(r){n._messageCache.clear(),n.messages[n.localeInMessageKey]=r}):this.messages[this.localeInMessageKey]=o},t.prototype.getMessageData=function(){var e=this._messages[this.localeInMessageKey];return typeof e=="function"?e():e},t.prototype.translate=function(e,n,o){var r=this.getMessage(e);return r?this.formatMessage(r,o):this.formatMessage(n,o)},t.prototype.getMessage=function(e){if(this._messageCache.has(e))return this._messageCache.get(e);var n=this.getPathArray(e),o=n.reduce(function(r,i,u,c){if(r!==void 0){var a=r[i];if(!(u===c.length-1&&!_A(a)))return a}},this.message);return this._messageCache.set(e,o),o},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(o,r){var i=n[r];return i!==void 0?String(i):o}):e},t.prototype.getPreImport=function(e){var n;if(window.okI18nPreImport){var o=this.getLocaleInMessageKey(e);return window.okI18nPreImport.hasOwnProperty(o)?window.okI18nPreImport:(n={},n[o]=window.okI18nPreImport,n)}},t.prototype.getPathArray=function(e){return e.split(".")},t.prototype.getLocaleInMessageKey=function(e){return e.replace(/-/g,"")},Object.defineProperty(t.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){var e;return(e=this.messages[this.localeInMessageKey])!==null&&e!==void 0?e:{}},enumerable:!1,configurable:!0}),t}();function pA(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function d0(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function dA(t,e,n){return e&&d0(t.prototype,e),n&&d0(t,n),t}function vA(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var p=function(){function t(){pA(this,t)}return dA(t,null,[{key:"getMessage",value:function(n){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",o)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:J1;return new sA({locale:n,messages:Q1})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();vA(p,"$i18n",p.resetI18n());function hA(t,e,n){var o=e.replace(/\[(\d)]/g,function(i,u){return"."+u}).split("."),r=!1;return o.reduce(function(i,u,c,a){var l=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,u)){Ca("Can not set ".concat(e,"'s ").concat(u," property in current %o, Because there is no ").concat(u," property on the %o"),i,i);return}return c===a.length-1&&!Object.is(l[u],n)&&(l[u]=n,r=!0),l[u]}},t),r}var bA=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},qa={exports:{}};(function(t){(function(e){var n=function(h,$,T){if(!l($)||s($)||d($)||b($)||a($))return $;var P,S=0,F=0;if(_($))for(P=[],F=$.length;S<F;S++)P.push(n(h,$[S],T));else{P={};for(var A in $)Object.prototype.hasOwnProperty.call($,A)&&(P[h(A,T)]=n(h,$[A],T))}return P},o=function(h,$){$=$||{};var T=$.separator||"_",P=$.split||/(?=[A-Z])/;return h.split(P).join(T)},r=function(h){return m(h)?h:(h=h.replace(/[\-_\s]+(.)?/g,function($,T){return T?T.toUpperCase():""}),h.substr(0,1).toLowerCase()+h.substr(1))},i=function(h){var $=r(h);return $.substr(0,1).toUpperCase()+$.substr(1)},u=function(h,$){return o(h,$).toLowerCase()},c=Object.prototype.toString,a=function(h){return typeof h=="function"},l=function(h){return h===Object(h)},_=function(h){return c.call(h)=="[object Array]"},s=function(h){return c.call(h)=="[object Date]"},d=function(h){return c.call(h)=="[object RegExp]"},b=function(h){return c.call(h)=="[object Boolean]"},m=function(h){return h=h-0,h===h},O=function(h,$){var T=$&&"process"in $?$.process:$;return typeof T!="function"?h:function(P,S){return T(P,h,S)}},w={camelize:r,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(h,$){return n(O(r,$),h)},decamelizeKeys:function(h,$){return n(O(u,$),h,$)},pascalizeKeys:function(h,$){return n(O(i,$),h)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=w:e.humps=w})(bA)})(qa);var v0={};Object.defineProperty(v0,"__esModule",{value:!0});function Ua(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Ua(e));{const e={};for(const n in t){const o=t[n];e[n]=typeof o!="object"||o===null?o:Ua(o)}return e}}var gA=v0.default=Ua;function mA(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ot(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":mA(t))==="object"?gA(t):t}function fe(t){return h0(t)&&"zh"in t}function h0(t){return Object.prototype.toString.call(t)==="[object Object]"}function Wa(t){return Array.isArray(t)}function Lt(t){return isNaN(parseFloat(t))?"":Number(t)}function OA(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function U(t,e){var n=[];return Array.isArray(t)&&(n=t.map(function(o){var r=o;return Array.isArray(o==null?void 0:o.children)&&(r.children=U(o.children,e)),Array.isArray(o==null?void 0:o.footers)&&(r.footers=U(o.footers,e)),e(r)})),n}function wA(t){return qa.exports.camelizeKeys(t)}function Ft(t){return qa.exports.decamelizeKeys(t)}function Ka(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function $A(t){if(Array.isArray(t))return Ka(t)}function b0(t,e,n,o,r,i,u){try{var c=t[i](u),a=c.value}catch(l){n(l);return}c.done?e(a):Promise.resolve(a).then(o,r)}function PA(t){return function(){var e=this,n=arguments;return new Promise(function(o,r){var i=t.apply(e,n);function u(a){b0(i,o,r,u,c,"next",a)}function c(a){b0(i,o,r,u,c,"throw",a)}u(void 0)})}}function EA(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function g0(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function SA(t,e,n){return e&&g0(t.prototype,e),n&&g0(t,n),t}function m0(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function TA(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function RA(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Ga(t){return $A(t)||TA(t)||IA(t)||RA()}function IA(t,e){if(!!t){if(typeof t=="string")return Ka(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ka(t,e)}}function BA(t,e){var n,o,r,i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},u=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return u.next=c(0),u.throw=c(1),u.return=c(2),typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function c(l){return function(_){return a([l,_])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,l[0]&&(i=0)),i;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return i.label++,{value:l[1],done:!1};case 5:i.label++,o=l[1],l=[0];continue;case 7:l=i.ops.pop(),i.trys.pop();continue;default:if(r=i.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){i=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){i.label=l[1];break}if(l[0]===6&&i.label<r[1]){i.label=r[1],r=l;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(l);break}r[2]&&i.ops.pop(),i.trys.pop();continue}l=e.call(t,i)}catch(_){l=[6,_],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var AA=function(){function t(){EA(this,t),m0(this,"_events",new Map),m0(this,"debug",!1)}return SA(t,[{key:"emit",value:function(n){for(var o=arguments.length,r=new Array(o>1?o-1:0),i=1;i<o;i++)r[i-1]=arguments[i];return PA(function(){var u,c,a,l,_,s,d,b,m,O,w,h;return BA(this,function($){switch($.label){case 0:if(u=this._events.get(n),c=[],!u)return[3,10];a=u.slice(),l=!0,_=!1,s=void 0,$.label=1;case 1:$.trys.push([1,8,9,10]),d=a[Symbol.iterator](),$.label=2;case 2:if(l=(b=d.next()).done)return[3,7];if(m=b.value,!u.includes(m))return[3,6];$.label=3;case 3:return $.trys.push([3,5,,6]),this.debug&&Po.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(m.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+m.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(r.map(function(){return"%o"}).join(","),"\u3002")].concat(Ga(r))),[4,m.apply(null,Ga(r))];case 4:return O=$.sent(),this.debug&&Po.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(m.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+m.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(r.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Ga(r),[O])),c.push(O),O===!1?[3,7]:[3,6];case 5:return w=$.sent(),aA(String(w)+":"+String(w.stack)),[3,6];case 6:return l=!0,[3,2];case 7:return[3,10];case 8:return h=$.sent(),_=!0,s=h,[3,10];case 9:try{!l&&d.return!=null&&d.return()}finally{if(_)throw s}return[7];case 10:return[2,c]}})}).call(this)}},{key:"on",value:function(n,o){if(this._events.has(n)){var r;(r=this._events.get(n))===null||r===void 0||r.push(o)}else this._events.set(n,[o])}},{key:"off",value:function(n,o){if(this._events.has(n)){var r=this._events.get(n),i=r==null?void 0:r.indexOf(o);r==null||r.splice(i,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function kA(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function O0(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function DA(t,e,n){return e&&O0(t.prototype,e),n&&O0(t,n),t}function xA(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}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"}],FA=function(){function t(){kA(this,t)}return DA(t,null,[{key:"getEventsFromKeys",value:function(n){var o=typeof n=="string"?[n]:n;return t.events.filter(function(r){return o.includes(r.key)})}},{key:"getEventsFromControl",value:function(n){var o=[],r=n.eventKeys;o=o.concat(t.events.filter(function(u){return r.includes(u.key)}));var i=n.customEvents.map(function(u){var c=u.key;return{key:c,code:u.key,name:u.name}});return o=o.concat(i),o}}]),t}();xA(FA,"events",LA);function Xa(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function jA(t){if(Array.isArray(t))return Xa(t)}function MA(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function NA(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function w0(t){return jA(t)||MA(t)||VA(t)||NA()}function VA(t,e){if(!!t){if(typeof t=="string")return Xa(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Xa(t,e)}}function Qa(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function $0(t,e,n){n!=="Runtime"&&(t.parent=e,Qa(t,"parent"))}function zA(t,e,n){t.forEach(function(o){$0(o,e,n)})}var P0=Symbol("targetKey");function E0(t){var e;return(e=t[P0])!==null&&e!==void 0?e:t}function S0(t,e,n){return zA(t,e,n),new Proxy(t,{get:function(r,i){for(var u=arguments.length,c=new Array(u>2?u-2:0),a=2;a<u;a++)c[a-2]=arguments[a];var l;return i===P0?r:(l=Reflect).get.apply(l,[r,i].concat(w0(c)))},set:function(r,i,u){for(var c=arguments.length,a=new Array(c>3?c-3:0),l=3;l<c;l++)a[l-3]=arguments[l];var _;if(Wa(t)&&i==="length"&&u===t.length)return!0;var s=(_=Reflect).set.apply(_,[r,i,u].concat(w0(a)));return h0(u)&&$0(u,e,n),s}})}function Ge(t,e,n,o,r){var i=o!=null?o:t,u=S0(E0(n!=null?n:[]),i,r);Object.defineProperty(t,e,{get:function(){return u},set:function(a){u=S0(E0(a),i,r)},enumerable:!0})}function CA(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function T0(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function HA(t,e,n){return e&&T0(t.prototype,e),n&&T0(t,n),t}function rt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var R0=[],Eo=function(){function t(e){CA(this,t),rt(this,"registeredControlTypes",new Set),rt(this,"controlConfigMap",new Map),rt(this,"_controls",[]),rt(this,"_type",void 0),this._type=e,this._initControls(e)}return HA(t,[{key:"registerControlConfig",value:function(n,o){return this.controlConfigMap.set(n,o),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||Qn("".concat(n.name," is not a Control"));var o=this._controls.findIndex(function(r){return r.controlType===n.controlType});return o>-1&&(Ca("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(o,1)),this.registeredControlTypes.add(n.controlType),this._controls.push(n),this}},{key:"isLayoutControl",value:function(n){return n.controlType===wo.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===wo.FORM}},{key:"isListControl",value:function(n){return n.controlType===wo.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===wo.COLUMN}},{key:"createControl",value:function(n,o){var r=this;if(Array.isArray(n))return n.map(function(_){return r.createControl(_,o)});if(n.children&&(n.children=n.children.map(function(_){return r.createControl(_,o)})),this.isListControl(n)){var i=n.props;i.headers&&(i.headers=i.headers.map(function(_){return r.createControl(_,o)})),i.footers&&(i.footers=i.footers.map(function(_){var s;return _&&(s=r.createControl(_,o)),s}))}var u=this.getControlFormType(n.type);if(u){var c=n;if(typeof o=="function"){var a=o(c);a&&(c=a)}var l;return u.mode==="Runtime"?(l=c,l.fieldType=u.controlFieldType,this._setParentPrototypeToSchema(l,this)):l=new u(c),l}else Qn("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(n,o){delete n.parent,Object.defineProperty(n,"parent",{configurable:!0,get:function(){return o}}),Qa(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,o){o._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var i=n.id,u=o._controlParentIdMap,c=o.instanceMap;if(!(!u||!c)){var a=u[i],l=c[i];if(!(!a&&!l)){var _=l.findIndex(function(b){return b==n}),s=c[a]||[],d;return s.length!==l.length?d=s[0]:d=s[_],d}}}}),Qa(n,"parent"))}},{key:"createControlInstance",value:function(n,o){var r=this.getControlFormType(n);if(r)return new r(o)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(o){return o.controlType===n})}},{key:"_initControls",value:function(n){var o=this;this.constructor.staticControls.forEach(function(r){o.register(r[n]),t.staticControlsRuntimeRules.set(r.Runtime.controlType,r.Property.RuntimeRules),r.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,o){var r=t.staticControlsRuntimeRules.get(n),i=[];if(r){var u=new r(o);i=Array.from(u)}return i}},{key:"register",value:function(n,o){var r=n.Designer,i=n.Runtime,u=n.Property;(!r||!i||!r.__is_control__||!i.__is_control__)&&Qn("".concat(n," is can't register as a Control"));var c=this.staticControls.findIndex(function(a){return a.Designer.controlType===r.controlType});return c>-1&&(Ca("The ".concat(r.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(c,1)),this.staticRegisteredTypes.add(r.controlType),this.staticControls.push(n),u.mode=o,this}}]),t}();rt(Eo,"staticControlsRuntimeRules",new Map),rt(Eo,"staticControls",R0),rt(Eo,"staticRegisteredTypes",new Set(R0.map(function(t){return t.Designer.controlType}))),rt(Eo,"staticRegisteredConfigs",new Map);function qA(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ie(t,e,n){return e=So(e),UA(t,I0()?Reflect.construct(e,n||[],So(t).constructor):e.apply(t,n))}function E(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function So(t){return So=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},So(t)}function Be(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ja(t,e)}function UA(t,e){return e&&(WA(e)==="object"||typeof e=="function")?e:qA(t)}function Ja(t,e){return Ja=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ja(t,e)}function WA(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function I0(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(I0=function(){return!!t})()}var Ae=function t(e){E(this,t),v(this,"dataCode",void 0),v(this,"fieldCode",void 0),v(this,"fieldType",void 0),v(this,"aliasCode",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var o;this.fieldCode=(o=e==null?void 0:e.fieldCode)!==null&&o!==void 0?o:"";var r;this.fieldType=(r=e==null?void 0:e.fieldType)!==null&&r!==void 0?r:"",this.aliasCode=e==null?void 0:e.aliasCode},Za=function t(e){E(this,t),v(this,"minWidth",void 0),v(this,"maxWidth",void 0),v(this,"flex",void 0);var n;this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth;var o;this.flex=(o=e==null?void 0:e.flex)!==null&&o!==void 0?o:1},Ya=function(t){Be(e,t);function e(n){E(this,e);var o;o=Ie(this,e,[n]),v(o,"width",void 0),v(o,"widthType",void 0);var r;o.width=(r=n==null?void 0:n.width)!==null&&r!==void 0?r:240;var i;return o.widthType=(i=n==null?void 0:n.widthType)!==null&&i!==void 0?i:"auto",o}return e}(Za),B0=function t(e){E(this,t),v(this,"pc",void 0),v(this,"mobile",void 0),this.pc=new Ya(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new Ya(e==null?void 0:e.mobile):new Ya({width:130,minWidth:180})},KA=function t(e){E(this,t),v(this,"type",void 0),v(this,"customOptions",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree";var o;this.customOptions=(o=e==null?void 0:e.customOptions)!==null&&o!==void 0?o:[]},jt=function t(e){E(this,t),v(this,"dataCode",void 0),v(this,"formKey",void 0),v(this,"appId",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var o;this.formKey=(o=e==null?void 0:e.formKey)!==null&&o!==void 0?o:"";var r;this.appId=(r=e==null?void 0:e.appId)!==null&&r!==void 0?r:""},GA=function(t){Be(e,t);function e(n){E(this,e);var o;o=Ie(this,e,[n]),v(o,"primaryControlId",void 0);var r;return o.primaryControlId=(r=n==null?void 0:n.primaryControlId)!==null&&r!==void 0?r:"",o}return e}(jt),A0=function t(e){E(this,t),v(this,"fieldCode",void 0),v(this,"dataCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"";var o;this.dataCode=(o=e==null?void 0:e.dataCode)!==null&&o!==void 0?o:""},ef=function t(e){E(this,t);var n;v(this,"appId",void 0),v(this,"formKey",void 0),v(this,"headers",void 0);var o;this.appId=(o=e==null?void 0:e.appId)!==null&&o!==void 0?o:"";var r;this.formKey=(r=e==null?void 0:e.formKey)!==null&&r!==void 0?r:"";var i;this.headers=(i=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(u){return new A0(u)}))!==null&&i!==void 0?i:[]},XA=function t(e){E(this,t),v(this,"fieldName",void 0),v(this,"fieldCode",void 0),v(this,"fieldType",void 0);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var o;this.fieldCode=(o=e==null?void 0:e.fieldCode)!==null&&o!==void 0?o:"";var r;this.fieldType=(r=e==null?void 0:e.fieldType)!==null&&r!==void 0?r:g.VARCHAR},QA=function(t){Be(e,t);function e(n){E(this,e);var o;o=Ie(this,e,[n]),v(o,"title",void 0),v(o,"svcCode",void 0),v(o,"isOpenFilter",void 0),v(o,"filters",void 0);var r;o.title=(r=n==null?void 0:n.title)!==null&&r!==void 0?r:"";var i;o.svcCode=(i=n==null?void 0:n.svcCode)!==null&&i!==void 0?i:"";var u;o.isOpenFilter=(u=n==null?void 0:n.isOpenFilter)!==null&&u!==void 0?u:!1;var c;return o.filters=(c=n==null?void 0:n.filters)!==null&&c!==void 0?c:[],o}return e}(jt),JA=function t(e){E(this,t);var n,o;v(this,"type","sublist-page"),v(this,"formBind",void 0),v(this,"displayFields",void 0),v(this,"sublists",void 0),this.formBind=new jt(e==null?void 0:e.formBind);var r;this.displayFields=(r=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(u){return new XA(u)}))!==null&&r!==void 0?r:[];var i;this.sublists=(i=e==null||(o=e.sublists)===null||o===void 0?void 0:o.map(function(u){return new QA(u)}))!==null&&i!==void 0?i:[]},ZA=function t(e){E(this,t),v(this,"type",void 0),v(this,"value",void 0),v(this,"dataCode",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value,this.dataCode=e==null?void 0:e.dataCode},Jn=function t(e){E(this,t),v(this,"type",void 0),v(this,"value",void 0),v(this,"displayBos",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var o;this.value=(o=e==null?void 0:e.value)!==null&&o!==void 0?o:[];var r;this.displayBos=(r=e==null?void 0:e.displayBos)!==null&&r!==void 0?r:[]},tf=function t(e){var n=this;E(this,t),v(this,"id",void 0),v(this,"ruleId",void 0),v(this,"type","conditions"),v(this,"level",void 0),v(this,"value",void 0),v(this,"children",void 0);var o;this.id=(o=e==null?void 0:e.id)!==null&&o!==void 0?o:Re();var r;this.ruleId=(r=e==null?void 0:e.ruleId)!==null&&r!==void 0?r:new Date().valueOf();var i;this.level=(i=e==null?void 0:e.level)!==null&&i!==void 0?i:0;var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(c){if(c.children!==void 0){var a,l=new t(c);(a=n.children)===null||a===void 0||a.push(l)}else{var _,s=new To(c);(_=n.children)===null||_===void 0||_.push(s)}}))},To=function t(e){E(this,t),v(this,"id",void 0),v(this,"ruleId",void 0),v(this,"type","condition"),v(this,"symbol",void 0),v(this,"checked",void 0),v(this,"describe",void 0),v(this,"leftVariableBo",void 0),v(this,"rightVariableBo",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:Re();var o;this.ruleId=(o=e==null?void 0:e.ruleId)!==null&&o!==void 0?o:new Date().valueOf();var r;this.symbol=(r=e==null?void 0:e.symbol)!==null&&r!==void 0?r:"";var i;this.checked=(i=e==null?void 0:e.checked)!==null&&i!==void 0?i:!1;var u;this.describe=(u=e==null?void 0:e.describe)!==null&&u!==void 0?u:"",this.leftVariableBo=new ZA(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new Jn(e==null?void 0:e.rightVariableBo)},YA=function t(e){E(this,t),v(this,"aliasCode",void 0),v(this,"datasourceBind",void 0),v(this,"relationFields",void 0);var n;this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new G(e==null?void 0:e.datasourceBind);var o;this.relationFields=(o=e==null?void 0:e.relationFields)!==null&&o!==void 0?o:[]},se=function t(e){E(this,t),v(this,"controlId",void 0),v(this,"fieldCode",void 0),v(this,"fieldType",void 0),v(this,"propName",void 0);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var o;this.fieldCode=(o=e==null?void 0:e.fieldCode)!==null&&o!==void 0?o:"";var r;this.fieldType=(r=e==null?void 0:e.fieldType)!==null&&r!==void 0?r:"";var i;this.propName=(i=e==null?void 0:e.propName)!==null&&i!==void 0?i:""},nf=function t(e){E(this,t),v(this,"type",void 0),v(this,"value",void 0),v(this,"fieldType",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var o;this.value=(o=e==null?void 0:e.value)!==null&&o!==void 0?o:"",this.fieldType=e==null?void 0:e.fieldType},ek=function t(e){E(this,t),v(this,"columnName",void 0),v(this,"desc",void 0);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var o;this.desc=(o=e.desc)!==null&&o!==void 0?o:!1};function of(t){var e,n,o,r;this.filters=(r=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(c){return c.children!==void 0?new tf(c):new To(c)}))!==null&&r!==void 0?r:[];var i;this.viewFilters=(i=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(c){return c.children!==void 0?new tf(c):new To(c)}))!==null&&i!==void 0?i:[];var u;this.orders=(u=t==null||(o=t.orders)===null||o===void 0?void 0:o.map(function(c){return new ek(c)}))!==null&&u!==void 0?u:[]}var G=function t(e){var n=this;E(this,t),v(this,"dataCode",void 0),v(this,"valueFieldCode",void 0),v(this,"displayBoList",void 0),v(this,"keywordMapping",void 0),v(this,"svcCode",void 0),v(this,"appId",void 0),v(this,"filters",void 0),v(this,"viewFilters",void 0),v(this,"isOpenViewFilters",void 0),v(this,"orders",void 0),v(this,"showOrder",void 0);var o;this.dataCode=(o=e==null?void 0:e.dataCode)!==null&&o!==void 0?o:"";var r;this.appId=(r=e==null?void 0:e.appId)!==null&&r!==void 0?r:"";var i;this.valueFieldCode=(i=e==null?void 0:e.valueFieldCode)!==null&&i!==void 0?i:"",this.displayBoList=[];var u;this.isOpenViewFilters=(u=e==null?void 0:e.isOpenViewFilters)!==null&&u!==void 0?u:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(_){var s;(s=n.displayBoList)===null||s===void 0||s.push(new nf(_))}));var c;this.keywordMapping=(c=e==null?void 0:e.keywordMapping)!==null&&c!==void 0?c:"";var a;this.showOrder=(a=e==null?void 0:e.showOrder)!==null&&a!==void 0?a:!0;var l;this.svcCode=(l=e==null?void 0:e.svcCode)!==null&&l!==void 0?l:"",of.call(this,e)},rf=function t(e){E(this,t),v(this,"dataCode",void 0),v(this,"displayBoList",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var o;this.displayBoList=(o=e==null?void 0:e.displayBoList)!==null&&o!==void 0?o:[]},Xe=function t(e){E(this,t),v(this,"code",void 0),v(this,"color",void 0),v(this,"command",void 0),v(this,"confirmMessage",void 0),v(this,"defaultState",void 0),v(this,"formKey",void 0),v(this,"formType",void 0),v(this,"icon",void 0),v(this,"needConfirm",void 0),v(this,"openType",void 0),v(this,"priorityProcess",void 0);var n;this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view";var o;this.color=(o=e==null?void 0:e.color)!==null&&o!==void 0?o:"primary";var r;this.command=(r=e==null?void 0:e.command)!==null&&r!==void 0?r:"view";var i;this.confirmMessage=(i=e==null?void 0:e.confirmMessage)!==null&&i!==void 0?i:void 0;var u;this.defaultState=(u=e==null?void 0:e.defaultState)!==null&&u!==void 0?u:"default";var c;this.formKey=(c=e==null?void 0:e.formKey)!==null&&c!==void 0?c:void 0,this.formType=e==null?void 0:e.formType;var a;this.icon=(a=e==null?void 0:e.icon)!==null&&a!==void 0?a:"iconliulan1";var l;this.needConfirm=(l=e==null?void 0:e.needConfirm)!==null&&l!==void 0?l:!1;var _;this.openType=(_=e==null?void 0:e.openType)!==null&&_!==void 0?_:"modal";var s;this.priorityProcess=(s=e==null?void 0:e.priorityProcess)!==null&&s!==void 0?s:!0},k0=function t(e){E(this,t);var n;v(this,"name",void 0),v(this,"key",void 0),v(this,"value",void 0);var o;this.name=(o=e==null?void 0:e.name)!==null&&o!==void 0?o:"";var r;this.key=(r=e==null?void 0:e.key)!==null&&r!==void 0?r:"";var i;this.value=(i=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(u){return new nf(u)}))!==null&&i!==void 0?i:[]},Ro=function(t){Be(e,t);function e(n){E(this,e);var o,r;o=Ie(this,e,[n]),v(o,"attributes",void 0);var i;return o.attributes=(i=n==null||(r=n.attributes)===null||r===void 0?void 0:r.map(function(u){return new k0(u)}))!==null&&i!==void 0?i:[],o}return e}(G),tk=function(t){Be(e,t);function e(n){E(this,e);var o,r;o=Ie(this,e,[n]),v(o,"attributes",void 0),v(o,"formCode",void 0);var i;o.attributes=(i=n==null||(r=n.attributes)===null||r===void 0?void 0:r.map(function(c){return new k0(c)}))!==null&&i!==void 0?i:[];var u;return o.formCode=(u=n==null?void 0:n.formCode)!==null&&u!==void 0?u:"",o}return e}(G),D0=function(t){Be(e,t);function e(n){E(this,e);var o;o=Ie(this,e,[n]),v(o,"rootNode",void 0),v(o,"filterCode",void 0),o.rootNode=new Jn(n==null?void 0:n.rootNode);var r;return o.filterCode=(r=n==null?void 0:n.filterCode)!==null&&r!==void 0?r:"",o}return e}(Ro),x0=function t(e){E(this,t);var n;v(this,"dataCode",void 0),v(this,"appId",void 0),v(this,"fillList",void 0);var o;this.dataCode=(o=e==null?void 0:e.dataCode)!==null&&o!==void 0?o:"";var r;this.appId=(r=e==null?void 0:e.appId)!==null&&r!==void 0?r:"";var i;this.fillList=(i=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(u){return new se(u)}))!==null&&i!==void 0?i:[]},L0=function(t){Be(e,t);function e(n){E(this,e);var o;return o=Ie(this,e,[n]),v(o,"filters",void 0),v(o,"viewFilters",void 0),v(o,"orders",void 0),of.call(o,n),o}return e}(x0),F0=function(t){Be(e,t);function e(n){E(this,e);var o;o=Ie(this,e,[n]),v(o,"mode",void 0),v(o,"multiple",void 0);var r;o.mode=(r=n==null?void 0:n.mode)!==null&&r!==void 0?r:"current";var i;return o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1,o}return e}(x0),Io=function t(e){E(this,t),v(this,"stencilName",void 0),v(this,"expression",void 0),v(this,"errMessage",void 0);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var o;this.expression=(o=e==null?void 0:e.expression)!==null&&o!==void 0?o:"";var r;this.errMessage=(r=e==null?void 0:e.errMessage)!==null&&r!==void 0?r:""},nk=function t(e){E(this,t),v(this,"id",void 0),v(this,"label",void 0),v(this,"value",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:Re(8);var o;this.label=(o=e==null?void 0:e.label)!==null&&o!==void 0?o:"";var r;this.value=(r=e==null?void 0:e.value)!==null&&r!==void 0?r:this.label};function Qe(t){var e;return(e=t==null?void 0:t.map(function(n){return new nk(n)}))!==null&&e!==void 0?e:[]}var uf=function t(){E(this,t)},ok=function(t){Be(e,t);function e(n){E(this,e);var o;return o=Ie(this,e),v(o,"amount",void 0),v(o,"currency",void 0),o.amount=new Ae(n==null?void 0:n.amount),o.currency=new Ae(n==null?void 0:n.currency),o}return e}(uf),rk=function t(e){E(this,t),v(this,"amount",void 0),v(this,"currency",void 0);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var o;this.currency=(o=e==null?void 0:e.currency)!==null&&o!==void 0?o:"CNY"},ik=function(t){Be(e,t);function e(n){E(this,e);var o;return o=Ie(this,e),v(o,"min",void 0),v(o,"max",void 0),o.min=new Ae(n==null?void 0:n.min),o.max=new Ae(n==null?void 0:n.max),o}return e}(uf),uk=function t(e){E(this,t),v(this,"min",void 0),v(this,"max",void 0);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var o;this.max=(o=e==null?void 0:e.max)!==null&&o!==void 0?o:""},ck=function t(e){E(this,t),v(this,"city",void 0),v(this,"cityDisplay",void 0),v(this,"district",void 0),v(this,"districtDisplay",void 0),v(this,"province",void 0),v(this,"provinceDisplay",void 0);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var o;this.cityDisplay=(o=e==null?void 0:e.cityDisplay)!==null&&o!==void 0?o:"";var r;this.district=(r=e==null?void 0:e.district)!==null&&r!==void 0?r:"";var i;this.districtDisplay=(i=e==null?void 0:e.districtDisplay)!==null&&i!==void 0?i:"";var u;this.province=(u=e==null?void 0:e.province)!==null&&u!==void 0?u:"";var c;this.provinceDisplay=(c=e==null?void 0:e.provinceDisplay)!==null&&c!==void 0?c:""},lk=function(t){Be(e,t);function e(n){E(this,e);var o;return o=Ie(this,e),v(o,"result",void 0),v(o,"unit",void 0),o.result=new Ae(n==null?void 0:n.result),o.unit=new Ae(n==null?void 0:n.unit),o}return e}(uf),ak=function t(e){E(this,t),v(this,"result",void 0),v(this,"unit",void 0);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var o;this.unit=(o=e==null?void 0:e.unit)!==null&&o!==void 0?o:""},fk=function(t){return t.CNY="CNY",t.USD="USD",t.JPY="JPY",t.EUR="EUR",t.INR="INR",t.IDR="IDR",t.BRL="BRL",t.AED="AED",t.AUD="AUD",t.CAD="CAD",t.EGP="EGP",t.GBP="GBP",t.ZAR="ZAR",t.KRW="KRW",t.MAD="MAD",t.MXN="MXN",t.MYR="MYR",t.PHP="PHP",t.PLN="PLN",t.RUB="RUB",t.SGD="SGD",t.THB="THB",t.TRY="TRY",t.TWD="TWD",t.VND="VND",t.HKD="HKD",t.IEP="IEP",t}({}),f=function(t){return t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.IS_SHOW_WATERMARK="isShowWatermark",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions",t.IS_PASTE="isPaste",t.CAPTION_SIZE="captionSize",t.CAPTION_COLOR="captionColor",t.IS_CAPTION_ITALIC="isCaptionItalic",t.ONLY_ALLOW_TAKE_PHOTO="onlyAllowTakePhoto",t.FORBID_DOWNLOAD="forbidDownload",t.ACCESS_CONTROL="accessControl",t}({}),_k=function(t){return t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT",t}({}),it=function t(e){E(this,t),v(this,"isShow",void 0),v(this,"priorityProcess",void 0),v(this,"formKey",void 0),v(this,"content",void 0),v(this,"openType",void 0),v(this,"type",void 0);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var o;this.content=(o=e==null?void 0:e.content)!==null&&o!==void 0?o:"";var r;this.formKey=(r=e==null?void 0:e.formKey)!==null&&r!==void 0?r:"";var i;this.openType=(i=e==null?void 0:e.openType)!==null&&i!==void 0?i:"modal";var u;this.type=(u=e==null?void 0:e.type)!==null&&u!==void 0?u:"";var c;this.priorityProcess=(c=e==null?void 0:e.priorityProcess)!==null&&c!==void 0?c:!1},yk=function t(e){E(this,t);var n;v(this,"id",void 0),v(this,"title",void 0),v(this,"filters",void 0),v(this,"viewFilters",void 0),v(this,"headers",void 0);var o;this.id=(o=e==null?void 0:e.id)!==null&&o!==void 0?o:Re(8);var r;this.title=(r=e==null?void 0:e.title)!==null&&r!==void 0?r:"";var i;this.headers=(i=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(u){return new A0(u)}))!==null&&i!==void 0?i:[],of.call(this,e)},sk=function t(e){E(this,t),v(this,"width",void 0),v(this,"height",void 0),v(this,"widthConfig",void 0),v(this,"heightConfig",void 0);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var o;this.height=(o=e==null?void 0:e.height)!==null&&o!==void 0?o:"";var r;this.widthConfig=(r=e==null?void 0:e.widthConfig)!==null&&r!==void 0?r:"fill";var i;this.heightConfig=(i=e==null?void 0:e.heightConfig)!==null&&i!==void 0?i:"fill"},pk=function t(e){E(this,t),v(this,"optCode",void 0),v(this,"optType",void 0);var n;this.optCode=(n=e==null?void 0:e.optCode)!==null&&n!==void 0?n:"";var o;this.optType=(o=e==null?void 0:e.optType)!==null&&o!==void 0?o:""},dk=function t(e){E(this,t);var n;v(this,"id",void 0),v(this,"name",void 0),v(this,"color",void 0),v(this,"filters",void 0);var o;this.id=(o=e==null?void 0:e.id)!==null&&o!==void 0?o:Re();var r;this.name=(r=e==null?void 0:e.name)!==null&&r!==void 0?r:"";var i;this.color=(i=e==null?void 0:e.color)!==null&&i!==void 0?i:"theme";var u;this.filters=(u=e==null||(n=e.filters)===null||n===void 0?void 0:n.map(function(c){return c.children!==void 0?new tf(c):new To(c)}))!==null&&u!==void 0?u:[]},vk=function t(e){E(this,t),v(this,"id",void 0),v(this,"script",void 0),v(this,"color",void 0);var n;this.id=(n=e.id)!==null&&n!==void 0?n:Re();var o;this.script=(o=e.script)!==null&&o!==void 0?o:"";var r;this.color=(r=e.color)!==null&&r!==void 0?r:"theme"};function hk(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bk(t,e,n){return e=Zn(e),Ok(t,af()?Reflect.construct(e,n||[],Zn(t).constructor):e.apply(t,n))}function cf(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Bo(t,e,n){return af()?Bo=Reflect.construct:Bo=function(r,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(r,c),l=new a;return u&&Yn(l,u.prototype),l},Bo.apply(null,arguments)}function ut(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Zn(t){return Zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zn(t)}function gk(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Yn(t,e)}function mk(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Ok(t,e){return e&&(wk(e)==="object"||typeof e=="function")?e:hk(t)}function Yn(t,e){return Yn=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yn(t,e)}function wk(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function lf(t){var e=typeof Map=="function"?new Map:void 0;return lf=function(o){if(o===null||!mk(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(o))return e.get(o);e.set(o,r)}function r(){return Bo(o,arguments,Zn(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Yn(r,o)},lf(t)}function af(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(af=function(){return!!t})()}var W=function t(e){cf(this,t),ut(this,"isHide",{type:"boolean"})},mt=function(t){gk(e,t);function e(n){return cf(this,e),bk(this,e)}return e}(lf(Array)),X=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";cf(this,t),ut(this,"isHide",void 0),ut(this,"className",void 0),ut(this,"style",void 0),ut(this,"caption",void 0);var o;this.isHide=(o=e==null?void 0:e.isHide)!==null&&o!==void 0?o:!1,this.style=new sk(e==null?void 0:e.style);var r;this.caption=(r=e==null?void 0:e.caption)!==null&&r!==void 0?r:n};ut(X,"mode",void 0),ut(X,"Rules",W),ut(X,"RuntimeRules",mt);function Ve(){return Ve=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},Ve.apply(this,arguments)}function $k(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function ff(t){return ff=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ff(t)}function Ao(t,e){return Ao=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ao(t,e)}function Pk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function ko(t,e,n){return Pk()?ko=Reflect.construct:ko=function(r,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(r,c),l=new a;return u&&Ao(l,u.prototype),l},ko.apply(null,arguments)}function Ek(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function _f(t){var e=typeof Map=="function"?new Map:void 0;return _f=function(o){if(o===null||!Ek(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(o))return e.get(o);e.set(o,r)}function r(){return ko(o,arguments,ff(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Ao(r,o)},_f(t)}var Sk=/%[sdj%]/g,j0=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(j0=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(o){return typeof o=="string"})&&console.warn(e,n)});function yf(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var o=n.field;e[o]=e[o]||[],e[o].push(n)}),e}function ge(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var o=1,r=e[0],i=e.length;if(typeof r=="function")return r.apply(null,e.slice(1));if(typeof r=="string"){var u=String(r).replace(Sk,function(c){if(c==="%%")return"%";if(o>=i)return c;switch(c){case"%s":return String(e[o++]);case"%d":return Number(e[o++]);case"%j":try{return JSON.stringify(e[o++])}catch(a){return"[Circular]"}break;default:return c}});return u}return r}function Tk(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function K(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||Tk(e)&&typeof t=="string"&&!t)}function Rk(t,e,n){var o=[],r=0,i=t.length;function u(c){o.push.apply(o,c),r++,r===i&&n(o)}t.forEach(function(c){e(c,u)})}function M0(t,e,n){var o=0,r=t.length;function i(u){if(u&&u.length){n(u);return}var c=o;o=o+1,c<r?e(t[c],i):n([])}i([])}function Ik(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var N0=function(t){$k(e,t);function e(n,o){var r;return r=t.call(this,"Async Validation Error")||this,r.errors=n,r.fields=o,r}return e}(_f(Error));function Bk(t,e,n,o){if(e.first){var r=new Promise(function(s,d){var b=function(w){return o(w),w.length?d(new N0(w,yf(w))):s()},m=Ik(t);M0(m,n,b)});return r.catch(function(s){return s}),r}var i=e.firstFields||[];i===!0&&(i=Object.keys(t));var u=Object.keys(t),c=u.length,a=0,l=[],_=new Promise(function(s,d){var b=function(O){if(l.push.apply(l,O),a++,a===c)return o(l),l.length?d(new N0(l,yf(l))):s()};u.length||(o(l),s()),u.forEach(function(m){var O=t[m];i.indexOf(m)!==-1?M0(O,n,b):Rk(O,n,b)})});return _.catch(function(s){return s}),_}function V0(t){return function(e){return e&&e.message?(e.field=e.field||t.fullField,e):{message:typeof e=="function"?e():e,field:e.field||t.fullField}}}function z0(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var o=e[n];typeof o=="object"&&typeof t[n]=="object"?t[n]=Ve(Ve({},t[n]),o):t[n]=o}}return t}function C0(t,e,n,o,r,i){t.required&&(!n.hasOwnProperty(t.field)||K(e,i||t.type))&&o.push(ge(r.messages.required,t.fullField))}function Ak(t,e,n,o,r){(/^\s+$/.test(e)||e==="")&&o.push(ge(r.messages.whitespace,t.fullField))}var sf={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},eo={integer:function(e){return eo.number(e)&&parseInt(e,10)===e},float:function(e){return eo.number(e)&&!eo.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(n){return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!eo.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(sf.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(sf.url)},hex:function(e){return typeof e=="string"&&!!e.match(sf.hex)}};function kk(t,e,n,o,r){if(t.required&&e===void 0){C0(t,e,n,o,r);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],u=t.type;i.indexOf(u)>-1?eo[u](e)||o.push(ge(r.messages.types[u],t.fullField,t.type)):u&&typeof e!==t.type&&o.push(ge(r.messages.types[u],t.fullField,t.type))}function Dk(t,e,n,o,r){var i=typeof t.len=="number",u=typeof t.min=="number",c=typeof t.max=="number",a=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l=e,_=null,s=typeof e=="number",d=typeof e=="string",b=Array.isArray(e);if(s?_="number":d?_="string":b&&(_="array"),!_)return!1;b&&(l=e.length),d&&(l=e.replace(a,"_").length),i?l!==t.len&&o.push(ge(r.messages[_].len,t.fullField,t.len)):u&&!c&&l<t.min?o.push(ge(r.messages[_].min,t.fullField,t.min)):c&&!u&&l>t.max?o.push(ge(r.messages[_].max,t.fullField,t.max)):u&&c&&(l<t.min||l>t.max)&&o.push(ge(r.messages[_].range,t.fullField,t.min,t.max))}var Mt="enum";function xk(t,e,n,o,r){t[Mt]=Array.isArray(t[Mt])?t[Mt]:[],t[Mt].indexOf(e)===-1&&o.push(ge(r.messages[Mt],t.fullField,t[Mt].join(", ")))}function Lk(t,e,n,o,r){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||o.push(ge(r.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var i=new RegExp(t.pattern);i.test(e)||o.push(ge(r.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var k={required:C0,whitespace:Ak,type:kk,range:Dk,enum:xk,pattern:Lk};function Fk(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(K(e,"string")&&!t.required)return n();k.required(t,e,o,i,r,"string"),K(e,"string")||(k.type(t,e,o,i,r),k.range(t,e,o,i,r),k.pattern(t,e,o,i,r),t.whitespace===!0&&k.whitespace(t,e,o,i,r))}n(i)}function jk(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(K(e)&&!t.required)return n();k.required(t,e,o,i,r),e!==void 0&&k.type(t,e,o,i,r)}n(i)}function Mk(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(e===""&&(e=void 0),K(e)&&!t.required)return n();k.required(t,e,o,i,r),e!==void 0&&(k.type(t,e,o,i,r),k.range(t,e,o,i,r))}n(i)}function Nk(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(K(e)&&!t.required)return n();k.required(t,e,o,i,r),e!==void 0&&k.type(t,e,o,i,r)}n(i)}function Vk(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(K(e)&&!t.required)return n();k.required(t,e,o,i,r),K(e)||k.type(t,e,o,i,r)}n(i)}function zk(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(K(e)&&!t.required)return n();k.required(t,e,o,i,r),e!==void 0&&(k.type(t,e,o,i,r),k.range(t,e,o,i,r))}n(i)}function Ck(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(K(e)&&!t.required)return n();k.required(t,e,o,i,r),e!==void 0&&(k.type(t,e,o,i,r),k.range(t,e,o,i,r))}n(i)}function Hk(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(e==null&&!t.required)return n();k.required(t,e,o,i,r,"array"),e!=null&&(k.type(t,e,o,i,r),k.range(t,e,o,i,r))}n(i)}function qk(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(K(e)&&!t.required)return n();k.required(t,e,o,i,r),e!==void 0&&k.type(t,e,o,i,r)}n(i)}var Uk="enum";function Wk(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(K(e)&&!t.required)return n();k.required(t,e,o,i,r),e!==void 0&&k[Uk](t,e,o,i,r)}n(i)}function Kk(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(K(e,"string")&&!t.required)return n();k.required(t,e,o,i,r),K(e,"string")||k.pattern(t,e,o,i,r)}n(i)}function Gk(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(K(e,"date")&&!t.required)return n();if(k.required(t,e,o,i,r),!K(e,"date")){var c;e instanceof Date?c=e:c=new Date(e),k.type(t,c,o,i,r),c&&k.range(t,c.getTime(),o,i,r)}}n(i)}function Xk(t,e,n,o,r){var i=[],u=Array.isArray(e)?"array":typeof e;k.required(t,e,o,i,r,u),n(i)}function pf(t,e,n,o,r){var i=t.type,u=[],c=t.required||!t.required&&o.hasOwnProperty(t.field);if(c){if(K(e,i)&&!t.required)return n();k.required(t,e,o,u,r,i),K(e,i)||k.type(t,e,o,u,r)}n(u)}function Qk(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(K(e)&&!t.required)return n();k.required(t,e,o,i,r)}n(i)}var to={string:Fk,method:jk,number:Mk,boolean:Nk,regexp:Vk,integer:zk,float:Ck,array:Hk,object:qk,enum:Wk,pattern:Kk,date:Gk,url:pf,hex:pf,email:pf,required:Xk,any:Qk};function df(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var vf=df();function ct(t){this.rules=null,this._messages=vf,this.define(t)}ct.prototype={messages:function(e){return e&&(this._messages=z0(df(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,o;for(n in e)e.hasOwnProperty(n)&&(o=e[n],this.rules[n]=Array.isArray(o)?o:[o])},validate:function(e,n,o){var r=this;n===void 0&&(n={}),o===void 0&&(o=function(){});var i=e,u=n,c=o;if(typeof u=="function"&&(c=u,u={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(),Promise.resolve();function a(O){var w,h=[],$={};function T(P){if(Array.isArray(P)){var S;h=(S=h).concat.apply(S,P)}else h.push(P)}for(w=0;w<O.length;w++)T(O[w]);h.length?$=yf(h):(h=null,$=null),c(h,$)}if(u.messages){var l=this.messages();l===vf&&(l=df()),z0(l,u.messages),u.messages=l}else u.messages=this.messages();var _,s,d={},b=u.keys||Object.keys(this.rules);b.forEach(function(O){_=r.rules[O],s=i[O],_.forEach(function(w){var h=w;typeof h.transform=="function"&&(i===e&&(i=Ve({},i)),s=i[O]=h.transform(s)),typeof h=="function"?h={validator:h}:h=Ve({},h),h.validator=r.getValidationMethod(h),h.field=O,h.fullField=h.fullField||O,h.type=r.getType(h),h.validator&&(d[O]=d[O]||[],d[O].push({rule:h,value:s,source:i,field:O}))})});var m={};return Bk(d,u,function(O,w){var h=O.rule,$=(h.type==="object"||h.type==="array")&&(typeof h.fields=="object"||typeof h.defaultField=="object");$=$&&(h.required||!h.required&&O.value),h.field=O.field;function T(F,A){return Ve(Ve({},A),{},{fullField:h.fullField+"."+F})}function P(F){F===void 0&&(F=[]);var A=F;if(Array.isArray(A)||(A=[A]),!u.suppressWarning&&A.length&&ct.warning("async-validator:",A),A.length&&h.message!==void 0&&(A=[].concat(h.message)),A=A.map(V0(h)),u.first&&A.length)return m[h.field]=1,w(A);if(!$)w(A);else{if(h.required&&!O.value)return h.message!==void 0?A=[].concat(h.message).map(V0(h)):u.error&&(A=[u.error(h,ge(u.messages.required,h.field))]),w(A);var ue={};if(h.defaultField)for(var I in O.value)O.value.hasOwnProperty(I)&&(ue[I]=h.defaultField);ue=Ve(Ve({},ue),O.rule.fields);for(var We in ue)if(ue.hasOwnProperty(We)){var Oo=Array.isArray(ue[We])?ue[We]:[ue[We]];ue[We]=Oo.map(T.bind(null,We))}var Wn=new ct(ue);Wn.messages(u.messages),O.rule.options&&(O.rule.options.messages=u.messages,O.rule.options.error=u.error),Wn.validate(O.value,O.rule.options||u,function(kt){var Ke=[];A&&A.length&&Ke.push.apply(Ke,A),kt&&kt.length&&Ke.push.apply(Ke,kt),w(Ke.length?Ke:null)})}}var S;h.asyncValidator?S=h.asyncValidator(h,O.value,P,O.source,u):h.validator&&(S=h.validator(h,O.value,P,O.source,u),S===!0?P():S===!1?P(h.message||h.field+" fails"):S instanceof Array?P(S):S instanceof Error&&P(S.message)),S&&S.then&&S.then(function(){return P()},function(F){return P(F)})},function(O){a(O)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!to.hasOwnProperty(e.type))throw new Error(ge("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),o=n.indexOf("message");return o!==-1&&n.splice(o,1),n.length===1&&n[0]==="required"?to.required:to[this.getType(e)]||!1}},ct.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");to[e]=n},ct.warning=j0,ct.messages=vf,ct.validators=to;var Jk={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 Zk(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new ct(t);return n.messages(Object.assign(Jk,e)),n}var Yk=new AA;function hf(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function e2(t){if(Array.isArray(t))return t}function t2(t){if(Array.isArray(t))return hf(t)}function H0(t,e,n,o,r,i,u){try{var c=t[i](u),a=c.value}catch(l){n(l);return}c.done?e(a):Promise.resolve(a).then(o,r)}function q0(t){return function(){var e=this,n=arguments;return new Promise(function(o,r){var i=t.apply(e,n);function u(a){H0(i,o,r,u,c,"next",a)}function c(a){H0(i,o,r,u,c,"throw",a)}u(void 0)})}}function n2(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function U0(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function o2(t,e,n){return e&&U0(t.prototype,e),n&&U0(t,n),t}function M(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function W0(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function K0(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function r2(){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 i2(){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 G0(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){M(t,r,n[r])})}return t}function u2(t){return e2(t)||K0(t)||X0(t)||r2()}function bf(t){return t2(t)||K0(t)||X0(t)||i2()}function c2(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function X0(t,e){if(!!t){if(typeof t=="string")return hf(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return hf(t,e)}}function Q0(t,e){var n,o,r,i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},u=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return u.next=c(0),u.throw=c(1),u.return=c(2),typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function c(l){return function(_){return a([l,_])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,l[0]&&(i=0)),i;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return i.label++,{value:l[1],done:!1};case 5:i.label++,o=l[1],l=[0];continue;case 7:l=i.ops.pop(),i.trys.pop();continue;default:if(r=i.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){i=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){i.label=l[1];break}if(l[0]===6&&i.label<r[1]){i.label=r[1],r=l;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(l);break}r[2]&&i.ops.pop(),i.trys.pop();continue}l=e.call(t,i)}catch(_){l=[6,_],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var N=function(){function e(n){var o=this;n2(this,e),M(this,"id",void 0),M(this,"name",void 0),M(this,"icon",void 0),M(this,"type",void 0),M(this,"controlType",void 0),M(this,"props",void 0),M(this,"setting",[]),M(this,"fieldType",void 0),M(this,"eventKeys",[]),M(this,"customEvents",[]),M(this,"parent",null),M(this,"updateSetting",Z0),M(this,"removeSetting",J0),this._callControlHooks("preInstance",n);var r=W0(this,e)?this.constructor:void 0,i=r.controlName,u=r.controlIcon,c=r.controlType,a=r.controlFieldType,l=r.controlEventKeys,_=r.controlCustomEvents,s=r.name,d=r.setting;i&&u&&c||s0("The ".concat(s," controlName,controlIcon,controlType is not define"));var b;this.id=(b=n==null?void 0:n.id)!==null&&b!==void 0?b:Re(10),this.name=i,this.icon=u;var m;this.type=(m=n==null?void 0:n.type)!==null&&m!==void 0?m:c,this.props=new X(n==null?void 0:n.props,(W0(this,e)?this.constructor:void 0).controlName);var O;this.controlType=(O=n==null?void 0:n.controlType)!==null&&O!==void 0?O:"base",this.setting=ot(d);var w;this.fieldType=(w=n==null?void 0:n.fieldType)!==null&&w!==void 0?w:a,this.eventKeys=ot(l),this.customEvents=ot(_),Promise.resolve().then(function(){o._callControlHooks("postInstance",n)})}return o2(e,[{key:"rules",get:function(){var o=this.props.constructor.Rules;return o?new o(this.props):{}}},{key:"_callControlHooks",value:function(){for(var o=arguments.length,r=new Array(o),i=0;i<o;i++)r[i]=arguments[i];var u,c=u2(r),a=c[0],l=c.slice(1);return(u=Yk).emit.apply(u,[a,this].concat(bf(l)))}},{key:"preUpdate",value:function(o,r){this._callControlHooks("preUpdateProps",o,r)}},{key:"postUpdate",value:function(o,r){this._callControlHooks("postUpdateProps",o,r)}},{key:"updateProps",value:function(o,r){this.preUpdate(o,r),hA(this.props,o,r),this.postUpdate(o,r)}},{key:"preValidate",value:function(){return q0(function(){var o,r,i;return Q0(this,function(u){switch(u.label){case 0:return o=G0({},this.rules),[4,this._callControlHooks("preValidate",o)];case 1:return r=u.sent(),i=r[r.length-1],[2,i===!1?void 0:i]}})}).call(this)}},{key:"validate",value:function(o,r){return q0(function(){var i,u,c,a;return Q0(this,function(l){switch(l.label){case 0:return[4,this.preValidate()];case 1:i=l.sent(),u=i!==void 0?i:G0({},this.rules),Array.isArray(r)&&r.forEach(function(_){u.hasOwnProperty(_)&&delete u[_]}),c=Zk(u,o),l.label=2;case 2:return l.trys.push([2,4,,5]),[4,c.validate(this.props)];case 3:return l.sent(),[2,!0];case 4:throw a=l.sent(),a.control||(a.control=this),a;case 5:return[2]}})}).call(this)}},{key:"toDataBindModel",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=this.fieldType,i=this.id,u=this.type,c=this.props,a=c.dataBind,l=c.datasourceBind,_=c.optionConfig,s=c.caption,d=c.required,b=c.maxLength,m=c.options,O=c.encrypted,w=c.encryptedMode;if(!(!r&&!a&&!l)){var h={parentId:o,fieldType:r,controlId:i,caption:s,type:u,props:{}};switch(a&&(h.dataBind=a),_){case"datasource":case void 0:l&&(h.datasourceBind=l);break;case"custom":h.props.options=m;break}return d!==void 0&&(h.required=d),b!==void 0&&(h.maxLength=b),O!==void 0&&(h.encrypted=O),w!==void 0&&(h.encryptedMode=w),h}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:ot(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(o,r){if(o==="setting"){if(r.add){var i;(i=this.setting).push.apply(i,bf(r.add))}r.remove&&this.removeSettingItem(r.remove),r.update}}}]),e}();M(N,"mode","Designer"),M(N,"controlName","\u63A7\u4EF6"),M(N,"controlIcon","icon"),M(N,"controlType","control"),M(N,"controlFieldType",void 0),M(N,"controlEventKeys",[]),M(N,"controlCustomEvents",[]),M(N,"setting",[]),M(N,"__is_control__",!0),M(N,"removeSettingItem",J0),M(N,"updateSettingItem",Z0);function J0(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(o){var r,i=typeof o!="string",u=(r=e.setting)===null||r===void 0?void 0:r.findIndex(function(l){return l.key===(i?o.key:o)});if(u!==-1){var c,a;i?e.setting[u].showItems=(c=e.setting[u].showItems)===null||c===void 0?void 0:c.filter(function(l){return!o.hideItems.includes(l)}):e.setting.splice(u,1),i&&!(!((a=e.setting[u].showItems)===null||a===void 0)&&a.length)&&e.setting.splice(u,1)}})}function Z0(t,e){var n=this,o=typeof t=="string"?[t]:t;o.forEach(function(r){var i=n.setting.find(function(l){return l.key===r});if(i){if(typeof e=="boolean")i.visible=e;else if((typeof e=="undefined"?"undefined":c2(e))==="object"){var u,c=(u=e.type)!==null&&u!==void 0?u:"replace";if(c==="replace")i.showItems=e.showItems;else{var a;(a=i.showItems).push.apply(a,bf(e.showItems))}}}})}function l2(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Y0(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function a2(t,e,n){return e&&Y0(t.prototype,e),n&&Y0(t,n),t}function me(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function f2(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var Je=function(){function e(n){l2(this,e),me(this,"id",void 0),me(this,"type",void 0),me(this,"controlType",void 0),me(this,"props",void 0),me(this,"fieldType",void 0),me(this,"customEvents",[]),me(this,"pageStatus",void 0),me(this,"parent",null);var o=f2(this,e)?this.constructor:void 0,r=o.controlType,i=o.controlFieldType,u=o.name,c=o.controlCustomEvents;r||s0("The ".concat(u," controlType is not define"));var a;this.id=(a=n==null?void 0:n.id)!==null&&a!==void 0?a:Re(10);var l;this.type=(l=n==null?void 0:n.type)!==null&&l!==void 0?l:r,this.props=new X(n==null?void 0:n.props),this.customEvents=c;var _;this.controlType=(_=n==null?void 0:n.controlType)!==null&&_!==void 0?_:"base";var s;this.fieldType=(s=n==null?void 0:n.fieldType)!==null&&s!==void 0?s:i;var d;this.pageStatus=(d=n==null?void 0:n.pageStatus)!==null&&d!==void 0?d:_k.UNKNOWN}return a2(e,[{key:"rules",get:function(){var o=this.props.constructor.RuntimeRules;if(o){var r=new o(this.props);return Array.from(r)}return[]}}]),e}();me(Je,"mode","Runtime"),me(Je,"controlType","control"),me(Je,"controlFieldType",void 0),me(Je,"__is_control__",!0),me(Je,"controlCustomEvents",[]);function gf(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:p.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:p.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:p.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,o,r){o.length===0&&r(p.getMessage("optionIsRequired")),r()}},{type:"array",validator:function(n,o,r){var i=o.map(function(c){return c.value}),u=OA(i);i.length!==u.length?r(p.getMessage("optionIdIsRepeat")):r()},message:p.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:p.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",validator:function(n,o,r){o.length===0&&r(p.getMessage("pleaseBindAtLeastOneDisplayValue")),r()},message:p.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:p.getMessage("isNotBoolean")}}}}]}}])}function Do(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:p.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:p.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:p.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:p.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:p.getMessage("isNotString")},key:{type:"string",required:!0,message:p.getMessage("isNotString")},value:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",validator:function(r,i,u){i.length===0&&u(p.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),u()},message:p.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:p.getMessage("isNotBoolean")}}}}]}}]}function _2(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function y2(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xo(t,e,n){return e=Fo(e),s2(t,eb()?Reflect.construct(e,n||[],Fo(t).constructor):e.apply(t,n))}function Lo(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function j(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Fo(t){return Fo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fo(t)}function jo(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&mf(t,e)}function s2(t,e){return e&&(p2(e)==="object"||typeof e=="function")?e:y2(t)}function mf(t,e){return mf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},mf(t,e)}function p2(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function eb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(eb=function(){return!!t})()}var J=function(t){jo(e,t);function e(n){Lo(this,e);var o;o=xo(this,e,[n]),j(o,"dataBind",{}),j(o,"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),j(o,"isHideCaption",{type:"boolean"}),j(o,"labelPosition",{type:"enum",enum:["top","left"]}),j(o,"defaultState",{type:"enum",enum:["default","readonly"]}),j(o,"required",{type:"boolean"}),j(o,"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")});var r={fieldCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")}};if(_2(n.dataBind))o.dataBind={type:"object",required:!0,fields:ot(r),message:p.getMessage("pleaseEnterFieldCode")};else{var i={type:"object",required:!0,fields:{},message:p.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(u){i.fields[u]={type:"object",required:!0,fields:ot(r),message:p.getMessage("pleaseEnterFieldCode")}}),o.dataBind=i}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return e}(W),z=function(t){jo(e,t);function e(n){Lo(this,e);var o;o=xo(this,e,[n]);var r=n.isHide?!1:n.required;return r&&o.push({type:"string",required:r,message:n.requiredMessage!==""?n.requiredMessage:p.getMessage("runtimeRequired",{caption:n.caption})}),o}return e}(mt),D=function(t){jo(e,t);function e(n){Lo(this,e);var o;o=xo(this,e,[n]),j(o,"caption",void 0),j(o,"captionSize",void 0),j(o,"captionColor",void 0),j(o,"isCaptionItalic",void 0),j(o,"isHideCaption",void 0),j(o,"isShowCaptionTip",void 0),j(o,"captionTip",void 0),j(o,"labelPosition",void 0),j(o,"dataBind",void 0),j(o,"defaultValue",void 0),j(o,"placeholder",void 0),j(o,"defaultState",void 0),j(o,"required",void 0),j(o,"requiredMessage",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:"";var i;o.captionSize=(i=n==null?void 0:n.captionSize)!==null&&i!==void 0?i:"";var u;o.captionColor=(u=n==null?void 0:n.captionColor)!==null&&u!==void 0?u:"";var c;o.isCaptionItalic=(c=n==null?void 0:n.isCaptionItalic)!==null&&c!==void 0?c:!1;var a;o.isHideCaption=(a=n==null?void 0:n.isHideCaption)!==null&&a!==void 0?a:!1;var l;o.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var _;o.captionTip=(_=n==null?void 0:n.captionTip)!==null&&_!==void 0?_:"";var s;o.defaultState=(s=n==null?void 0:n.defaultState)!==null&&s!==void 0?s:"default";var d;o.labelPosition=(d=n==null?void 0:n.labelPosition)!==null&&d!==void 0?d:"top";var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"";var m;o.required=(m=n==null?void 0:n.required)!==null&&m!==void 0?m:!1;var O;o.requiredMessage=(O=n==null?void 0:n.requiredMessage)!==null&&O!==void 0?O:"",o.dataBind=new Ae(n==null?void 0:n.dataBind);var w;return o.defaultValue=(w=n==null?void 0:n.defaultValue)!==null&&w!==void 0?w:"",o}return e}(X);j(D,"Rules",J),j(D,"RuntimeRules",z);var Nt=function(t){jo(e,t);function e(n){Lo(this,e);var o;return o=xo(this,e,[n]),j(o,"optionConfig",{type:"enum",enum:["custom","datasource"],message:p.getMessage("PleaseSelectTheCorrectOptionSettings")}),j(o,"options",[{type:"array",message:p.getMessage("isNotArray")}]),j(o,"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),gf.call(o,n),o}return e}(J);function d2(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function v2(t,e,n){return e=No(e),g2(t,tb()?Reflect.construct(e,n||[],No(t).constructor):e.apply(t,n))}function h2(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function No(t){return No=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},No(t)}function b2(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Of(t,e)}function g2(t,e){return e&&(m2(e)==="object"||typeof e=="function")?e:d2(t)}function Of(t,e){return Of=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Of(t,e)}function m2(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tb=function(){return!!t})()}var x=function(t){b2(e,t);function e(n){h2(this,e);var o;return o=v2(this,e,[n]),Mo(o,"controlType","form"),Mo(o,"props",void 0),o.props=new D(n==null?void 0:n.props),o}return e}(N);Mo(x,"controlEventKeys",["on_change","on_focus","on_blur"]),Mo(x,"controlCustomAttributes",void 0);function O2(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function w2(t,e,n){return e=Vo(e),E2(t,nb()?Reflect.construct(e,n||[],Vo(t).constructor):e.apply(t,n))}function $2(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wf(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Vo(t){return Vo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vo(t)}function P2(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$f(t,e)}function E2(t,e){return e&&(S2(e)==="object"||typeof e=="function")?e:O2(t)}function $f(t,e){return $f=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$f(t,e)}function S2(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function nb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(nb=function(){return!!t})()}var L=function(t){P2(e,t);function e(n){$2(this,e);var o;return o=w2(this,e,[n]),wf(o,"controlType","form"),wf(o,"props",void 0),wf(o,"value",void 0),o.props=new D(n==null?void 0:n.props),o}return e}(Je);function T2(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function R2(t,e,n){return e=zo(e),A2(t,ob()?Reflect.construct(e,n||[],zo(t).constructor):e.apply(t,n))}function I2(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zo(t){return zo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zo(t)}function B2(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Pf(t,e)}function A2(t,e){return e&&(k2(e)==="object"||typeof e=="function")?e:T2(t)}function Pf(t,e){return Pf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Pf(t,e)}function k2(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ob(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ob=function(){return!!t})()}var Z=function(t){B2(e,t);function e(n){return I2(this,e),R2(this,e,[n])}return e}(X);function Ef(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function D2(t){if(Array.isArray(t))return Ef(t)}function x2(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rb(t,e,n,o,r,i,u){try{var c=t[i](u),a=c.value}catch(l){n(l);return}c.done?e(a):Promise.resolve(a).then(o,r)}function L2(t){return function(){var e=this,n=arguments;return new Promise(function(o,r){var i=t.apply(e,n);function u(a){rb(i,o,r,u,c,"next",a)}function c(a){rb(i,o,r,u,c,"throw",a)}u(void 0)})}}function F2(t,e,n){return e=at(e),W2(t,cb()?Reflect.construct(e,n||[],at(t).constructor):e.apply(t,n))}function j2(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ib(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function M2(t,e,n){return e&&ib(t.prototype,e),n&&ib(t,n),t}function lt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Vt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Vt=Reflect.get:Vt=function(r,i,u){var c=K2(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Vt(t,e,n||t)}function at(t){return at=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},at(t)}function N2(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Sf(t,e)}function V2(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function z2(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function C2(){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 H2(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){lt(t,r,n[r])})}return t}function q2(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,o)}return n}function U2(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):q2(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function W2(t,e){return e&&(G2(e)==="object"||typeof e=="function")?e:x2(t)}function Sf(t,e){return Sf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sf(t,e)}function K2(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=at(t),t!==null););return t}function ub(t){return D2(t)||z2(t)||X2(t)||C2()}function G2(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function X2(t,e){if(!!t){if(typeof t=="string")return Ef(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ef(t,e)}}function cb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(cb=function(){return!!t})()}function Q2(t,e){var n,o,r,i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},u=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return u.next=c(0),u.throw=c(1),u.return=c(2),typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function c(l){return function(_){return a([l,_])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,l[0]&&(i=0)),i;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return i.label++,{value:l[1],done:!1};case 5:i.label++,o=l[1],l=[0];continue;case 7:l=i.ops.pop(),i.trys.pop();continue;default:if(r=i.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){i=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){i.label=l[1];break}if(l[0]===6&&i.label<r[1]){i.label=r[1],r=l;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(l);break}r[2]&&i.ops.pop(),i.trys.pop();continue}l=e.call(t,i)}catch(_){l=[6,_],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var J2=1e4,Y=function(e){N2(n,e);function n(o){j2(this,n);var r;r=F2(this,n,[o]),lt(r,"controlType","layout"),lt(r,"children",void 0),lt(r,"excludes",void 0),lt(r,"childrenMaxLength",void 0),lt(r,"props",void 0);var i=V2(this,n)?this.constructor:void 0,u=i.excludes,c=i.childrenMaxLength;return r.props=new Z(o==null?void 0:o.props),Ge(r,"children",o==null?void 0:o.children,void 0,"Designer"),r.excludes=ot(u),r.childrenMaxLength=c,r}return M2(n,[{key:"judgeExcludesChildren",value:function(r){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(r)}},{key:"judgeJoinChildren",value:function(r){var i=this.judgeExcludesChildren(r);return i&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(r,i){var u=this,c=this,a=function(){return Vt(at(n.prototype),"validate",u)};return L2(function(){return Q2(this,function(l){switch(l.label){case 0:return[4,a().call(c,r,i)];case 1:return l.sent(),[4,Promise.all(this.children.map(function(_){return _.validate(r,i)}))];case 2:return l.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,i=Vt(at(n.prototype),"toDataBindModel",this).call(this),u=i?[i]:[];return this.children.reduce(function(c,a){var l=a.toDataBindModel(r);if(Array.isArray(l)){var _=l.filter(function(s){return!!s});return ub(c).concat(ub(_))}return l&&c.push(l),c},u)}},{key:"toSchema",value:function(){var r=Vt(at(n.prototype),"toSchema",this).call(this),i=this.children.map(function(u){var c=u.toSchema();return c});return U2(H2({},r),{children:i})}}]),n}(N);lt(Y,"excludes",!1),lt(Y,"childrenMaxLength",J2);function Z2(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Y2(t,e,n){return e=Co(e),nD(t,lb()?Reflect.construct(e,n||[],Co(t).constructor):e.apply(t,n))}function eD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Tf(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Co(t){return Co=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Co(t)}function tD(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Rf(t,e)}function nD(t,e){return e&&(oD(e)==="object"||typeof e=="function")?e:Z2(t)}function Rf(t,e){return Rf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rf(t,e)}function oD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function lb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(lb=function(){return!!t})()}var Ot=function(t){tD(e,t);function e(n){eD(this,e);var o;return o=Y2(this,e,[n]),Tf(o,"controlType","layout"),Tf(o,"children",void 0),Tf(o,"props",void 0),o.props=new Z(n==null?void 0:n.props),Ge(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return e}(Je);function rD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function iD(t,e,n){return e=Ho(e),lD(t,ab()?Reflect.construct(e,n||[],Ho(t).constructor):e.apply(t,n))}function uD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ho(t){return Ho=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ho(t)}function cD(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&If(t,e)}function lD(t,e){return e&&(aD(e)==="object"||typeof e=="function")?e:rD(t)}function If(t,e){return If=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},If(t,e)}function aD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ab(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ab=function(){return!!t})()}var Bf=function(t){cD(e,t);function e(n,o,r){uD(this,e);var i;i=iD(this,e,[o]),zt(i,"headers",void 0),zt(i,"footers",void 0),zt(i,"pageIndex",void 0),zt(i,"pageSize",void 0),zt(i,"pageSizeOptions",void 0),zt(i,"totalCount",void 0),Ge(i,"headers",o==null?void 0:o.headers,n,r),Ge(i,"footers",o==null?void 0:o.footers,n);var u;i.pageIndex=(u=o==null?void 0:o.pageIndex)!==null&&u!==void 0?u:1;var c;i.pageSize=(c=o==null?void 0:o.pageSize)!==null&&c!==void 0?c:20;var a;i.pageSizeOptions=(a=o==null?void 0:o.pageSizeOptions)!==null&&a!==void 0?a:[20];var l;return i.totalCount=(l=o==null?void 0:o.totalCount)!==null&&l!==void 0?l:0,i}return e}(X);function Af(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function fD(t){if(Array.isArray(t))return Af(t)}function _D(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fb(t,e,n,o,r,i,u){try{var c=t[i](u),a=c.value}catch(l){n(l);return}c.done?e(a):Promise.resolve(a).then(o,r)}function yD(t){return function(){var e=this,n=arguments;return new Promise(function(o,r){var i=t.apply(e,n);function u(a){fb(i,o,r,u,c,"next",a)}function c(a){fb(i,o,r,u,c,"throw",a)}u(void 0)})}}function sD(t,e,n){return e=ft(e),mD(t,db()?Reflect.construct(e,n||[],ft(t).constructor):e.apply(t,n))}function pD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _b(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function dD(t,e,n){return e&&_b(t.prototype,e),n&&_b(t,n),t}function qo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ct(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Ct=Reflect.get:Ct=function(r,i,u){var c=OD(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Ct(t,e,n||t)}function ft(t){return ft=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ft(t)}function vD(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&kf(t,e)}function hD(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function bD(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function yb(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){qo(t,r,n[r])})}return t}function gD(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,o)}return n}function sb(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):gD(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function mD(t,e){return e&&(wD(e)==="object"||typeof e=="function")?e:_D(t)}function kf(t,e){return kf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kf(t,e)}function OD(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=ft(t),t!==null););return t}function pb(t){return fD(t)||hD(t)||$D(t)||bD()}function wD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $D(t,e){if(!!t){if(typeof t=="string")return Af(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Af(t,e)}}function db(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(db=function(){return!!t})()}function PD(t,e){var n,o,r,i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},u=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return u.next=c(0),u.throw=c(1),u.return=c(2),typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function c(l){return function(_){return a([l,_])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,l[0]&&(i=0)),i;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return i.label++,{value:l[1],done:!1};case 5:i.label++,o=l[1],l=[0];continue;case 7:l=i.ops.pop(),i.trys.pop();continue;default:if(r=i.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){i=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){i.label=l[1];break}if(l[0]===6&&i.label<r[1]){i.label=r[1],r=l;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(l);break}r[2]&&i.ops.pop(),i.trys.pop();continue}l=e.call(t,i)}catch(_){l=[6,_],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var Df=function(t){vD(e,t);function e(n){pD(this,e);var o;return o=sD(this,e,[n]),qo(o,"controlType","list"),qo(o,"props",void 0),o.props=new Bf(o,n==null?void 0:n.props,"Designer"),o}return dD(e,[{key:"validate",value:function(o,r){var i=this,u=this,c=function(){return Ct(ft(e.prototype),"validate",i)};return yD(function(){return PD(this,function(a){switch(a.label){case 0:return[4,c().call(u,o)];case 1:return a.sent(),[4,Promise.all(this.props.headers.map(function(l){return l.validate(o,r)}))];case 2:return a.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var o=Ct(ft(e.prototype),"toDataBindModel",this).call(this),r=o?[o]:[],i=this.id;return this.props.headers.reduce(function(u,c){var a=c.toDataBindModel(i);if(Array.isArray(a)){var l=a.filter(function(_){return!!_});return pb(u).concat(pb(l))}return a&&u.push(a),u},r)}},{key:"toSchema",value:function(){var o,r,i=Ct(ft(e.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(a){return a.toSchema()}),c=(r=this.props)===null||r===void 0||(o=r.footers)===null||o===void 0?void 0:o.map(function(a){if(a)return a.toSchema()});return sb(yb({},i),{props:sb(yb({},this.props),{headers:u,footers:c})})}}]),e}(N);qo(Df,"controlFieldType",g.LIST);function ED(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xf(t,e,n){return e=Uo(e),SD(t,vb()?Reflect.construct(e,n||[],Uo(t).constructor):e.apply(t,n))}function Lf(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ee(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Uo(t){return Uo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Uo(t)}function Ff(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&jf(t,e)}function SD(t,e){return e&&(TD(e)==="object"||typeof e=="function")?e:ED(t)}function jf(t,e){return jf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jf(t,e)}function TD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function vb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(vb=function(){return!!t})()}var ze=function(t){Ff(e,t);function e(n){Lf(this,e);var o;return o=xf(this,e,[n]),ee(o,"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),ee(o,"width",{type:"number",required:!1,message:p.getMessage("pleaseEnterColumnWidth")}),o.width.required=n.widthType==="px",o}return e}(W),q=function(t){Ff(e,t);function e(n){Lf(this,e);var o;o=xf(this,e,[n]),ee(o,"widthType",void 0),ee(o,"width",void 0),ee(o,"caption",void 0),ee(o,"dataBind",void 0),ee(o,"autoWidth",void 0),ee(o,"fixed",void 0),ee(o,"sort",void 0),ee(o,"align",void 0),ee(o,"colSpan",void 0),ee(o,"autoHeight",void 0),ee(o,"children",void 0);var r;o.width=(r=n==null?void 0:n.width)!==null&&r!==void 0?r:150,o.widthType=(n==null?void 0:n.widthType)||"auto";var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:"none",o.autoWidth=new Za(n==null?void 0:n.autoWidth),o.dataBind=new Ae(n==null?void 0:n.dataBind);var c;o.sort=(c=n==null?void 0:n.sort)!==null&&c!==void 0?c:!0,o.align=n==null?void 0:n.align,o.colSpan=n==null?void 0:n.colSpan;var a;return o.autoHeight=(a=n==null?void 0:n.autoHeight)!==null&&a!==void 0?a:!1,o}return e}(X);ee(q,"Rules",ze);var hb=function(t){Ff(e,t);function e(n){Lf(this,e);var o;return o=xf(this,e,[n]),ee(o,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:p.getMessage("PleaseSelectTheCorrectOptionSettings")}),ee(o,"options",[{type:"array",message:p.getMessage("isNotArray")}]),ee(o,"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),gf.call(o,n),o}return e}(ze);function RD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ID(t,e,n){return e=Ht(e),FD(t,gb()?Reflect.construct(e,n||[],Ht(t).constructor):e.apply(t,n))}function BD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bb(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function AD(t,e,n){return e&&bb(t.prototype,e),n&&bb(t,n),t}function Wo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ko(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Ko=Reflect.get:Ko=function(r,i,u){var c=jD(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Ko(t,e,n||t)}function Ht(t){return Ht=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ht(t)}function kD(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Mf(t,e)}function DD(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Wo(t,r,n[r])})}return t}function xD(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,o)}return n}function LD(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):xD(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function FD(t,e){return e&&(MD(e)==="object"||typeof e=="function")?e:RD(t)}function Mf(t,e){return Mf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Mf(t,e)}function jD(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Ht(t),t!==null););return t}function MD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function gb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(gb=function(){return!!t})()}var te=function(t){kD(e,t);function e(n){BD(this,e);var o;return o=ID(this,e,[n]),Wo(o,"controlType","column"),Wo(o,"props",void 0),Wo(o,"children",void 0),o.props=new q(n==null?void 0:n.props),Ge(o,"children",n==null?void 0:n.children,void 0,"Designer"),o}return AD(e,[{key:"toSchema",value:function(){var o=Ko(Ht(e.prototype),"toSchema",this).call(this);return LD(DD({},o),{children:this.children?this.children.map(function(r){return r.toSchema()}):[]})}}]),e}(N);function ND(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function VD(t,e,n){return e=Go(e),HD(t,mb()?Reflect.construct(e,n||[],Go(t).constructor):e.apply(t,n))}function zD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nf(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Go(t){return Go=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Go(t)}function CD(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vf(t,e)}function HD(t,e){return e&&(qD(e)==="object"||typeof e=="function")?e:ND(t)}function Vf(t,e){return Vf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vf(t,e)}function qD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(mb=function(){return!!t})()}var ne=function(t){CD(e,t);function e(n){zD(this,e);var o;return o=VD(this,e,[n]),Nf(o,"controlType","column"),Nf(o,"props",void 0),Nf(o,"children",void 0),o.props=new q(n==null?void 0:n.props),Ge(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return e}(Je);function UD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function WD(t,e,n){return e=Xo(e),QD(t,Ob()?Reflect.construct(e,n||[],Xo(t).constructor):e.apply(t,n))}function KD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function GD(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xo(t){return Xo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xo(t)}function XD(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&zf(t,e)}function QD(t,e){return e&&(JD(e)==="object"||typeof e=="function")?e:UD(t)}function zf(t,e){return zf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zf(t,e)}function JD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ob(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ob=function(){return!!t})()}var Cf=function(t){XD(e,t);function e(n){KD(this,e);var o;return o=WD(this,e,[n]),GD(o,"dataBind",void 0),o.dataBind=new Ae(n==null?void 0:n.dataBind),o}return e}(Z);function ZD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function YD(t,e,n){return e=Qo(e),nx(t,$b()?Reflect.construct(e,n||[],Qo(t).constructor):e.apply(t,n))}function ex(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wb(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Qo(t){return Qo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qo(t)}function tx(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hf(t,e)}function nx(t,e){return e&&(ox(e)==="object"||typeof e=="function")?e:ZD(t)}function Hf(t,e){return Hf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hf(t,e)}function ox(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $b(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($b=function(){return!!t})()}var rx=function(t){tx(e,t);function e(n){ex(this,e);var o;return o=YD(this,e,[n]),wb(o,"controlType","search"),wb(o,"props",void 0),o.props=new Cf(n==null?void 0:n.props),o}return e}(Y);function ix(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ux(t,e,n){return e=Jo(e),ax(t,Eb()?Reflect.construct(e,n||[],Jo(t).constructor):e.apply(t,n))}function cx(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pb(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Jo(t){return Jo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jo(t)}function lx(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&qf(t,e)}function ax(t,e){return e&&(fx(e)==="object"||typeof e=="function")?e:ix(t)}function qf(t,e){return qf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qf(t,e)}function fx(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Eb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Eb=function(){return!!t})()}var _x=function(t){lx(e,t);function e(n){cx(this,e);var o;return o=ux(this,e,[n]),Pb(o,"controlType","search"),Pb(o,"props",void 0),o.props=new Cf(n==null?void 0:n.props),o}return e}(Ot);function _t(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:p.getMessage("pleaseEnterForm")}}}])}function yx(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function sx(t,e,n){return e=Zo(e),vx(t,Sb()?Reflect.construct(e,n||[],Zo(t).constructor):e.apply(t,n))}function px(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Zo(t){return Zo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zo(t)}function dx(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Uf(t,e)}function vx(t,e){return e&&(hx(e)==="object"||typeof e=="function")?e:yx(t)}function Uf(t,e){return Uf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Uf(t,e)}function hx(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Sb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Sb=function(){return!!t})()}var bx=function(t){dx(e,t);function e(n){px(this,e);var o;o=sx(this,e,[n]),qt(o,"content",void 0),qt(o,"fontSize",void 0),qt(o,"color",void 0),qt(o,"icon",void 0),qt(o,"align",void 0),qt(o,"showState",void 0);var r;o.fontSize=(r=n==null?void 0:n.fontSize)!==null&&r!==void 0?r:"14px";var i;o.color=(i=n==null?void 0:n.color)!==null&&i!==void 0?i:"#646A73";var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:"page-hint";var c;o.showState=(c=n==null?void 0:n.showState)!==null&&c!==void 0?c:"text";var a;o.content=(a=n==null?void 0:n.content)!==null&&a!==void 0?a:"\u8BF4\u660E\u6587\u5B57";var l;return o.align=(l=n==null?void 0:n.align)!==null&&l!==void 0?l:"",o}return e}(X);function gx(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mx(t,e,n){return e=Yo(e),Px(t,Ib()?Reflect.construct(e,n||[],Yo(t).constructor):e.apply(t,n))}function Ox(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Tb(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function wx(t,e,n){return e&&Tb(t.prototype,e),n&&Tb(t,n),t}function Rb(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yo(t){return Yo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yo(t)}function $x(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Wf(t,e)}function Px(t,e){return e&&(Ex(e)==="object"||typeof e=="function")?e:gx(t)}function Wf(t,e){return Wf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wf(t,e)}function Ex(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ib(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ib=function(){return!!t})()}var Sx=function(t){$x(e,t);function e(n){Ox(this,e);var o;return o=mx(this,e,[n]),Rb(o,"props",void 0),o.props=new bx(n==null?void 0:n.props),o}return wx(e,null,[{key:"controlName",get:function(){return"\u8BF4\u660E\u6587\u5B57"}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),e}(N);Rb(Sx,"setting",[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}]);function Tx(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Rx(t,e,n){return e=er(e),Ax(t,Bb()?Reflect.construct(e,n||[],er(t).constructor):e.apply(t,n))}function Ix(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kf(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function er(t){return er=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},er(t)}function Bx(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Gf(t,e)}function Ax(t,e){return e&&(kx(e)==="object"||typeof e=="function")?e:Tx(t)}function Gf(t,e){return Gf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gf(t,e)}function kx(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Bb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Bb=function(){return!!t})()}var Dx=function(t){Bx(e,t);function e(n){Ix(this,e);var o;o=Rx(this,e,[n]),Kf(o,"content",void 0),Kf(o,"url",void 0),Kf(o,"openMode",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5";var i;o.url=(i=n==null?void 0:n.url)!==null&&i!==void 0?i:"";var u;return o.openMode=(u=n==null?void 0:n.openMode)!==null&&u!==void 0?u:"new",o}return e}(D);function xx(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Lx(t,e,n){return e=tr(e),Nx(t,kb()?Reflect.construct(e,n||[],tr(t).constructor):e.apply(t,n))}function Fx(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ab(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function jx(t,e,n){return e&&Ab(t.prototype,e),n&&Ab(t,n),t}function Xf(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function tr(t){return tr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tr(t)}function Mx(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Qf(t,e)}function Nx(t,e){return e&&(Vx(e)==="object"||typeof e=="function")?e:xx(t)}function Qf(t,e){return Qf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qf(t,e)}function Vx(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function kb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(kb=function(){return!!t})()}var Db=function(t){Mx(e,t);function e(n){Fx(this,e);var o;return o=Lx(this,e,[n]),Xf(o,"props",void 0),o.props=new Dx(n==null?void 0:n.props),o}return jx(e,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),e}(N);Xf(Db,"controlEventKeys",["on_click"]),Xf(Db,"setting",[{key:"data-bind",visible:!0},{key:"content",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}]);function zx(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Cx(t,e,n){return e=nr(e),Ux(t,xb()?Reflect.construct(e,n||[],nr(t).constructor):e.apply(t,n))}function Hx(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ze(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function nr(t){return nr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nr(t)}function qx(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Jf(t,e)}function Ux(t,e){return e&&(Wx(e)==="object"||typeof e=="function")?e:zx(t)}function Jf(t,e){return Jf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jf(t,e)}function Wx(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xb=function(){return!!t})()}var Oe=function(t){qx(e,t);function e(n){Hx(this,e);var o;o=Cx(this,e,[n]),Ze(o,"content",void 0),Ze(o,"buttonType",void 0),Ze(o,"showType",void 0),Ze(o,"color",void 0),Ze(o,"icon",void 0),Ze(o,"defaultState",void 0),Ze(o,"command",void 0),Ze(o,"isLoading",void 0),Ze(o,"optObj",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:"\u6309\u94AE";var i;o.buttonType=(i=n==null?void 0:n.buttonType)!==null&&i!==void 0?i:"primary";var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"text";var c;o.color=(c=n==null?void 0:n.color)!==null&&c!==void 0?c:"primary";var a;o.icon=(a=n==null?void 0:n.icon)!==null&&a!==void 0?a:"iconfenlei2";var l;o.defaultState=(l=n==null?void 0:n.defaultState)!==null&&l!==void 0?l:"default";var _;o.command=(_=n==null?void 0:n.command)!==null&&_!==void 0?_:"custom";var s;o.isLoading=(s=n==null?void 0:n.isLoading)!==null&&s!==void 0?s:!1;var d;return o.optObj=new pk((d=n==null?void 0:n.optObj)!==null&&d!==void 0?d:{}),o}return e}(X);function Kx(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Gx(t,e,n){return e=or(e),Zx(t,Fb()?Reflect.construct(e,n||[],or(t).constructor):e.apply(t,n))}function Xx(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Lb(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Qx(t,e,n){return e&&Lb(t.prototype,e),n&&Lb(t,n),t}function Zf(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function or(t){return or=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},or(t)}function Jx(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Yf(t,e)}function Zx(t,e){return e&&(Yx(e)==="object"||typeof e=="function")?e:Kx(t)}function Yf(t,e){return Yf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yf(t,e)}function Yx(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Fb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Fb=function(){return!!t})()}var pe=function(t){Jx(e,t);function e(n){Xx(this,e);var o;return o=Gx(this,e,[n]),Zf(o,"props",void 0),o.props=new Oe(n==null?void 0:n.props),o}return Qx(e,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),e}(N);Zf(pe,"controlEventKeys",["on_click"]),Zf(pe,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE]},{key:"super-setting",visible:!0}]);function yt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function B(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var wt=function(t){return t.ShowBizKey="is_show_biz_key",t.ShowSubmitUser="is_show_submit_user",t.ShowSubmitTime="is_show_submit_time",t.ShowSubmitDept="is_show_submit_dept",t.ShowCurrentApprovar="is_show_current_approvar",t.ShowTitle="is_show_title",t}({}),e_=function t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:Re(8),value:["",""]};yt(this,t),B(this,"dateConfigType",void 0),B(this,"dateLimitType",void 0),B(this,"id",void 0),B(this,"value",void 0),this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value},eL=function(t){return t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t}({}),t_=function t(e){yt(this,t),B(this,"id",void 0),B(this,"text",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:Re();var o;this.text=(o=e==null?void 0:e.text)!==null&&o!==void 0?o:""},tL=function(t){return t.SOLID="solid-line",t.DASHED="dashed-line",t.BOLD_SOLID="bold-solid-line",t.BOLD_DASHED="bold-dashed-line",t.DOUBLE_SOLID="double-solid-line",t.DOUBLE_DASHED="double-dashed-line",t}({}),jb=function t(e){yt(this,t),B(this,"type",void 0),B(this,"person",void 0),B(this,"signatureType",void 0),B(this,"telephone",void 0),B(this,"company",void 0),B(this,"remark",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"private";var o;this.person=new Jn((o=e==null?void 0:e.person)!==null&&o!==void 0?o:{type:"form"});var r;this.signatureType=(r=e==null?void 0:e.signatureType)!==null&&r!==void 0?r:[];var i,u;this.telephone=(u=e==null?void 0:e.telephone)!==null&&u!==void 0?u:new Jn((i=e==null?void 0:e.telephone)!==null&&i!==void 0?i:{type:"form"});var c,a;this.company=(a=e==null?void 0:e.company)!==null&&a!==void 0?a:new Jn((c=e==null?void 0:e.company)!==null&&c!==void 0?c:{type:"form"});var l;this.remark=(l=e==null?void 0:e.remark)!==null&&l!==void 0?l:""},nL=function t(e){yt(this,t);var n;B(this,"fileControl",void 0),B(this,"undersignedList",void 0),B(this,"statusControl",void 0),B(this,"completeControl",void 0),B(this,"completeTimeControl",void 0);var o;this.fileControl=(o=e==null?void 0:e.fileControl)!==null&&o!==void 0?o:"";var r;this.undersignedList=(r=e==null||(n=e.undersignedList)===null||n===void 0?void 0:n.map(function(a){return new jb(a)}))!==null&&r!==void 0?r:[new jb];var i;this.statusControl=(i=e==null?void 0:e.statusControl)!==null&&i!==void 0?i:"";var u;this.completeControl=(u=e==null?void 0:e.completeControl)!==null&&u!==void 0?u:"";var c;this.completeTimeControl=(c=e==null?void 0:e.completeTimeControl)!==null&&c!==void 0?c:""},Mb=function t(e){yt(this,t),B(this,"id",void 0),B(this,"appId",void 0),B(this,"dataCode",void 0),B(this,"svcCode",void 0),B(this,"name",void 0),B(this,"fieldList",void 0),B(this,"active",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:Re(8);var o;this.appId=(o=e==null?void 0:e.appId)!==null&&o!==void 0?o:"";var r;this.dataCode=(r=e==null?void 0:e.dataCode)!==null&&r!==void 0?r:"";var i;this.svcCode=(i=e==null?void 0:e.svcCode)!==null&&i!==void 0?i:"";var u;this.name=(u=e==null?void 0:e.name)!==null&&u!==void 0?u:"";var c;this.fieldList=(c=e==null?void 0:e.fieldList)!==null&&c!==void 0?c:[];var a;this.active=(a=e==null?void 0:e.active)!==null&&a!==void 0?a:!1},Nb=function t(e){yt(this,t),B(this,"active",void 0),B(this,"text",void 0);var n;this.active=(n=e==null?void 0:e.active)!==null&&n!==void 0?n:!1;var o;this.text=(o=e==null?void 0:e.text)!==null&&o!==void 0?o:""},oL=function t(e){yt(this,t),B(this,"types",void 0),B(this,"history",void 0),B(this,"collaborativeRecord",void 0),B(this,"logicToDelete",void 0),B(this,"watermark",void 0),B(this,"autoRename",void 0);var n;this.types=(n=e==null?void 0:e.types)!==null&&n!==void 0?n:["word","ppt","excel"];var o;this.history=(o=e==null?void 0:e.history)!==null&&o!==void 0?o:!1;var r;this.collaborativeRecord=(r=e==null?void 0:e.collaborativeRecord)!==null&&r!==void 0?r:!1;var i;this.logicToDelete=(i=e==null?void 0:e.logicToDelete)!==null&&i!==void 0?i:!0,this.watermark=new Nb(e==null?void 0:e.watermark),this.autoRename=new Nb(e==null?void 0:e.autoRename)},rL=480;function Ut(t){return new RegExp(t.replace(/^\/|\/$/g,""))}var iL=function t(e){yt(this,t),B(this,"fileId",void 0),B(this,"fileName",void 0),B(this,"ruleName",void 0),B(this,"isDefault",void 0),B(this,"rules",void 0);var n;this.fileId=(n=e==null?void 0:e.fileId)!==null&&n!==void 0?n:"";var o;this.fileName=(o=e==null?void 0:e.fileName)!==null&&o!==void 0?o:"";var r;this.ruleName=(r=e==null?void 0:e.ruleName)!==null&&r!==void 0?r:"";var i;this.isDefault=(i=e.isDefault)!==null&&i!==void 0?i:!1;var u;this.rules=(u=e.rules)!==null&&u!==void 0?u:[]},uL=function(t){return t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t}({}),Vb=function(t){return t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t}({}),Wt=function(t){return t.ALL="all",t.ASSIGN="assign",t}({}),cL=function(t){return t.ALL="all",t.ADMIN="admin",t}({});function lL(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function aL(t,e,n){return e=rr(e),yL(t,Cb()?Reflect.construct(e,n||[],rr(t).constructor):e.apply(t,n))}function fL(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zb(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function rr(t){return rr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rr(t)}function _L(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&n_(t,e)}function yL(t,e){return e&&(sL(e)==="object"||typeof e=="function")?e:lL(t)}function n_(t,e){return n_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},n_(t,e)}function sL(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Cb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Cb=function(){return!!t})()}var pL=function(t){_L(e,t);function e(n){fL(this,e);var o;o=aL(this,e,[n]),zb(o,"color",void 0),zb(o,"lineStyle",void 0);var r;o.color=(r=n==null?void 0:n.color)!==null&&r!==void 0?r:"#000";var i;return o.lineStyle=(i=n==null?void 0:n.lineStyle)!==null&&i!==void 0?i:tL.SOLID,o}return e}(X);function dL(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vL(t,e,n){return e=ir(e),mL(t,Ub()?Reflect.construct(e,n||[],ir(t).constructor):e.apply(t,n))}function hL(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hb(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function bL(t,e,n){return e&&Hb(t.prototype,e),n&&Hb(t,n),t}function qb(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ir(t){return ir=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ir(t)}function gL(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o_(t,e)}function mL(t,e){return e&&(OL(e)==="object"||typeof e=="function")?e:dL(t)}function o_(t,e){return o_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},o_(t,e)}function OL(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ub(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ub=function(){return!!t})()}var wL=function(t){gL(e,t);function e(n){hL(this,e);var o;return o=vL(this,e,[n]),qb(o,"props",void 0),o.props=new pL(n==null?void 0:n.props),o}return bL(e,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),e}(N);qb(wL,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE]}]);function $L(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Wb(t,e,n){return e=ur(e),PL(t,Xb()?Reflect.construct(e,n||[],ur(t).constructor):e.apply(t,n))}function Kb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function st(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ur(t){return ur=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ur(t)}function Gb(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&r_(t,e)}function PL(t,e){return e&&(EL(e)==="object"||typeof e=="function")?e:$L(t)}function r_(t,e){return r_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},r_(t,e)}function EL(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Xb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Xb=function(){return!!t})()}var SL=function(t){Gb(e,t);function e(n){Kb(this,e);var o;return o=Wb(this,e,[n]),st(o,"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),st(o,"dataBind",{type:"any"}),st(o,"config",{type:"array"}),n.config.includes(wt.ShowBizKey)&&(o.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:p.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:p.getMessage("bizKeyNotBindFiled")}},message:p.getMessage("bizKeyNotBindFiled")}),!n.isHide&&n.config.length===0&&(o.config={type:"array",min:1,required:!0,message:p.getMessage("pleaseSelectOneField")}),o}return e}(W),Qb=function(t){Gb(e,t);function e(n){Kb(this,e);var o;o=Wb(this,e,[n]),st(o,"dataBind",void 0),st(o,"caption",void 0),st(o,"config",void 0),st(o,"position",void 0),o.dataBind=new Ae(n==null?void 0:n.dataBind);var r;o.config=(r=n==null?void 0:n.config)!==null&&r!==void 0?r:[wt.ShowSubmitUser,wt.ShowSubmitDept,wt.ShowSubmitTime,wt.ShowCurrentApprovar,wt.ShowTitle];var i,u;o.caption=(u=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:no==null?void 0:no.controlName)!==null&&u!==void 0?u:"";var c;return o.position=(c=n==null?void 0:n.position)!==null&&c!==void 0?c:"top",o}return e}(X);st(Qb,"Rules",SL);function TL(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function RL(t,e,n){return e=cr(e),kL(t,Zb()?Reflect.construct(e,n||[],cr(t).constructor):e.apply(t,n))}function IL(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jb(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function BL(t,e,n){return e&&Jb(t.prototype,e),n&&Jb(t,n),t}function i_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function cr(t){return cr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cr(t)}function AL(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u_(t,e)}function kL(t,e){return e&&(DL(e)==="object"||typeof e=="function")?e:TL(t)}function u_(t,e){return u_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},u_(t,e)}function DL(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Zb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Zb=function(){return!!t})()}var no=function(t){AL(e,t);function e(n){IL(this,e);var o;return o=RL(this,e,[n]),i_(o,"props",void 0),o.props=new Qb(n==null?void 0:n.props),o}return BL(e,null,[{key:"controlName",get:function(){return"\u6807\u9898\u7EC4\u4EF6"}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),e}(N);i_(no,"controlFieldType",g.AUTO_NUMBER),i_(no,"setting",[{key:"common-setting",visible:!0,showItems:[f.IS_HIDE]},{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}]);function xL(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Yb(t,e,n){return e=ar(e),LL(t,ng()?Reflect.construct(e,n||[],ar(t).constructor):e.apply(t,n))}function eg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function lr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ar(t){return ar=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ar(t)}function tg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c_(t,e)}function LL(t,e){return e&&(FL(e)==="object"||typeof e=="function")?e:xL(t)}function c_(t,e){return c_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},c_(t,e)}function FL(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ng(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ng=function(){return!!t})()}var jL=function(t){tg(e,t);function e(n){eg(this,e);var o;return o=Yb(this,e,[n]),lr(o,"formKey",{type:"string",required:!0,message:p.getMessage("pleaseEnterForm")}),o}return e}(W),og=function(t){tg(e,t);function e(n){eg(this,e);var o;o=Yb(this,e,[n]),lr(o,"formKey",void 0),lr(o,"openType",void 0);var r;o.icon=(r=n==null?void 0:n.icon)!==null&&r!==void 0?r:_r.controlIcon;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:_r.controlName;var u;o.formKey=(u=n==null?void 0:n.formKey)!==null&&u!==void 0?u:"";var c;return o.openType=(c=n==null?void 0:n.openType)!==null&&c!==void 0?c:"modal",o}return e}(Oe);lr(og,"Rules",jL);function ML(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function NL(t,e,n){return e=fr(e),HL(t,ig()?Reflect.construct(e,n||[],fr(t).constructor):e.apply(t,n))}function VL(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rg(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function zL(t,e,n){return e&&rg(t.prototype,e),n&&rg(t,n),t}function l_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fr(t){return fr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fr(t)}function CL(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a_(t,e)}function HL(t,e){return e&&(qL(e)==="object"||typeof e=="function")?e:ML(t)}function a_(t,e){return a_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},a_(t,e)}function qL(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ig(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ig=function(){return!!t})()}var _r=function(t){CL(e,t);function e(n){VL(this,e);var o;return o=NL(this,e,[n]),l_(o,"props",void 0),o.props=new og(n==null?void 0:n.props),o}return zL(e,null,[{key:"controlName",get:function(){return"\u521B\u5EFA\u5355\u636E"}},{key:"controlIcon",get:function(){return"iconchuangjiandanju"}},{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),e}(pe);l_(_r,"controlEventKeys",["on_click","on_click_finish"]),l_(_r,"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 UL(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ug(t,e,n){return e=yr(e),WL(t,ag()?Reflect.construct(e,n||[],yr(t).constructor):e.apply(t,n))}function cg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yr(t){return yr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yr(t)}function lg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&f_(t,e)}function WL(t,e){return e&&(KL(e)==="object"||typeof e=="function")?e:UL(t)}function f_(t,e){return f_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},f_(t,e)}function KL(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ag(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ag=function(){return!!t})()}var GL=function(t){lg(e,t);function e(n){cg(this,e);var o;return o=ug(this,e,[n]),Kt(o,"processKey",[{type:"string",message:p.getMessage("isNotString")},{type:"string",required:!0,message:p.getMessage("pleaseEnterProcess")}]),o}return e}(W),fg=function(t){lg(e,t);function e(n){cg(this,e);var o;o=ug(this,e,[n]),Kt(o,"processKey",void 0),Kt(o,"initiatorMode",void 0),Kt(o,"fieldCode",void 0),Kt(o,"employeeId",void 0);var r;o.icon=(r=n==null?void 0:n.icon)!==null&&r!==void 0?r:pr.controlIcon;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:pr.controlName;var u;o.initiatorMode=(u=n==null?void 0:n.initiatorMode)!==null&&u!==void 0?u:"currentInitiator";var c;o.processKey=(c=n==null?void 0:n.processKey)!==null&&c!==void 0?c:"";var a;o.fieldCode=(a=n==null?void 0:n.fieldCode)!==null&&a!==void 0?a:"";var l;return o.employeeId=(l=n==null?void 0:n.employeeId)!==null&&l!==void 0?l:"",o}return e}(Oe);Kt(fg,"Rules",GL);function XL(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function QL(t,e,n){return e=sr(e),eF(t,yg()?Reflect.construct(e,n||[],sr(t).constructor):e.apply(t,n))}function JL(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _g(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function ZL(t,e,n){return e&&_g(t.prototype,e),n&&_g(t,n),t}function __(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function sr(t){return sr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sr(t)}function YL(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&y_(t,e)}function eF(t,e){return e&&(tF(e)==="object"||typeof e=="function")?e:XL(t)}function y_(t,e){return y_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},y_(t,e)}function tF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function yg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(yg=function(){return!!t})()}var pr=function(t){YL(e,t);function e(n){JL(this,e);var o;return o=QL(this,e,[n]),__(o,"props",void 0),o.props=new fg(n==null?void 0:n.props),o}return ZL(e,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u63D0\u4EA4"}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),e}(pe);__(pr,"controlEventKeys",["on_click","on_click_finish"]),__(pr,"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 nF(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function oF(t,e,n){return e=dr(e),uF(t,sg()?Reflect.construct(e,n||[],dr(t).constructor):e.apply(t,n))}function rF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dr(t){return dr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dr(t)}function iF(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s_(t,e)}function uF(t,e){return e&&(cF(e)==="object"||typeof e=="function")?e:nF(t)}function s_(t,e){return s_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},s_(t,e)}function cF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function sg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(sg=function(){return!!t})()}var lF=function(t){iF(e,t);function e(n){rF(this,e);var o;o=oF(this,e,[n]);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:hr.controlName;var i;return o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:hr.controlIcon,o}return e}(Oe);function aF(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fF(t,e,n){return e=vr(e),pF(t,dg()?Reflect.construct(e,n||[],vr(t).constructor):e.apply(t,n))}function _F(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pg(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function yF(t,e,n){return e&&pg(t.prototype,e),n&&pg(t,n),t}function p_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function vr(t){return vr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vr(t)}function sF(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&d_(t,e)}function pF(t,e){return e&&(dF(e)==="object"||typeof e=="function")?e:aF(t)}function d_(t,e){return d_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},d_(t,e)}function dF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function dg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(dg=function(){return!!t})()}var hr=function(t){sF(e,t);function e(n){_F(this,e);var o;return o=fF(this,e,[n]),p_(o,"props",void 0),o.props=new lF(n==null?void 0:n.props),o}return yF(e,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),e}(pe);p_(hr,"controlEventKeys",["on_click"]),p_(hr,"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 vF(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hF(t,e,n){return e=br(e),mF(t,hg()?Reflect.construct(e,n||[],br(t).constructor):e.apply(t,n))}function bF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vg(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function br(t){return br=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},br(t)}function gF(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&v_(t,e)}function mF(t,e){return e&&(OF(e)==="object"||typeof e=="function")?e:vF(t)}function v_(t,e){return v_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},v_(t,e)}function OF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function hg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(hg=function(){return!!t})()}var wF=function(t){gF(e,t);function e(n){bF(this,e);var o,r;o=hF(this,e,[n]),vg(o,"templateList",void 0),vg(o,"templateType",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:mr.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:mr.controlName;var c;o.templateType=(c=n==null?void 0:n.templateType)!==null&&c!==void 0?c:"system";var a;return o.templateList=(a=n==null||(r=n.templateList)===null||r===void 0?void 0:r.map(function(l){return new Mb(l)}))!==null&&a!==void 0?a:[new Mb({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return e}(Oe);function $F(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function PF(t,e,n){return e=gr(e),RF(t,gg()?Reflect.construct(e,n||[],gr(t).constructor):e.apply(t,n))}function EF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bg(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function SF(t,e,n){return e&&bg(t.prototype,e),n&&bg(t,n),t}function h_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gr(t){return gr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gr(t)}function TF(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&b_(t,e)}function RF(t,e){return e&&(IF(e)==="object"||typeof e=="function")?e:$F(t)}function b_(t,e){return b_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},b_(t,e)}function IF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function gg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(gg=function(){return!!t})()}var mr=function(t){TF(e,t);function e(n){EF(this,e);var o;return o=PF(this,e,[n]),h_(o,"props",void 0),o.props=new wF(n==null?void 0:n.props),o}return SF(e,null,[{key:"controlName",get:function(){return"\u5BFC\u51FA"}},{key:"controlIcon",get:function(){return"iconxiazai1"}},{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),e}(pe);h_(mr,"controlEventKeys",["on_click","on_click_finish"]),h_(mr,"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 BF(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function AF(t,e,n){return e=Or(e),xF(t,mg()?Reflect.construct(e,n||[],Or(t).constructor):e.apply(t,n))}function kF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Or(t){return Or=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Or(t)}function DF(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&g_(t,e)}function xF(t,e){return e&&(LF(e)==="object"||typeof e=="function")?e:BF(t)}function g_(t,e){return g_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},g_(t,e)}function LF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(mg=function(){return!!t})()}var FF=function(t){DF(e,t);function e(n){kF(this,e);var o;o=AF(this,e,[n]);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:$r.controlName;var i;return o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:$r.controlIcon,o}return e}(Oe);function jF(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function MF(t,e,n){return e=wr(e),CF(t,wg()?Reflect.construct(e,n||[],wr(t).constructor):e.apply(t,n))}function NF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Og(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function VF(t,e,n){return e&&Og(t.prototype,e),n&&Og(t,n),t}function m_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function wr(t){return wr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wr(t)}function zF(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&O_(t,e)}function CF(t,e){return e&&(HF(e)==="object"||typeof e=="function")?e:jF(t)}function O_(t,e){return O_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},O_(t,e)}function HF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function wg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(wg=function(){return!!t})()}var $r=function(t){zF(e,t);function e(n){NF(this,e);var o;return o=MF(this,e,[n]),m_(o,"props",void 0),o.props=new FF(n==null?void 0:n.props),o}return VF(e,null,[{key:"controlName",get:function(){return"\u5BFC\u51FA\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"icondaochujilu"}},{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),e}(pe);m_($r,"controlEventKeys",["on_click"]),m_($r,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function qF(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function UF(t,e,n){return e=Pr(e),KF(t,Pg()?Reflect.construct(e,n||[],Pr(t).constructor):e.apply(t,n))}function $g(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function w_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Pr(t){return Pr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pr(t)}function WF(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$_(t,e)}function KF(t,e){return e&&(GF(e)==="object"||typeof e=="function")?e:qF(t)}function $_(t,e){return $_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$_(t,e)}function GF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Pg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Pg=function(){return!!t})()}var XF=function t(e){$g(this,t),w_(this,"dataCode",void 0),this.dataCode=e.dataCode},QF=function(t){WF(e,t);function e(n){$g(this,e);var o,r;o=UF(this,e,[n]),w_(o,"canImportList",void 0),w_(o,"templateType",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Sr.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Sr.controlIcon;var c;o.canImportList=(c=n==null||(r=n.canImportList)===null||r===void 0?void 0:r.map(function(l){return new XF(l)}))!==null&&c!==void 0?c:[];var a;return o.templateType=(a=n==null?void 0:n.templateType)!==null&&a!==void 0?a:"system",o}return e}(Oe);function JF(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ZF(t,e,n){return e=Er(e),nj(t,Sg()?Reflect.construct(e,n||[],Er(t).constructor):e.apply(t,n))}function YF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Eg(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function ej(t,e,n){return e&&Eg(t.prototype,e),n&&Eg(t,n),t}function P_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Er(t){return Er=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Er(t)}function tj(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&E_(t,e)}function nj(t,e){return e&&(oj(e)==="object"||typeof e=="function")?e:JF(t)}function E_(t,e){return E_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},E_(t,e)}function oj(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Sg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Sg=function(){return!!t})()}var Sr=function(t){tj(e,t);function e(n){YF(this,e);var o;return o=ZF(this,e,[n]),P_(o,"props",void 0),o.props=new QF(n==null?void 0:n.props),o}return ej(e,null,[{key:"controlName",get:function(){return"\u5BFC\u5165"}},{key:"controlIcon",get:function(){return"iconshangchuan3"}},{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),e}(pe);P_(Sr,"controlEventKeys",["on_click","on_click_finish"]),P_(Sr,"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 Tr(){return{dataCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:p.getMessage("pleaseSelectControl")}}}}}}function rj(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Tg(t,e,n){return e=Rr(e),ij(t,Ag()?Reflect.construct(e,n||[],Rr(t).constructor):e.apply(t,n))}function Rg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ye(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Rr(t){return Rr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rr(t)}function Ig(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&S_(t,e)}function Bg(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Ye(t,r,n[r])})}return t}function ij(t,e){return e&&(uj(e)==="object"||typeof e=="function")?e:rj(t)}function S_(t,e){return S_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},S_(t,e)}function uj(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ag(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ag=function(){return!!t})()}var cj=function(t){Ig(e,t);function e(n){Rg(this,e);var o;return o=Tg(this,e,[n]),Ye(o,"fillPayload",{type:"object",fields:Bg({},Tr())}),Ye(o,"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:p.getMessage("pleaseEnterList")}}}),Ye(o,"fillBack",{type:"object",fields:Bg({mode:{type:"string",required:!0,message:p.getMessage("pleaseSelectFillBackMode")}},Tr())}),(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:p.getMessage("pleaseSelectControl")}),o}return e}(W),kg=function(t){Ig(e,t);function e(n){Rg(this,e);var o;o=Tg(this,e,[n]),Ye(o,"fillPayload",void 0),Ye(o,"formBind",void 0),Ye(o,"fillBack",void 0),Ye(o,"command",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:Br.controlName;var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Br.controlIcon;var u;return o.command=(u=n==null?void 0:n.command)!==null&&u!==void 0?u:"create",o.fillPayload=new L0(n==null?void 0:n.fillPayload),o.formBind=new GA(n==null?void 0:n.formBind),o.fillBack=new F0(n==null?void 0:n.fillBack),o}return e}(Oe);Ye(kg,"Rules",cj);function lj(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function aj(t,e,n){return e=Ir(e),sj(t,xg()?Reflect.construct(e,n||[],Ir(t).constructor):e.apply(t,n))}function fj(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dg(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function _j(t,e,n){return e&&Dg(t.prototype,e),n&&Dg(t,n),t}function T_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ir(t){return Ir=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ir(t)}function yj(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&R_(t,e)}function sj(t,e){return e&&(pj(e)==="object"||typeof e=="function")?e:lj(t)}function R_(t,e){return R_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},R_(t,e)}function pj(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xg=function(){return!!t})()}var Br=function(t){yj(e,t);function e(n){fj(this,e);var o;return o=aj(this,e,[n]),T_(o,"props",void 0),o.props=new kg(n==null?void 0:n.props),o}return _j(e,null,[{key:"controlName",get:function(){return"\u8868\u5355\u64CD\u4F5C"}},{key:"controlIcon",get:function(){return"iconbiaodancaozuo"}},{key:"controlType",get:function(){return"form-select-button"}}]),e}(pe);T_(Br,"controlEventKeys",["on_click","on_click_finish"]),T_(Br,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function dj(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Lg(t,e,n){return e=Ar(e),vj(t,Ng()?Reflect.construct(e,n||[],Ar(t).constructor):e.apply(t,n))}function Fg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ke(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ar(t){return Ar=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ar(t)}function jg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&I_(t,e)}function Mg(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){ke(t,r,n[r])})}return t}function vj(t,e){return e&&(hj(e)==="object"||typeof e=="function")?e:dj(t)}function I_(t,e){return I_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},I_(t,e)}function hj(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ng(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ng=function(){return!!t})()}var bj=function(t){jg(e,t);function e(n){Fg(this,e);var o;return o=Lg(this,e,[n]),ke(o,"fillPayload",{type:"object",fields:Mg({},Tr())}),ke(o,"listPageBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:p.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:p.getMessage("pleaseSelectAtLeastOneColumn")}}}),ke(o,"fillBack",{type:"object",fields:Mg({mode:{type:"string",required:!0,message:p.getMessage("pleaseSelectFillBackMode")}},Tr())}),o}return e}(W),Vg=function(t){jg(e,t);function e(n){Fg(this,e);var o;o=Lg(this,e,[n]),ke(o,"fillPayload",void 0),ke(o,"listPageBind",void 0),ke(o,"disableFilling",void 0),ke(o,"fillBack",void 0),ke(o,"showSelectedDetail",void 0),ke(o,"selectedContentConfig",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:Dr.controlName;var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Dr.controlIcon,o.fillPayload=new L0(n==null?void 0:n.fillPayload),o.listPageBind=new ef(n==null?void 0:n.listPageBind),o.fillBack=new F0(n==null?void 0:n.fillBack);var u;o.showSelectedDetail=(u=n==null?void 0:n.showSelectedDetail)!==null&&u!==void 0?u:!1,o.selectedContentConfig=new rf(n==null?void 0:n.selectedContentConfig);var c;return o.disableFilling=(c=n==null?void 0:n.disableFilling)!==null&&c!==void 0?c:!0,o}return e}(Oe);ke(Vg,"Rules",bj);function gj(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mj(t,e,n){return e=kr(e),Pj(t,Cg()?Reflect.construct(e,n||[],kr(t).constructor):e.apply(t,n))}function Oj(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zg(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function wj(t,e,n){return e&&zg(t.prototype,e),n&&zg(t,n),t}function B_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function kr(t){return kr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kr(t)}function $j(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&A_(t,e)}function Pj(t,e){return e&&(Ej(e)==="object"||typeof e=="function")?e:gj(t)}function A_(t,e){return A_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},A_(t,e)}function Ej(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Cg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Cg=function(){return!!t})()}var Dr=function(t){$j(e,t);function e(n){Oj(this,e);var o;return o=mj(this,e,[n]),B_(o,"props",void 0),o.props=new Vg(n==null?void 0:n.props),o}return wj(e,null,[{key:"controlName",get:function(){return"\u5217\u8868\u9009\u62E9"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-select-button"}}]),e}(pe);B_(Dr,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),B_(Dr,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function Sj(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function k_(t,e,n){return e=xr(e),Tj(t,qg()?Reflect.construct(e,n||[],xr(t).constructor):e.apply(t,n))}function D_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hg(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function xr(t){return xr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xr(t)}function x_(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&L_(t,e)}function Tj(t,e){return e&&(Rj(e)==="object"||typeof e=="function")?e:Sj(t)}function L_(t,e){return L_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},L_(t,e)}function Rj(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function qg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(qg=function(){return!!t})()}var Ij=function(t){x_(e,t);function e(n){return D_(this,e),k_(this,e,[n])}return e}(W),Bj=function(t){x_(e,t);function e(n){return D_(this,e),k_(this,e,[n])}return e}(mt),F_=function(t){x_(e,t);function e(n){return D_(this,e),k_(this,e,[n])}return e}(X);Hg(F_,"Rules",Ij),Hg(F_,"RuntimeRules",Bj);function Aj(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kj(t,e,n){return e=Lr(e),Fj(t,Kg()?Reflect.construct(e,n||[],Lr(t).constructor):e.apply(t,n))}function Dj(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ug(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function xj(t,e,n){return e&&Ug(t.prototype,e),n&&Ug(t,n),t}function Wg(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Lr(t){return Lr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lr(t)}function Lj(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&j_(t,e)}function Fj(t,e){return e&&(jj(e)==="object"||typeof e=="function")?e:Aj(t)}function j_(t,e){return j_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},j_(t,e)}function jj(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Kg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Kg=function(){return!!t})()}var Mj=function(t){Lj(e,t);function e(n){Dj(this,e);var o;return o=kj(this,e,[n]),Wg(o,"props",void 0),o.props=new F_(n==null?void 0:n.props),o}return xj(e,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),e}(N);Wg(Mj,"setting",[]);function Nj(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Gg(t,e,n){return e=Fr(e),Vj(t,Jg()?Reflect.construct(e,n||[],Fr(t).constructor):e.apply(t,n))}function Xg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ee(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Fr(t){return Fr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fr(t)}function Qg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&M_(t,e)}function Vj(t,e){return e&&(zj(e)==="object"||typeof e=="function")?e:Nj(t)}function M_(t,e){return M_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},M_(t,e)}function zj(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Jg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Jg=function(){return!!t})()}var Cj=function(t){Qg(e,t);function e(n){Xg(this,e);var o;return o=Gg(this,e,[n]),Ee(o,"dashboardKey",{type:"string",required:!0,message:p.getMessage("pleaseSelectDashboard")}),Ee(o,"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),Ee(o,"isHideCaption",{type:"boolean"}),Ee(o,"labelPosition",{type:"enum",enum:["top","left"]}),Ee(o,"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return e}(W),Zg=function(t){Qg(e,t);function e(n){Xg(this,e);var o;o=Gg(this,e,[n]),Ee(o,"dashboardKey",void 0),Ee(o,"caption",void 0),Ee(o,"isHideCaption",void 0),Ee(o,"isShowCaptionTip",void 0),Ee(o,"captionTip",void 0),Ee(o,"labelPosition",void 0);var r;o.dashboardKey=(r=n==null?void 0:n.dashboardKey)!==null&&r!==void 0?r:"";var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var c;o.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var l;return o.labelPosition=(l=n==null?void 0:n.labelPosition)!==null&&l!==void 0?l:"top",o}return e}(X);Ee(Zg,"Rules",Cj);function Hj(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qj(t,e,n){return e=jr(e),Gj(t,tm()?Reflect.construct(e,n||[],jr(t).constructor):e.apply(t,n))}function Uj(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yg(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Wj(t,e,n){return e&&Yg(t.prototype,e),n&&Yg(t,n),t}function em(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function jr(t){return jr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jr(t)}function Kj(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&N_(t,e)}function Gj(t,e){return e&&(Xj(e)==="object"||typeof e=="function")?e:Hj(t)}function N_(t,e){return N_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},N_(t,e)}function Xj(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tm=function(){return!!t})()}var Qj=function(t){Kj(e,t);function e(n){Uj(this,e);var o;return o=qj(this,e,[n]),em(o,"props",void 0),o.props=new Zg(n==null?void 0:n.props),o}return Wj(e,null,[{key:"controlName",get:function(){return"\u4EEA\u8868\u76D8"}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),e}(N);em(Qj,"setting",[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE,f.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function Jj(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nm(t,e,n){return e=Mr(e),Zj(t,im()?Reflect.construct(e,n||[],Mr(t).constructor):e.apply(t,n))}function om(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function oo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Mr(t){return Mr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mr(t)}function rm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&V_(t,e)}function Zj(t,e){return e&&(Yj(e)==="object"||typeof e=="function")?e:Jj(t)}function V_(t,e){return V_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},V_(t,e)}function Yj(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function im(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(im=function(){return!!t})()}var eM=function(t){rm(e,t);function e(n){om(this,e);var o;return o=nm(this,e,[n]),oo(o,"showType",{type:"enum",enum:["select","tabs"]}),oo(o,"viewList",{type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:p.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:p.getMessage("pleaseSelectAtLeastOneColumn")}}}}),o}return e}(W),um=function(t){rm(e,t);function e(n){om(this,e);var o,r;o=nm(this,e,[n]),oo(o,"showType",void 0),oo(o,"viewList",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"select";var u;return o.viewList=(u=n==null||(r=n.viewList)===null||r===void 0?void 0:r.map(function(c){return new yk(c)}))!==null&&u!==void 0?u:[],o}return e}(X);oo(um,"Rules",eM);function tM(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nM(t,e,n){return e=Nr(e),uM(t,am()?Reflect.construct(e,n||[],Nr(t).constructor):e.apply(t,n))}function oM(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function cm(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function rM(t,e,n){return e&&cm(t.prototype,e),n&&cm(t,n),t}function lm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Nr(t){return Nr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nr(t)}function iM(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&z_(t,e)}function uM(t,e){return e&&(cM(e)==="object"||typeof e=="function")?e:tM(t)}function z_(t,e){return z_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},z_(t,e)}function cM(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function am(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(am=function(){return!!t})()}var lM=function(t){iM(e,t);function e(n){oM(this,e);var o;return o=nM(this,e,[n]),lm(o,"props",void 0),o.props=new um(n==null?void 0:n.props),o}return rM(e,null,[{key:"controlName",get:function(){return"\u5217\u8868\u89C6\u56FE"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-view-select"}}]),e}(N);lm(lM,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}]);function aM(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fm(t,e,n){return e=Vr(e),fM(t,sm()?Reflect.construct(e,n||[],Vr(t).constructor):e.apply(t,n))}function _m(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function de(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Vr(t){return Vr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vr(t)}function ym(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&C_(t,e)}function fM(t,e){return e&&(_M(e)==="object"||typeof e=="function")?e:aM(t)}function C_(t,e){return C_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},C_(t,e)}function _M(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function sm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(sm=function(){return!!t})()}var yM=function(t){ym(e,t);function e(n){_m(this,e);var o;return o=fm(this,e,[n]),de(o,"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),de(o,"isHideCaption",{type:"boolean"}),de(o,"labelPosition",{type:"enum",enum:["top","left"]}),de(o,"ocrType",{type:"string",required:!0,message:p.getMessage("pleaseSelectOcrType")}),de(o,"fillList",{type:"array",validator:function(i,u,c){var a=u.every(function(l){return!l.controlId});if(a){c(p.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}c()}}),de(o,"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return e}(W),pm=function(t){ym(e,t);function e(n){_m(this,e);var o,r;o=fm(this,e,[n]),de(o,"caption",void 0),de(o,"isHideCaption",void 0),de(o,"isShowCaptionTip",void 0),de(o,"captionTip",void 0),de(o,"labelPosition",void 0),de(o,"ocrType",void 0),de(o,"fillList",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:ro.controlName;var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var c;o.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var l;o.labelPosition=(l=n==null?void 0:n.labelPosition)!==null&&l!==void 0?l:"top";var _;o.content=(_=n==null?void 0:n.content)!==null&&_!==void 0?_:ro.controlName;var s;o.icon=(s=n==null?void 0:n.icon)!==null&&s!==void 0?s:ro.controlIcon;var d;o.ocrType=(d=n==null?void 0:n.ocrType)!==null&&d!==void 0?d:"";var b;return o.fillList=(b=n==null||(r=n.fillList)===null||r===void 0?void 0:r.map(function(m){return new se(m)}))!==null&&b!==void 0?b:[],o}return e}(Oe);de(pm,"Rules",yM);function sM(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function pM(t,e,n){return e=zr(e),bM(t,vm()?Reflect.construct(e,n||[],zr(t).constructor):e.apply(t,n))}function dM(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dm(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function vM(t,e,n){return e&&dm(t.prototype,e),n&&dm(t,n),t}function H_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zr(t){return zr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zr(t)}function hM(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&q_(t,e)}function bM(t,e){return e&&(gM(e)==="object"||typeof e=="function")?e:sM(t)}function q_(t,e){return q_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},q_(t,e)}function gM(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function vm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(vm=function(){return!!t})()}var ro=function(t){hM(e,t);function e(n){dM(this,e);var o;return o=pM(this,e,[n]),H_(o,"props",void 0),o.props=new pm(n==null?void 0:n.props),o}return vM(e,null,[{key:"controlName",get:function(){return"\u6587\u5B57\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconwenzishibie"}},{key:"controlType",get:function(){return"text-ocr-button"}}]),e}(pe);H_(ro,"controlEventKeys",["on_click","on_click_finish"]),H_(ro,"setting",[{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE,f.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function mM(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hm(t,e,n){return e=Cr(e),OM(t,mm()?Reflect.construct(e,n||[],Cr(t).constructor):e.apply(t,n))}function bm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ve(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Cr(t){return Cr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cr(t)}function gm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&U_(t,e)}function OM(t,e){return e&&(wM(e)==="object"||typeof e=="function")?e:mM(t)}function U_(t,e){return U_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},U_(t,e)}function wM(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(mm=function(){return!!t})()}var $M=function(t){gm(e,t);function e(n){bm(this,e);var o;return o=hm(this,e,[n]),ve(o,"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),ve(o,"isHideCaption",{type:"boolean"}),ve(o,"labelPosition",{type:"enum",enum:["top","left"]}),ve(o,"invoiceCheck",{type:"boolean"}),ve(o,"fillList",{type:"array",validator:function(i,u,c){var a=u.every(function(l){return!l.controlId});if(a){c(p.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}c()}}),ve(o,"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return e}(W),Om=function(t){gm(e,t);function e(n){bm(this,e);var o,r;o=hm(this,e,[n]),ve(o,"caption",void 0),ve(o,"isHideCaption",void 0),ve(o,"isShowCaptionTip",void 0),ve(o,"captionTip",void 0),ve(o,"labelPosition",void 0),ve(o,"invoiceCheck",void 0),ve(o,"fillList",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:io.controlName;var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var c;o.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var l;o.labelPosition=(l=n==null?void 0:n.labelPosition)!==null&&l!==void 0?l:"top";var _;o.content=(_=n==null?void 0:n.content)!==null&&_!==void 0?_:io.controlName;var s;o.icon=(s=n==null?void 0:n.icon)!==null&&s!==void 0?s:io.controlIcon;var d;o.invoiceCheck=(d=n==null?void 0:n.invoiceCheck)!==null&&d!==void 0?d:!0;var b;return o.fillList=(b=n==null||(r=n.fillList)===null||r===void 0?void 0:r.map(function(m){return new se(m)}))!==null&&b!==void 0?b:[],o}return e}(Oe);ve(Om,"Rules",$M);function PM(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function EM(t,e,n){return e=Hr(e),IM(t,$m()?Reflect.construct(e,n||[],Hr(t).constructor):e.apply(t,n))}function SM(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wm(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function TM(t,e,n){return e&&wm(t.prototype,e),n&&wm(t,n),t}function W_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Hr(t){return Hr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hr(t)}function RM(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&K_(t,e)}function IM(t,e){return e&&(BM(e)==="object"||typeof e=="function")?e:PM(t)}function K_(t,e){return K_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},K_(t,e)}function BM(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $m(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($m=function(){return!!t})()}var io=function(t){RM(e,t);function e(n){SM(this,e);var o;return o=EM(this,e,[n]),W_(o,"props",void 0),o.props=new Om(n==null?void 0:n.props),o}return TM(e,null,[{key:"controlName",get:function(){return"\u53D1\u7968\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconfabiaoshibie1"}},{key:"controlType",get:function(){return"invoice-check-button"}}]),e}(pe);W_(io,"controlEventKeys",["on_click","on_click_finish"]),W_(io,"setting",[{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE,f.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function AM(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Pm(t,e,n){return e=Ur(e),kM(t,Tm()?Reflect.construct(e,n||[],Ur(t).constructor):e.apply(t,n))}function Em(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ur(t){return Ur=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ur(t)}function Sm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&G_(t,e)}function kM(t,e){return e&&(DM(e)==="object"||typeof e=="function")?e:AM(t)}function G_(t,e){return G_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},G_(t,e)}function DM(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Tm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Tm=function(){return!!t})()}var xM=function(t){Sm(e,t);function e(){Em(this,e);var n;return n=Pm(this,e,arguments),qr(n,"printTemplates",{type:"array",min:1,required:!0,message:p.getMessage("pleaseUploadAtLeastOnePrintTemplate")}),n}return e}(W),Rm=function(t){Sm(e,t);function e(n){Em(this,e);var o,r;o=Pm(this,e,[n]),qr(o,"printTemplates",void 0),qr(o,"autoSelectTemplate",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Kr.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:Kr.controlName;var c;o.printTemplates=(c=n==null||(r=n.printTemplates)===null||r===void 0?void 0:r.map(function(l){return new iL(l)}))!==null&&c!==void 0?c:[];var a;return o.autoSelectTemplate=(a=n==null?void 0:n.autoSelectTemplate)!==null&&a!==void 0?a:!1,o}return e}(Oe);qr(Rm,"Rules",xM);function LM(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function FM(t,e,n){return e=Wr(e),VM(t,Bm()?Reflect.construct(e,n||[],Wr(t).constructor):e.apply(t,n))}function jM(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Im(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function MM(t,e,n){return e&&Im(t.prototype,e),n&&Im(t,n),t}function X_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wr(t){return Wr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wr(t)}function NM(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Q_(t,e)}function VM(t,e){return e&&(zM(e)==="object"||typeof e=="function")?e:LM(t)}function Q_(t,e){return Q_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Q_(t,e)}function zM(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Bm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Bm=function(){return!!t})()}var Kr=function(t){NM(e,t);function e(n){jM(this,e);var o;return o=FM(this,e,[n]),X_(o,"props",void 0),o.props=new Rm(n==null?void 0:n.props),o}return MM(e,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u6253\u5370"}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),e}(pe);X_(Kr,"controlEventKeys",["on_click","on_click_finish"]),X_(Kr,"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 CM(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function HM(t,e,n){return e=Gr(e),WM(t,Am()?Reflect.construct(e,n||[],Gr(t).constructor):e.apply(t,n))}function qM(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gr(t){return Gr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gr(t)}function UM(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&J_(t,e)}function WM(t,e){return e&&(KM(e)==="object"||typeof e=="function")?e:CM(t)}function J_(t,e){return J_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},J_(t,e)}function KM(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Am(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Am=function(){return!!t})()}var GM=function(t){UM(e,t);function e(n){qM(this,e);var o;o=HM(this,e,[n]);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:Qr.controlName;var i;return o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Qr.controlIcon,o}return e}(Oe);function XM(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function QM(t,e,n){return e=Xr(e),eN(t,Dm()?Reflect.construct(e,n||[],Xr(t).constructor):e.apply(t,n))}function JM(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function km(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function ZM(t,e,n){return e&&km(t.prototype,e),n&&km(t,n),t}function Z_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xr(t){return Xr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xr(t)}function YM(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Y_(t,e)}function eN(t,e){return e&&(tN(e)==="object"||typeof e=="function")?e:XM(t)}function Y_(t,e){return Y_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Y_(t,e)}function tN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Dm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Dm=function(){return!!t})()}var Qr=function(t){YM(e,t);function e(n){JM(this,e);var o;return o=QM(this,e,[n]),Z_(o,"props",void 0),o.props=new GM(n==null?void 0:n.props),o}return ZM(e,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u6253\u5370\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),e}(pe);Z_(Qr,"controlEventKeys",["on_click"]),Z_(Qr,"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 nN(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xm(t,e,n){return e=Jr(e),oN(t,jm()?Reflect.construct(e,n||[],Jr(t).constructor):e.apply(t,n))}function Lm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _e(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Jr(t){return Jr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jr(t)}function Fm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ey(t,e)}function oN(t,e){return e&&(rN(e)==="object"||typeof e=="function")?e:nN(t)}function ey(t,e){return ey=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ey(t,e)}function rN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function jm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(jm=function(){return!!t})()}var iN=function(t){Fm(e,t);function e(n){Lm(this,e);var o;return o=xm(this,e,[n]),_e(o,"formKey",{type:"string",required:!1}),(n.command==="edit"||n.command==="view")&&(o.formKey={type:"string",required:!0,message:p.getMessage("pleaseEnterForm")}),o}return e}(W),Zr=function(t){Fm(e,t);function e(n){Lm(this,e);var o;o=xm(this,e,[n]),_e(o,"content",void 0),_e(o,"code",void 0),_e(o,"command",void 0),_e(o,"color",void 0),_e(o,"icon",void 0),_e(o,"formKey",void 0),_e(o,"openType",void 0),_e(o,"needConfirm",void 0),_e(o,"confirmMessage",void 0),_e(o,"options",void 0),_e(o,"defaultState",void 0),_e(o,"priorityProcess",void 0),_e(o,"isLoading",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:"\u6309\u94AE",o.code=n==null?void 0:n.code;var i;o.command=(i=n==null?void 0:n.command)!==null&&i!==void 0?i:"custom";var u;o.color=(u=n==null?void 0:n.color)!==null&&u!==void 0?u:"primary",o.icon=n==null?void 0:n.icon,o.formKey=n==null?void 0:n.formKey,o.openType=n==null?void 0:n.openType,o.needConfirm=n==null?void 0:n.needConfirm,o.confirmMessage=n==null?void 0:n.confirmMessage,o.options=n==null?void 0:n.options;var c;o.defaultState=(c=n==null?void 0:n.defaultState)!==null&&c!==void 0?c:"default",o.priorityProcess=n==null?void 0:n.priorityProcess;var a;return o.isLoading=(a=n==null?void 0:n.isLoading)!==null&&a!==void 0?a:!1,o}return e}(X);_e(Zr,"Rules",iN);function uN(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cN(t,e,n){return e=Yr(e),_N(t,Nm()?Reflect.construct(e,n||[],Yr(t).constructor):e.apply(t,n))}function lN(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mm(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function aN(t,e,n){return e&&Mm(t.prototype,e),n&&Mm(t,n),t}function ty(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yr(t){return Yr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yr(t)}function fN(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ny(t,e)}function _N(t,e){return e&&(yN(e)==="object"||typeof e=="function")?e:uN(t)}function ny(t,e){return ny=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ny(t,e)}function yN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Nm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Nm=function(){return!!t})()}var ei=function(t){fN(e,t);function e(n){lN(this,e);var o;return o=cN(this,e,[n]),ty(o,"props",void 0),o.props=new Zr(n==null?void 0:n.props),o}return aN(e,null,[{key:"controlName",get:function(){return"\u64CD\u4F5C\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"operation-button"}}]),e}(N);ty(ei,"controlEventKeys",["on_click"]),ty(ei,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE]},{key:"super-setting",visible:!0}]);function sN(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function pN(t,e,n){return e=ti(e),gN(t,zm()?Reflect.construct(e,n||[],ti(t).constructor):e.apply(t,n))}function dN(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vm(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function vN(t,e,n){return e&&Vm(t.prototype,e),n&&Vm(t,n),t}function hN(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ti(t){return ti=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ti(t)}function bN(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&oy(t,e)}function gN(t,e){return e&&(mN(e)==="object"||typeof e=="function")?e:sN(t)}function oy(t,e){return oy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},oy(t,e)}function mN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function zm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zm=function(){return!!t})()}var ON=function(t){bN(e,t);function e(n){dN(this,e);var o;return o=pN(this,e,[n]),hN(o,"props",void 0),o.props=new Zr(n==null?void 0:n.props),o}return vN(e,null,[{key:"controlType",get:function(){return"operation-button"}}]),e}(Je),ry={Designer:ei,Runtime:ON,Property:Zr};function wN(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $N(t,e,n){return e=ni(e),SN(t,Cm()?Reflect.construct(e,n||[],ni(t).constructor):e.apply(t,n))}function PN(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ni(t){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ni(t)}function EN(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&iy(t,e)}function SN(t,e){return e&&(TN(e)==="object"||typeof e=="function")?e:wN(t)}function iy(t,e){return iy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},iy(t,e)}function TN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Cm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Cm=function(){return!!t})()}var RN=function(t){EN(e,t);function e(n){PN(this,e);var o;o=$N(this,e,[n]),pt(o,"content",void 0),pt(o,"buttonType",void 0),pt(o,"showType",void 0),pt(o,"color",void 0),pt(o,"icon",void 0),pt(o,"defaultState",void 0),pt(o,"command",void 0),pt(o,"isLoading",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:ri.controlName;var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:ri.controlIcon;var u;o.buttonType=(u=n==null?void 0:n.buttonType)!==null&&u!==void 0?u:"primary";var c;o.showType=(c=n==null?void 0:n.showType)!==null&&c!==void 0?c:"iconText";var a;o.color=(a=n==null?void 0:n.color)!==null&&a!==void 0?a:"danger";var l;o.isHide=(l=n==null?void 0:n.isHide)!==null&&l!==void 0?l:!1;var _;o.defaultState=(_=n==null?void 0:n.defaultState)!==null&&_!==void 0?_:"default";var s;o.command=(s=n==null?void 0:n.command)!==null&&s!==void 0?s:"custom";var d;return o.isLoading=(d=n==null?void 0:n.isLoading)!==null&&d!==void 0?d:!1,o}return e}(X);function IN(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function BN(t,e,n){return e=oi(e),xN(t,qm()?Reflect.construct(e,n||[],oi(t).constructor):e.apply(t,n))}function AN(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hm(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function kN(t,e,n){return e&&Hm(t.prototype,e),n&&Hm(t,n),t}function uy(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function oi(t){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oi(t)}function DN(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&cy(t,e)}function xN(t,e){return e&&(LN(e)==="object"||typeof e=="function")?e:IN(t)}function cy(t,e){return cy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cy(t,e)}function LN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function qm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(qm=function(){return!!t})()}var ri=function(t){DN(e,t);function e(n){AN(this,e);var o;return o=BN(this,e,[n]),uy(o,"props",void 0),o.props=new RN(n==null?void 0:n.props),o}return kN(e,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u5220\u9664"}},{key:"controlIcon",get:function(){return"iconlajitong"}},{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),e}(N);uy(ri,"controlEventKeys",["on_click"]),uy(ri,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE]},{key:"super-setting",visible:!0}]);function FN(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ly(t,e,n){return e=ii(e),jN(t,Um()?Reflect.construct(e,n||[],ii(t).constructor):e.apply(t,n))}function ay(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function De(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ii(t){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ii(t)}function fy(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_y(t,e)}function jN(t,e){return e&&(MN(e)==="object"||typeof e=="function")?e:FN(t)}function _y(t,e){return _y=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_y(t,e)}function MN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Um(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Um=function(){return!!t})()}var NN=function(t){fy(e,t);function e(n){ay(this,e);var o;return o=ly(this,e,[n]),De(o,"maxLength",{type:"number",min:0,message:p.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),De(o,"minLength",{type:"number",max:200,message:p.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),De(o,"defaultValue",[{type:"string",max:200,min:0,message:p.getMessage("stringRangeError")},{pattern:"",message:""}]),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue[0].max=n.maxLength,o.defaultValue[0].min=n.minLength,o.defaultValue[0].message=p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o.defaultValue[1].pattern=Ut(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return e}(J),VN=function(t){fy(e,t);function e(n){ay(this,e);var o;return o=ly(this,e,[n]),o.push({type:"string",message:p.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:Ut(n.regularRules.expression),message:n.regularRules.errMessage}),o}return e}(z),uo=function(t){fy(e,t);function e(n){ay(this,e);var o;o=ly(this,e,[n]),De(o,"maxLength",void 0),De(o,"minLength",void 0),De(o,"regularRules",void 0),De(o,"defaultValue",void 0),De(o,"encrypted",void 0),De(o,"encryptedMode",void 0);var r;o.maxLength=(r=n==null?void 0:n.maxLength)!==null&&r!==void 0?r:200;var i;o.minLength=(i=n==null?void 0:n.minLength)!==null&&i!==void 0?i:0,o.regularRules=new Io(n==null?void 0:n.regularRules);var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:"";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:co.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var l;o.encrypted=(l=n==null?void 0:n.encrypted)!==null&&l!==void 0?l:!1;var _;return o.encryptedMode=(_=n==null?void 0:n.encryptedMode)!==null&&_!==void 0?_:"",o}return e}(D);De(uo,"Rules",NN),De(uo,"RuntimeRules",VN);function zN(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function CN(t,e,n){return e=ci(e),WN(t,Km()?Reflect.construct(e,n||[],ci(t).constructor):e.apply(t,n))}function HN(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wm(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function qN(t,e,n){return e&&Wm(t.prototype,e),n&&Wm(t,n),t}function ui(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ci(t){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ci(t)}function UN(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&yy(t,e)}function WN(t,e){return e&&(KN(e)==="object"||typeof e=="function")?e:zN(t)}function yy(t,e){return yy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yy(t,e)}function KN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Km(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Km=function(){return!!t})()}var co=function(t){UN(e,t);function e(n){HN(this,e);var o;return o=CN(this,e,[n]),ui(o,"props",void 0),o.props=new uo(n==null?void 0:n.props),o}return qN(e,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconSingleline_new1"}},{key:"controlType",get:function(){return"input"}}]),e}(x);ui(co,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),ui(co,"controlFieldType",g.VARCHAR),ui(co,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP,f.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function GN(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function XN(t,e,n){return e=li(e),YN(t,Qm()?Reflect.construct(e,n||[],li(t).constructor):e.apply(t,n))}function QN(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gm(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function JN(t,e,n){return e&&Gm(t.prototype,e),n&&Gm(t,n),t}function Xm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function li(t){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},li(t)}function ZN(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&sy(t,e)}function YN(t,e){return e&&(e5(e)==="object"||typeof e=="function")?e:GN(t)}function sy(t,e){return sy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sy(t,e)}function e5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Qm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Qm=function(){return!!t})()}var t5=function(t){ZN(e,t);function e(n){QN(this,e);var o;return o=XN(this,e,[n]),Xm(o,"props",void 0),o.props=new uo(n==null?void 0:n.props),o}return JN(e,null,[{key:"controlType",get:function(){return"input"}}]),e}(L);Xm(t5,"controlFieldType",g.VARCHAR);function n5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function py(t,e,n){return e=ai(e),o5(t,Jm()?Reflect.construct(e,n||[],ai(t).constructor):e.apply(t,n))}function dy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function oe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ai(t){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ai(t)}function vy(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&hy(t,e)}function o5(t,e){return e&&(r5(e)==="object"||typeof e=="function")?e:n5(t)}function hy(t,e){return hy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hy(t,e)}function r5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Jm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Jm=function(){return!!t})()}var i5=function(t){vy(e,t);function e(n){dy(this,e);var o;o=py(this,e,[n]),oe(o,"limitMax",{type:"number",min:void 0,message:p.getMessage("PleaseReselectTheOptionalQuantity")});var r=n.limitMax==="unlimited";r&&(o.limitMax.type="string");var i=function(u){return u==="unlimited"?void 0:u};return o.limitMax.min=i(n.limitMin),o}return e}(Nt),u5=function(t){vy(e,t);function e(n){dy(this,e);var o;return o=py(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o.push({type:"array",max:typeof n.limitMax=="number"?n.limitMax:void 0,min:typeof n.limitMin=="number"?n.limitMin:void 0}),o}return e}(z),fi=function(t){vy(e,t);function e(n){dy(this,e);var o;o=py(this,e,[n]),oe(o,"checkboxMode",void 0),oe(o,"options",void 0),oe(o,"optionsOrder",void 0),oe(o,"limitMax",void 0),oe(o,"limitMin",void 0),oe(o,"otherOption",void 0),oe(o,"optionConfig",void 0),oe(o,"optionsFormat",void 0),oe(o,"defaultShowOptions",void 0),oe(o,"datasourceBind",void 0),oe(o,"multistageFilling",void 0),oe(o,"interreaction",void 0),oe(o,"defaultValue",void 0),oe(o,"openMultistageFilling",void 0);var r;o.options=Qe((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var i;o.checkboxMode=(i=n==null?void 0:n.checkboxMode)!==null&&i!==void 0?i:"horizontal";var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"custom";var c;o.optionsOrder=(c=n==null?void 0:n.optionsOrder)!==null&&c!==void 0?c:!1;var a;o.otherOption=(a=n==null?void 0:n.otherOption)!==null&&a!==void 0?a:!1;var l;o.limitMin=(l=n==null?void 0:n.limitMin)!==null&&l!==void 0?l:"unlimited";var _;o.limitMax=(_=n==null?void 0:n.limitMax)!==null&&_!==void 0?_:"unlimited",o.datasourceBind=new G(n==null?void 0:n.datasourceBind);var s;o.interreaction=(s=n==null?void 0:n.interreaction)!==null&&s!==void 0?s:[];var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:si.controlName;var b;o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:[];var m;o.optionsFormat=(m=n==null?void 0:n.optionsFormat)!==null&&m!==void 0?m:"horizontal";var O;o.defaultShowOptions=(O=n==null?void 0:n.defaultShowOptions)!==null&&O!==void 0?O:!0;var w;return o.openMultistageFilling=(w=n==null?void 0:n.openMultistageFilling)!==null&&w!==void 0?w:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(h){var $;($=o.multistageFilling)===null||$===void 0||$.push(new se(h))})),o}return e}(D);oe(fi,"Rules",i5),oe(fi,"RuntimeRules",u5);function c5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function l5(t,e,n){return e=yi(e),y5(t,Ym()?Reflect.construct(e,n||[],yi(t).constructor):e.apply(t,n))}function a5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zm(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function f5(t,e,n){return e&&Zm(t.prototype,e),n&&Zm(t,n),t}function _i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yi(t){return yi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yi(t)}function _5(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&by(t,e)}function y5(t,e){return e&&(s5(e)==="object"||typeof e=="function")?e:c5(t)}function by(t,e){return by=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},by(t,e)}function s5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ym(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ym=function(){return!!t})()}var si=function(t){_5(e,t);function e(n){a5(this,e);var o;return o=l5(this,e,[n]),_i(o,"props",void 0),o.props=new fi(n==null?void 0:n.props),o}return f5(e,null,[{key:"controlName",get:function(){return"\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),e}(x);_i(si,"controlEventKeys",["on_change","on_click"]),_i(si,"controlFieldType",g.ARRAY),_i(si,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}]);function p5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function d5(t,e,n){return e=pi(e),g5(t,nO()?Reflect.construct(e,n||[],pi(t).constructor):e.apply(t,n))}function v5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function eO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function h5(t,e,n){return e&&eO(t.prototype,e),n&&eO(t,n),t}function tO(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pi(t){return pi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pi(t)}function b5(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&gy(t,e)}function g5(t,e){return e&&(m5(e)==="object"||typeof e=="function")?e:p5(t)}function gy(t,e){return gy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gy(t,e)}function m5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function nO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(nO=function(){return!!t})()}var O5=function(t){b5(e,t);function e(n){v5(this,e);var o;return o=d5(this,e,[n]),tO(o,"props",void 0),o.props=new fi(n==null?void 0:n.props),o}return h5(e,null,[{key:"controlType",get:function(){return"checkbox"}}]),e}(L);tO(O5,"controlFieldType",g.ARRAY);function w5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function oO(t,e,n){return e=di(e),$5(t,uO()?Reflect.construct(e,n||[],di(t).constructor):e.apply(t,n))}function rO(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function we(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function di(t){return di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},di(t)}function iO(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&my(t,e)}function $5(t,e){return e&&(P5(e)==="object"||typeof e=="function")?e:w5(t)}function my(t,e){return my=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},my(t,e)}function P5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function uO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(uO=function(){return!!t})()}var E5=function(t){iO(e,t);function e(n){return rO(this,e),oO(this,e,[n])}return e}(Nt),Oy=function(t){iO(e,t);function e(n){rO(this,e);var o;o=oO(this,e,[n]),we(o,"radioMode",void 0),we(o,"options",void 0),we(o,"optionConfig",void 0),we(o,"optionsFormat",void 0),we(o,"defaultShowOptions",void 0),we(o,"otherOption",void 0),we(o,"optionsOrder",void 0),we(o,"datasourceBind",void 0),we(o,"multistageFilling",void 0),we(o,"interreaction",void 0),we(o,"defaultValue",void 0),we(o,"openMultistageFilling",void 0);var r;o.options=Qe((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var i;o.radioMode=(i=n==null?void 0:n.radioMode)!==null&&i!==void 0?i:"horizontal";var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"custom";var c;o.otherOption=(c=n==null?void 0:n.otherOption)!==null&&c!==void 0?c:!1;var a;o.optionsOrder=(a=n==null?void 0:n.optionsOrder)!==null&&a!==void 0?a:!1;var l;o.defaultShowOptions=(l=n==null?void 0:n.defaultShowOptions)!==null&&l!==void 0?l:!0;var _;o.optionsFormat=(_=n==null?void 0:n.optionsFormat)!==null&&_!==void 0?_:"horizontal",o.datasourceBind=new G(n==null?void 0:n.datasourceBind);var s;o.interreaction=(s=n==null?void 0:n.interreaction)!==null&&s!==void 0?s:[];var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:bi.controlName;var b;o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:"";var m;return o.openMultistageFilling=(m=n==null?void 0:n.openMultistageFilling)!==null&&m!==void 0?m:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new se(O))})),o}return e}(D);we(Oy,"Rules",E5);function S5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function T5(t,e,n){return e=hi(e),A5(t,lO()?Reflect.construct(e,n||[],hi(t).constructor):e.apply(t,n))}function R5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function cO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function I5(t,e,n){return e&&cO(t.prototype,e),n&&cO(t,n),t}function vi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function hi(t){return hi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hi(t)}function B5(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wy(t,e)}function A5(t,e){return e&&(k5(e)==="object"||typeof e=="function")?e:S5(t)}function wy(t,e){return wy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wy(t,e)}function k5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function lO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(lO=function(){return!!t})()}var bi=function(t){B5(e,t);function e(n){R5(this,e);var o;return o=T5(this,e,[n]),vi(o,"props",void 0),o.props=new Oy(n==null?void 0:n.props),o}return I5(e,null,[{key:"controlName",get:function(){return"\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),e}(x);vi(bi,"controlEventKeys",["on_change","on_click"]),vi(bi,"controlFieldType",g.VARCHAR),vi(bi,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}]);function D5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function x5(t,e,n){return e=gi(e),M5(t,_O()?Reflect.construct(e,n||[],gi(t).constructor):e.apply(t,n))}function L5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function aO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function F5(t,e,n){return e&&aO(t.prototype,e),n&&aO(t,n),t}function fO(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gi(t){return gi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gi(t)}function j5(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$y(t,e)}function M5(t,e){return e&&(N5(e)==="object"||typeof e=="function")?e:D5(t)}function $y(t,e){return $y=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$y(t,e)}function N5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _O(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_O=function(){return!!t})()}var V5=function(t){j5(e,t);function e(n){L5(this,e);var o;return o=x5(this,e,[n]),fO(o,"props",void 0),o.props=new Oy(n==null?void 0:n.props),o}return F5(e,null,[{key:"controlType",get:function(){return"radio"}}]),e}(L);fO(V5,"controlFieldType",g.VARCHAR);function z5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Py(t,e,n){return e=mi(e),C5(t,yO()?Reflect.construct(e,n||[],mi(t).constructor):e.apply(t,n))}function Ey(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ce(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function mi(t){return mi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mi(t)}function Sy(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ty(t,e)}function C5(t,e){return e&&(H5(e)==="object"||typeof e=="function")?e:z5(t)}function Ty(t,e){return Ty=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ty(t,e)}function H5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function yO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(yO=function(){return!!t})()}var q5=function(t){Sy(e,t);function e(n){Ey(this,e);var o;o=Py(this,e,[n]),ce(o,"defaultValue",[{type:"number",min:0,max:200,message:p.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}]),ce(o,"rangeMax",{type:"any"});var r=n.rangeMax===""?void 0:n.rangeMax,i=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue[0].max=r,o.defaultValue[0].min=i,o.defaultValue[0].message=p.getMessage("pleaseEnterNumberRange",{max:r,min:i}),i&&r!==void 0&&(o.rangeMax={type:"number",min:i,message:p.getMessage("numberRangeSetError")}),o.defaultValue[1].pattern=Ut(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return e}(J),U5=function(t){Sy(e,t);function e(n){Ey(this,e);var o;o=Py(this,e,[n]),o[0]!==void 0&&(o[0].type="number");var r=n.rangeMax!==""?n.rangeMax:void 0,i=n.rangeMin!==""?n.rangeMin:void 0;return o.push({type:"number",max:r,min:i,message:p.getMessage(r===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:r,min:i})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:Ut(n.regularRules.expression),message:n.regularRules.errMessage}),o}return e}(z),Oi=function(t){Sy(e,t);function e(n){Ey(this,e);var o;o=Py(this,e,[n]),ce(o,"rangeMin",void 0),ce(o,"rangeMax",void 0),ce(o,"numberType",void 0),ce(o,"percentageFormat",void 0),ce(o,"micrometer",void 0),ce(o,"precision",void 0),ce(o,"showUpperCase",void 0),ce(o,"isShowUnit",void 0),ce(o,"unitPosition",void 0),ce(o,"unit",void 0),ce(o,"defaultValue",void 0),ce(o,"regularRules",void 0);var r;o.rangeMin=(r=n==null?void 0:n.rangeMin)!==null&&r!==void 0?r:"";var i;o.rangeMax=(i=n==null?void 0:n.rangeMax)!==null&&i!==void 0?i:"";var u;o.numberType=(u=n==null?void 0:n.numberType)!==null&&u!==void 0?u:"number";var c;o.percentageFormat=(c=n==null?void 0:n.percentageFormat)!==null&&c!==void 0?c:!1;var a;o.micrometer=(a=n==null?void 0:n.micrometer)!==null&&a!==void 0?a:!1;var l;o.precision=(l=n==null?void 0:n.precision)!==null&&l!==void 0?l:0;var _;o.showUpperCase=(_=n==null?void 0:n.showUpperCase)!==null&&_!==void 0?_:!1;var s;o.isShowUnit=(s=n==null?void 0:n.isShowUnit)!==null&&s!==void 0?s:!1;var d;o.unitPosition=(d=n==null?void 0:n.unitPosition)!==null&&d!==void 0?d:"right";var b;o.unit=(b=n==null?void 0:n.unit)!==null&&b!==void 0?b:"";var m;o.caption=(m=n==null?void 0:n.caption)!==null&&m!==void 0?m:Pi.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u8F93\u5165";var w;return o.defaultValue=(w=n==null?void 0:n.defaultValue)!==null&&w!==void 0?w:"",o.regularRules=new Io(n==null?void 0:n.regularRules),o}return e}(D);ce(Oi,"Rules",q5),ce(Oi,"RuntimeRules",U5);function W5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function K5(t,e,n){return e=Gt(e),J5(t,pO()?Reflect.construct(e,n||[],Gt(t).constructor):e.apply(t,n))}function G5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function X5(t,e,n){return e&&sO(t.prototype,e),n&&sO(t,n),t}function wi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $i(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?$i=Reflect.get:$i=function(r,i,u){var c=Z5(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},$i(t,e,n||t)}function Gt(t){return Gt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gt(t)}function Q5(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ry(t,e)}function J5(t,e){return e&&(Y5(e)==="object"||typeof e=="function")?e:W5(t)}function Ry(t,e){return Ry=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ry(t,e)}function Z5(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Gt(t),t!==null););return t}function Y5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pO=function(){return!!t})()}var Pi=function(t){Q5(e,t);function e(n){G5(this,e);var o;return o=K5(this,e,[n]),wi(o,"props",void 0),o.props=new Oi(n==null?void 0:n.props),o}return X5(e,[{key:"toDataBindModel",value:function(o){var r=$i(Gt(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.precision,c=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=c}return r}}],[{key:"controlName",get:function(){return"\u6570\u5B57"}},{key:"controlIcon",get:function(){return"iconnuminput_new"}},{key:"controlType",get:function(){return"number"}}]),e}(x);wi(Pi,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),wi(Pi,"controlFieldType",g.DECIMAL),wi(Pi,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_UNIT,f.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[f.SHOW_UPPER_CASE,f.MICROMETER,f.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function e6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function t6(t,e,n){return e=Ei(e),i6(t,hO()?Reflect.construct(e,n||[],Ei(t).constructor):e.apply(t,n))}function n6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function o6(t,e,n){return e&&dO(t.prototype,e),n&&dO(t,n),t}function vO(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ei(t){return Ei=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ei(t)}function r6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Iy(t,e)}function i6(t,e){return e&&(u6(e)==="object"||typeof e=="function")?e:e6(t)}function Iy(t,e){return Iy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Iy(t,e)}function u6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function hO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(hO=function(){return!!t})()}var c6=function(t){r6(e,t);function e(n){n6(this,e);var o;return o=t6(this,e,[n]),vO(o,"props",void 0),o.props=new Oi(n==null?void 0:n.props),o}return o6(e,null,[{key:"controlType",get:function(){return"number"}}]),e}(L);vO(c6,"controlFieldType",g.DECIMAL);function l6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function a6(t,e,n){return e=Si(e),y6(t,bO()?Reflect.construct(e,n||[],Si(t).constructor):e.apply(t,n))}function f6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Si(t){return Si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Si(t)}function _6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&By(t,e)}function y6(t,e){return e&&(s6(e)==="object"||typeof e=="function")?e:l6(t)}function By(t,e){return By=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},By(t,e)}function s6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function bO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(bO=function(){return!!t})()}var gO=function(t){_6(e,t);function e(n){f6(this,e);var o,r;o=a6(this,e,[n]),dt(o,"dateType",void 0),dt(o,"dateFormat",void 0),dt(o,"commonTimeSetting",void 0),dt(o,"setValueType",void 0),dt(o,"defaultValue",void 0),dt(o,"limitDateList",void 0),dt(o,"allowDateRange",void 0),dt(o,"filterWeekend",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:xt.DATE;var u;o.dateFormat=(u=n==null?void 0:n.dateFormat)!==null&&u!==void 0?u:"";var c;o.commonTimeSetting=(c=n==null?void 0:n.commonTimeSetting)!==null&&c!==void 0?c:[];var a;o.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:Dy.controlName;var _;o.placeholder=(_=n==null?void 0:n.placeholder)!==null&&_!==void 0?_:"\u8BF7\u8F93\u5165\u65E5\u671F";var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:"";var d;o.limitDateList=(d=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function(O){return new e_(O)}))!==null&&d!==void 0?d:[];var b;o.allowDateRange=(b=n==null?void 0:n.allowDateRange)!==null&&b!==void 0?b:["",""];var m;return o.filterWeekend=(m=n==null?void 0:n.filterWeekend)!==null&&m!==void 0?m:!1,o}return e}(D);function p6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function d6(t,e,n){return e=Xt(e),g6(t,OO()?Reflect.construct(e,n||[],Xt(t).constructor):e.apply(t,n))}function v6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function h6(t,e,n){return e&&mO(t.prototype,e),n&&mO(t,n),t}function Ay(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ti(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Ti=Reflect.get:Ti=function(r,i,u){var c=m6(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Ti(t,e,n||t)}function Xt(t){return Xt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xt(t)}function b6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ky(t,e)}function g6(t,e){return e&&(O6(e)==="object"||typeof e=="function")?e:p6(t)}function ky(t,e){return ky=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ky(t,e)}function m6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Xt(t),t!==null););return t}function O6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function OO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(OO=function(){return!!t})()}var Dy=function(t){b6(e,t);function e(n){v6(this,e);var o;return o=d6(this,e,[n]),Ay(o,"props",void 0),o.props=new gO(n==null?void 0:n.props),o}return h6(e,[{key:"toDataBindModel",value:function(o){var r=Ti(Xt(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props.dateType;r.props.dateType=i}return r}}],[{key:"controlName",get:function(){return"\u65E5\u671F"}},{key:"controlIcon",get:function(){return"iconriqi1"}},{key:"controlType",get:function(){return"date-picker"}}]),e}(x);Ay(Dy,"controlFieldType",g.TIMESTAMP),Ay(Dy,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function w6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $6(t,e,n){return e=Ri(e),T6(t,PO()?Reflect.construct(e,n||[],Ri(t).constructor):e.apply(t,n))}function P6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function E6(t,e,n){return e&&wO(t.prototype,e),n&&wO(t,n),t}function $O(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ri(t){return Ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ri(t)}function S6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xy(t,e)}function T6(t,e){return e&&(R6(e)==="object"||typeof e=="function")?e:w6(t)}function xy(t,e){return xy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xy(t,e)}function R6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function PO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(PO=function(){return!!t})()}var I6=function(t){S6(e,t);function e(n){P6(this,e);var o;return o=$6(this,e,[n]),$O(o,"props",void 0),o.props=new gO(n==null?void 0:n.props),o}return E6(e,null,[{key:"controlType",get:function(){return"date-picker"}}]),e}(L);$O(I6,"controlFieldType",g.TIMESTAMP);function B6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function EO(t,e,n){return e=Ii(e),A6(t,RO()?Reflect.construct(e,n||[],Ii(t).constructor):e.apply(t,n))}function SO(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Se(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ii(t){return Ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ii(t)}function TO(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ly(t,e)}function A6(t,e){return e&&(k6(e)==="object"||typeof e=="function")?e:B6(t)}function Ly(t,e){return Ly=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ly(t,e)}function k6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function RO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(RO=function(){return!!t})()}var D6=function(t){TO(e,t);function e(n){SO(this,e);var o;return o=EO(this,e,[n]),o[0]!==void 0&&(o[0].type="object"),n.required&&!n.isHide&&o.push({type:"object",fields:{max:{type:"string",required:n.required,message:o[0].message},min:{type:"string",required:n.required,message:o[0].message}}}),o}return e}(z),Fy=function(t){TO(e,t);function e(n){SO(this,e);var o,r;o=EO(this,e,[n]),Se(o,"dataBind",void 0),Se(o,"rangeMin",void 0),Se(o,"rangeMax",void 0),Se(o,"placeholderStart",void 0),Se(o,"placeholderEnd",void 0),Se(o,"dateFormat",void 0),Se(o,"commonTimeSetting",void 0),Se(o,"dateType",void 0),Se(o,"setValueType",void 0),Se(o,"defaultValue",void 0),Se(o,"limitDateList",void 0),o.dataBind=new ik(n==null?void 0:n.dataBind),o.defaultValue=new uk(n==null?void 0:n.defaultValue);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:xt.DATE;var u;o.dateFormat=(u=n==null?void 0:n.dateFormat)!==null&&u!==void 0?u:"";var c;o.commonTimeSetting=(c=n==null?void 0:n.commonTimeSetting)!==null&&c!==void 0?c:[];var a;o.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var l;o.rangeMin=(l=n==null?void 0:n.rangeMin)!==null&&l!==void 0?l:"";var _;o.rangeMax=(_=n==null?void 0:n.rangeMax)!==null&&_!==void 0?_:"";var s;o.placeholderStart=(s=n==null?void 0:n.placeholderStart)!==null&&s!==void 0?s:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F";var d;o.placeholderEnd=(d=n==null?void 0:n.placeholderEnd)!==null&&d!==void 0?d:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F";var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:Ny.controlName;var m;return o.limitDateList=(m=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function(O){return new e_(O)}))!==null&&m!==void 0?m:[],o}return e}(D);Se(Fy,"RuntimeRules",D6);function x6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function L6(t,e,n){return e=Qt(e),N6(t,BO()?Reflect.construct(e,n||[],Qt(t).constructor):e.apply(t,n))}function F6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function IO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function j6(t,e,n){return e&&IO(t.prototype,e),n&&IO(t,n),t}function jy(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Bi(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Bi=Reflect.get:Bi=function(r,i,u){var c=V6(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Bi(t,e,n||t)}function Qt(t){return Qt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qt(t)}function M6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&My(t,e)}function N6(t,e){return e&&(z6(e)==="object"||typeof e=="function")?e:x6(t)}function My(t,e){return My=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},My(t,e)}function V6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Qt(t),t!==null););return t}function z6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function BO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(BO=function(){return!!t})()}var Ny=function(t){M6(e,t);function e(n){F6(this,e);var o;return o=L6(this,e,[n]),jy(o,"props",void 0),o.props=new Fy(n==null?void 0:n.props),o}return j6(e,[{key:"toDataBindModel",value:function(o){var r=Bi(Qt(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props.dateType;r.props.dateType=i}return r}}],[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"date-range"}}]),e}(x);jy(Ny,"controlFieldType",g.TIMESCOPE),jy(Ny,"setting",[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function C6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function H6(t,e,n){return e=Ai(e),K6(t,DO()?Reflect.construct(e,n||[],Ai(t).constructor):e.apply(t,n))}function q6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function AO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function U6(t,e,n){return e&&AO(t.prototype,e),n&&AO(t,n),t}function kO(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ai(t){return Ai=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ai(t)}function W6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vy(t,e)}function K6(t,e){return e&&(G6(e)==="object"||typeof e=="function")?e:C6(t)}function Vy(t,e){return Vy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vy(t,e)}function G6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function DO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(DO=function(){return!!t})()}var X6=function(t){W6(e,t);function e(n){q6(this,e);var o;return o=H6(this,e,[n]),kO(o,"props",void 0),o.props=new Fy(n==null?void 0:n.props),o}return U6(e,null,[{key:"controlType",get:function(){return"date-range"}}]),e}(L);kO(X6,"controlFieldType",g.TIMESCOPE);function Q6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zy(t,e,n){return e=ki(e),J6(t,xO()?Reflect.construct(e,n||[],ki(t).constructor):e.apply(t,n))}function Cy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ki(t){return ki=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ki(t)}function Hy(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&qy(t,e)}function J6(t,e){return e&&(Z6(e)==="object"||typeof e=="function")?e:Q6(t)}function qy(t,e){return qy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qy(t,e)}function Z6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xO=function(){return!!t})()}var Y6=function(t){Hy(e,t);function e(n){Cy(this,e);var o;return o=zy(this,e,[n]),xe(o,"maxLength",{type:"number",min:0,message:p.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),xe(o,"minLength",{type:"number",max:1e6,message:p.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),xe(o,"defaultValue",{type:"string",max:200,min:0,message:p.getMessage("stringRangeError")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return e}(J),e4=function(t){Hy(e,t);function e(n){Cy(this,e);var o;return o=zy(this,e,[n]),o.push({type:"string",max:n.maxLength,min:n.minLength,message:p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return e}(z),Di=function(t){Hy(e,t);function e(n){Cy(this,e);var o;o=zy(this,e,[n]),xe(o,"maxLength",void 0),xe(o,"minLength",void 0),xe(o,"defaultValue",void 0),xe(o,"lineEllipsis",void 0),xe(o,"autoSize",void 0),xe(o,"maxRows",void 0);var r;o.maxLength=(r=n==null?void 0:n.maxLength)!==null&&r!==void 0?r:5e4;var i;o.minLength=(i=n==null?void 0:n.minLength)!==null&&i!==void 0?i:0;var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:"";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Fi.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var l;o.lineEllipsis=(l=n==null?void 0:n.lineEllipsis)!==null&&l!==void 0?l:4;var _;return o.autoSize=(_=n==null?void 0:n.autoSize)!==null&&_!==void 0?_:!1,o.maxRows=n==null?void 0:n.maxRows,o}return e}(D);xe(Di,"Rules",Y6),xe(Di,"RuntimeRules",e4);function t4(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function n4(t,e,n){return e=Li(e),u4(t,FO()?Reflect.construct(e,n||[],Li(t).constructor):e.apply(t,n))}function o4(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function LO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function r4(t,e,n){return e&&LO(t.prototype,e),n&&LO(t,n),t}function xi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Li(t){return Li=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Li(t)}function i4(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Uy(t,e)}function u4(t,e){return e&&(c4(e)==="object"||typeof e=="function")?e:t4(t)}function Uy(t,e){return Uy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Uy(t,e)}function c4(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function FO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(FO=function(){return!!t})()}var Fi=function(t){i4(e,t);function e(n){o4(this,e);var o;return o=n4(this,e,[n]),xi(o,"props",void 0),o.props=new Di(n==null?void 0:n.props),o}return r4(e,null,[{key:"controlName",get:function(){return"\u591A\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconMultilineline_new1"}},{key:"controlType",get:function(){return"textarea"}}]),e}(x);xi(Fi,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),xi(Fi,"controlFieldType",g.TEXT),xi(Fi,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}]);function l4(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function a4(t,e,n){return e=ji(e),s4(t,NO()?Reflect.construct(e,n||[],ji(t).constructor):e.apply(t,n))}function f4(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function _4(t,e,n){return e&&jO(t.prototype,e),n&&jO(t,n),t}function MO(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ji(t){return ji=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ji(t)}function y4(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Wy(t,e)}function s4(t,e){return e&&(p4(e)==="object"||typeof e=="function")?e:l4(t)}function Wy(t,e){return Wy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wy(t,e)}function p4(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function NO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(NO=function(){return!!t})()}var d4=function(t){y4(e,t);function e(n){f4(this,e);var o;return o=a4(this,e,[n]),MO(o,"props",void 0),o.props=new Di(n==null?void 0:n.props),o}return _4(e,null,[{key:"controlType",get:function(){return"textarea"}}]),e}(L);MO(d4,"controlFieldType",g.TEXT);function v4(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ky(t,e,n){return e=Mi(e),h4(t,VO()?Reflect.construct(e,n||[],Mi(t).constructor):e.apply(t,n))}function Gy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Mi(t){return Mi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mi(t)}function Xy(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Qy(t,e)}function h4(t,e){return e&&(b4(e)==="object"||typeof e=="function")?e:v4(t)}function Qy(t,e){return Qy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qy(t,e)}function b4(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function VO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(VO=function(){return!!t})()}var g4=function(t){Xy(e,t);function e(n){Gy(this,e);var o;return o=Ky(this,e,[n]),vt(o,"maxLength",{type:"number",min:0,message:p.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),vt(o,"minLength",{type:"number",max:1e6,message:p.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),vt(o,"defaultValue",{type:"string",max:200,min:0,message:p.getMessage("stringRangeError")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return e}(J),m4=function(t){Xy(e,t);function e(n){Gy(this,e);var o;return o=Ky(this,e,[n]),o.push({type:"string",max:n.maxLength,min:n.minLength,message:p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return e}(z),Ni=function(t){Xy(e,t);function e(n){Gy(this,e);var o;o=Ky(this,e,[n]),vt(o,"maxLength",void 0),vt(o,"minLength",void 0),vt(o,"defaultValue",void 0);var r;o.maxLength=(r=n==null?void 0:n.maxLength)!==null&&r!==void 0?r:5e4;var i;o.minLength=(i=n==null?void 0:n.minLength)!==null&&i!==void 0?i:0;var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:"";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Ci.controlName;var a;return o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165",o}return e}(D);vt(Ni,"Rules",g4),vt(Ni,"RuntimeRules",m4);function O4(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function w4(t,e,n){return e=zi(e),S4(t,CO()?Reflect.construct(e,n||[],zi(t).constructor):e.apply(t,n))}function $4(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function P4(t,e,n){return e&&zO(t.prototype,e),n&&zO(t,n),t}function Vi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zi(t){return zi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zi(t)}function E4(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Jy(t,e)}function S4(t,e){return e&&(T4(e)==="object"||typeof e=="function")?e:O4(t)}function Jy(t,e){return Jy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jy(t,e)}function T4(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function CO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(CO=function(){return!!t})()}var Ci=function(t){E4(e,t);function e(n){$4(this,e);var o;return o=w4(this,e,[n]),Vi(o,"props",void 0),o.props=new Ni(n==null?void 0:n.props),o}return P4(e,null,[{key:"controlName",get:function(){return"\u5BCC\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconRichtextbox_new"}},{key:"controlType",get:function(){return"rich-text"}}]),e}(x);Vi(Ci,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Vi(Ci,"controlFieldType",g.TEXT),Vi(Ci,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}]);function R4(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function I4(t,e,n){return e=Hi(e),D4(t,UO()?Reflect.construct(e,n||[],Hi(t).constructor):e.apply(t,n))}function B4(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function HO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function A4(t,e,n){return e&&HO(t.prototype,e),n&&HO(t,n),t}function qO(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Hi(t){return Hi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hi(t)}function k4(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Zy(t,e)}function D4(t,e){return e&&(x4(e)==="object"||typeof e=="function")?e:R4(t)}function Zy(t,e){return Zy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zy(t,e)}function x4(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function UO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(UO=function(){return!!t})()}var L4=function(t){k4(e,t);function e(n){B4(this,e);var o;return o=I4(this,e,[n]),qO(o,"props",void 0),o.props=new Ni(n==null?void 0:n.props),o}return A4(e,null,[{key:"controlType",get:function(){return"rich-text"}}]),e}(L);qO(L4,"controlFieldType",g.TEXT);function F4(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function WO(t,e,n){return e=qi(e),j4(t,XO()?Reflect.construct(e,n||[],qi(t).constructor):e.apply(t,n))}function KO(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $e(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function qi(t){return qi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qi(t)}function GO(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Yy(t,e)}function j4(t,e){return e&&(M4(e)==="object"||typeof e=="function")?e:F4(t)}function Yy(t,e){return Yy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yy(t,e)}function M4(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function XO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(XO=function(){return!!t})()}var N4=function(t){GO(e,t);function e(n){KO(this,e);var o;return o=WO(this,e,[n]),$e(o,"formBind",{type:"object",fields:{formKey:{type:"string",message:p.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return e}(Nt),es=function(t){GO(e,t);function e(n){KO(this,e);var o;o=WO(this,e,[n]),$e(o,"options",void 0),$e(o,"defaultShowOptions",void 0),$e(o,"optionConfig",void 0),$e(o,"defaultValue",void 0),$e(o,"datasourceBind",void 0),$e(o,"multistageFilling",void 0),$e(o,"allowCopyOptions",void 0),$e(o,"openMultistageFilling",void 0),$e(o,"viewFormModelType",void 0),$e(o,"canViewForm",void 0),$e(o,"formBind",void 0);var r;o.options=Qe((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var i;o.defaultShowOptions=(i=n==null?void 0:n.defaultShowOptions)!==null&&i!==void 0?i:!0;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"custom",o.datasourceBind=new G(n==null?void 0:n.datasourceBind);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:os.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9";var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:"";var _;o.allowCopyOptions=(_=n==null?void 0:n.allowCopyOptions)!==null&&_!==void 0?_:!1;var s;o.openMultistageFilling=(s=n==null?void 0:n.openMultistageFilling)!==null&&s!==void 0?s:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(m){var O;(O=o.multistageFilling)===null||O===void 0||O.push(new se(m))}));var d;o.canViewForm=(d=n==null?void 0:n.canViewForm)!==null&&d!==void 0?d:!1;var b;return o.viewFormModelType=(b=n==null?void 0:n.viewFormModelType)!==null&&b!==void 0?b:"window",o.formBind=new jt(n==null?void 0:n.formBind),o}return e}(D);$e(es,"Rules",N4);function V4(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function z4(t,e,n){return e=Ui(e),U4(t,JO()?Reflect.construct(e,n||[],Ui(t).constructor):e.apply(t,n))}function C4(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function QO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function H4(t,e,n){return e&&QO(t.prototype,e),n&&QO(t,n),t}function ts(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ui(t){return Ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ui(t)}function q4(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ns(t,e)}function U4(t,e){return e&&(W4(e)==="object"||typeof e=="function")?e:V4(t)}function ns(t,e){return ns=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ns(t,e)}function W4(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function JO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(JO=function(){return!!t})()}var os=function(t){q4(e,t);function e(n){C4(this,e);var o;return o=z4(this,e,[n]),ts(o,"props",void 0),o.props=new es(n==null?void 0:n.props),o}return H4(e,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconxiala1"}},{key:"controlType",get:function(){return"select"}}]),e}(x);ts(os,"controlFieldType",g.VARCHAR),ts(os,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.DEFAULT_SHOW_OPTIONS,f.IS_SHOW_CAPTION_TIP,f.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[f.CAN_VIEW_FORM,f.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]);function K4(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function G4(t,e,n){return e=Wi(e),Z4(t,ew()?Reflect.construct(e,n||[],Wi(t).constructor):e.apply(t,n))}function X4(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ZO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Q4(t,e,n){return e&&ZO(t.prototype,e),n&&ZO(t,n),t}function YO(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wi(t){return Wi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wi(t)}function J4(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&rs(t,e)}function Z4(t,e){return e&&(Y4(e)==="object"||typeof e=="function")?e:K4(t)}function rs(t,e){return rs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rs(t,e)}function Y4(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ew(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ew=function(){return!!t})()}var e7=function(t){J4(e,t);function e(n){X4(this,e);var o;return o=G4(this,e,[n]),YO(o,"props",void 0),o.props=new es(n==null?void 0:n.props),o}return Q4(e,null,[{key:"controlType",get:function(){return"select"}}]),e}(L);YO(e7,"controlFieldType",g.VARCHAR);function t7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function is(t,e,n){return e=Ki(e),n7(t,tw()?Reflect.construct(e,n||[],Ki(t).constructor):e.apply(t,n))}function us(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ki(t){return Ki=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ki(t)}function cs(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ls(t,e)}function n7(t,e){return e&&(o7(e)==="object"||typeof e=="function")?e:t7(t)}function ls(t,e){return ls=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ls(t,e)}function o7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tw=function(){return!!t})()}var r7=function(t){cs(e,t);function e(n){us(this,e);var o;return o=is(this,e,[n]),Pe(o,"formBind",{type:"object",fields:{formKey:{type:"string",message:p.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return e}(Nt),i7=function(t){cs(e,t);function e(n){us(this,e);var o;return o=is(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(z),Gi=function(t){cs(e,t);function e(n){us(this,e);var o;o=is(this,e,[n]),Pe(o,"options",void 0),Pe(o,"defaultShowOptions",void 0),Pe(o,"optionConfig",void 0),Pe(o,"defaultValue",void 0),Pe(o,"datasourceBind",void 0),Pe(o,"multistageFilling",void 0),Pe(o,"openMultistageFilling",void 0),Pe(o,"viewFormModelType",void 0),Pe(o,"canViewForm",void 0),Pe(o,"formBind",void 0);var r;o.options=Qe((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var i;o.defaultShowOptions=(i=n==null?void 0:n.defaultShowOptions)!==null&&i!==void 0?i:!0;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"custom",o.datasourceBind=new G(n==null?void 0:n.datasourceBind);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:_s.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9";var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var _;o.openMultistageFilling=(_=n==null?void 0:n.openMultistageFilling)!==null&&_!==void 0?_:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(b){var m;(m=o.multistageFilling)===null||m===void 0||m.push(new se(b))}));var s;o.canViewForm=(s=n==null?void 0:n.canViewForm)!==null&&s!==void 0?s:!1;var d;return o.viewFormModelType=(d=n==null?void 0:n.viewFormModelType)!==null&&d!==void 0?d:"window",o.formBind=new jt(n==null?void 0:n.formBind),o}return e}(D);Pe(Gi,"Rules",r7),Pe(Gi,"RuntimeRules",i7);function u7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function c7(t,e,n){return e=Xi(e),_7(t,ow()?Reflect.construct(e,n||[],Xi(t).constructor):e.apply(t,n))}function l7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function a7(t,e,n){return e&&nw(t.prototype,e),n&&nw(t,n),t}function as(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xi(t){return Xi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xi(t)}function f7(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fs(t,e)}function _7(t,e){return e&&(y7(e)==="object"||typeof e=="function")?e:u7(t)}function fs(t,e){return fs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fs(t,e)}function y7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ow(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ow=function(){return!!t})()}var _s=function(t){f7(e,t);function e(n){l7(this,e);var o;return o=c7(this,e,[n]),as(o,"props",void 0),o.props=new Gi(n==null?void 0:n.props),o}return a7(e,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconxialaduoxuan"}},{key:"controlType",get:function(){return"select-multiple"}}]),e}(x);as(_s,"controlFieldType",g.ARRAY),as(_s,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.DEFAULT_SHOW_OPTIONS,f.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[f.CAN_VIEW_FORM,f.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]);function s7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function p7(t,e,n){return e=Qi(e),b7(t,uw()?Reflect.construct(e,n||[],Qi(t).constructor):e.apply(t,n))}function d7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function v7(t,e,n){return e&&rw(t.prototype,e),n&&rw(t,n),t}function iw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Qi(t){return Qi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qi(t)}function h7(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ys(t,e)}function b7(t,e){return e&&(g7(e)==="object"||typeof e=="function")?e:s7(t)}function ys(t,e){return ys=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ys(t,e)}function g7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function uw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(uw=function(){return!!t})()}var m7=function(t){h7(e,t);function e(n){d7(this,e);var o;return o=p7(this,e,[n]),iw(o,"props",void 0),o.props=new Gi(n==null?void 0:n.props),o}return v7(e,null,[{key:"controlType",get:function(){return"select-multiple"}}]),e}(L);iw(m7,"controlFieldType",g.ARRAY);function O7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cw(t,e,n){return e=Ji(e),w7(t,fw()?Reflect.construct(e,n||[],Ji(t).constructor):e.apply(t,n))}function lw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function et(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ji(t){return Ji=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ji(t)}function aw(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ss(t,e)}function w7(t,e){return e&&($7(e)==="object"||typeof e=="function")?e:O7(t)}function ss(t,e){return ss=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ss(t,e)}function $7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(fw=function(){return!!t})()}var P7=function(t){aw(e,t);function e(n){lw(this,e);var o;return o=cw(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(z),ps=function(t){aw(e,t);function e(n){lw(this,e);var o;o=cw(this,e,[n]),et(o,"showType",void 0),et(o,"range",void 0),et(o,"rangeOptions",void 0),et(o,"multiple",void 0),et(o,"defaultValueType",void 0),et(o,"defaultValue",void 0),et(o,"multistageFilling",void 0),et(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.range=(i=n==null?void 0:n.range)!==null&&i!==void 0?i:"all";var u;o.rangeOptions=(u=n==null?void 0:n.rangeOptions)!==null&&u!==void 0?u:[];var c;o.multiple=(c=n==null?void 0:n.multiple)!==null&&c!==void 0?c:!1;var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:hs.controlName;var s;o.placeholder=(s=n==null?void 0:n.placeholder)!==null&&s!==void 0?s:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var d;return o.openMultistageFilling=(d=n==null?void 0:n.openMultistageFilling)!==null&&d!==void 0?d:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(b){var m;(m=o.multistageFilling)===null||m===void 0||m.push(new se(b))})),o}return e}(D);et(ps,"RuntimeRules",P7);function E7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function S7(t,e,n){return e=Zi(e),B7(t,yw()?Reflect.construct(e,n||[],Zi(t).constructor):e.apply(t,n))}function T7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _w(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function R7(t,e,n){return e&&_w(t.prototype,e),n&&_w(t,n),t}function ds(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Zi(t){return Zi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zi(t)}function I7(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&vs(t,e)}function B7(t,e){return e&&(A7(e)==="object"||typeof e=="function")?e:E7(t)}function vs(t,e){return vs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vs(t,e)}function A7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function yw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(yw=function(){return!!t})()}var hs=function(t){I7(e,t);function e(n){T7(this,e);var o;return o=S7(this,e,[n]),ds(o,"props",void 0),o.props=new ps(n==null?void 0:n.props),o}return R7(e,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),e}(x);ds(hs,"controlFieldType",g.EMPLOYEES),ds(hs,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.MULTIPLE,f.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}]);function k7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function D7(t,e,n){return e=Yi(e),j7(t,dw()?Reflect.construct(e,n||[],Yi(t).constructor):e.apply(t,n))}function x7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function L7(t,e,n){return e&&sw(t.prototype,e),n&&sw(t,n),t}function pw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yi(t){return Yi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yi(t)}function F7(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&bs(t,e)}function j7(t,e){return e&&(M7(e)==="object"||typeof e=="function")?e:k7(t)}function bs(t,e){return bs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},bs(t,e)}function M7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function dw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(dw=function(){return!!t})()}var N7=function(t){F7(e,t);function e(n){x7(this,e);var o;return o=D7(this,e,[n]),pw(o,"props",void 0),o.props=new ps(n==null?void 0:n.props),o}return L7(e,null,[{key:"controlType",get:function(){return"employee"}}]),e}(L);pw(N7,"controlFieldType",g.EMPLOYEES);function V7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function gs(t,e,n){return e=eu(e),z7(t,vw()?Reflect.construct(e,n||[],eu(t).constructor):e.apply(t,n))}function ms(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function he(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function eu(t){return eu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},eu(t)}function Os(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ws(t,e)}function z7(t,e){return e&&(C7(e)==="object"||typeof e=="function")?e:V7(t)}function ws(t,e){return ws=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ws(t,e)}function C7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function vw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(vw=function(){return!!t})()}var H7=10485760,q7=104857600,U7=1048576e3,W7=function(t){Os(e,t);function e(n){ms(this,e);var o;return o=gs(this,e,[n]),he(o,"maxSize",{type:"number",min:0,max:U7,message:p.getMessage("attachmentMaxSize")}),o}return e}(J),K7=function(t){Os(e,t);function e(n){ms(this,e);var o;return o=gs(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o.push({type:"array",max:n.maxLimit,min:n.minLimit,message:p.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),o}return e}(z),tu=function(t){Os(e,t);function e(n){ms(this,e);var o;o=gs(this,e,[n]),he(o,"defaultValue",void 0),he(o,"showType",void 0),he(o,"resultShowType",void 0),he(o,"attachmentAccept",void 0),he(o,"maxLimit",void 0),he(o,"minLimit",void 0),he(o,"isShowWatermark",void 0),he(o,"watermarkFx",void 0),he(o,"maxSize",void 0),he(o,"forbidDownload",void 0),he(o,"accessControl",void 0);var r;o.defaultValue=(r=n==null?void 0:n.defaultValue)!==null&&r!==void 0?r:[];var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.resultShowType=(u=n==null?void 0:n.resultShowType)!==null&&u!==void 0?u:"simple";var c;o.attachmentAccept=(c=n==null?void 0:n.attachmentAccept)!==null&&c!==void 0?c:[];var a;o.maxLimit=(a=n==null?void 0:n.maxLimit)!==null&&a!==void 0?a:10;var l;o.minLimit=(l=n==null?void 0:n.minLimit)!==null&&l!==void 0?l:0;var _;o.maxSize=(_=n==null?void 0:n.maxSize)!==null&&_!==void 0?_:q7;var s;o.caption=(s=n==null?void 0:n.caption)!==null&&s!==void 0?s:lo.controlName;var d;o.placeholder=(d=n==null?void 0:n.placeholder)!==null&&d!==void 0?d:"\u4E0A\u4F20\u9644\u4EF6";var b;o.isShowWatermark=(b=n==null?void 0:n.isShowWatermark)!==null&&b!==void 0?b:!1;var m;o.watermarkFx=(m=n==null?void 0:n.watermarkFx)!==null&&m!==void 0?m:{};var O;o.forbidDownload=(O=n==null?void 0:n.forbidDownload)!==null&&O!==void 0?O:!1;var w;return o.accessControl=(w=n==null?void 0:n.accessControl)!==null&&w!==void 0?w:!1,o}return e}(D);he(tu,"Rules",W7),he(tu,"RuntimeRules",K7);function G7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function X7(t,e,n){return e=ou(e),Y7(t,bw()?Reflect.construct(e,n||[],ou(t).constructor):e.apply(t,n))}function Q7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function J7(t,e,n){return e&&hw(t.prototype,e),n&&hw(t,n),t}function nu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ou(t){return ou=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ou(t)}function Z7(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$s(t,e)}function Y7(t,e){return e&&(e9(e)==="object"||typeof e=="function")?e:G7(t)}function $s(t,e){return $s=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$s(t,e)}function e9(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function bw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(bw=function(){return!!t})()}var lo=function(t){Z7(e,t);function e(n){Q7(this,e);var o;return o=X7(this,e,[n]),nu(o,"props",void 0),o.props=new tu(n==null?void 0:n.props),o}return J7(e,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),e}(x);nu(lo,"controlEventKeys",["on_change"]),nu(lo,"controlFieldType",g.FILE),nu(lo,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP,f.FORBID_DOWNLOAD,f.ACCESS_CONTROL]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function t9(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function n9(t,e,n){return e=ru(e),u9(t,Ow()?Reflect.construct(e,n||[],ru(t).constructor):e.apply(t,n))}function o9(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function r9(t,e,n){return e&&gw(t.prototype,e),n&&gw(t,n),t}function mw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ru(t){return ru=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ru(t)}function i9(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ps(t,e)}function u9(t,e){return e&&(c9(e)==="object"||typeof e=="function")?e:t9(t)}function Ps(t,e){return Ps=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ps(t,e)}function c9(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ow(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ow=function(){return!!t})()}var l9=function(t){i9(e,t);function e(n){o9(this,e);var o;return o=n9(this,e,[n]),mw(o,"props",void 0),o.props=new tu(n==null?void 0:n.props),o}return r9(e,null,[{key:"controlType",get:function(){return"attachment"}}]),e}(L);mw(l9,"controlFieldType",g.FILE);function a9(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function f9(t,e,n){return e=iu(e),p9(t,Pw()?Reflect.construct(e,n||[],iu(t).constructor):e.apply(t,n))}function _9(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ww(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function y9(t,e,n){return e&&ww(t.prototype,e),n&&ww(t,n),t}function $w(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function iu(t){return iu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},iu(t)}function s9(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Es(t,e)}function p9(t,e){return e&&(d9(e)==="object"||typeof e=="function")?e:a9(t)}function Es(t,e){return Es=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Es(t,e)}function d9(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Pw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Pw=function(){return!!t})()}var Ew=function(t){s9(e,t);function e(n){_9(this,e);var o,r,i;o=f9(this,e,[n]),o.props.showType="image";var u;o.props.caption=(u=n==null||(r=n.props)===null||r===void 0?void 0:r.caption)!==null&&u!==void 0?u:e.controlName;var c;return o.props.placeholder=(c=n==null||(i=n.props)===null||i===void 0?void 0:i.placeholder)!==null&&c!==void 0?c:"\u4E0A\u4F20\u56FE\u7247",o}return y9(e,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),e}(lo);$w(Ew,"controlFieldType",g.IMAGE),$w(Ew,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP,f.FORBID_DOWNLOAD,f.ONLY_ALLOW_TAKE_PHOTO,f.ACCESS_CONTROL,f.IS_SHOW_WATERMARK]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function v9(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ss(t,e,n){return e=uu(e),m9(t,Sw()?Reflect.construct(e,n||[],uu(t).constructor):e.apply(t,n))}function Ts(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function le(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function uu(t){return uu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},uu(t)}function Rs(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Is(t,e)}function h9(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){le(t,r,n[r])})}return t}function b9(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,o)}return n}function g9(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):b9(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function m9(t,e){return e&&(O9(e)==="object"||typeof e=="function")?e:v9(t)}function Is(t,e){return Is=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Is(t,e)}function O9(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Sw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Sw=function(){return!!t})()}var w9=function(t){Rs(e,t);function e(n){Ts(this,e);var o;o=Ss(this,e,[n]),le(o,"defaultValue",{type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:p.getMessage("pleaseEnterNumberRange")}]}}),le(o,"rangeMax",{type:"any"});var r=n.rangeMax===""?void 0:n.rangeMax,i=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue.fields.amount[0].max=r,o.defaultValue.fields.amount[0].min=i,o.defaultValue.fields.amount[0].message=p.getMessage("pleaseEnterNumberRange",{max:r,min:i}),i&&r!==void 0&&(o.rangeMax={type:"number",min:i,message:p.getMessage("numberRangeSetError")}),o}return e}(Nt),$9=function(t){Rs(e,t);function e(n){Ts(this,e);var o;o=Ss(this,e,[n]),o[0]!==void 0&&(o[0].type="object");var r=n.rangeMax===""?void 0:n.rangeMax,i=n.rangeMin===""?void 0:n.rangeMin;return o.push({type:"object",fields:{amount:[g9(h9({},o[0]),{type:"number"}),{type:"number",min:i,max:r,message:p.getMessage(r===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:r,min:i})}],currency:{type:"string"}}}),o}return e}(z),cu=function(t){Rs(e,t);function e(n){Ts(this,e);var o;o=Ss(this,e,[n]),le(o,"rangeMin",void 0),le(o,"rangeMax",void 0),le(o,"showUpperCase",void 0),le(o,"submitSelectCurrency",void 0),le(o,"micrometer",void 0),le(o,"precision",void 0),le(o,"optionConfig",void 0),le(o,"dataBind",void 0),le(o,"datasourceBind",void 0),le(o,"defaultValue",void 0),le(o,"options",void 0);var r;o.rangeMin=(r=n==null?void 0:n.rangeMin)!==null&&r!==void 0?r:"";var i;o.rangeMax=(i=n==null?void 0:n.rangeMax)!==null&&i!==void 0?i:"";var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"datasource";var c;o.micrometer=(c=n==null?void 0:n.micrometer)!==null&&c!==void 0?c:!1;var a;o.precision=(a=n==null?void 0:n.precision)!==null&&a!==void 0?a:2,o.dataBind=new ok(n==null?void 0:n.dataBind);var l;o.datasourceBind=new G((l=n==null?void 0:n.datasourceBind)!==null&&l!==void 0?l:{displayBoList:[new nf({value:"name"})]});var _;o.defaultValue=new rk((_=n==null?void 0:n.defaultValue)!==null&&_!==void 0?_:{amount:"",currency:fk.CNY}),o.options=Qe(n==null?void 0:n.options);var s;o.caption=(s=n==null?void 0:n.caption)!==null&&s!==void 0?s:fu.controlName;var d;o.placeholder=(d=n==null?void 0:n.placeholder)!==null&&d!==void 0?d:"\u8BF7\u8F93\u5165";var b;o.submitSelectCurrency=(b=n==null?void 0:n.submitSelectCurrency)!==null&&b!==void 0?b:!1;var m;return o.showUpperCase=(m=n==null?void 0:n.showUpperCase)!==null&&m!==void 0?m:!1,o}return e}(D);le(cu,"Rules",w9),le(cu,"RuntimeRules",$9);function P9(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function E9(t,e,n){return e=Jt(e),I9(t,Rw()?Reflect.construct(e,n||[],Jt(t).constructor):e.apply(t,n))}function S9(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Tw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function T9(t,e,n){return e&&Tw(t.prototype,e),n&&Tw(t,n),t}function lu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function au(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?au=Reflect.get:au=function(r,i,u){var c=B9(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},au(t,e,n||t)}function Jt(t){return Jt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jt(t)}function R9(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Bs(t,e)}function I9(t,e){return e&&(A9(e)==="object"||typeof e=="function")?e:P9(t)}function Bs(t,e){return Bs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bs(t,e)}function B9(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Jt(t),t!==null););return t}function A9(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Rw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Rw=function(){return!!t})()}var fu=function(t){R9(e,t);function e(n){S9(this,e);var o;return o=E9(this,e,[n]),lu(o,"props",void 0),o.props=new cu(n==null?void 0:n.props),o}return T9(e,[{key:"toDataBindModel",value:function(o){var r=au(Jt(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.precision,c=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=c}return r}}],[{key:"controlName",get:function(){return"\u91D1\u989D"}},{key:"controlType",get:function(){return"amount"}},{key:"controlIcon",get:function(){return"iconjine"}}]),e}(x);lu(fu,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),lu(fu,"controlFieldType",g.MONEY),lu(fu,"setting",[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.SUBMIT_SELECT_CURRENCY,f.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[f.SHOW_UPPER_CASE,f.MICROMETER,f.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function k9(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function D9(t,e,n){return e=_u(e),j9(t,Aw()?Reflect.construct(e,n||[],_u(t).constructor):e.apply(t,n))}function x9(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Iw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function L9(t,e,n){return e&&Iw(t.prototype,e),n&&Iw(t,n),t}function Bw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _u(t){return _u=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_u(t)}function F9(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&As(t,e)}function j9(t,e){return e&&(M9(e)==="object"||typeof e=="function")?e:k9(t)}function As(t,e){return As=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},As(t,e)}function M9(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Aw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Aw=function(){return!!t})()}var N9=function(t){F9(e,t);function e(n){x9(this,e);var o;return o=D9(this,e,[n]),Bw(o,"props",void 0),o.props=new cu(n==null?void 0:n.props),o}return L9(e,null,[{key:"controlType",get:function(){return"amount"}}]),e}(L);Bw(N9,"controlFieldType",g.MONEY);function V9(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ks(t,e,n){return e=yu(e),z9(t,kw()?Reflect.construct(e,n||[],yu(t).constructor):e.apply(t,n))}function Ds(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function tt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yu(t){return yu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yu(t)}function xs(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ls(t,e)}function z9(t,e){return e&&(C9(e)==="object"||typeof e=="function")?e:V9(t)}function Ls(t,e){return Ls=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ls(t,e)}function C9(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function kw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(kw=function(){return!!t})()}var H9=function(t){xs(e,t);function e(n){Ds(this,e);var o;return o=ks(this,e,[n]),tt(o,"totalScore",[{type:"number",required:!0,message:p.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:p.getMessage("theTotalScoreMustNotBeLessThan1")}]),tt(o,"defaultValue",{type:"number",min:0,max:5,message:p.getMessage("scoreDefaultValueRange")}),o.defaultValue.max=n.totalScore,o.defaultValue.message=p.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:0}),o}return e}(J),q9=function(t){xs(e,t);function e(n){Ds(this,e);var o;o=ks(this,e,[n]),o[0]!==void 0&&(o[0].type="number");var r=n.required?1:0;return o.push({type:"number",min:r,max:n.totalScore,message:p.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:r})}),o}return e}(z),su=function(t){xs(e,t);function e(n){Ds(this,e);var o,r;o=ks(this,e,[n]),tt(o,"totalScore",void 0),tt(o,"scoreType",void 0),tt(o,"isShowExplain",void 0),tt(o,"explain",void 0),tt(o,"defaultValue",void 0);var i;o.totalScore=(i=n==null?void 0:n.totalScore)!==null&&i!==void 0?i:5;var u;o.scoreType=(u=n==null?void 0:n.scoreType)!==null&&u!==void 0?u:eL.STAR;var c;o.isShowExplain=(c=n==null?void 0:n.isShowExplain)!==null&&c!==void 0?c:!0;var a;o.explain=(a=n==null||(r=n.explain)===null||r===void 0?void 0:r.map(function(s){return new t_(s)}))!==null&&a!==void 0?a:Array(o.totalScore).fill(void 0).map(function(){return new t_});var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:0;var _;return o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:vu.controlName,o}return e}(D);tt(su,"Rules",H9),tt(su,"RuntimeRules",q9);function Fs(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function U9(t){if(Array.isArray(t))return Fs(t)}function W9(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function K9(t,e,n){return e=Zt(e),Y9(t,xw()?Reflect.construct(e,n||[],Zt(t).constructor):e.apply(t,n))}function G9(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function X9(t,e,n){return e&&Dw(t.prototype,e),n&&Dw(t,n),t}function pu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function du(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?du=Reflect.get:du=function(r,i,u){var c=e8(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},du(t,e,n||t)}function Zt(t){return Zt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zt(t)}function Q9(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&js(t,e)}function J9(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Z9(){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 Y9(t,e){return e&&(n8(e)==="object"||typeof e=="function")?e:W9(t)}function js(t,e){return js=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},js(t,e)}function e8(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Zt(t),t!==null););return t}function t8(t){return U9(t)||J9(t)||o8(t)||Z9()}function n8(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function o8(t,e){if(!!t){if(typeof t=="string")return Fs(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Fs(t,e)}}function xw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xw=function(){return!!t})()}var vu=function(t){Q9(e,t);function e(n){G9(this,e);var o;return o=K9(this,e,[n]),pu(o,"props",void 0),o.props=new su(n==null?void 0:n.props),o}return X9(e,[{key:"postUpdate",value:function(o,r){if(o==="totalScore"){if(r===this.props.explain.length)return;if(this.props.explain.length>r)this.props.explain=this.props.explain.slice(0,r);else{var i,u=r-this.props.explain.length,c=Array(u).fill(void 0).map(function(){return new t_});(i=this.props.explain).push.apply(i,t8(c))}}du(Zt(e.prototype),"postUpdate",this).call(this,o,r)}}],[{key:"controlName",get:function(){return"\u8BC4\u5206"}},{key:"controlIcon",get:function(){return"iconpingfen"}},{key:"controlType",get:function(){return"score"}}]),e}(x);pu(vu,"controlEventKeys",["on_change","on_click"]),pu(vu,"controlFieldType",g.DECIMAL),pu(vu,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function r8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function i8(t,e,n){return e=hu(e),a8(t,jw()?Reflect.construct(e,n||[],hu(t).constructor):e.apply(t,n))}function u8(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Lw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function c8(t,e,n){return e&&Lw(t.prototype,e),n&&Lw(t,n),t}function Fw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function hu(t){return hu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hu(t)}function l8(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ms(t,e)}function a8(t,e){return e&&(f8(e)==="object"||typeof e=="function")?e:r8(t)}function Ms(t,e){return Ms=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ms(t,e)}function f8(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function jw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(jw=function(){return!!t})()}var _8=function(t){l8(e,t);function e(n){u8(this,e);var o;return o=i8(this,e,[n]),Fw(o,"props",void 0),o.props=new su(n==null?void 0:n.props),o}return c8(e,null,[{key:"controlType",get:function(){return"score"}}]),e}(L);Fw(_8,"controlFieldType",g.DECIMAL);function y8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Mw(t,e,n){return e=gu(e),s8(t,zw()?Reflect.construct(e,n||[],gu(t).constructor):e.apply(t,n))}function Nw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gu(t){return gu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gu(t)}function Vw(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ns(t,e)}function s8(t,e){return e&&(p8(e)==="object"||typeof e=="function")?e:y8(t)}function Ns(t,e){return Ns=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ns(t,e)}function p8(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function zw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zw=function(){return!!t})()}var d8=function(t){Vw(e,t);function e(n){Nw(this,e);var o;if(o=Mw(this,e,[n]),o[0]!==void 0&&(o[0].type="object"),n.required&&!n.isHide){var r={type:"object",fields:{province:{type:"string",required:n.required,message:p.getMessage("pleaseSelectProvince")}}};n.addressType.includes("city")&&(r.fields.city={type:"string",required:n.required,message:p.getMessage("pleaseSelectCity")}),n.addressType.includes("district")&&(r.fields.district={type:"string",required:n.required,message:p.getMessage("pleaseSelectDistrict")}),o.push(r)}return o}return e}(z),Vs=function(t){Vw(e,t);function e(n){Nw(this,e);var o;o=Mw(this,e,[n]),bu(o,"defaultValueType",void 0),bu(o,"defaultValue",void 0),bu(o,"addressType",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Hs.controlName;var i;o.defaultValueType=(i=n==null?void 0:n.defaultValueType)!==null&&i!==void 0?i:"default";var u;o.addressType=(u=n==null?void 0:n.addressType)!==null&&u!==void 0?u:["province","city","district"];var c;o.defaultValue=new ck((c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:{});var a;return o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9\u5730\u5740",o}return e}(D);bu(Vs,"RuntimeRules",d8);function v8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function h8(t,e,n){return e=mu(e),O8(t,Hw()?Reflect.construct(e,n||[],mu(t).constructor):e.apply(t,n))}function b8(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Cw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function g8(t,e,n){return e&&Cw(t.prototype,e),n&&Cw(t,n),t}function zs(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function mu(t){return mu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mu(t)}function m8(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Cs(t,e)}function O8(t,e){return e&&(w8(e)==="object"||typeof e=="function")?e:v8(t)}function Cs(t,e){return Cs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cs(t,e)}function w8(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Hw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Hw=function(){return!!t})()}var Hs=function(t){m8(e,t);function e(n){b8(this,e);var o;return o=h8(this,e,[n]),zs(o,"props",void 0),o.props=new Vs(n==null?void 0:n.props),o}return g8(e,null,[{key:"controlName",get:function(){return"\u5730\u5740"}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),e}(x);zs(Hs,"controlFieldType",g.ADDRESS),zs(Hs,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function $8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function P8(t,e,n){return e=Ou(e),R8(t,Ww()?Reflect.construct(e,n||[],Ou(t).constructor):e.apply(t,n))}function E8(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function S8(t,e,n){return e&&qw(t.prototype,e),n&&qw(t,n),t}function Uw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ou(t){return Ou=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ou(t)}function T8(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&qs(t,e)}function R8(t,e){return e&&(I8(e)==="object"||typeof e=="function")?e:$8(t)}function qs(t,e){return qs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qs(t,e)}function I8(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ww(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ww=function(){return!!t})()}var B8=function(t){T8(e,t);function e(n){E8(this,e);var o;return o=P8(this,e,[n]),Uw(o,"props",void 0),o.props=new Vs(n==null?void 0:n.props),o}return S8(e,null,[{key:"controlName",get:function(){return"\u7701\u5E02\u533A"}},{key:"controlIcon",get:function(){return"iconicon_site_management11"}},{key:"controlType",get:function(){return"address"}}]),e}(L);Uw(B8,"controlFieldType",g.ADDRESS);function A8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Kw(t,e,n){return e=wu(e),k8(t,Qw()?Reflect.construct(e,n||[],wu(t).constructor):e.apply(t,n))}function Gw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Le(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function wu(t){return wu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wu(t)}function Xw(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Us(t,e)}function k8(t,e){return e&&(D8(e)==="object"||typeof e=="function")?e:A8(t)}function Us(t,e){return Us=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Us(t,e)}function D8(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Qw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Qw=function(){return!!t})()}var x8=function(t){Xw(e,t);function e(n){Gw(this,e);var o;return o=Kw(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(z),Ws=function(t){Xw(e,t);function e(n){Gw(this,e);var o;o=Kw(this,e,[n]),Le(o,"showType",void 0),Le(o,"range",void 0),Le(o,"defaultValueType",void 0),Le(o,"multiple",void 0),Le(o,"rangeOptions",void 0),Le(o,"defaultValue",void 0),Le(o,"displayLevel",void 0),Le(o,"showSubDept",void 0),Le(o,"multistageFilling",void 0),Le(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1;var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var c;o.defaultValueType=(c=n==null?void 0:n.defaultValueType)!==null&&c!==void 0?c:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var s;o.showSubDept=(s=n==null?void 0:n.showSubDept)!==null&&s!==void 0?s:!0;var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:Eu.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u8BF7\u9009\u62E9\u90E8\u95E8";var m;return o.openMultistageFilling=(m=n==null?void 0:n.openMultistageFilling)!==null&&m!==void 0?m:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new se(O))})),o}return e}(D);Le(Ws,"RuntimeRules",x8);function L8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function F8(t,e,n){return e=Yt(e),V8(t,Zw()?Reflect.construct(e,n||[],Yt(t).constructor):e.apply(t,n))}function j8(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function M8(t,e,n){return e&&Jw(t.prototype,e),n&&Jw(t,n),t}function $u(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Pu(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Pu=Reflect.get:Pu=function(r,i,u){var c=z8(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Pu(t,e,n||t)}function Yt(t){return Yt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yt(t)}function N8(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ks(t,e)}function V8(t,e){return e&&(C8(e)==="object"||typeof e=="function")?e:L8(t)}function Ks(t,e){return Ks=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ks(t,e)}function z8(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Yt(t),t!==null););return t}function C8(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Zw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Zw=function(){return!!t})()}var Eu=function(t){N8(e,t);function e(n){j8(this,e);var o;return o=F8(this,e,[n]),$u(o,"props",void 0),o.props=new Ws(n==null?void 0:n.props),o}return M8(e,[{key:"toDataBindModel",value:function(o){var r=Pu(Yt(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.displayLevel,c=i.showSubDept;r.props.displayLevel=u,r.props.showSubDept=c}return r}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),e}(x);$u(Eu,"controlName","\u90E8\u95E8"),$u(Eu,"controlFieldType",g.DEPARTMENTS),$u(Eu,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.MULTIPLE,f.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function H8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function q8(t,e,n){return e=Su(e),G8(t,t$()?Reflect.construct(e,n||[],Su(t).constructor):e.apply(t,n))}function U8(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function W8(t,e,n){return e&&Yw(t.prototype,e),n&&Yw(t,n),t}function e$(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Su(t){return Su=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Su(t)}function K8(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Gs(t,e)}function G8(t,e){return e&&(X8(e)==="object"||typeof e=="function")?e:H8(t)}function Gs(t,e){return Gs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gs(t,e)}function X8(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function t$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(t$=function(){return!!t})()}var Q8=function(t){K8(e,t);function e(n){U8(this,e);var o;return o=q8(this,e,[n]),e$(o,"props",void 0),o.props=new Ws(n==null?void 0:n.props),o}return W8(e,null,[{key:"controlType",get:function(){return"department"}}]),e}(L);e$(Q8,"controlFieldType",g.DEPARTMENTS);function J8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Z8(t,e,n){return e=Tu(e),nV(t,n$()?Reflect.construct(e,n||[],Tu(t).constructor):e.apply(t,n))}function Y8(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function eV(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Tu(t){return Tu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tu(t)}function tV(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xs(t,e)}function nV(t,e){return e&&(oV(e)==="object"||typeof e=="function")?e:J8(t)}function Xs(t,e){return Xs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xs(t,e)}function oV(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function n$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(n$=function(){return!!t})()}var o$=function(t){tV(e,t);function e(n){Y8(this,e);var o;o=Z8(this,e,[n]),eV(o,"defaultValue",void 0);var r;o.defaultValue=(r=n==null?void 0:n.defaultValue)!==null&&r!==void 0?r:"";var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Bu.controlName;var u;return o.placeholder=(u=n==null?void 0:n.placeholder)!==null&&u!==void 0?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",o}return e}(D);function rV(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function iV(t,e,n){return e=Iu(e),aV(t,i$()?Reflect.construct(e,n||[],Iu(t).constructor):e.apply(t,n))}function uV(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function cV(t,e,n){return e&&r$(t.prototype,e),n&&r$(t,n),t}function Ru(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Iu(t){return Iu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Iu(t)}function lV(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Qs(t,e)}function aV(t,e){return e&&(fV(e)==="object"||typeof e=="function")?e:rV(t)}function Qs(t,e){return Qs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qs(t,e)}function fV(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function i$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(i$=function(){return!!t})()}var Bu=function(t){lV(e,t);function e(n){uV(this,e);var o;return o=iV(this,e,[n]),Ru(o,"props",void 0),o.props=new o$(n==null?void 0:n.props),o}return cV(e,null,[{key:"controlName",get:function(){return"\u81EA\u52A8\u7F16\u53F7"}},{key:"controlIcon",get:function(){return"iconnumber_new"}},{key:"controlType",get:function(){return"auto-number"}}]),e}(x);Ru(Bu,"controlEventKeys",["on_change"]),Ru(Bu,"controlFieldType",g.AUTO_NUMBER),Ru(Bu,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function _V(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yV(t,e,n){return e=Au(e),vV(t,l$()?Reflect.construct(e,n||[],Au(t).constructor):e.apply(t,n))}function sV(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function pV(t,e,n){return e&&u$(t.prototype,e),n&&u$(t,n),t}function c$(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Au(t){return Au=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Au(t)}function dV(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Js(t,e)}function vV(t,e){return e&&(hV(e)==="object"||typeof e=="function")?e:_V(t)}function Js(t,e){return Js=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Js(t,e)}function hV(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function l$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(l$=function(){return!!t})()}var bV=function(t){dV(e,t);function e(n){sV(this,e);var o;return o=yV(this,e,[n]),c$(o,"props",void 0),o.props=new o$(n==null?void 0:n.props),o}return pV(e,null,[{key:"controlType",get:function(){return"auto-number"}}]),e}(L);c$(bV,"controlFieldType",g.AUTO_NUMBER);function gV(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Zs(t,e,n){return e=ku(e),mV(t,a$()?Reflect.construct(e,n||[],ku(t).constructor):e.apply(t,n))}function Ys(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ce(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ku(t){return ku=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ku(t)}function ep(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&tp(t,e)}function mV(t,e){return e&&(OV(e)==="object"||typeof e=="function")?e:gV(t)}function tp(t,e){return tp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},tp(t,e)}function OV(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function a$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(a$=function(){return!!t})()}var wV=function(t){ep(e,t);function e(n){Ys(this,e);var o;return o=Zs(this,e,[n]),o.dataBind.fields.result.required=!1,o.dataBind.fields.result.fields.fieldCode.required=!1,o.dataBind.fields.result.fields.dataCode.required=!1,o.dataBind.fields.unit.required=!1,o.dataBind.fields.unit.fields.fieldCode.required=!1,o.dataBind.fields.unit.fields.dataCode.required=!1,o}return e}(J),$V=function(t){ep(e,t);function e(n){Ys(this,e);var o;return o=Zs(this,e,[n]),o[0]!==void 0&&(o[0].type="object"),o.push({type:"object",message:p.getMessage("isNotObject"),fields:{result:[{type:"number",message:p.getMessage("isNotNumber")}],unit:{type:"string",message:p.getMessage("isNotString")}}}),o}return e}(z),Du=function(t){ep(e,t);function e(n){Ys(this,e);var o;o=Zs(this,e,[n]),Ce(o,"precision",void 0),Ce(o,"micrometer",void 0),Ce(o,"showUpperCase",void 0),Ce(o,"scriptSrc",void 0),Ce(o,"scriptEcho",void 0),Ce(o,"dataBind",void 0),Ce(o,"defaultValue",void 0),Ce(o,"calcOnMounted",void 0);var r;o.precision=(r=n==null?void 0:n.precision)!==null&&r!==void 0?r:0;var i;o.micrometer=(i=n==null?void 0:n.micrometer)!==null&&i!==void 0?i:!1;var u;o.showUpperCase=(u=n==null?void 0:n.showUpperCase)!==null&&u!==void 0?u:!1,o.dataBind=new lk(n==null?void 0:n.dataBind),o.defaultValue=new ak(n==null?void 0:n.defaultValue);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Fu.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var l;o.scriptEcho=(l=n==null?void 0:n.scriptEcho)!==null&&l!==void 0?l:[];var _;o.scriptSrc=(_=n==null?void 0:n.scriptSrc)!==null&&_!==void 0?_:"";var s;return o.calcOnMounted=(s=n==null?void 0:n.calcOnMounted)!==null&&s!==void 0?s:!1,o}return e}(D);Ce(Du,"Rules",wV),Ce(Du,"RuntimeRules",$V);function PV(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function EV(t,e,n){return e=en(e),IV(t,_$()?Reflect.construct(e,n||[],en(t).constructor):e.apply(t,n))}function SV(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function TV(t,e,n){return e&&f$(t.prototype,e),n&&f$(t,n),t}function xu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Lu(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Lu=Reflect.get:Lu=function(r,i,u){var c=BV(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Lu(t,e,n||t)}function en(t){return en=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},en(t)}function RV(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&np(t,e)}function IV(t,e){return e&&(AV(e)==="object"||typeof e=="function")?e:PV(t)}function np(t,e){return np=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},np(t,e)}function BV(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=en(t),t!==null););return t}function AV(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_$=function(){return!!t})()}var Fu=function(t){RV(e,t);function e(n){SV(this,e);var o;return o=EV(this,e,[n]),xu(o,"props",void 0),o.props=new Du(n==null?void 0:n.props),o}return TV(e,[{key:"toDataBindModel",value:function(o){var r=Lu(en(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.precision,c=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=c}return r}}],[{key:"controlName",get:function(){return"\u8BA1\u7B97\u516C\u5F0F"}},{key:"controlType",get:function(){return"calc"}},{key:"controlIcon",get:function(){return"iconcalculation_new"}}]),e}(x);xu(Fu,"controlEventKeys",["on_change"]),xu(Fu,"controlFieldType",g.CALC),xu(Fu,"setting",[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"calc-on-mounted",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[f.SHOW_UPPER_CASE,f.MICROMETER,f.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function kV(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function DV(t,e,n){return e=ju(e),jV(t,p$()?Reflect.construct(e,n||[],ju(t).constructor):e.apply(t,n))}function xV(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function LV(t,e,n){return e&&y$(t.prototype,e),n&&y$(t,n),t}function s$(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ju(t){return ju=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ju(t)}function FV(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&op(t,e)}function jV(t,e){return e&&(MV(e)==="object"||typeof e=="function")?e:kV(t)}function op(t,e){return op=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},op(t,e)}function MV(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function p$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(p$=function(){return!!t})()}var NV=function(t){FV(e,t);function e(n){xV(this,e);var o;return o=DV(this,e,[n]),s$(o,"props",void 0),o.props=new Du(n==null?void 0:n.props),o}return LV(e,null,[{key:"controlType",get:function(){return"calc"}}]),e}(L);s$(NV,"controlFieldType",g.CALC);function VV(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function d$(t,e,n){return e=Mu(e),zV(t,b$()?Reflect.construct(e,n||[],Mu(t).constructor):e.apply(t,n))}function v$(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function tn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Mu(t){return Mu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mu(t)}function h$(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&rp(t,e)}function zV(t,e){return e&&(CV(e)==="object"||typeof e=="function")?e:VV(t)}function rp(t,e){return rp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rp(t,e)}function CV(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function b$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(b$=function(){return!!t})()}var HV=function(t){h$(e,t);function e(n){v$(this,e);var o;return o=d$(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o.push({validator:function(i,u){if(n.required){var c=u.every(function(a){return!a});return c?Promise.reject(p.getMessage("runtimeRequired",{caption:n.caption})):Promise.resolve()}else return Promise.resolve()}}),o}return e}(z),ip=function(t){h$(e,t);function e(n){v$(this,e);var o;o=d$(this,e,[n]),tn(o,"rangeMin",void 0),tn(o,"rangeMax",void 0),tn(o,"placeholderStart",void 0),tn(o,"placeholderEnd",void 0),tn(o,"defaultValue",void 0);var r;o.defaultValue=(r=n==null?void 0:n.defaultValue)!==null&&r!==void 0?r:["",""];var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var u;o.rangeMax=(u=n==null?void 0:n.rangeMax)!==null&&u!==void 0?u:"";var c;o.placeholderStart=(c=n==null?void 0:n.placeholderStart)!==null&&c!==void 0?c:"\u6700\u5C0F\u503C";var a;o.placeholderEnd=(a=n==null?void 0:n.placeholderEnd)!==null&&a!==void 0?a:"\u6700\u5927\u503C";var l;return o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:lp.controlName,o}return e}(D);tn(ip,"RuntimeRules",HV);function qV(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function UV(t,e,n){return e=Nu(e),XV(t,m$()?Reflect.construct(e,n||[],Nu(t).constructor):e.apply(t,n))}function WV(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function g$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function KV(t,e,n){return e&&g$(t.prototype,e),n&&g$(t,n),t}function up(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Nu(t){return Nu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nu(t)}function GV(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&cp(t,e)}function XV(t,e){return e&&(QV(e)==="object"||typeof e=="function")?e:qV(t)}function cp(t,e){return cp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cp(t,e)}function QV(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function m$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(m$=function(){return!!t})()}var lp=function(t){GV(e,t);function e(n){WV(this,e);var o;return o=UV(this,e,[n]),up(o,"props",void 0),o.props=new ip(n==null?void 0:n.props),o}return KV(e,null,[{key:"controlName",get:function(){return"\u6570\u5B57\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconshuziqujian"}},{key:"controlType",get:function(){return"search-number-range"}}]),e}(x);up(lp,"controlFieldType",g.DECIMAL_RANGE),up(lp,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function JV(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ZV(t,e,n){return e=Vu(e),nz(t,$$()?Reflect.construct(e,n||[],Vu(t).constructor):e.apply(t,n))}function YV(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function O$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function ez(t,e,n){return e&&O$(t.prototype,e),n&&O$(t,n),t}function w$(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Vu(t){return Vu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vu(t)}function tz(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ap(t,e)}function nz(t,e){return e&&(oz(e)==="object"||typeof e=="function")?e:JV(t)}function ap(t,e){return ap=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ap(t,e)}function oz(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($$=function(){return!!t})()}var rz=function(t){tz(e,t);function e(n){YV(this,e);var o;return o=ZV(this,e,[n]),w$(o,"props",void 0),o.props=new ip(n==null?void 0:n.props),o}return ez(e,null,[{key:"controlType",get:function(){return"search-number-range"}}]),e}(L);w$(rz,"controlFieldType",g.DECIMAL_RANGE);function iz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function P$(t,e,n){return e=zu(e),uz(t,T$()?Reflect.construct(e,n||[],zu(t).constructor):e.apply(t,n))}function E$(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zu(t){return zu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zu(t)}function S$(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fp(t,e)}function uz(t,e){return e&&(cz(e)==="object"||typeof e=="function")?e:iz(t)}function fp(t,e){return fp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fp(t,e)}function cz(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function T$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(T$=function(){return!!t})()}var lz=function(t){S$(e,t);function e(n){E$(this,e);var o;return o=P$(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),n.required&&!n.isHide&&o.push({type:"array",fields:{0:{type:"string",required:n.required,message:o[0].message},1:{type:"string",required:n.required,message:o[0].message}}}),o}return e}(z),_p=function(t){S$(e,t);function e(n){E$(this,e);var o,r;o=P$(this,e,[n]),Fe(o,"rangeMin",void 0),Fe(o,"rangeMax",void 0),Fe(o,"placeholderStart",void 0),Fe(o,"placeholderEnd",void 0),Fe(o,"dateType",void 0),Fe(o,"dateFormat",void 0),Fe(o,"commonTimeSetting",void 0),Fe(o,"setValueType",void 0),Fe(o,"defaultValue",void 0),Fe(o,"limitDateList",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:["",""];var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:xt.DATE;var c;o.dateFormat=(c=n==null?void 0:n.dateFormat)!==null&&c!==void 0?c:"";var a;o.commonTimeSetting=(a=n==null?void 0:n.commonTimeSetting)!==null&&a!==void 0?a:[];var l;o.setValueType=(l=n==null?void 0:n.setValueType)!==null&&l!==void 0?l:"custom";var _;o.rangeMin=(_=n==null?void 0:n.rangeMin)!==null&&_!==void 0?_:"";var s;o.rangeMax=(s=n==null?void 0:n.rangeMax)!==null&&s!==void 0?s:"";var d;o.placeholderStart=(d=n==null?void 0:n.placeholderStart)!==null&&d!==void 0?d:"\u5F00\u59CB\u65E5\u671F";var b;o.placeholderEnd=(b=n==null?void 0:n.placeholderEnd)!==null&&b!==void 0?b:"\u7ED3\u675F\u65E5\u671F";var m;o.caption=(m=n==null?void 0:n.caption)!==null&&m!==void 0?m:pp.controlName;var O;return o.limitDateList=(O=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function(w){return new e_(w)}))!==null&&O!==void 0?O:[],o}return e}(D);Fe(_p,"RuntimeRules",lz);function az(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fz(t,e,n){return e=Cu(e),pz(t,I$()?Reflect.construct(e,n||[],Cu(t).constructor):e.apply(t,n))}function _z(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function R$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function yz(t,e,n){return e&&R$(t.prototype,e),n&&R$(t,n),t}function yp(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Cu(t){return Cu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cu(t)}function sz(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&sp(t,e)}function pz(t,e){return e&&(dz(e)==="object"||typeof e=="function")?e:az(t)}function sp(t,e){return sp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sp(t,e)}function dz(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function I$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(I$=function(){return!!t})()}var pp=function(t){sz(e,t);function e(n){_z(this,e);var o;return o=fz(this,e,[n]),yp(o,"props",void 0),o.props=new _p(n==null?void 0:n.props),o}return yz(e,null,[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"search-date-range"}}]),e}(x);yp(pp,"controlFieldType",g.ARRAY),yp(pp,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function vz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hz(t,e,n){return e=Hu(e),Oz(t,k$()?Reflect.construct(e,n||[],Hu(t).constructor):e.apply(t,n))}function bz(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function B$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function gz(t,e,n){return e&&B$(t.prototype,e),n&&B$(t,n),t}function A$(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Hu(t){return Hu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hu(t)}function mz(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&dp(t,e)}function Oz(t,e){return e&&(wz(e)==="object"||typeof e=="function")?e:vz(t)}function dp(t,e){return dp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dp(t,e)}function wz(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function k$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(k$=function(){return!!t})()}var $z=function(t){mz(e,t);function e(n){bz(this,e);var o;return o=hz(this,e,[n]),A$(o,"props",void 0),o.props=new _p(n==null?void 0:n.props),o}return gz(e,null,[{key:"controlType",get:function(){return"search-date-range"}}]),e}(L);A$($z,"controlFieldType",g.ARRAY);function Pz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vp(t,e,n){return e=qu(e),Ez(t,D$()?Reflect.construct(e,n||[],qu(t).constructor):e.apply(t,n))}function hp(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function qu(t){return qu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qu(t)}function bp(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&gp(t,e)}function Ez(t,e){return e&&(Sz(e)==="object"||typeof e=="function")?e:Pz(t)}function gp(t,e){return gp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gp(t,e)}function Sz(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function D$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(D$=function(){return!!t})()}var Tz=function(t){bp(e,t);function e(n){hp(this,e);var o;return o=vp(this,e,[n]),o.dataBind={type:"any"},o}return e}(J),Rz=function(t){bp(e,t);function e(n){hp(this,e);var o;return o=vp(this,e,[n]),o[0]!==void 0&&(o[0].type="any"),o}return e}(z),Uu=function(t){bp(e,t);function e(n){hp(this,e);var o;o=vp(this,e,[n]),nn(o,"controlExportName",void 0),nn(o,"permissions",void 0),nn(o,"defaultValue",void 0),nn(o,"isInlineEdit",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Gu.controlName;var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:void 0;var u;o.controlExportName=(u=n==null?void 0:n.controlExportName)!==null&&u!==void 0?u:"";var c;o.permissions=(c=n==null?void 0:n.permissions)!==null&&c!==void 0?c:[];var a;return o.isInlineEdit=(a=n==null?void 0:n.isInlineEdit)!==null&&a!==void 0?a:!1,o}return e}(D);nn(Uu,"Rules",Tz),nn(Uu,"RuntimeRules",Rz);function Iz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Bz(t,e,n){return e=Ku(e),xz(t,L$()?Reflect.construct(e,n||[],Ku(t).constructor):e.apply(t,n))}function Az(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function x$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function kz(t,e,n){return e&&x$(t.prototype,e),n&&x$(t,n),t}function Wu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ku(t){return Ku=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ku(t)}function Dz(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&mp(t,e)}function xz(t,e){return e&&(Lz(e)==="object"||typeof e=="function")?e:Iz(t)}function mp(t,e){return mp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},mp(t,e)}function Lz(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function L$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(L$=function(){return!!t})()}var Gu=function(t){Dz(e,t);function e(n){Az(this,e);var o;return o=Bz(this,e,[n]),Wu(o,"props",void 0),o.props=new Uu(n==null?void 0:n.props),o}return kz(e,null,[{key:"controlName",get:function(){return"Vue\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return"vue-form-item"}}]),e}(x);Wu(Gu,"controlFieldType",g.ANY),Wu(Gu,"controlEventKeys",[]),Wu(Gu,"setting",[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE,f.IS_HIDE_CAPTION,f.REQUIRED,f.IS_SHOW_CAPTION_TIP,f.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}]);function Fz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jz(t,e,n){return e=Xu(e),zz(t,M$()?Reflect.construct(e,n||[],Xu(t).constructor):e.apply(t,n))}function Mz(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function F$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Nz(t,e,n){return e&&F$(t.prototype,e),n&&F$(t,n),t}function j$(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xu(t){return Xu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xu(t)}function Vz(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Op(t,e)}function zz(t,e){return e&&(Cz(e)==="object"||typeof e=="function")?e:Fz(t)}function Op(t,e){return Op=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Op(t,e)}function Cz(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function M$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(M$=function(){return!!t})()}var Hz=function(t){Vz(e,t);function e(n){Mz(this,e);var o;return o=jz(this,e,[n]),j$(o,"props",void 0),o.props=new Uu(n==null?void 0:n.props),o}return Nz(e,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),e}(L);j$(Hz,"controlFieldType",g.ANY);function qz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function N$(t,e,n){return e=Qu(e),Uz(t,C$()?Reflect.construct(e,n||[],Qu(t).constructor):e.apply(t,n))}function V$(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ye(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Qu(t){return Qu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qu(t)}function z$(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wp(t,e)}function Uz(t,e){return e&&(Wz(e)==="object"||typeof e=="function")?e:qz(t)}function wp(t,e){return wp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wp(t,e)}function Wz(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function C$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(C$=function(){return!!t})()}var Kz=function(t){z$(e,t);function e(n){V$(this,e);var o;return o=N$(this,e,[n]),ye(o,"listPageBind",[{type:"object",message:p.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:p.getMessage("isNotString")},{type:"string",required:!0,message:p.getMessage("pleaseEnterList")}]}}]),ye(o,"formBind",{type:"object",fields:{formKey:{type:"string",message:p.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return e}(Nt),$p=function(t){z$(e,t);function e(n){V$(this,e);var o;o=N$(this,e,[n]),ye(o,"options",void 0),ye(o,"optionConfig",void 0),ye(o,"defaultValue",void 0),ye(o,"listPageBind",void 0),ye(o,"datasourceBind",void 0),ye(o,"multistageFilling",void 0),ye(o,"viewFormModelType",void 0),ye(o,"canViewForm",void 0),ye(o,"formBind",void 0),ye(o,"openMultistageFilling",void 0),ye(o,"showSelectedDetail",void 0),ye(o,"selectedContentConfig",void 0);var r;o.options=Qe((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[]);var i;o.optionConfig=(i=n==null?void 0:n.optionConfig)!==null&&i!==void 0?i:"datasource",o.listPageBind=new ef(n==null?void 0:n.listPageBind),o.datasourceBind=new G(n==null?void 0:n.datasourceBind);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Yu.controlName;var c;o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:"\u8BF7\u9009\u62E9";var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:"";var l;o.openMultistageFilling=(l=n==null?void 0:n.openMultistageFilling)!==null&&l!==void 0?l:!1;var _;o.showSelectedDetail=(_=n==null?void 0:n.showSelectedDetail)!==null&&_!==void 0?_:!1,o.selectedContentConfig=new rf(n==null?void 0:n.selectedContentConfig),o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(b){var m;(m=o.multistageFilling)===null||m===void 0||m.push(new se(b))}));var s;o.canViewForm=(s=n==null?void 0:n.canViewForm)!==null&&s!==void 0?s:!1;var d;return o.viewFormModelType=(d=n==null?void 0:n.viewFormModelType)!==null&&d!==void 0?d:"window",o.formBind=new jt(n==null?void 0:n.formBind),o}return e}(D);ye($p,"Rules",Kz);function Gz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Xz(t,e,n){return e=Zu(e),Yz(t,q$()?Reflect.construct(e,n||[],Zu(t).constructor):e.apply(t,n))}function Qz(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function H$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Jz(t,e,n){return e&&H$(t.prototype,e),n&&H$(t,n),t}function Ju(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Zu(t){return Zu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zu(t)}function Zz(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Pp(t,e)}function Yz(t,e){return e&&(eC(e)==="object"||typeof e=="function")?e:Gz(t)}function Pp(t,e){return Pp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Pp(t,e)}function eC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function q$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(q$=function(){return!!t})()}var Yu=function(t){Zz(e,t);function e(n){Qz(this,e);var o;return o=Xz(this,e,[n]),Ju(o,"props",void 0),o.props=new $p(n==null?void 0:n.props),o}return Jz(e,null,[{key:"controlName",get:function(){return"\u5173\u8054\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconguanliandanxuan"}},{key:"controlType",get:function(){return"select-relation"}}]),e}(x);Ju(Yu,"controlFieldType",g.VARCHAR),Ju(Yu,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0,showItems:[f.CAN_VIEW_FORM,f.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]),Ju(Yu,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);function tC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nC(t,e,n){return e=ec(e),uC(t,K$()?Reflect.construct(e,n||[],ec(t).constructor):e.apply(t,n))}function oC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function U$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function rC(t,e,n){return e&&U$(t.prototype,e),n&&U$(t,n),t}function W$(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ec(t){return ec=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ec(t)}function iC(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ep(t,e)}function uC(t,e){return e&&(cC(e)==="object"||typeof e=="function")?e:tC(t)}function Ep(t,e){return Ep=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ep(t,e)}function cC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function K$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(K$=function(){return!!t})()}var lC=function(t){iC(e,t);function e(n){oC(this,e);var o;return o=nC(this,e,[n]),W$(o,"props",void 0),o.props=new $p(n==null?void 0:n.props),o}return rC(e,null,[{key:"controlType",get:function(){return"select-relation"}}]),e}(L);W$(lC,"controlFieldType",g.VARCHAR);function aC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fC(t,e,n){return e=tc(e),sC(t,G$()?Reflect.construct(e,n||[],tc(t).constructor):e.apply(t,n))}function _C(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function tc(t){return tc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tc(t)}function yC(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Sp(t,e)}function sC(t,e){return e&&(pC(e)==="object"||typeof e=="function")?e:aC(t)}function Sp(t,e){return Sp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sp(t,e)}function pC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function G$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(G$=function(){return!!t})()}var X$=function(t){yC(e,t);function e(n){return _C(this,e),fC(this,e,[n])}return e}(uo);function dC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vC(t,e,n){return e=nc(e),mC(t,Z$()?Reflect.construct(e,n||[],nc(t).constructor):e.apply(t,n))}function hC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Q$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function bC(t,e,n){return e&&Q$(t.prototype,e),n&&Q$(t,n),t}function J$(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function nc(t){return nc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nc(t)}function gC(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Tp(t,e)}function mC(t,e){return e&&(OC(e)==="object"||typeof e=="function")?e:dC(t)}function Tp(t,e){return Tp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Tp(t,e)}function OC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Z$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Z$=function(){return!!t})()}var wC=function(t){gC(e,t);function e(n){hC(this,e);var o;return o=vC(this,e,[n]),J$(o,"props",void 0),o.props=new X$(n==null?void 0:n.props),o}return bC(e,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),e}(co);J$(wC,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED]},{key:"super-setting",visible:!0}]);function $C(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function PC(t,e,n){return e=oc(e),RC(t,tP()?Reflect.construct(e,n||[],oc(t).constructor):e.apply(t,n))}function EC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Y$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function SC(t,e,n){return e&&Y$(t.prototype,e),n&&Y$(t,n),t}function eP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function oc(t){return oc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oc(t)}function TC(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Rp(t,e)}function RC(t,e){return e&&(IC(e)==="object"||typeof e=="function")?e:$C(t)}function Rp(t,e){return Rp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rp(t,e)}function IC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tP=function(){return!!t})()}var BC=function(t){TC(e,t);function e(n){EC(this,e);var o;return o=PC(this,e,[n]),eP(o,"props",void 0),o.props=new X$(n==null?void 0:n.props),o}return SC(e,null,[{key:"controlType",get:function(){return"search-input"}}]),e}(L);eP(BC,"controlFieldType",g.VARCHAR);function AC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ip(t,e,n){return e=rc(e),kC(t,nP()?Reflect.construct(e,n||[],rc(t).constructor):e.apply(t,n))}function Bp(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function H(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function rc(t){return rc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rc(t)}function Ap(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&kp(t,e)}function kC(t,e){return e&&(DC(e)==="object"||typeof e=="function")?e:AC(t)}function kp(t,e){return kp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kp(t,e)}function DC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function nP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(nP=function(){return!!t})()}var xC=function(t){Ap(e,t);function e(n){Bp(this,e);var o;return o=Ip(this,e,[n]),H(o,"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),Do.call(o,n,$t.controlCustomAttributes,!0),o.datasourceBind[1].fields&&(o.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:p.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:p.getMessage("rootNodeIsRequired")}}}]),o}return e}(J),LC=function(t){Ap(e,t);function e(n){Bp(this,e);var o;return o=Ip(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(z),ic=function(t){Ap(e,t);function e(n){Bp(this,e);var o,r;o=Ip(this,e,[n]),H(o,"placeholder",void 0),H(o,"multiple",void 0),H(o,"canSearch",void 0),H(o,"levelType",void 0),H(o,"optionalLevel",void 0),H(o,"containsSubNode",void 0),H(o,"defaultDisplay",void 0),H(o,"isShowIncludeSub",void 0),H(o,"isDefaultCheckSub",void 0),H(o,"isShowFilterItem",void 0),H(o,"defaultCollapse",void 0),H(o,"defaultCollapseLevel",void 0),H(o,"optionConfig","datasource"),H(o,"datasourceBind",void 0),H(o,"filterItemDatasourceBind",void 0),H(o,"multistageFilling",void 0),H(o,"defaultValue",void 0),H(o,"openMultistageFilling",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:$t.controlName;var u;o.placeholder=(u=n==null?void 0:n.placeholder)!==null&&u!==void 0?u:"\u8BF7\u9009\u62E9";var c;o.multiple=(c=n==null?void 0:n.multiple)!==null&&c!==void 0?c:!1;var a;o.canSearch=(a=n==null?void 0:n.canSearch)!==null&&a!==void 0?a:!0;var l;o.levelType=(l=n==null?void 0:n.levelType)!==null&&l!==void 0?l:"all";var _;o.optionalLevel=(_=n==null?void 0:n.optionalLevel)!==null&&_!==void 0?_:1;var s;o.containsSubNode=(s=n==null?void 0:n.containsSubNode)!==null&&s!==void 0?s:!1;var d;o.isShowFilterItem=(d=n==null?void 0:n.isShowFilterItem)!==null&&d!==void 0?d:!1;var b;o.isShowIncludeSub=(b=n==null?void 0:n.isShowIncludeSub)!==null&&b!==void 0?b:!1;var m;o.isDefaultCheckSub=(m=n==null?void 0:n.isDefaultCheckSub)!==null&&m!==void 0?m:!1;var O;o.defaultCollapse=(O=n==null?void 0:n.defaultCollapse)!==null&&O!==void 0?O:"all";var w;o.defaultCollapseLevel=(w=n==null?void 0:n.defaultCollapseLevel)!==null&&w!==void 0?w:1;var h;o.datasourceBind=new D0((h=n==null?void 0:n.datasourceBind)!==null&&h!==void 0?h:{attributes:$t.controlCustomAttributes});var $;o.filterItemDatasourceBind=new D0(($=n==null?void 0:n.filterItemDatasourceBind)!==null&&$!==void 0?$:{attributes:$t.controlCustomAttributes});var T;o.openMultistageFilling=(T=n==null?void 0:n.openMultistageFilling)!==null&&T!==void 0?T:!1;var P;o.defaultDisplay=(P=n==null?void 0:n.defaultDisplay)!==null&&P!==void 0?P:!1;var S;o.multistageFilling=(S=n==null||(r=n.multistageFilling)===null||r===void 0?void 0:r.map(function(A){return new se(A)}))!==null&&S!==void 0?S:[];var F;return o.defaultValue=(F=n==null?void 0:n.defaultValue)!==null&&F!==void 0?F:[],o}return e}(D);H(ic,"Rules",xC),H(ic,"RuntimeRules",LC);function FC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jC(t,e,n){return e=cc(e),zC(t,rP()?Reflect.construct(e,n||[],cc(t).constructor):e.apply(t,n))}function MC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function oP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function NC(t,e,n){return e&&oP(t.prototype,e),n&&oP(t,n),t}function uc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function cc(t){return cc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cc(t)}function VC(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Dp(t,e)}function zC(t,e){return e&&(CC(e)==="object"||typeof e=="function")?e:FC(t)}function Dp(t,e){return Dp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dp(t,e)}function CC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function rP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(rP=function(){return!!t})()}var $t=function(t){VC(e,t);function e(n){MC(this,e);var o;return o=jC(this,e,[n]),uc(o,"props",void 0),o.props=new ic(n==null?void 0:n.props),o}return NC(e,null,[{key:"controlName",get:function(){return"\u6811"}},{key:"controlIcon",get:function(){return"icontree"}},{key:"controlType",get:function(){return"tree"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}]),e}(x);uc($t,"controlEventKeys",["on_change","on_click"]),uc($t,"controlFieldType",g.ARRAY),uc($t,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.MULTIPLE,f.CAN_SEARCH,f.DEFAULT_DISPLAY,f.CONTAINS_SUB_NODE,f.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}]);function HC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qC(t,e,n){return e=lc(e),GC(t,cP()?Reflect.construct(e,n||[],lc(t).constructor):e.apply(t,n))}function UC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function iP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function WC(t,e,n){return e&&iP(t.prototype,e),n&&iP(t,n),t}function uP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function lc(t){return lc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},lc(t)}function KC(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xp(t,e)}function GC(t,e){return e&&(XC(e)==="object"||typeof e=="function")?e:HC(t)}function xp(t,e){return xp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xp(t,e)}function XC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function cP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(cP=function(){return!!t})()}var QC=function(t){KC(e,t);function e(n){UC(this,e);var o;return o=qC(this,e,[n]),uP(o,"props",void 0),o.props=new ic(n==null?void 0:n.props),o}return WC(e,null,[{key:"controlType",get:function(){return"tree"}}]),e}(L);uP(QC,"controlFieldType",g.ARRAY);function JC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Lp(t,e,n){return e=ac(e),ZC(t,lP()?Reflect.construct(e,n||[],ac(t).constructor):e.apply(t,n))}function Fp(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function re(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ac(t){return ac=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ac(t)}function jp(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Mp(t,e)}function ZC(t,e){return e&&(YC(e)==="object"||typeof e=="function")?e:JC(t)}function Mp(t,e){return Mp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Mp(t,e)}function YC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function lP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(lP=function(){return!!t})()}var eH=function(t){jp(e,t);function e(n){Fp(this,e);var o;return o=Lp(this,e,[n]),re(o,"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),re(o,"externalScope",{type:"any"}),Do.call(o,n,ao.controlCustomAttributes),n.externalType===Wt.ASSIGN&&(o.externalScope={type:"array",required:!0,message:p.getMessage("pleaseAssignExternal")}),o}return e}(J),tH=function(t){jp(e,t);function e(n){Fp(this,e);var o;return o=Lp(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(z),fc=function(t){jp(e,t);function e(n){Fp(this,e);var o;o=Lp(this,e,[n]),re(o,"showType",void 0),re(o,"range",void 0),re(o,"rangeOptions",void 0),re(o,"multiple",void 0),re(o,"defaultValueType",void 0),re(o,"defaultValue",void 0),re(o,"multistageFilling",void 0),re(o,"datasourceBind",void 0),re(o,"datasourceType",void 0),re(o,"insideType",void 0),re(o,"externalType",void 0),re(o,"externalScope",void 0),re(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.range=(i=n==null?void 0:n.range)!==null&&i!==void 0?i:"all";var u;o.rangeOptions=(u=n==null?void 0:n.rangeOptions)!==null&&u!==void 0?u:[];var c;o.multiple=(c=n==null?void 0:n.multiple)!==null&&c!==void 0?c:!1;var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:ao.controlName;var s;o.placeholder=(s=n==null?void 0:n.placeholder)!==null&&s!==void 0?s:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var d;o.datasourceBind=new Ro((d=n==null?void 0:n.datasourceBind)!==null&&d!==void 0?d:{attributes:ao.controlCustomAttributes});var b;o.datasourceType=(b=n==null?void 0:n.datasourceType)!==null&&b!==void 0?b:uL.INTERNAL;var m;o.insideType=(m=n==null?void 0:n.insideType)!==null&&m!==void 0?m:cL.ADMIN;var O;o.externalType=(O=n==null?void 0:n.externalType)!==null&&O!==void 0?O:Wt.ALL;var w;o.externalScope=(w=n==null?void 0:n.externalScope)!==null&&w!==void 0?w:[];var h;return o.openMultistageFilling=(h=n==null?void 0:n.openMultistageFilling)!==null&&h!==void 0?h:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function($){var T;(T=o.multistageFilling)===null||T===void 0||T.push(new se($))})),o}return e}(D);re(fc,"Rules",eH),re(fc,"RuntimeRules",tH);function nH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function oH(t,e,n){return e=_c(e),cH(t,fP()?Reflect.construct(e,n||[],_c(t).constructor):e.apply(t,n))}function rH(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function aP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function iH(t,e,n){return e&&aP(t.prototype,e),n&&aP(t,n),t}function Np(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _c(t){return _c=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_c(t)}function uH(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vp(t,e)}function cH(t,e){return e&&(lH(e)==="object"||typeof e=="function")?e:nH(t)}function Vp(t,e){return Vp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vp(t,e)}function lH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(fP=function(){return!!t})()}var ao=function(t){uH(e,t);function e(n){rH(this,e);var o;return o=oH(this,e,[n]),Np(o,"props",void 0),o.props=new fc(n==null?void 0:n.props),o}return iH(e,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),e}(x);Np(ao,"controlFieldType",g.EMPLOYEES),Np(ao,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.MULTIPLE,f.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}]);function aH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fH(t,e,n){return e=yc(e),pH(t,sP()?Reflect.construct(e,n||[],yc(t).constructor):e.apply(t,n))}function _H(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _P(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function yH(t,e,n){return e&&_P(t.prototype,e),n&&_P(t,n),t}function yP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yc(t){return yc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yc(t)}function sH(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&zp(t,e)}function pH(t,e){return e&&(dH(e)==="object"||typeof e=="function")?e:aH(t)}function zp(t,e){return zp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zp(t,e)}function dH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function sP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(sP=function(){return!!t})()}var vH=function(t){sH(e,t);function e(n){_H(this,e);var o;return o=fH(this,e,[n]),yP(o,"props",void 0),o.props=new fc(n==null?void 0:n.props),o}return yH(e,null,[{key:"controlType",get:function(){return"employee2"}}]),e}(L);yP(vH,"controlFieldType",g.EMPLOYEES);function hH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function pP(t,e,n){return e=sc(e),bH(t,hP()?Reflect.construct(e,n||[],sc(t).constructor):e.apply(t,n))}function dP(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function He(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function sc(t){return sc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sc(t)}function vP(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Cp(t,e)}function bH(t,e){return e&&(gH(e)==="object"||typeof e=="function")?e:hH(t)}function Cp(t,e){return Cp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cp(t,e)}function gH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function hP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(hP=function(){return!!t})()}var mH=function(t){vP(e,t);function e(n){dP(this,e);var o;return o=pP(this,e,[n]),He(o,"signatureConfig",void 0),o.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fields:n.signatureConfig.undersignedList.reduce(function(r,i,u){return r[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator:function(a,l,_){if(i.type==="public"&&Wa(l.value)&&l.value.length===0){_("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}_()}},company:{type:"object",required:!0,validator:function(a,l,_){if(i.type==="public"&&i.signatureType.includes("company")&&Wa(l.value)&&l.value.length===0){_("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}_()}}}},r},{})}}},o}return e}(J),Hp=function(t){vP(e,t);function e(n){dP(this,e);var o;o=pP(this,e,[n]),He(o,"buttonType",void 0),He(o,"content",void 0),He(o,"showType",void 0),He(o,"color",void 0),He(o,"icon",void 0),He(o,"command",""),He(o,"isLoading",!1),He(o,"signatureConfig",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:vc.controlName;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u53D1\u8D77\u7B7E\u7F72";var u;o.buttonType=(u=n==null?void 0:n.buttonType)!==null&&u!==void 0?u:"primary";var c;o.showType=(c=n==null?void 0:n.showType)!==null&&c!==void 0?c:"text";var a;o.color=(a=n==null?void 0:n.color)!==null&&a!==void 0?a:"primary";var l;return o.icon=(l=n==null?void 0:n.icon)!==null&&l!==void 0?l:"iconfenlei2",o.signatureConfig=new nL(n==null?void 0:n.signatureConfig),o}return e}(D);He(Hp,"Rules",mH);function OH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wH(t,e,n){return e=dc(e),SH(t,gP()?Reflect.construct(e,n||[],dc(t).constructor):e.apply(t,n))}function $H(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function PH(t,e,n){return e&&bP(t.prototype,e),n&&bP(t,n),t}function pc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function dc(t){return dc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dc(t)}function EH(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&qp(t,e)}function SH(t,e){return e&&(TH(e)==="object"||typeof e=="function")?e:OH(t)}function qp(t,e){return qp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qp(t,e)}function TH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function gP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(gP=function(){return!!t})()}var vc=function(t){EH(e,t);function e(n){$H(this,e);var o;return o=wH(this,e,[n]),pc(o,"props",void 0),o.props=new Hp(n==null?void 0:n.props),o}return PH(e,null,[{key:"controlName",get:function(){return"\u7535\u5B50\u7B7E\u7AE0"}},{key:"controlIcon",get:function(){return"icondianziqianzhang"}},{key:"controlType",get:function(){return"electronic-signature"}}]),e}(x);pc(vc,"controlEventKeys",["on_click","on_click_finish"]),pc(vc,"controlFieldType",g.VARCHAR),pc(vc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}]);function RH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function IH(t,e,n){return e=hc(e),DH(t,wP()?Reflect.construct(e,n||[],hc(t).constructor):e.apply(t,n))}function BH(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function AH(t,e,n){return e&&mP(t.prototype,e),n&&mP(t,n),t}function OP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function hc(t){return hc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hc(t)}function kH(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Up(t,e)}function DH(t,e){return e&&(xH(e)==="object"||typeof e=="function")?e:RH(t)}function Up(t,e){return Up=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Up(t,e)}function xH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function wP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(wP=function(){return!!t})()}var LH=function(t){kH(e,t);function e(n){BH(this,e);var o;return o=IH(this,e,[n]),OP(o,"props",void 0),o.props=new Hp(n==null?void 0:n.props),o}return AH(e,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),e}(L);OP(LH,"controlFieldType",g.VARCHAR);function FH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Wp(t,e,n){return e=bc(e),jH(t,$P()?Reflect.construct(e,n||[],bc(t).constructor):e.apply(t,n))}function Kp(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ie(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function bc(t){return bc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bc(t)}function Gp(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xp(t,e)}function jH(t,e){return e&&(MH(e)==="object"||typeof e=="function")?e:FH(t)}function Xp(t,e){return Xp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xp(t,e)}function MH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $P(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($P=function(){return!!t})()}var NH=function(t){Gp(e,t);function e(n){Kp(this,e);var o;return o=Wp(this,e,[n]),ie(o,"content",{type:"string",required:!0,message:p.getMessage("pleaseEnterButtonContent")}),ie(o,"canAdd",void 0),ie(o,"wpsSetting",{type:"object",fields:{watermark:{type:"object",validator:function(i,u,c){if(u.active&&!u.text){c(p.getMessage("pleaseEnterWatermark"));return}c()}},autoRename:{type:"object",validator:function(i,u,c){if(u.active&&!u.text){c(p.getMessage("pleaseEnterFileName"));return}c()}}}}),o.canAdd={type:"boolean",validator:function(i,u,c){if(n.canAdd&&!n.addLocal&&!n.addOnline){c(p.getMessage("pleaseChooseAtLeastOne"));return}c()}},o}return e}(J),VH=function(t){Gp(e,t);function e(n){Kp(this,e);var o;return o=Wp(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(z),gc=function(t){Gp(e,t);function e(n){Kp(this,e);var o;o=Wp(this,e,[n]),ie(o,"content",void 0),ie(o,"canAdd",void 0),ie(o,"addLocal",void 0),ie(o,"addOnline",void 0),ie(o,"canDownload",void 0),ie(o,"canEdit",void 0),ie(o,"canExport",void 0),ie(o,"canDelete",void 0),ie(o,"wpsSetting",void 0),ie(o,"maxSize",void 0),ie(o,"defaultValue",void 0),ie(o,"revisionsMode",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:wc.controlName;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u65B0\u5EFA\u6587\u6863";var u;o.canAdd=(u=n==null?void 0:n.canAdd)!==null&&u!==void 0?u:!0;var c;o.addLocal=(c=n==null?void 0:n.addLocal)!==null&&c!==void 0?c:!0;var a;o.addOnline=(a=n==null?void 0:n.addOnline)!==null&&a!==void 0?a:!0;var l;o.canEdit=(l=n==null?void 0:n.canEdit)!==null&&l!==void 0?l:!0;var _;o.canDownload=(_=n==null?void 0:n.canDownload)!==null&&_!==void 0?_:!0;var s;o.canExport=(s=n==null?void 0:n.canExport)!==null&&s!==void 0?s:!0;var d;o.canDelete=(d=n==null?void 0:n.canDelete)!==null&&d!==void 0?d:!1;var b;o.maxSize=(b=n==null?void 0:n.maxSize)!==null&&b!==void 0?b:H7;var m;o.defaultValue=(m=n==null?void 0:n.defaultValue)!==null&&m!==void 0?m:[],o.wpsSetting=new oL(n==null?void 0:n.wpsSetting);var O;return o.revisionsMode=(O=n==null?void 0:n.revisionsMode)!==null&&O!==void 0?O:!1,o}return e}(D);ie(gc,"Rules",NH),ie(gc,"RuntimeRules",VH);function zH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function CH(t,e,n){return e=Oc(e),WH(t,EP()?Reflect.construct(e,n||[],Oc(t).constructor):e.apply(t,n))}function HH(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function PP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function qH(t,e,n){return e&&PP(t.prototype,e),n&&PP(t,n),t}function mc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Oc(t){return Oc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oc(t)}function UH(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Qp(t,e)}function WH(t,e){return e&&(KH(e)==="object"||typeof e=="function")?e:zH(t)}function Qp(t,e){return Qp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qp(t,e)}function KH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function EP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(EP=function(){return!!t})()}var wc=function(t){UH(e,t);function e(n){HH(this,e);var o;return o=CH(this,e,[n]),mc(o,"props",void 0),o.props=new gc(n==null?void 0:n.props),o}return qH(e,null,[{key:"controlName",get:function(){return"\u5728\u7EBF\u6587\u6863"}},{key:"controlIcon",get:function(){return"iconwps"}},{key:"controlType",get:function(){return"wps"}}]),e}(x);mc(wc,"controlEventKeys",["on_change","on_wps_open"]),mc(wc,"controlFieldType",g.FILE),mc(wc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_SHOW_CAPTION_TIP,f.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}]);function GH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function XH(t,e,n){return e=$c(e),YH(t,RP()?Reflect.construct(e,n||[],$c(t).constructor):e.apply(t,n))}function QH(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function SP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function JH(t,e,n){return e&&SP(t.prototype,e),n&&SP(t,n),t}function TP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $c(t){return $c=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$c(t)}function ZH(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Jp(t,e)}function YH(t,e){return e&&(eq(e)==="object"||typeof e=="function")?e:GH(t)}function Jp(t,e){return Jp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jp(t,e)}function eq(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function RP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(RP=function(){return!!t})()}var tq=function(t){ZH(e,t);function e(n){QH(this,e);var o;return o=XH(this,e,[n]),TP(o,"props",void 0),o.props=new gc(n==null?void 0:n.props),o}return JH(e,null,[{key:"controlType",get:function(){return"wps"}}]),e}(L);TP(tq,"controlFieldType",g.FILE);function nq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Zp(t,e,n){return e=Pc(e),oq(t,IP()?Reflect.construct(e,n||[],Pc(t).constructor):e.apply(t,n))}function Yp(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Q(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Pc(t){return Pc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pc(t)}function ed(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&td(t,e)}function oq(t,e){return e&&(rq(e)==="object"||typeof e=="function")?e:nq(t)}function td(t,e){return td=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},td(t,e)}function rq(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function IP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(IP=function(){return!!t})()}var iq=function(t){ed(e,t);function e(n){Yp(this,e);var o;return o=Zp(this,e,[n]),Q(o,"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),Q(o,"businessScope",{type:"any"}),Do.call(o,n,rn.controlCustomAttributes),n.businessType===Wt.ASSIGN&&(o.businessScope={type:"array",required:!0,message:p.getMessage("pleaseAssignBusiness")}),o}return e}(J),uq=function(t){ed(e,t);function e(n){Yp(this,e);var o;return o=Zp(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(z),Ec=function(t){ed(e,t);function e(n){Yp(this,e);var o;o=Zp(this,e,[n]),Q(o,"showType",void 0),Q(o,"range",void 0),Q(o,"defaultValueType",void 0),Q(o,"multiple",void 0),Q(o,"rangeOptions",void 0),Q(o,"defaultValue",void 0),Q(o,"displayLevel",void 0),Q(o,"showSubDept",void 0),Q(o,"multistageFilling",void 0),Q(o,"datasourceBind",void 0),Q(o,"datasourceType",void 0),Q(o,"businessType",void 0),Q(o,"businessScope",void 0),Q(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1;var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var c;o.defaultValueType=(c=n==null?void 0:n.defaultValueType)!==null&&c!==void 0?c:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var s;o.showSubDept=(s=n==null?void 0:n.showSubDept)!==null&&s!==void 0?s:!0;var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:rn.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u8BF7\u9009\u62E9\u90E8\u95E8";var m;o.datasourceBind=new Ro((m=n==null?void 0:n.datasourceBind)!==null&&m!==void 0?m:{attributes:rn.controlCustomAttributes});var O;o.datasourceType=(O=n==null?void 0:n.datasourceType)!==null&&O!==void 0?O:Vb.INTERNAL;var w;o.businessScope=(w=n==null?void 0:n.businessScope)!==null&&w!==void 0?w:[];var h;o.businessType=(h=n==null?void 0:n.businessType)!==null&&h!==void 0?h:Wt.ALL;var $;return o.openMultistageFilling=($=n==null?void 0:n.openMultistageFilling)!==null&&$!==void 0?$:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(T){var P;(P=o.multistageFilling)===null||P===void 0||P.push(new se(T))})),o}return e}(D);Q(Ec,"Rules",iq),Q(Ec,"RuntimeRules",uq);function cq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lq(t,e,n){return e=on(e),yq(t,AP()?Reflect.construct(e,n||[],on(t).constructor):e.apply(t,n))}function aq(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function BP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function fq(t,e,n){return e&&BP(t.prototype,e),n&&BP(t,n),t}function Sc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Tc(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Tc=Reflect.get:Tc=function(r,i,u){var c=sq(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Tc(t,e,n||t)}function on(t){return on=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},on(t)}function _q(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&nd(t,e)}function yq(t,e){return e&&(pq(e)==="object"||typeof e=="function")?e:cq(t)}function nd(t,e){return nd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},nd(t,e)}function sq(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=on(t),t!==null););return t}function pq(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function AP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(AP=function(){return!!t})()}var rn=function(t){_q(e,t);function e(n){aq(this,e);var o;return o=lq(this,e,[n]),Sc(o,"props",void 0),o.props=new Ec(n==null?void 0:n.props),o}return fq(e,[{key:"toDataBindModel",value:function(o){var r=Tc(on(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.displayLevel,c=i.showSubDept;r.props.displayLevel=u,r.props.showSubDept=c}return r}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),e}(x);Sc(rn,"controlName","\u90E8\u95E8"),Sc(rn,"controlFieldType",g.DEPARTMENTS),Sc(rn,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.MULTIPLE,f.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function dq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vq(t,e,n){return e=Rc(e),mq(t,xP()?Reflect.construct(e,n||[],Rc(t).constructor):e.apply(t,n))}function hq(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function kP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function bq(t,e,n){return e&&kP(t.prototype,e),n&&kP(t,n),t}function DP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Rc(t){return Rc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rc(t)}function gq(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&od(t,e)}function mq(t,e){return e&&(Oq(e)==="object"||typeof e=="function")?e:dq(t)}function od(t,e){return od=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},od(t,e)}function Oq(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xP=function(){return!!t})()}var wq=function(t){gq(e,t);function e(n){hq(this,e);var o;return o=vq(this,e,[n]),DP(o,"props",void 0),o.props=new Ec(n==null?void 0:n.props),o}return bq(e,null,[{key:"controlType",get:function(){return"department2"}}]),e}(L);DP(wq,"controlFieldType",g.DEPARTMENTS);function $q(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rd(t,e,n){return e=Ic(e),Pq(t,LP()?Reflect.construct(e,n||[],Ic(t).constructor):e.apply(t,n))}function id(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function C(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ic(t){return Ic=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ic(t)}function ud(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&cd(t,e)}function Pq(t,e){return e&&(Eq(e)==="object"||typeof e=="function")?e:$q(t)}function cd(t,e){return cd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cd(t,e)}function Eq(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function LP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(LP=function(){return!!t})()}var Sq=function(t){ud(e,t);function e(n){id(this,e);var o;return o=rd(this,e,[n]),C(o,"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),C(o,"businessScope",{type:"any"}),Do.call(o,n,cn.controlCustomAttributes),n.businessType===Wt.ASSIGN&&(o.businessScope={type:"array",required:!0,message:p.getMessage("pleaseAssignBusiness")}),o}return e}(J),Tq=function(t){ud(e,t);function e(n){id(this,e);var o;return o=rd(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(z),Bc=function(t){ud(e,t);function e(n){id(this,e);var o;o=rd(this,e,[n]),C(o,"showType",void 0),C(o,"range",void 0),C(o,"defaultValueType",void 0),C(o,"multiple",void 0),C(o,"rangeOptions",void 0),C(o,"defaultValue",void 0),C(o,"displayLevel",void 0),C(o,"showSubDept",void 0),C(o,"multistageFilling",void 0),C(o,"datasourceBind",void 0),C(o,"listPageBind",void 0),C(o,"datasourceType",void 0),C(o,"businessType",void 0),C(o,"businessScope",void 0),C(o,"organizingFunction",void 0),C(o,"organizationView",void 0),C(o,"openMultistageFilling",void 0),C(o,"showSelectedDetail",void 0),C(o,"selectedContentConfig",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1;var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all",o.listPageBind=new ef(n==null?void 0:n.listPageBind);var c;o.defaultValueType=(c=n==null?void 0:n.defaultValueType)!==null&&c!==void 0?c:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var s;o.showSubDept=(s=n==null?void 0:n.showSubDept)!==null&&s!==void 0?s:!0;var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:cn.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u8BF7\u9009\u62E9\u7EC4\u7EC7";var m;o.datasourceBind=new tk((m=n==null?void 0:n.datasourceBind)!==null&&m!==void 0?m:{attributes:cn.controlCustomAttributes});var O;o.datasourceType=(O=n==null?void 0:n.datasourceType)!==null&&O!==void 0?O:Vb.INTERNAL;var w;o.businessScope=(w=n==null?void 0:n.businessScope)!==null&&w!==void 0?w:[];var h;o.businessType=(h=n==null?void 0:n.businessType)!==null&&h!==void 0?h:Wt.ALL;var $;o.organizingFunction=($=n==null?void 0:n.organizingFunction)!==null&&$!==void 0?$:void 0;var T;o.organizationView=(T=n==null?void 0:n.organizationView)!==null&&T!==void 0?T:void 0;var P;o.showSelectedDetail=(P=n==null?void 0:n.showSelectedDetail)!==null&&P!==void 0?P:!1,o.selectedContentConfig=new rf(n==null?void 0:n.selectedContentConfig);var S;return o.openMultistageFilling=(S=n==null?void 0:n.openMultistageFilling)!==null&&S!==void 0?S:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(F){var A;(A=o.multistageFilling)===null||A===void 0||A.push(new se(F))})),o}return e}(D);C(Bc,"Rules",Sq),C(Bc,"RuntimeRules",Tq);function Rq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Iq(t,e,n){return e=un(e),Dq(t,jP()?Reflect.construct(e,n||[],un(t).constructor):e.apply(t,n))}function Bq(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function FP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Aq(t,e,n){return e&&FP(t.prototype,e),n&&FP(t,n),t}function Ac(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function kc(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?kc=Reflect.get:kc=function(r,i,u){var c=xq(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},kc(t,e,n||t)}function un(t){return un=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},un(t)}function kq(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ld(t,e)}function Dq(t,e){return e&&(Lq(e)==="object"||typeof e=="function")?e:Rq(t)}function ld(t,e){return ld=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ld(t,e)}function xq(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=un(t),t!==null););return t}function Lq(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function jP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(jP=function(){return!!t})()}var cn=function(t){kq(e,t);function e(n){Bq(this,e);var o;return o=Iq(this,e,[n]),Ac(o,"props",void 0),o.props=new Bc(n==null?void 0:n.props),o}return Aq(e,[{key:"toDataBindModel",value:function(o){var r=kc(un(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.displayLevel,c=i.showSubDept;r.props.displayLevel=u,r.props.showSubDept=c}return r}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"organization-selection"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),e}(x);Ac(cn,"controlName","\u4E1A\u52A1\u7EC4\u7EC7"),Ac(cn,"controlFieldType",g.DEPARTMENTS),Ac(cn,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.MULTIPLE,f.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function Fq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jq(t,e,n){return e=Dc(e),zq(t,VP()?Reflect.construct(e,n||[],Dc(t).constructor):e.apply(t,n))}function Mq(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function MP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Nq(t,e,n){return e&&MP(t.prototype,e),n&&MP(t,n),t}function NP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Dc(t){return Dc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dc(t)}function Vq(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ad(t,e)}function zq(t,e){return e&&(Cq(e)==="object"||typeof e=="function")?e:Fq(t)}function ad(t,e){return ad=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ad(t,e)}function Cq(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function VP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(VP=function(){return!!t})()}var Hq=function(t){Vq(e,t);function e(n){Mq(this,e);var o;return o=jq(this,e,[n]),NP(o,"props",void 0),o.props=new Bc(n==null?void 0:n.props),o}return Nq(e,null,[{key:"controlType",get:function(){return"organization-selection"}}]),e}(L);NP(Hq,"controlFieldType",g.DEPARTMENTS);function qq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fd(t,e,n){return e=xc(e),Uq(t,zP()?Reflect.construct(e,n||[],xc(t).constructor):e.apply(t,n))}function _d(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function je(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function xc(t){return xc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xc(t)}function yd(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&sd(t,e)}function Uq(t,e){return e&&(Wq(e)==="object"||typeof e=="function")?e:qq(t)}function sd(t,e){return sd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sd(t,e)}function Wq(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function zP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zP=function(){return!!t})()}var Kq=function(t){yd(e,t);function e(n){_d(this,e);var o;return o=fd(this,e,[n]),je(o,"maxLength",{type:"number",min:0,message:p.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),je(o,"minLength",{type:"number",max:200,message:p.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),je(o,"defaultValue",[{type:"string",max:200,min:0,message:p.getMessage("stringRangeError")},{pattern:"",message:""}]),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue[0].max=n.maxLength,o.defaultValue[0].min=n.minLength,o.defaultValue[0].message=p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o.defaultValue[1].pattern=Ut(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return e}(J),Gq=function(t){yd(e,t);function e(n){_d(this,e);var o;return o=fd(this,e,[n]),o.push({type:"string",message:p.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:Ut(n.regularRules.expression),message:n.regularRules.errMessage}),o}return e}(z),Lc=function(t){yd(e,t);function e(n){_d(this,e);var o;o=fd(this,e,[n]),je(o,"maxLength",void 0),je(o,"minLength",void 0),je(o,"regularRules",void 0),je(o,"defaultValue",void 0),je(o,"encrypted",void 0),je(o,"encryptedMode",void 0);var r;o.maxLength=(r=n==null?void 0:n.maxLength)!==null&&r!==void 0?r:200;var i;o.minLength=(i=n==null?void 0:n.minLength)!==null&&i!==void 0?i:0,o.regularRules=new Io(n==null?void 0:n.regularRules);var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:"";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Mc.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var l;o.encrypted=(l=n==null?void 0:n.encrypted)!==null&&l!==void 0?l:!1;var _;return o.encryptedMode=(_=n==null?void 0:n.encryptedMode)!==null&&_!==void 0?_:"",o}return e}(D);je(Lc,"Rules",Kq),je(Lc,"RuntimeRules",Gq);function Xq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Qq(t,e,n){return e=jc(e),eU(t,HP()?Reflect.construct(e,n||[],jc(t).constructor):e.apply(t,n))}function Jq(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function CP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Zq(t,e,n){return e&&CP(t.prototype,e),n&&CP(t,n),t}function Fc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function jc(t){return jc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jc(t)}function Yq(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&pd(t,e)}function eU(t,e){return e&&(tU(e)==="object"||typeof e=="function")?e:Xq(t)}function pd(t,e){return pd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},pd(t,e)}function tU(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function HP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(HP=function(){return!!t})()}var Mc=function(t){Yq(e,t);function e(n){Jq(this,e);var o;return o=Qq(this,e,[n]),Fc(o,"props",void 0),o.props=new Lc(n==null?void 0:n.props),o}return Zq(e,null,[{key:"controlName",get:function(){return"\u654F\u611F\u4FE1\u606F"}},{key:"controlIcon",get:function(){return"iconSingleline_new1"}},{key:"controlType",get:function(){return"sensitiven-information"}}]),e}(x);Fc(Mc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Fc(Mc,"controlFieldType",g.VARCHAR),Fc(Mc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP,f.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function nU(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function oU(t,e,n){return e=Nc(e),cU(t,WP()?Reflect.construct(e,n||[],Nc(t).constructor):e.apply(t,n))}function rU(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function iU(t,e,n){return e&&qP(t.prototype,e),n&&qP(t,n),t}function UP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Nc(t){return Nc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nc(t)}function uU(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&dd(t,e)}function cU(t,e){return e&&(lU(e)==="object"||typeof e=="function")?e:nU(t)}function dd(t,e){return dd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dd(t,e)}function lU(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function WP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(WP=function(){return!!t})()}var aU=function(t){uU(e,t);function e(n){rU(this,e);var o;return o=oU(this,e,[n]),UP(o,"props",void 0),o.props=new Lc(n==null?void 0:n.props),o}return iU(e,null,[{key:"controlType",get:function(){return"sensitiven-information"}}]),e}(L);UP(aU,"controlFieldType",g.VARCHAR);function fU(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _U(t,e,n){return e=Vc(e),vU(t,GP()?Reflect.construct(e,n||[],Vc(t).constructor):e.apply(t,n))}function yU(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function KP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function sU(t,e,n){return e&&KP(t.prototype,e),n&&KP(t,n),t}function pU(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Vc(t){return Vc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vc(t)}function dU(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&vd(t,e)}function vU(t,e){return e&&(hU(e)==="object"||typeof e=="function")?e:fU(t)}function vd(t,e){return vd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vd(t,e)}function hU(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function GP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(GP=function(){return!!t})()}var bU=function(t){dU(e,t);function e(n){return yU(this,e),_U(this,e,[n])}return sU(e,null,[{key:"controlName",get:function(){return"\u753B\u5E03"}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),e}(Y);pU(bU,"excludes",[y.GRID]);function gU(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mU(t,e,n){return e=zc(e),$U(t,QP()?Reflect.construct(e,n||[],zc(t).constructor):e.apply(t,n))}function OU(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function XP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zc(t){return zc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zc(t)}function wU(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&hd(t,e)}function $U(t,e){return e&&(PU(e)==="object"||typeof e=="function")?e:gU(t)}function hd(t,e){return hd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hd(t,e)}function PU(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function QP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(QP=function(){return!!t})()}var EU=24,fo=function(t){wU(e,t);function e(n){OU(this,e);var o;o=mU(this,e,[n]),XP(o,"span",void 0),XP(o,"offset",void 0);var r;o.span=(r=n==null?void 0:n.span)!==null&&r!==void 0?r:EU;var i;return o.offset=(i=n==null?void 0:n.offset)!==null&&i!==void 0?i:0,o}return e}(Z);function SU(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function TU(t,e,n){return e=Cc(e),AU(t,ZP()?Reflect.construct(e,n||[],Cc(t).constructor):e.apply(t,n))}function RU(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function JP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function IU(t,e,n){return e&&JP(t.prototype,e),n&&JP(t,n),t}function bd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Cc(t){return Cc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cc(t)}function BU(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&gd(t,e)}function AU(t,e){return e&&(kU(e)==="object"||typeof e=="function")?e:SU(t)}function gd(t,e){return gd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gd(t,e)}function kU(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ZP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ZP=function(){return!!t})()}var _o=function(t){BU(e,t);function e(n){RU(this,e);var o;return o=TU(this,e,[n]),bd(o,"props",void 0),o.props=new fo(n==null?void 0:n.props),o}return IU(e,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),e}(Y);bd(_o,"excludes",[y.COL,y.CARD_GROUP,y.SUBTABLE,y.SUBTABLE_COLUMN,y.GRID_LAYOUT_CONTAINER,y.DIVIDER]),bd(_o,"childrenMaxLength",1);function DU(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xU(t,e,n){return e=Hc(e),NU(t,eE()?Reflect.construct(e,n||[],Hc(t).constructor):e.apply(t,n))}function LU(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function YP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function FU(t,e,n){return e&&YP(t.prototype,e),n&&YP(t,n),t}function jU(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Hc(t){return Hc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hc(t)}function MU(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&md(t,e)}function NU(t,e){return e&&(VU(e)==="object"||typeof e=="function")?e:DU(t)}function md(t,e){return md=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},md(t,e)}function VU(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function eE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(eE=function(){return!!t})()}var zU=function(t){MU(e,t);function e(n){LU(this,e);var o;return o=xU(this,e,[n]),jU(o,"props",void 0),o.props=new fo(n==null?void 0:n.props),o}return FU(e,null,[{key:"controlType",get:function(){return"col"}}]),e}(Ot),tE={Designer:_o,Runtime:zU,Property:fo};function CU(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function HU(t,e,n){return e=qc(e),WU(t,oE()?Reflect.construct(e,n||[],qc(t).constructor):e.apply(t,n))}function qU(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function qc(t){return qc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qc(t)}function UU(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Od(t,e)}function WU(t,e){return e&&(KU(e)==="object"||typeof e=="function")?e:CU(t)}function Od(t,e){return Od=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Od(t,e)}function KU(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function oE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(oE=function(){return!!t})()}var wd=function(t){UU(e,t);function e(n){qU(this,e);var o;o=HU(this,e,[n]),nE(o,"layoutMode",void 0),nE(o,"gutter",void 0);var r;o.layoutMode=(r=n==null?void 0:n.layoutMode)!==null&&r!==void 0?r:"select";var i;return o.gutter=(i=n==null?void 0:n.gutter)!==null&&i!==void 0?i:0,o}return e}(Z);function GU(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function XU(t,e,n){return e=Uc(e),YU(t,iE()?Reflect.construct(e,n||[],Uc(t).constructor):e.apply(t,n))}function QU(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function JU(t,e,n){return e&&rE(t.prototype,e),n&&rE(t,n),t}function $d(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Uc(t){return Uc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Uc(t)}function ZU(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Pd(t,e)}function YU(t,e){return e&&(eW(e)==="object"||typeof e=="function")?e:GU(t)}function Pd(t,e){return Pd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Pd(t,e)}function eW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function iE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(iE=function(){return!!t})()}var Ed=function(t){ZU(e,t);function e(n){QU(this,e);var o;return o=XU(this,e,[n]),$d(o,"props",void 0),o.props=new wd(n==null?void 0:n.props),o}return JU(e,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),e}(Y);$d(Ed,"excludes",[y.ROW]),$d(Ed,"setting",[{key:"col-setting",visible:!0}]);function tW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nW(t,e,n){return e=Wc(e),cW(t,cE()?Reflect.construct(e,n||[],Wc(t).constructor):e.apply(t,n))}function oW(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function uE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function rW(t,e,n){return e&&uE(t.prototype,e),n&&uE(t,n),t}function iW(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wc(t){return Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wc(t)}function uW(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Sd(t,e)}function cW(t,e){return e&&(lW(e)==="object"||typeof e=="function")?e:tW(t)}function Sd(t,e){return Sd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sd(t,e)}function lW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function cE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(cE=function(){return!!t})()}var aW=function(t){uW(e,t);function e(n){oW(this,e);var o;return o=nW(this,e,[n]),iW(o,"props",void 0),o.props=new wd(n==null?void 0:n.props),o}return rW(e,null,[{key:"controlType",get:function(){return"row"}}]),e}(Ot);function fW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _W(t,e,n){return e=Kc(e),dW(t,aE()?Reflect.construct(e,n||[],Kc(t).constructor):e.apply(t,n))}function yW(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function lE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function sW(t,e,n){return e&&lE(t.prototype,e),n&&lE(t,n),t}function Td(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Kc(t){return Kc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kc(t)}function pW(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Rd(t,e)}function dW(t,e){return e&&(vW(e)==="object"||typeof e=="function")?e:fW(t)}function Rd(t,e){return Rd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rd(t,e)}function vW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function aE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(aE=function(){return!!t})()}var hW=4,Gc=function(t){pW(e,t);function e(n){return yW(this,e),_W(this,e,[n])}return sW(e,null,[{key:"controlName",get:function(){return"\u6805\u683C\u7B49\u5206\u884C"}},{key:"controlType",get:function(){return"grid-row"}},{key:"controlIcon",get:function(){return"grid-row"}}]),e}(Ed);Td(Gc,"excludes",[y.GRID_ROW]),Td(Gc,"setting",[]),Td(Gc,"childrenMaxLength",hW);function bW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function gW(t,e,n){return e=Xc(e),$W(t,_E()?Reflect.construct(e,n||[],Xc(t).constructor):e.apply(t,n))}function mW(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function OW(t,e,n){return e&&fE(t.prototype,e),n&&fE(t,n),t}function Xc(t){return Xc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xc(t)}function wW(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Id(t,e)}function $W(t,e){return e&&(PW(e)==="object"||typeof e=="function")?e:bW(t)}function Id(t,e){return Id=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Id(t,e)}function PW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _E(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_E=function(){return!!t})()}var EW=function(t){wW(e,t);function e(n){return mW(this,e),gW(this,e,[n])}return OW(e,null,[{key:"controlType",get:function(){return"grid-row"}}]),e}(aW);function SW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function TW(t,e,n){return e=Qc(e),BW(t,yE()?Reflect.construct(e,n||[],Qc(t).constructor):e.apply(t,n))}function RW(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qc(t){return Qc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qc(t)}function IW(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Bd(t,e)}function BW(t,e){return e&&(AW(e)==="object"||typeof e=="function")?e:SW(t)}function Bd(t,e){return Bd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bd(t,e)}function AW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function yE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(yE=function(){return!!t})()}var kW=function(t){IW(e,t);function e(n){return RW(this,e),TW(this,e,[n])}return e}(wd),DW={Designer:Gc,Runtime:EW,Property:kW};function xW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function sE(t,e,n){return e=Zc(e),LW(t,vE()?Reflect.construct(e,n||[],Zc(t).constructor):e.apply(t,n))}function pE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Zc(t){return Zc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zc(t)}function dE(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ad(t,e)}function LW(t,e){return e&&(FW(e)==="object"||typeof e=="function")?e:xW(t)}function Ad(t,e){return Ad=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ad(t,e)}function FW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function vE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(vE=function(){return!!t})()}var jW=function(t){dE(e,t);function e(){pE(this,e);var n;return n=sE(this,e,arguments),Jc(n,"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),n}return e}(Z.Rules),hE=function(t){dE(e,t);function e(n){pE(this,e);var o;o=sE(this,e,[n]),Jc(o,"caption",void 0),Jc(o,"collapse",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:"\u5206\u7EC4";var i;return o.collapse=(i=n==null?void 0:n.collapse)!==null&&i!==void 0?i:"none",o}return e}(Z);Jc(hE,"Rules",jW);function MW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function NW(t,e,n){return e=Yc(e),HW(t,gE()?Reflect.construct(e,n||[],Yc(t).constructor):e.apply(t,n))}function VW(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function zW(t,e,n){return e&&bE(t.prototype,e),n&&bE(t,n),t}function kd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yc(t){return Yc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yc(t)}function CW(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Dd(t,e)}function HW(t,e){return e&&(qW(e)==="object"||typeof e=="function")?e:MW(t)}function Dd(t,e){return Dd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dd(t,e)}function qW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function gE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(gE=function(){return!!t})()}var mE=function(t){CW(e,t);function e(n){VW(this,e);var o;return o=NW(this,e,[n]),kd(o,"props",void 0),o.props=new hE(n==null?void 0:n.props),o}return zW(e,null,[{key:"controlName",get:function(){return"\u5206\u7EC4"}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),e}(Y);kd(mE,"setting",[{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}]),kd(mE,"excludes",[y.CARD_GROUP]);function UW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function OE(t,e,n){return e=el(e),WW(t,PE()?Reflect.construct(e,n||[],el(t).constructor):e.apply(t,n))}function wE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function el(t){return el=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},el(t)}function $E(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xd(t,e)}function WW(t,e){return e&&(KW(e)==="object"||typeof e=="function")?e:UW(t)}function xd(t,e){return xd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xd(t,e)}function KW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function PE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(PE=function(){return!!t})()}var GW=function(t){$E(e,t);function e(n){wE(this,e);var o;return o=OE(this,e,[n]),qe(o,"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),qe(o,"width",{type:"number",required:!1,message:p.getMessage("pleaseEnterColumnWidth")}),qe(o,"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return e}(W),tl=function(t){$E(e,t);function e(n){wE(this,e);var o;o=OE(this,e,[n]),qe(o,"metaAutoWidth",void 0),qe(o,"caption",void 0),qe(o,"fixed",void 0),qe(o,"isShowCaptionTip",void 0),qe(o,"captionTip",void 0),qe(o,"isHideCaption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:"";var i;o.fixed=(i=n==null?void 0:n.fixed)!==null&&i!==void 0?i:!1;var u;o.isShowCaptionTip=(u=n==null?void 0:n.isShowCaptionTip)!==null&&u!==void 0?u:!1;var c;o.captionTip=(c=n==null?void 0:n.captionTip)!==null&&c!==void 0?c:"";var a;return o.isHideCaption=(a=n==null?void 0:n.isHideCaption)!==null&&a!==void 0?a:!1,o.metaAutoWidth=new B0(n==null?void 0:n.metaAutoWidth),o}return e}(Z);qe(tl,"Rules",GW);function XW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function QW(t,e,n){return e=nl(e),YW(t,EE()?Reflect.construct(e,n||[],nl(t).constructor):e.apply(t,n))}function JW(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function nl(t){return nl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nl(t)}function ZW(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ld(t,e)}function YW(t,e){return e&&(eK(e)==="object"||typeof e=="function")?e:XW(t)}function Ld(t,e){return Ld=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ld(t,e)}function eK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function EE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(EE=function(){return!!t})()}var Me=function(t){ZW(e,t);function e(n){JW(this,e);var o;return o=QW(this,e,[n]),Pt(o,"props",void 0),o.props=new tl(n==null?void 0:n.props),o}return e}(Y);Pt(Me,"controlName","\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),Pt(Me,"controlType","subtable-column"),Pt(Me,"controlIcon","subtable-column"),Pt(Me,"childrenMaxLength",1),Pt(Me,"excludes",[y.SUBTABLE,y.SUBTABLE_COLUMN,y.ROW,y.COL,y.CARD_GROUP,y.DIVIDER,y.TEXT]),Pt(Me,"setting",[{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"common-setting",showItems:[f.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}]);function tK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nK(t,e,n){return e=ol(e),iK(t,TE()?Reflect.construct(e,n||[],ol(t).constructor):e.apply(t,n))}function oK(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function SE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ol(t){return ol=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ol(t)}function rK(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Fd(t,e)}function iK(t,e){return e&&(uK(e)==="object"||typeof e=="function")?e:tK(t)}function Fd(t,e){return Fd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fd(t,e)}function uK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function TE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(TE=function(){return!!t})()}var RE=function(t){rK(e,t);function e(n){oK(this,e);var o;return o=nK(this,e,[n]),SE(o,"props",void 0),o.props=new tl(n==null?void 0:n.props),o}return e}(Ot);SE(RE,"controlType","subtable-column");var cK={Designer:Me,Runtime:RE,Property:tl};function lK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function aK(t,e,n){return e=rl(e),yK(t,IE()?Reflect.construct(e,n||[],rl(t).constructor):e.apply(t,n))}function fK(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rl(t){return rl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rl(t)}function _K(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&jd(t,e)}function yK(t,e){return e&&(sK(e)==="object"||typeof e=="function")?e:lK(t)}function jd(t,e){return jd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jd(t,e)}function sK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function IE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(IE=function(){return!!t})()}var pK=function(t){_K(e,t);function e(n){return fK(this,e),aK(this,e,[n])}return e}(Z);function dK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vK(t,e,n){return e=il(e),gK(t,BE()?Reflect.construct(e,n||[],il(t).constructor):e.apply(t,n))}function hK(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Et(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function il(t){return il=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},il(t)}function bK(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Md(t,e)}function gK(t,e){return e&&(mK(e)==="object"||typeof e=="function")?e:dK(t)}function Md(t,e){return Md=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Md(t,e)}function mK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function BE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(BE=function(){return!!t})()}var ln=function(t){bK(e,t);function e(n){hK(this,e);var o;return o=vK(this,e,[n]),Et(o,"props",void 0),o.props=new pK(n==null?void 0:n.props),o}return e}(Y);Et(ln,"controlName","\u660E\u7EC6\u5B50\u8868\u884C"),Et(ln,"controlType","subtable-row"),Et(ln,"controlIcon","subtable-row"),Et(ln,"childrenMaxLength",1),Et(ln,"excludes",[y.SUBTABLE,y.SUBTABLE_COLUMN,y.SUBTABLE_ROW,y.ROW,y.COL,y.CARD_GROUP,y.DIVIDER,y.TEXT]),Et(ln,"setting",[{key:"caption",showItems:[f.CAPTION],visible:!0}]);function OK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wK(t,e,n){return e=ul(e),EK(t,AE()?Reflect.construct(e,n||[],ul(t).constructor):e.apply(t,n))}function $K(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Te(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ul(t){return ul=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ul(t)}function PK(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Nd(t,e)}function EK(t,e){return e&&(SK(e)==="object"||typeof e=="function")?e:OK(t)}function Nd(t,e){return Nd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Nd(t,e)}function SK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function AE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(AE=function(){return!!t})()}var kE=function(t){PK(e,t);function e(n){$K(this,e);var o;o=wK(this,e,[n]),Te(o,"widthType",void 0),Te(o,"width",void 0),Te(o,"caption",void 0),Te(o,"fieldCode",void 0),Te(o,"fieldType",void 0),Te(o,"fieldName",void 0),Te(o,"datasourceBind",void 0),Te(o,"fixed",void 0),Te(o,"textCleanFormart",void 0),Te(o,"decimalKeepPrecision",void 0),Te(o,"timestampDateType",void 0),Te(o,"departmentDisplayLevel",void 0);var r;o.width=(r=n==null?void 0:n.width)!==null&&r!==void 0?r:200,o.widthType=(n==null?void 0:n.widthType)||"auto";var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:!1;var c;o.fieldCode=(c=n==null?void 0:n.fieldCode)!==null&&c!==void 0?c:"";var a;o.fieldType=(a=n==null?void 0:n.fieldType)!==null&&a!==void 0?a:g.VARCHAR;var l;o.fieldName=(l=n==null?void 0:n.fieldName)!==null&&l!==void 0?l:"",o.datasourceBind=new G(n==null?void 0:n.datasourceBind);var _;o.textCleanFormart=(_=n==null?void 0:n.textCleanFormart)!==null&&_!==void 0?_:!1;var s;o.decimalKeepPrecision=(s=n==null?void 0:n.decimalKeepPrecision)!==null&&s!==void 0?s:0;var d;o.timestampDateType=(d=n==null?void 0:n.timestampDateType)!==null&&d!==void 0?d:xt.DATE;var b;return o.departmentDisplayLevel=(b=n==null?void 0:n.departmentDisplayLevel)!==null&&b!==void 0?b:1,o}return e}(Z);function TK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function RK(t,e,n){return e=cl(e),AK(t,DE()?Reflect.construct(e,n||[],cl(t).constructor):e.apply(t,n))}function IK(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function St(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function cl(t){return cl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cl(t)}function BK(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vd(t,e)}function AK(t,e){return e&&(kK(e)==="object"||typeof e=="function")?e:TK(t)}function Vd(t,e){return Vd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vd(t,e)}function kK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function DE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(DE=function(){return!!t})()}var an=function(t){BK(e,t);function e(n){IK(this,e);var o;return o=RK(this,e,[n]),St(o,"props",void 0),o.props=new kE(n==null?void 0:n.props),o}return e}(Y);St(an,"controlName","\u5217\u8868\u5355\u5143\u683C"),St(an,"controlType","gridtable-column"),St(an,"controlIcon","gridtable-column"),St(an,"childrenMaxLength",1),St(an,"excludes",[y.GRID_TABLE,y.GRID_TABLE_COLUMN,y.ROW,y.COL,y.CARD_GROUP,y.DIVIDER,y.TEXT]),St(an,"setting",[{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}]);function DK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xK(t,e,n){return e=ll(e),jK(t,LE()?Reflect.construct(e,n||[],ll(t).constructor):e.apply(t,n))}function LK(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ll(t){return ll=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ll(t)}function FK(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&zd(t,e)}function jK(t,e){return e&&(MK(e)==="object"||typeof e=="function")?e:DK(t)}function zd(t,e){return zd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zd(t,e)}function MK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function LE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(LE=function(){return!!t})()}var NK=function(t){FK(e,t);function e(n){LK(this,e);var o;return o=xK(this,e,[n]),xE(o,"props",void 0),o.props=new kE(n==null?void 0:n.props),o}return e}(Ot);xE(NK,"controlType","gridtable-column");function VK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zK(t,e,n){return e=al(e),qK(t,jE()?Reflect.construct(e,n||[],al(t).constructor):e.apply(t,n))}function CK(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function FE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function al(t){return al=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},al(t)}function HK(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Cd(t,e)}function qK(t,e){return e&&(UK(e)==="object"||typeof e=="function")?e:VK(t)}function Cd(t,e){return Cd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cd(t,e)}function UK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function jE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(jE=function(){return!!t})()}var WK=function(t){HK(e,t);function e(n){CK(this,e);var o;o=zK(this,e,[n]),FE(o,"childMinWidth",void 0),FE(o,"colGap",void 0);var r;o.childMinWidth=(r=n==null?void 0:n.childMinWidth)!==null&&r!==void 0?r:230;var i;return o.colGap=(i=n==null?void 0:n.colGap)!==null&&i!==void 0?i:24,o}return e}(Z);function KK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function GK(t,e,n){return e=fl(e),ZK(t,NE()?Reflect.construct(e,n||[],fl(t).constructor):e.apply(t,n))}function XK(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ME(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function QK(t,e,n){return e&&ME(t.prototype,e),n&&ME(t,n),t}function Hd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fl(t){return fl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fl(t)}function JK(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&qd(t,e)}function ZK(t,e){return e&&(YK(e)==="object"||typeof e=="function")?e:KK(t)}function qd(t,e){return qd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qd(t,e)}function YK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function NE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(NE=function(){return!!t})()}var VE=function(t){JK(e,t);function e(n){XK(this,e);var o;return o=GK(this,e,[n]),Hd(o,"props",void 0),o.props=new WK(n==null?void 0:n.props),o}return QK(e,null,[{key:"controlName",get:function(){return"\u6362\u884C\u5BB9\u5668"}},{key:"controlType",get:function(){return"grid-layout-container"}},{key:"controlIcon",get:function(){return"icona-huanhangrongqi1"}}]),e}(Y);Hd(VE,"excludes",[y.GRID_LAYOUT_CONTAINER,y.CARD_GROUP,y.TAB]),Hd(VE,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}]);function eG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tG(t,e,n){return e=_l(e),iG(t,zE()?Reflect.construct(e,n||[],_l(t).constructor):e.apply(t,n))}function nG(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function oG(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _l(t){return _l=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_l(t)}function rG(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ud(t,e)}function iG(t,e){return e&&(uG(e)==="object"||typeof e=="function")?e:eG(t)}function Ud(t,e){return Ud=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ud(t,e)}function uG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function zE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zE=function(){return!!t})()}var cG=function(t){rG(e,t);function e(n){nG(this,e);var o;o=tG(this,e,[n]),oG(o,"mobileShowType",void 0);var r;return o.mobileShowType=(r=n==null?void 0:n.mobileShowType)!==null&&r!==void 0?r:"vertical",o}return e}(Z);function lG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function CE(t,e,n){return e=yl(e),aG(t,UE()?Reflect.construct(e,n||[],yl(t).constructor):e.apply(t,n))}function HE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yl(t){return yl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yl(t)}function qE(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Kd(t,e)}function aG(t,e){return e&&(fG(e)==="object"||typeof e=="function")?e:lG(t)}function Kd(t,e){return Kd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kd(t,e)}function fG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function UE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(UE=function(){return!!t})()}var _G=function(t){qE(e,t);function e(n){HE(this,e);var o;return o=CE(this,e,[n]),Wd(o,"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),o}return e}(W),WE=function(t){qE(e,t);function e(n){HE(this,e);var o;o=CE(this,e,[n]),Wd(o,"caption",void 0);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:hl.controlName,o}return e}(Z);Wd(WE,"Rules",_G);function yG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function sG(t,e,n){return e=sl(e),hG(t,GE()?Reflect.construct(e,n||[],sl(t).constructor):e.apply(t,n))}function pG(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function KE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function dG(t,e,n){return e&&KE(t.prototype,e),n&&KE(t,n),t}function Gd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function sl(t){return sl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sl(t)}function vG(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xd(t,e)}function hG(t,e){return e&&(bG(e)==="object"||typeof e=="function")?e:yG(t)}function Xd(t,e){return Xd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xd(t,e)}function bG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function GE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(GE=function(){return!!t})()}var pl=function(t){vG(e,t);function e(n){pG(this,e);var o;return o=sG(this,e,[n]),Gd(o,"props",void 0),o.props=new WE(n==null?void 0:n.props),o}return dG(e,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u5355\u5143"}},{key:"controlType",get:function(){return"tab-pane"}},{key:"controlIcon",get:function(){return"tab-pane"}}]),e}(Y);Gd(pl,"excludes",[y.TAB]),Gd(pl,"setting",[{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE]},{key:"super-setting",visible:!0}]);function gG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mG(t,e,n){return e=vl(e),PG(t,QE()?Reflect.construct(e,n||[],vl(t).constructor):e.apply(t,n))}function OG(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function XE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function wG(t,e,n){return e&&XE(t.prototype,e),n&&XE(t,n),t}function dl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function vl(t){return vl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vl(t)}function $G(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Qd(t,e)}function PG(t,e){return e&&(EG(e)==="object"||typeof e=="function")?e:gG(t)}function Qd(t,e){return Qd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qd(t,e)}function EG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function QE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(QE=function(){return!!t})()}var hl=function(t){$G(e,t);function e(n){OG(this,e);var o;o=mG(this,e,[n]),dl(o,"props",void 0),o.props=new cG(n==null?void 0:n.props);var r;return o.children=(r=n==null?void 0:n.children)!==null&&r!==void 0?r:[new pl,new pl],o}return wG(e,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u9875"}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),e}(Y);dl(hl,"excludes",[y.TAB]),dl(hl,"controlEventKeys",["on_change_tab"]),dl(hl,"setting",[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}]);function SG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function TG(t,e,n){return e=bl(e),BG(t,JE()?Reflect.construct(e,n||[],bl(t).constructor):e.apply(t,n))}function RG(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bl(t){return bl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bl(t)}function IG(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Jd(t,e)}function BG(t,e){return e&&(AG(e)==="object"||typeof e=="function")?e:SG(t)}function Jd(t,e){return Jd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jd(t,e)}function AG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function JE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(JE=function(){return!!t})()}var kG=function(t){IG(e,t);function e(n){return RG(this,e),TG(this,e,[n])}return e}(Z);function DG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xG(t,e,n){return e=gl(e),MG(t,eS()?Reflect.construct(e,n||[],gl(t).constructor):e.apply(t,n))}function LG(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ZE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function FG(t,e,n){return e&&ZE(t.prototype,e),n&&ZE(t,n),t}function YE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gl(t){return gl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gl(t)}function jG(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Zd(t,e)}function MG(t,e){return e&&(NG(e)==="object"||typeof e=="function")?e:DG(t)}function Zd(t,e){return Zd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zd(t,e)}function NG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function eS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(eS=function(){return!!t})()}var VG=function(t){jG(e,t);function e(n){LG(this,e);var o;return o=xG(this,e,[n]),YE(o,"props",void 0),o.props=new kG({}),o.children=(n==null?void 0:n.children)||[new _o({props:new fo({span:12})}),new _o({props:new fo({span:12})})],o}return FG(e,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),e}(Y);YE(VG,"excludes",[y.GRID_ROW,y.ROW,y.GRID,y.SUBTABLE,y.TAB,y.TOOLBOX]);function zG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Yd(t,e,n){return e=ml(e),CG(t,tS()?Reflect.construct(e,n||[],ml(t).constructor):e.apply(t,n))}function ev(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function V(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ml(t){return ml=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ml(t)}function tv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&nv(t,e)}function CG(t,e){return e&&(HG(e)==="object"||typeof e=="function")?e:zG(t)}function nv(t,e){return nv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},nv(t,e)}function HG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tS=function(){return!!t})()}var qG=function(t){tv(e,t);function e(n){ev(this,e);var o;return o=Yd(this,e,[n]),o.push({type:"object",fields:{}}),o}return e}(mt),UG=function(t){tv(e,t);function e(n){ev(this,e);var o;if(o=Yd(this,e,[n]),V(o,"triggerFieldCode",{type:"any"}),V(o,"datasourceBind",{type:"any"}),V(o,"joinRelation",[{type:"any"}]),console.log("--ListViewControlPropertyRules--"),n.triggerType===2&&n.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")}),n.isShowJoinRelation&&(o.joinRelation=[{type:"object",message:p.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:p.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:p.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:p.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:p.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:p.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),gf.call(o,{optionConfig:"datasource",datasourceBind:n.datasourceBind,options:[]}),Array.isArray(o.datasourceBind)&&o.datasourceBind.length>1){var r=o.datasourceBind.find(function(i){return i.type==="object"&&i.fields});r&&(delete r.fields.valueFieldCode,delete r.fields.displayBoList)}return o}return e}(W),yo=function(t){tv(e,t);function e(n){ev(this,e);var o,r,i;o=Yd(this,e,[n]),V(o,"datasourceBind",void 0),V(o,"isLoading",void 0),V(o,"isShowSubList",void 0),V(o,"triggerType",void 0),V(o,"triggerFieldCode",void 0),V(o,"sublistPage",void 0),V(o,"isShowJoinRelation",void 0),V(o,"joinRelation",void 0),V(o,"showType",void 0),V(o,"showFullScreen",void 0),V(o,"isFixedHeader",void 0),V(o,"selectionType",void 0),V(o,"isShowSelection",void 0),V(o,"isAllLoaded",void 0),V(o,"countType",void 0),V(o,"countLimit",void 0),V(o,"rowStyleType",void 0),V(o,"rowStyleBgColor",void 0),V(o,"rowStyleRules",void 0),V(o,"rowStyleRulesScript",void 0),o.datasourceBind=new G(n==null?void 0:n.datasourceBind);var u;o.isLoading=(u=n==null?void 0:n.isLoading)!==null&&u!==void 0?u:!1;var c;o.isShowSubList=(c=n==null?void 0:n.isShowSubList)!==null&&c!==void 0?c:!1;var a;o.triggerType=(a=n==null?void 0:n.triggerType)!==null&&a!==void 0?a:1;var l;o.triggerFieldCode=(l=n==null?void 0:n.triggerFieldCode)!==null&&l!==void 0?l:"",o.sublistPage=new JA(n==null?void 0:n.sublistPage);var _;o.isShowJoinRelation=(_=n==null?void 0:n.isShowJoinRelation)!==null&&_!==void 0?_:!1,o.joinRelation=new YA(n==null?void 0:n.joinRelation);var s;o.showType=(s=n==null?void 0:n.showType)!==null&&s!==void 0?s:"stretch";var d;o.showFullScreen=(d=n==null?void 0:n.showFullScreen)!==null&&d!==void 0?d:!1;var b;o.selectionType=(b=n==null?void 0:n.selectionType)!==null&&b!==void 0?b:"multiple";var m;o.isFixedHeader=(m=n==null?void 0:n.isFixedHeader)!==null&&m!==void 0?m:!1;var O;o.isShowSelection=(O=n==null?void 0:n.isShowSelection)!==null&&O!==void 0?O:!1;var w;o.isAllLoaded=(w=n==null?void 0:n.isAllLoaded)!==null&&w!==void 0?w:!0,o.countType=n==null?void 0:n.countType;var h;o.countLimit=(h=n==null?void 0:n.countLimit)!==null&&h!==void 0?h:1e5;var $;o.rowStyleType=($=n==null?void 0:n.rowStyleType)!==null&&$!==void 0?$:"none";var T;o.rowStyleBgColor=(T=n==null?void 0:n.rowStyleBgColor)!==null&&T!==void 0?T:"theme";var P;o.rowStyleRules=(n==null?void 0:n.rowStyleRules)&&Array.isArray(n==null?void 0:n.rowStyleRules)?(P=n==null||(r=n.rowStyleRules)===null||r===void 0?void 0:r.map(function(F){return new dk(F)}))!==null&&P!==void 0?P:[]:[];var S;return o.rowStyleRulesScript=(n==null?void 0:n.rowStyleRulesScript)&&Array.isArray(n==null?void 0:n.rowStyleRulesScript)?(S=n==null||(i=n.rowStyleRulesScript)===null||i===void 0?void 0:i.map(function(F){return new vk(F)}))!==null&&S!==void 0?S:[]:[],o}return e}(Z);V(yo,"Rules",UG),V(yo,"RuntimeRules",qG);function WG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function KG(t,e,n){return e=wl(e),JG(t,oS()?Reflect.construct(e,n||[],wl(t).constructor):e.apply(t,n))}function GG(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function XG(t,e,n){return e&&nS(t.prototype,e),n&&nS(t,n),t}function Ol(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function wl(t){return wl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wl(t)}function QG(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ov(t,e)}function JG(t,e){return e&&(ZG(e)==="object"||typeof e=="function")?e:WG(t)}function ov(t,e){return ov=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ov(t,e)}function ZG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function oS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(oS=function(){return!!t})()}var $l=function(t){QG(e,t);function e(n){GG(this,e);var o;return o=KG(this,e,[n]),Ol(o,"props",void 0),o.props=new yo(n==null?void 0:n.props),o}return XG(e,null,[{key:"controlName",get:function(){return"\u5217\u8868\u5BB9\u5668"}},{key:"controlType",get:function(){return"list-view"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),e}(Y);Ol($l,"excludes",[y.ROW]),Ol($l,"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"]),Ol($l,"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 YG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function eX(t,e,n){return e=Pl(e),iX(t,iS()?Reflect.construct(e,n||[],Pl(t).constructor):e.apply(t,n))}function tX(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function nX(t,e,n){return e&&rS(t.prototype,e),n&&rS(t,n),t}function oX(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Pl(t){return Pl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pl(t)}function rX(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&rv(t,e)}function iX(t,e){return e&&(uX(e)==="object"||typeof e=="function")?e:YG(t)}function rv(t,e){return rv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rv(t,e)}function uX(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function iS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(iS=function(){return!!t})()}var cX=function(t){rX(e,t);function e(n){tX(this,e);var o;return o=eX(this,e,[n]),oX(o,"props",void 0),o.props=new yo(n==null?void 0:n.props),o}return nX(e,null,[{key:"controlType",get:function(){return"list-view"}}]),e}(Ot),lX={Designer:$l,Runtime:cX,Property:yo};function aX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function uS(t,e,n){return e=El(e),fX(t,aS()?Reflect.construct(e,n||[],El(t).constructor):e.apply(t,n))}function cS(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ht(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function El(t){return El=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},El(t)}function lS(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&iv(t,e)}function fX(t,e){return e&&(_X(e)==="object"||typeof e=="function")?e:aX(t)}function iv(t,e){return iv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},iv(t,e)}function _X(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function aS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(aS=function(){return!!t})()}var yX=function(t){lS(e,t);function e(n){cS(this,e);var o;return o=uS(this,e,[n]),o.push({type:"object",fields:{}}),o}return e}(mt),Sl=function(t){lS(e,t);function e(n){cS(this,e);var o;o=uS(this,e,[n]),ht(o,"save",void 0),ht(o,"cancel",void 0),ht(o,"saveAs",void 0),ht(o,"print",void 0),ht(o,"custom",void 0),ht(o,"isLoading",void 0),ht(o,"datasourceBind",void 0);var r;o.save=new it((r=n==null?void 0:n.save)!==null&&r!==void 0?r:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var i;o.cancel=new it((i=n==null?void 0:n.cancel)!==null&&i!==void 0?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var u;o.saveAs=new it((u=n==null?void 0:n.saveAs)!==null&&u!==void 0?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1});var c;o.print=new it((c=n==null?void 0:n.print)!==null&&c!==void 0?c:{content:"\u6253\u5370",type:"print",isShow:!1});var a;o.custom=((a=n==null?void 0:n.custom)!==null&&a!==void 0?a:[]).map(function(_){return new it(_)});var l;return o.isLoading=(l=n==null?void 0:n.isLoading)!==null&&l!==void 0?l:!1,o.datasourceBind=new G(n==null?void 0:n.datasourceBind),o}return e}(Z);ht(Sl,"RuntimeRules",yX);function sX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function pX(t,e,n){return e=Tl(e),bX(t,yS()?Reflect.construct(e,n||[],Tl(t).constructor):e.apply(t,n))}function dX(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function vX(t,e,n){return e&&fS(t.prototype,e),n&&fS(t,n),t}function _S(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Tl(t){return Tl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tl(t)}function hX(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&uv(t,e)}function bX(t,e){return e&&(gX(e)==="object"||typeof e=="function")?e:sX(t)}function uv(t,e){return uv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},uv(t,e)}function gX(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function yS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(yS=function(){return!!t})()}var sS=function(t){hX(e,t);function e(n){dX(this,e);var o;return o=pX(this,e,[n]),_S(o,"props",void 0),o.props=new Sl(n==null?void 0:n.props),o}return vX(e,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),e}(Y);_S(sS,"excludes",[]);function mX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function OX(t,e,n){return e=Rl(e),SX(t,dS()?Reflect.construct(e,n||[],Rl(t).constructor):e.apply(t,n))}function wX(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function $X(t,e,n){return e&&pS(t.prototype,e),n&&pS(t,n),t}function PX(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Rl(t){return Rl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rl(t)}function EX(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&cv(t,e)}function SX(t,e){return e&&(TX(e)==="object"||typeof e=="function")?e:mX(t)}function cv(t,e){return cv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cv(t,e)}function TX(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function dS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(dS=function(){return!!t})()}var RX=function(t){EX(e,t);function e(n){wX(this,e);var o;return o=OX(this,e,[n]),PX(o,"props",void 0),o.props=new Sl(n==null?void 0:n.props),o}return $X(e,null,[{key:"controlType",get:function(){return"data-view"}}]),e}(Ot),IX={Designer:sS,Runtime:RX,Property:Sl};function BX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function AX(t,e,n){return e=Il(e),xX(t,vS()?Reflect.construct(e,n||[],Il(t).constructor):e.apply(t,n))}function kX(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function lv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Il(t){return Il=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Il(t)}function DX(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&av(t,e)}function xX(t,e){return e&&(LX(e)==="object"||typeof e=="function")?e:BX(t)}function av(t,e){return av=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},av(t,e)}function LX(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function vS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(vS=function(){return!!t})()}var FX=function(t){DX(e,t);function e(n){kX(this,e);var o;o=AX(this,e,[n]),lv(o,"position",void 0),lv(o,"opacity",void 0),lv(o,"align",void 0);var r;o.position=(r=n==null?void 0:n.position)!==null&&r!==void 0?r:"bottom";var i;o.opacity=(i=n==null?void 0:n.opacity)!==null&&i!==void 0?i:!0;var u;return o.align=(u=n==null?void 0:n.align)!==null&&u!==void 0?u:"right",o}return e}(Z);function jX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function MX(t,e,n){return e=Bl(e),CX(t,bS()?Reflect.construct(e,n||[],Bl(t).constructor):e.apply(t,n))}function NX(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function VX(t,e,n){return e&&hS(t.prototype,e),n&&hS(t,n),t}function fv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Bl(t){return Bl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bl(t)}function zX(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_v(t,e)}function CX(t,e){return e&&(HX(e)==="object"||typeof e=="function")?e:jX(t)}function _v(t,e){return _v=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_v(t,e)}function HX(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function bS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(bS=function(){return!!t})()}var gS=function(t){zX(e,t);function e(n){NX(this,e);var o;o=MX(this,e,[n]),fv(o,"props",void 0);var r;return o.props=new FX((r=n==null?void 0:n.props)!==null&&r!==void 0?r:{}),o}return VX(e,null,[{key:"controlName",get:function(){return"\u6309\u94AE\u64CD\u4F5C\u680F"}},{key:"controlType",get:function(){return"action-bar"}},{key:"controlIcon",get:function(){return"action-bar"}}]),e}(Y);fv(gS,"excludes",[]),fv(gS,"setting",[{key:"action-buttons",visible:!0},{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0}]);function qX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yv(t,e,n){return e=Al(e),UX(t,mS()?Reflect.construct(e,n||[],Al(t).constructor):e.apply(t,n))}function sv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function R(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Al(t){return Al=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Al(t)}function pv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&dv(t,e)}function UX(t,e){return e&&(WX(e)==="object"||typeof e=="function")?e:qX(t)}function dv(t,e){return dv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dv(t,e)}function WX(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(mS=function(){return!!t})()}var KX=function(t){pv(e,t);function e(n){sv(this,e);var o;return o=yv(this,e,[n]),R(o,"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),R(o,"limitRows",[{type:"number",required:!0,message:p.getMessage("isNotNumber")},{type:"number",min:0,message:p.getMessage("limitRowsCannotBeLessThan0")}]),R(o,"formKey",{type:"string",required:!1,message:p.getMessage("pleaseEnterForm")}),R(o,"maxHeight",{type:"number",required:!0,message:p.getMessage("pleaseEnterMaxHeight")}),R(o,"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")}),R(o,"mobileRowCaption",{type:"string",required:!1,message:p.getMessage("pleaseEnterRowCaption")}),n.openType==="modal"&&(o.formKey.required=!0),n.isShowCaptionTip&&(o.captionTip.required=!0),n.mobileShowType==="tile"&&(o.mobileRowCaption.required=!0),o}return e}(W),GX=function(t){pv(e,t);function e(n){sv(this,e);var o;return o=yv(this,e,[n]),n.isHide||o.push({type:"array",required:n.limitRows>0,message:p.getMessage("runtimeRequired",{caption:n.caption})},{type:"array",validator:function(i,u,c){u.length<n.limitRows&&c(p.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})),c()},message:p.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})}),o}return e}(mt),vv=function(t){pv(e,t);function e(n,o){sv(this,e);var r;r=yv(this,e,[n,o,e.mode]),R(r,"caption",void 0),R(r,"labelPosition",void 0),R(r,"isHideCaption",void 0),R(r,"isShowCaptionTip",void 0),R(r,"captionTip",void 0),R(r,"defaultState",void 0),R(r,"limitRows",void 0),R(r,"maxRows",void 0),R(r,"defaultRows",void 0),R(r,"datasourceBind",void 0),R(r,"printMode",void 0),R(r,"openType",void 0),R(r,"formKey",void 0),R(r,"useCustomHeight",void 0),R(r,"maxHeight",void 0),R(r,"canAdd",void 0),R(r,"canDelete",void 0),R(r,"canCheck",void 0),R(r,"canEdit",void 0),R(r,"canImport",void 0),R(r,"canExport",void 0),R(r,"canClear",void 0),R(r,"isPaste",void 0),R(r,"mobileShowType",void 0),R(r,"mobileDefaultNum",void 0),R(r,"dataStorageDoc",void 0),R(r,"serverPagination",void 0),R(r,"fixedColumn",void 0),R(r,"mobileRowCaption",void 0),R(r,"mobileIsTile",void 0);var i;r.caption=(i=o==null?void 0:o.caption)!==null&&i!==void 0?i:gv.controlName;var u;r.isHideCaption=(u=o==null?void 0:o.isHideCaption)!==null&&u!==void 0?u:!1;var c;r.defaultState=(c=o==null?void 0:o.defaultState)!==null&&c!==void 0?c:"default";var a;r.labelPosition=(a=o==null?void 0:o.labelPosition)!==null&&a!==void 0?a:"top";var l;r.openType=(l=o==null?void 0:o.openType)!==null&&l!==void 0?l:"default";var _;r.formKey=(_=o==null?void 0:o.formKey)!==null&&_!==void 0?_:"";var s;r.useCustomHeight=(s=o==null?void 0:o.useCustomHeight)!==null&&s!==void 0?s:!1;var d;r.maxHeight=(d=o==null?void 0:o.maxHeight)!==null&&d!==void 0?d:rL;var b;r.printMode=(b=o==null?void 0:o.printMode)!==null&&b!==void 0?b:"row";var m;r.limitRows=(m=o==null?void 0:o.limitRows)!==null&&m!==void 0?m:1;var O;r.maxRows=(O=o==null?void 0:o.maxRows)!==null&&O!==void 0?O:null;var w;r.defaultRows=(w=o==null?void 0:o.defaultRows)!==null&&w!==void 0?w:1,r.datasourceBind=new G(o==null?void 0:o.datasourceBind);var h;r.canAdd=(h=o==null?void 0:o.canAdd)!==null&&h!==void 0?h:!0;var $;r.canDelete=($=o==null?void 0:o.canDelete)!==null&&$!==void 0?$:!0;var T;r.canCheck=(T=o==null?void 0:o.canCheck)!==null&&T!==void 0?T:!1;var P;r.canEdit=(P=o==null?void 0:o.canEdit)!==null&&P!==void 0?P:!1;var S;r.canImport=(S=o==null?void 0:o.canImport)!==null&&S!==void 0?S:!1;var F;r.canExport=(F=o==null?void 0:o.canExport)!==null&&F!==void 0?F:!1;var A;r.canClear=(A=o==null?void 0:o.canClear)!==null&&A!==void 0?A:!0;var ue;r.serverPagination=(ue=o==null?void 0:o.serverPagination)!==null&&ue!==void 0?ue:!1;var I;r.isShowCaptionTip=(I=o==null?void 0:o.isShowCaptionTip)!==null&&I!==void 0?I:!1;var We;r.captionTip=(We=o==null?void 0:o.captionTip)!==null&&We!==void 0?We:"";var Oo;r.mobileShowType=(Oo=o==null?void 0:o.mobileShowType)!==null&&Oo!==void 0?Oo:"list";var Wn;r.mobileDefaultNum=(Wn=o==null?void 0:o.mobileDefaultNum)!==null&&Wn!==void 0?Wn:10;var kt;r.dataStorageDoc=(kt=o==null?void 0:o.dataStorageDoc)!==null&&kt!==void 0?kt:new KA;var Ke;r.fixedColumn=(Ke=o==null?void 0:o.fixedColumn)!==null&&Ke!==void 0?Ke:[];var o0;r.mobileRowCaption=(o0=o==null?void 0:o.mobileRowCaption)!==null&&o0!==void 0?o0:"\u660E\u7EC6";var r0;r.mobileIsTile=(r0=o==null?void 0:o.mobileIsTile)!==null&&r0!==void 0?r0:!1;var i0;r.isPaste=(i0=o==null?void 0:o.isPaste)!==null&&i0!==void 0?i0:!1;var u0;r.pageSize=(u0=o==null?void 0:o.pageSize)!==null&&u0!==void 0?u0:10;var c0;return r.pageSizeOptions=(c0=o==null?void 0:o.pageSizeOptions)!==null&&c0!==void 0?c0:[10,20,50,100],r}return e}(Bf);R(vv,"Rules",KX),R(vv,"RuntimeRules",GX);function XX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function QX(t,e,n){return e=kl(e),eQ(t,wS()?Reflect.construct(e,n||[],kl(t).constructor):e.apply(t,n))}function JX(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function OS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function ZX(t,e,n){return e&&OS(t.prototype,e),n&&OS(t,n),t}function hv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function kl(t){return kl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kl(t)}function YX(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&bv(t,e)}function eQ(t,e){return e&&(tQ(e)==="object"||typeof e=="function")?e:XX(t)}function bv(t,e){return bv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},bv(t,e)}function tQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function wS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(wS=function(){return!!t})()}var gv=function(t){YX(e,t);function e(n){JX(this,e);var o,r,i;return o=QX(this,e,[n]),hv(o,"props",void 0),o.props=new vv(o,n==null?void 0:n.props),(n==null||(r=n.props)===null||r===void 0?void 0:r.headers)===void 0&&(o.props.headers=[new Me,new Me,new Me]),(n==null||(i=n.props)===null||i===void 0?void 0:i.footers)===void 0&&(o.props.footers=[]),o}return ZX(e,[{key:"addColumn",value:function(o,r){var i=o!==void 0&&typeof o!="number"?o:new Me,u=typeof o=="number"?o:r;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}],[{key:"controlName",get:function(){return"\u660E\u7EC6\u5B50\u8868"}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),e}(Df);hv(gv,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),hv(gv,"setting",[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE,f.IS_SHOW_CAPTION_TIP,f.IS_PASTE,f.SERVER_PAGINATION]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"max-rows",visible:!0},{key:"list-pager",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}]);function nQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function oQ(t,e,n){return e=Dl(e),uQ(t,$S()?Reflect.construct(e,n||[],Dl(t).constructor):e.apply(t,n))}function rQ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function so(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Dl(t){return Dl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dl(t)}function iQ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&mv(t,e)}function uQ(t,e){return e&&(cQ(e)==="object"||typeof e=="function")?e:nQ(t)}function mv(t,e){return mv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},mv(t,e)}function cQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $S(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($S=function(){return!!t})()}var lQ=function(t){iQ(e,t);function e(n,o){rQ(this,e);var r;r=oQ(this,e,[n,o]),so(r,"isFixedHeader",void 0),so(r,"selectionType",void 0),so(r,"isShowToolbar",void 0),so(r,"isShowSelection",void 0),so(r,"isShowCustomColumns",void 0);var i;r.isFixedHeader=(i=o==null?void 0:o.isFixedHeader)!==null&&i!==void 0?i:!1,r.selectionType=o==null?void 0:o.selectionType;var u;r.isShowToolbar=(u=o==null?void 0:o.isShowToolbar)!==null&&u!==void 0?u:!0;var c;r.isShowSelection=(c=o==null?void 0:o.isShowSelection)!==null&&c!==void 0?c:!1;var a;r.isShowCustomColumns=(a=o==null?void 0:o.isShowCustomColumns)!==null&&a!==void 0?a:!0;var l;return r.pageSizeOptions=(l=o==null?void 0:o.pageSizeOptions)!==null&&l!==void 0?l:[10,20,50,100,500],r}return e}(Bf);function aQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function PS(t,e,n){return e=xl(e),_Q(t,TS()?Reflect.construct(e,n||[],xl(t).constructor):e.apply(t,n))}function ES(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fQ(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function xl(t){return xl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xl(t)}function SS(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ov(t,e)}function _Q(t,e){return e&&(yQ(e)==="object"||typeof e=="function")?e:aQ(t)}function Ov(t,e){return Ov=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ov(t,e)}function yQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function TS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(TS=function(){return!!t})()}var sQ=function(t){SS(e,t);function e(n){ES(this,e);var o;return o=PS(this,e,[n]),o.caption.required=!1,o}return e}(ze),wv=function(t){SS(e,t);function e(n){ES(this,e);var o,r,i;o=PS(this,e,[n]);var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:"left";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:fn.controlName;var a;o.width=(a=n==null?void 0:n.width)!==null&&a!==void 0?a:60;var l;o.autoWidth.minWidth=(l=n==null||(r=n.autoWidth)===null||r===void 0?void 0:r.minWidth)!==null&&l!==void 0?l:60;var _;o.autoWidth.flex=(_=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.flex)!==null&&_!==void 0?_:.4;var s;return o.widthType=(s=n==null?void 0:n.widthType)!==null&&s!==void 0?s:"px",o}return e}(q);fQ(wv,"Rules",sQ);function pQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function dQ(t,e,n){return e=Ll(e),bQ(t,RS()?Reflect.construct(e,n||[],Ll(t).constructor):e.apply(t,n))}function vQ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function po(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ll(t){return Ll=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ll(t)}function hQ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$v(t,e)}function bQ(t,e){return e&&(gQ(e)==="object"||typeof e=="function")?e:pQ(t)}function $v(t,e){return $v=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$v(t,e)}function gQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function RS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(RS=function(){return!!t})()}var fn=function(t){hQ(e,t);function e(n){vQ(this,e);var o;return o=dQ(this,e,[n]),po(o,"props",void 0),o.props=new wv(n==null?void 0:n.props),o}return e}(te);po(fn,"controlType","order-column"),po(fn,"controlName","\u5E8F\u53F7"),po(fn,"controlIcon","order-column"),po(fn,"setting",[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}]);function mQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function OQ(t,e,n){return e=Fl(e),PQ(t,IS()?Reflect.construct(e,n||[],Fl(t).constructor):e.apply(t,n))}function wQ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Fl(t){return Fl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fl(t)}function $Q(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ev(t,e)}function PQ(t,e){return e&&(EQ(e)==="object"||typeof e=="function")?e:mQ(t)}function Ev(t,e){return Ev=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ev(t,e)}function EQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function IS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(IS=function(){return!!t})()}var BS=function(t){$Q(e,t);function e(n){wQ(this,e);var o;return o=OQ(this,e,[n]),Pv(o,"props",void 0),o.props=new wv(n==null?void 0:n.props),o}return e}(ne);Pv(BS,"controlType","order-column"),Pv(BS,"controlFieldType",g.DECIMAL);function SQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function TQ(t,e,n){return e=jl(e),BQ(t,kS()?Reflect.construct(e,n||[],jl(t).constructor):e.apply(t,n))}function RQ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function AS(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function jl(t){return jl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jl(t)}function IQ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Sv(t,e)}function BQ(t,e){return e&&(AQ(e)==="object"||typeof e=="function")?e:SQ(t)}function Sv(t,e){return Sv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sv(t,e)}function AQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function kS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(kS=function(){return!!t})()}var DS=function(t){IQ(e,t);function e(n){RQ(this,e);var o,r;o=TQ(this,e,[n]),AS(o,"showType",void 0),AS(o,"limit",void 0);var i;o.fixed=(i=n==null?void 0:n.fixed)!==null&&i!==void 0?i:"right",o.widthType="auto";var u;o.autoWidth.minWidth=(u=n==null||(r=n.autoWidth)===null||r===void 0?void 0:r.minWidth)!==null&&u!==void 0?u:84;var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:_n.controlName;var a;o.showType=(a=n==null?void 0:n.showType)!==null&&a!==void 0?a:"icon";var l;return o.limit=(l=n==null?void 0:n.limit)!==null&&l!==void 0?l:3,o}return e}(q);function kQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xS(t,e,n,o,r,i,u){try{var c=t[i](u),a=c.value}catch(l){n(l);return}c.done?e(a):Promise.resolve(a).then(o,r)}function DQ(t){return function(){var e=this,n=arguments;return new Promise(function(o,r){var i=t.apply(e,n);function u(a){xS(i,o,r,u,c,"next",a)}function c(a){xS(i,o,r,u,c,"throw",a)}u(void 0)})}}function xQ(t,e,n){return e=Tt(e),MQ(t,FS()?Reflect.construct(e,n||[],Tt(t).constructor):e.apply(t,n))}function LQ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function LS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function FQ(t,e,n){return e&&LS(t.prototype,e),n&&LS(t,n),t}function vo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ho(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ho=Reflect.get:ho=function(r,i,u){var c=NQ(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},ho(t,e,n||t)}function Tt(t){return Tt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tt(t)}function jQ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Tv(t,e)}function MQ(t,e){return e&&(VQ(e)==="object"||typeof e=="function")?e:kQ(t)}function Tv(t,e){return Tv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Tv(t,e)}function NQ(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Tt(t),t!==null););return t}function VQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function FS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(FS=function(){return!!t})()}function zQ(t,e){var n,o,r,i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},u=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return u.next=c(0),u.throw=c(1),u.return=c(2),typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function c(l){return function(_){return a([l,_])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,l[0]&&(i=0)),i;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return i.label++,{value:l[1],done:!1};case 5:i.label++,o=l[1],l=[0];continue;case 7:l=i.ops.pop(),i.trys.pop();continue;default:if(r=i.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){i=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){i.label=l[1];break}if(l[0]===6&&i.label<r[1]){i.label=r[1],r=l;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(l);break}r[2]&&i.ops.pop(),i.trys.pop();continue}l=e.call(t,i)}catch(_){l=[6,_],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var _n=function(t){jQ(e,t);function e(n){LQ(this,e);var o;return o=xQ(this,e,[n]),vo(o,"props",void 0),o.props=new DS(n==null?void 0:n.props),o}return FQ(e,[{key:"toDataBindModel",value:function(){var o=ho(Tt(e.prototype),"toDataBindModel",this).call(this);return this.children.map(function(r){if(r.type===ei.controlType){var i=r;o.props[i.props.command]=i.props}}),o}},{key:"validate",value:function(o,r){var i=this,u=this,c=function(){return ho(Tt(e.prototype),"validate",i)};return DQ(function(){return zQ(this,function(a){switch(a.label){case 0:return[4,c().call(u,o,r)];case 1:return a.sent(),[4,Promise.all(this.children.map(function(l){return l.validate(o,r)}))];case 2:return a.sent(),[2,!0]}})}).call(this)}}]),e}(te);vo(_n,"controlType","operation-column"),vo(_n,"controlName","\u64CD\u4F5C"),vo(_n,"controlIcon","operation-column"),vo(_n,"setting",[{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}]);function CQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function HQ(t,e,n){return e=Ml(e),WQ(t,jS()?Reflect.construct(e,n||[],Ml(t).constructor):e.apply(t,n))}function qQ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ml(t){return Ml=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ml(t)}function UQ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Iv(t,e)}function WQ(t,e){return e&&(KQ(e)==="object"||typeof e=="function")?e:CQ(t)}function Iv(t,e){return Iv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Iv(t,e)}function KQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function jS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(jS=function(){return!!t})()}var MS=function(t){UQ(e,t);function e(n){qQ(this,e);var o;return o=HQ(this,e,[n]),Rv(o,"props",void 0),o.props=new DS(n==null?void 0:n.props),o}return e}(ne);Rv(MS,"controlType","operation-column"),Rv(MS,"controlFieldType",g.FILE);function GQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function NS(t,e,n,o,r,i,u){try{var c=t[i](u),a=c.value}catch(l){n(l);return}c.done?e(a):Promise.resolve(a).then(o,r)}function XQ(t){return function(){var e=this,n=arguments;return new Promise(function(o,r){var i=t.apply(e,n);function u(a){NS(i,o,r,u,c,"next",a)}function c(a){NS(i,o,r,u,c,"throw",a)}u(void 0)})}}function QQ(t,e,n){return e=Rt(e),oJ(t,zS()?Reflect.construct(e,n||[],Rt(t).constructor):e.apply(t,n))}function JQ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function VS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function ZQ(t,e,n){return e&&VS(t.prototype,e),n&&VS(t,n),t}function Nl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function bo(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?bo=Reflect.get:bo=function(r,i,u){var c=rJ(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},bo(t,e,n||t)}function Rt(t){return Rt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rt(t)}function YQ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Bv(t,e)}function eJ(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Nl(t,r,n[r])})}return t}function tJ(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,o)}return n}function nJ(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):tJ(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function oJ(t,e){return e&&(iJ(e)==="object"||typeof e=="function")?e:GQ(t)}function Bv(t,e){return Bv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bv(t,e)}function rJ(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Rt(t),t!==null););return t}function iJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function zS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zS=function(){return!!t})()}function uJ(t,e){var n,o,r,i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},u=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return u.next=c(0),u.throw=c(1),u.return=c(2),typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function c(l){return function(_){return a([l,_])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,l[0]&&(i=0)),i;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return i.label++,{value:l[1],done:!1};case 5:i.label++,o=l[1],l=[0];continue;case 7:l=i.ops.pop(),i.trys.pop();continue;default:if(r=i.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){i=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){i.label=l[1];break}if(l[0]===6&&i.label<r[1]){i.label=r[1],r=l;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(l);break}r[2]&&i.ops.pop(),i.trys.pop();continue}l=e.call(t,i)}catch(_){l=[6,_],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var cJ=function(t){YQ(e,t);function e(n){JQ(this,e);var o,r;return o=QQ(this,e,[n]),Nl(o,"props",void 0),Nl(o,"children",void 0),o.props=new lQ(o,n==null?void 0:n.props),Ge(o,"children",n==null?void 0:n.children,void 0,"Designer"),(n==null?void 0:n.props.headers)===void 0&&(o.props.headers=[new fn,new _n]),(n==null||(r=n.props)===null||r===void 0?void 0:r.footers)===void 0&&(o.props.footers=[]),o}return ZQ(e,[{key:"toSchema",value:function(){var o=bo(Rt(e.prototype),"toSchema",this).call(this),r=this.children.map(function(i){return i.toSchema()});return nJ(eJ({},o),{children:r})}},{key:"validate",value:function(o,r){var i=this,u=this,c=function(){return bo(Rt(e.prototype),"validate",i)};return XQ(function(){return uJ(this,function(a){switch(a.label){case 0:return[4,c().call(u,o,r)];case 1:return a.sent(),[4,Promise.all(this.children.map(function(l){return l.validate(o,r)}))];case 2:return a.sent(),[2,!0]}})}).call(this)}}],[{key:"controlName",get:function(){return"\u8868\u683C"}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),e}(Df);Nl(cJ,"setting",[{key:"list-fixed-header",visible:!0}]);function lJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function CS(t,e,n){return e=Vl(e),aJ(t,US()?Reflect.construct(e,n||[],Vl(t).constructor):e.apply(t,n))}function HS(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Vl(t){return Vl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vl(t)}function qS(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Av(t,e)}function aJ(t,e){return e&&(fJ(e)==="object"||typeof e=="function")?e:lJ(t)}function Av(t,e){return Av=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Av(t,e)}function fJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function US(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(US=function(){return!!t})()}var _J=function(t){qS(e,t);function e(n){HS(this,e);var o;return o=CS(this,e,[n]),_t.call(o,n),o}return e}(hb),kv=function(t){qS(e,t);function e(n){HS(this,e);var o;o=CS(this,e,[n]),bt(o,"optionConfig",void 0),bt(o,"datasourceBind",void 0),bt(o,"showLinkOperation",void 0),bt(o,"linkOperationOption",void 0),bt(o,"options",void 0),bt(o,"lineEllipsis",void 0),bt(o,"displayPlaintext",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:sn.controlName;var i;o.optionConfig=(i=n==null?void 0:n.optionConfig)!==null&&i!==void 0?i:"none",o.datasourceBind=new G(n==null?void 0:n.datasourceBind);var u;o.options=Qe((u=n==null?void 0:n.options)!==null&&u!==void 0?u:[{}]);var c;o.showLinkOperation=(c=n==null?void 0:n.showLinkOperation)!==null&&c!==void 0?c:!1,o.linkOperationOption=new Xe(n==null?void 0:n.linkOperationOption);var a;o.lineEllipsis=(a=n==null?void 0:n.lineEllipsis)!==null&&a!==void 0?a:1;var l;return o.displayPlaintext=(l=n==null?void 0:n.displayPlaintext)!==null&&l!==void 0?l:!1,o}return e}(q);bt(kv,"Rules",_J);function yJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function sJ(t,e,n){return e=zl(e),vJ(t,WS()?Reflect.construct(e,n||[],zl(t).constructor):e.apply(t,n))}function pJ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zl(t){return zl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zl(t)}function dJ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Dv(t,e)}function vJ(t,e){return e&&(hJ(e)==="object"||typeof e=="function")?e:yJ(t)}function Dv(t,e){return Dv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dv(t,e)}function hJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function WS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(WS=function(){return!!t})()}var sn=function(t){dJ(e,t);function e(n){pJ(this,e);var o;return o=sJ(this,e,[n]),yn(o,"props",void 0),o.props=new kv(n==null?void 0:n.props),o}return e}(te);yn(sn,"controlType","varchar-column"),yn(sn,"controlName","\u77ED\u6587\u672C"),yn(sn,"controlIcon","varchar-column"),yn(sn,"controlFieldType",g.VARCHAR),yn(sn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"column-display-plaintext",visible:!0}]);function bJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function gJ(t,e,n){return e=Cl(e),wJ(t,KS()?Reflect.construct(e,n||[],Cl(t).constructor):e.apply(t,n))}function mJ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Cl(t){return Cl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cl(t)}function OJ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Lv(t,e)}function wJ(t,e){return e&&($J(e)==="object"||typeof e=="function")?e:bJ(t)}function Lv(t,e){return Lv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Lv(t,e)}function $J(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function KS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(KS=function(){return!!t})()}var GS=function(t){OJ(e,t);function e(n){mJ(this,e);var o;return o=gJ(this,e,[n]),xv(o,"props",void 0),o.props=new kv(n==null?void 0:n.props),o}return e}(ne);xv(GS,"controlType","varchar-column"),xv(GS,"controlFieldType",g.VARCHAR);function PJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function XS(t,e,n){return e=Hl(e),EJ(t,ZS()?Reflect.construct(e,n||[],Hl(t).constructor):e.apply(t,n))}function QS(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function go(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Hl(t){return Hl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hl(t)}function JS(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Fv(t,e)}function EJ(t,e){return e&&(SJ(e)==="object"||typeof e=="function")?e:PJ(t)}function Fv(t,e){return Fv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fv(t,e)}function SJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ZS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ZS=function(){return!!t})()}var TJ=function(t){JS(e,t);function e(n){QS(this,e);var o;return o=XS(this,e,[n]),_t.call(o,n),o}return e}(ze),jv=function(t){JS(e,t);function e(n){QS(this,e);var o;o=XS(this,e,[n]),go(o,"escapeHTML",void 0),go(o,"showLinkOperation",void 0),go(o,"linkOperationOption",void 0),go(o,"lineEllipsis",void 0);var r;o.escapeHTML=(r=n==null?void 0:n.escapeHTML)!==null&&r!==void 0?r:!1;var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:vn.controlName;var u;o.lineEllipsis=(u=n==null?void 0:n.lineEllipsis)!==null&&u!==void 0?u:1;var c;return o.showLinkOperation=(c=n==null?void 0:n.showLinkOperation)!==null&&c!==void 0?c:!1,o.linkOperationOption=new Xe(n==null?void 0:n.linkOperationOption),o}return e}(q);go(jv,"Rules",TJ);function RJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function IJ(t,e,n){return e=dn(e),DJ(t,eT()?Reflect.construct(e,n||[],dn(t).constructor):e.apply(t,n))}function BJ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function YS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function AJ(t,e,n){return e&&YS(t.prototype,e),n&&YS(t,n),t}function pn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ql(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ql=Reflect.get:ql=function(r,i,u){var c=xJ(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},ql(t,e,n||t)}function dn(t){return dn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dn(t)}function kJ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Mv(t,e)}function DJ(t,e){return e&&(LJ(e)==="object"||typeof e=="function")?e:RJ(t)}function Mv(t,e){return Mv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Mv(t,e)}function xJ(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=dn(t),t!==null););return t}function LJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function eT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(eT=function(){return!!t})()}var vn=function(t){kJ(e,t);function e(n){BJ(this,e);var o;return o=IJ(this,e,[n]),pn(o,"props",void 0),o.props=new jv(n==null?void 0:n.props),o}return AJ(e,[{key:"toDataBindModel",value:function(o){var r=ql(dn(e.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.escapeHTML;r.props.escapeHTML=i}return r}}]),e}(te);pn(vn,"controlType","text-column"),pn(vn,"controlName","\u957F\u6587\u672C"),pn(vn,"controlIcon","text-column"),pn(vn,"controlFieldType",g.TEXT),pn(vn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function FJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jJ(t,e,n){return e=Ul(e),VJ(t,tT()?Reflect.construct(e,n||[],Ul(t).constructor):e.apply(t,n))}function MJ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ul(t){return Ul=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ul(t)}function NJ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vv(t,e)}function VJ(t,e){return e&&(zJ(e)==="object"||typeof e=="function")?e:FJ(t)}function Vv(t,e){return Vv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vv(t,e)}function zJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tT=function(){return!!t})()}var nT=function(t){NJ(e,t);function e(n){MJ(this,e);var o;return o=jJ(this,e,[n]),Nv(o,"props",void 0),o.props=new jv(n==null?void 0:n.props),o}return e}(ne);Nv(nT,"controlType","text-column"),Nv(nT,"controlFieldType",g.TEXT);function CJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function oT(t,e,n){return e=Wl(e),HJ(t,uT()?Reflect.construct(e,n||[],Wl(t).constructor):e.apply(t,n))}function rT(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wl(t){return Wl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wl(t)}function iT(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&zv(t,e)}function HJ(t,e){return e&&(qJ(e)==="object"||typeof e=="function")?e:CJ(t)}function zv(t,e){return zv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zv(t,e)}function qJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function uT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(uT=function(){return!!t})()}var UJ=function(t){iT(e,t);function e(n){rT(this,e);var o;return o=oT(this,e,[n]),_t.call(o,n),o}return e}(ze),Cv=function(t){iT(e,t);function e(n){rT(this,e);var o;o=oT(this,e,[n]),nt(o,"optionConfig",void 0),nt(o,"datasourceBind",void 0),nt(o,"showLinkOperation",void 0),nt(o,"linkOperationOption",void 0),nt(o,"options",void 0),nt(o,"precision",void 0),nt(o,"micrometer",void 0),nt(o,"percentageFormat",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:gn.controlName;var i;o.precision=(i=n==null?void 0:n.precision)!==null&&i!==void 0?i:0;var u;o.micrometer=(u=n==null?void 0:n.micrometer)!==null&&u!==void 0?u:!1;var c;o.percentageFormat=(c=n==null?void 0:n.percentageFormat)!==null&&c!==void 0?c:!1;var a;o.optionConfig=(a=n==null?void 0:n.optionConfig)!==null&&a!==void 0?a:"none",o.datasourceBind=new G(n==null?void 0:n.datasourceBind);var l;o.options=Qe((l=n==null?void 0:n.options)!==null&&l!==void 0?l:[{}]);var _;return o.showLinkOperation=(_=n==null?void 0:n.showLinkOperation)!==null&&_!==void 0?_:!1,o.linkOperationOption=new Xe(n==null?void 0:n.linkOperationOption),o}return e}(q);nt(Cv,"Rules",UJ);function WJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function KJ(t,e,n){return e=bn(e),JJ(t,lT()?Reflect.construct(e,n||[],bn(t).constructor):e.apply(t,n))}function GJ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function cT(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function XJ(t,e,n){return e&&cT(t.prototype,e),n&&cT(t,n),t}function hn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Kl(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Kl=Reflect.get:Kl=function(r,i,u){var c=ZJ(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Kl(t,e,n||t)}function bn(t){return bn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bn(t)}function QJ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hv(t,e)}function JJ(t,e){return e&&(YJ(e)==="object"||typeof e=="function")?e:WJ(t)}function Hv(t,e){return Hv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hv(t,e)}function ZJ(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=bn(t),t!==null););return t}function YJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function lT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(lT=function(){return!!t})()}var gn=function(t){QJ(e,t);function e(n){GJ(this,e);var o;return o=KJ(this,e,[n]),hn(o,"props",void 0),o.props=new Cv(n==null?void 0:n.props),o}return XJ(e,[{key:"toDataBindModel",value:function(o){var r=Kl(bn(e.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props,u=i.precision,c=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=c}return r}}]),e}(te);hn(gn,"controlType","decimal-column"),hn(gn,"controlName","\u6570\u503C"),hn(gn,"controlIcon","decimal-column"),hn(gn,"controlFieldType",g.DECIMAL),hn(gn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[f.MICROMETER,f.PRECISION,f.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function eZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tZ(t,e,n){return e=Gl(e),rZ(t,aT()?Reflect.construct(e,n||[],Gl(t).constructor):e.apply(t,n))}function nZ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gl(t){return Gl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gl(t)}function oZ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Uv(t,e)}function rZ(t,e){return e&&(iZ(e)==="object"||typeof e=="function")?e:eZ(t)}function Uv(t,e){return Uv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Uv(t,e)}function iZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function aT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(aT=function(){return!!t})()}var fT=function(t){oZ(e,t);function e(n){nZ(this,e);var o;return o=tZ(this,e,[n]),qv(o,"props",void 0),o.props=new Cv(n==null?void 0:n.props),o}return e}(ne);qv(fT,"controlType","decimal-column"),qv(fT,"controlFieldType",g.DECIMAL);function uZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _T(t,e,n){return e=Ql(e),cZ(t,pT()?Reflect.construct(e,n||[],Ql(t).constructor):e.apply(t,n))}function yT(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ql(t){return Ql=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ql(t)}function sT(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Wv(t,e)}function cZ(t,e){return e&&(lZ(e)==="object"||typeof e=="function")?e:uZ(t)}function Wv(t,e){return Wv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wv(t,e)}function lZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pT=function(){return!!t})()}var aZ=function(t){sT(e,t);function e(n){yT(this,e);var o;return o=_T(this,e,[n]),_t.call(o,n),o}return e}(ze),Kv=function(t){sT(e,t);function e(n){yT(this,e);var o;o=_T(this,e,[n]),Xl(o,"dateType",void 0),Xl(o,"showLinkOperation",void 0),Xl(o,"linkOperationOption",void 0);var r;o.dateType=(r=n==null?void 0:n.dateType)!==null&&r!==void 0?r:xt.DATE;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Xe(n==null?void 0:n.linkOperationOption);var u;return o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:wn.controlName,o}return e}(q);Xl(Kv,"Rules",aZ);function fZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _Z(t,e,n){return e=On(e),dZ(t,vT()?Reflect.construct(e,n||[],On(t).constructor):e.apply(t,n))}function yZ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dT(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function sZ(t,e,n){return e&&dT(t.prototype,e),n&&dT(t,n),t}function mn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Jl(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Jl=Reflect.get:Jl=function(r,i,u){var c=vZ(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Jl(t,e,n||t)}function On(t){return On=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},On(t)}function pZ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Gv(t,e)}function dZ(t,e){return e&&(hZ(e)==="object"||typeof e=="function")?e:fZ(t)}function Gv(t,e){return Gv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gv(t,e)}function vZ(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=On(t),t!==null););return t}function hZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function vT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(vT=function(){return!!t})()}var wn=function(t){pZ(e,t);function e(n){yZ(this,e);var o;return o=_Z(this,e,[n]),mn(o,"props",void 0),o.props=new Kv(n==null?void 0:n.props),o}return sZ(e,[{key:"toDataBindModel",value:function(o){var r=Jl(On(e.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.dateType;r.props.dateType=i}return r}}]),e}(te);mn(wn,"controlType","timescope-column"),mn(wn,"controlName","\u65E5\u671F\u533A\u95F4"),mn(wn,"controlIcon","timescope-column"),mn(wn,"controlFieldType",g.TIMESCOPE),mn(wn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}]);function bZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function gZ(t,e,n){return e=Zl(e),wZ(t,hT()?Reflect.construct(e,n||[],Zl(t).constructor):e.apply(t,n))}function mZ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Zl(t){return Zl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zl(t)}function OZ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Qv(t,e)}function wZ(t,e){return e&&($Z(e)==="object"||typeof e=="function")?e:bZ(t)}function Qv(t,e){return Qv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qv(t,e)}function $Z(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function hT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(hT=function(){return!!t})()}var bT=function(t){OZ(e,t);function e(n){mZ(this,e);var o;return o=gZ(this,e,[n]),Xv(o,"props",void 0),o.props=new Kv(n==null?void 0:n.props),o}return e}(ne);Xv(bT,"controlType","timescope-column"),Xv(bT,"controlFieldType",g.TIMESCOPE);function PZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function gT(t,e,n){return e=ea(e),EZ(t,wT()?Reflect.construct(e,n||[],ea(t).constructor):e.apply(t,n))}function mT(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ea(t){return ea=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ea(t)}function OT(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Jv(t,e)}function EZ(t,e){return e&&(SZ(e)==="object"||typeof e=="function")?e:PZ(t)}function Jv(t,e){return Jv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jv(t,e)}function SZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function wT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(wT=function(){return!!t})()}var TZ=function(t){OT(e,t);function e(n){mT(this,e);var o;return o=gT(this,e,[n]),_t.call(o,n),o}return e}(ze),Zv=function(t){OT(e,t);function e(n){mT(this,e);var o;o=gT(this,e,[n]),Yl(o,"dateType",void 0),Yl(o,"showLinkOperation",void 0),Yl(o,"linkOperationOption",void 0);var r;o.dateType=(r=n==null?void 0:n.dateType)!==null&&r!==void 0?r:xt.DATE;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Xe(n==null?void 0:n.linkOperationOption);var u;return o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:En.controlName,o}return e}(q);Yl(Zv,"Rules",TZ);function RZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function IZ(t,e,n){return e=Pn(e),DZ(t,PT()?Reflect.construct(e,n||[],Pn(t).constructor):e.apply(t,n))}function BZ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $T(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function AZ(t,e,n){return e&&$T(t.prototype,e),n&&$T(t,n),t}function $n(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ta(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ta=Reflect.get:ta=function(r,i,u){var c=xZ(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},ta(t,e,n||t)}function Pn(t){return Pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pn(t)}function kZ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Yv(t,e)}function DZ(t,e){return e&&(LZ(e)==="object"||typeof e=="function")?e:RZ(t)}function Yv(t,e){return Yv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yv(t,e)}function xZ(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Pn(t),t!==null););return t}function LZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function PT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(PT=function(){return!!t})()}var En=function(t){kZ(e,t);function e(n){BZ(this,e);var o;return o=IZ(this,e,[n]),$n(o,"props",void 0),o.props=new Zv(n==null?void 0:n.props),o}return AZ(e,[{key:"toDataBindModel",value:function(o){var r=ta(Pn(e.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.dateType;r.props.dateType=i}return r}}]),e}(te);$n(En,"controlType","timestamp-column"),$n(En,"controlName","\u65E5\u671F"),$n(En,"controlIcon","timestamp-column"),$n(En,"controlFieldType",g.TIMESTAMP),$n(En,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}]);function FZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jZ(t,e,n){return e=na(e),VZ(t,ET()?Reflect.construct(e,n||[],na(t).constructor):e.apply(t,n))}function MZ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function eh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function na(t){return na=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},na(t)}function NZ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&th(t,e)}function VZ(t,e){return e&&(zZ(e)==="object"||typeof e=="function")?e:FZ(t)}function th(t,e){return th=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},th(t,e)}function zZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ET(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ET=function(){return!!t})()}var ST=function(t){NZ(e,t);function e(n){MZ(this,e);var o;return o=jZ(this,e,[n]),eh(o,"props",void 0),o.props=new Zv(n==null?void 0:n.props),o}return e}(ne);eh(ST,"controlType","timestamp-column"),eh(ST,"controlFieldType",g.TIMESTAMP);function CZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function TT(t,e,n){return e=oa(e),HZ(t,BT()?Reflect.construct(e,n||[],oa(t).constructor):e.apply(t,n))}function RT(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function oa(t){return oa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oa(t)}function IT(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&nh(t,e)}function HZ(t,e){return e&&(qZ(e)==="object"||typeof e=="function")?e:CZ(t)}function nh(t,e){return nh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},nh(t,e)}function qZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function BT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(BT=function(){return!!t})()}var UZ=function(t){IT(e,t);function e(n){RT(this,e);var o;return o=TT(this,e,[n]),_t.call(o,n),o}return e}(hb),oh=function(t){IT(e,t);function e(n){RT(this,e);var o;o=TT(this,e,[n]),Sn(o,"optionConfig",void 0),Sn(o,"datasourceBind",void 0),Sn(o,"showLinkOperation",void 0),Sn(o,"linkOperationOption",void 0),Sn(o,"options",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Rn.controlName;var i;o.optionConfig=(i=n==null?void 0:n.optionConfig)!==null&&i!==void 0?i:"none",o.datasourceBind=new G(n==null?void 0:n.datasourceBind);var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Xe(n==null?void 0:n.linkOperationOption);var c;return o.options=Qe((c=n==null?void 0:n.options)!==null&&c!==void 0?c:[{}]),o}return e}(q);Sn(oh,"Rules",UZ);function WZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function KZ(t,e,n){return e=ra(e),QZ(t,AT()?Reflect.construct(e,n||[],ra(t).constructor):e.apply(t,n))}function GZ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Tn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ra(t){return ra=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ra(t)}function XZ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&rh(t,e)}function QZ(t,e){return e&&(JZ(e)==="object"||typeof e=="function")?e:WZ(t)}function rh(t,e){return rh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rh(t,e)}function JZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function AT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(AT=function(){return!!t})()}var Rn=function(t){XZ(e,t);function e(n){GZ(this,e);var o;return o=KZ(this,e,[n]),Tn(o,"props",void 0),o.props=new oh(n==null?void 0:n.props),o}return e}(te);Tn(Rn,"controlType","array-column"),Tn(Rn,"controlName","\u6570\u7EC4"),Tn(Rn,"controlIcon","array-column"),Tn(Rn,"controlFieldType",g.ARRAY),Tn(Rn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}]);function ZZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function YZ(t,e,n){return e=ia(e),nY(t,kT()?Reflect.construct(e,n||[],ia(t).constructor):e.apply(t,n))}function eY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ih(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ia(t){return ia=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ia(t)}function tY(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&uh(t,e)}function nY(t,e){return e&&(oY(e)==="object"||typeof e=="function")?e:ZZ(t)}function uh(t,e){return uh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},uh(t,e)}function oY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function kT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(kT=function(){return!!t})()}var DT=function(t){tY(e,t);function e(n){eY(this,e);var o;return o=YZ(this,e,[n]),ih(o,"props",void 0),o.props=new oh(n==null?void 0:n.props),o}return e}(ne);ih(DT,"controlType","array-column"),ih(DT,"controlFieldType",g.ARRAY);function rY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function iY(t,e,n){return e=ua(e),aY(t,xT()?Reflect.construct(e,n||[],ua(t).constructor):e.apply(t,n))}function uY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function cY(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ua(t){return ua=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ua(t)}function lY(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ch(t,e)}function aY(t,e){return e&&(fY(e)==="object"||typeof e=="function")?e:rY(t)}function ch(t,e){return ch=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ch(t,e)}function fY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xT=function(){return!!t})()}var LT=function(t){lY(e,t);function e(n){uY(this,e);var o;o=iY(this,e,[n]),cY(o,"displayLevel",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:An.controlName;var i;return o.displayLevel=(i=n==null?void 0:n.displayLevel)!==null&&i!==void 0?i:1,o}return e}(q);function _Y(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yY(t,e,n){return e=Bn(e),vY(t,jT()?Reflect.construct(e,n||[],Bn(t).constructor):e.apply(t,n))}function sY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function FT(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function pY(t,e,n){return e&&FT(t.prototype,e),n&&FT(t,n),t}function In(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ca(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ca=Reflect.get:ca=function(r,i,u){var c=hY(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},ca(t,e,n||t)}function Bn(t){return Bn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bn(t)}function dY(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&lh(t,e)}function vY(t,e){return e&&(bY(e)==="object"||typeof e=="function")?e:_Y(t)}function lh(t,e){return lh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},lh(t,e)}function hY(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Bn(t),t!==null););return t}function bY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function jT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(jT=function(){return!!t})()}var An=function(t){dY(e,t);function e(n){sY(this,e);var o;return o=yY(this,e,[n]),In(o,"props",void 0),o.props=new LT(n==null?void 0:n.props),o}return pY(e,[{key:"toDataBindModel",value:function(o){var r=ca(Bn(e.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.displayLevel;r.props.displayLevel=i}return r}}]),e}(te);In(An,"controlType","department-column"),In(An,"controlName","\u90E8\u95E8"),In(An,"controlIcon","department-column"),In(An,"controlFieldType",g.DEPARTMENTS),In(An,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}]);function gY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mY(t,e,n){return e=la(e),$Y(t,MT()?Reflect.construct(e,n||[],la(t).constructor):e.apply(t,n))}function OY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ah(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function la(t){return la=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},la(t)}function wY(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fh(t,e)}function $Y(t,e){return e&&(PY(e)==="object"||typeof e=="function")?e:gY(t)}function fh(t,e){return fh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fh(t,e)}function PY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function MT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(MT=function(){return!!t})()}var NT=function(t){wY(e,t);function e(n){OY(this,e);var o;return o=mY(this,e,[n]),ah(o,"props",void 0),o.props=new LT(n==null?void 0:n.props),o}return e}(ne);ah(NT,"controlType","department-column"),ah(NT,"controlFieldType",g.DEPARTMENTS);function EY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function VT(t,e,n){return e=aa(e),SY(t,HT()?Reflect.construct(e,n||[],aa(t).constructor):e.apply(t,n))}function zT(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function aa(t){return aa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},aa(t)}function CT(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&yh(t,e)}function SY(t,e){return e&&(TY(e)==="object"||typeof e=="function")?e:EY(t)}function yh(t,e){return yh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yh(t,e)}function TY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function HT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(HT=function(){return!!t})()}var RY=function(t){CT(e,t);function e(n){zT(this,e);var o;return o=VT(this,e,[n]),_t.call(o,n),o}return e}(ze),sh=function(t){CT(e,t);function e(n){zT(this,e);var o;o=VT(this,e,[n]),_h(o,"showLinkOperation",void 0),_h(o,"linkOperationOption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Dn.controlName;var i;return o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Xe(n==null?void 0:n.linkOperationOption),o}return e}(q);_h(sh,"Rules",RY);function IY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function BY(t,e,n){return e=fa(e),DY(t,qT()?Reflect.construct(e,n||[],fa(t).constructor):e.apply(t,n))}function AY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function kn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fa(t){return fa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fa(t)}function kY(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ph(t,e)}function DY(t,e){return e&&(xY(e)==="object"||typeof e=="function")?e:IY(t)}function ph(t,e){return ph=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ph(t,e)}function xY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function qT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(qT=function(){return!!t})()}var Dn=function(t){kY(e,t);function e(n){AY(this,e);var o;return o=BY(this,e,[n]),kn(o,"props",void 0),o.props=new sh(n==null?void 0:n.props),o}return e}(te);kn(Dn,"controlType","auto-number-column"),kn(Dn,"controlName","\u81EA\u52A8\u7F16\u53F7"),kn(Dn,"controlIcon","auto-number-column"),kn(Dn,"controlFieldType",g.AUTO_NUMBER),kn(Dn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}]);function LY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function FY(t,e,n){return e=_a(e),NY(t,UT()?Reflect.construct(e,n||[],_a(t).constructor):e.apply(t,n))}function jY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _a(t){return _a=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_a(t)}function MY(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&vh(t,e)}function NY(t,e){return e&&(VY(e)==="object"||typeof e=="function")?e:LY(t)}function vh(t,e){return vh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vh(t,e)}function VY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function UT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(UT=function(){return!!t})()}var WT=function(t){MY(e,t);function e(n){jY(this,e);var o;return o=FY(this,e,[n]),dh(o,"props",void 0),o.props=new sh(n==null?void 0:n.props),o}return e}(ne);dh(WT,"controlType","auto-number-column"),dh(WT,"controlFieldType",g.AUTO_NUMBER);function zY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function CY(t,e,n){return e=ya(e),UY(t,KT()?Reflect.construct(e,n||[],ya(t).constructor):e.apply(t,n))}function HY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ya(t){return ya=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ya(t)}function qY(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&hh(t,e)}function UY(t,e){return e&&(WY(e)==="object"||typeof e=="function")?e:zY(t)}function hh(t,e){return hh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hh(t,e)}function WY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function KT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(KT=function(){return!!t})()}var GT=function(t){qY(e,t);function e(n){HY(this,e);var o;o=CY(this,e,[n]);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Ln.controlName,o}return e}(q);function KY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function GY(t,e,n){return e=sa(e),JY(t,XT()?Reflect.construct(e,n||[],sa(t).constructor):e.apply(t,n))}function XY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function sa(t){return sa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sa(t)}function QY(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&bh(t,e)}function JY(t,e){return e&&(ZY(e)==="object"||typeof e=="function")?e:KY(t)}function bh(t,e){return bh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},bh(t,e)}function ZY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function XT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(XT=function(){return!!t})()}var Ln=function(t){QY(e,t);function e(n){XY(this,e);var o;return o=GY(this,e,[n]),xn(o,"props",void 0),o.props=new GT(n==null?void 0:n.props),o}return e}(te);xn(Ln,"controlType","file-column"),xn(Ln,"controlName","\u9644\u4EF6"),xn(Ln,"controlIcon","file-column"),xn(Ln,"controlFieldType",g.FILE),xn(Ln,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function YY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function eee(t,e,n){return e=pa(e),oee(t,QT()?Reflect.construct(e,n||[],pa(t).constructor):e.apply(t,n))}function tee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pa(t){return pa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pa(t)}function nee(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&mh(t,e)}function oee(t,e){return e&&(ree(e)==="object"||typeof e=="function")?e:YY(t)}function mh(t,e){return mh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},mh(t,e)}function ree(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function QT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(QT=function(){return!!t})()}var JT=function(t){nee(e,t);function e(n){tee(this,e);var o;return o=eee(this,e,[n]),gh(o,"props",void 0),o.props=new GT(n==null?void 0:n.props),o}return e}(ne);gh(JT,"controlType","file-column"),gh(JT,"controlFieldType",g.FILE);function iee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function uee(t,e,n){return e=da(e),aee(t,ZT()?Reflect.construct(e,n||[],da(t).constructor):e.apply(t,n))}function cee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function da(t){return da=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},da(t)}function lee(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Oh(t,e)}function aee(t,e){return e&&(fee(e)==="object"||typeof e=="function")?e:iee(t)}function Oh(t,e){return Oh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Oh(t,e)}function fee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ZT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ZT=function(){return!!t})()}var YT=function(t){lee(e,t);function e(n){cee(this,e);var o;o=uee(this,e,[n]);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:jn.controlName,o}return e}(q);function _ee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yee(t,e,n){return e=va(e),dee(t,eR()?Reflect.construct(e,n||[],va(t).constructor):e.apply(t,n))}function see(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function va(t){return va=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},va(t)}function pee(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wh(t,e)}function dee(t,e){return e&&(vee(e)==="object"||typeof e=="function")?e:_ee(t)}function wh(t,e){return wh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wh(t,e)}function vee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function eR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(eR=function(){return!!t})()}var jn=function(t){pee(e,t);function e(n){see(this,e);var o;return o=yee(this,e,[n]),Fn(o,"props",void 0),o.props=new YT(n==null?void 0:n.props),o}return e}(te);Fn(jn,"controlType","image-column"),Fn(jn,"controlName","\u56FE\u7247"),Fn(jn,"controlIcon","image-column"),Fn(jn,"controlFieldType",g.IMAGE),Fn(jn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function hee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bee(t,e,n){return e=ha(e),Oee(t,tR()?Reflect.construct(e,n||[],ha(t).constructor):e.apply(t,n))}function gee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ha(t){return ha=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ha(t)}function mee(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ph(t,e)}function Oee(t,e){return e&&(wee(e)==="object"||typeof e=="function")?e:hee(t)}function Ph(t,e){return Ph=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ph(t,e)}function wee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tR=function(){return!!t})()}var nR=function(t){mee(e,t);function e(n){gee(this,e);var o;return o=bee(this,e,[n]),$h(o,"props",void 0),o.props=new YT(n==null?void 0:n.props),o}return e}(ne);$h(nR,"controlType","image-column"),$h(nR,"controlFieldType",g.IMAGE);function $ee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Pee(t,e,n){return e=ba(e),Tee(t,oR()?Reflect.construct(e,n||[],ba(t).constructor):e.apply(t,n))}function Eee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ba(t){return ba=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ba(t)}function See(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Eh(t,e)}function Tee(t,e){return e&&(Ree(e)==="object"||typeof e=="function")?e:$ee(t)}function Eh(t,e){return Eh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Eh(t,e)}function Ree(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function oR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(oR=function(){return!!t})()}var rR=function(t){See(e,t);function e(n){Eee(this,e);var o;o=Pee(this,e,[n]);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Nn.controlName,o}return e}(q);function Iee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Bee(t,e,n){return e=ga(e),Dee(t,iR()?Reflect.construct(e,n||[],ga(t).constructor):e.apply(t,n))}function Aee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ga(t){return ga=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ga(t)}function kee(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Sh(t,e)}function Dee(t,e){return e&&(xee(e)==="object"||typeof e=="function")?e:Iee(t)}function Sh(t,e){return Sh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sh(t,e)}function xee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function iR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(iR=function(){return!!t})()}var Nn=function(t){kee(e,t);function e(n){Aee(this,e);var o;return o=Bee(this,e,[n]),Mn(o,"props",void 0),o.props=new rR(n==null?void 0:n.props),o}return e}(te);Mn(Nn,"controlType","people-column"),Mn(Nn,"controlName","\u4EBA\u5458"),Mn(Nn,"controlIcon","people-column"),Mn(Nn,"controlFieldType",g.EMPLOYEES),Mn(Nn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function Lee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Fee(t,e,n){return e=ma(e),Nee(t,uR()?Reflect.construct(e,n||[],ma(t).constructor):e.apply(t,n))}function jee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Th(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ma(t){return ma=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ma(t)}function Mee(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Rh(t,e)}function Nee(t,e){return e&&(Vee(e)==="object"||typeof e=="function")?e:Lee(t)}function Rh(t,e){return Rh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rh(t,e)}function Vee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function uR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(uR=function(){return!!t})()}var cR=function(t){Mee(e,t);function e(n){jee(this,e);var o;return o=Fee(this,e,[n]),Th(o,"props",void 0),o.props=new rR(n==null?void 0:n.props),o}return e}(ne);Th(cR,"controlType","people-column"),Th(cR,"controlFieldType",g.EMPLOYEES);function zee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lR(t,e,n){return e=Oa(e),Cee(t,_R()?Reflect.construct(e,n||[],Oa(t).constructor):e.apply(t,n))}function aR(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ih(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Oa(t){return Oa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oa(t)}function fR(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Bh(t,e)}function Cee(t,e){return e&&(Hee(e)==="object"||typeof e=="function")?e:zee(t)}function Bh(t,e){return Bh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bh(t,e)}function Hee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _R(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_R=function(){return!!t})()}var qee=function(t){fR(e,t);function e(n){aR(this,e);var o;return o=lR(this,e,[n]),_t.call(o,n),o}return e}(ze),Ah=function(t){fR(e,t);function e(n){aR(this,e);var o;o=lR(this,e,[n]),Ih(o,"showLinkOperation",void 0),Ih(o,"linkOperationOption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:zn.controlName;var i;return o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Xe(n==null?void 0:n.linkOperationOption),o}return e}(q);Ih(Ah,"Rules",qee);function Uee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Wee(t,e,n){return e=wa(e),Xee(t,yR()?Reflect.construct(e,n||[],wa(t).constructor):e.apply(t,n))}function Kee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function wa(t){return wa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wa(t)}function Gee(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&kh(t,e)}function Xee(t,e){return e&&(Qee(e)==="object"||typeof e=="function")?e:Uee(t)}function kh(t,e){return kh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kh(t,e)}function Qee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function yR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(yR=function(){return!!t})()}var zn=function(t){Gee(e,t);function e(n){Kee(this,e);var o;return o=Wee(this,e,[n]),Vn(o,"props",void 0),o.props=new Ah(n==null?void 0:n.props),o}return e}(te);Vn(zn,"controlType","location-column"),Vn(zn,"controlName","\u5730\u5740"),Vn(zn,"controlIcon","location-column"),Vn(zn,"controlFieldType",g.ADDRESS),Vn(zn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}]);function Jee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Zee(t,e,n){return e=$a(e),tte(t,sR()?Reflect.construct(e,n||[],$a(t).constructor):e.apply(t,n))}function Yee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $a(t){return $a=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$a(t)}function ete(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xh(t,e)}function tte(t,e){return e&&(nte(e)==="object"||typeof e=="function")?e:Jee(t)}function xh(t,e){return xh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xh(t,e)}function nte(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function sR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(sR=function(){return!!t})()}var pR=function(t){ete(e,t);function e(n){Yee(this,e);var o;return o=Zee(this,e,[n]),Dh(o,"props",void 0),o.props=new Ah(n==null?void 0:n.props),o}return e}(ne);Dh(pR,"controlType","location-column"),Dh(pR,"controlFieldType",g.ADDRESS);function ote(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function dR(t,e,n){return e=Ea(e),rte(t,bR()?Reflect.construct(e,n||[],Ea(t).constructor):e.apply(t,n))}function vR(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pa(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ea(t){return Ea=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ea(t)}function hR(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Lh(t,e)}function rte(t,e){return e&&(ite(e)==="object"||typeof e=="function")?e:ote(t)}function Lh(t,e){return Lh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Lh(t,e)}function ite(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function bR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(bR=function(){return!!t})()}var ute=function(t){hR(e,t);function e(n){vR(this,e);var o;return o=dR(this,e,[n]),Pa(o,"sortFieldCode",{type:"string",message:p.getMessage("pleaseSelectSortFieldCode")}),n.sort===!0&&(o.sortFieldCode.required=!0),o}return e}(ze),Fh=function(t){hR(e,t);function e(n){vR(this,e);var o;o=dR(this,e,[n]),Pa(o,"fieldCodeList",void 0),Pa(o,"sortFieldCode",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:It.controlName;var i;o.fieldCodeList=(i=n==null?void 0:n.fieldCodeList)!==null&&i!==void 0?i:[];var u;return o.sortFieldCode=(u=n==null?void 0:n.sortFieldCode)!==null&&u!==void 0?u:"",o}return e}(q);Pa(Fh,"Rules",ute);function cte(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lte(t,e,n){return e=Cn(e),ste(t,mR()?Reflect.construct(e,n||[],Cn(t).constructor):e.apply(t,n))}function ate(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gR(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function fte(t,e,n){return e&&gR(t.prototype,e),n&&gR(t,n),t}function Ue(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Sa(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Sa=Reflect.get:Sa=function(r,i,u){var c=pte(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Sa(t,e,n||t)}function Cn(t){return Cn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cn(t)}function _te(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&jh(t,e)}function yte(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function ste(t,e){return e&&(dte(e)==="object"||typeof e=="function")?e:cte(t)}function jh(t,e){return jh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jh(t,e)}function pte(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Cn(t),t!==null););return t}function dte(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(mR=function(){return!!t})()}var vte=1,It=function(e){_te(n,e);function n(o){ate(this,n);var r;r=lte(this,n,[o]),Ue(r,"excludes",void 0),Ue(r,"childrenMaxLength",void 0),Ue(r,"props",void 0),Ue(r,"children",void 0);var i=yte(this,n)?this.constructor:void 0,u=i.excludes,c=i.childrenMaxLength;return r.props=new Fh(o==null?void 0:o.props),Ge(r,"children",o==null?void 0:o.children,void 0,"Designer"),r.excludes=ot(u),r.childrenMaxLength=c,r}return fte(n,[{key:"judgeJoinChildren",value:function(r){var i=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(r);return i&&this.childrenMaxLength>this.children.length}},{key:"toDataBindModel",value:function(r){var i=Sa(Cn(n.prototype),"toDataBindModel",this).call(this,r);if(i){var u=this.props.fieldCodeList;i.props.fieldCodeList=u}return i}}]),n}(te);Ue(It,"controlType","custom-column"),Ue(It,"controlName","\u81EA\u5B9A\u4E49"),Ue(It,"controlIcon","custom-column"),Ue(It,"excludes",[]),Ue(It,"childrenMaxLength",vte),Ue(It,"setting",[{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0}]);function hte(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bte(t,e,n){return e=Ta(e),Ote(t,OR()?Reflect.construct(e,n||[],Ta(t).constructor):e.apply(t,n))}function gte(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ta(t){return Ta=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ta(t)}function mte(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Nh(t,e)}function Ote(t,e){return e&&(wte(e)==="object"||typeof e=="function")?e:hte(t)}function Nh(t,e){return Nh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Nh(t,e)}function wte(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function OR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(OR=function(){return!!t})()}var $te=function(t){mte(e,t);function e(n){gte(this,e);var o;return o=bte(this,e,[n]),Mh(o,"props",void 0),Mh(o,"children",void 0),o.props=new Fh(n==null?void 0:n.props),Ge(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return e}(ne);Mh($te,"controlType","custom-column");function Pte(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ete(t,e,n){return e=Ra(e),Ite(t,wR()?Reflect.construct(e,n||[],Ra(t).constructor):e.apply(t,n))}function Ste(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Tte(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ra(t){return Ra=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ra(t)}function Rte(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vh(t,e)}function Ite(t,e){return e&&(Bte(e)==="object"||typeof e=="function")?e:Pte(t)}function Vh(t,e){return Vh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vh(t,e)}function Bte(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function wR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(wR=function(){return!!t})()}var $R=function(t){Rte(e,t);function e(n){Ste(this,e);var o;o=Ete(this,e,[n]),Tte(o,"datasourceBind",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Bt.controlName;var i;return o.datasourceBind=new Ro((i=n==null?void 0:n.datasourceBind)!==null&&i!==void 0?i:{attributes:Bt.controlCustomAttributes}),o}return e}(q);function Ate(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kte(t,e,n){return e=Ia(e),Fte(t,ER()?Reflect.construct(e,n||[],Ia(t).constructor):e.apply(t,n))}function Dte(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function PR(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function xte(t,e,n){return e&&PR(t.prototype,e),n&&PR(t,n),t}function Hn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ia(t){return Ia=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ia(t)}function Lte(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&zh(t,e)}function Fte(t,e){return e&&(jte(e)==="object"||typeof e=="function")?e:Ate(t)}function zh(t,e){return zh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zh(t,e)}function jte(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ER(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ER=function(){return!!t})()}var Bt=function(t){Lte(e,t);function e(n){Dte(this,e);var o;return o=kte(this,e,[n]),Hn(o,"props",void 0),o.props=new $R(n==null?void 0:n.props),o}return xte(e,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),e}(te);Hn(Bt,"controlType","employee-column"),Hn(Bt,"controlName","\u4EBA\u5458"),Hn(Bt,"controlIcon","employee-column"),Hn(Bt,"controlFieldType",g.EMPLOYEES),Hn(Bt,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function Mte(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Nte(t,e,n){return e=Ba(e),Cte(t,SR()?Reflect.construct(e,n||[],Ba(t).constructor):e.apply(t,n))}function Vte(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ch(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ba(t){return Ba=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ba(t)}function zte(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hh(t,e)}function Cte(t,e){return e&&(Hte(e)==="object"||typeof e=="function")?e:Mte(t)}function Hh(t,e){return Hh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hh(t,e)}function Hte(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function SR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(SR=function(){return!!t})()}var TR=function(t){zte(e,t);function e(n){Vte(this,e);var o;return o=Nte(this,e,[n]),Ch(o,"props",void 0),o.props=new $R(n==null?void 0:n.props),o}return e}(ne);Ch(TR,"controlType","employee-column"),Ch(TR,"controlFieldType",g.EMPLOYEES);function qte(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ute(t,e,n){return e=Aa(e),Gte(t,RR()?Reflect.construct(e,n||[],Aa(t).constructor):e.apply(t,n))}function Wte(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Aa(t){return Aa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Aa(t)}function Kte(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Uh(t,e)}function Gte(t,e){return e&&(Xte(e)==="object"||typeof e=="function")?e:qte(t)}function Uh(t,e){return Uh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Uh(t,e)}function Xte(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function RR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(RR=function(){return!!t})()}var IR=function(t){Kte(e,t);function e(n){Wte(this,e);var o;o=Ute(this,e,[n]),qh(o,"lineEllipsis",void 0),qh(o,"showLinkOperation",void 0),qh(o,"linkOperationOption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:qn.controlName;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Xe(n==null?void 0:n.linkOperationOption);var u;return o.lineEllipsis=(u=n==null?void 0:n.lineEllipsis)!==null&&u!==void 0?u:1,o}return e}(q);function Qte(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Jte(t,e,n){return e=ka(e),ene(t,BR()?Reflect.construct(e,n||[],ka(t).constructor):e.apply(t,n))}function Zte(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function At(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ka(t){return ka=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ka(t)}function Yte(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Wh(t,e)}function ene(t,e){return e&&(tne(e)==="object"||typeof e=="function")?e:Qte(t)}function Wh(t,e){return Wh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wh(t,e)}function tne(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function BR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(BR=function(){return!!t})()}var qn=function(t){Yte(e,t);function e(n){Zte(this,e);var o;return o=Jte(this,e,[n]),At(o,"props",void 0),At(o,"children",void 0),o.props=new IR(n==null?void 0:n.props),o}return e}(te);At(qn,"controlType","approval-status-column"),At(qn,"controlName","\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),At(qn,"controlIcon","approval-status-column"),At(qn,"excludes",[]),At(qn,"setting",[{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0}]);function nne(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function one(t,e,n){return e=Da(e),une(t,AR()?Reflect.construct(e,n||[],Da(t).constructor):e.apply(t,n))}function rne(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Da(t){return Da=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Da(t)}function ine(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Gh(t,e)}function une(t,e){return e&&(cne(e)==="object"||typeof e=="function")?e:nne(t)}function Gh(t,e){return Gh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gh(t,e)}function cne(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function AR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(AR=function(){return!!t})()}var lne=function(t){ine(e,t);function e(n){rne(this,e);var o;return o=one(this,e,[n]),Kh(o,"props",void 0),Kh(o,"children",void 0),o.props=new IR(n==null?void 0:n.props),o}return e}(ne);Kh(lne,"controlType","approval-status-column");function ane(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kR(t,e,n){return e=xa(e),fne(t,LR()?Reflect.construct(e,n||[],xa(t).constructor):e.apply(t,n))}function DR(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ne(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function xa(t){return xa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xa(t)}function xR(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xh(t,e)}function fne(t,e){return e&&(_ne(e)==="object"||typeof e=="function")?e:ane(t)}function Xh(t,e){return Xh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xh(t,e)}function _ne(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function LR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(LR=function(){return!!t})()}var yne=function(t){xR(e,t);function e(n){DR(this,e);var o;return o=kR(this,e,[n]),o.push({type:"object",fields:{}}),o}return e}(mt),Qh=function(t){xR(e,t);function e(n){DR(this,e);var o;o=kR(this,e,[n]),Ne(o,"search",void 0),Ne(o,"cancel",void 0),Ne(o,"searchType",void 0),Ne(o,"labelPosition",void 0),Ne(o,"viewType",void 0),Ne(o,"isLoading",void 0),Ne(o,"custom",void 0),Ne(o,"queryTypeMap",void 0),Ne(o,"childMinWidth",void 0),Ne(o,"colGap",void 0);var r;o.searchType=(r=n==null?void 0:n.searchType)!==null&&r!==void 0?r:"model";var i;o.labelPosition=(i=n==null?void 0:n.labelPosition)!==null&&i!==void 0?i:"top";var u;o.viewType=(u=n==null?void 0:n.viewType)!==null&&u!==void 0?u:"mini";var c;o.search=new it((c=n==null?void 0:n.search)!==null&&c!==void 0?c:{content:"\u67E5\u8BE2",isShow:!0});var a;o.cancel=new it((a=n==null?void 0:n.cancel)!==null&&a!==void 0?a:{content:"\u91CD\u7F6E",isShow:!0});var l;o.isLoading=(l=n==null?void 0:n.isLoading)!==null&&l!==void 0?l:!1;var _;o.custom=((_=n==null?void 0:n.custom)!==null&&_!==void 0?_:[]).map(function(m){return new it(m)});var s;o.queryTypeMap=(s=n==null?void 0:n.queryTypeMap)!==null&&s!==void 0?s:[];var d;o.childMinWidth=(d=n==null?void 0:n.childMinWidth)!==null&&d!==void 0?d:230;var b;return o.colGap=(b=n==null?void 0:n.colGap)!==null&&b!==void 0?b:24,o}return e}(Cf);Ne(Qh,"RuntimeRules",yne);function sne(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function pne(t,e,n){return e=La(e),hne(t,FR()?Reflect.construct(e,n||[],La(t).constructor):e.apply(t,n))}function dne(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function La(t){return La=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},La(t)}function vne(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Zh(t,e)}function hne(t,e){return e&&(bne(e)==="object"||typeof e=="function")?e:sne(t)}function Zh(t,e){return Zh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zh(t,e)}function bne(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function FR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(FR=function(){return!!t})()}var jR=function(t){vne(e,t);function e(n){dne(this,e);var o;return o=pne(this,e,[n]),Jh(o,"props",void 0),o.props=new Qh(n==null?void 0:n.props),o}return e}(rx);Jh(jR,"controlType","simple-search"),Jh(jR,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0},{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE]},{key:"search-view-type",visible:!0}]);function gne(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mne(t,e,n){return e=Fa(e),$ne(t,MR()?Reflect.construct(e,n||[],Fa(t).constructor):e.apply(t,n))}function One(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Fa(t){return Fa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fa(t)}function wne(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&e0(t,e)}function $ne(t,e){return e&&(Pne(e)==="object"||typeof e=="function")?e:gne(t)}function e0(t,e){return e0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},e0(t,e)}function Pne(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function MR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(MR=function(){return!!t})()}var Ene=function(t){wne(e,t);function e(n){One(this,e);var o;o=mne(this,e,[n]),Yh(o,"props",void 0),Yh(o,"children",void 0),o.props=new Qh(n==null?void 0:n.props);var r;return o.children=(r=n==null?void 0:n.children)!==null&&r!==void 0?r:[],o}return e}(_x);Yh(Ene,"controlType","simple-search");const Sne=(t,e)=>{const n=Array.isArray(t),o=n?t:[t];Mne(e==null?void 0:e.events),kne(o),Dne(o);const r=Ane(o),i=xne(r,e);let u=Ft(U(i,c=>Bne(c,e)));return n?u:u[0]},Tne=[y.DIVIDER,y.TEXT,y.TITLE,y.LINK,y.BUTTON,"list-btn-export-list","list-btn-export-record"],Rne=["subtable","grid-table"],Ine=["simple-search"];function Bne(t,e){var r,i,u,c,a,l;let n=t;if(n.controlType||(n.is_layout_control===!0?n.controlType="layout":Tne.includes(n.type)?n.controlType="base":n.controlType="form",Rne.includes(n.type)&&(n.controlType="list"),Ine.includes(n.type)&&(n.controlType="search-view")),delete n.is_layout_control,t.props.lable_position&&(t.props.labelPosition=t.props.lable_position),t.props.select_mode&&(t.props.optionsFormat=t.props.select_mode),t.props.value&&(t.props.defaultValue=t.props.value),fe((r=t==null?void 0:t.props)==null?void 0:r.caption)&&(n.props.caption=t.props.caption.zh),fe((i=t==null?void 0:t.props)==null?void 0:i.placeholder)&&(n.props.placeholder=t.props.placeholder.zh),fe((u=t==null?void 0:t.props)==null?void 0:u.placeholder_end)&&(n.props.placeholder_end=t.props.placeholder_end.zh),t.type==="department-search"&&(n.type="department",t.props.value.length&&(n.props.default_value=t.props.value),n.props.showType=t.props.show_tree?"tree":"default",n.props.rangeOptions=t.props.department_list),t.type==="automatic-number"&&(n.type="auto-number",n.props.defaultValue=t.props.value),t.type==="file"&&(n.type="attachment",n.props.attachmentAccept=(c=t.attachment_format)==null?void 0:c.split(","),n.props.showType=t.props.show_type==="title"?"default":"table"),t.type==="image"&&(n.props.attachmentAccept=(a=t.attachment_format)==null?void 0:a.split(",")),t.type==="date-pick"&&(n.type="date-picker"),t.type==="rich-text"&&(fe(t.props.value)?n.props.defaultValue=t.props.value.zh:n.props.defaultValue=t.props.value),["link","text","button"].includes(t.type)&&(fe(t.props.value)?n.props.content=t.props.value.zh:n.props.content=t.props.value),t.type==="text"&&t.props.showState==="iconText"&&(n.props.showState="image"),t.type==="user-search"&&(n.type="employee",n.props.defaultValue=t.props.value),t.type==="address"&&(n.props.addressType=t.props.address_type_value),n.type==="subtable"){const _=n.props.entry_type||n.props.entryType;n.props.openType=_==="subpage"?"modal":"default",((l=n.children[0])==null?void 0:l.type)==="subtable-row"&&n.props.headers&&(n.props.headers=n.props.headers.map((s,d)=>{const b=new cK.Designer;b.props.caption=fe(s.field_name)?s.field_name.zh:s.field_name;const m=b.toSchema();m.id=s.header_id;const O=n.children[0].children[d].children[0];return O&&(m.children=[O]),m}),n.children=[])}if(n.type==="subtable-cell"&&(n.type="subtable-column"),["radio","checkbox","select","select-multiple"].includes(t.type)&&(t.props.options.map(_=>{_.label=fe(_.text)?_.text.zh:_.text,_.id=_.id||_.opt_id||_.optId||_.data_id}),n=t),t.type==="grid-row"){const _=24/n.children.length;n.children=n.children.map(s=>{const d=new tE.Designer;d.props.span=_;const b=d.toSchema();return b.children.push(s),b})}if(t.type==="grid-layout-row"&&(n.type="row"),t.type==="grid-layout-col"&&(n.type="col"),t.type==="group-panel"&&(n.type="card-group",n.props.collapse=n.props.flod==="no"?"none":n.props.flod),t.type==="tabs-pane"&&(n.type="tab-pane"),t.type==="calc"){const _=n==null?void 0:n.children[0],s=n==null?void 0:n.children[1],d={};_&&(NR(n,e),d.result=_.props.data_bind,n.id=_.id,n.props=_.props,n.props.script_src=_.props.script_src,n.props.script_echo=_.props.script_echo,n.props.precision=_.props.precision,n.props.micrometer=_.props.is_show_money,n.props.showUpperCase=_.props.is_show_chn),s&&(d.unit=s.props.data_bind,n.props.default_value={unit:s.props.value}),n.props.dataBind=d,delete n.children}if(t.type==="amount-currency"){n.type="amount",n.controlType="form";const _=n==null?void 0:n.children[0],s=n==null?void 0:n.children[1],d={},b={};_&&(NR(n,e),n.id=_.id,d.amount=_.props.data_bind,n.props.range_min=Lt(_.props.range_min),n.props.range_max=Lt(_.props.range_max),b.amount=Lt(_.props.value),n.props.required=_.props.required,n.props.is_hide=_.props.is_hide,n.props.default_state=_.props.default_state,n.props.caption=fe(_.props.caption)?_.props.caption.zh:_.props.caption,n.props.is_hide_caption=_.props.is_hide_caption,n.props.showUpperCase=_.props.is_show_chn),s&&(d.currency=s.props.data_bind,b.currency=s.props.value,n.props.datasourceBind=s.props.datasource_bind,n.props.options=s.props.options.map(m=>({label:m.text,value:m.value}))),n.props.dataBind=d,n.props.defaultValue=b,delete n.children}if(t.type==="date-range"){n.controlType="form";const _=n==null?void 0:n.children[0],s=n==null?void 0:n.children[1];n.props.placeholderStart=fe(t.props.placeholder)?t.props.placeholder.zh:t.props.placeholder,n.props.caption=fe(t.props.caption)?t.props.caption.zh:t.props.caption;const d={};_&&(d.min=_.props.data_bind),s&&(d.max=s.props.data_bind),n.props.dataBind=d,delete n.children}return t.type==="score"&&(n.props.defaultValue=n.props.value*1),["input","textarea"].includes(t.type)&&(n.props.defaultValue=fe(t.props.value)?t.props.value.zh:t.props.value),t.type==="number"&&(n.props.range_min=Lt(t.props.range_min),n.props.range_max=Lt(t.props.range_max),n.props.defaultValue=Lt(t.props.value)),t.type==="list-page-btn-custom-button"&&(t.type="button"),t.type==="button"&&t.props.button_type==="dashed"&&(n.props.buttonType="default"),Nne(n,e==null?void 0:e.control_events),n}function NR(t,e){if(!e)return;const{displayBoList:n=[],behaviors:o=[]}=e,r=t.id,i=t.children[0].id;n.forEach(u=>{u.id===r&&(u.id=i);const c=u.show_controls.findIndex(l=>l===r),a=u.hide_controls.findIndex(l=>l===r);c>-1&&u.show_controls.splice(c,1,i),a>-1&&u.hide_controls.splice(a,1,i)}),o.forEach(u=>{u.ctrl_id===r&&(u.id=i)})}function Ane(t){if(!Array.isArray(t)||!t.find(r=>r.type==="grid"))return t;const o=new IX.Designer().toSchema();return o.children=t,[o]}function kne(t){t.forEach(e=>{e.children&&jne(e.children)})}function Dne(t){t.forEach(e=>{var o,r;if(!(e&&e.children))return;const n=e.children;for(let i=0;i<n.length;i++){const u=n[i],c=(r=(o=n[i])==null?void 0:o.children)==null?void 0:r[0];u.type==="grid-row"&&c&&["group-panel","subtable","tab"].includes(c.type)&&n.splice(i,1,c)}})}function xne(t,e){var b,m,O,w,h,$,T,P;if(!(Array.isArray(t)&&t.length===1))return t;const n=t[0];if(n.type!=="list-page")return t;const{props:o,children:r}=n,[i,u,c]=r;Lne(i),c.props.is_fixed_header=(b=o==null?void 0:o.source_config)==null?void 0:b.is_fixed_header,Fne(c,u);const a=(O=(m=o==null?void 0:o.source_config)==null?void 0:m.data_code)!=null?O:e==null?void 0:e.dataCode,l=((h=(w=o==null?void 0:o.source_config)==null?void 0:w.svc_code)!=null?h:a)?`${a}_selectMore`:void 0,_=(T=($=o==null?void 0:o.source_config)==null?void 0:$.orders)!=null?T:[],s=new lX.Designer;s.props.datasourceBind=new G({dataCode:a,svcCode:l,orders:wA(_)}),s.props.isShowSubList=o.is_show_sublist,s.props.triggerType=o.timing_type,s.props.triggerFieldCode=o.ctrl_field_code,(P=o==null?void 0:o.sublist_page)==null||P.sublists.forEach(S=>{S.title=fe(S.title)?S.title.zh:S.title}),s.props.sublistPage=o.sublist_page;const d=s.toSchema();return d.children.push(i,c),[d]}function Lne(t){t.type="simple-search",t.control_type="search-view",t.children.forEach(e=>{var o,r;const n=fe(e.placeholder)?e.placeholder.zh:e.placeholder;e.type==="number-range"&&(e.type="search-number-range",e.placeholderStart=n,e.placeholderEnd=n),e.type==="date-pick"&&(e.type="search-date-range",e.placeholderStart=n,e.placeholderEnd=n,e.dateType=(r=(o=e.dateType)==null?void 0:o.replace)==null?void 0:r.call(o,/range$/)),(e.type==="automatic-number"||e.type==="auto-number")&&(e.type="search-input",e.props.defaultValue="")})}function Fne(t,e){t.children=e.children.filter(n=>n.type!=="list-page-btn-custom-head"),t.type="grid-table",t.props.sublist_page&&(t.props.sublist_page.form_bind={data_code:t.props.sublist_page.data_code,form_key:t.props.sublist_page.form_key}),Array.isArray(t.props.headers)&&(t.props.headers=t.props.headers.map(n=>{var r,i,u;let o={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:n.field_code,field_name:fe(n.field_name)?n.field_name.zh:n.field_name}};return o.props.caption=fe(n.field_name)?n.field_name.zh:n.field_name,o.props.filter_tags=n.is_filter_tags,o.props.fixed=n.fixed,o.props.display_bo_list=n.display_bo_list,o.props.date_type=n.date_type,o.props.optionConfig="none",n.header_width_config&&(o.props.widthType=n.header_width_config==="1"?"auto":"px"),o.props.widthType==="px"&&n.header_width&&(o.props.width=Number(n.header_width)),n.table_header_type==="order"?(o.type="order-column",o.props.fixed=!0):n.table_header_type==="operation"?(o.type="operation-column",o.props.check=(r=n.check)!=null?r:{},o.props.check.openType="window",o.props.delete=(i=n.delete)!=null?i:{},o.props.delete.openType="window",o.props.edit=(u=n.edit)!=null?u:{},o.props.edit.openType="window",o.props.fixed=!0):(o.type=n.field_type+"-column",n.field_type==="auto_number"&&(o.type="auto-number-column"),n.field_type==="relation"&&(o.type="varchar-column")),n.convert_switch&&(o.props.optionConfig=n.convert_type===1?"datasource":"custom"),o.props.optionConfig==="datasource"?o.props.datasource_bind=new G({svcCode:n.svc_code,displayBoList:n.display_bo_list,valueFieldCode:n.field_match,dataCode:n.field_source}):o.props.optionConfig==="custom"&&(o.props.options=n.custom_match_bo_list),o}))}function jne(t){var n;let e=null;for(let o=0;o<t.length;o++){const r=t[o];if(!!r){if(r.children&&((n=r.children[0])==null?void 0:n.type)==="group-panel"){e=r.children[0];continue}e&&(e.children.push(r),t.splice(o,1),o--)}}}function Mne(t){!t||(t.did_mount=t.did_mount.map(e=>e.name),t.will_submit=t.will_submit.map(e=>e.name),t.did_submit=t.did_submit.map(e=>e.name))}function Nne(t,e){var o;if(!e||!t.props.events)return;const n=Object.keys(t.props.events);!n.length||(n.forEach(r=>{!t.props.events[r].length||(e[t.id]||(e[t.id]={}),e[t.id][r]||(e[t.id][r]=[]),e[t.id][r].push(...t.props.events[r].map(i=>i.name)))}),(o=e[t.id])!=null&&o.on_blur&&(e[t.id].on_change||(e[t.id].on_change=[]),e[t.id].on_change.push(...e[t.id].on_blur)))}const Vne=(t,e)=>{const n=Array.isArray(t);let r=Ft(U(n?t:[t],i=>zne(i)));return n?r:r[0]};function zne(t,e){return t.type===y.LIST_VIEW&&t.children.find(o=>o.type===y.GRID_TABLE).props.headers.forEach(o=>{!o.props.data_bind&&o.props.field_code&&(o.props.data_bind=new Ae({dataCode:t.props.datasource_bind.data_code,fieldCode:o.props.field_code}))}),t}const Cne=(t,e)=>{const n=Array.isArray(t);let r=Ft(U(n?t:[t],i=>Hne(i)));return n?r:r[0]};function Hne(t,e){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(t.type)&&(t.props.button_type==="default"&&(t.props.button_type="secondary"),t.props.button_type==="danger"&&(t.props.button_type="secondary",t.props.color="danger"),t.props.icon||(t.props.icon="iconfenlei2")),t.type===y.IMPORT_RECORD_LIST_BUTTON&&(t.props.icon="iconshangchuan3"),t.type===y.EXPORT_LIST_BUTTON&&(t.props.icon="iconxiazai1"),t}const qne=(t,e)=>{const n=Array.isArray(t);let r=Ft(U(n?t:[t],i=>Une(i)));return n?r:r[0]};function Une(t,e){if(t.props.icon){let n=t.props.icon;switch(n){case"icongeren":n="iconyyzy-renyuan";break;case"iconjine1":n="iconcaiwu";break;case"iconhuibao":n="iconyyzy-tianxie";break;case"iconwenjian":n="iconyyzy-wenjianjia1";break;case"iconyingpin":n="iconyyzy-gongzuo";break;case"iconpiliangtijiaojilu":n="iconyyzy-renwu";break}t.props.icon=n}return t}const Wne=(t,e)=>{const n=Array.isArray(t);let r=Ft(U(n?t:[t],i=>Gne(i)));return n?r:r[0]},Kne=[y.ROW,y.TAB,y.SUBTABLE,y.GRID_ROW,y.CARD_GROUP];function Gne(t,e){return t.type===y.TAB_PANE&&(t.children=t.children.map(n=>{if(Kne.includes(n.type))return n;const o=new DW.Designer,r=new tE.Designer;o.children.push(r);const i=o.toSchema();return i.children[0].children.push(n),i})),t}const Xne=(t,e)=>{const n=Array.isArray(t);let r=Ft(U(n?t:[t],i=>Qne(i)));return n?r:r[0]};function Qne(t,e){return t.type===y.GRID_TABLE&&t.props.headers.forEach(n=>{n.type===y.OPERATION_COLUMN&&(n.props.check.priorityProcess=!0)}),t}const Jne=(t,e)=>{const n=Array.isArray(t);let r=U(n?t:[t],i=>Zne(i));return n?r:r[0]};function Zne(t,e){return t.type===y.SUBTABLE&&(t.props.default_rows=t.props.limit_rows),t}const Yne=(t,e)=>{const n=Array.isArray(t);let r=U(n?t:[t],i=>eoe(i));return n?r:r[0]};function gt(t,e){t.field_code&&(t.field_type=e)}function eoe(t,e){var o;const n={[y.TITLE]:g.AUTO_NUMBER,[y.ADDRESS]:g.ADDRESS,[y.ATTACHMENT]:g.FILE,[y.AUTO_NUMBER]:g.AUTO_NUMBER,[y.CHECKBOX]:g.ARRAY,[y.DATE_PICKER]:g.TIMESTAMP,[y.DEPARTMENT]:g.DEPARTMENTS,[y.DEPARTMENT2]:g.DEPARTMENTS,[y.EMPLOYEE]:g.EMPLOYEES,[y.EMPLOYEE2]:g.EMPLOYEES,[y.IMAGE]:g.IMAGE,[y.INPUT]:g.VARCHAR,[y.NUMBER]:g.DECIMAL,[y.RADIO]:g.VARCHAR,[y.RICH_TEXT]:g.TEXT,[y.SCORE]:g.DECIMAL,[y.SELECT]:g.VARCHAR,[y.SELECT_MULTIPLE]:g.ARRAY,[y.SELECT_RELATION]:g.VARCHAR,[y.TEXTAREA]:g.TEXT,[y.TREE]:g.ARRAY,[y.SEARCH_DATE_RANGE]:g.ARRAY,[y.SEARCH_INPUT]:g.VARCHAR,[y.SEARCH_NUMBER_RANGE]:g.ARRAY};return n.hasOwnProperty(t.type)&>(t.props.data_bind,n[t.type]),t.type===y.AMOUNT&&(gt(t.props.data_bind.amount,g.DECIMAL),gt(t.props.data_bind.currency,g.VARCHAR)),t.type===y.CALC&&(gt(t.props.data_bind.result,g.DECIMAL),gt(t.props.data_bind.unit,g.VARCHAR)),t.type===y.DATE_RANGE&&(gt(t.props.data_bind.min,g.TIMESTAMP),gt(t.props.data_bind.max,g.TIMESTAMP)),t.type===y.VUE_FORM_ITEM&>(t.props.data_bind,(o=t.field_type)!=null?o:g.ANY),t}const toe=(t,e)=>{const n=Array.isArray(t);let r=U(n?t:[t],i=>noe(i));return n?r:r[0]};function noe(t,e){return t.type===y.GRID_TABLE&&t.props.headers.forEach(n=>{n.type.endsWith("-column")&&(n.props.fixed?(n.props.fixed="left",n.type===y.OPERATION_COLUMN&&(n.props.fixed="right")):n.props.fixed="none")}),t}const ooe=(t,e)=>{const n=Array.isArray(t);let r=U(n?t:[t],i=>roe(i));return n?r:r[0]};function roe(t,e){return t.type===y.SIMPLE_SEARCH&&t.children.length&&(t.props.query_type_map||(t.props.query_type_map=[]),t.children.forEach(n=>{var o,r;[g.VARCHAR,g.TEXT,g.AUTO_NUMBER].includes((r=(o=n.props)==null?void 0:o.data_bind)==null?void 0:r.field_type)&&t.props.query_type_map.push({query_type:"LIKE",field_code:n.props.data_bind.field_code})})),t}const ioe=(t,e)=>{const n=Array.isArray(t);let r=U(n?t:[t],i=>uoe(i));return n?r:r[0]};function uoe(t,e){return[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(t.type)&&t.props.open_multistage_filling===void 0&&(t.props.open_multistage_filling=!0),t.type===y.SUBTABLE&&t.props.headers.forEach(n=>{[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),t}const coe=(t,e)=>{const n=Array.isArray(t);let r=U(n?t:[t],i=>loe(i));return n?r:r[0]};function loe(t,e){return[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(t.type)&&t.props.open_multistage_filling===void 0&&(t.props.open_multistage_filling=!0),t.type===y.SUBTABLE&&t.props.headers.forEach(n=>{[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),t}const aoe=(t,e)=>{const n=Array.isArray(t);let r=U(n?t:[t],i=>foe(i));return n?r:r[0]};function foe(t,e){return t.type===y.TITLE&&t.props.config.push(wt.ShowTitle),t.type===y.GRID_TABLE&&t.props.headers.map(n=>{var o,r,i,u,c,a,l,_,s,d,b,m,O,w,h,$,T,P,S,F,A,ue;if(n.type===y.OPERATION_COLUMN){if(n.props.width_type==="auto"?n.props.auto_width={min_width:120,max_width:120,flex:1}:n.props.width_type==="px"&&(n.props.auto_width={min_width:n.props.width,max_width:n.props.width,flex:1}),n.props.width_type="auto",n.children=(o=n==null?void 0:n.children)!=null?o:[],delete n.props.custom,((r=n.props)==null?void 0:r.check)!==void 0){const I=new ry.Designer;Object.defineProperty(I,"id",{value:"listPageCheckBtnId"}),I.props.code="view",I.props.icon="iconliulan1",I.props.command="view",I.props.content=(i=n.props)==null?void 0:i.check.content,I.props.priorityProcess=(u=n.props)==null?void 0:u.check.priority_process,I.props.openType=(c=n.props)==null?void 0:c.check.open_type,I.props.formKey=(a=n.props)==null?void 0:a.check.form_key,(l=n.props)!=null&&l.check.is_show&&n.children.push(I.toSchema()),(_=n.props)==null||delete _.check}if(((s=n.props)==null?void 0:s.edit)!==void 0){const I=new ry.Designer;Object.defineProperty(I,"id",{value:"listPageEditBtnId"}),I.props.code="edit",I.props.icon="iconbianji1",I.props.command="edit",I.props.content=(d=n.props)==null?void 0:d.edit.content,I.props.priorityProcess=(b=n.props)==null?void 0:b.edit.priority_process,I.props.openType=(m=n.props)==null?void 0:m.edit.open_type,I.props.formKey=(O=n.props)==null?void 0:O.edit.form_key,(w=n.props)!=null&&w.edit.is_show&&n.children.push(I.toSchema()),(h=n.props)==null||delete h.edit}if((($=n.props)==null?void 0:$.delete)!==void 0){const I=new ry.Designer;Object.defineProperty(I,"id",{value:"listPageDeleteBtnId"}),I.props.code="delete",I.props.icon="iconlajitong",I.props.command="delete",I.props.content=(T=n.props)==null?void 0:T.delete.content,I.props.priorityProcess=(P=n.props)==null?void 0:P.delete.priority_process,I.props.openType=(S=n.props)==null?void 0:S.delete.open_type,I.props.formKey=(F=n.props)==null?void 0:F.delete.form_key,I.props.needConfirm=!0,I.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",(A=n.props)!=null&&A.delete.is_show&&n.children.push(I.toSchema()),(ue=n.props)==null||delete ue.delete}}}),[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(t.type)&&t.props.open_multistage_filling===void 0&&(t.props.open_multistage_filling=!0),t.type===y.SUBTABLE&&t.props.headers.forEach(n=>{[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),t}const _oe=(t,e)=>{const n=Array.isArray(t);let r=U(n?t:[t],i=>yoe(i,e));return n?r:r[0]};function yoe(t,e){t.type===y.SUBTABLE&&t.props.headers.map(o=>{var i;o.props.meta_auto_width=new B0,o.props.width_type==="px"&&(o.props.meta_auto_width.pc.width=o.props.width,o.props.meta_auto_width.pc.width_type="px"),delete o.props.width,delete o.props.width_type;const r=(i=o.children)==null?void 0:i[0];r&&r.type===y.CALC&&r.props.calc_on_mounted===void 0&&(r.props.calc_on_mounted=!0)});const n={[y.SUBTABLE]:[{key:"page_index",value:1},{key:"page_size",value:10},{key:"page_size_options",value:[10,20,50,100]},{key:"total_count",value:0}],[y.GRID_TABLE]:[{key:"page_index",value:1},{key:"page_size",value:20},{key:"page_size_options",value:[10,20,50,100]},{key:"total_count",value:0},{key:"is_show_selection",value:!1}],[y.LIST_VIEW]:[{key:"selection_type",value:"multiple"},{key:"row_style_type",value:"none"},{key:"is_show_selection",value:!1}],[y.SIMPLE_SEARCH]:[{key:"col-gap",value:24},{key:"child-min-width",value:230}],[y.IMPORT_RECORD_LIST_BUTTON]:[{key:"template-type",value:"system"}]};return t.type in n&&n[t.type].forEach(o=>{t.props[o.key]===void 0&&(t.props[o.key]=o.value)}),t.type===y.GRID_TABLE&&t.props.headers.forEach(o=>{o.type===y.OPERATION_COLUMN&&(o.props.limit===void 0&&(o.props.limit=3),o.props.show_type===void 0&&(o.props.show_type="icon")),o.props.flex===void 0&&(o.props.flex=1),o.props.auto_width===void 0&&(o.props.auto_width=new Za)}),t.type===y.CALC&&t.props.calc_on_mounted===void 0&&(t.props.calc_on_mounted=!0),soe(e),t}function soe(t){if(!(!t||!t.listeners)){if(Object.keys(t.listeners).forEach(e=>{let n,o,r;t.listeners[e].forEach((i,u)=>{switch(i.event_key||i.eventKey){case"on_click_finish":o=i,r=u;break;case"on_click":n=i;break}}),o&&(o.cases[0].handlers.unshift(t0()),n?(o.cases.forEach(i=>{n.cases[0].handlers.push(i)}),t.listeners[e].splice(r,1)):o.event_key="on_click")}),!t.listeners.form_submit)t.listeners.form_submit=[{event_key:"on_click",event_param:[],cases:[poe()]}];else if(t.listeners.form_submit&&t.listeners.form_submit&&t.listeners.form_submit[0]&&t.listeners.form_submit[0].cases&&t.listeners.form_submit[0].cases[0]&&t.listeners.form_submit[0].cases[0].handlers){let e=!1;t.listeners.form_submit[0].cases[0].handlers.forEach(n=>{n.method==="actionOperate"&&(e=!0)}),e||t.listeners.form_submit[0].cases[0].handlers.push(t0())}}}function poe(){return{id:"case"+new Date().getTime(),name:"\u9ED8\u8BA4\u60C5\u5F62",match_type:"AND",match_rules:[],handlers:[t0()]}}function t0(){return{id:"handler"+new Date().getTime(),method:"actionOperate",params:{control_id:"",opt_type:"",opt_code:"",is_error_continue:!1}}}const doe=(t,e)=>{const n=Array.isArray(t);let r=U(n?t:[t],i=>voe(i,e));return n?r:r[0]};function voe(t,e){if(t.type===y.LIST_VIEW){if(t.props.is_show_selection===!1){const n=[y.BATCH_SUBMISSION_LIST_BUTTON,y.LIST_PAGE_BTN_BATCH_PRINT,y.BATCH_DELETE_LIST_BUTTON];t.children.forEach(o=>{o.type===y.GRID_TABLE&&o.children.map(u=>u.type).some(u=>n.includes(u))===!0&&(t.props.is_show_selection=!0,o.props.is_show_selection=!0)})}t.props.caption===""&&(t.props.caption=e==null?void 0:e.formName),t.props.is_all_loaded===void 0&&(t.props.is_all_loaded=!0)}return t.type===y.TEXTAREA&&t.props.auto_size===void 0&&(t.props.auto_size=!1),t.type===y.SUBTABLE&&t.props.mobile_default_num===void 0&&(t.props.mobile_default_num=t.props.mobile_show_type==="tile"?5:10),t.type===y.TREE&&t.props.default_display===void 0&&(t.props.default_display=!1),t.type===y.GRID_TABLE&&t.props.is_show_toolbar===void 0&&(t.props.is_show_toolbar=!0),t.type===y.NUMBER&&t.props.regular_rules===void 0&&(t.props.regular_rules=new Io),t}const hoe=(t,e)=>{const n=Array.isArray(t);let r=U(n?t:[t],i=>boe(i));return n?r:r[0]};function boe(t,e){return[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(t.type)&&(t.control_type="base"),t.type===y.SUBTABLE&&t.props.mobile_default_num===void 0&&(t.props.mobile_default_num=t.props.mobile_show_type==="tile"?5:10),t}const goe=(t,e)=>{const n=Array.isArray(t),o=n?t:[t],r={};let i=U(o,u=>{const c=moe(u);return r[u.id]=u,c});return Ooe(r,e),n?i:i[0]};function moe(t,e){if(t.type===y.ORGANIZATION_SELECTION){const n=t.props.selected_content_config,o=n==null?void 0:n.display_bo_list;o&&o.forEach(r=>{r.value==="org_type_code"&&(r.label="\u4E1A\u52A1\u7C7B\u578B"),r.value==="org_pattern_code"&&(r.label="\u7EC4\u7EC7\u5F62\u6001")})}return t.type===y.LIST_SELECT_BUTTON&&t.props.disable_filling===void 0&&(t.props.disable_filling=!1),t}function Ooe(t,e){var n,o;if((e==null?void 0:e.formType)===1&&(e==null?void 0:e.events)!==void 0){const r=(o=(n=e==null?void 0:e.events)==null?void 0:n.did_mount)!=null?o:[];r.length>0&&(e.events.did_init=r,e.events.did_mount=[]),e.events.did_init===void 0&&(e.events.did_init=[])}}var VR={"v1.0":Sne,"v2.0":Vne,"v2.1":Cne,"v2.2":qne,"v2.3":Wne,"v2.4":Xne,"v2.5":Jne,"v2.6":Yne,"v2.7":toe,"v2.8":ooe,"v2.9":ioe,"v2.10":coe,"v3.0":aoe,"v3.1":_oe,"v3.2":doe,"v3.3":hoe,"v3.4":goe,"v3.5":()=>{}};const zR=(t,e)=>{const n=CR(t),o=CR(e),r=n.pop(),i=o.pop(),u=UR(n,o);return u!==0?u:r&&i?UR(r.split("."),i.split(".")):r||i?r?-1:1:0},ja=(t,e,n)=>{Eoe(n);const o=zR(t,e);return WR[n].includes(o)},woe=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,CR=t=>{if(typeof t!="string")throw new TypeError("Invalid argument expected string");const e=t.match(woe);if(!e)throw new Error(`Invalid argument not valid semver ('${t}' received)`);return e.shift(),e},HR=t=>t==="*"||t==="x"||t==="X",qR=t=>{const e=parseInt(t,10);return isNaN(e)?t:e},$oe=(t,e)=>typeof t!=typeof e?[String(t),String(e)]:[t,e],Poe=(t,e)=>{if(HR(t)||HR(e))return 0;const[n,o]=$oe(qR(t),qR(e));return n>o?1:n<o?-1:0},UR=(t,e)=>{for(let n=0;n<Math.max(t.length,e.length);n++){const o=Poe(t[n]||"0",e[n]||"0");if(o!==0)return o}return 0},WR={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},KR=Object.keys(WR),Eoe=t=>{if(typeof t!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof t}`);if(KR.indexOf(t)===-1)throw new Error(`Invalid operator, expected one of ${KR.join("|")}`)};function n0(t){return t.replace(/^v/,"")}const Un=Object.keys(VR).map(t=>n0(t)).sort(zR),mo=Un[Un.length-1];class Soe{constructor(e,n=mo){this.schemaVersion=e,this.toVersion=n,ja(n,mo,">")?Qn(`Version Builder: The specified ${n} is an undefined version, and the current latest version is ${mo}`):(!Un.includes(n0(n))||!Un.includes(n0(e)))&&Qn(`Version Builder: Please give me a valid version number, The valid version is: ${Un.join(",")}, But give me a ${e}`)}dataCleaner(e,n){if(ja(this.toVersion,this.schemaVersion,"="))return e;const o=this.callDataCleanerKeys.reduce((r,i,u,c)=>{var s;const a=(s=c[u+1])!=null?s:this.toVersion;Po(`Version Builder: current version: ${i}, nextVersion: ${a}`);const l=VR[i];let _=r;if(typeof l=="function"){const d=l(r,n);d&&(_=d)}return _},e);return Po(`Version Builder: Version conversion completed, evolving from ${this.schemaVersion} to ${this.toVersion}`),o}get runDataCleanerKeys(){return Un.filter(e=>ja(e,this.schemaVersion,">=")&&ja(e,this.toVersion,"<"))}get callDataCleanerKeys(){return this.runDataCleanerKeys.map(e=>"v"+e)}get version(){return mo}static get version(){return mo}}Dt.VersionBuilder=Soe,Object.defineProperty(Dt,"__esModule",{value:!0})});
|