@byteluck-fe/model-driven-upgrade 4.36.0-lx5 → 6.1.0-1-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/upgrade/index.js +13 -5
- package/dist/esm/upgrade/v3_0.js +2 -1
- package/dist/esm/upgrade/v3_10.js +71 -0
- package/dist/esm/upgrade/v3_11.js +50 -0
- package/dist/esm/upgrade/v3_12.js +31 -0
- package/dist/esm/upgrade/v3_3.js +48 -0
- package/dist/esm/upgrade/v3_4.js +52 -37
- package/dist/esm/upgrade/v3_5.js +70 -13
- package/dist/esm/upgrade/v3_6.js +36 -35
- package/dist/esm/upgrade/v3_7.js +31 -32
- package/dist/esm/upgrade/v3_8.js +201 -0
- package/dist/index.umd.js +1 -1
- package/dist/types/types.d.ts +4 -0
- package/dist/types/upgrade/index.d.ts +5 -1
- package/dist/types/upgrade/v3_10.d.ts +3 -0
- package/dist/types/upgrade/v3_11.d.ts +3 -0
- package/dist/types/upgrade/v3_12.d.ts +3 -0
- package/dist/types/upgrade/v3_8.d.ts +3 -0
- package/package.json +5 -5
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(De,Xn){typeof exports=="object"&&typeof module!="undefined"?Xn(exports):typeof define=="function"&&define.amd?define(["exports"],Xn):(De=typeof globalThis!="undefined"?globalThis:De||self,Xn(De.modelDrivenUpgrade={}))})(this,function(De){"use strict";var Xn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",ZR="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",YR="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",t3="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",e3="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",n3="{caption}\u5FC5\u586B",o3="\u8BF7\u8F93\u5165\u6807\u9898",r3="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",i3="\u8BF7\u8F93\u5165\u884C\u6807\u9898",u3="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",c3="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",l3="\u8BF7\u7ED1\u5B9A\u8868\u5355",a3="\u8BF7\u7ED1\u5B9A\u5217\u8868",f3="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",_3="\u8BF7\u8F93\u5165\u663E\u793A\u503C",y3="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",s3="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",p3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",d3="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",v3="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",h3="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",b3="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",g3="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",m3="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",O3="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",w3="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",$3="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",P3="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",E3="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",S3="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",T3="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",R3="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",I3="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",B3="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",A3="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",k3="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",D3="\u8BF7\u7ED1\u5B9A\u670D\u52A1",x3="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",L3="\u8BF7\u9009\u62E9\u7701",F3="\u8BF7\u9009\u62E9\u5E02",j3="\u8BF7\u9009\u62E9\u533A",M3="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",N3="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",V3="\u8BF7\u8F93\u5165\u5217\u5BBD",z3="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",C3="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",H3="\u8BF7\u9009\u62E9\u63A7\u4EF6",q3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",U3="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",W3="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",K3="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",G3="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",X3="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Q3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",J3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Z3="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Y3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",tI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",eI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",nI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",oI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",rI="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",iI="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",uI="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",cI="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",lI="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",aI="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",fI="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",_I="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",yI="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",sI="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",pI="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",dI="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",vI="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",hI={isNotNumber:Xn,isNotString:ZR,isNotObject:YR,isNotArray:t3,isNotBoolean:e3,runtimeRequired:n3,pleaseEnterCaption:o3,pleaseEnterCaptionTip:r3,pleaseEnterRowCaption:i3,pleaseEnterPlaceholder:u3,pleaseEnterFieldCode:c3,pleaseEnterForm:l3,pleaseEnterList:a3,pleaseEnterProcess:f3,pleaseEnterLabel:_3,pleaseEnterValue:y3,bizKeyNotBindFiled:s3,pleaseSelectOneField:p3,pleaseEnterNumberRange:d3,pleaseEnterAValueGreaterThanMin:v3,pleaseEnterAValueLessThanMax:h3,numberRangeSetError:b3,stringRangeError:g3,attachmentMaxSize:m3,pleaseEnterTotalScoreSetting:O3,theTotalScoreMustNotBeLessThan1:w3,scoreDefaultValueRange:$3,attachmentLimitError:P3,PleaseReselectTheOptionalQuantity:E3,TheMaximumLengthIsGreaterThanTheMinimumLength:S3,TheMinimumLengthIsGreaterThanTheMaximumLength:T3,PleaseSelectTheCorrectOptionSettings:R3,optionIdIsRepeat:I3,optionIsRequired:B3,pleaseEnterDataCode:A3,pleaseEnterValueFieldCode:k3,pleaseEnterSvcCode:D3,pleaseBindAtLeastOneDisplayValue:x3,pleaseSelectProvince:L3,pleaseSelectCity:F3,pleaseSelectDistrict:j3,limitRowsCannotBeLessThan0:M3,TheNumberOfRowsCannotBeLessThanMinRows:N3,pleaseEnterColumnWidth:V3,pleaseSetTheLogicalRelationshipOfAllRuleConditions:z3,pleaseCompleteAllRulesAndConditions:C3,pleaseSelectControl:H3,pleaseSelectAtLeastOneColumn:q3,pleaseSelectFillBackMode:U3,pleaseSelectDashboard:W3,rootNodeIsRequired:K3,theViewNameCannotBeEmpty:G3,pleaseSelectOcrType:X3,pleaseSelectAtLeastOneFieldToFillIn:Q3,pleaseChooseAtLeastOne:J3,pleaseEnterButtonContent:Z3,pleaseEnterDataCodeInDataSetting:Y3,pleaseEnterValueFieldCodeInDataSetting:tI,pleaseEnterSvcCodeInDataSetting:eI,pleaseBindAtLeastOneDisplayValueInDataSetting:nI,rootNodeIsRequiredInDataSetting:oI,pleaseEnterMaxHeight:rI,pleaseEnter:iI,pleaseEnterWatermark:uI,pleaseEnterFileName:cI,pleaseUploadAtLeastOnePrintTemplate:lI,pleaseAssignBusiness:aI,pleaseAssignExternal:fI,pleaseEnterAliasCode:_I,pleaseSelectDataCode:yI,pleaseSelectSvcCode:sI,pleaseSelectJoinFieldCode:pI,pleaseSelectMainFieldCode:dI,pleaseSelectSortFieldCode:vI},bI="Please enter a number",gI="Please enter a string",mI="Please enter an object",OI="Please enter an array",wI="Please enter a boolean",$I="{caption} Required",PI="Please enter the title",EI="Please enter the bubble prompt",SI="Please enter the row title",TI="Please enter the prompt text",RI="Please bind data items",II="Please bind the form",BI="Please bind the list",AI="Please bind the process",kI="Please enter the displayed value",DI="Please enter the stored value",xI="The document number is not bound to the data item",LI="Please select at least one display field",FI="Please enter a value greater than or equal to {min} and less than or equal to {max}",jI="Please enter a value greater than or equal to {min}",MI="Please enter a value less than or equal to {max}",NI="The value range is set incorrectly",VI="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",zI="The attachment size must be between 0MB and 1000MB",CI="Please fill in the total score setting",HI="The total score cannot be less than 1",qI="The default value must be between {min} and {max}",UI="The number of attachments uploaded must be between {min} and {max}",WI="Please re-select the optional quantity",KI="The maximum length of the control must be greater than the minimum length",GI="The minimum length of the control must be less than the maximum length",XI="Please select the correct option setting",QI="Option ID cannot be repeated",JI="Please enter at least one option",ZI="Please bind the data source",YI="Please bind the stored value",tB="Please bind the service",eB="At least one display value must be bound",nB="Please select a province",oB="Please select a city",rB="Please select a district",iB="The minimum number of lines to fill in cannot be less than 0",uB="The number of rows cannot be less than {min} rows",cB="Please enter the column width",lB="Please set the logical relationship of all rule conditions",aB="Please complete all rules and conditions",fB="please select control",_B="Please select the dashboard",yB="View name cannot be empty",sB="Please select recognition type",pB="Please select at least one field to fill in",dB="Please select at least one",vB="Please enter the button title",hB="Please bind the business model in the data settings",bB="Please bind storage values in data settings",gB="Please bind the service in the data settings",mB="Please bind at least one display value in the data settings",OB="Please select the root node in the data settings",wB="Please enter the maximum height",$B="The input content cannot be empty",PB="Watermark cannot be empty",EB="File name cannot be empty",SB="Please upload at least one printing template!\uFF01",TB="Please select a specific business department",RB="Please select a specified external organization",IB="Please enter a sub table alias",BB="Please select the associated table to set the business model",AB="Please select the association table to set the binding service",kB="Select associated sub table fields",DB="Please select the associated main table field",xB="Please select the sort field",LB={isNotNumber:bI,isNotString:gI,isNotObject:mI,isNotArray:OI,isNotBoolean:wI,runtimeRequired:$I,pleaseEnterCaption:PI,pleaseEnterCaptionTip:EI,pleaseEnterRowCaption:SI,pleaseEnterPlaceholder:TI,pleaseEnterFieldCode:RI,pleaseEnterForm:II,pleaseEnterList:BI,pleaseEnterProcess:AI,pleaseEnterLabel:kI,pleaseEnterValue:DI,bizKeyNotBindFiled:xI,pleaseSelectOneField:LI,pleaseEnterNumberRange:FI,pleaseEnterAValueGreaterThanMin:jI,pleaseEnterAValueLessThanMax:MI,numberRangeSetError:NI,stringRangeError:VI,attachmentMaxSize:zI,pleaseEnterTotalScoreSetting:CI,theTotalScoreMustNotBeLessThan1:HI,scoreDefaultValueRange:qI,attachmentLimitError:UI,PleaseReselectTheOptionalQuantity:WI,TheMaximumLengthIsGreaterThanTheMinimumLength:KI,TheMinimumLengthIsGreaterThanTheMaximumLength:GI,PleaseSelectTheCorrectOptionSettings:XI,optionIdIsRepeat:QI,optionIsRequired:JI,pleaseEnterDataCode:ZI,pleaseEnterValueFieldCode:YI,pleaseEnterSvcCode:tB,pleaseBindAtLeastOneDisplayValue:eB,pleaseSelectProvince:nB,pleaseSelectCity:oB,pleaseSelectDistrict:rB,limitRowsCannotBeLessThan0:iB,TheNumberOfRowsCannotBeLessThanMinRows:uB,pleaseEnterColumnWidth:cB,pleaseSetTheLogicalRelationshipOfAllRuleConditions:lB,pleaseCompleteAllRulesAndConditions:aB,pleaseSelectControl:fB,pleaseSelectDashboard:_B,theViewNameCannotBeEmpty:yB,pleaseSelectOcrType:sB,pleaseSelectAtLeastOneFieldToFillIn:pB,pleaseChooseAtLeastOne:dB,pleaseEnterButtonContent:vB,pleaseEnterDataCodeInDataSetting:hB,pleaseEnterValueFieldCodeInDataSetting:bB,pleaseEnterSvcCodeInDataSetting:gB,pleaseBindAtLeastOneDisplayValueInDataSetting:mB,rootNodeIsRequiredInDataSetting:OB,pleaseEnterMaxHeight:wB,pleaseEnter:$B,pleaseEnterWatermark:PB,pleaseEnterFileName:EB,pleaseUploadAtLeastOnePrintTemplate:SB,pleaseAssignBusiness:TB,pleaseAssignExternal:RB,pleaseEnterAliasCode:IB,pleaseSelectDataCode:BB,pleaseSelectSvcCode:AB,pleaseSelectJoinFieldCode:kB,pleaseSelectMainFieldCode:DB,pleaseSelectSortFieldCode:xB},FB="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jB="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",MB="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",NB="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",VB="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",zB="{caption}\u5FC5\u9808",CB="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",HB="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",qB="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",UB="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",WB="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",KB="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",GB="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",XB="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",QB="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",JB="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ZB="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",YB="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",t1="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",e1="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",n1="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",o1="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",r1="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",i1="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",u1="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",c1="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",l1="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",a1="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",f1="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",_1="\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",y1="\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",s1="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",p1="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",d1="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",v1="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",h1="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",b1="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",g1="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",m1="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",O1="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",w1="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",$1="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",P1="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",E1="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",S1="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",T1="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",R1="please select control",I1="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",B1="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",A1="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",k1="\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",D1="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",x1="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",L1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",F1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",j1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",M1="\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",N1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",V1="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",z1="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",C1="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",H1="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",q1="\u5370\u5237\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u5C11\u306A\u304F\u3068\u30821\u3064\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\uFF01\uFF01",U1="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",W1="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",K1="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",G1="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",X1="\u95A2\u9023\u30C6\u30FC\u30D6\u30EB\u8A2D\u5B9A\u30D0\u30A4\u30F3\u30C9\u30B5\u30FC\u30D3\u30B9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Q1="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",J1="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Z1="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Y1={isNotNumber:FB,isNotString:jB,isNotObject:MB,isNotArray:NB,isNotBoolean:VB,runtimeRequired:zB,pleaseEnterCaption:CB,pleaseEnterCaptionTip:HB,pleaseEnterRowCaption:qB,pleaseEnterPlaceholder:UB,pleaseEnterFieldCode:WB,pleaseEnterForm:KB,pleaseEnterList:GB,pleaseEnterProcess:XB,pleaseEnterLabel:QB,pleaseEnterValue:JB,bizKeyNotBindFiled:ZB,pleaseSelectOneField:YB,pleaseEnterNumberRange:t1,pleaseEnterAValueGreaterThanMin:e1,pleaseEnterAValueLessThanMax:n1,numberRangeSetError:o1,stringRangeError:r1,attachmentMaxSize:i1,pleaseEnterTotalScoreSetting:u1,theTotalScoreMustNotBeLessThan1:c1,scoreDefaultValueRange:l1,attachmentLimitError:a1,PleaseReselectTheOptionalQuantity:f1,TheMaximumLengthIsGreaterThanTheMinimumLength:_1,TheMinimumLengthIsGreaterThanTheMaximumLength:y1,PleaseSelectTheCorrectOptionSettings:s1,optionIdIsRepeat:p1,optionIsRequired:d1,pleaseEnterDataCode:v1,pleaseEnterValueFieldCode:h1,pleaseEnterSvcCode:b1,pleaseBindAtLeastOneDisplayValue:g1,pleaseSelectProvince:m1,pleaseSelectCity:O1,pleaseSelectDistrict:w1,limitRowsCannotBeLessThan0:$1,TheNumberOfRowsCannotBeLessThanMinRows:P1,pleaseEnterColumnWidth:E1,pleaseSetTheLogicalRelationshipOfAllRuleConditions:S1,pleaseCompleteAllRulesAndConditions:T1,pleaseSelectControl:R1,pleaseSelectDashboard:I1,theViewNameCannotBeEmpty:B1,pleaseSelectOcrType:A1,pleaseSelectAtLeastOneFieldToFillIn:k1,pleaseChooseAtLeastOne:D1,pleaseEnterButtonContent:x1,pleaseEnterDataCodeInDataSetting:L1,pleaseEnterValueFieldCodeInDataSetting:F1,pleaseEnterSvcCodeInDataSetting:j1,pleaseBindAtLeastOneDisplayValueInDataSetting:M1,rootNodeIsRequiredInDataSetting:N1,pleaseEnterMaxHeight:V1,pleaseEnter:z1,pleaseEnterWatermark:C1,pleaseEnterFileName:H1,pleaseUploadAtLeastOnePrintTemplate:q1,pleaseAssignBusiness:U1,pleaseAssignExternal:W1,pleaseEnterAliasCode:K1,pleaseSelectDataCode:G1,pleaseSelectSvcCode:X1,pleaseSelectJoinFieldCode:Q1,pleaseSelectMainFieldCode:J1,pleaseSelectSortFieldCode:Z1},tA={zhCN:hI,enUS:LB,jaJP:Y1},eA="zh-CN";function bt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Po=function(e){return e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search",e}({}),y=function(e){return e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",e.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.ORGANIZATION_SELECTION="organization-selection",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.OPERATION_BUTTON="operation-button",e.EMPLOYEE_COLUMN="employee-column",e.Approval_Status_Column="approval-status-column",e.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.GRID_LAYOUT_CONTAINER="grid-layout-container",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.ACTION_BAR="action-bar",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2",e.GRID_LAYOUT_WRAP="grid-layout-wrap",e.SENSITIVEN_INFORMATION="sensitiven-information",e}({}),g=function(e){return e.VARCHAR="varchar",e.TEXT="text",e.ARRAY="array",e.ADDRESS="location",e.DECIMAL="decimal",e.DECIMAL_RANGE="decimal_range",e.TIMESTAMP="timestamp",e.EMPLOYEES="people",e.DEPARTMENTS="department",e.MONEY="money",e.TIMESCOPE="timescope",e.FILE="file",e.IMAGE="image",e.AUTO_NUMBER="auto_number",e.CALC="calc",e.RELATION="relation",e.LIST="list",e.RELATION_FIELD="relation-field",e.REFERENCE_FIELD="reference-field",e.CALC_FIELD="calc",e.JSON="json",e.BIGINT="bigint",e.ANY="ANY",e.ENCRYPTED_FIELD="encrypted_field",e}({}),at;at={},bt(at,"array","array-column"),bt(at,"auto_number","auto-number-column"),bt(at,"decimal","decimal-column"),bt(at,"department","department-column"),bt(at,"file","file-column"),bt(at,"image","image-column"),bt(at,"location","location-column"),bt(at,"people","employee-column"),bt(at,"text","text-column"),bt(at,"timescope","timescope-column"),bt(at,"timestamp","timestamp-column"),bt(at,"varchar","varchar-column"),bt(at,"relation","varchar-column");var xe=function(e){return e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime",e}({}),y0="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",nA=y0+"0123456789";function Rt(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",n=0;n<e;n++){var o=n===0?y0:nA,r=Math.random()*o.length;t+=o[parseInt(String(r),10)]}return t}function Va(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function oA(e){if(Array.isArray(e))return Va(e)}function rA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s0(e,t,n){return t=Qn(t),lA(e,Ca()?Reflect.construct(t,n||[],Qn(e).constructor):t.apply(e,n))}function p0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Eo(e,t,n){return Ca()?Eo=Reflect.construct:Eo=function(r,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(r,c),l=new a;return u&&Jn(l,u.prototype),l},Eo.apply(null,arguments)}function Qn(e){return Qn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qn(e)}function d0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jn(e,t)}function iA(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function uA(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function cA(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function lA(e,t){return t&&(aA(t)==="object"||typeof t=="function")?t:rA(e)}function Jn(e,t){return Jn=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jn(e,t)}function v0(e){return oA(e)||uA(e)||fA(e)||cA()}function aA(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fA(e,t){if(!!e){if(typeof e=="string")return Va(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Va(e,t)}}function za(e){var t=typeof Map=="function"?new Map:void 0;return za=function(o){if(o===null||!iA(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(o))return t.get(o);t.set(o,r)}function r(){return Eo(o,arguments,Qn(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Jn(r,o)},za(e)}function Ca(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ca=function(){return!!e})()}var Ha=console;function qa(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o,r=t.slice(1);(o=Ha).warn.apply(o,["\u{1F9D0} Driven Warning:"+t[0]].concat(v0(r)))}function So(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o,r=t.slice(1);(o=Ha).log.apply(o,["\u{1F680} Driven Log:"+t[0]].concat(v0(r)))}function _A(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Ua=function(e){d0(t,e);function t(n){p0(this,t);var o;return o=s0(this,t,[n]),o.name="\u{1F4A5} Driven Error",o.message=n?_A(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return t}(za(Error)),yA=function(e){d0(t,e);function t(n){p0(this,t);var o;return o=s0(this,t,[n]),o.name="\u{1F6A8} Driven Reference Error",o}return t}(Ua);function Zn(e){throw new Ua(e)}function h0(e){throw new yA(e)}function sA(e){Ha.error(new Ua(e))}var pA=Object.prototype.toString;function b0(e,t){return pA.call(e)==="[object "+t+"]"}function dA(e){return b0(e,"String")}function vA(e){return b0(e,"Promise")}var hA=function(){function e(t){var n,o;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((o=(n=t.messages)!==null&&n!==void 0?n:this.getPreImport(t.locale))!==null&&o!==void 0?o:{}),t.variableRegExp&&(this.variableRegExp=t.variableRegExp),this.setLocale(t.locale)}return e.prototype.setLocale=function(t){var n=this;this.locale=t,this._messageCache.clear();var o=this.getMessageData();vA(o)?o.then(function(r){n._messageCache.clear(),n.messages[n.localeInMessageKey]=r}):this.messages[this.localeInMessageKey]=o},e.prototype.getMessageData=function(){var t=this._messages[this.localeInMessageKey];return typeof t=="function"?t():t},e.prototype.translate=function(t,n,o){var r=this.getMessage(t);return r?this.formatMessage(r,o):this.formatMessage(n,o)},e.prototype.getMessage=function(t){if(this._messageCache.has(t))return this._messageCache.get(t);var n=this.getPathArray(t),o=n.reduce(function(r,i,u,c){if(r!==void 0){var a=r[i];if(!(u===c.length-1&&!dA(a)))return a}},this.message);return this._messageCache.set(t,o),o},e.prototype.formatMessage=function(t,n){return n?t.replace(this.variableRegExp,function(o,r){var i=n[r];return i!==void 0?String(i):o}):t},e.prototype.getPreImport=function(t){var n;if(window.okI18nPreImport){var o=this.getLocaleInMessageKey(t);return window.okI18nPreImport.hasOwnProperty(o)?window.okI18nPreImport:(n={},n[o]=window.okI18nPreImport,n)}},e.prototype.getPathArray=function(t){return t.split(".")},e.prototype.getLocaleInMessageKey=function(t){return t.replace(/-/g,"")},Object.defineProperty(e.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"message",{get:function(){var t;return(t=this.messages[this.localeInMessageKey])!==null&&t!==void 0?t:{}},enumerable:!1,configurable:!0}),e}();function bA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g0(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function gA(e,t,n){return t&&g0(e.prototype,t),n&&g0(e,n),e}function mA(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d=function(){function e(){bA(this,e)}return gA(e,null,[{key:"getMessage",value:function(n){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",o)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:eA;return new hA({locale:n,messages:tA})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),e}();mA(d,"$i18n",d.resetI18n());function OA(e,t,n){var o=t.replace(/\[(\d)]/g,function(i,u){return"."+u}).split("."),r=!1;return o.reduce(function(i,u,c,a){var l=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,u)){qa("Can not set ".concat(t,"'s ").concat(u," property in current %o, Because there is no ").concat(u," property on the %o"),i,i);return}return c===a.length-1&&!Object.is(l[u],n)&&(l[u]=n,r=!0),l[u]}},e),r}var wA=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Wa={exports:{}};(function(e){(function(t){var n=function(h,$,T){if(!l($)||s($)||p($)||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]"},p=function(h){return c.call(h)=="[object RegExp]"},b=function(h){return c.call(h)=="[object Boolean]"},m=function(h){return h=h-0,h===h},O=function(h,$){var T=$&&"process"in $?$.process:$;return typeof T!="function"?h:function(P,S){return T(P,h,S)}},w={camelize:r,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(h,$){return n(O(r,$),h)},decamelizeKeys:function(h,$){return n(O(u,$),h,$)},pascalizeKeys:function(h,$){return n(O(i,$),h)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=w:t.humps=w})(wA)})(Wa);var m0={};Object.defineProperty(m0,"__esModule",{value:!0});function Ka(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:Ka(t));{const t={};for(const n in e){const o=e[n];t[n]=typeof o!="object"||o===null?o:Ka(o)}return t}}var $A=m0.default=Ka;function PA(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oe(e){if(e!==void 0)return(typeof e=="undefined"?"undefined":PA(e))==="object"?$A(e):e}function ft(e){return O0(e)&&"zh"in e}function O0(e){return Object.prototype.toString.call(e)==="[object Object]"}function Ga(e){return Array.isArray(e)}function Le(e){return isNaN(parseFloat(e))?"":Number(e)}function EA(e){return e.reduce(function(t,n){return t.includes(n)||t.push(n),t},[])}function H(e,t){var n=[];return Array.isArray(e)&&(n=e.map(function(o){var r=o;return Array.isArray(o==null?void 0:o.children)&&(r.children=H(o.children,t)),Array.isArray(o==null?void 0:o.footers)&&(r.footers=H(o.footers,t)),t(r)})),n}function SA(e){return Wa.exports.camelizeKeys(e)}function Fe(e){return Wa.exports.decamelizeKeys(e)}function Xa(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function TA(e){if(Array.isArray(e))return Xa(e)}function w0(e,t,n,o,r,i,u){try{var c=e[i](u),a=c.value}catch(l){n(l);return}c.done?t(a):Promise.resolve(a).then(o,r)}function RA(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(a){w0(i,o,r,u,c,"next",a)}function c(a){w0(i,o,r,u,c,"throw",a)}u(void 0)})}}function IA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $0(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function BA(e,t,n){return t&&$0(e.prototype,t),n&&$0(e,n),e}function P0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function AA(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function kA(){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 Qa(e){return TA(e)||AA(e)||DA(e)||kA()}function DA(e,t){if(!!e){if(typeof e=="string")return Xa(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Xa(e,t)}}function xA(e,t){var n,o,r,i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},u=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return u.next=c(0),u.throw=c(1),u.return=c(2),typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function c(l){return function(_){return a([l,_])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,l[0]&&(i=0)),i;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return i.label++,{value:l[1],done:!1};case 5:i.label++,o=l[1],l=[0];continue;case 7:l=i.ops.pop(),i.trys.pop();continue;default:if(r=i.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){i=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){i.label=l[1];break}if(l[0]===6&&i.label<r[1]){i.label=r[1],r=l;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(l);break}r[2]&&i.ops.pop(),i.trys.pop();continue}l=t.call(e,i)}catch(_){l=[6,_],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var LA=function(){function e(){IA(this,e),P0(this,"_events",new Map),P0(this,"debug",!1)}return BA(e,[{key:"emit",value:function(n){for(var o=arguments.length,r=new Array(o>1?o-1:0),i=1;i<o;i++)r[i-1]=arguments[i];return RA(function(){var u,c,a,l,_,s,p,b,m,O,w,h;return xA(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]),p=a[Symbol.iterator](),$.label=2;case 2:if(l=(b=p.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&&So.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(Qa(r))),[4,m.apply(null,Qa(r))];case 4:return O=$.sent(),this.debug&&So.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(Qa(r),[O])),c.push(O),O===!1?[3,7]:[3,6];case 5:return w=$.sent(),sA(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&&p.return!=null&&p.return()}finally{if(_)throw s}return[7];case 10:return[2,c]}})}).call(this)}},{key:"on",value:function(n,o){if(this._events.has(n)){var r;(r=this._events.get(n))===null||r===void 0||r.push(o)}else this._events.set(n,[o])}},{key:"off",value:function(n,o){if(this._events.has(n)){var r=this._events.get(n),i=r==null?void 0:r.indexOf(o);r==null||r.splice(i,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),e}();function FA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function E0(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function jA(e,t,n){return t&&E0(e.prototype,t),n&&E0(e,n),e}function MA(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var NA=[{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"}],VA=function(){function e(){FA(this,e)}return jA(e,null,[{key:"getEventsFromKeys",value:function(n){var o=typeof n=="string"?[n]:n;return e.events.filter(function(r){return o.includes(r.key)})}},{key:"getEventsFromControl",value:function(n){var o=[],r=n.eventKeys;o=o.concat(e.events.filter(function(u){return r.includes(u.key)}));var i=n.customEvents.map(function(u){var c=u.key;return{key:c,code:u.key,name:u.name}});return o=o.concat(i),o}}]),e}();MA(VA,"events",NA);function Ja(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function zA(e){if(Array.isArray(e))return Ja(e)}function CA(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function HA(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function S0(e){return zA(e)||CA(e)||qA(e)||HA()}function qA(e,t){if(!!e){if(typeof e=="string")return Ja(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ja(e,t)}}function Za(e,t){var n;!((n=Object.getOwnPropertyDescriptors(e)[t])===null||n===void 0)&&n.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function T0(e,t,n){n!=="Runtime"&&(e.parent=t,Za(e,"parent"))}function UA(e,t,n){e.forEach(function(o){T0(o,t,n)})}var R0=Symbol("targetKey");function I0(e){var t;return(t=e[R0])!==null&&t!==void 0?t:e}function B0(e,t,n){return UA(e,t,n),new Proxy(e,{get:function(r,i){for(var u=arguments.length,c=new Array(u>2?u-2:0),a=2;a<u;a++)c[a-2]=arguments[a];var l;return i===R0?r:(l=Reflect).get.apply(l,[r,i].concat(S0(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(Ga(e)&&i==="length"&&u===e.length)return!0;var s=(_=Reflect).set.apply(_,[r,i,u].concat(S0(a)));return O0(u)&&T0(u,t,n),s}})}function Gt(e,t,n,o,r){var i=o!=null?o:e,u=B0(I0(n!=null?n:[]),i,r);Object.defineProperty(e,t,{get:function(){return u},set:function(a){u=B0(I0(a),i,r)},enumerable:!0})}function WA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function A0(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function KA(e,t,n){return t&&A0(e.prototype,t),n&&A0(e,n),e}function re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var k0=[],To=function(){function e(t){WA(this,e),re(this,"registeredControlTypes",new Set),re(this,"controlConfigMap",new Map),re(this,"_controls",[]),re(this,"_type",void 0),this._type=t,this._initControls(t)}return KA(e,[{key:"registerControlConfig",value:function(n,o){return this.controlConfigMap.set(n,o),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||Zn("".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===Po.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===Po.FORM}},{key:"isListControl",value:function(n){return n.controlType===Po.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===Po.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 Zn("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}}),Za(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]||[],p;return s.length!==l.length?p=s[0]:p=s[_],p}}}}),Za(n,"parent"))}},{key:"createControlInstance",value:function(n,o){var r=this.getControlFormType(n);if(r)return new r(o)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(o){return o.controlType===n})}},{key:"_initControls",value:function(n){var o=this;this.constructor.staticControls.forEach(function(r){o.register(r[n]),e.staticControlsRuntimeRules.set(r.Runtime.controlType,r.Property.RuntimeRules),r.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,o){var r=e.staticControlsRuntimeRules.get(n),i=[];if(r){var u=new r(o);i=Array.from(u)}return i}},{key:"register",value:function(n,o){var r=n.Designer,i=n.Runtime,u=n.Property;(!r||!i||!r.__is_control__||!i.__is_control__)&&Zn("".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}}]),e}();re(To,"staticControlsRuntimeRules",new Map),re(To,"staticControls",k0),re(To,"staticRegisteredTypes",new Set(k0.map(function(e){return e.Designer.controlType}))),re(To,"staticRegisteredConfigs",new Map);function GA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function It(e,t,n){return t=Ro(t),XA(e,D0()?Reflect.construct(t,n||[],Ro(e).constructor):t.apply(e,n))}function E(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ro(e){return Ro=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ro(e)}function Bt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ya(e,t)}function XA(e,t){return t&&(QA(t)==="object"||typeof t=="function")?t:GA(e)}function Ya(e,t){return Ya=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ya(e,t)}function QA(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function D0(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(D0=function(){return!!e})()}var At=function e(t){E(this,e),v(this,"dataCode",void 0),v(this,"fieldCode",void 0),v(this,"fieldType",void 0),v(this,"aliasCode",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.fieldCode=(o=t==null?void 0:t.fieldCode)!==null&&o!==void 0?o:"";var r;this.fieldType=(r=t==null?void 0:t.fieldType)!==null&&r!==void 0?r:"",this.aliasCode=t==null?void 0:t.aliasCode},tf=function e(t){E(this,e),v(this,"minWidth",void 0),v(this,"maxWidth",void 0),v(this,"flex",void 0);var n;this.minWidth=(n=t==null?void 0:t.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=t==null?void 0:t.maxWidth;var o;this.flex=(o=t==null?void 0:t.flex)!==null&&o!==void 0?o:1},ef=function(e){Bt(t,e);function t(n){E(this,t);var o;o=It(this,t,[n]),v(o,"width",void 0),v(o,"widthType",void 0);var r;o.width=(r=n==null?void 0:n.width)!==null&&r!==void 0?r:240;var i;return o.widthType=(i=n==null?void 0:n.widthType)!==null&&i!==void 0?i:"auto",o}return t}(tf),x0=function e(t){E(this,e),v(this,"pc",void 0),v(this,"mobile",void 0),this.pc=new ef(t==null?void 0:t.pc),this.mobile=t!=null&&t.mobile?new ef(t==null?void 0:t.mobile):new ef({width:130,minWidth:180})},JA=function e(t){E(this,e),v(this,"type",void 0),v(this,"customOptions",void 0);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"firstThree";var o;this.customOptions=(o=t==null?void 0:t.customOptions)!==null&&o!==void 0?o:[]},je=function e(t){E(this,e),v(this,"dataCode",void 0),v(this,"formKey",void 0),v(this,"appId",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var r;this.appId=(r=t==null?void 0:t.appId)!==null&&r!==void 0?r:""},ZA=function(e){Bt(t,e);function t(n){E(this,t);var o;o=It(this,t,[n]),v(o,"primaryControlId",void 0);var r;return o.primaryControlId=(r=n==null?void 0:n.primaryControlId)!==null&&r!==void 0?r:"",o}return t}(je),L0=function e(t){E(this,e),v(this,"fieldCode",void 0),v(this,"dataCode",void 0);var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.dataCode=(o=t==null?void 0:t.dataCode)!==null&&o!==void 0?o:""},nf=function e(t){E(this,e);var n;v(this,"appId",void 0),v(this,"formKey",void 0),v(this,"headers",void 0);var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var r;this.formKey=(r=t==null?void 0:t.formKey)!==null&&r!==void 0?r:"";var i;this.headers=(i=t==null||(n=t.headers)===null||n===void 0?void 0:n.map(function(u){return new L0(u)}))!==null&&i!==void 0?i:[]},YA=function e(t){E(this,e),v(this,"fieldName",void 0),v(this,"fieldCode",void 0),v(this,"fieldType",void 0);var n;this.fieldName=(n=t==null?void 0:t.fieldName)!==null&&n!==void 0?n:"";var o;this.fieldCode=(o=t==null?void 0:t.fieldCode)!==null&&o!==void 0?o:"";var r;this.fieldType=(r=t==null?void 0:t.fieldType)!==null&&r!==void 0?r:g.VARCHAR},tk=function(e){Bt(t,e);function t(n){E(this,t);var o;o=It(this,t,[n]),v(o,"title",void 0),v(o,"svcCode",void 0),v(o,"isOpenFilter",void 0),v(o,"filters",void 0);var r;o.title=(r=n==null?void 0:n.title)!==null&&r!==void 0?r:"";var i;o.svcCode=(i=n==null?void 0:n.svcCode)!==null&&i!==void 0?i:"";var u;o.isOpenFilter=(u=n==null?void 0:n.isOpenFilter)!==null&&u!==void 0?u:!1;var c;return o.filters=(c=n==null?void 0:n.filters)!==null&&c!==void 0?c:[],o}return t}(je),ek=function e(t){E(this,e);var n,o;v(this,"type","sublist-page"),v(this,"formBind",void 0),v(this,"displayFields",void 0),v(this,"sublists",void 0),this.formBind=new je(t==null?void 0:t.formBind);var r;this.displayFields=(r=t==null||(n=t.displayFields)===null||n===void 0?void 0:n.map(function(u){return new YA(u)}))!==null&&r!==void 0?r:[];var i;this.sublists=(i=t==null||(o=t.sublists)===null||o===void 0?void 0:o.map(function(u){return new tk(u)}))!==null&&i!==void 0?i:[]},nk=function e(t){E(this,e),v(this,"type",void 0),v(this,"value",void 0),v(this,"dataCode",void 0),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value,this.dataCode=t==null?void 0:t.dataCode},Me=function e(t){E(this,e),v(this,"type",void 0),v(this,"value",void 0),v(this,"displayBos",void 0);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"custom";var o;this.value=(o=t==null?void 0:t.value)!==null&&o!==void 0?o:[];var r;this.displayBos=(r=t==null?void 0:t.displayBos)!==null&&r!==void 0?r:[]},of=function e(t){var n=this;E(this,e),v(this,"id",void 0),v(this,"ruleId",void 0),v(this,"type","conditions"),v(this,"level",void 0),v(this,"value",void 0),v(this,"children",void 0);var o;this.id=(o=t==null?void 0:t.id)!==null&&o!==void 0?o:Rt();var r;this.ruleId=(r=t==null?void 0:t.ruleId)!==null&&r!==void 0?r:new Date().valueOf();var i;this.level=(i=t==null?void 0:t.level)!==null&&i!==void 0?i:0;var u;this.value=(u=t==null?void 0:t.value)!==null&&u!==void 0?u:"and",this.children=[],Array.isArray(t==null?void 0:t.children)&&(t==null||t.children.map(function(c){if(c.children!==void 0){var a,l=new e(c);(a=n.children)===null||a===void 0||a.push(l)}else{var _,s=new Io(c);(_=n.children)===null||_===void 0||_.push(s)}}))},Io=function e(t){E(this,e),v(this,"id",void 0),v(this,"ruleId",void 0),v(this,"type","condition"),v(this,"symbol",void 0),v(this,"checked",void 0),v(this,"describe",void 0),v(this,"leftVariableBo",void 0),v(this,"rightVariableBo",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Rt();var o;this.ruleId=(o=t==null?void 0:t.ruleId)!==null&&o!==void 0?o:new Date().valueOf();var r;this.symbol=(r=t==null?void 0:t.symbol)!==null&&r!==void 0?r:"";var i;this.checked=(i=t==null?void 0:t.checked)!==null&&i!==void 0?i:!1;var u;this.describe=(u=t==null?void 0:t.describe)!==null&&u!==void 0?u:"",this.leftVariableBo=new nk(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new Me(t==null?void 0:t.rightVariableBo)},ok=function e(t){E(this,e),v(this,"aliasCode",void 0),v(this,"datasourceBind",void 0),v(this,"relationFields",void 0);var n;this.aliasCode=(n=t==null?void 0:t.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new G(t==null?void 0:t.datasourceBind);var o;this.relationFields=(o=t==null?void 0:t.relationFields)!==null&&o!==void 0?o:[]},st=function e(t){E(this,e),v(this,"controlId",void 0),v(this,"fieldCode",void 0),v(this,"fieldType",void 0),v(this,"propName",void 0);var n;this.controlId=(n=t==null?void 0:t.controlId)!==null&&n!==void 0?n:"";var o;this.fieldCode=(o=t==null?void 0:t.fieldCode)!==null&&o!==void 0?o:"";var r;this.fieldType=(r=t==null?void 0:t.fieldType)!==null&&r!==void 0?r:"";var i;this.propName=(i=t==null?void 0:t.propName)!==null&&i!==void 0?i:""},rf=function e(t){E(this,e),v(this,"type",void 0),v(this,"value",void 0),v(this,"fieldType",void 0);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"FIELD";var o;this.value=(o=t==null?void 0:t.value)!==null&&o!==void 0?o:"",this.fieldType=t==null?void 0:t.fieldType},rk=function e(t){E(this,e),v(this,"columnName",void 0),v(this,"desc",void 0);var n;this.columnName=(n=t.columnName)!==null&&n!==void 0?n:"";var o;this.desc=(o=t.desc)!==null&&o!==void 0?o:!1};function uf(e){var t,n,o,r;this.filters=(r=e==null||(t=e.filters)===null||t===void 0?void 0:t.map(function(c){return c.children!==void 0?new of(c):new Io(c)}))!==null&&r!==void 0?r:[];var i;this.viewFilters=(i=e==null||(n=e.viewFilters)===null||n===void 0?void 0:n.map(function(c){return c.children!==void 0?new of(c):new Io(c)}))!==null&&i!==void 0?i:[];var u;this.orders=(u=e==null||(o=e.orders)===null||o===void 0?void 0:o.map(function(c){return new rk(c)}))!==null&&u!==void 0?u:[]}var G=function e(t){var n=this;E(this,e),v(this,"dataCode",void 0),v(this,"valueFieldCode",void 0),v(this,"displayBoList",void 0),v(this,"keywordMapping",void 0),v(this,"svcCode",void 0),v(this,"appId",void 0),v(this,"filters",void 0),v(this,"viewFilters",void 0),v(this,"isOpenViewFilters",void 0),v(this,"orders",void 0),v(this,"showOrder",void 0),v(this,"assignDepartment",void 0),v(this,"openAssignDepartment",void 0);var o;this.dataCode=(o=t==null?void 0:t.dataCode)!==null&&o!==void 0?o:"";var r;this.appId=(r=t==null?void 0:t.appId)!==null&&r!==void 0?r:"";var i;this.valueFieldCode=(i=t==null?void 0:t.valueFieldCode)!==null&&i!==void 0?i:"",this.displayBoList=[];var u;this.isOpenViewFilters=(u=t==null?void 0:t.isOpenViewFilters)!==null&&u!==void 0?u:0,Array.isArray(t==null?void 0:t.displayBoList)&&(t==null||t.displayBoList.map(function(s){var p;(p=n.displayBoList)===null||p===void 0||p.push(new rf(s))}));var c;this.keywordMapping=(c=t==null?void 0:t.keywordMapping)!==null&&c!==void 0?c:"";var a;this.showOrder=(a=t==null?void 0:t.showOrder)!==null&&a!==void 0?a:!0;var l;this.svcCode=(l=t==null?void 0:t.svcCode)!==null&&l!==void 0?l:"",this.assignDepartment=new Me(t==null?void 0:t.assignDepartment);var _;this.openAssignDepartment=(_=t==null?void 0:t.openAssignDepartment)!==null&&_!==void 0?_:!1,uf.call(this,t)},cf=function e(t){E(this,e),v(this,"dataCode",void 0),v(this,"displayBoList",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.displayBoList=(o=t==null?void 0:t.displayBoList)!==null&&o!==void 0?o:[]},Xt=function e(t){E(this,e),v(this,"code",void 0),v(this,"color",void 0),v(this,"command",void 0),v(this,"confirmMessage",void 0),v(this,"defaultState",void 0),v(this,"formKey",void 0),v(this,"formType",void 0),v(this,"icon",void 0),v(this,"needConfirm",void 0),v(this,"openType",void 0),v(this,"priorityProcess",void 0);var n;this.code=(n=t==null?void 0:t.code)!==null&&n!==void 0?n:"view";var o;this.color=(o=t==null?void 0:t.color)!==null&&o!==void 0?o:"primary";var r;this.command=(r=t==null?void 0:t.command)!==null&&r!==void 0?r:"view";var i;this.confirmMessage=(i=t==null?void 0:t.confirmMessage)!==null&&i!==void 0?i:void 0;var u;this.defaultState=(u=t==null?void 0:t.defaultState)!==null&&u!==void 0?u:"default";var c;this.formKey=(c=t==null?void 0:t.formKey)!==null&&c!==void 0?c:void 0,this.formType=t==null?void 0:t.formType;var a;this.icon=(a=t==null?void 0:t.icon)!==null&&a!==void 0?a:"iconliulan1";var l;this.needConfirm=(l=t==null?void 0:t.needConfirm)!==null&&l!==void 0?l:!1;var _;this.openType=(_=t==null?void 0:t.openType)!==null&&_!==void 0?_:"modal";var s;this.priorityProcess=(s=t==null?void 0:t.priorityProcess)!==null&&s!==void 0?s:!0},F0=function e(t){E(this,e);var n;v(this,"name",void 0),v(this,"key",void 0),v(this,"value",void 0);var o;this.name=(o=t==null?void 0:t.name)!==null&&o!==void 0?o:"";var r;this.key=(r=t==null?void 0:t.key)!==null&&r!==void 0?r:"";var i;this.value=(i=t==null||(n=t.value)===null||n===void 0?void 0:n.map(function(u){return new rf(u)}))!==null&&i!==void 0?i:[]},Bo=function(e){Bt(t,e);function t(n){E(this,t);var o,r;o=It(this,t,[n]),v(o,"attributes",void 0);var i;return o.attributes=(i=n==null||(r=n.attributes)===null||r===void 0?void 0:r.map(function(u){return new F0(u)}))!==null&&i!==void 0?i:[],o}return t}(G),ik=function(e){Bt(t,e);function t(n){E(this,t);var o,r;o=It(this,t,[n]),v(o,"attributes",void 0),v(o,"formCode",void 0);var i;o.attributes=(i=n==null||(r=n.attributes)===null||r===void 0?void 0:r.map(function(c){return new F0(c)}))!==null&&i!==void 0?i:[];var u;return o.formCode=(u=n==null?void 0:n.formCode)!==null&&u!==void 0?u:"",o}return t}(G),j0=function(e){Bt(t,e);function t(n){E(this,t);var o;o=It(this,t,[n]),v(o,"rootNode",void 0),v(o,"filterCode",void 0),o.rootNode=new Me(n==null?void 0:n.rootNode);var r;return o.filterCode=(r=n==null?void 0:n.filterCode)!==null&&r!==void 0?r:"",o}return t}(Bo),M0=function e(t){E(this,e);var n;v(this,"dataCode",void 0),v(this,"appId",void 0),v(this,"fillList",void 0);var o;this.dataCode=(o=t==null?void 0:t.dataCode)!==null&&o!==void 0?o:"";var r;this.appId=(r=t==null?void 0:t.appId)!==null&&r!==void 0?r:"";var i;this.fillList=(i=t==null||(n=t.fillList)===null||n===void 0?void 0:n.map(function(u){return new st(u)}))!==null&&i!==void 0?i:[]},N0=function(e){Bt(t,e);function t(n){E(this,t);var o;return o=It(this,t,[n]),v(o,"filters",void 0),v(o,"viewFilters",void 0),v(o,"orders",void 0),uf.call(o,n),o}return t}(M0),V0=function(e){Bt(t,e);function t(n){E(this,t);var o;o=It(this,t,[n]),v(o,"mode",void 0),v(o,"multiple",void 0);var r;o.mode=(r=n==null?void 0:n.mode)!==null&&r!==void 0?r:"current";var i;return o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1,o}return t}(M0),Ao=function e(t){E(this,e),v(this,"stencilName",void 0),v(this,"expression",void 0),v(this,"errMessage",void 0);var n;this.stencilName=(n=t==null?void 0:t.stencilName)!==null&&n!==void 0?n:"";var o;this.expression=(o=t==null?void 0:t.expression)!==null&&o!==void 0?o:"";var r;this.errMessage=(r=t==null?void 0:t.errMessage)!==null&&r!==void 0?r:""},uk=function e(t){E(this,e),v(this,"id",void 0),v(this,"label",void 0),v(this,"value",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Rt(8);var o;this.label=(o=t==null?void 0:t.label)!==null&&o!==void 0?o:"";var r;this.value=(r=t==null?void 0:t.value)!==null&&r!==void 0?r:this.label};function Qt(e){var t;return(t=e==null?void 0:e.map(function(n){return new uk(n)}))!==null&&t!==void 0?t:[]}var lf=function e(){E(this,e)},ck=function(e){Bt(t,e);function t(n){E(this,t);var o;return o=It(this,t),v(o,"amount",void 0),v(o,"currency",void 0),o.amount=new At(n==null?void 0:n.amount),o.currency=new At(n==null?void 0:n.currency),o}return t}(lf),lk=function e(t){E(this,e),v(this,"amount",void 0),v(this,"currency",void 0);var n;this.amount=(n=t==null?void 0:t.amount)!==null&&n!==void 0?n:"";var o;this.currency=(o=t==null?void 0:t.currency)!==null&&o!==void 0?o:"CNY"},ak=function(e){Bt(t,e);function t(n){E(this,t);var o;return o=It(this,t),v(o,"min",void 0),v(o,"max",void 0),o.min=new At(n==null?void 0:n.min),o.max=new At(n==null?void 0:n.max),o}return t}(lf),fk=function e(t){E(this,e),v(this,"min",void 0),v(this,"max",void 0);var n;this.min=(n=t==null?void 0:t.min)!==null&&n!==void 0?n:"";var o;this.max=(o=t==null?void 0:t.max)!==null&&o!==void 0?o:""},_k=function e(t){E(this,e),v(this,"city",void 0),v(this,"cityDisplay",void 0),v(this,"district",void 0),v(this,"districtDisplay",void 0),v(this,"province",void 0),v(this,"provinceDisplay",void 0);var n;this.city=(n=t==null?void 0:t.city)!==null&&n!==void 0?n:"";var o;this.cityDisplay=(o=t==null?void 0:t.cityDisplay)!==null&&o!==void 0?o:"";var r;this.district=(r=t==null?void 0:t.district)!==null&&r!==void 0?r:"";var i;this.districtDisplay=(i=t==null?void 0:t.districtDisplay)!==null&&i!==void 0?i:"";var u;this.province=(u=t==null?void 0:t.province)!==null&&u!==void 0?u:"";var c;this.provinceDisplay=(c=t==null?void 0:t.provinceDisplay)!==null&&c!==void 0?c:""},yk=function(e){Bt(t,e);function t(n){E(this,t);var o;return o=It(this,t),v(o,"result",void 0),v(o,"unit",void 0),o.result=new At(n==null?void 0:n.result),o.unit=new At(n==null?void 0:n.unit),o}return t}(lf),sk=function e(t){E(this,e),v(this,"result",void 0),v(this,"unit",void 0);var n;this.result=(n=t==null?void 0:t.result)!==null&&n!==void 0?n:0;var o;this.unit=(o=t==null?void 0:t.unit)!==null&&o!==void 0?o:""},pk=function(e){return e.CNY="CNY",e.USD="USD",e.JPY="JPY",e.EUR="EUR",e.INR="INR",e.IDR="IDR",e.BRL="BRL",e.AED="AED",e.AUD="AUD",e.CAD="CAD",e.EGP="EGP",e.GBP="GBP",e.ZAR="ZAR",e.KRW="KRW",e.MAD="MAD",e.MXN="MXN",e.MYR="MYR",e.PHP="PHP",e.PLN="PLN",e.RUB="RUB",e.SGD="SGD",e.THB="THB",e.TRY="TRY",e.TWD="TWD",e.VND="VND",e.HKD="HKD",e.IEP="IEP",e}({}),f=function(e){return e.DEFAULT_DISPLAY="defaultDisplay",e.REQUIRED="required",e.IS_HIDE="isHide",e.IS_SHOW_UNIT="isShowUnit",e.IMD_SEARCH="immediatelySearch",e.MULTIPLE="multiple",e.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",e.CAPTION="caption",e.IS_HIDE_CAPTION="isHideCaption",e.DEFAULT_SHOW_OPTIONS="defaultShowOptions",e.CAN_SEARCH="canSearch",e.CAN_CHECK="canCheck",e.CAN_EDIT="canEdit",e.CAN_DELETE="canDelete",e.SHOW_UPPER_CASE="showUpperCase",e.MICROMETER="micrometer",e.PRECISION="precision",e.PERCENTAGE="percentage",e.OPTIONAL_LEVEL="optionalLevel",e.CONTAINS_SUB_NODE="containsSubNode",e.DEFAULT_COLLAPSE="defaultCollapse",e.CAN_VIEW_FORM="canViewForm",e.VIEW_FORM_MODEL_TYPE="viewFormModelType",e.SERVER_PAGINATION="serverPagination",e.IS_SHOW_CAPTION_TIP="isShowCaptionTip",e.IS_SHOW_WATERMARK="isShowWatermark",e.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions",e.IS_PASTE="isPaste",e.CAPTION_SIZE="captionSize",e.CAPTION_COLOR="captionColor",e.IS_CAPTION_ITALIC="isCaptionItalic",e.ONLY_ALLOW_TAKE_PHOTO="onlyAllowTakePhoto",e.FORBID_DOWNLOAD="forbidDownload",e.ACCESS_CONTROL="accessControl",e}({}),dk=function(e){return e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT",e}({}),ie=function e(t){E(this,e),v(this,"isShow",void 0),v(this,"priorityProcess",void 0),v(this,"formKey",void 0),v(this,"content",void 0),v(this,"openType",void 0),v(this,"type",void 0);var n;this.isShow=(n=t==null?void 0:t.isShow)!==null&&n!==void 0?n:!0;var o;this.content=(o=t==null?void 0:t.content)!==null&&o!==void 0?o:"";var r;this.formKey=(r=t==null?void 0:t.formKey)!==null&&r!==void 0?r:"";var i;this.openType=(i=t==null?void 0:t.openType)!==null&&i!==void 0?i:"modal";var u;this.type=(u=t==null?void 0:t.type)!==null&&u!==void 0?u:"";var c;this.priorityProcess=(c=t==null?void 0:t.priorityProcess)!==null&&c!==void 0?c:!1},vk=function e(t){E(this,e);var n;v(this,"id",void 0),v(this,"title",void 0),v(this,"filters",void 0),v(this,"viewFilters",void 0),v(this,"headers",void 0);var o;this.id=(o=t==null?void 0:t.id)!==null&&o!==void 0?o:Rt(8);var r;this.title=(r=t==null?void 0:t.title)!==null&&r!==void 0?r:"";var i;this.headers=(i=t==null||(n=t.headers)===null||n===void 0?void 0:n.map(function(u){return new L0(u)}))!==null&&i!==void 0?i:[],uf.call(this,t)},hk=function e(t){E(this,e),v(this,"width",void 0),v(this,"height",void 0),v(this,"widthConfig",void 0),v(this,"heightConfig",void 0);var n;this.width=(n=t==null?void 0:t.width)!==null&&n!==void 0?n:"";var o;this.height=(o=t==null?void 0:t.height)!==null&&o!==void 0?o:"";var r;this.widthConfig=(r=t==null?void 0:t.widthConfig)!==null&&r!==void 0?r:"fill";var i;this.heightConfig=(i=t==null?void 0:t.heightConfig)!==null&&i!==void 0?i:"fill"},bk=function e(t){E(this,e),v(this,"optCode",void 0),v(this,"optType",void 0);var n;this.optCode=(n=t==null?void 0:t.optCode)!==null&&n!==void 0?n:"";var o;this.optType=(o=t==null?void 0:t.optType)!==null&&o!==void 0?o:""},gk=function e(t){E(this,e);var n;v(this,"id",void 0),v(this,"name",void 0),v(this,"color",void 0),v(this,"filters",void 0);var o;this.id=(o=t==null?void 0:t.id)!==null&&o!==void 0?o:Rt();var r;this.name=(r=t==null?void 0:t.name)!==null&&r!==void 0?r:"";var i;this.color=(i=t==null?void 0:t.color)!==null&&i!==void 0?i:"theme";var u;this.filters=(u=t==null||(n=t.filters)===null||n===void 0?void 0:n.map(function(c){return c.children!==void 0?new of(c):new Io(c)}))!==null&&u!==void 0?u:[]},mk=function e(t){E(this,e),v(this,"id",void 0),v(this,"script",void 0),v(this,"color",void 0);var n;this.id=(n=t.id)!==null&&n!==void 0?n:Rt();var o;this.script=(o=t.script)!==null&&o!==void 0?o:"";var r;this.color=(r=t.color)!==null&&r!==void 0?r:"theme"};function Ok(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wk(e,t,n){return t=Yn(t),Ek(e,_f()?Reflect.construct(t,n||[],Yn(e).constructor):t.apply(e,n))}function af(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ko(e,t,n){return _f()?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&&to(l,u.prototype),l},ko.apply(null,arguments)}function ue(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yn(e){return Yn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yn(e)}function $k(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&to(e,t)}function Pk(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Ek(e,t){return t&&(Sk(t)==="object"||typeof t=="function")?t:Ok(e)}function to(e,t){return to=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},to(e,t)}function Sk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ff(e){var t=typeof Map=="function"?new Map:void 0;return ff=function(o){if(o===null||!Pk(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(o))return t.get(o);t.set(o,r)}function r(){return ko(o,arguments,Yn(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),to(r,o)},ff(e)}function _f(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_f=function(){return!!e})()}var W=function e(t){af(this,e),ue(this,"isHide",{type:"boolean"})},me=function(e){$k(t,e);function t(n){return af(this,t),wk(this,t)}return t}(ff(Array)),X=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";af(this,e),ue(this,"isHide",void 0),ue(this,"className",void 0),ue(this,"style",void 0),ue(this,"caption",void 0);var o;this.isHide=(o=t==null?void 0:t.isHide)!==null&&o!==void 0?o:!1,this.style=new hk(t==null?void 0:t.style);var r;this.caption=(r=t==null?void 0:t.caption)!==null&&r!==void 0?r:n};ue(X,"mode",void 0),ue(X,"Rules",W),ue(X,"RuntimeRules",me);function Vt(){return Vt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Vt.apply(this,arguments)}function Tk(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function yf(e){return yf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yf(e)}function Do(e,t){return Do=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Do(e,t)}function Rk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function xo(e,t,n){return Rk()?xo=Reflect.construct:xo=function(r,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(r,c),l=new a;return u&&Do(l,u.prototype),l},xo.apply(null,arguments)}function Ik(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function sf(e){var t=typeof Map=="function"?new Map:void 0;return sf=function(o){if(o===null||!Ik(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(o))return t.get(o);t.set(o,r)}function r(){return xo(o,arguments,yf(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Do(r,o)},sf(e)}var Bk=/%[sdj%]/g,z0=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(z0=function(t,n){typeof console!="undefined"&&console.warn&&n.every(function(o){return typeof o=="string"})&&console.warn(t,n)});function pf(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var o=n.field;t[o]=t[o]||[],t[o].push(n)}),t}function gt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=1,r=t[0],i=t.length;if(typeof r=="function")return r.apply(null,t.slice(1));if(typeof r=="string"){var u=String(r).replace(Bk,function(c){if(c==="%%")return"%";if(o>=i)return c;switch(c){case"%s":return String(t[o++]);case"%d":return Number(t[o++]);case"%j":try{return JSON.stringify(t[o++])}catch(a){return"[Circular]"}break;default:return c}});return u}return r}function Ak(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function K(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||Ak(t)&&typeof e=="string"&&!e)}function kk(e,t,n){var o=[],r=0,i=e.length;function u(c){o.push.apply(o,c),r++,r===i&&n(o)}e.forEach(function(c){t(c,u)})}function C0(e,t,n){var o=0,r=e.length;function i(u){if(u&&u.length){n(u);return}var c=o;o=o+1,c<r?t(e[c],i):n([])}i([])}function Dk(e){var t=[];return Object.keys(e).forEach(function(n){t.push.apply(t,e[n])}),t}var H0=function(e){Tk(t,e);function t(n,o){var r;return r=e.call(this,"Async Validation Error")||this,r.errors=n,r.fields=o,r}return t}(sf(Error));function xk(e,t,n,o){if(t.first){var r=new Promise(function(s,p){var b=function(w){return o(w),w.length?p(new H0(w,pf(w))):s()},m=Dk(e);C0(m,n,b)});return r.catch(function(s){return s}),r}var i=t.firstFields||[];i===!0&&(i=Object.keys(e));var u=Object.keys(e),c=u.length,a=0,l=[],_=new Promise(function(s,p){var b=function(O){if(l.push.apply(l,O),a++,a===c)return o(l),l.length?p(new H0(l,pf(l))):s()};u.length||(o(l),s()),u.forEach(function(m){var O=e[m];i.indexOf(m)!==-1?C0(O,n,b):kk(O,n,b)})});return _.catch(function(s){return s}),_}function q0(e){return function(t){return t&&t.message?(t.field=t.field||e.fullField,t):{message:typeof t=="function"?t():t,field:t.field||e.fullField}}}function U0(e,t){if(t){for(var n in t)if(t.hasOwnProperty(n)){var o=t[n];typeof o=="object"&&typeof e[n]=="object"?e[n]=Vt(Vt({},e[n]),o):e[n]=o}}return e}function W0(e,t,n,o,r,i){e.required&&(!n.hasOwnProperty(e.field)||K(t,i||e.type))&&o.push(gt(r.messages.required,e.fullField))}function Lk(e,t,n,o,r){(/^\s+$/.test(t)||t==="")&&o.push(gt(r.messages.whitespace,e.fullField))}var df={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(t){return eo.number(t)&&parseInt(t,10)===t},float:function(t){return eo.number(t)&&!eo.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(n){return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!eo.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(df.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(df.url)},hex:function(t){return typeof t=="string"&&!!t.match(df.hex)}};function Fk(e,t,n,o,r){if(e.required&&t===void 0){W0(e,t,n,o,r);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],u=e.type;i.indexOf(u)>-1?eo[u](t)||o.push(gt(r.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&o.push(gt(r.messages.types[u],e.fullField,e.type))}function jk(e,t,n,o,r){var i=typeof e.len=="number",u=typeof e.min=="number",c=typeof e.max=="number",a=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l=t,_=null,s=typeof t=="number",p=typeof t=="string",b=Array.isArray(t);if(s?_="number":p?_="string":b&&(_="array"),!_)return!1;b&&(l=t.length),p&&(l=t.replace(a,"_").length),i?l!==e.len&&o.push(gt(r.messages[_].len,e.fullField,e.len)):u&&!c&&l<e.min?o.push(gt(r.messages[_].min,e.fullField,e.min)):c&&!u&&l>e.max?o.push(gt(r.messages[_].max,e.fullField,e.max)):u&&c&&(l<e.min||l>e.max)&&o.push(gt(r.messages[_].range,e.fullField,e.min,e.max))}var Ne="enum";function Mk(e,t,n,o,r){e[Ne]=Array.isArray(e[Ne])?e[Ne]:[],e[Ne].indexOf(t)===-1&&o.push(gt(r.messages[Ne],e.fullField,e[Ne].join(", ")))}function Nk(e,t,n,o,r){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||o.push(gt(r.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var i=new RegExp(e.pattern);i.test(t)||o.push(gt(r.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var k={required:W0,whitespace:Lk,type:Fk,range:jk,enum:Mk,pattern:Nk};function Vk(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(K(t,"string")&&!e.required)return n();k.required(e,t,o,i,r,"string"),K(t,"string")||(k.type(e,t,o,i,r),k.range(e,t,o,i,r),k.pattern(e,t,o,i,r),e.whitespace===!0&&k.whitespace(e,t,o,i,r))}n(i)}function zk(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(K(t)&&!e.required)return n();k.required(e,t,o,i,r),t!==void 0&&k.type(e,t,o,i,r)}n(i)}function Ck(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(t===""&&(t=void 0),K(t)&&!e.required)return n();k.required(e,t,o,i,r),t!==void 0&&(k.type(e,t,o,i,r),k.range(e,t,o,i,r))}n(i)}function Hk(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(K(t)&&!e.required)return n();k.required(e,t,o,i,r),t!==void 0&&k.type(e,t,o,i,r)}n(i)}function qk(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(K(t)&&!e.required)return n();k.required(e,t,o,i,r),K(t)||k.type(e,t,o,i,r)}n(i)}function Uk(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(K(t)&&!e.required)return n();k.required(e,t,o,i,r),t!==void 0&&(k.type(e,t,o,i,r),k.range(e,t,o,i,r))}n(i)}function Wk(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(K(t)&&!e.required)return n();k.required(e,t,o,i,r),t!==void 0&&(k.type(e,t,o,i,r),k.range(e,t,o,i,r))}n(i)}function Kk(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(t==null&&!e.required)return n();k.required(e,t,o,i,r,"array"),t!=null&&(k.type(e,t,o,i,r),k.range(e,t,o,i,r))}n(i)}function Gk(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(K(t)&&!e.required)return n();k.required(e,t,o,i,r),t!==void 0&&k.type(e,t,o,i,r)}n(i)}var Xk="enum";function Qk(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(K(t)&&!e.required)return n();k.required(e,t,o,i,r),t!==void 0&&k[Xk](e,t,o,i,r)}n(i)}function Jk(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(K(t,"string")&&!e.required)return n();k.required(e,t,o,i,r),K(t,"string")||k.pattern(e,t,o,i,r)}n(i)}function Zk(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(K(t,"date")&&!e.required)return n();if(k.required(e,t,o,i,r),!K(t,"date")){var c;t instanceof Date?c=t:c=new Date(t),k.type(e,c,o,i,r),c&&k.range(e,c.getTime(),o,i,r)}}n(i)}function Yk(e,t,n,o,r){var i=[],u=Array.isArray(t)?"array":typeof t;k.required(e,t,o,i,r,u),n(i)}function vf(e,t,n,o,r){var i=e.type,u=[],c=e.required||!e.required&&o.hasOwnProperty(e.field);if(c){if(K(t,i)&&!e.required)return n();k.required(e,t,o,u,r,i),K(t,i)||k.type(e,t,o,u,r)}n(u)}function t2(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(K(t)&&!e.required)return n();k.required(e,t,o,i,r)}n(i)}var no={string:Vk,method:zk,number:Ck,boolean:Hk,regexp:qk,integer:Uk,float:Wk,array:Kk,object:Gk,enum:Qk,pattern:Jk,date:Zk,url:vf,hex:vf,email:vf,required:Yk,any:t2};function hf(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var bf=hf();function ce(e){this.rules=null,this._messages=bf,this.define(e)}ce.prototype={messages:function(t){return t&&(this._messages=U0(hf(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if(typeof t!="object"||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var n,o;for(n in t)t.hasOwnProperty(n)&&(o=t[n],this.rules[n]=Array.isArray(o)?o:[o])},validate:function(t,n,o){var r=this;n===void 0&&(n={}),o===void 0&&(o=function(){});var i=t,u=n,c=o;if(typeof u=="function"&&(c=u,u={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(),Promise.resolve();function a(O){var w,h=[],$={};function T(P){if(Array.isArray(P)){var S;h=(S=h).concat.apply(S,P)}else h.push(P)}for(w=0;w<O.length;w++)T(O[w]);h.length?$=pf(h):(h=null,$=null),c(h,$)}if(u.messages){var l=this.messages();l===bf&&(l=hf()),U0(l,u.messages),u.messages=l}else u.messages=this.messages();var _,s,p={},b=u.keys||Object.keys(this.rules);b.forEach(function(O){_=r.rules[O],s=i[O],_.forEach(function(w){var h=w;typeof h.transform=="function"&&(i===t&&(i=Vt({},i)),s=i[O]=h.transform(s)),typeof h=="function"?h={validator:h}:h=Vt({},h),h.validator=r.getValidationMethod(h),h.field=O,h.fullField=h.fullField||O,h.type=r.getType(h),h.validator&&(p[O]=p[O]||[],p[O].push({rule:h,value:s,source:i,field:O}))})});var m={};return xk(p,u,function(O,w){var h=O.rule,$=(h.type==="object"||h.type==="array")&&(typeof h.fields=="object"||typeof h.defaultField=="object");$=$&&(h.required||!h.required&&O.value),h.field=O.field;function T(F,A){return Vt(Vt({},A),{},{fullField:h.fullField+"."+F})}function P(F){F===void 0&&(F=[]);var A=F;if(Array.isArray(A)||(A=[A]),!u.suppressWarning&&A.length&&ce.warning("async-validator:",A),A.length&&h.message!==void 0&&(A=[].concat(h.message)),A=A.map(q0(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(q0(h)):u.error&&(A=[u.error(h,gt(u.messages.required,h.field))]),w(A);var ut={};if(h.defaultField)for(var I in O.value)O.value.hasOwnProperty(I)&&(ut[I]=h.defaultField);ut=Vt(Vt({},ut),O.rule.fields);for(var Wt in ut)if(ut.hasOwnProperty(Wt)){var $o=Array.isArray(ut[Wt])?ut[Wt]:[ut[Wt]];ut[Wt]=$o.map(T.bind(null,Wt))}var Gn=new ce(ut);Gn.messages(u.messages),O.rule.options&&(O.rule.options.messages=u.messages,O.rule.options.error=u.error),Gn.validate(O.value,O.rule.options||u,function(ke){var Kt=[];A&&A.length&&Kt.push.apply(Kt,A),ke&&ke.length&&Kt.push.apply(Kt,ke),w(Kt.length?Kt:null)})}}var S;h.asyncValidator?S=h.asyncValidator(h,O.value,P,O.source,u):h.validator&&(S=h.validator(h,O.value,P,O.source,u),S===!0?P():S===!1?P(h.message||h.field+" fails"):S instanceof Array?P(S):S instanceof Error&&P(S.message)),S&&S.then&&S.then(function(){return P()},function(F){return P(F)})},function(O){a(O)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!no.hasOwnProperty(t.type))throw new Error(gt("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if(typeof t.validator=="function")return t.validator;var n=Object.keys(t),o=n.indexOf("message");return o!==-1&&n.splice(o,1),n.length===1&&n[0]==="required"?no.required:no[this.getType(t)]||!1}},ce.register=function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");no[t]=n},ce.warning=z0,ce.messages=bf,ce.validators=no;var e2={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 n2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new ce(e);return n.messages(Object.assign(e2,t)),n}var o2=new LA;function gf(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function r2(e){if(Array.isArray(e))return e}function i2(e){if(Array.isArray(e))return gf(e)}function K0(e,t,n,o,r,i,u){try{var c=e[i](u),a=c.value}catch(l){n(l);return}c.done?t(a):Promise.resolve(a).then(o,r)}function G0(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(a){K0(i,o,r,u,c,"next",a)}function c(a){K0(i,o,r,u,c,"throw",a)}u(void 0)})}}function u2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function X0(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function c2(e,t,n){return t&&X0(e.prototype,t),n&&X0(e,n),e}function M(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Q0(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function J0(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function l2(){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 a2(){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 Z0(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){M(e,r,n[r])})}return e}function f2(e){return r2(e)||J0(e)||Y0(e)||l2()}function mf(e){return i2(e)||J0(e)||Y0(e)||a2()}function _2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Y0(e,t){if(!!e){if(typeof e=="string")return gf(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return gf(e,t)}}function tb(e,t){var n,o,r,i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},u=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return u.next=c(0),u.throw=c(1),u.return=c(2),typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function c(l){return function(_){return a([l,_])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,l[0]&&(i=0)),i;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return i.label++,{value:l[1],done:!1};case 5:i.label++,o=l[1],l=[0];continue;case 7:l=i.ops.pop(),i.trys.pop();continue;default:if(r=i.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){i=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){i.label=l[1];break}if(l[0]===6&&i.label<r[1]){i.label=r[1],r=l;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(l);break}r[2]&&i.ops.pop(),i.trys.pop();continue}l=t.call(e,i)}catch(_){l=[6,_],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var V=function(){function t(n){var o=this;u2(this,t),M(this,"id",void 0),M(this,"name",void 0),M(this,"icon",void 0),M(this,"type",void 0),M(this,"controlType",void 0),M(this,"props",void 0),M(this,"setting",[]),M(this,"fieldType",void 0),M(this,"eventKeys",[]),M(this,"customEvents",[]),M(this,"parent",null),M(this,"updateSetting",nb),M(this,"removeSetting",eb),this._callControlHooks("preInstance",n);var r=Q0(this,t)?this.constructor:void 0,i=r.controlName,u=r.controlIcon,c=r.controlType,a=r.controlFieldType,l=r.controlEventKeys,_=r.controlCustomEvents,s=r.name,p=r.setting;i&&u&&c||h0("The ".concat(s," controlName,controlIcon,controlType is not define"));var b;this.id=(b=n==null?void 0:n.id)!==null&&b!==void 0?b:Rt(10),this.name=i,this.icon=u;var m;this.type=(m=n==null?void 0:n.type)!==null&&m!==void 0?m:c,this.props=new X(n==null?void 0:n.props,(Q0(this,t)?this.constructor:void 0).controlName);var O;this.controlType=(O=n==null?void 0:n.controlType)!==null&&O!==void 0?O:"base",this.setting=oe(p);var w;this.fieldType=(w=n==null?void 0:n.fieldType)!==null&&w!==void 0?w:a,this.eventKeys=oe(l),this.customEvents=oe(_),Promise.resolve().then(function(){o._callControlHooks("postInstance",n)})}return c2(t,[{key:"rules",get:function(){var o=this.props.constructor.Rules;return o?new o(this.props):{}}},{key:"_callControlHooks",value:function(){for(var o=arguments.length,r=new Array(o),i=0;i<o;i++)r[i]=arguments[i];var u,c=f2(r),a=c[0],l=c.slice(1);return(u=o2).emit.apply(u,[a,this].concat(mf(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),OA(this.props,o,r),this.postUpdate(o,r)}},{key:"preValidate",value:function(){return G0(function(){var o,r,i;return tb(this,function(u){switch(u.label){case 0:return o=Z0({},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 G0(function(){var i,u,c,a;return tb(this,function(l){switch(l.label){case 0:return[4,this.preValidate()];case 1:i=l.sent(),u=i!==void 0?i:Z0({},this.rules),Array.isArray(r)&&r.forEach(function(_){u.hasOwnProperty(_)&&delete u[_]}),c=n2(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,p=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 p!==void 0&&(h.required=p),b!==void 0&&(h.maxLength=b),O!==void 0&&(h.encrypted=O),w!==void 0&&(h.encryptedMode=w),h}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:oe(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(o,r){if(o==="setting"){if(r.add){var i;(i=this.setting).push.apply(i,mf(r.add))}r.remove&&this.removeSettingItem(r.remove),r.update}}}]),t}();M(V,"mode","Designer"),M(V,"controlName","\u63A7\u4EF6"),M(V,"controlIcon","icon"),M(V,"controlType","control"),M(V,"controlFieldType",void 0),M(V,"controlEventKeys",[]),M(V,"controlCustomEvents",[]),M(V,"setting",[]),M(V,"__is_control__",!0),M(V,"removeSettingItem",eb),M(V,"updateSettingItem",nb);function eb(e){var t=this,n=Array.isArray(e)?e:[e];n.forEach(function(o){var r,i=typeof o!="string",u=(r=t.setting)===null||r===void 0?void 0:r.findIndex(function(l){return l.key===(i?o.key:o)});if(u!==-1){var c,a;i?t.setting[u].showItems=(c=t.setting[u].showItems)===null||c===void 0?void 0:c.filter(function(l){return!o.hideItems.includes(l)}):t.setting.splice(u,1),i&&!(!((a=t.setting[u].showItems)===null||a===void 0)&&a.length)&&t.setting.splice(u,1)}})}function nb(e,t){var n=this,o=typeof e=="string"?[e]:e;o.forEach(function(r){var i=n.setting.find(function(l){return l.key===r});if(i){if(typeof t=="boolean")i.visible=t;else if((typeof t=="undefined"?"undefined":_2(t))==="object"){var u,c=(u=t.type)!==null&&u!==void 0?u:"replace";if(c==="replace")i.showItems=t.showItems;else{var a;(a=i.showItems).push.apply(a,mf(t.showItems))}}}})}function y2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ob(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function s2(e,t,n){return t&&ob(e.prototype,t),n&&ob(e,n),e}function mt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p2(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var Jt=function(){function t(n){y2(this,t),mt(this,"id",void 0),mt(this,"type",void 0),mt(this,"controlType",void 0),mt(this,"props",void 0),mt(this,"fieldType",void 0),mt(this,"customEvents",[]),mt(this,"pageStatus",void 0),mt(this,"parent",null);var o=p2(this,t)?this.constructor:void 0,r=o.controlType,i=o.controlFieldType,u=o.name,c=o.controlCustomEvents;r||h0("The ".concat(u," controlType is not define"));var a;this.id=(a=n==null?void 0:n.id)!==null&&a!==void 0?a:Rt(10);var l;this.type=(l=n==null?void 0:n.type)!==null&&l!==void 0?l:r,this.props=new X(n==null?void 0:n.props),this.customEvents=c;var _;this.controlType=(_=n==null?void 0:n.controlType)!==null&&_!==void 0?_:"base";var s;this.fieldType=(s=n==null?void 0:n.fieldType)!==null&&s!==void 0?s:i;var p;this.pageStatus=(p=n==null?void 0:n.pageStatus)!==null&&p!==void 0?p:dk.UNKNOWN}return s2(t,[{key:"rules",get:function(){var o=this.props.constructor.RuntimeRules;if(o){var r=new o(this.props);return Array.from(r)}return[]}}]),t}();mt(Jt,"mode","Runtime"),mt(Jt,"controlType","control"),mt(Jt,"controlFieldType",void 0),mt(Jt,"__is_control__",!0),mt(Jt,"controlCustomEvents",[]);function Of(e){e.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),e.hasOwnProperty("options")||(this.options={type:"any"}),e.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),e.hasOwnProperty("options")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="custom")?this.options=[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:d.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:d.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,o,r){o.length===0&&r(d.getMessage("optionIsRequired")),r()}},{type:"array",validator:function(n,o,r){var i=o.map(function(c){return c.value}),u=EA(i);i.length!==u.length?r(d.getMessage("optionIdIsRepeat")):r()},message:d.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(n,o,r){o.length===0&&r(d.getMessage("pleaseBindAtLeastOneDisplayValue")),r()},message:d.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}])}function Lo(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:d.getMessage("isNotString")},key:{type:"string",required:!0,message:d.getMessage("isNotString")},value:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(r,i,u){i.length===0&&u(d.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),u()},message:d.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}]}function d2(e){return(e==null?void 0:e.dataCode)!==void 0&&(e==null?void 0:e.fieldCode)!==void 0}function v2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fo(e,t,n){return t=Mo(t),h2(e,rb()?Reflect.construct(t,n||[],Mo(e).constructor):t.apply(e,n))}function jo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function j(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mo(e){return Mo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mo(e)}function No(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wf(e,t)}function h2(e,t){return t&&(b2(t)==="object"||typeof t=="function")?t:v2(e)}function wf(e,t){return wf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wf(e,t)}function b2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(rb=function(){return!!e})()}var J=function(e){No(t,e);function t(n){jo(this,t);var o;o=Fo(this,t,[n]),j(o,"dataBind",{}),j(o,"caption",{type:"string",required:!0,message:d.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:d.getMessage("pleaseEnterCaptionTip")});var r={fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")}};if(d2(n.dataBind))o.dataBind={type:"object",required:!0,fields:oe(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:oe(r),message:d.getMessage("pleaseEnterFieldCode")}}),o.dataBind=i}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return t}(W),z=function(e){No(t,e);function t(n){jo(this,t);var o;o=Fo(this,t,[n]);var r=n.isHide?!1:n.required;return r&&o.push({type:"string",required:r,message:n.requiredMessage!==""?n.requiredMessage:d.getMessage("runtimeRequired",{caption:n.caption})}),o}return t}(me),D=function(e){No(t,e);function t(n){jo(this,t);var o;o=Fo(this,t,[n]),j(o,"caption",void 0),j(o,"captionSize",void 0),j(o,"captionColor",void 0),j(o,"isCaptionItalic",void 0),j(o,"isHideCaption",void 0),j(o,"isShowCaptionTip",void 0),j(o,"captionTip",void 0),j(o,"labelPosition",void 0),j(o,"dataBind",void 0),j(o,"defaultValue",void 0),j(o,"placeholder",void 0),j(o,"defaultState",void 0),j(o,"required",void 0),j(o,"requiredMessage",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:"";var i;o.captionSize=(i=n==null?void 0:n.captionSize)!==null&&i!==void 0?i:"14";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 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 m;o.required=(m=n==null?void 0:n.required)!==null&&m!==void 0?m:!1;var O;o.requiredMessage=(O=n==null?void 0:n.requiredMessage)!==null&&O!==void 0?O:"",o.dataBind=new At(n==null?void 0:n.dataBind);var w;return o.defaultValue=(w=n==null?void 0:n.defaultValue)!==null&&w!==void 0?w:"",o}return t}(X);j(D,"Rules",J),j(D,"RuntimeRules",z);var Ve=function(e){No(t,e);function t(n){jo(this,t);var o;return o=Fo(this,t,[n]),j(o,"optionConfig",{type:"enum",enum:["custom","datasource"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")}),j(o,"options",[{type:"array",message:d.getMessage("isNotArray")}]),j(o,"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),Of.call(o,n),o}return t}(J);function g2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m2(e,t,n){return t=zo(t),$2(e,ib()?Reflect.construct(t,n||[],zo(e).constructor):t.apply(e,n))}function O2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zo(e){return zo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zo(e)}function w2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$f(e,t)}function $2(e,t){return t&&(P2(t)==="object"||typeof t=="function")?t:g2(e)}function $f(e,t){return $f=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$f(e,t)}function P2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ib(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ib=function(){return!!e})()}var x=function(e){w2(t,e);function t(n){O2(this,t);var o;return o=m2(this,t,[n]),Vo(o,"controlType","form"),Vo(o,"props",void 0),o.props=new D(n==null?void 0:n.props),o}return t}(V);Vo(x,"controlEventKeys",["on_change","on_focus","on_blur"]),Vo(x,"controlCustomAttributes",void 0);function E2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S2(e,t,n){return t=Co(t),I2(e,ub()?Reflect.construct(t,n||[],Co(e).constructor):t.apply(e,n))}function T2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Co(e){return Co=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Co(e)}function R2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ef(e,t)}function I2(e,t){return t&&(B2(t)==="object"||typeof t=="function")?t:E2(e)}function Ef(e,t){return Ef=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ef(e,t)}function B2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ub(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ub=function(){return!!e})()}var L=function(e){R2(t,e);function t(n){T2(this,t);var o;return o=S2(this,t,[n]),Pf(o,"controlType","form"),Pf(o,"props",void 0),Pf(o,"value",void 0),o.props=new D(n==null?void 0:n.props),o}return t}(Jt);function A2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k2(e,t,n){return t=Ho(t),L2(e,cb()?Reflect.construct(t,n||[],Ho(e).constructor):t.apply(e,n))}function D2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ho(e){return Ho=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ho(e)}function x2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sf(e,t)}function L2(e,t){return t&&(F2(t)==="object"||typeof t=="function")?t:A2(e)}function Sf(e,t){return Sf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sf(e,t)}function F2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(cb=function(){return!!e})()}var Z=function(e){x2(t,e);function t(n){return D2(this,t),k2(this,t,[n])}return t}(X);function Tf(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function j2(e){if(Array.isArray(e))return Tf(e)}function M2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lb(e,t,n,o,r,i,u){try{var c=e[i](u),a=c.value}catch(l){n(l);return}c.done?t(a):Promise.resolve(a).then(o,r)}function N2(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(a){lb(i,o,r,u,c,"next",a)}function c(a){lb(i,o,r,u,c,"throw",a)}u(void 0)})}}function V2(e,t,n){return t=ae(t),Q2(e,_b()?Reflect.construct(t,n||[],ae(e).constructor):t.apply(e,n))}function z2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ab(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function C2(e,t,n){return t&&ab(e.prototype,t),n&&ab(e,n),e}function le(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ze(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?ze=Reflect.get:ze=function(r,i,u){var c=J2(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},ze(e,t,n||e)}function ae(e){return ae=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ae(e)}function H2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rf(e,t)}function q2(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function U2(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function W2(){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 K2(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){le(e,r,n[r])})}return e}function G2(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function X2(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):G2(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function Q2(e,t){return t&&(Z2(t)==="object"||typeof t=="function")?t:M2(e)}function Rf(e,t){return Rf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rf(e,t)}function J2(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ae(e),e!==null););return e}function fb(e){return j2(e)||U2(e)||Y2(e)||W2()}function Z2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Y2(e,t){if(!!e){if(typeof e=="string")return Tf(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Tf(e,t)}}function _b(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_b=function(){return!!e})()}function tD(e,t){var n,o,r,i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},u=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return u.next=c(0),u.throw=c(1),u.return=c(2),typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function c(l){return function(_){return a([l,_])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,l[0]&&(i=0)),i;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return i.label++,{value:l[1],done:!1};case 5:i.label++,o=l[1],l=[0];continue;case 7:l=i.ops.pop(),i.trys.pop();continue;default:if(r=i.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){i=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){i.label=l[1];break}if(l[0]===6&&i.label<r[1]){i.label=r[1],r=l;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(l);break}r[2]&&i.ops.pop(),i.trys.pop();continue}l=t.call(e,i)}catch(_){l=[6,_],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var eD=1e4,Y=function(t){H2(n,t);function n(o){z2(this,n);var r;r=V2(this,n,[o]),le(r,"controlType","layout"),le(r,"children",void 0),le(r,"excludes",void 0),le(r,"childrenMaxLength",void 0),le(r,"props",void 0);var i=q2(this,n)?this.constructor:void 0,u=i.excludes,c=i.childrenMaxLength;return r.props=new Z(o==null?void 0:o.props),Gt(r,"children",o==null?void 0:o.children,void 0,"Designer"),r.excludes=oe(u),r.childrenMaxLength=c,r}return C2(n,[{key:"judgeExcludesChildren",value:function(r){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(r)}},{key:"judgeJoinChildren",value:function(r){var i=this.judgeExcludesChildren(r);return i&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(r,i){var u=this,c=this,a=function(){return ze(ae(n.prototype),"validate",u)};return N2(function(){return tD(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=ze(ae(n.prototype),"toDataBindModel",this).call(this),u=i?[i]:[];return this.children.reduce(function(c,a){var l=a.toDataBindModel(r);if(Array.isArray(l)){var _=l.filter(function(s){return!!s});return fb(c).concat(fb(_))}return l&&c.push(l),c},u)}},{key:"toSchema",value:function(){var r=ze(ae(n.prototype),"toSchema",this).call(this),i=this.children.map(function(u){var c=u.toSchema();return c});return X2(K2({},r),{children:i})}}]),n}(V);le(Y,"excludes",!1),le(Y,"childrenMaxLength",eD);function nD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oD(e,t,n){return t=qo(t),uD(e,yb()?Reflect.construct(t,n||[],qo(e).constructor):t.apply(e,n))}function rD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function If(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qo(e){return qo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qo(e)}function iD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bf(e,t)}function uD(e,t){return t&&(cD(t)==="object"||typeof t=="function")?t:nD(e)}function Bf(e,t){return Bf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bf(e,t)}function cD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(yb=function(){return!!e})()}var Oe=function(e){iD(t,e);function t(n){rD(this,t);var o;return o=oD(this,t,[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),Gt(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return t}(Jt);function lD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aD(e,t,n){return t=Uo(t),yD(e,sb()?Reflect.construct(t,n||[],Uo(e).constructor):t.apply(e,n))}function fD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Uo(e){return Uo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Uo(e)}function _D(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Af(e,t)}function yD(e,t){return t&&(sD(t)==="object"||typeof t=="function")?t:lD(e)}function Af(e,t){return Af=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Af(e,t)}function sD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(sb=function(){return!!e})()}var kf=function(e){_D(t,e);function t(n,o,r){fD(this,t);var i;i=aD(this,t,[o]),Ce(i,"headers",void 0),Ce(i,"footers",void 0),Ce(i,"pageIndex",void 0),Ce(i,"pageSize",void 0),Ce(i,"pageSizeOptions",void 0),Ce(i,"totalCount",void 0),Gt(i,"headers",o==null?void 0:o.headers,n,r),Gt(i,"footers",o==null?void 0:o.footers,n);var u;i.pageIndex=(u=o==null?void 0:o.pageIndex)!==null&&u!==void 0?u:1;var c;i.pageSize=(c=o==null?void 0:o.pageSize)!==null&&c!==void 0?c:20;var a;i.pageSizeOptions=(a=o==null?void 0:o.pageSizeOptions)!==null&&a!==void 0?a:[20];var l;return i.totalCount=(l=o==null?void 0:o.totalCount)!==null&&l!==void 0?l:0,i}return t}(X);function Df(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function pD(e){if(Array.isArray(e))return Df(e)}function dD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pb(e,t,n,o,r,i,u){try{var c=e[i](u),a=c.value}catch(l){n(l);return}c.done?t(a):Promise.resolve(a).then(o,r)}function vD(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(a){pb(i,o,r,u,c,"next",a)}function c(a){pb(i,o,r,u,c,"throw",a)}u(void 0)})}}function hD(e,t,n){return t=fe(t),PD(e,gb()?Reflect.construct(t,n||[],fe(e).constructor):t.apply(e,n))}function bD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function db(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function gD(e,t,n){return t&&db(e.prototype,t),n&&db(e,n),e}function Wo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function He(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?He=Reflect.get:He=function(r,i,u){var c=ED(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},He(e,t,n||e)}function fe(e){return fe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fe(e)}function mD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xf(e,t)}function OD(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function wD(){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 vb(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Wo(e,r,n[r])})}return e}function $D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function hb(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):$D(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function PD(e,t){return t&&(SD(t)==="object"||typeof t=="function")?t:dD(e)}function xf(e,t){return xf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xf(e,t)}function ED(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=fe(e),e!==null););return e}function bb(e){return pD(e)||OD(e)||TD(e)||wD()}function SD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TD(e,t){if(!!e){if(typeof e=="string")return Df(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Df(e,t)}}function gb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(gb=function(){return!!e})()}function RD(e,t){var n,o,r,i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},u=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return u.next=c(0),u.throw=c(1),u.return=c(2),typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function c(l){return function(_){return a([l,_])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,l[0]&&(i=0)),i;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return i.label++,{value:l[1],done:!1};case 5:i.label++,o=l[1],l=[0];continue;case 7:l=i.ops.pop(),i.trys.pop();continue;default:if(r=i.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){i=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){i.label=l[1];break}if(l[0]===6&&i.label<r[1]){i.label=r[1],r=l;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(l);break}r[2]&&i.ops.pop(),i.trys.pop();continue}l=t.call(e,i)}catch(_){l=[6,_],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var Lf=function(e){mD(t,e);function t(n){bD(this,t);var o;return o=hD(this,t,[n]),Wo(o,"controlType","list"),Wo(o,"props",void 0),o.props=new kf(o,n==null?void 0:n.props,"Designer"),o}return gD(t,[{key:"validate",value:function(o,r){var i=this,u=this,c=function(){return He(fe(t.prototype),"validate",i)};return vD(function(){return RD(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=He(fe(t.prototype),"toDataBindModel",this).call(this),r=o?[o]:[],i=this.id;return this.props.headers.reduce(function(u,c){var a=c.toDataBindModel(i);if(Array.isArray(a)){var l=a.filter(function(_){return!!_});return bb(u).concat(bb(l))}return a&&u.push(a),u},r)}},{key:"toSchema",value:function(){var o,r,i=He(fe(t.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(a){return a.toSchema()}),c=(r=this.props)===null||r===void 0||(o=r.footers)===null||o===void 0?void 0:o.map(function(a){if(a)return a.toSchema()});return hb(vb({},i),{props:hb(vb({},this.props),{headers:u,footers:c})})}}]),t}(V);Wo(Lf,"controlFieldType",g.LIST);function ID(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ff(e,t,n){return t=Ko(t),BD(e,mb()?Reflect.construct(t,n||[],Ko(e).constructor):t.apply(e,n))}function jf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ko(e){return Ko=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ko(e)}function Mf(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nf(e,t)}function BD(e,t){return t&&(AD(t)==="object"||typeof t=="function")?t:ID(e)}function Nf(e,t){return Nf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Nf(e,t)}function AD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(mb=function(){return!!e})()}var zt=function(e){Mf(t,e);function t(n){jf(this,t);var o;return o=Ff(this,t,[n]),tt(o,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),tt(o,"width",{type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")}),o.width.required=n.widthType==="px",o}return t}(W),U=function(e){Mf(t,e);function t(n){jf(this,t);var o;o=Ff(this,t,[n]),tt(o,"widthType",void 0),tt(o,"width",void 0),tt(o,"caption",void 0),tt(o,"dataBind",void 0),tt(o,"autoWidth",void 0),tt(o,"fixed",void 0),tt(o,"sort",void 0),tt(o,"align",void 0),tt(o,"colSpan",void 0),tt(o,"autoHeight",void 0),tt(o,"children",void 0);var r;o.width=(r=n==null?void 0:n.width)!==null&&r!==void 0?r:150,o.widthType=(n==null?void 0:n.widthType)||"auto";var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:"none",o.autoWidth=new tf(n==null?void 0:n.autoWidth),o.dataBind=new At(n==null?void 0:n.dataBind);var c;o.sort=(c=n==null?void 0:n.sort)!==null&&c!==void 0?c:!0,o.align=n==null?void 0:n.align,o.colSpan=n==null?void 0:n.colSpan;var a;return o.autoHeight=(a=n==null?void 0:n.autoHeight)!==null&&a!==void 0?a:!1,o}return t}(X);tt(U,"Rules",zt);var Ob=function(e){Mf(t,e);function t(n){jf(this,t);var o;return o=Ff(this,t,[n]),tt(o,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")}),tt(o,"options",[{type:"array",message:d.getMessage("isNotArray")}]),tt(o,"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),Of.call(o,n),o}return t}(zt);function kD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DD(e,t,n){return t=qe(t),VD(e,$b()?Reflect.construct(t,n||[],qe(e).constructor):t.apply(e,n))}function xD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wb(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function LD(e,t,n){return t&&wb(e.prototype,t),n&&wb(e,n),e}function Go(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xo(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Xo=Reflect.get:Xo=function(r,i,u){var c=zD(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Xo(e,t,n||e)}function qe(e){return qe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qe(e)}function FD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vf(e,t)}function jD(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Go(e,r,n[r])})}return e}function MD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function ND(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):MD(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function VD(e,t){return t&&(CD(t)==="object"||typeof t=="function")?t:kD(e)}function Vf(e,t){return Vf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vf(e,t)}function zD(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=qe(e),e!==null););return e}function CD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $b(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return($b=function(){return!!e})()}var et=function(e){FD(t,e);function t(n){xD(this,t);var o;return o=DD(this,t,[n]),Go(o,"controlType","column"),Go(o,"props",void 0),Go(o,"children",void 0),o.props=new U(n==null?void 0:n.props),Gt(o,"children",n==null?void 0:n.children,void 0,"Designer"),o}return LD(t,[{key:"toSchema",value:function(){var o=Xo(qe(t.prototype),"toSchema",this).call(this);return ND(jD({},o),{children:this.children?this.children.map(function(r){return r.toSchema()}):[]})}}]),t}(V);function HD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qD(e,t,n){return t=Qo(t),KD(e,Pb()?Reflect.construct(t,n||[],Qo(e).constructor):t.apply(e,n))}function UD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qo(e){return Qo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qo(e)}function WD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cf(e,t)}function KD(e,t){return t&&(GD(t)==="object"||typeof t=="function")?t:HD(e)}function Cf(e,t){return Cf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cf(e,t)}function GD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Pb=function(){return!!e})()}var nt=function(e){WD(t,e);function t(n){UD(this,t);var o;return o=qD(this,t,[n]),zf(o,"controlType","column"),zf(o,"props",void 0),zf(o,"children",void 0),o.props=new U(n==null?void 0:n.props),Gt(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return t}(Jt);function XD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QD(e,t,n){return t=Jo(t),tx(e,Eb()?Reflect.construct(t,n||[],Jo(e).constructor):t.apply(e,n))}function JD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZD(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jo(e){return Jo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jo(e)}function YD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hf(e,t)}function tx(e,t){return t&&(ex(t)==="object"||typeof t=="function")?t:XD(e)}function Hf(e,t){return Hf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hf(e,t)}function ex(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Eb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Eb=function(){return!!e})()}var qf=function(e){YD(t,e);function t(n){JD(this,t);var o;return o=QD(this,t,[n]),ZD(o,"dataBind",void 0),o.dataBind=new At(n==null?void 0:n.dataBind),o}return t}(Z);function nx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ox(e,t,n){return t=Zo(t),ux(e,Tb()?Reflect.construct(t,n||[],Zo(e).constructor):t.apply(e,n))}function rx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zo(e){return Zo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zo(e)}function ix(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uf(e,t)}function ux(e,t){return t&&(cx(t)==="object"||typeof t=="function")?t:nx(e)}function Uf(e,t){return Uf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Uf(e,t)}function cx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Tb=function(){return!!e})()}var lx=function(e){ix(t,e);function t(n){rx(this,t);var o;return o=ox(this,t,[n]),Sb(o,"controlType","search"),Sb(o,"props",void 0),o.props=new qf(n==null?void 0:n.props),o}return t}(Y);function ax(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fx(e,t,n){return t=Yo(t),sx(e,Ib()?Reflect.construct(t,n||[],Yo(e).constructor):t.apply(e,n))}function _x(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yo(e){return Yo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yo(e)}function yx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wf(e,t)}function sx(e,t){return t&&(px(t)==="object"||typeof t=="function")?t:ax(e)}function Wf(e,t){return Wf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wf(e,t)}function px(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ib(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ib=function(){return!!e})()}var dx=function(e){yx(t,e);function t(n){_x(this,t);var o;return o=fx(this,t,[n]),Rb(o,"controlType","search"),Rb(o,"props",void 0),o.props=new qf(n==null?void 0:n.props),o}return t}(Oe);function _e(e){e.hasOwnProperty("linkOperationOption")&&e.hasOwnProperty("showLinkOperation")&&e.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}}}])}function vx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hx(e,t,n){return t=tr(t),mx(e,Bb()?Reflect.construct(t,n||[],tr(e).constructor):t.apply(e,n))}function bx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ue(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tr(e){return tr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tr(e)}function gx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kf(e,t)}function mx(e,t){return t&&(Ox(t)==="object"||typeof t=="function")?t:vx(e)}function Kf(e,t){return Kf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kf(e,t)}function Ox(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Bb=function(){return!!e})()}var wx=function(e){gx(t,e);function t(n){bx(this,t);var o;o=hx(this,t,[n]),Ue(o,"content",void 0),Ue(o,"fontSize",void 0),Ue(o,"color",void 0),Ue(o,"icon",void 0),Ue(o,"align",void 0),Ue(o,"showState",void 0);var r;o.fontSize=(r=n==null?void 0:n.fontSize)!==null&&r!==void 0?r:"14px";var i;o.color=(i=n==null?void 0:n.color)!==null&&i!==void 0?i:"#646A73";var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:"page-hint";var c;o.showState=(c=n==null?void 0:n.showState)!==null&&c!==void 0?c:"text";var a;o.content=(a=n==null?void 0:n.content)!==null&&a!==void 0?a:"\u8BF4\u660E\u6587\u5B57";var l;return o.align=(l=n==null?void 0:n.align)!==null&&l!==void 0?l:"",o}return t}(X);function $x(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Px(e,t,n){return t=er(t),Rx(e,Db()?Reflect.construct(t,n||[],er(e).constructor):t.apply(e,n))}function Ex(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ab(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Sx(e,t,n){return t&&Ab(e.prototype,t),n&&Ab(e,n),e}function kb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function er(e){return er=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},er(e)}function Tx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gf(e,t)}function Rx(e,t){return t&&(Ix(t)==="object"||typeof t=="function")?t:$x(e)}function Gf(e,t){return Gf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gf(e,t)}function Ix(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Db(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Db=function(){return!!e})()}var Bx=function(e){Tx(t,e);function t(n){Ex(this,t);var o;return o=Px(this,t,[n]),kb(o,"props",void 0),o.props=new wx(n==null?void 0:n.props),o}return Sx(t,null,[{key:"controlName",get:function(){return"\u8BF4\u660E\u6587\u5B57"}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),t}(V);kb(Bx,"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 Ax(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kx(e,t,n){return t=nr(t),Lx(e,xb()?Reflect.construct(t,n||[],nr(e).constructor):t.apply(e,n))}function Dx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nr(e){return nr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nr(e)}function xx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xf(e,t)}function Lx(e,t){return t&&(Fx(t)==="object"||typeof t=="function")?t:Ax(e)}function Xf(e,t){return Xf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xf(e,t)}function Fx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(xb=function(){return!!e})()}var Ot=function(e){xx(t,e);function t(n){Dx(this,t);var o;o=kx(this,t,[n]),Zt(o,"content",void 0),Zt(o,"buttonType",void 0),Zt(o,"showType",void 0),Zt(o,"color",void 0),Zt(o,"icon",void 0),Zt(o,"defaultState",void 0),Zt(o,"command",void 0),Zt(o,"isLoading",void 0),Zt(o,"optObj",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:"\u6309\u94AE";var i;o.buttonType=(i=n==null?void 0:n.buttonType)!==null&&i!==void 0?i:"primary";var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"text";var c;o.color=(c=n==null?void 0:n.color)!==null&&c!==void 0?c:"primary";var a;o.icon=(a=n==null?void 0:n.icon)!==null&&a!==void 0?a:"iconfenlei2";var l;o.defaultState=(l=n==null?void 0:n.defaultState)!==null&&l!==void 0?l:"default";var _;o.command=(_=n==null?void 0:n.command)!==null&&_!==void 0?_:"custom";var s;o.isLoading=(s=n==null?void 0:n.isLoading)!==null&&s!==void 0?s:!1;var p;return o.optObj=new bk((p=n==null?void 0:n.optObj)!==null&&p!==void 0?p:{}),o}return t}(X);function jx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mx(e,t,n){return t=or(t),Cx(e,Fb()?Reflect.construct(t,n||[],or(e).constructor):t.apply(e,n))}function Nx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lb(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Vx(e,t,n){return t&&Lb(e.prototype,t),n&&Lb(e,n),e}function Qf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function or(e){return or=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},or(e)}function zx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jf(e,t)}function Cx(e,t){return t&&(Hx(t)==="object"||typeof t=="function")?t:jx(e)}function Jf(e,t){return Jf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jf(e,t)}function Hx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Fb=function(){return!!e})()}var pt=function(e){zx(t,e);function t(n){Nx(this,t);var o;return o=Mx(this,t,[n]),Qf(o,"props",void 0),o.props=new Ot(n==null?void 0:n.props),o}return Vx(t,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),t}(V);Qf(pt,"controlEventKeys",["on_click"]),Qf(pt,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE]},{key:"super-setting",visible:!0}]);function ye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function B(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var we=function(e){return e.ShowBizKey="is_show_biz_key",e.ShowSubmitUser="is_show_submit_user",e.ShowSubmitTime="is_show_submit_time",e.ShowSubmitDept="is_show_submit_dept",e.ShowCurrentApprovar="is_show_current_approvar",e.ShowTitle="is_show_title",e}({}),Zf=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:Rt(8),value:["",""]};ye(this,e),B(this,"dateConfigType",void 0),B(this,"dateLimitType",void 0),B(this,"id",void 0),B(this,"value",void 0),this.id=t.id,this.dateConfigType=t.dateConfigType,this.dateLimitType=t.dateLimitType,this.value=t.value},qx=function(e){return e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile",e}({}),Yf=function e(t){ye(this,e),B(this,"id",void 0),B(this,"text",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Rt();var o;this.text=(o=t==null?void 0:t.text)!==null&&o!==void 0?o:""},Ux=function(e){return e.SOLID="solid-line",e.DASHED="dashed-line",e.BOLD_SOLID="bold-solid-line",e.BOLD_DASHED="bold-dashed-line",e.DOUBLE_SOLID="double-solid-line",e.DOUBLE_DASHED="double-dashed-line",e}({}),jb=function e(t){ye(this,e),B(this,"type",void 0),B(this,"person",void 0),B(this,"signatureType",void 0),B(this,"telephone",void 0),B(this,"company",void 0),B(this,"remark",void 0);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"private";var o;this.person=new Me((o=t==null?void 0:t.person)!==null&&o!==void 0?o:{type:"form"});var r;this.signatureType=(r=t==null?void 0:t.signatureType)!==null&&r!==void 0?r:[];var i,u;this.telephone=(u=t==null?void 0:t.telephone)!==null&&u!==void 0?u:new Me((i=t==null?void 0:t.telephone)!==null&&i!==void 0?i:{type:"form"});var c,a;this.company=(a=t==null?void 0:t.company)!==null&&a!==void 0?a:new Me((c=t==null?void 0:t.company)!==null&&c!==void 0?c:{type:"form"});var l;this.remark=(l=t==null?void 0:t.remark)!==null&&l!==void 0?l:""},Wx=function e(t){ye(this,e);var n;B(this,"fileControl",void 0),B(this,"undersignedList",void 0),B(this,"statusControl",void 0),B(this,"completeControl",void 0),B(this,"completeTimeControl",void 0);var o;this.fileControl=(o=t==null?void 0:t.fileControl)!==null&&o!==void 0?o:"";var r;this.undersignedList=(r=t==null||(n=t.undersignedList)===null||n===void 0?void 0:n.map(function(a){return new jb(a)}))!==null&&r!==void 0?r:[new jb];var i;this.statusControl=(i=t==null?void 0:t.statusControl)!==null&&i!==void 0?i:"";var u;this.completeControl=(u=t==null?void 0:t.completeControl)!==null&&u!==void 0?u:"";var c;this.completeTimeControl=(c=t==null?void 0:t.completeTimeControl)!==null&&c!==void 0?c:""},Mb=function e(t){ye(this,e),B(this,"id",void 0),B(this,"appId",void 0),B(this,"dataCode",void 0),B(this,"svcCode",void 0),B(this,"name",void 0),B(this,"fieldList",void 0),B(this,"active",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Rt(8);var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var i;this.svcCode=(i=t==null?void 0:t.svcCode)!==null&&i!==void 0?i:"";var u;this.name=(u=t==null?void 0:t.name)!==null&&u!==void 0?u:"";var c;this.fieldList=(c=t==null?void 0:t.fieldList)!==null&&c!==void 0?c:[];var a;this.active=(a=t==null?void 0:t.active)!==null&&a!==void 0?a:!1},Nb=function e(t){ye(this,e),B(this,"active",void 0),B(this,"text",void 0);var n;this.active=(n=t==null?void 0:t.active)!==null&&n!==void 0?n:!1;var o;this.text=(o=t==null?void 0:t.text)!==null&&o!==void 0?o:""},Kx=function e(t){ye(this,e),B(this,"types",void 0),B(this,"history",void 0),B(this,"collaborativeRecord",void 0),B(this,"logicToDelete",void 0),B(this,"watermark",void 0),B(this,"autoRename",void 0);var n;this.types=(n=t==null?void 0:t.types)!==null&&n!==void 0?n:["word","ppt","excel"];var o;this.history=(o=t==null?void 0:t.history)!==null&&o!==void 0?o:!1;var r;this.collaborativeRecord=(r=t==null?void 0:t.collaborativeRecord)!==null&&r!==void 0?r:!1;var i;this.logicToDelete=(i=t==null?void 0:t.logicToDelete)!==null&&i!==void 0?i:!0,this.watermark=new Nb(t==null?void 0:t.watermark),this.autoRename=new Nb(t==null?void 0:t.autoRename)},Gx=480;function We(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var Xx=function e(t){ye(this,e),B(this,"fileId",void 0),B(this,"fileName",void 0),B(this,"ruleName",void 0),B(this,"isDefault",void 0),B(this,"rules",void 0);var n;this.fileId=(n=t==null?void 0:t.fileId)!==null&&n!==void 0?n:"";var o;this.fileName=(o=t==null?void 0:t.fileName)!==null&&o!==void 0?o:"";var r;this.ruleName=(r=t==null?void 0:t.ruleName)!==null&&r!==void 0?r:"";var i;this.isDefault=(i=t.isDefault)!==null&&i!==void 0?i:!1;var u;this.rules=(u=t.rules)!==null&&u!==void 0?u:[]},Qx=function(e){return e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",e}({}),Vb=function(e){return e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS",e}({}),Ke=function(e){return e.ALL="all",e.ASSIGN="assign",e}({}),Jx=function(e){return e.ALL="all",e.ADMIN="admin",e}({});function Zx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yx(e,t,n){return t=rr(t),nL(e,Cb()?Reflect.construct(t,n||[],rr(e).constructor):t.apply(e,n))}function tL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rr(e){return rr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rr(e)}function eL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&t_(e,t)}function nL(e,t){return t&&(oL(t)==="object"||typeof t=="function")?t:Zx(e)}function t_(e,t){return t_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},t_(e,t)}function oL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Cb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Cb=function(){return!!e})()}var rL=function(e){eL(t,e);function t(n){tL(this,t);var o;o=Yx(this,t,[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:Ux.SOLID,o}return t}(X);function iL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uL(e,t,n){return t=ir(t),fL(e,Ub()?Reflect.construct(t,n||[],ir(e).constructor):t.apply(e,n))}function cL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hb(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function lL(e,t,n){return t&&Hb(e.prototype,t),n&&Hb(e,n),e}function qb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ir(e){return ir=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ir(e)}function aL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&e_(e,t)}function fL(e,t){return t&&(_L(t)==="object"||typeof t=="function")?t:iL(e)}function e_(e,t){return e_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},e_(e,t)}function _L(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ub(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ub=function(){return!!e})()}var yL=function(e){aL(t,e);function t(n){cL(this,t);var o;return o=uL(this,t,[n]),qb(o,"props",void 0),o.props=new rL(n==null?void 0:n.props),o}return lL(t,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),t}(V);qb(yL,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE]}]);function sL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wb(e,t,n){return t=ur(t),pL(e,Xb()?Reflect.construct(t,n||[],ur(e).constructor):t.apply(e,n))}function Kb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ur(e){return ur=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ur(e)}function Gb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n_(e,t)}function pL(e,t){return t&&(dL(t)==="object"||typeof t=="function")?t:sL(e)}function n_(e,t){return n_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},n_(e,t)}function dL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Xb=function(){return!!e})()}var vL=function(e){Gb(t,e);function t(n){Kb(this,t);var o;return o=Wb(this,t,[n]),se(o,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),se(o,"dataBind",{type:"any"}),se(o,"config",{type:"array"}),n.config.includes(we.ShowBizKey)&&(o.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")}},message:d.getMessage("bizKeyNotBindFiled")}),!n.isHide&&n.config.length===0&&(o.config={type:"array",min:1,required:!0,message:d.getMessage("pleaseSelectOneField")}),o}return t}(W),Qb=function(e){Gb(t,e);function t(n){Kb(this,t);var o;o=Wb(this,t,[n]),se(o,"dataBind",void 0),se(o,"caption",void 0),se(o,"config",void 0),se(o,"position",void 0),o.dataBind=new At(n==null?void 0:n.dataBind);var r;o.config=(r=n==null?void 0:n.config)!==null&&r!==void 0?r:[we.ShowSubmitUser,we.ShowSubmitDept,we.ShowSubmitTime,we.ShowCurrentApprovar,we.ShowTitle];var i,u;o.caption=(u=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i: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 t}(X);se(Qb,"Rules",vL);function hL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bL(e,t,n){return t=cr(t),wL(e,Zb()?Reflect.construct(t,n||[],cr(e).constructor):t.apply(e,n))}function gL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jb(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function mL(e,t,n){return t&&Jb(e.prototype,t),n&&Jb(e,n),e}function o_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cr(e){return cr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cr(e)}function OL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r_(e,t)}function wL(e,t){return t&&($L(t)==="object"||typeof t=="function")?t:hL(e)}function r_(e,t){return r_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},r_(e,t)}function $L(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Zb=function(){return!!e})()}var oo=function(e){OL(t,e);function t(n){gL(this,t);var o;return o=bL(this,t,[n]),o_(o,"props",void 0),o.props=new Qb(n==null?void 0:n.props),o}return mL(t,null,[{key:"controlName",get:function(){return"\u6807\u9898\u7EC4\u4EF6"}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),t}(V);o_(oo,"controlFieldType",g.AUTO_NUMBER),o_(oo,"setting",[{key:"common-setting",visible:!0,showItems:[f.IS_HIDE]},{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}]);function PL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yb(e,t,n){return t=ar(t),EL(e,ng()?Reflect.construct(t,n||[],ar(e).constructor):t.apply(e,n))}function tg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ar(e){return ar=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ar(e)}function eg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i_(e,t)}function EL(e,t){return t&&(SL(t)==="object"||typeof t=="function")?t:PL(e)}function i_(e,t){return i_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},i_(e,t)}function SL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ng(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ng=function(){return!!e})()}var TL=function(e){eg(t,e);function t(n){tg(this,t);var o;return o=Yb(this,t,[n]),lr(o,"formKey",{type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}),o}return t}(W),og=function(e){eg(t,e);function t(n){tg(this,t);var o;o=Yb(this,t,[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 t}(Ot);lr(og,"Rules",TL);function RL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IL(e,t,n){return t=fr(t),DL(e,ig()?Reflect.construct(t,n||[],fr(e).constructor):t.apply(e,n))}function BL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function AL(e,t,n){return t&&rg(e.prototype,t),n&&rg(e,n),e}function u_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fr(e){return fr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fr(e)}function kL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c_(e,t)}function DL(e,t){return t&&(xL(t)==="object"||typeof t=="function")?t:RL(e)}function c_(e,t){return c_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},c_(e,t)}function xL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ig(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ig=function(){return!!e})()}var _r=function(e){kL(t,e);function t(n){BL(this,t);var o;return o=IL(this,t,[n]),u_(o,"props",void 0),o.props=new og(n==null?void 0:n.props),o}return AL(t,null,[{key:"controlName",get:function(){return"\u521B\u5EFA\u5355\u636E"}},{key:"controlIcon",get:function(){return"iconchuangjiandanju"}},{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),t}(pt);u_(_r,"controlEventKeys",["on_click","on_click_finish"]),u_(_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 LL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ug(e,t,n){return t=yr(t),FL(e,ag()?Reflect.construct(t,n||[],yr(e).constructor):t.apply(e,n))}function cg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ge(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yr(e){return yr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yr(e)}function lg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l_(e,t)}function FL(e,t){return t&&(jL(t)==="object"||typeof t=="function")?t:LL(e)}function l_(e,t){return l_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},l_(e,t)}function jL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ag(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ag=function(){return!!e})()}var ML=function(e){lg(t,e);function t(n){cg(this,t);var o;return o=ug(this,t,[n]),Ge(o,"processKey",[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterProcess")}]),o}return t}(W),fg=function(e){lg(t,e);function t(n){cg(this,t);var o;o=ug(this,t,[n]),Ge(o,"processKey",void 0),Ge(o,"initiatorMode",void 0),Ge(o,"fieldCode",void 0),Ge(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 t}(Ot);Ge(fg,"Rules",ML);function NL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VL(e,t,n){return t=sr(t),qL(e,yg()?Reflect.construct(t,n||[],sr(e).constructor):t.apply(e,n))}function zL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _g(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function CL(e,t,n){return t&&_g(e.prototype,t),n&&_g(e,n),e}function a_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sr(e){return sr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sr(e)}function HL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f_(e,t)}function qL(e,t){return t&&(UL(t)==="object"||typeof t=="function")?t:NL(e)}function f_(e,t){return f_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},f_(e,t)}function UL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(yg=function(){return!!e})()}var pr=function(e){HL(t,e);function t(n){zL(this,t);var o;return o=VL(this,t,[n]),a_(o,"props",void 0),o.props=new fg(n==null?void 0:n.props),o}return CL(t,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u63D0\u4EA4"}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),t}(pt);a_(pr,"controlEventKeys",["on_click","on_click_finish"]),a_(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 WL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KL(e,t,n){return t=dr(t),QL(e,sg()?Reflect.construct(t,n||[],dr(e).constructor):t.apply(e,n))}function GL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dr(e){return dr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dr(e)}function XL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&__(e,t)}function QL(e,t){return t&&(JL(t)==="object"||typeof t=="function")?t:WL(e)}function __(e,t){return __=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},__(e,t)}function JL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(sg=function(){return!!e})()}var ZL=function(e){XL(t,e);function t(n){GL(this,t);var o;o=KL(this,t,[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 t}(Ot);function YL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tF(e,t,n){return t=vr(t),rF(e,dg()?Reflect.construct(t,n||[],vr(e).constructor):t.apply(e,n))}function eF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function nF(e,t,n){return t&&pg(e.prototype,t),n&&pg(e,n),e}function y_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vr(e){return vr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vr(e)}function oF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s_(e,t)}function rF(e,t){return t&&(iF(t)==="object"||typeof t=="function")?t:YL(e)}function s_(e,t){return s_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},s_(e,t)}function iF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(dg=function(){return!!e})()}var hr=function(e){oF(t,e);function t(n){eF(this,t);var o;return o=tF(this,t,[n]),y_(o,"props",void 0),o.props=new ZL(n==null?void 0:n.props),o}return nF(t,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),t}(pt);y_(hr,"controlEventKeys",["on_click"]),y_(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 uF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cF(e,t,n){return t=br(t),fF(e,hg()?Reflect.construct(t,n||[],br(e).constructor):t.apply(e,n))}function lF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function br(e){return br=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},br(e)}function aF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p_(e,t)}function fF(e,t){return t&&(_F(t)==="object"||typeof t=="function")?t:uF(e)}function p_(e,t){return p_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},p_(e,t)}function _F(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(hg=function(){return!!e})()}var yF=function(e){aF(t,e);function t(n){lF(this,t);var o,r;o=cF(this,t,[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 t}(Ot);function sF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pF(e,t,n){return t=gr(t),bF(e,gg()?Reflect.construct(t,n||[],gr(e).constructor):t.apply(e,n))}function dF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function vF(e,t,n){return t&&bg(e.prototype,t),n&&bg(e,n),e}function d_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gr(e){return gr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gr(e)}function hF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v_(e,t)}function bF(e,t){return t&&(gF(t)==="object"||typeof t=="function")?t:sF(e)}function v_(e,t){return v_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},v_(e,t)}function gF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(gg=function(){return!!e})()}var mr=function(e){hF(t,e);function t(n){dF(this,t);var o;return o=pF(this,t,[n]),d_(o,"props",void 0),o.props=new yF(n==null?void 0:n.props),o}return vF(t,null,[{key:"controlName",get:function(){return"\u5BFC\u51FA"}},{key:"controlIcon",get:function(){return"iconxiazai1"}},{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),t}(pt);d_(mr,"controlEventKeys",["on_click","on_click_finish"]),d_(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 mF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OF(e,t,n){return t=Or(t),PF(e,mg()?Reflect.construct(t,n||[],Or(e).constructor):t.apply(e,n))}function wF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Or(e){return Or=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Or(e)}function $F(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h_(e,t)}function PF(e,t){return t&&(EF(t)==="object"||typeof t=="function")?t:mF(e)}function h_(e,t){return h_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},h_(e,t)}function EF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(mg=function(){return!!e})()}var SF=function(e){$F(t,e);function t(n){wF(this,t);var o;o=OF(this,t,[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 t}(Ot);function TF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RF(e,t,n){return t=wr(t),kF(e,wg()?Reflect.construct(t,n||[],wr(e).constructor):t.apply(e,n))}function IF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Og(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function BF(e,t,n){return t&&Og(e.prototype,t),n&&Og(e,n),e}function b_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wr(e){return wr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wr(e)}function AF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g_(e,t)}function kF(e,t){return t&&(DF(t)==="object"||typeof t=="function")?t:TF(e)}function g_(e,t){return g_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},g_(e,t)}function DF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(wg=function(){return!!e})()}var $r=function(e){AF(t,e);function t(n){IF(this,t);var o;return o=RF(this,t,[n]),b_(o,"props",void 0),o.props=new SF(n==null?void 0:n.props),o}return BF(t,null,[{key:"controlName",get:function(){return"\u5BFC\u51FA\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"icondaochujilu"}},{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),t}(pt);b_($r,"controlEventKeys",["on_click"]),b_($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 xF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LF(e,t,n){return t=Pr(t),jF(e,Pg()?Reflect.construct(t,n||[],Pr(e).constructor):t.apply(e,n))}function $g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pr(e){return Pr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pr(e)}function FF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&O_(e,t)}function jF(e,t){return t&&(MF(t)==="object"||typeof t=="function")?t:xF(e)}function O_(e,t){return O_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},O_(e,t)}function MF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Pg=function(){return!!e})()}var NF=function e(t){$g(this,e),m_(this,"dataCode",void 0),this.dataCode=t.dataCode},VF=function(e){FF(t,e);function t(n){$g(this,t);var o,r;o=LF(this,t,[n]),m_(o,"canImportList",void 0),m_(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 NF(l)}))!==null&&c!==void 0?c:[];var a;return o.templateType=(a=n==null?void 0:n.templateType)!==null&&a!==void 0?a:"system",o}return t}(Ot);function zF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CF(e,t,n){return t=Er(t),WF(e,Sg()?Reflect.construct(t,n||[],Er(e).constructor):t.apply(e,n))}function HF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Eg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function qF(e,t,n){return t&&Eg(e.prototype,t),n&&Eg(e,n),e}function w_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Er(e){return Er=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Er(e)}function UF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$_(e,t)}function WF(e,t){return t&&(KF(t)==="object"||typeof t=="function")?t:zF(e)}function $_(e,t){return $_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$_(e,t)}function KF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Sg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Sg=function(){return!!e})()}var Sr=function(e){UF(t,e);function t(n){HF(this,t);var o;return o=CF(this,t,[n]),w_(o,"props",void 0),o.props=new VF(n==null?void 0:n.props),o}return qF(t,null,[{key:"controlName",get:function(){return"\u5BFC\u5165"}},{key:"controlIcon",get:function(){return"iconshangchuan3"}},{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),t}(pt);w_(Sr,"controlEventKeys",["on_click","on_click_finish"]),w_(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: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 GF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tg(e,t,n){return t=Rr(t),XF(e,Ag()?Reflect.construct(t,n||[],Rr(e).constructor):t.apply(e,n))}function Rg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rr(e){return Rr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rr(e)}function Ig(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&P_(e,t)}function Bg(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Yt(e,r,n[r])})}return e}function XF(e,t){return t&&(QF(t)==="object"||typeof t=="function")?t:GF(e)}function P_(e,t){return P_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},P_(e,t)}function QF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ag(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ag=function(){return!!e})()}var JF=function(e){Ig(t,e);function t(n){Rg(this,t);var o;return o=Tg(this,t,[n]),Yt(o,"fillPayload",{type:"object",fields:Bg({},Tr())}),Yt(o,"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}}}),Yt(o,"fillBack",{type:"object",fields:Bg({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},Tr())}),(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:d.getMessage("pleaseSelectControl")}),o}return t}(W),kg=function(e){Ig(t,e);function t(n){Rg(this,t);var o;o=Tg(this,t,[n]),Yt(o,"fillPayload",void 0),Yt(o,"formBind",void 0),Yt(o,"fillBack",void 0),Yt(o,"command",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:Br.controlName;var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Br.controlIcon;var u;return o.command=(u=n==null?void 0:n.command)!==null&&u!==void 0?u:"create",o.fillPayload=new N0(n==null?void 0:n.fillPayload),o.formBind=new ZA(n==null?void 0:n.formBind),o.fillBack=new V0(n==null?void 0:n.fillBack),o}return t}(Ot);Yt(kg,"Rules",JF);function ZF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YF(e,t,n){return t=Ir(t),oj(e,xg()?Reflect.construct(t,n||[],Ir(e).constructor):t.apply(e,n))}function tj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function ej(e,t,n){return t&&Dg(e.prototype,t),n&&Dg(e,n),e}function E_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ir(e){return Ir=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ir(e)}function nj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&S_(e,t)}function oj(e,t){return t&&(rj(t)==="object"||typeof t=="function")?t:ZF(e)}function S_(e,t){return S_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},S_(e,t)}function rj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(xg=function(){return!!e})()}var Br=function(e){nj(t,e);function t(n){tj(this,t);var o;return o=YF(this,t,[n]),E_(o,"props",void 0),o.props=new kg(n==null?void 0:n.props),o}return ej(t,null,[{key:"controlName",get:function(){return"\u8868\u5355\u64CD\u4F5C"}},{key:"controlIcon",get:function(){return"iconbiaodancaozuo"}},{key:"controlType",get:function(){return"form-select-button"}}]),t}(pt);E_(Br,"controlEventKeys",["on_click","on_click_finish"]),E_(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 ij(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lg(e,t,n){return t=Ar(t),uj(e,Ng()?Reflect.construct(t,n||[],Ar(e).constructor):t.apply(e,n))}function Fg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ar(e){return Ar=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ar(e)}function jg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&T_(e,t)}function Mg(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){kt(e,r,n[r])})}return e}function uj(e,t){return t&&(cj(t)==="object"||typeof t=="function")?t:ij(e)}function T_(e,t){return T_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},T_(e,t)}function cj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ng(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ng=function(){return!!e})()}var lj=function(e){jg(t,e);function t(n){Fg(this,t);var o;return o=Lg(this,t,[n]),kt(o,"fillPayload",{type:"object",fields:Mg({},Tr())}),kt(o,"listPageBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}}),kt(o,"fillBack",{type:"object",fields:Mg({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},Tr())}),o}return t}(W),Vg=function(e){jg(t,e);function t(n){Fg(this,t);var o;o=Lg(this,t,[n]),kt(o,"fillPayload",void 0),kt(o,"listPageBind",void 0),kt(o,"disableFilling",void 0),kt(o,"fillBack",void 0),kt(o,"showSelectedDetail",void 0),kt(o,"selectedContentConfig",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:Dr.controlName;var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Dr.controlIcon,o.fillPayload=new N0(n==null?void 0:n.fillPayload),o.listPageBind=new nf(n==null?void 0:n.listPageBind),o.fillBack=new V0(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 cf(n==null?void 0:n.selectedContentConfig);var c;return o.disableFilling=(c=n==null?void 0:n.disableFilling)!==null&&c!==void 0?c:!0,o}return t}(Ot);kt(Vg,"Rules",lj);function aj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fj(e,t,n){return t=kr(t),pj(e,Cg()?Reflect.construct(t,n||[],kr(e).constructor):t.apply(e,n))}function _j(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function yj(e,t,n){return t&&zg(e.prototype,t),n&&zg(e,n),e}function R_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kr(e){return kr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kr(e)}function sj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&I_(e,t)}function pj(e,t){return t&&(dj(t)==="object"||typeof t=="function")?t:aj(e)}function I_(e,t){return I_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},I_(e,t)}function dj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Cg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Cg=function(){return!!e})()}var Dr=function(e){sj(t,e);function t(n){_j(this,t);var o;return o=fj(this,t,[n]),R_(o,"props",void 0),o.props=new Vg(n==null?void 0:n.props),o}return yj(t,null,[{key:"controlName",get:function(){return"\u5217\u8868\u9009\u62E9"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-select-button"}}]),t}(pt);R_(Dr,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),R_(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 vj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B_(e,t,n){return t=xr(t),hj(e,qg()?Reflect.construct(t,n||[],xr(e).constructor):t.apply(e,n))}function A_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xr(e){return xr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xr(e)}function k_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&D_(e,t)}function hj(e,t){return t&&(bj(t)==="object"||typeof t=="function")?t:vj(e)}function D_(e,t){return D_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},D_(e,t)}function bj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(qg=function(){return!!e})()}var gj=function(e){k_(t,e);function t(n){return A_(this,t),B_(this,t,[n])}return t}(W),mj=function(e){k_(t,e);function t(n){return A_(this,t),B_(this,t,[n])}return t}(me),x_=function(e){k_(t,e);function t(n){return A_(this,t),B_(this,t,[n])}return t}(X);Hg(x_,"Rules",gj),Hg(x_,"RuntimeRules",mj);function Oj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wj(e,t,n){return t=Lr(t),Sj(e,Kg()?Reflect.construct(t,n||[],Lr(e).constructor):t.apply(e,n))}function $j(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ug(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Pj(e,t,n){return t&&Ug(e.prototype,t),n&&Ug(e,n),e}function Wg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lr(e){return Lr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lr(e)}function Ej(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&L_(e,t)}function Sj(e,t){return t&&(Tj(t)==="object"||typeof t=="function")?t:Oj(e)}function L_(e,t){return L_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},L_(e,t)}function Tj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Kg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Kg=function(){return!!e})()}var Rj=function(e){Ej(t,e);function t(n){$j(this,t);var o;return o=wj(this,t,[n]),Wg(o,"props",void 0),o.props=new x_(n==null?void 0:n.props),o}return Pj(t,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),t}(V);Wg(Rj,"setting",[]);function Ij(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gg(e,t,n){return t=Fr(t),Bj(e,Jg()?Reflect.construct(t,n||[],Fr(e).constructor):t.apply(e,n))}function Xg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Et(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fr(e){return Fr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fr(e)}function Qg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&F_(e,t)}function Bj(e,t){return t&&(Aj(t)==="object"||typeof t=="function")?t:Ij(e)}function F_(e,t){return F_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},F_(e,t)}function Aj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Jg=function(){return!!e})()}var kj=function(e){Qg(t,e);function t(n){Xg(this,t);var o;return o=Gg(this,t,[n]),Et(o,"dashboardKey",{type:"string",required:!0,message:d.getMessage("pleaseSelectDashboard")}),Et(o,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),Et(o,"isHideCaption",{type:"boolean"}),Et(o,"labelPosition",{type:"enum",enum:["top","left"]}),Et(o,"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return t}(W),Zg=function(e){Qg(t,e);function t(n){Xg(this,t);var o;o=Gg(this,t,[n]),Et(o,"dashboardKey",void 0),Et(o,"caption",void 0),Et(o,"isHideCaption",void 0),Et(o,"isShowCaptionTip",void 0),Et(o,"captionTip",void 0),Et(o,"labelPosition",void 0);var r;o.dashboardKey=(r=n==null?void 0:n.dashboardKey)!==null&&r!==void 0?r:"";var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var c;o.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var l;return o.labelPosition=(l=n==null?void 0:n.labelPosition)!==null&&l!==void 0?l:"top",o}return t}(X);Et(Zg,"Rules",kj);function Dj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xj(e,t,n){return t=jr(t),Mj(e,em()?Reflect.construct(t,n||[],jr(e).constructor):t.apply(e,n))}function Lj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Fj(e,t,n){return t&&Yg(e.prototype,t),n&&Yg(e,n),e}function tm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jr(e){return jr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jr(e)}function jj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&j_(e,t)}function Mj(e,t){return t&&(Nj(t)==="object"||typeof t=="function")?t:Dj(e)}function j_(e,t){return j_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},j_(e,t)}function Nj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function em(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(em=function(){return!!e})()}var Vj=function(e){jj(t,e);function t(n){Lj(this,t);var o;return o=xj(this,t,[n]),tm(o,"props",void 0),o.props=new Zg(n==null?void 0:n.props),o}return Fj(t,null,[{key:"controlName",get:function(){return"\u4EEA\u8868\u76D8"}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),t}(V);tm(Vj,"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 zj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nm(e,t,n){return t=Mr(t),Cj(e,im()?Reflect.construct(t,n||[],Mr(e).constructor):t.apply(e,n))}function om(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ro(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mr(e){return Mr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mr(e)}function rm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&M_(e,t)}function Cj(e,t){return t&&(Hj(t)==="object"||typeof t=="function")?t:zj(e)}function M_(e,t){return M_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},M_(e,t)}function Hj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function im(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(im=function(){return!!e})()}var qj=function(e){rm(t,e);function t(n){om(this,t);var o;return o=nm(this,t,[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 t}(W),um=function(e){rm(t,e);function t(n){om(this,t);var o,r;o=nm(this,t,[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 vk(c)}))!==null&&u!==void 0?u:[],o}return t}(X);ro(um,"Rules",qj);function Uj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wj(e,t,n){return t=Nr(t),Qj(e,am()?Reflect.construct(t,n||[],Nr(e).constructor):t.apply(e,n))}function Kj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Gj(e,t,n){return t&&cm(e.prototype,t),n&&cm(e,n),e}function lm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nr(e){return Nr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nr(e)}function Xj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&N_(e,t)}function Qj(e,t){return t&&(Jj(t)==="object"||typeof t=="function")?t:Uj(e)}function N_(e,t){return N_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},N_(e,t)}function Jj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function am(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(am=function(){return!!e})()}var Zj=function(e){Xj(t,e);function t(n){Kj(this,t);var o;return o=Wj(this,t,[n]),lm(o,"props",void 0),o.props=new um(n==null?void 0:n.props),o}return Gj(t,null,[{key:"controlName",get:function(){return"\u5217\u8868\u89C6\u56FE"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-view-select"}}]),t}(V);lm(Zj,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}]);function Yj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fm(e,t,n){return t=Vr(t),tM(e,sm()?Reflect.construct(t,n||[],Vr(e).constructor):t.apply(e,n))}function _m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vr(e){return Vr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vr(e)}function ym(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&V_(e,t)}function tM(e,t){return t&&(eM(t)==="object"||typeof t=="function")?t:Yj(e)}function V_(e,t){return V_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},V_(e,t)}function eM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(sm=function(){return!!e})()}var nM=function(e){ym(t,e);function t(n){_m(this,t);var o;return o=fm(this,t,[n]),dt(o,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),dt(o,"isHideCaption",{type:"boolean"}),dt(o,"labelPosition",{type:"enum",enum:["top","left"]}),dt(o,"ocrType",{type:"string",required:!0,message:d.getMessage("pleaseSelectOcrType")}),dt(o,"fillList",{type:"array",validator:function(i,u,c){var a=u.every(function(l){return!l.controlId});if(a){c(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}c()}}),dt(o,"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return t}(W),pm=function(e){ym(t,e);function t(n){_m(this,t);var o,r;o=fm(this,t,[n]),dt(o,"caption",void 0),dt(o,"isHideCaption",void 0),dt(o,"isShowCaptionTip",void 0),dt(o,"captionTip",void 0),dt(o,"labelPosition",void 0),dt(o,"ocrType",void 0),dt(o,"fillList",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i: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 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(m){return new st(m)}))!==null&&b!==void 0?b:[],o}return t}(Ot);dt(pm,"Rules",nM);function oM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rM(e,t,n){return t=zr(t),lM(e,vm()?Reflect.construct(t,n||[],zr(e).constructor):t.apply(e,n))}function iM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function uM(e,t,n){return t&&dm(e.prototype,t),n&&dm(e,n),e}function z_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zr(e){return zr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zr(e)}function cM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&C_(e,t)}function lM(e,t){return t&&(aM(t)==="object"||typeof t=="function")?t:oM(e)}function C_(e,t){return C_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},C_(e,t)}function aM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(vm=function(){return!!e})()}var io=function(e){cM(t,e);function t(n){iM(this,t);var o;return o=rM(this,t,[n]),z_(o,"props",void 0),o.props=new pm(n==null?void 0:n.props),o}return uM(t,null,[{key:"controlName",get:function(){return"\u6587\u5B57\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconwenzishibie"}},{key:"controlType",get:function(){return"text-ocr-button"}}]),t}(pt);z_(io,"controlEventKeys",["on_click","on_click_finish"]),z_(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 fM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hm(e,t,n){return t=Cr(t),_M(e,mm()?Reflect.construct(t,n||[],Cr(e).constructor):t.apply(e,n))}function bm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cr(e){return Cr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cr(e)}function gm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&H_(e,t)}function _M(e,t){return t&&(yM(t)==="object"||typeof t=="function")?t:fM(e)}function H_(e,t){return H_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},H_(e,t)}function yM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(mm=function(){return!!e})()}var sM=function(e){gm(t,e);function t(n){bm(this,t);var o;return o=hm(this,t,[n]),vt(o,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),vt(o,"isHideCaption",{type:"boolean"}),vt(o,"labelPosition",{type:"enum",enum:["top","left"]}),vt(o,"invoiceCheck",{type:"boolean"}),vt(o,"fillList",{type:"array",validator:function(i,u,c){var a=u.every(function(l){return!l.controlId});if(a){c(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}c()}}),vt(o,"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return t}(W),Om=function(e){gm(t,e);function t(n){bm(this,t);var o,r;o=hm(this,t,[n]),vt(o,"caption",void 0),vt(o,"isHideCaption",void 0),vt(o,"isShowCaptionTip",void 0),vt(o,"captionTip",void 0),vt(o,"labelPosition",void 0),vt(o,"invoiceCheck",void 0),vt(o,"fillList",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:uo.controlName;var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var c;o.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var l;o.labelPosition=(l=n==null?void 0:n.labelPosition)!==null&&l!==void 0?l:"top";var _;o.content=(_=n==null?void 0:n.content)!==null&&_!==void 0?_:uo.controlName;var s;o.icon=(s=n==null?void 0:n.icon)!==null&&s!==void 0?s: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(m){return new st(m)}))!==null&&b!==void 0?b:[],o}return t}(Ot);vt(Om,"Rules",sM);function pM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dM(e,t,n){return t=Hr(t),gM(e,$m()?Reflect.construct(t,n||[],Hr(e).constructor):t.apply(e,n))}function vM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function hM(e,t,n){return t&&wm(e.prototype,t),n&&wm(e,n),e}function q_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hr(e){return Hr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hr(e)}function bM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&U_(e,t)}function gM(e,t){return t&&(mM(t)==="object"||typeof t=="function")?t:pM(e)}function U_(e,t){return U_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},U_(e,t)}function mM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $m(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return($m=function(){return!!e})()}var uo=function(e){bM(t,e);function t(n){vM(this,t);var o;return o=dM(this,t,[n]),q_(o,"props",void 0),o.props=new Om(n==null?void 0:n.props),o}return hM(t,null,[{key:"controlName",get:function(){return"\u53D1\u7968\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconfabiaoshibie1"}},{key:"controlType",get:function(){return"invoice-check-button"}}]),t}(pt);q_(uo,"controlEventKeys",["on_click","on_click_finish"]),q_(uo,"setting",[{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE,f.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function OM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pm(e,t,n){return t=Ur(t),wM(e,Tm()?Reflect.construct(t,n||[],Ur(e).constructor):t.apply(e,n))}function Em(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ur(e){return Ur=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ur(e)}function Sm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&W_(e,t)}function wM(e,t){return t&&($M(t)==="object"||typeof t=="function")?t:OM(e)}function W_(e,t){return W_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},W_(e,t)}function $M(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Tm=function(){return!!e})()}var PM=function(e){Sm(t,e);function t(){Em(this,t);var n;return n=Pm(this,t,arguments),qr(n,"printTemplates",{type:"array",min:1,required:!0,message:d.getMessage("pleaseUploadAtLeastOnePrintTemplate")}),n}return t}(W),Rm=function(e){Sm(t,e);function t(n){Em(this,t);var o,r;o=Pm(this,t,[n]),qr(o,"printTemplates",void 0),qr(o,"autoSelectTemplate",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i: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 Xx(l)}))!==null&&c!==void 0?c:[];var a;return o.autoSelectTemplate=(a=n==null?void 0:n.autoSelectTemplate)!==null&&a!==void 0?a:!1,o}return t}(Ot);qr(Rm,"Rules",PM);function EM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SM(e,t,n){return t=Wr(t),BM(e,Bm()?Reflect.construct(t,n||[],Wr(e).constructor):t.apply(e,n))}function TM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Im(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function RM(e,t,n){return t&&Im(e.prototype,t),n&&Im(e,n),e}function K_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wr(e){return Wr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wr(e)}function IM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&G_(e,t)}function BM(e,t){return t&&(AM(t)==="object"||typeof t=="function")?t:EM(e)}function G_(e,t){return G_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},G_(e,t)}function AM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Bm=function(){return!!e})()}var Kr=function(e){IM(t,e);function t(n){TM(this,t);var o;return o=SM(this,t,[n]),K_(o,"props",void 0),o.props=new Rm(n==null?void 0:n.props),o}return RM(t,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u6253\u5370"}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),t}(pt);K_(Kr,"controlEventKeys",["on_click","on_click_finish"]),K_(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 kM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DM(e,t,n){return t=Gr(t),FM(e,Am()?Reflect.construct(t,n||[],Gr(e).constructor):t.apply(e,n))}function xM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gr(e){return Gr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gr(e)}function LM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&X_(e,t)}function FM(e,t){return t&&(jM(t)==="object"||typeof t=="function")?t:kM(e)}function X_(e,t){return X_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},X_(e,t)}function jM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Am(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Am=function(){return!!e})()}var MM=function(e){LM(t,e);function t(n){xM(this,t);var o;o=DM(this,t,[n]);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:Qr.controlName;var i;return o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Qr.controlIcon,o}return t}(Ot);function NM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VM(e,t,n){return t=Xr(t),qM(e,Dm()?Reflect.construct(t,n||[],Xr(e).constructor):t.apply(e,n))}function zM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function km(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function CM(e,t,n){return t&&km(e.prototype,t),n&&km(e,n),e}function Q_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xr(e){return Xr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xr(e)}function HM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&J_(e,t)}function qM(e,t){return t&&(UM(t)==="object"||typeof t=="function")?t:NM(e)}function J_(e,t){return J_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},J_(e,t)}function UM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Dm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Dm=function(){return!!e})()}var Qr=function(e){HM(t,e);function t(n){zM(this,t);var o;return o=VM(this,t,[n]),Q_(o,"props",void 0),o.props=new MM(n==null?void 0:n.props),o}return CM(t,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u6253\u5370\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),t}(pt);Q_(Qr,"controlEventKeys",["on_click"]),Q_(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 WM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xm(e,t,n){return t=Jr(t),KM(e,jm()?Reflect.construct(t,n||[],Jr(e).constructor):t.apply(e,n))}function Lm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jr(e){return Jr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jr(e)}function Fm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Z_(e,t)}function KM(e,t){return t&&(GM(t)==="object"||typeof t=="function")?t:WM(e)}function Z_(e,t){return Z_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Z_(e,t)}function GM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(jm=function(){return!!e})()}var XM=function(e){Fm(t,e);function t(n){Lm(this,t);var o;return o=xm(this,t,[n]),_t(o,"formKey",{type:"string",required:!1}),(n.command==="edit"||n.command==="view")&&(o.formKey={type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}),o}return t}(W),Zr=function(e){Fm(t,e);function t(n){Lm(this,t);var o;o=xm(this,t,[n]),_t(o,"content",void 0),_t(o,"code",void 0),_t(o,"command",void 0),_t(o,"color",void 0),_t(o,"icon",void 0),_t(o,"formKey",void 0),_t(o,"openType",void 0),_t(o,"needConfirm",void 0),_t(o,"confirmMessage",void 0),_t(o,"options",void 0),_t(o,"defaultState",void 0),_t(o,"priorityProcess",void 0),_t(o,"isLoading",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:"\u6309\u94AE",o.code=n==null?void 0:n.code;var i;o.command=(i=n==null?void 0:n.command)!==null&&i!==void 0?i:"custom";var u;o.color=(u=n==null?void 0:n.color)!==null&&u!==void 0?u:"primary",o.icon=n==null?void 0:n.icon,o.formKey=n==null?void 0:n.formKey,o.openType=n==null?void 0:n.openType,o.needConfirm=n==null?void 0:n.needConfirm,o.confirmMessage=n==null?void 0:n.confirmMessage,o.options=n==null?void 0:n.options;var c;o.defaultState=(c=n==null?void 0:n.defaultState)!==null&&c!==void 0?c:"default",o.priorityProcess=n==null?void 0:n.priorityProcess;var a;return o.isLoading=(a=n==null?void 0:n.isLoading)!==null&&a!==void 0?a:!1,o}return t}(X);_t(Zr,"Rules",XM);function QM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JM(e,t,n){return t=Yr(t),eN(e,Nm()?Reflect.construct(t,n||[],Yr(e).constructor):t.apply(e,n))}function ZM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function YM(e,t,n){return t&&Mm(e.prototype,t),n&&Mm(e,n),e}function Y_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yr(e){return Yr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yr(e)}function tN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ty(e,t)}function eN(e,t){return t&&(nN(t)==="object"||typeof t=="function")?t:QM(e)}function ty(e,t){return ty=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ty(e,t)}function nN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Nm=function(){return!!e})()}var ti=function(e){tN(t,e);function t(n){ZM(this,t);var o;return o=JM(this,t,[n]),Y_(o,"props",void 0),o.props=new Zr(n==null?void 0:n.props),o}return YM(t,null,[{key:"controlName",get:function(){return"\u64CD\u4F5C\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"operation-button"}}]),t}(V);Y_(ti,"controlEventKeys",["on_click"]),Y_(ti,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE]},{key:"super-setting",visible:!0}]);function oN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rN(e,t,n){return t=ei(t),aN(e,zm()?Reflect.construct(t,n||[],ei(e).constructor):t.apply(e,n))}function iN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function uN(e,t,n){return t&&Vm(e.prototype,t),n&&Vm(e,n),e}function cN(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ei(e){return ei=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ei(e)}function lN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ey(e,t)}function aN(e,t){return t&&(fN(t)==="object"||typeof t=="function")?t:oN(e)}function ey(e,t){return ey=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ey(e,t)}function fN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(zm=function(){return!!e})()}var _N=function(e){lN(t,e);function t(n){iN(this,t);var o;return o=rN(this,t,[n]),cN(o,"props",void 0),o.props=new Zr(n==null?void 0:n.props),o}return uN(t,null,[{key:"controlType",get:function(){return"operation-button"}}]),t}(Jt),ny={Designer:ti,Runtime:_N,Property:Zr};function yN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sN(e,t,n){return t=ni(t),vN(e,Cm()?Reflect.construct(t,n||[],ni(e).constructor):t.apply(e,n))}function pN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ni(e){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ni(e)}function dN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&oy(e,t)}function vN(e,t){return t&&(hN(t)==="object"||typeof t=="function")?t:yN(e)}function oy(e,t){return oy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},oy(e,t)}function hN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Cm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Cm=function(){return!!e})()}var bN=function(e){dN(t,e);function t(n){pN(this,t);var o;o=sN(this,t,[n]),pe(o,"content",void 0),pe(o,"buttonType",void 0),pe(o,"showType",void 0),pe(o,"color",void 0),pe(o,"icon",void 0),pe(o,"defaultState",void 0),pe(o,"command",void 0),pe(o,"isLoading",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r: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 p;return o.isLoading=(p=n==null?void 0:n.isLoading)!==null&&p!==void 0?p:!1,o}return t}(X);function gN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mN(e,t,n){return t=oi(t),PN(e,qm()?Reflect.construct(t,n||[],oi(e).constructor):t.apply(e,n))}function ON(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function wN(e,t,n){return t&&Hm(e.prototype,t),n&&Hm(e,n),e}function ry(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oi(e){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oi(e)}function $N(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&iy(e,t)}function PN(e,t){return t&&(EN(t)==="object"||typeof t=="function")?t:gN(e)}function iy(e,t){return iy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},iy(e,t)}function EN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(qm=function(){return!!e})()}var ri=function(e){$N(t,e);function t(n){ON(this,t);var o;return o=mN(this,t,[n]),ry(o,"props",void 0),o.props=new bN(n==null?void 0:n.props),o}return wN(t,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u5220\u9664"}},{key:"controlIcon",get:function(){return"iconlajitong"}},{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),t}(V);ry(ri,"controlEventKeys",["on_click"]),ry(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 SN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uy(e,t,n){return t=ii(t),TN(e,Um()?Reflect.construct(t,n||[],ii(e).constructor):t.apply(e,n))}function cy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ii(e){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ii(e)}function ly(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ay(e,t)}function TN(e,t){return t&&(RN(t)==="object"||typeof t=="function")?t:SN(e)}function ay(e,t){return ay=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ay(e,t)}function RN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Um(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Um=function(){return!!e})()}var IN=function(e){ly(t,e);function t(n){cy(this,t);var o;return o=uy(this,t,[n]),Dt(o,"maxLength",{type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),Dt(o,"minLength",{type:"number",max:200,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),Dt(o,"defaultValue",[{type:"string",max:200,min:0,message:d.getMessage("stringRangeError")},{pattern:"",message:""}]),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue[0].max=n.maxLength,o.defaultValue[0].min=n.minLength,o.defaultValue[0].message=d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o.defaultValue[1].pattern=We(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return t}(J),BN=function(e){ly(t,e);function t(n){cy(this,t);var o;return o=uy(this,t,[n]),o.push({type:"string",message:d.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:We(n.regularRules.expression),message:n.regularRules.errMessage}),o}return t}(z),co=function(e){ly(t,e);function t(n){cy(this,t);var o;o=uy(this,t,[n]),Dt(o,"maxLength",void 0),Dt(o,"minLength",void 0),Dt(o,"regularRules",void 0),Dt(o,"defaultValue",void 0),Dt(o,"encrypted",void 0),Dt(o,"encryptedMode",void 0);var r;o.maxLength=(r=n==null?void 0:n.maxLength)!==null&&r!==void 0?r:200;var i;o.minLength=(i=n==null?void 0:n.minLength)!==null&&i!==void 0?i:0,o.regularRules=new Ao(n==null?void 0:n.regularRules);var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:"";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:lo.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var l;o.encrypted=(l=n==null?void 0:n.encrypted)!==null&&l!==void 0?l:!1;var _;return o.encryptedMode=(_=n==null?void 0:n.encryptedMode)!==null&&_!==void 0?_:"",o}return t}(D);Dt(co,"Rules",IN),Dt(co,"RuntimeRules",BN);function AN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kN(e,t,n){return t=ci(t),FN(e,Km()?Reflect.construct(t,n||[],ci(e).constructor):t.apply(e,n))}function DN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function xN(e,t,n){return t&&Wm(e.prototype,t),n&&Wm(e,n),e}function ui(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ci(e){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ci(e)}function LN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fy(e,t)}function FN(e,t){return t&&(jN(t)==="object"||typeof t=="function")?t:AN(e)}function fy(e,t){return fy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fy(e,t)}function jN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Km(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Km=function(){return!!e})()}var lo=function(e){LN(t,e);function t(n){DN(this,t);var o;return o=kN(this,t,[n]),ui(o,"props",void 0),o.props=new co(n==null?void 0:n.props),o}return xN(t,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconSingleline_new1"}},{key:"controlType",get:function(){return"input"}}]),t}(x);ui(lo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),ui(lo,"controlFieldType",g.VARCHAR),ui(lo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP,f.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function MN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NN(e,t,n){return t=li(t),HN(e,Qm()?Reflect.construct(t,n||[],li(e).constructor):t.apply(e,n))}function VN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function zN(e,t,n){return t&&Gm(e.prototype,t),n&&Gm(e,n),e}function Xm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function li(e){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},li(e)}function CN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_y(e,t)}function HN(e,t){return t&&(qN(t)==="object"||typeof t=="function")?t:MN(e)}function _y(e,t){return _y=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_y(e,t)}function qN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Qm=function(){return!!e})()}var UN=function(e){CN(t,e);function t(n){VN(this,t);var o;return o=NN(this,t,[n]),Xm(o,"props",void 0),o.props=new co(n==null?void 0:n.props),o}return zN(t,null,[{key:"controlType",get:function(){return"input"}}]),t}(L);Xm(UN,"controlFieldType",g.VARCHAR);function WN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yy(e,t,n){return t=ai(t),KN(e,Jm()?Reflect.construct(t,n||[],ai(e).constructor):t.apply(e,n))}function sy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ot(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ai(e){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ai(e)}function py(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dy(e,t)}function KN(e,t){return t&&(GN(t)==="object"||typeof t=="function")?t:WN(e)}function dy(e,t){return dy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dy(e,t)}function GN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Jm=function(){return!!e})()}var XN=function(e){py(t,e);function t(n){sy(this,t);var o;o=yy(this,t,[n]),ot(o,"limitMax",{type:"number",min:void 0,message:d.getMessage("PleaseReselectTheOptionalQuantity")});var r=n.limitMax==="unlimited";r&&(o.limitMax.type="string");var i=function(u){return u==="unlimited"?void 0:u};return o.limitMax.min=i(n.limitMin),o}return t}(Ve),QN=function(e){py(t,e);function t(n){sy(this,t);var o;return o=yy(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o.push({type:"array",max:typeof n.limitMax=="number"?n.limitMax:void 0,min:typeof n.limitMin=="number"?n.limitMin:void 0}),o}return t}(z),fi=function(e){py(t,e);function t(n){sy(this,t);var o;o=yy(this,t,[n]),ot(o,"checkboxMode",void 0),ot(o,"options",void 0),ot(o,"optionsOrder",void 0),ot(o,"limitMax",void 0),ot(o,"limitMin",void 0),ot(o,"otherOption",void 0),ot(o,"optionConfig",void 0),ot(o,"optionsFormat",void 0),ot(o,"defaultShowOptions",void 0),ot(o,"datasourceBind",void 0),ot(o,"multistageFilling",void 0),ot(o,"interreaction",void 0),ot(o,"defaultValue",void 0),ot(o,"openMultistageFilling",void 0);var r;o.options=Qt((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var i;o.checkboxMode=(i=n==null?void 0:n.checkboxMode)!==null&&i!==void 0?i:"horizontal";var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"custom";var c;o.optionsOrder=(c=n==null?void 0:n.optionsOrder)!==null&&c!==void 0?c:!1;var a;o.otherOption=(a=n==null?void 0:n.otherOption)!==null&&a!==void 0?a:!1;var l;o.limitMin=(l=n==null?void 0:n.limitMin)!==null&&l!==void 0?l:"unlimited";var _;o.limitMax=(_=n==null?void 0:n.limitMax)!==null&&_!==void 0?_:"unlimited",o.datasourceBind=new G(n==null?void 0:n.datasourceBind);var s;o.interreaction=(s=n==null?void 0:n.interreaction)!==null&&s!==void 0?s:[];var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p: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 st(h))})),o}return t}(D);ot(fi,"Rules",XN),ot(fi,"RuntimeRules",QN);function JN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZN(e,t,n){return t=yi(t),n5(e,Ym()?Reflect.construct(t,n||[],yi(e).constructor):t.apply(e,n))}function YN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function t5(e,t,n){return t&&Zm(e.prototype,t),n&&Zm(e,n),e}function _i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yi(e){return yi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yi(e)}function e5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vy(e,t)}function n5(e,t){return t&&(o5(t)==="object"||typeof t=="function")?t:JN(e)}function vy(e,t){return vy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vy(e,t)}function o5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ym(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ym=function(){return!!e})()}var si=function(e){e5(t,e);function t(n){YN(this,t);var o;return o=ZN(this,t,[n]),_i(o,"props",void 0),o.props=new fi(n==null?void 0:n.props),o}return t5(t,null,[{key:"controlName",get:function(){return"\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),t}(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 r5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i5(e,t,n){return t=pi(t),a5(e,nO()?Reflect.construct(t,n||[],pi(e).constructor):t.apply(e,n))}function u5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function c5(e,t,n){return t&&tO(e.prototype,t),n&&tO(e,n),e}function eO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pi(e){return pi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pi(e)}function l5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hy(e,t)}function a5(e,t){return t&&(f5(t)==="object"||typeof t=="function")?t:r5(e)}function hy(e,t){return hy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hy(e,t)}function f5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(nO=function(){return!!e})()}var _5=function(e){l5(t,e);function t(n){u5(this,t);var o;return o=i5(this,t,[n]),eO(o,"props",void 0),o.props=new fi(n==null?void 0:n.props),o}return c5(t,null,[{key:"controlType",get:function(){return"checkbox"}}]),t}(L);eO(_5,"controlFieldType",g.ARRAY);function y5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oO(e,t,n){return t=di(t),s5(e,uO()?Reflect.construct(t,n||[],di(e).constructor):t.apply(e,n))}function rO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function di(e){return di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},di(e)}function iO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&by(e,t)}function s5(e,t){return t&&(p5(t)==="object"||typeof t=="function")?t:y5(e)}function by(e,t){return by=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},by(e,t)}function p5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(uO=function(){return!!e})()}var d5=function(e){iO(t,e);function t(n){return rO(this,t),oO(this,t,[n])}return t}(Ve),gy=function(e){iO(t,e);function t(n){rO(this,t);var o;o=oO(this,t,[n]),wt(o,"radioMode",void 0),wt(o,"options",void 0),wt(o,"optionConfig",void 0),wt(o,"optionsFormat",void 0),wt(o,"defaultShowOptions",void 0),wt(o,"otherOption",void 0),wt(o,"optionsOrder",void 0),wt(o,"datasourceBind",void 0),wt(o,"multistageFilling",void 0),wt(o,"interreaction",void 0),wt(o,"defaultValue",void 0),wt(o,"openMultistageFilling",void 0);var r;o.options=Qt((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var i;o.radioMode=(i=n==null?void 0:n.radioMode)!==null&&i!==void 0?i:"horizontal";var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"custom";var c;o.otherOption=(c=n==null?void 0:n.otherOption)!==null&&c!==void 0?c:!1;var a;o.optionsOrder=(a=n==null?void 0:n.optionsOrder)!==null&&a!==void 0?a:!1;var l;o.defaultShowOptions=(l=n==null?void 0:n.defaultShowOptions)!==null&&l!==void 0?l:!0;var _;o.optionsFormat=(_=n==null?void 0:n.optionsFormat)!==null&&_!==void 0?_:"horizontal",o.datasourceBind=new G(n==null?void 0:n.datasourceBind);var s;o.interreaction=(s=n==null?void 0:n.interreaction)!==null&&s!==void 0?s:[];var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p: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 st(O))})),o}return t}(D);wt(gy,"Rules",d5);function v5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h5(e,t,n){return t=hi(t),O5(e,lO()?Reflect.construct(t,n||[],hi(e).constructor):t.apply(e,n))}function b5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function g5(e,t,n){return t&&cO(e.prototype,t),n&&cO(e,n),e}function vi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hi(e){return hi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hi(e)}function m5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&my(e,t)}function O5(e,t){return t&&(w5(t)==="object"||typeof t=="function")?t:v5(e)}function my(e,t){return my=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},my(e,t)}function w5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(lO=function(){return!!e})()}var bi=function(e){m5(t,e);function t(n){b5(this,t);var o;return o=h5(this,t,[n]),vi(o,"props",void 0),o.props=new gy(n==null?void 0:n.props),o}return g5(t,null,[{key:"controlName",get:function(){return"\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),t}(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 $5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P5(e,t,n){return t=gi(t),R5(e,_O()?Reflect.construct(t,n||[],gi(e).constructor):t.apply(e,n))}function E5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function S5(e,t,n){return t&&aO(e.prototype,t),n&&aO(e,n),e}function fO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gi(e){return gi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gi(e)}function T5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Oy(e,t)}function R5(e,t){return t&&(I5(t)==="object"||typeof t=="function")?t:$5(e)}function Oy(e,t){return Oy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Oy(e,t)}function I5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _O(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_O=function(){return!!e})()}var B5=function(e){T5(t,e);function t(n){E5(this,t);var o;return o=P5(this,t,[n]),fO(o,"props",void 0),o.props=new gy(n==null?void 0:n.props),o}return S5(t,null,[{key:"controlType",get:function(){return"radio"}}]),t}(L);fO(B5,"controlFieldType",g.VARCHAR);function A5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wy(e,t,n){return t=mi(t),k5(e,yO()?Reflect.construct(t,n||[],mi(e).constructor):t.apply(e,n))}function $y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ct(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mi(e){return mi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mi(e)}function Py(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ey(e,t)}function k5(e,t){return t&&(D5(t)==="object"||typeof t=="function")?t:A5(e)}function Ey(e,t){return Ey=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ey(e,t)}function D5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(yO=function(){return!!e})()}var x5=function(e){Py(t,e);function t(n){$y(this,t);var o;o=wy(this,t,[n]),ct(o,"defaultValue",[{type:"number",min:0,max:200,message:d.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}]),ct(o,"rangeMax",{type:"any"});var r=n.rangeMax===""?void 0:n.rangeMax,i=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue[0].max=r,o.defaultValue[0].min=i,o.defaultValue[0].message=d.getMessage("pleaseEnterNumberRange",{max:r,min:i}),i&&r!==void 0&&(o.rangeMax={type:"number",min:i,message:d.getMessage("numberRangeSetError")}),o.defaultValue[1].pattern=We(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return t}(J),L5=function(e){Py(t,e);function t(n){$y(this,t);var o;o=wy(this,t,[n]),o[0]!==void 0&&(o[0].type="number");var r=n.rangeMax!==""?n.rangeMax:void 0,i=n.rangeMin!==""?n.rangeMin:void 0;return o.push({type:"number",max:r,min:i,message:d.getMessage(r===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:r,min:i})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:We(n.regularRules.expression),message:n.regularRules.errMessage}),o}return t}(z),Oi=function(e){Py(t,e);function t(n){$y(this,t);var o;o=wy(this,t,[n]),ct(o,"rangeMin",void 0),ct(o,"rangeMax",void 0),ct(o,"numberType",void 0),ct(o,"percentageFormat",void 0),ct(o,"micrometer",void 0),ct(o,"precision",void 0),ct(o,"showUpperCase",void 0),ct(o,"isShowUnit",void 0),ct(o,"unitPosition",void 0),ct(o,"unit",void 0),ct(o,"defaultValue",void 0),ct(o,"regularRules",void 0);var r;o.rangeMin=(r=n==null?void 0:n.rangeMin)!==null&&r!==void 0?r:"";var i;o.rangeMax=(i=n==null?void 0:n.rangeMax)!==null&&i!==void 0?i:"";var u;o.numberType=(u=n==null?void 0:n.numberType)!==null&&u!==void 0?u:"number";var c;o.percentageFormat=(c=n==null?void 0:n.percentageFormat)!==null&&c!==void 0?c:!1;var a;o.micrometer=(a=n==null?void 0:n.micrometer)!==null&&a!==void 0?a:!1;var l;o.precision=(l=n==null?void 0:n.precision)!==null&&l!==void 0?l:0;var _;o.showUpperCase=(_=n==null?void 0:n.showUpperCase)!==null&&_!==void 0?_:!1;var s;o.isShowUnit=(s=n==null?void 0:n.isShowUnit)!==null&&s!==void 0?s:!1;var 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 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 Ao(n==null?void 0:n.regularRules),o}return t}(D);ct(Oi,"Rules",x5),ct(Oi,"RuntimeRules",L5);function F5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j5(e,t,n){return t=Xe(t),z5(e,pO()?Reflect.construct(t,n||[],Xe(e).constructor):t.apply(e,n))}function M5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function N5(e,t,n){return t&&sO(e.prototype,t),n&&sO(e,n),e}function wi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $i(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?$i=Reflect.get:$i=function(r,i,u){var c=C5(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},$i(e,t,n||e)}function Xe(e){return Xe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xe(e)}function V5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sy(e,t)}function z5(e,t){return t&&(H5(t)==="object"||typeof t=="function")?t:F5(e)}function Sy(e,t){return Sy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sy(e,t)}function C5(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Xe(e),e!==null););return e}function H5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(pO=function(){return!!e})()}var Pi=function(e){V5(t,e);function t(n){M5(this,t);var o;return o=j5(this,t,[n]),wi(o,"props",void 0),o.props=new Oi(n==null?void 0:n.props),o}return N5(t,[{key:"toDataBindModel",value:function(o){var r=$i(Xe(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.precision,c=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=c}return r}}],[{key:"controlName",get:function(){return"\u6570\u5B57"}},{key:"controlIcon",get:function(){return"iconnuminput_new"}},{key:"controlType",get:function(){return"number"}}]),t}(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 q5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U5(e,t,n){return t=Ei(t),X5(e,hO()?Reflect.construct(t,n||[],Ei(e).constructor):t.apply(e,n))}function W5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function K5(e,t,n){return t&&dO(e.prototype,t),n&&dO(e,n),e}function vO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ei(e){return Ei=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ei(e)}function G5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ty(e,t)}function X5(e,t){return t&&(Q5(t)==="object"||typeof t=="function")?t:q5(e)}function Ty(e,t){return Ty=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ty(e,t)}function Q5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(hO=function(){return!!e})()}var J5=function(e){G5(t,e);function t(n){W5(this,t);var o;return o=U5(this,t,[n]),vO(o,"props",void 0),o.props=new Oi(n==null?void 0:n.props),o}return K5(t,null,[{key:"controlType",get:function(){return"number"}}]),t}(L);vO(J5,"controlFieldType",g.DECIMAL);function Z5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y5(e,t,n){return t=Si(t),n6(e,bO()?Reflect.construct(t,n||[],Si(e).constructor):t.apply(e,n))}function t6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function de(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Si(e){return Si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Si(e)}function e6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ry(e,t)}function n6(e,t){return t&&(o6(t)==="object"||typeof t=="function")?t:Z5(e)}function Ry(e,t){return Ry=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ry(e,t)}function o6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(bO=function(){return!!e})()}var gO=function(e){e6(t,e);function t(n){t6(this,t);var o,r;o=Y5(this,t,[n]),de(o,"dateType",void 0),de(o,"dateFormat",void 0),de(o,"commonTimeSetting",void 0),de(o,"setValueType",void 0),de(o,"defaultValue",void 0),de(o,"limitDateList",void 0),de(o,"allowDateRange",void 0),de(o,"filterWeekend",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:xe.DATE;var u;o.dateFormat=(u=n==null?void 0:n.dateFormat)!==null&&u!==void 0?u:"";var c;o.commonTimeSetting=(c=n==null?void 0:n.commonTimeSetting)!==null&&c!==void 0?c:[];var a;o.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:Ay.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 p;o.limitDateList=(p=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function(O){return new Zf(O)}))!==null&&p!==void 0?p:[];var b;o.allowDateRange=(b=n==null?void 0:n.allowDateRange)!==null&&b!==void 0?b:["",""];var m;return o.filterWeekend=(m=n==null?void 0:n.filterWeekend)!==null&&m!==void 0?m:!1,o}return t}(D);function r6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i6(e,t,n){return t=Qe(t),a6(e,OO()?Reflect.construct(t,n||[],Qe(e).constructor):t.apply(e,n))}function u6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function c6(e,t,n){return t&&mO(e.prototype,t),n&&mO(e,n),e}function Iy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ti(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Ti=Reflect.get:Ti=function(r,i,u){var c=f6(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Ti(e,t,n||e)}function Qe(e){return Qe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qe(e)}function l6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&By(e,t)}function a6(e,t){return t&&(_6(t)==="object"||typeof t=="function")?t:r6(e)}function By(e,t){return By=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},By(e,t)}function f6(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Qe(e),e!==null););return e}function _6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(OO=function(){return!!e})()}var Ay=function(e){l6(t,e);function t(n){u6(this,t);var o;return o=i6(this,t,[n]),Iy(o,"props",void 0),o.props=new gO(n==null?void 0:n.props),o}return c6(t,[{key:"toDataBindModel",value:function(o){var r=Ti(Qe(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props.dateType;r.props.dateType=i}return r}}],[{key:"controlName",get:function(){return"\u65E5\u671F"}},{key:"controlIcon",get:function(){return"iconriqi1"}},{key:"controlType",get:function(){return"date-picker"}}]),t}(x);Iy(Ay,"controlFieldType",g.TIMESTAMP),Iy(Ay,"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 y6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s6(e,t,n){return t=Ri(t),h6(e,PO()?Reflect.construct(t,n||[],Ri(e).constructor):t.apply(e,n))}function p6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function d6(e,t,n){return t&&wO(e.prototype,t),n&&wO(e,n),e}function $O(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ri(e){return Ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ri(e)}function v6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ky(e,t)}function h6(e,t){return t&&(b6(t)==="object"||typeof t=="function")?t:y6(e)}function ky(e,t){return ky=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ky(e,t)}function b6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(PO=function(){return!!e})()}var g6=function(e){v6(t,e);function t(n){p6(this,t);var o;return o=s6(this,t,[n]),$O(o,"props",void 0),o.props=new gO(n==null?void 0:n.props),o}return d6(t,null,[{key:"controlType",get:function(){return"date-picker"}}]),t}(L);$O(g6,"controlFieldType",g.TIMESTAMP);function m6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EO(e,t,n){return t=Ii(t),O6(e,RO()?Reflect.construct(t,n||[],Ii(e).constructor):t.apply(e,n))}function SO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function St(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ii(e){return Ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ii(e)}function TO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dy(e,t)}function O6(e,t){return t&&(w6(t)==="object"||typeof t=="function")?t:m6(e)}function Dy(e,t){return Dy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dy(e,t)}function w6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(RO=function(){return!!e})()}var $6=function(e){TO(t,e);function t(n){SO(this,t);var o;return o=EO(this,t,[n]),o[0]!==void 0&&(o[0].type="object"),n.required&&!n.isHide&&o.push({type:"object",fields:{max:{type:"string",required:n.required,message:o[0].message},min:{type:"string",required:n.required,message:o[0].message}}}),o}return t}(z),xy=function(e){TO(t,e);function t(n){SO(this,t);var o,r;o=EO(this,t,[n]),St(o,"dataBind",void 0),St(o,"rangeMin",void 0),St(o,"rangeMax",void 0),St(o,"placeholderStart",void 0),St(o,"placeholderEnd",void 0),St(o,"dateFormat",void 0),St(o,"commonTimeSetting",void 0),St(o,"dateType",void 0),St(o,"setValueType",void 0),St(o,"defaultValue",void 0),St(o,"limitDateList",void 0),o.dataBind=new ak(n==null?void 0:n.dataBind),o.defaultValue=new fk(n==null?void 0:n.defaultValue);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:xe.DATE;var u;o.dateFormat=(u=n==null?void 0:n.dateFormat)!==null&&u!==void 0?u:"";var c;o.commonTimeSetting=(c=n==null?void 0:n.commonTimeSetting)!==null&&c!==void 0?c:[];var a;o.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var l;o.rangeMin=(l=n==null?void 0:n.rangeMin)!==null&&l!==void 0?l:"";var _;o.rangeMax=(_=n==null?void 0:n.rangeMax)!==null&&_!==void 0?_:"";var s;o.placeholderStart=(s=n==null?void 0:n.placeholderStart)!==null&&s!==void 0?s:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F";var 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:jy.controlName;var m;return o.limitDateList=(m=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function(O){return new Zf(O)}))!==null&&m!==void 0?m:[],o}return t}(D);St(xy,"RuntimeRules",$6);function P6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E6(e,t,n){return t=Je(t),I6(e,BO()?Reflect.construct(t,n||[],Je(e).constructor):t.apply(e,n))}function S6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function T6(e,t,n){return t&&IO(e.prototype,t),n&&IO(e,n),e}function Ly(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bi(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Bi=Reflect.get:Bi=function(r,i,u){var c=B6(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Bi(e,t,n||e)}function Je(e){return Je=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Je(e)}function R6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fy(e,t)}function I6(e,t){return t&&(A6(t)==="object"||typeof t=="function")?t:P6(e)}function Fy(e,t){return Fy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fy(e,t)}function B6(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Je(e),e!==null););return e}function A6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(BO=function(){return!!e})()}var jy=function(e){R6(t,e);function t(n){S6(this,t);var o;return o=E6(this,t,[n]),Ly(o,"props",void 0),o.props=new xy(n==null?void 0:n.props),o}return T6(t,[{key:"toDataBindModel",value:function(o){var r=Bi(Je(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props.dateType;r.props.dateType=i}return r}}],[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"date-range"}}]),t}(x);Ly(jy,"controlFieldType",g.TIMESCOPE),Ly(jy,"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 k6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D6(e,t,n){return t=Ai(t),j6(e,DO()?Reflect.construct(t,n||[],Ai(e).constructor):t.apply(e,n))}function x6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function L6(e,t,n){return t&&AO(e.prototype,t),n&&AO(e,n),e}function kO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ai(e){return Ai=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ai(e)}function F6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&My(e,t)}function j6(e,t){return t&&(M6(t)==="object"||typeof t=="function")?t:k6(e)}function My(e,t){return My=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},My(e,t)}function M6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(DO=function(){return!!e})()}var N6=function(e){F6(t,e);function t(n){x6(this,t);var o;return o=D6(this,t,[n]),kO(o,"props",void 0),o.props=new xy(n==null?void 0:n.props),o}return L6(t,null,[{key:"controlType",get:function(){return"date-range"}}]),t}(L);kO(N6,"controlFieldType",g.TIMESCOPE);function V6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ny(e,t,n){return t=ki(t),z6(e,xO()?Reflect.construct(t,n||[],ki(e).constructor):t.apply(e,n))}function Vy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ki(e){return ki=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ki(e)}function zy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cy(e,t)}function z6(e,t){return t&&(C6(t)==="object"||typeof t=="function")?t:V6(e)}function Cy(e,t){return Cy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cy(e,t)}function C6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(xO=function(){return!!e})()}var H6=function(e){zy(t,e);function t(n){Vy(this,t);var o;return o=Ny(this,t,[n]),xt(o,"maxLength",{type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),xt(o,"minLength",{type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),xt(o,"defaultValue",{type:"string",max:200,min:0,message:d.getMessage("stringRangeError")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return t}(J),q6=function(e){zy(t,e);function t(n){Vy(this,t);var o;return o=Ny(this,t,[n]),o.push({type:"string",max:n.maxLength,min:n.minLength,message:d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return t}(z),Di=function(e){zy(t,e);function t(n){Vy(this,t);var o;o=Ny(this,t,[n]),xt(o,"maxLength",void 0),xt(o,"minLength",void 0),xt(o,"defaultValue",void 0),xt(o,"lineEllipsis",void 0),xt(o,"autoSize",void 0),xt(o,"maxRows",void 0);var r;o.maxLength=(r=n==null?void 0:n.maxLength)!==null&&r!==void 0?r:5e4;var i;o.minLength=(i=n==null?void 0:n.minLength)!==null&&i!==void 0?i:0;var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:"";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Fi.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var l;o.lineEllipsis=(l=n==null?void 0:n.lineEllipsis)!==null&&l!==void 0?l:4;var _;return o.autoSize=(_=n==null?void 0:n.autoSize)!==null&&_!==void 0?_:!1,o.maxRows=n==null?void 0:n.maxRows,o}return t}(D);xt(Di,"Rules",H6),xt(Di,"RuntimeRules",q6);function U6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W6(e,t,n){return t=Li(t),Q6(e,FO()?Reflect.construct(t,n||[],Li(e).constructor):t.apply(e,n))}function K6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function G6(e,t,n){return t&&LO(e.prototype,t),n&&LO(e,n),e}function xi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Li(e){return Li=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Li(e)}function X6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hy(e,t)}function Q6(e,t){return t&&(J6(t)==="object"||typeof t=="function")?t:U6(e)}function Hy(e,t){return Hy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hy(e,t)}function J6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(FO=function(){return!!e})()}var Fi=function(e){X6(t,e);function t(n){K6(this,t);var o;return o=W6(this,t,[n]),xi(o,"props",void 0),o.props=new Di(n==null?void 0:n.props),o}return G6(t,null,[{key:"controlName",get:function(){return"\u591A\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconMultilineline_new1"}},{key:"controlType",get:function(){return"textarea"}}]),t}(x);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 Z6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y6(e,t,n){return t=ji(t),o4(e,NO()?Reflect.construct(t,n||[],ji(e).constructor):t.apply(e,n))}function t4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function e4(e,t,n){return t&&jO(e.prototype,t),n&&jO(e,n),e}function MO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ji(e){return ji=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ji(e)}function n4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qy(e,t)}function o4(e,t){return t&&(r4(t)==="object"||typeof t=="function")?t:Z6(e)}function qy(e,t){return qy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qy(e,t)}function r4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(NO=function(){return!!e})()}var i4=function(e){n4(t,e);function t(n){t4(this,t);var o;return o=Y6(this,t,[n]),MO(o,"props",void 0),o.props=new Di(n==null?void 0:n.props),o}return e4(t,null,[{key:"controlType",get:function(){return"textarea"}}]),t}(L);MO(i4,"controlFieldType",g.TEXT);function u4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uy(e,t,n){return t=Mi(t),c4(e,VO()?Reflect.construct(t,n||[],Mi(e).constructor):t.apply(e,n))}function Wy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ve(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mi(e){return Mi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mi(e)}function Ky(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gy(e,t)}function c4(e,t){return t&&(l4(t)==="object"||typeof t=="function")?t:u4(e)}function Gy(e,t){return Gy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gy(e,t)}function l4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(VO=function(){return!!e})()}var a4=function(e){Ky(t,e);function t(n){Wy(this,t);var o;return o=Uy(this,t,[n]),ve(o,"maxLength",{type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),ve(o,"minLength",{type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),ve(o,"defaultValue",{type:"string",max:200,min:0,message:d.getMessage("stringRangeError")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return t}(J),f4=function(e){Ky(t,e);function t(n){Wy(this,t);var o;return o=Uy(this,t,[n]),o.push({type:"string",max:n.maxLength,min:n.minLength,message:d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return t}(z),Ni=function(e){Ky(t,e);function t(n){Wy(this,t);var o;o=Uy(this,t,[n]),ve(o,"maxLength",void 0),ve(o,"minLength",void 0),ve(o,"defaultValue",void 0);var r;o.maxLength=(r=n==null?void 0:n.maxLength)!==null&&r!==void 0?r:5e4;var i;o.minLength=(i=n==null?void 0:n.minLength)!==null&&i!==void 0?i:0;var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:"";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Ci.controlName;var a;return o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165",o}return t}(D);ve(Ni,"Rules",a4),ve(Ni,"RuntimeRules",f4);function _4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y4(e,t,n){return t=zi(t),v4(e,CO()?Reflect.construct(t,n||[],zi(e).constructor):t.apply(e,n))}function s4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function p4(e,t,n){return t&&zO(e.prototype,t),n&&zO(e,n),e}function Vi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zi(e){return zi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zi(e)}function d4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xy(e,t)}function v4(e,t){return t&&(h4(t)==="object"||typeof t=="function")?t:_4(e)}function Xy(e,t){return Xy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xy(e,t)}function h4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(CO=function(){return!!e})()}var Ci=function(e){d4(t,e);function t(n){s4(this,t);var o;return o=y4(this,t,[n]),Vi(o,"props",void 0),o.props=new Ni(n==null?void 0:n.props),o}return p4(t,null,[{key:"controlName",get:function(){return"\u5BCC\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconRichtextbox_new"}},{key:"controlType",get:function(){return"rich-text"}}]),t}(x);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 b4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g4(e,t,n){return t=Hi(t),$4(e,UO()?Reflect.construct(t,n||[],Hi(e).constructor):t.apply(e,n))}function m4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function O4(e,t,n){return t&&HO(e.prototype,t),n&&HO(e,n),e}function qO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hi(e){return Hi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hi(e)}function w4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qy(e,t)}function $4(e,t){return t&&(P4(t)==="object"||typeof t=="function")?t:b4(e)}function Qy(e,t){return Qy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qy(e,t)}function P4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function UO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(UO=function(){return!!e})()}var E4=function(e){w4(t,e);function t(n){m4(this,t);var o;return o=g4(this,t,[n]),qO(o,"props",void 0),o.props=new Ni(n==null?void 0:n.props),o}return O4(t,null,[{key:"controlType",get:function(){return"rich-text"}}]),t}(L);qO(E4,"controlFieldType",g.TEXT);function S4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WO(e,t,n){return t=qi(t),T4(e,XO()?Reflect.construct(t,n||[],qi(e).constructor):t.apply(e,n))}function KO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qi(e){return qi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qi(e)}function GO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jy(e,t)}function T4(e,t){return t&&(R4(t)==="object"||typeof t=="function")?t:S4(e)}function Jy(e,t){return Jy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jy(e,t)}function R4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(XO=function(){return!!e})()}var I4=function(e){GO(t,e);function t(n){KO(this,t);var o;return o=WO(this,t,[n]),$t(o,"formBind",{type:"object",fields:{formKey:{type:"string",message:d.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return t}(Ve),Zy=function(e){GO(t,e);function t(n){KO(this,t);var o;o=WO(this,t,[n]),$t(o,"options",void 0),$t(o,"defaultShowOptions",void 0),$t(o,"optionConfig",void 0),$t(o,"defaultValue",void 0),$t(o,"datasourceBind",void 0),$t(o,"multistageFilling",void 0),$t(o,"allowCopyOptions",void 0),$t(o,"openMultistageFilling",void 0),$t(o,"viewFormModelType",void 0),$t(o,"canViewForm",void 0),$t(o,"formBind",void 0);var r;o.options=Qt((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var i;o.defaultShowOptions=(i=n==null?void 0:n.defaultShowOptions)!==null&&i!==void 0?i:!0;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"custom",o.datasourceBind=new G(n==null?void 0:n.datasourceBind);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:es.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9";var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:"";var _;o.allowCopyOptions=(_=n==null?void 0:n.allowCopyOptions)!==null&&_!==void 0?_:!1;var s;o.openMultistageFilling=(s=n==null?void 0:n.openMultistageFilling)!==null&&s!==void 0?s:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(m){var O;(O=o.multistageFilling)===null||O===void 0||O.push(new st(m))}));var p;o.canViewForm=(p=n==null?void 0:n.canViewForm)!==null&&p!==void 0?p:!1;var b;return o.viewFormModelType=(b=n==null?void 0:n.viewFormModelType)!==null&&b!==void 0?b:"window",o.formBind=new je(n==null?void 0:n.formBind),o}return t}(D);$t(Zy,"Rules",I4);function B4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A4(e,t,n){return t=Ui(t),L4(e,JO()?Reflect.construct(t,n||[],Ui(e).constructor):t.apply(e,n))}function k4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function D4(e,t,n){return t&&QO(e.prototype,t),n&&QO(e,n),e}function Yy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ui(e){return Ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ui(e)}function x4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ts(e,t)}function L4(e,t){return t&&(F4(t)==="object"||typeof t=="function")?t:B4(e)}function ts(e,t){return ts=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ts(e,t)}function F4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(JO=function(){return!!e})()}var es=function(e){x4(t,e);function t(n){k4(this,t);var o;return o=A4(this,t,[n]),Yy(o,"props",void 0),o.props=new Zy(n==null?void 0:n.props),o}return D4(t,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconxiala1"}},{key:"controlType",get:function(){return"select"}}]),t}(x);Yy(es,"controlFieldType",g.VARCHAR),Yy(es,"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 j4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M4(e,t,n){return t=Wi(t),C4(e,tw()?Reflect.construct(t,n||[],Wi(e).constructor):t.apply(e,n))}function N4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function V4(e,t,n){return t&&ZO(e.prototype,t),n&&ZO(e,n),e}function YO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wi(e){return Wi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wi(e)}function z4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ns(e,t)}function C4(e,t){return t&&(H4(t)==="object"||typeof t=="function")?t:j4(e)}function ns(e,t){return ns=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ns(e,t)}function H4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tw=function(){return!!e})()}var q4=function(e){z4(t,e);function t(n){N4(this,t);var o;return o=M4(this,t,[n]),YO(o,"props",void 0),o.props=new Zy(n==null?void 0:n.props),o}return V4(t,null,[{key:"controlType",get:function(){return"select"}}]),t}(L);YO(q4,"controlFieldType",g.VARCHAR);function U4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function os(e,t,n){return t=Ki(t),W4(e,ew()?Reflect.construct(t,n||[],Ki(e).constructor):t.apply(e,n))}function rs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ki(e){return Ki=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ki(e)}function is(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&us(e,t)}function W4(e,t){return t&&(K4(t)==="object"||typeof t=="function")?t:U4(e)}function us(e,t){return us=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},us(e,t)}function K4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ew(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ew=function(){return!!e})()}var G4=function(e){is(t,e);function t(n){rs(this,t);var o;return o=os(this,t,[n]),Pt(o,"formBind",{type:"object",fields:{formKey:{type:"string",message:d.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return t}(Ve),X4=function(e){is(t,e);function t(n){rs(this,t);var o;return o=os(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(z),Gi=function(e){is(t,e);function t(n){rs(this,t);var o;o=os(this,t,[n]),Pt(o,"options",void 0),Pt(o,"defaultShowOptions",void 0),Pt(o,"optionConfig",void 0),Pt(o,"defaultValue",void 0),Pt(o,"datasourceBind",void 0),Pt(o,"multistageFilling",void 0),Pt(o,"openMultistageFilling",void 0),Pt(o,"viewFormModelType",void 0),Pt(o,"canViewForm",void 0),Pt(o,"formBind",void 0);var r;o.options=Qt((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var i;o.defaultShowOptions=(i=n==null?void 0:n.defaultShowOptions)!==null&&i!==void 0?i:!0;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"custom",o.datasourceBind=new G(n==null?void 0:n.datasourceBind);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:as.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9";var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var _;o.openMultistageFilling=(_=n==null?void 0:n.openMultistageFilling)!==null&&_!==void 0?_:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(b){var m;(m=o.multistageFilling)===null||m===void 0||m.push(new st(b))}));var s;o.canViewForm=(s=n==null?void 0:n.canViewForm)!==null&&s!==void 0?s:!1;var p;return o.viewFormModelType=(p=n==null?void 0:n.viewFormModelType)!==null&&p!==void 0?p:"window",o.formBind=new je(n==null?void 0:n.formBind),o}return t}(D);Pt(Gi,"Rules",G4),Pt(Gi,"RuntimeRules",X4);function Q4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function J4(e,t,n){return t=Xi(t),e7(e,ow()?Reflect.construct(t,n||[],Xi(e).constructor):t.apply(e,n))}function Z4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Y4(e,t,n){return t&&nw(e.prototype,t),n&&nw(e,n),e}function cs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xi(e){return Xi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xi(e)}function t7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ls(e,t)}function e7(e,t){return t&&(n7(t)==="object"||typeof t=="function")?t:Q4(e)}function ls(e,t){return ls=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ls(e,t)}function n7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ow(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ow=function(){return!!e})()}var as=function(e){t7(t,e);function t(n){Z4(this,t);var o;return o=J4(this,t,[n]),cs(o,"props",void 0),o.props=new Gi(n==null?void 0:n.props),o}return Y4(t,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconxialaduoxuan"}},{key:"controlType",get:function(){return"select-multiple"}}]),t}(x);cs(as,"controlFieldType",g.ARRAY),cs(as,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.DEFAULT_SHOW_OPTIONS,f.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[f.CAN_VIEW_FORM,f.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]);function o7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r7(e,t,n){return t=Qi(t),l7(e,uw()?Reflect.construct(t,n||[],Qi(e).constructor):t.apply(e,n))}function i7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function u7(e,t,n){return t&&rw(e.prototype,t),n&&rw(e,n),e}function iw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qi(e){return Qi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qi(e)}function c7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fs(e,t)}function l7(e,t){return t&&(a7(t)==="object"||typeof t=="function")?t:o7(e)}function fs(e,t){return fs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fs(e,t)}function a7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(uw=function(){return!!e})()}var f7=function(e){c7(t,e);function t(n){i7(this,t);var o;return o=r7(this,t,[n]),iw(o,"props",void 0),o.props=new Gi(n==null?void 0:n.props),o}return u7(t,null,[{key:"controlType",get:function(){return"select-multiple"}}]),t}(L);iw(f7,"controlFieldType",g.ARRAY);function _7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cw(e,t,n){return t=Ji(t),y7(e,fw()?Reflect.construct(t,n||[],Ji(e).constructor):t.apply(e,n))}function lw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function te(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ji(e){return Ji=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ji(e)}function aw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_s(e,t)}function y7(e,t){return t&&(s7(t)==="object"||typeof t=="function")?t:_7(e)}function _s(e,t){return _s=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_s(e,t)}function s7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(fw=function(){return!!e})()}var p7=function(e){aw(t,e);function t(n){lw(this,t);var o;return o=cw(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(z),ys=function(e){aw(t,e);function t(n){lw(this,t);var o;o=cw(this,t,[n]),te(o,"showType",void 0),te(o,"range",void 0),te(o,"rangeOptions",void 0),te(o,"multiple",void 0),te(o,"defaultValueType",void 0),te(o,"defaultValue",void 0),te(o,"multistageFilling",void 0),te(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.range=(i=n==null?void 0:n.range)!==null&&i!==void 0?i:"all";var u;o.rangeOptions=(u=n==null?void 0:n.rangeOptions)!==null&&u!==void 0?u:[];var c;o.multiple=(c=n==null?void 0:n.multiple)!==null&&c!==void 0?c:!1;var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:ds.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 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 m;(m=o.multistageFilling)===null||m===void 0||m.push(new st(b))})),o}return t}(D);te(ys,"RuntimeRules",p7);function d7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v7(e,t,n){return t=Zi(t),m7(e,yw()?Reflect.construct(t,n||[],Zi(e).constructor):t.apply(e,n))}function h7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _w(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function b7(e,t,n){return t&&_w(e.prototype,t),n&&_w(e,n),e}function ss(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zi(e){return Zi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zi(e)}function g7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ps(e,t)}function m7(e,t){return t&&(O7(t)==="object"||typeof t=="function")?t:d7(e)}function ps(e,t){return ps=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ps(e,t)}function O7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(yw=function(){return!!e})()}var ds=function(e){g7(t,e);function t(n){h7(this,t);var o;return o=v7(this,t,[n]),ss(o,"props",void 0),o.props=new ys(n==null?void 0:n.props),o}return b7(t,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),t}(x);ss(ds,"controlFieldType",g.EMPLOYEES),ss(ds,"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 w7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $7(e,t,n){return t=Yi(t),T7(e,dw()?Reflect.construct(t,n||[],Yi(e).constructor):t.apply(e,n))}function P7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function E7(e,t,n){return t&&sw(e.prototype,t),n&&sw(e,n),e}function pw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yi(e){return Yi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yi(e)}function S7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vs(e,t)}function T7(e,t){return t&&(R7(t)==="object"||typeof t=="function")?t:w7(e)}function vs(e,t){return vs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vs(e,t)}function R7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(dw=function(){return!!e})()}var I7=function(e){S7(t,e);function t(n){P7(this,t);var o;return o=$7(this,t,[n]),pw(o,"props",void 0),o.props=new ys(n==null?void 0:n.props),o}return E7(t,null,[{key:"controlType",get:function(){return"employee"}}]),t}(L);pw(I7,"controlFieldType",g.EMPLOYEES);function B7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hs(e,t,n){return t=tu(t),A7(e,vw()?Reflect.construct(t,n||[],tu(e).constructor):t.apply(e,n))}function bs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ht(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tu(e){return tu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tu(e)}function gs(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ms(e,t)}function A7(e,t){return t&&(k7(t)==="object"||typeof t=="function")?t:B7(e)}function ms(e,t){return ms=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ms(e,t)}function k7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(vw=function(){return!!e})()}var D7=10485760,x7=104857600,L7=1048576e3,F7=function(e){gs(t,e);function t(n){bs(this,t);var o;return o=hs(this,t,[n]),ht(o,"maxSize",{type:"number",min:0,max:L7,message:d.getMessage("attachmentMaxSize")}),o}return t}(J),j7=function(e){gs(t,e);function t(n){bs(this,t);var o;return o=hs(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o.push({type:"array",max:n.maxLimit,min:n.minLimit,message:d.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),o}return t}(z),ao=function(e){gs(t,e);function t(n){bs(this,t);var o;o=hs(this,t,[n]),ht(o,"defaultValue",void 0),ht(o,"showType",void 0),ht(o,"resultShowType",void 0),ht(o,"attachmentAccept",void 0),ht(o,"maxLimit",void 0),ht(o,"minLimit",void 0),ht(o,"isShowWatermark",void 0),ht(o,"watermarkFx",void 0),ht(o,"maxSize",void 0),ht(o,"forbidDownload",void 0),ht(o,"accessControl",void 0);var r;o.defaultValue=(r=n==null?void 0:n.defaultValue)!==null&&r!==void 0?r:[];var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.resultShowType=(u=n==null?void 0:n.resultShowType)!==null&&u!==void 0?u:"simple";var c;o.attachmentAccept=(c=n==null?void 0:n.attachmentAccept)!==null&&c!==void 0?c:[];var a;o.maxLimit=(a=n==null?void 0:n.maxLimit)!==null&&a!==void 0?a:10;var l;o.minLimit=(l=n==null?void 0:n.minLimit)!==null&&l!==void 0?l:0;var _;o.maxSize=(_=n==null?void 0:n.maxSize)!==null&&_!==void 0?_:x7;var s;o.caption=(s=n==null?void 0:n.caption)!==null&&s!==void 0?s:fo.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 m;o.watermarkFx=(m=n==null?void 0:n.watermarkFx)!==null&&m!==void 0?m:{};var O;o.forbidDownload=(O=n==null?void 0:n.forbidDownload)!==null&&O!==void 0?O:!1;var w;return o.accessControl=(w=n==null?void 0:n.accessControl)!==null&&w!==void 0?w:!1,o}return t}(D);ht(ao,"Rules",F7),ht(ao,"RuntimeRules",j7);function M7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N7(e,t,n){return t=Ze(t),H7(e,bw()?Reflect.construct(t,n||[],Ze(e).constructor):t.apply(e,n))}function V7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function z7(e,t,n){return t&&hw(e.prototype,t),n&&hw(e,n),e}function eu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nu(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?nu=Reflect.get:nu=function(r,i,u){var c=q7(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},nu(e,t,n||e)}function Ze(e){return Ze=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ze(e)}function C7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Os(e,t)}function H7(e,t){return t&&(U7(t)==="object"||typeof t=="function")?t:M7(e)}function Os(e,t){return Os=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Os(e,t)}function q7(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ze(e),e!==null););return e}function U7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(bw=function(){return!!e})()}var fo=function(e){C7(t,e);function t(n){V7(this,t);var o;return o=N7(this,t,[n]),eu(o,"props",void 0),o.props=new ao(n==null?void 0:n.props),o}return z7(t,[{key:"toDataBindModel",value:function(o){var r=nu(Ze(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.forbidDownload,c=i.accessControl;r.props.forbidDownload=u!=null?u:!1,r.props.accessControl=c!=null?c:!1}return r}}],[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),t}(x);eu(fo,"controlEventKeys",["on_change"]),eu(fo,"controlFieldType",g.FILE),eu(fo,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!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 W7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function K7(e,t,n){return t=ou(t),J7(e,Ow()?Reflect.construct(t,n||[],ou(e).constructor):t.apply(e,n))}function G7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function X7(e,t,n){return t&&gw(e.prototype,t),n&&gw(e,n),e}function mw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ou(e){return ou=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ou(e)}function Q7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ws(e,t)}function J7(e,t){return t&&(Z7(t)==="object"||typeof t=="function")?t:W7(e)}function ws(e,t){return ws=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ws(e,t)}function Z7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ow(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ow=function(){return!!e})()}var Y7=function(e){Q7(t,e);function t(n){G7(this,t);var o;return o=K7(this,t,[n]),mw(o,"props",void 0),o.props=new ao(n==null?void 0:n.props),o}return X7(t,null,[{key:"controlType",get:function(){return"attachment"}}]),t}(L);mw(Y7,"controlFieldType",g.FILE);function t9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e9(e,t,n){return t=ru(t),i9(e,ww()?Reflect.construct(t,n||[],ru(e).constructor):t.apply(e,n))}function n9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o9(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ru(e){return ru=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ru(e)}function r9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$s(e,t)}function i9(e,t){return t&&(u9(t)==="object"||typeof t=="function")?t:t9(e)}function $s(e,t){return $s=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$s(e,t)}function u9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ww(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ww=function(){return!!e})()}var c9=function(e){r9(t,e);function t(n){n9(this,t);var o;o=e9(this,t,[n]),o9(o,"onlyAllowTakePhoto",void 0);var r;return o.onlyAllowTakePhoto=(r=n==null?void 0:n.onlyAllowTakePhoto)!==null&&r!==void 0?r:!1,o}return t}(ao);function l9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a9(e,t,n){return t=iu(t),s9(e,Pw()?Reflect.construct(t,n||[],iu(e).constructor):t.apply(e,n))}function f9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $w(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function _9(e,t,n){return t&&$w(e.prototype,t),n&&$w(e,n),e}function Ps(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function iu(e){return iu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},iu(e)}function y9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Es(e,t)}function s9(e,t){return t&&(p9(t)==="object"||typeof t=="function")?t:l9(e)}function Es(e,t){return Es=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Es(e,t)}function p9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Pw=function(){return!!e})()}var Ew=function(e){y9(t,e);function t(n){f9(this,t);var o,r,i;o=a9(this,t,[n]),Ps(o,"props",void 0),o.props=new c9(n==null?void 0:n.props),o.props.showType="image";var u;o.props.caption=(u=n==null||(r=n.props)===null||r===void 0?void 0:r.caption)!==null&&u!==void 0?u:t.controlName;var c;return o.props.placeholder=(c=n==null||(i=n.props)===null||i===void 0?void 0:i.placeholder)!==null&&c!==void 0?c:"\u4E0A\u4F20\u56FE\u7247",o}return _9(t,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),t}(fo);Ps(Ew,"controlFieldType",g.IMAGE),Ps(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 d9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ss(e,t,n){return t=uu(t),g9(e,Sw()?Reflect.construct(t,n||[],uu(e).constructor):t.apply(e,n))}function Ts(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uu(e){return uu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},uu(e)}function Rs(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Is(e,t)}function v9(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){lt(e,r,n[r])})}return e}function h9(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function b9(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):h9(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function g9(e,t){return t&&(m9(t)==="object"||typeof t=="function")?t:d9(e)}function Is(e,t){return Is=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Is(e,t)}function m9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Sw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Sw=function(){return!!e})()}var O9=function(e){Rs(t,e);function t(n){Ts(this,t);var o;o=Ss(this,t,[n]),lt(o,"defaultValue",{type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:d.getMessage("pleaseEnterNumberRange")}]}}),lt(o,"rangeMax",{type:"any"});var r=n.rangeMax===""?void 0:n.rangeMax,i=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue.fields.amount[0].max=r,o.defaultValue.fields.amount[0].min=i,o.defaultValue.fields.amount[0].message=d.getMessage("pleaseEnterNumberRange",{max:r,min:i}),i&&r!==void 0&&(o.rangeMax={type:"number",min:i,message:d.getMessage("numberRangeSetError")}),o}return t}(Ve),w9=function(e){Rs(t,e);function t(n){Ts(this,t);var o;o=Ss(this,t,[n]),o[0]!==void 0&&(o[0].type="object");var r=n.rangeMax===""?void 0:n.rangeMax,i=n.rangeMin===""?void 0:n.rangeMin;return o.push({type:"object",fields:{amount:[b9(v9({},o[0]),{type:"number"}),{type:"number",min:i,max:r,message:d.getMessage(r===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:r,min:i})}],currency:{type:"string"}}}),o}return t}(z),cu=function(e){Rs(t,e);function t(n){Ts(this,t);var o;o=Ss(this,t,[n]),lt(o,"rangeMin",void 0),lt(o,"rangeMax",void 0),lt(o,"showUpperCase",void 0),lt(o,"submitSelectCurrency",void 0),lt(o,"micrometer",void 0),lt(o,"precision",void 0),lt(o,"optionConfig",void 0),lt(o,"dataBind",void 0),lt(o,"datasourceBind",void 0),lt(o,"defaultValue",void 0),lt(o,"options",void 0);var r;o.rangeMin=(r=n==null?void 0:n.rangeMin)!==null&&r!==void 0?r:"";var i;o.rangeMax=(i=n==null?void 0:n.rangeMax)!==null&&i!==void 0?i:"";var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"datasource";var c;o.micrometer=(c=n==null?void 0:n.micrometer)!==null&&c!==void 0?c:!1;var a;o.precision=(a=n==null?void 0:n.precision)!==null&&a!==void 0?a:2,o.dataBind=new ck(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 rf({value:"name"})]});var _;o.defaultValue=new lk((_=n==null?void 0:n.defaultValue)!==null&&_!==void 0?_:{amount:"",currency:pk.CNY}),o.options=Qt(n==null?void 0:n.options);var s;o.caption=(s=n==null?void 0:n.caption)!==null&&s!==void 0?s:fu.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 m;return o.showUpperCase=(m=n==null?void 0:n.showUpperCase)!==null&&m!==void 0?m:!1,o}return t}(D);lt(cu,"Rules",O9),lt(cu,"RuntimeRules",w9);function $9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P9(e,t,n){return t=Ye(t),R9(e,Rw()?Reflect.construct(t,n||[],Ye(e).constructor):t.apply(e,n))}function E9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function S9(e,t,n){return t&&Tw(e.prototype,t),n&&Tw(e,n),e}function lu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function au(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?au=Reflect.get:au=function(r,i,u){var c=I9(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},au(e,t,n||e)}function Ye(e){return Ye=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ye(e)}function T9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bs(e,t)}function R9(e,t){return t&&(B9(t)==="object"||typeof t=="function")?t:$9(e)}function Bs(e,t){return Bs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bs(e,t)}function I9(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ye(e),e!==null););return e}function B9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Rw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Rw=function(){return!!e})()}var fu=function(e){T9(t,e);function t(n){E9(this,t);var o;return o=P9(this,t,[n]),lu(o,"props",void 0),o.props=new cu(n==null?void 0:n.props),o}return S9(t,[{key:"toDataBindModel",value:function(o){var r=au(Ye(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.precision,c=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=c}return r}}],[{key:"controlName",get:function(){return"\u91D1\u989D"}},{key:"controlType",get:function(){return"amount"}},{key:"controlIcon",get:function(){return"iconjine"}}]),t}(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 A9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k9(e,t,n){return t=_u(t),F9(e,Aw()?Reflect.construct(t,n||[],_u(e).constructor):t.apply(e,n))}function D9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Iw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function x9(e,t,n){return t&&Iw(e.prototype,t),n&&Iw(e,n),e}function Bw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _u(e){return _u=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_u(e)}function L9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&As(e,t)}function F9(e,t){return t&&(j9(t)==="object"||typeof t=="function")?t:A9(e)}function As(e,t){return As=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},As(e,t)}function j9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Aw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Aw=function(){return!!e})()}var M9=function(e){L9(t,e);function t(n){D9(this,t);var o;return o=k9(this,t,[n]),Bw(o,"props",void 0),o.props=new cu(n==null?void 0:n.props),o}return x9(t,null,[{key:"controlType",get:function(){return"amount"}}]),t}(L);Bw(M9,"controlFieldType",g.MONEY);function N9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ks(e,t,n){return t=yu(t),V9(e,kw()?Reflect.construct(t,n||[],yu(e).constructor):t.apply(e,n))}function Ds(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yu(e){return yu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yu(e)}function xs(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ls(e,t)}function V9(e,t){return t&&(z9(t)==="object"||typeof t=="function")?t:N9(e)}function Ls(e,t){return Ls=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ls(e,t)}function z9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(kw=function(){return!!e})()}var C9=function(e){xs(t,e);function t(n){Ds(this,t);var o;return o=ks(this,t,[n]),ee(o,"totalScore",[{type:"number",required:!0,message:d.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:d.getMessage("theTotalScoreMustNotBeLessThan1")}]),ee(o,"defaultValue",{type:"number",min:0,max:5,message:d.getMessage("scoreDefaultValueRange")}),o.defaultValue.max=n.totalScore,o.defaultValue.message=d.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:0}),o}return t}(J),H9=function(e){xs(t,e);function t(n){Ds(this,t);var o;o=ks(this,t,[n]),o[0]!==void 0&&(o[0].type="number");var r=n.required?1:0;return o.push({type:"number",min:r,max:n.totalScore,message:d.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:r})}),o}return t}(z),su=function(e){xs(t,e);function t(n){Ds(this,t);var o,r;o=ks(this,t,[n]),ee(o,"totalScore",void 0),ee(o,"scoreType",void 0),ee(o,"isShowExplain",void 0),ee(o,"explain",void 0),ee(o,"defaultValue",void 0);var i;o.totalScore=(i=n==null?void 0:n.totalScore)!==null&&i!==void 0?i:5;var u;o.scoreType=(u=n==null?void 0:n.scoreType)!==null&&u!==void 0?u:qx.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 Yf(s)}))!==null&&a!==void 0?a:Array(o.totalScore).fill(void 0).map(function(){return new Yf});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 t}(D);ee(su,"Rules",C9),ee(su,"RuntimeRules",H9);function Fs(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function q9(e){if(Array.isArray(e))return Fs(e)}function U9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W9(e,t,n){return t=tn(t),Z9(e,xw()?Reflect.construct(t,n||[],tn(e).constructor):t.apply(e,n))}function K9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function G9(e,t,n){return t&&Dw(e.prototype,t),n&&Dw(e,n),e}function pu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function du(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?du=Reflect.get:du=function(r,i,u){var c=Y9(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},du(e,t,n||e)}function tn(e){return tn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tn(e)}function X9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&js(e,t)}function Q9(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function J9(){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 Z9(e,t){return t&&(e8(t)==="object"||typeof t=="function")?t:U9(e)}function js(e,t){return js=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},js(e,t)}function Y9(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=tn(e),e!==null););return e}function t8(e){return q9(e)||Q9(e)||n8(e)||J9()}function e8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function n8(e,t){if(!!e){if(typeof e=="string")return Fs(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Fs(e,t)}}function xw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(xw=function(){return!!e})()}var vu=function(e){X9(t,e);function t(n){K9(this,t);var o;return o=W9(this,t,[n]),pu(o,"props",void 0),o.props=new su(n==null?void 0:n.props),o}return G9(t,[{key:"postUpdate",value:function(o,r){if(o==="totalScore"){if(r===this.props.explain.length)return;if(this.props.explain.length>r)this.props.explain=this.props.explain.slice(0,r);else{var i,u=r-this.props.explain.length,c=Array(u).fill(void 0).map(function(){return new Yf});(i=this.props.explain).push.apply(i,t8(c))}}du(tn(t.prototype),"postUpdate",this).call(this,o,r)}}],[{key:"controlName",get:function(){return"\u8BC4\u5206"}},{key:"controlIcon",get:function(){return"iconpingfen"}},{key:"controlType",get:function(){return"score"}}]),t}(x);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 o8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r8(e,t,n){return t=hu(t),l8(e,jw()?Reflect.construct(t,n||[],hu(e).constructor):t.apply(e,n))}function i8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function u8(e,t,n){return t&&Lw(e.prototype,t),n&&Lw(e,n),e}function Fw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hu(e){return hu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hu(e)}function c8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ms(e,t)}function l8(e,t){return t&&(a8(t)==="object"||typeof t=="function")?t:o8(e)}function Ms(e,t){return Ms=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ms(e,t)}function a8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(jw=function(){return!!e})()}var f8=function(e){c8(t,e);function t(n){i8(this,t);var o;return o=r8(this,t,[n]),Fw(o,"props",void 0),o.props=new su(n==null?void 0:n.props),o}return u8(t,null,[{key:"controlType",get:function(){return"score"}}]),t}(L);Fw(f8,"controlFieldType",g.DECIMAL);function _8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mw(e,t,n){return t=gu(t),y8(e,zw()?Reflect.construct(t,n||[],gu(e).constructor):t.apply(e,n))}function Nw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gu(e){return gu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gu(e)}function Vw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ns(e,t)}function y8(e,t){return t&&(s8(t)==="object"||typeof t=="function")?t:_8(e)}function Ns(e,t){return Ns=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ns(e,t)}function s8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(zw=function(){return!!e})()}var p8=function(e){Vw(t,e);function t(n){Nw(this,t);var o;if(o=Mw(this,t,[n]),o[0]!==void 0&&(o[0].type="object"),n.required&&!n.isHide){var r={type:"object",fields:{province:{type:"string",required:n.required,message:d.getMessage("pleaseSelectProvince")}}};n.addressType.includes("city")&&(r.fields.city={type:"string",required:n.required,message:d.getMessage("pleaseSelectCity")}),n.addressType.includes("district")&&(r.fields.district={type:"string",required:n.required,message:d.getMessage("pleaseSelectDistrict")}),o.push(r)}return o}return t}(z),Vs=function(e){Vw(t,e);function t(n){Nw(this,t);var o;o=Mw(this,t,[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 _k((c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:{});var a;return o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9\u5730\u5740",o}return t}(D);bu(Vs,"RuntimeRules",p8);function d8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v8(e,t,n){return t=mu(t),m8(e,Hw()?Reflect.construct(t,n||[],mu(e).constructor):t.apply(e,n))}function h8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function b8(e,t,n){return t&&Cw(e.prototype,t),n&&Cw(e,n),e}function zs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mu(e){return mu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mu(e)}function g8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cs(e,t)}function m8(e,t){return t&&(O8(t)==="object"||typeof t=="function")?t:d8(e)}function Cs(e,t){return Cs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cs(e,t)}function O8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Hw=function(){return!!e})()}var Hs=function(e){g8(t,e);function t(n){h8(this,t);var o;return o=v8(this,t,[n]),zs(o,"props",void 0),o.props=new Vs(n==null?void 0:n.props),o}return b8(t,null,[{key:"controlName",get:function(){return"\u5730\u5740"}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),t}(x);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 w8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $8(e,t,n){return t=Ou(t),T8(e,Ww()?Reflect.construct(t,n||[],Ou(e).constructor):t.apply(e,n))}function P8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function E8(e,t,n){return t&&qw(e.prototype,t),n&&qw(e,n),e}function Uw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ou(e){return Ou=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ou(e)}function S8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qs(e,t)}function T8(e,t){return t&&(R8(t)==="object"||typeof t=="function")?t:w8(e)}function qs(e,t){return qs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qs(e,t)}function R8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ww(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ww=function(){return!!e})()}var I8=function(e){S8(t,e);function t(n){P8(this,t);var o;return o=$8(this,t,[n]),Uw(o,"props",void 0),o.props=new Vs(n==null?void 0:n.props),o}return E8(t,null,[{key:"controlName",get:function(){return"\u7701\u5E02\u533A"}},{key:"controlIcon",get:function(){return"iconicon_site_management11"}},{key:"controlType",get:function(){return"address"}}]),t}(L);Uw(I8,"controlFieldType",g.ADDRESS);function B8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kw(e,t,n){return t=wu(t),A8(e,Qw()?Reflect.construct(t,n||[],wu(e).constructor):t.apply(e,n))}function Gw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wu(e){return wu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wu(e)}function Xw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Us(e,t)}function A8(e,t){return t&&(k8(t)==="object"||typeof t=="function")?t:B8(e)}function Us(e,t){return Us=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Us(e,t)}function k8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Qw=function(){return!!e})()}var D8=function(e){Xw(t,e);function t(n){Gw(this,t);var o;return o=Kw(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(z),Ws=function(e){Xw(t,e);function t(n){Gw(this,t);var o;o=Kw(this,t,[n]),Lt(o,"showType",void 0),Lt(o,"range",void 0),Lt(o,"defaultValueType",void 0),Lt(o,"multiple",void 0),Lt(o,"rangeOptions",void 0),Lt(o,"defaultValue",void 0),Lt(o,"displayLevel",void 0),Lt(o,"showSubDept",void 0),Lt(o,"multistageFilling",void 0),Lt(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1;var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var c;o.defaultValueType=(c=n==null?void 0:n.defaultValueType)!==null&&c!==void 0?c:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var s;o.showSubDept=(s=n==null?void 0:n.showSubDept)!==null&&s!==void 0?s:!0;var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p: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 st(O))})),o}return t}(D);Lt(Ws,"RuntimeRules",D8);function x8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L8(e,t,n){return t=en(t),N8(e,Zw()?Reflect.construct(t,n||[],en(e).constructor):t.apply(e,n))}function F8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function j8(e,t,n){return t&&Jw(e.prototype,t),n&&Jw(e,n),e}function $u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pu(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Pu=Reflect.get:Pu=function(r,i,u){var c=V8(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Pu(e,t,n||e)}function en(e){return en=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},en(e)}function M8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ks(e,t)}function N8(e,t){return t&&(z8(t)==="object"||typeof t=="function")?t:x8(e)}function Ks(e,t){return Ks=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ks(e,t)}function V8(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=en(e),e!==null););return e}function z8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Zw=function(){return!!e})()}var Eu=function(e){M8(t,e);function t(n){F8(this,t);var o;return o=L8(this,t,[n]),$u(o,"props",void 0),o.props=new Ws(n==null?void 0:n.props),o}return j8(t,[{key:"toDataBindModel",value:function(o){var r=Pu(en(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.displayLevel,c=i.showSubDept;r.props.displayLevel=u,r.props.showSubDept=c}return r}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),t}(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 C8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function H8(e,t,n){return t=Su(t),K8(e,e$()?Reflect.construct(t,n||[],Su(e).constructor):t.apply(e,n))}function q8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function U8(e,t,n){return t&&Yw(e.prototype,t),n&&Yw(e,n),e}function t$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Su(e){return Su=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Su(e)}function W8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gs(e,t)}function K8(e,t){return t&&(G8(t)==="object"||typeof t=="function")?t:C8(e)}function Gs(e,t){return Gs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gs(e,t)}function G8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function e$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(e$=function(){return!!e})()}var X8=function(e){W8(t,e);function t(n){q8(this,t);var o;return o=H8(this,t,[n]),t$(o,"props",void 0),o.props=new Ws(n==null?void 0:n.props),o}return U8(t,null,[{key:"controlType",get:function(){return"department"}}]),t}(L);t$(X8,"controlFieldType",g.DEPARTMENTS);function Q8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function J8(e,t,n){return t=Tu(t),eV(e,n$()?Reflect.construct(t,n||[],Tu(e).constructor):t.apply(e,n))}function Z8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Y8(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tu(e){return Tu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tu(e)}function tV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xs(e,t)}function eV(e,t){return t&&(nV(t)==="object"||typeof t=="function")?t:Q8(e)}function Xs(e,t){return Xs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xs(e,t)}function nV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function n$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(n$=function(){return!!e})()}var o$=function(e){tV(t,e);function t(n){Z8(this,t);var o;o=J8(this,t,[n]),Y8(o,"defaultValue",void 0);var r;o.defaultValue=(r=n==null?void 0:n.defaultValue)!==null&&r!==void 0?r:"";var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Bu.controlName;var u;return o.placeholder=(u=n==null?void 0:n.placeholder)!==null&&u!==void 0?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",o}return t}(D);function oV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rV(e,t,n){return t=Iu(t),lV(e,i$()?Reflect.construct(t,n||[],Iu(e).constructor):t.apply(e,n))}function iV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function uV(e,t,n){return t&&r$(e.prototype,t),n&&r$(e,n),e}function Ru(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Iu(e){return Iu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Iu(e)}function cV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qs(e,t)}function lV(e,t){return t&&(aV(t)==="object"||typeof t=="function")?t:oV(e)}function Qs(e,t){return Qs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qs(e,t)}function aV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function i$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(i$=function(){return!!e})()}var Bu=function(e){cV(t,e);function t(n){iV(this,t);var o;return o=rV(this,t,[n]),Ru(o,"props",void 0),o.props=new o$(n==null?void 0:n.props),o}return uV(t,null,[{key:"controlName",get:function(){return"\u81EA\u52A8\u7F16\u53F7"}},{key:"controlIcon",get:function(){return"iconnumber_new"}},{key:"controlType",get:function(){return"auto-number"}}]),t}(x);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 fV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _V(e,t,n){return t=Au(t),dV(e,l$()?Reflect.construct(t,n||[],Au(e).constructor):t.apply(e,n))}function yV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function sV(e,t,n){return t&&u$(e.prototype,t),n&&u$(e,n),e}function c$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Au(e){return Au=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Au(e)}function pV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Js(e,t)}function dV(e,t){return t&&(vV(t)==="object"||typeof t=="function")?t:fV(e)}function Js(e,t){return Js=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Js(e,t)}function vV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function l$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(l$=function(){return!!e})()}var hV=function(e){pV(t,e);function t(n){yV(this,t);var o;return o=_V(this,t,[n]),c$(o,"props",void 0),o.props=new o$(n==null?void 0:n.props),o}return sV(t,null,[{key:"controlType",get:function(){return"auto-number"}}]),t}(L);c$(hV,"controlFieldType",g.AUTO_NUMBER);function bV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zs(e,t,n){return t=ku(t),gV(e,a$()?Reflect.construct(t,n||[],ku(e).constructor):t.apply(e,n))}function Ys(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ct(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ku(e){return ku=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ku(e)}function tp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ep(e,t)}function gV(e,t){return t&&(mV(t)==="object"||typeof t=="function")?t:bV(e)}function ep(e,t){return ep=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ep(e,t)}function mV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function a$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(a$=function(){return!!e})()}var OV=function(e){tp(t,e);function t(n){Ys(this,t);var o;return o=Zs(this,t,[n]),o.dataBind.fields.result.required=!1,o.dataBind.fields.result.fields.fieldCode.required=!1,o.dataBind.fields.result.fields.dataCode.required=!1,o.dataBind.fields.unit.required=!1,o.dataBind.fields.unit.fields.fieldCode.required=!1,o.dataBind.fields.unit.fields.dataCode.required=!1,o}return t}(J),wV=function(e){tp(t,e);function t(n){Ys(this,t);var o;return o=Zs(this,t,[n]),o[0]!==void 0&&(o[0].type="object"),o.push({type:"object",message:d.getMessage("isNotObject"),fields:{result:[{type:"number",message:d.getMessage("isNotNumber")}],unit:{type:"string",message:d.getMessage("isNotString")}}}),o}return t}(z),Du=function(e){tp(t,e);function t(n){Ys(this,t);var o;o=Zs(this,t,[n]),Ct(o,"precision",void 0),Ct(o,"micrometer",void 0),Ct(o,"showUpperCase",void 0),Ct(o,"scriptSrc",void 0),Ct(o,"scriptEcho",void 0),Ct(o,"dataBind",void 0),Ct(o,"defaultValue",void 0),Ct(o,"calcOnMounted",void 0);var r;o.precision=(r=n==null?void 0:n.precision)!==null&&r!==void 0?r:0;var i;o.micrometer=(i=n==null?void 0:n.micrometer)!==null&&i!==void 0?i:!1;var u;o.showUpperCase=(u=n==null?void 0:n.showUpperCase)!==null&&u!==void 0?u:!1,o.dataBind=new yk(n==null?void 0:n.dataBind),o.defaultValue=new sk(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 t}(D);Ct(Du,"Rules",OV),Ct(Du,"RuntimeRules",wV);function $V(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PV(e,t,n){return t=nn(t),RV(e,_$()?Reflect.construct(t,n||[],nn(e).constructor):t.apply(e,n))}function EV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function SV(e,t,n){return t&&f$(e.prototype,t),n&&f$(e,n),e}function xu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lu(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Lu=Reflect.get:Lu=function(r,i,u){var c=IV(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Lu(e,t,n||e)}function nn(e){return nn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nn(e)}function TV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&np(e,t)}function RV(e,t){return t&&(BV(t)==="object"||typeof t=="function")?t:$V(e)}function np(e,t){return np=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},np(e,t)}function IV(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=nn(e),e!==null););return e}function BV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_$=function(){return!!e})()}var Fu=function(e){TV(t,e);function t(n){EV(this,t);var o;return o=PV(this,t,[n]),xu(o,"props",void 0),o.props=new Du(n==null?void 0:n.props),o}return SV(t,[{key:"toDataBindModel",value:function(o){var r=Lu(nn(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.precision,c=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=c}return r}}],[{key:"controlName",get:function(){return"\u8BA1\u7B97\u516C\u5F0F"}},{key:"controlType",get:function(){return"calc"}},{key:"controlIcon",get:function(){return"iconcalculation_new"}}]),t}(x);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 AV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kV(e,t,n){return t=ju(t),FV(e,p$()?Reflect.construct(t,n||[],ju(e).constructor):t.apply(e,n))}function DV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function xV(e,t,n){return t&&y$(e.prototype,t),n&&y$(e,n),e}function s$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ju(e){return ju=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ju(e)}function LV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&op(e,t)}function FV(e,t){return t&&(jV(t)==="object"||typeof t=="function")?t:AV(e)}function op(e,t){return op=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},op(e,t)}function jV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function p$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(p$=function(){return!!e})()}var MV=function(e){LV(t,e);function t(n){DV(this,t);var o;return o=kV(this,t,[n]),s$(o,"props",void 0),o.props=new Du(n==null?void 0:n.props),o}return xV(t,null,[{key:"controlType",get:function(){return"calc"}}]),t}(L);s$(MV,"controlFieldType",g.CALC);function NV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d$(e,t,n){return t=Mu(t),VV(e,b$()?Reflect.construct(t,n||[],Mu(e).constructor):t.apply(e,n))}function v$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function on(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mu(e){return Mu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mu(e)}function h$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rp(e,t)}function VV(e,t){return t&&(zV(t)==="object"||typeof t=="function")?t:NV(e)}function rp(e,t){return rp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rp(e,t)}function zV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function b$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(b$=function(){return!!e})()}var CV=function(e){h$(t,e);function t(n){v$(this,t);var o;return o=d$(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o.push({validator:function(i,u){if(n.required){var c=u.every(function(a){return!a});return c?Promise.reject(d.getMessage("runtimeRequired",{caption:n.caption})):Promise.resolve()}else return Promise.resolve()}}),o}return t}(z),ip=function(e){h$(t,e);function t(n){v$(this,t);var o;o=d$(this,t,[n]),on(o,"rangeMin",void 0),on(o,"rangeMax",void 0),on(o,"placeholderStart",void 0),on(o,"placeholderEnd",void 0),on(o,"defaultValue",void 0);var r;o.defaultValue=(r=n==null?void 0:n.defaultValue)!==null&&r!==void 0?r:["",""];var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var u;o.rangeMax=(u=n==null?void 0:n.rangeMax)!==null&&u!==void 0?u:"";var c;o.placeholderStart=(c=n==null?void 0:n.placeholderStart)!==null&&c!==void 0?c:"\u6700\u5C0F\u503C";var a;o.placeholderEnd=(a=n==null?void 0:n.placeholderEnd)!==null&&a!==void 0?a:"\u6700\u5927\u503C";var l;return o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:lp.controlName,o}return t}(D);on(ip,"RuntimeRules",CV);function HV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qV(e,t,n){return t=Nu(t),GV(e,m$()?Reflect.construct(t,n||[],Nu(e).constructor):t.apply(e,n))}function UV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function WV(e,t,n){return t&&g$(e.prototype,t),n&&g$(e,n),e}function up(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nu(e){return Nu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nu(e)}function KV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cp(e,t)}function GV(e,t){return t&&(XV(t)==="object"||typeof t=="function")?t:HV(e)}function cp(e,t){return cp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cp(e,t)}function XV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function m$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(m$=function(){return!!e})()}var lp=function(e){KV(t,e);function t(n){UV(this,t);var o;return o=qV(this,t,[n]),up(o,"props",void 0),o.props=new ip(n==null?void 0:n.props),o}return WV(t,null,[{key:"controlName",get:function(){return"\u6570\u5B57\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconshuziqujian"}},{key:"controlType",get:function(){return"search-number-range"}}]),t}(x);up(lp,"controlFieldType",g.DECIMAL_RANGE),up(lp,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[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 QV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JV(e,t,n){return t=Vu(t),ez(e,$$()?Reflect.construct(t,n||[],Vu(e).constructor):t.apply(e,n))}function ZV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function O$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function YV(e,t,n){return t&&O$(e.prototype,t),n&&O$(e,n),e}function w$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vu(e){return Vu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vu(e)}function tz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ap(e,t)}function ez(e,t){return t&&(nz(t)==="object"||typeof t=="function")?t:QV(e)}function ap(e,t){return ap=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ap(e,t)}function nz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return($$=function(){return!!e})()}var oz=function(e){tz(t,e);function t(n){ZV(this,t);var o;return o=JV(this,t,[n]),w$(o,"props",void 0),o.props=new ip(n==null?void 0:n.props),o}return YV(t,null,[{key:"controlType",get:function(){return"search-number-range"}}]),t}(L);w$(oz,"controlFieldType",g.DECIMAL_RANGE);function rz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P$(e,t,n){return t=zu(t),iz(e,T$()?Reflect.construct(t,n||[],zu(e).constructor):t.apply(e,n))}function E$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ft(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zu(e){return zu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zu(e)}function S$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fp(e,t)}function iz(e,t){return t&&(uz(t)==="object"||typeof t=="function")?t:rz(e)}function fp(e,t){return fp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fp(e,t)}function uz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function T$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(T$=function(){return!!e})()}var cz=function(e){S$(t,e);function t(n){E$(this,t);var o;return o=P$(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),n.required&&!n.isHide&&o.push({type:"array",fields:{0:{type:"string",required:n.required,message:o[0].message},1:{type:"string",required:n.required,message:o[0].message}}}),o}return t}(z),_p=function(e){S$(t,e);function t(n){E$(this,t);var o,r;o=P$(this,t,[n]),Ft(o,"rangeMin",void 0),Ft(o,"rangeMax",void 0),Ft(o,"placeholderStart",void 0),Ft(o,"placeholderEnd",void 0),Ft(o,"dateType",void 0),Ft(o,"dateFormat",void 0),Ft(o,"commonTimeSetting",void 0),Ft(o,"setValueType",void 0),Ft(o,"defaultValue",void 0),Ft(o,"limitDateList",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:["",""];var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:xe.DATE;var c;o.dateFormat=(c=n==null?void 0:n.dateFormat)!==null&&c!==void 0?c:"";var a;o.commonTimeSetting=(a=n==null?void 0:n.commonTimeSetting)!==null&&a!==void 0?a:[];var l;o.setValueType=(l=n==null?void 0:n.setValueType)!==null&&l!==void 0?l:"custom";var _;o.rangeMin=(_=n==null?void 0:n.rangeMin)!==null&&_!==void 0?_:"";var s;o.rangeMax=(s=n==null?void 0:n.rangeMax)!==null&&s!==void 0?s:"";var 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 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 Zf(w)}))!==null&&O!==void 0?O:[],o}return t}(D);Ft(_p,"RuntimeRules",cz);function lz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function az(e,t,n){return t=Cu(t),sz(e,I$()?Reflect.construct(t,n||[],Cu(e).constructor):t.apply(e,n))}function fz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function _z(e,t,n){return t&&R$(e.prototype,t),n&&R$(e,n),e}function yp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cu(e){return Cu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cu(e)}function yz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sp(e,t)}function sz(e,t){return t&&(pz(t)==="object"||typeof t=="function")?t:lz(e)}function sp(e,t){return sp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sp(e,t)}function pz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function I$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(I$=function(){return!!e})()}var pp=function(e){yz(t,e);function t(n){fz(this,t);var o;return o=az(this,t,[n]),yp(o,"props",void 0),o.props=new _p(n==null?void 0:n.props),o}return _z(t,null,[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"search-date-range"}}]),t}(x);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 dz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vz(e,t,n){return t=Hu(t),mz(e,k$()?Reflect.construct(t,n||[],Hu(e).constructor):t.apply(e,n))}function hz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function B$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function bz(e,t,n){return t&&B$(e.prototype,t),n&&B$(e,n),e}function A$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hu(e){return Hu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hu(e)}function gz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dp(e,t)}function mz(e,t){return t&&(Oz(t)==="object"||typeof t=="function")?t:dz(e)}function dp(e,t){return dp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dp(e,t)}function Oz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function k$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(k$=function(){return!!e})()}var wz=function(e){gz(t,e);function t(n){hz(this,t);var o;return o=vz(this,t,[n]),A$(o,"props",void 0),o.props=new _p(n==null?void 0:n.props),o}return bz(t,null,[{key:"controlType",get:function(){return"search-date-range"}}]),t}(L);A$(wz,"controlFieldType",g.ARRAY);function $z(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vp(e,t,n){return t=qu(t),Pz(e,D$()?Reflect.construct(t,n||[],qu(e).constructor):t.apply(e,n))}function hp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qu(e){return qu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qu(e)}function bp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gp(e,t)}function Pz(e,t){return t&&(Ez(t)==="object"||typeof t=="function")?t:$z(e)}function gp(e,t){return gp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gp(e,t)}function Ez(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function D$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(D$=function(){return!!e})()}var Sz=function(e){bp(t,e);function t(n){hp(this,t);var o;return o=vp(this,t,[n]),o.dataBind={type:"any"},o}return t}(J),Tz=function(e){bp(t,e);function t(n){hp(this,t);var o;return o=vp(this,t,[n]),o[0]!==void 0&&(o[0].type="any"),o}return t}(z),Uu=function(e){bp(t,e);function t(n){hp(this,t);var o;o=vp(this,t,[n]),rn(o,"controlExportName",void 0),rn(o,"permissions",void 0),rn(o,"defaultValue",void 0),rn(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 t}(D);rn(Uu,"Rules",Sz),rn(Uu,"RuntimeRules",Tz);function Rz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Iz(e,t,n){return t=Ku(t),Dz(e,L$()?Reflect.construct(t,n||[],Ku(e).constructor):t.apply(e,n))}function Bz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Az(e,t,n){return t&&x$(e.prototype,t),n&&x$(e,n),e}function Wu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ku(e){return Ku=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ku(e)}function kz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mp(e,t)}function Dz(e,t){return t&&(xz(t)==="object"||typeof t=="function")?t:Rz(e)}function mp(e,t){return mp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},mp(e,t)}function xz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function L$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(L$=function(){return!!e})()}var Gu=function(e){kz(t,e);function t(n){Bz(this,t);var o;return o=Iz(this,t,[n]),Wu(o,"props",void 0),o.props=new Uu(n==null?void 0:n.props),o}return Az(t,null,[{key:"controlName",get:function(){return"Vue\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return"vue-form-item"}}]),t}(x);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 Lz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fz(e,t,n){return t=Xu(t),Vz(e,M$()?Reflect.construct(t,n||[],Xu(e).constructor):t.apply(e,n))}function jz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function F$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Mz(e,t,n){return t&&F$(e.prototype,t),n&&F$(e,n),e}function j$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xu(e){return Xu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xu(e)}function Nz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Op(e,t)}function Vz(e,t){return t&&(zz(t)==="object"||typeof t=="function")?t:Lz(e)}function Op(e,t){return Op=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Op(e,t)}function zz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function M$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(M$=function(){return!!e})()}var Cz=function(e){Nz(t,e);function t(n){jz(this,t);var o;return o=Fz(this,t,[n]),j$(o,"props",void 0),o.props=new Uu(n==null?void 0:n.props),o}return Mz(t,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),t}(L);j$(Cz,"controlFieldType",g.ANY);function Hz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N$(e,t,n){return t=Qu(t),qz(e,C$()?Reflect.construct(t,n||[],Qu(e).constructor):t.apply(e,n))}function V$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qu(e){return Qu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qu(e)}function z$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wp(e,t)}function qz(e,t){return t&&(Uz(t)==="object"||typeof t=="function")?t:Hz(e)}function wp(e,t){return wp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wp(e,t)}function Uz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function C$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(C$=function(){return!!e})()}var Wz=function(e){z$(t,e);function t(n){V$(this,t);var o;return o=N$(this,t,[n]),yt(o,"listPageBind",[{type:"object",message:d.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}]}}]),yt(o,"formBind",{type:"object",fields:{formKey:{type:"string",message:d.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return t}(Ve),$p=function(e){z$(t,e);function t(n){V$(this,t);var o;o=N$(this,t,[n]),yt(o,"options",void 0),yt(o,"optionConfig",void 0),yt(o,"defaultValue",void 0),yt(o,"listPageBind",void 0),yt(o,"datasourceBind",void 0),yt(o,"multistageFilling",void 0),yt(o,"viewFormModelType",void 0),yt(o,"canViewForm",void 0),yt(o,"formBind",void 0),yt(o,"openMultistageFilling",void 0),yt(o,"showSelectedDetail",void 0),yt(o,"selectedContentConfig",void 0);var r;o.options=Qt((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[]);var i;o.optionConfig=(i=n==null?void 0:n.optionConfig)!==null&&i!==void 0?i:"datasource",o.listPageBind=new nf(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 cf(n==null?void 0:n.selectedContentConfig),o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(b){var m;(m=o.multistageFilling)===null||m===void 0||m.push(new st(b))}));var s;o.canViewForm=(s=n==null?void 0:n.canViewForm)!==null&&s!==void 0?s:!1;var p;return o.viewFormModelType=(p=n==null?void 0:n.viewFormModelType)!==null&&p!==void 0?p:"window",o.formBind=new je(n==null?void 0:n.formBind),o}return t}(D);yt($p,"Rules",Wz);function Kz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gz(e,t,n){return t=Zu(t),Zz(e,q$()?Reflect.construct(t,n||[],Zu(e).constructor):t.apply(e,n))}function Xz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function H$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Qz(e,t,n){return t&&H$(e.prototype,t),n&&H$(e,n),e}function Ju(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zu(e){return Zu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zu(e)}function Jz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pp(e,t)}function Zz(e,t){return t&&(Yz(t)==="object"||typeof t=="function")?t:Kz(e)}function Pp(e,t){return Pp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Pp(e,t)}function Yz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function q$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(q$=function(){return!!e})()}var Yu=function(e){Jz(t,e);function t(n){Xz(this,t);var o;return o=Gz(this,t,[n]),Ju(o,"props",void 0),o.props=new $p(n==null?void 0:n.props),o}return Qz(t,null,[{key:"controlName",get:function(){return"\u5173\u8054\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconguanliandanxuan"}},{key:"controlType",get:function(){return"select-relation"}}]),t}(x);Ju(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(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eC(e,t,n){return t=tc(t),iC(e,K$()?Reflect.construct(t,n||[],tc(e).constructor):t.apply(e,n))}function nC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function U$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function oC(e,t,n){return t&&U$(e.prototype,t),n&&U$(e,n),e}function W$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tc(e){return tc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tc(e)}function rC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ep(e,t)}function iC(e,t){return t&&(uC(t)==="object"||typeof t=="function")?t:tC(e)}function Ep(e,t){return Ep=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ep(e,t)}function uC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function K$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(K$=function(){return!!e})()}var cC=function(e){rC(t,e);function t(n){nC(this,t);var o;return o=eC(this,t,[n]),W$(o,"props",void 0),o.props=new $p(n==null?void 0:n.props),o}return oC(t,null,[{key:"controlType",get:function(){return"select-relation"}}]),t}(L);W$(cC,"controlFieldType",g.VARCHAR);function lC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aC(e,t,n){return t=ec(t),yC(e,G$()?Reflect.construct(t,n||[],ec(e).constructor):t.apply(e,n))}function fC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ec(e){return ec=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ec(e)}function _C(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sp(e,t)}function yC(e,t){return t&&(sC(t)==="object"||typeof t=="function")?t:lC(e)}function Sp(e,t){return Sp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sp(e,t)}function sC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function G$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(G$=function(){return!!e})()}var X$=function(e){_C(t,e);function t(n){return fC(this,t),aC(this,t,[n])}return t}(co);function pC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dC(e,t,n){return t=nc(t),gC(e,Z$()?Reflect.construct(t,n||[],nc(e).constructor):t.apply(e,n))}function vC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Q$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function hC(e,t,n){return t&&Q$(e.prototype,t),n&&Q$(e,n),e}function J$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nc(e){return nc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nc(e)}function bC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tp(e,t)}function gC(e,t){return t&&(mC(t)==="object"||typeof t=="function")?t:pC(e)}function Tp(e,t){return Tp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Tp(e,t)}function mC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Z$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Z$=function(){return!!e})()}var OC=function(e){bC(t,e);function t(n){vC(this,t);var o;return o=dC(this,t,[n]),J$(o,"props",void 0),o.props=new X$(n==null?void 0:n.props),o}return hC(t,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),t}(lo);J$(OC,"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 wC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $C(e,t,n){return t=oc(t),TC(e,eP()?Reflect.construct(t,n||[],oc(e).constructor):t.apply(e,n))}function PC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Y$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function EC(e,t,n){return t&&Y$(e.prototype,t),n&&Y$(e,n),e}function tP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oc(e){return oc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oc(e)}function SC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rp(e,t)}function TC(e,t){return t&&(RC(t)==="object"||typeof t=="function")?t:wC(e)}function Rp(e,t){return Rp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rp(e,t)}function RC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(eP=function(){return!!e})()}var IC=function(e){SC(t,e);function t(n){PC(this,t);var o;return o=$C(this,t,[n]),tP(o,"props",void 0),o.props=new X$(n==null?void 0:n.props),o}return EC(t,null,[{key:"controlType",get:function(){return"search-input"}}]),t}(L);tP(IC,"controlFieldType",g.VARCHAR);function BC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ip(e,t,n){return t=rc(t),AC(e,nP()?Reflect.construct(t,n||[],rc(e).constructor):t.apply(e,n))}function Bp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rc(e){return rc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rc(e)}function Ap(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kp(e,t)}function AC(e,t){return t&&(kC(t)==="object"||typeof t=="function")?t:BC(e)}function kp(e,t){return kp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kp(e,t)}function kC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(nP=function(){return!!e})()}var DC=function(e){Ap(t,e);function t(n){Bp(this,t);var o;return o=Ip(this,t,[n]),q(o,"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),Lo.call(o,n,$e.controlCustomAttributes,!0),o.datasourceBind[1].fields&&(o.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:d.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:d.getMessage("rootNodeIsRequired")}}}]),o}return t}(J),xC=function(e){Ap(t,e);function t(n){Bp(this,t);var o;return o=Ip(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(z),ic=function(e){Ap(t,e);function t(n){Bp(this,t);var o,r;o=Ip(this,t,[n]),q(o,"placeholder",void 0),q(o,"multiple",void 0),q(o,"canSearch",void 0),q(o,"levelType",void 0),q(o,"optionalLevel",void 0),q(o,"containsSubNode",void 0),q(o,"defaultDisplay",void 0),q(o,"isShowIncludeSub",void 0),q(o,"isDefaultCheckSub",void 0),q(o,"isShowFilterItem",void 0),q(o,"defaultCollapse",void 0),q(o,"defaultCollapseLevel",void 0),q(o,"optionConfig","datasource"),q(o,"datasourceBind",void 0),q(o,"filterItemDatasourceBind",void 0),q(o,"multistageFilling",void 0),q(o,"defaultValue",void 0),q(o,"openMultistageFilling",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:$e.controlName;var u;o.placeholder=(u=n==null?void 0:n.placeholder)!==null&&u!==void 0?u:"\u8BF7\u9009\u62E9";var c;o.multiple=(c=n==null?void 0:n.multiple)!==null&&c!==void 0?c:!1;var a;o.canSearch=(a=n==null?void 0:n.canSearch)!==null&&a!==void 0?a:!0;var l;o.levelType=(l=n==null?void 0:n.levelType)!==null&&l!==void 0?l:"all";var _;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 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 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 j0((h=n==null?void 0:n.datasourceBind)!==null&&h!==void 0?h:{attributes:$e.controlCustomAttributes});var $;o.filterItemDatasourceBind=new j0(($=n==null?void 0:n.filterItemDatasourceBind)!==null&&$!==void 0?$:{attributes:$e.controlCustomAttributes});var T;o.openMultistageFilling=(T=n==null?void 0:n.openMultistageFilling)!==null&&T!==void 0?T:!1;var P;o.defaultDisplay=(P=n==null?void 0:n.defaultDisplay)!==null&&P!==void 0?P:!1;var S;o.multistageFilling=(S=n==null||(r=n.multistageFilling)===null||r===void 0?void 0:r.map(function(A){return new st(A)}))!==null&&S!==void 0?S:[];var F;return o.defaultValue=(F=n==null?void 0:n.defaultValue)!==null&&F!==void 0?F:[],o}return t}(D);q(ic,"Rules",DC),q(ic,"RuntimeRules",xC);function LC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FC(e,t,n){return t=cc(t),VC(e,rP()?Reflect.construct(t,n||[],cc(e).constructor):t.apply(e,n))}function jC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function MC(e,t,n){return t&&oP(e.prototype,t),n&&oP(e,n),e}function uc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cc(e){return cc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cc(e)}function NC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dp(e,t)}function VC(e,t){return t&&(zC(t)==="object"||typeof t=="function")?t:LC(e)}function Dp(e,t){return Dp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dp(e,t)}function zC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(rP=function(){return!!e})()}var $e=function(e){NC(t,e);function t(n){jC(this,t);var o;return o=FC(this,t,[n]),uc(o,"props",void 0),o.props=new ic(n==null?void 0:n.props),o}return MC(t,null,[{key:"controlName",get:function(){return"\u6811"}},{key:"controlIcon",get:function(){return"icontree"}},{key:"controlType",get:function(){return"tree"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}]),t}(x);uc($e,"controlEventKeys",["on_change","on_click"]),uc($e,"controlFieldType",g.ARRAY),uc($e,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.MULTIPLE,f.CAN_SEARCH,f.DEFAULT_DISPLAY,f.CONTAINS_SUB_NODE,f.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}]);function CC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HC(e,t,n){return t=lc(t),KC(e,cP()?Reflect.construct(t,n||[],lc(e).constructor):t.apply(e,n))}function qC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function UC(e,t,n){return t&&iP(e.prototype,t),n&&iP(e,n),e}function uP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lc(e){return lc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},lc(e)}function WC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xp(e,t)}function KC(e,t){return t&&(GC(t)==="object"||typeof t=="function")?t:CC(e)}function xp(e,t){return xp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xp(e,t)}function GC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(cP=function(){return!!e})()}var XC=function(e){WC(t,e);function t(n){qC(this,t);var o;return o=HC(this,t,[n]),uP(o,"props",void 0),o.props=new ic(n==null?void 0:n.props),o}return UC(t,null,[{key:"controlType",get:function(){return"tree"}}]),t}(L);uP(XC,"controlFieldType",g.ARRAY);function QC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lp(e,t,n){return t=ac(t),JC(e,lP()?Reflect.construct(t,n||[],ac(e).constructor):t.apply(e,n))}function Fp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ac(e){return ac=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ac(e)}function jp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mp(e,t)}function JC(e,t){return t&&(ZC(t)==="object"||typeof t=="function")?t:QC(e)}function Mp(e,t){return Mp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Mp(e,t)}function ZC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(lP=function(){return!!e})()}var YC=function(e){jp(t,e);function t(n){Fp(this,t);var o;return o=Lp(this,t,[n]),rt(o,"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),rt(o,"externalScope",{type:"any"}),Lo.call(o,n,_o.controlCustomAttributes),n.externalType===Ke.ASSIGN&&(o.externalScope={type:"array",required:!0,message:d.getMessage("pleaseAssignExternal")}),o}return t}(J),tH=function(e){jp(t,e);function t(n){Fp(this,t);var o;return o=Lp(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(z),fc=function(e){jp(t,e);function t(n){Fp(this,t);var o;o=Lp(this,t,[n]),rt(o,"showType",void 0),rt(o,"range",void 0),rt(o,"rangeOptions",void 0),rt(o,"multiple",void 0),rt(o,"defaultValueType",void 0),rt(o,"defaultValue",void 0),rt(o,"multistageFilling",void 0),rt(o,"datasourceBind",void 0),rt(o,"datasourceType",void 0),rt(o,"insideType",void 0),rt(o,"externalType",void 0),rt(o,"externalScope",void 0),rt(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.range=(i=n==null?void 0:n.range)!==null&&i!==void 0?i:"all";var u;o.rangeOptions=(u=n==null?void 0:n.rangeOptions)!==null&&u!==void 0?u:[];var c;o.multiple=(c=n==null?void 0:n.multiple)!==null&&c!==void 0?c:!1;var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:_o.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 p;o.datasourceBind=new Bo((p=n==null?void 0:n.datasourceBind)!==null&&p!==void 0?p:{attributes:_o.controlCustomAttributes});var b;o.datasourceType=(b=n==null?void 0:n.datasourceType)!==null&&b!==void 0?b:Qx.INTERNAL;var m;o.insideType=(m=n==null?void 0:n.insideType)!==null&&m!==void 0?m:Jx.ADMIN;var O;o.externalType=(O=n==null?void 0:n.externalType)!==null&&O!==void 0?O:Ke.ALL;var w;o.externalScope=(w=n==null?void 0:n.externalScope)!==null&&w!==void 0?w:[];var h;return o.openMultistageFilling=(h=n==null?void 0:n.openMultistageFilling)!==null&&h!==void 0?h:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function($){var T;(T=o.multistageFilling)===null||T===void 0||T.push(new st($))})),o}return t}(D);rt(fc,"Rules",YC),rt(fc,"RuntimeRules",tH);function eH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nH(e,t,n){return t=_c(t),uH(e,fP()?Reflect.construct(t,n||[],_c(e).constructor):t.apply(e,n))}function oH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function rH(e,t,n){return t&&aP(e.prototype,t),n&&aP(e,n),e}function Np(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _c(e){return _c=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_c(e)}function iH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vp(e,t)}function uH(e,t){return t&&(cH(t)==="object"||typeof t=="function")?t:eH(e)}function Vp(e,t){return Vp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vp(e,t)}function cH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(fP=function(){return!!e})()}var _o=function(e){iH(t,e);function t(n){oH(this,t);var o;return o=nH(this,t,[n]),Np(o,"props",void 0),o.props=new fc(n==null?void 0:n.props),o}return rH(t,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),t}(x);Np(_o,"controlFieldType",g.EMPLOYEES),Np(_o,"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 lH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aH(e,t,n){return t=yc(t),sH(e,sP()?Reflect.construct(t,n||[],yc(e).constructor):t.apply(e,n))}function fH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _P(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function _H(e,t,n){return t&&_P(e.prototype,t),n&&_P(e,n),e}function yP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yc(e){return yc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yc(e)}function yH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zp(e,t)}function sH(e,t){return t&&(pH(t)==="object"||typeof t=="function")?t:lH(e)}function zp(e,t){return zp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zp(e,t)}function pH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(sP=function(){return!!e})()}var dH=function(e){yH(t,e);function t(n){fH(this,t);var o;return o=aH(this,t,[n]),yP(o,"props",void 0),o.props=new fc(n==null?void 0:n.props),o}return _H(t,null,[{key:"controlType",get:function(){return"employee2"}}]),t}(L);yP(dH,"controlFieldType",g.EMPLOYEES);function vH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pP(e,t,n){return t=sc(t),hH(e,hP()?Reflect.construct(t,n||[],sc(e).constructor):t.apply(e,n))}function dP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ht(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sc(e){return sc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sc(e)}function vP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cp(e,t)}function hH(e,t){return t&&(bH(t)==="object"||typeof t=="function")?t:vH(e)}function Cp(e,t){return Cp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cp(e,t)}function bH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(hP=function(){return!!e})()}var gH=function(e){vP(t,e);function t(n){dP(this,t);var o;return o=pP(this,t,[n]),Ht(o,"signatureConfig",void 0),o.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fields:n.signatureConfig.undersignedList.reduce(function(r,i,u){return r[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator:function(a,l,_){if(i.type==="public"&&Ga(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")&&Ga(l.value)&&l.value.length===0){_("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}_()}}}},r},{})}}},o}return t}(J),Hp=function(e){vP(t,e);function t(n){dP(this,t);var o;o=pP(this,t,[n]),Ht(o,"buttonType",void 0),Ht(o,"content",void 0),Ht(o,"showType",void 0),Ht(o,"color",void 0),Ht(o,"icon",void 0),Ht(o,"command",""),Ht(o,"isLoading",!1),Ht(o,"signatureConfig",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r: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 Wx(n==null?void 0:n.signatureConfig),o}return t}(D);Ht(Hp,"Rules",gH);function mH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OH(e,t,n){return t=dc(t),EH(e,gP()?Reflect.construct(t,n||[],dc(e).constructor):t.apply(e,n))}function wH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function $H(e,t,n){return t&&bP(e.prototype,t),n&&bP(e,n),e}function pc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dc(e){return dc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dc(e)}function PH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qp(e,t)}function EH(e,t){return t&&(SH(t)==="object"||typeof t=="function")?t:mH(e)}function qp(e,t){return qp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qp(e,t)}function SH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(gP=function(){return!!e})()}var vc=function(e){PH(t,e);function t(n){wH(this,t);var o;return o=OH(this,t,[n]),pc(o,"props",void 0),o.props=new Hp(n==null?void 0:n.props),o}return $H(t,null,[{key:"controlName",get:function(){return"\u7535\u5B50\u7B7E\u7AE0"}},{key:"controlIcon",get:function(){return"icondianziqianzhang"}},{key:"controlType",get:function(){return"electronic-signature"}}]),t}(x);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 TH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RH(e,t,n){return t=hc(t),kH(e,wP()?Reflect.construct(t,n||[],hc(e).constructor):t.apply(e,n))}function IH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function BH(e,t,n){return t&&mP(e.prototype,t),n&&mP(e,n),e}function OP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hc(e){return hc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hc(e)}function AH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Up(e,t)}function kH(e,t){return t&&(DH(t)==="object"||typeof t=="function")?t:TH(e)}function Up(e,t){return Up=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Up(e,t)}function DH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(wP=function(){return!!e})()}var xH=function(e){AH(t,e);function t(n){IH(this,t);var o;return o=RH(this,t,[n]),OP(o,"props",void 0),o.props=new Hp(n==null?void 0:n.props),o}return BH(t,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),t}(L);OP(xH,"controlFieldType",g.VARCHAR);function LH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wp(e,t,n){return t=bc(t),FH(e,$P()?Reflect.construct(t,n||[],bc(e).constructor):t.apply(e,n))}function Kp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function it(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bc(e){return bc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bc(e)}function Gp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xp(e,t)}function FH(e,t){return t&&(jH(t)==="object"||typeof t=="function")?t:LH(e)}function Xp(e,t){return Xp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xp(e,t)}function jH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $P(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return($P=function(){return!!e})()}var MH=function(e){Gp(t,e);function t(n){Kp(this,t);var o;return o=Wp(this,t,[n]),it(o,"content",{type:"string",required:!0,message:d.getMessage("pleaseEnterButtonContent")}),it(o,"canAdd",void 0),it(o,"wpsSetting",{type:"object",fields:{watermark:{type:"object",validator:function(i,u,c){if(u.active&&!u.text){c(d.getMessage("pleaseEnterWatermark"));return}c()}},autoRename:{type:"object",validator:function(i,u,c){if(u.active&&!u.text){c(d.getMessage("pleaseEnterFileName"));return}c()}}}}),o.canAdd={type:"boolean",validator:function(i,u,c){if(n.canAdd&&!n.addLocal&&!n.addOnline){c(d.getMessage("pleaseChooseAtLeastOne"));return}c()}},o}return t}(J),NH=function(e){Gp(t,e);function t(n){Kp(this,t);var o;return o=Wp(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(z),gc=function(e){Gp(t,e);function t(n){Kp(this,t);var o;o=Wp(this,t,[n]),it(o,"content",void 0),it(o,"canAdd",void 0),it(o,"addLocal",void 0),it(o,"addOnline",void 0),it(o,"canDownload",void 0),it(o,"canEdit",void 0),it(o,"canExport",void 0),it(o,"canDelete",void 0),it(o,"wpsSetting",void 0),it(o,"maxSize",void 0),it(o,"defaultValue",void 0),it(o,"revisionsMode",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r: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 p;o.canDelete=(p=n==null?void 0:n.canDelete)!==null&&p!==void 0?p:!1;var b;o.maxSize=(b=n==null?void 0:n.maxSize)!==null&&b!==void 0?b:D7;var m;o.defaultValue=(m=n==null?void 0:n.defaultValue)!==null&&m!==void 0?m:[],o.wpsSetting=new Kx(n==null?void 0:n.wpsSetting);var O;return o.revisionsMode=(O=n==null?void 0:n.revisionsMode)!==null&&O!==void 0?O:!1,o}return t}(D);it(gc,"Rules",MH),it(gc,"RuntimeRules",NH);function VH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zH(e,t,n){return t=Oc(t),UH(e,EP()?Reflect.construct(t,n||[],Oc(e).constructor):t.apply(e,n))}function CH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function HH(e,t,n){return t&&PP(e.prototype,t),n&&PP(e,n),e}function mc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Oc(e){return Oc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oc(e)}function qH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qp(e,t)}function UH(e,t){return t&&(WH(t)==="object"||typeof t=="function")?t:VH(e)}function Qp(e,t){return Qp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qp(e,t)}function WH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function EP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(EP=function(){return!!e})()}var wc=function(e){qH(t,e);function t(n){CH(this,t);var o;return o=zH(this,t,[n]),mc(o,"props",void 0),o.props=new gc(n==null?void 0:n.props),o}return HH(t,null,[{key:"controlName",get:function(){return"\u5728\u7EBF\u6587\u6863"}},{key:"controlIcon",get:function(){return"iconwps"}},{key:"controlType",get:function(){return"wps"}}]),t}(x);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 KH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GH(e,t,n){return t=$c(t),ZH(e,RP()?Reflect.construct(t,n||[],$c(e).constructor):t.apply(e,n))}function XH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function QH(e,t,n){return t&&SP(e.prototype,t),n&&SP(e,n),e}function TP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $c(e){return $c=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$c(e)}function JH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jp(e,t)}function ZH(e,t){return t&&(YH(t)==="object"||typeof t=="function")?t:KH(e)}function Jp(e,t){return Jp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jp(e,t)}function YH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(RP=function(){return!!e})()}var tq=function(e){JH(t,e);function t(n){XH(this,t);var o;return o=GH(this,t,[n]),TP(o,"props",void 0),o.props=new gc(n==null?void 0:n.props),o}return QH(t,null,[{key:"controlType",get:function(){return"wps"}}]),t}(L);TP(tq,"controlFieldType",g.FILE);function eq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zp(e,t,n){return t=Pc(t),nq(e,IP()?Reflect.construct(t,n||[],Pc(e).constructor):t.apply(e,n))}function Yp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pc(e){return Pc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pc(e)}function td(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ed(e,t)}function nq(e,t){return t&&(oq(t)==="object"||typeof t=="function")?t:eq(e)}function ed(e,t){return ed=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ed(e,t)}function oq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(IP=function(){return!!e})()}var rq=function(e){td(t,e);function t(n){Yp(this,t);var o;return o=Zp(this,t,[n]),Q(o,"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),Q(o,"businessScope",{type:"any"}),Lo.call(o,n,cn.controlCustomAttributes),n.businessType===Ke.ASSIGN&&(o.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")}),o}return t}(J),iq=function(e){td(t,e);function t(n){Yp(this,t);var o;return o=Zp(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(z),Ec=function(e){td(t,e);function t(n){Yp(this,t);var o;o=Zp(this,t,[n]),Q(o,"showType",void 0),Q(o,"range",void 0),Q(o,"defaultValueType",void 0),Q(o,"multiple",void 0),Q(o,"rangeOptions",void 0),Q(o,"defaultValue",void 0),Q(o,"displayLevel",void 0),Q(o,"showSubDept",void 0),Q(o,"multistageFilling",void 0),Q(o,"datasourceBind",void 0),Q(o,"datasourceType",void 0),Q(o,"businessType",void 0),Q(o,"businessScope",void 0),Q(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1;var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var c;o.defaultValueType=(c=n==null?void 0:n.defaultValueType)!==null&&c!==void 0?c:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var s;o.showSubDept=(s=n==null?void 0:n.showSubDept)!==null&&s!==void 0?s:!0;var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:cn.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 Bo((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:Ke.ALL;var $;return o.openMultistageFilling=($=n==null?void 0:n.openMultistageFilling)!==null&&$!==void 0?$:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(T){var P;(P=o.multistageFilling)===null||P===void 0||P.push(new st(T))})),o}return t}(D);Q(Ec,"Rules",rq),Q(Ec,"RuntimeRules",iq);function uq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cq(e,t,n){return t=un(t),_q(e,AP()?Reflect.construct(t,n||[],un(e).constructor):t.apply(e,n))}function lq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function aq(e,t,n){return t&&BP(e.prototype,t),n&&BP(e,n),e}function Sc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tc(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Tc=Reflect.get:Tc=function(r,i,u){var c=yq(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Tc(e,t,n||e)}function un(e){return un=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},un(e)}function fq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nd(e,t)}function _q(e,t){return t&&(sq(t)==="object"||typeof t=="function")?t:uq(e)}function nd(e,t){return nd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},nd(e,t)}function yq(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=un(e),e!==null););return e}function sq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(AP=function(){return!!e})()}var cn=function(e){fq(t,e);function t(n){lq(this,t);var o;return o=cq(this,t,[n]),Sc(o,"props",void 0),o.props=new Ec(n==null?void 0:n.props),o}return aq(t,[{key:"toDataBindModel",value:function(o){var r=Tc(un(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.displayLevel,c=i.showSubDept;r.props.displayLevel=u,r.props.showSubDept=c}return r}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),t}(x);Sc(cn,"controlName","\u90E8\u95E8"),Sc(cn,"controlFieldType",g.DEPARTMENTS),Sc(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:"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 pq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dq(e,t,n){return t=Rc(t),gq(e,xP()?Reflect.construct(t,n||[],Rc(e).constructor):t.apply(e,n))}function vq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function hq(e,t,n){return t&&kP(e.prototype,t),n&&kP(e,n),e}function DP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rc(e){return Rc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rc(e)}function bq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&od(e,t)}function gq(e,t){return t&&(mq(t)==="object"||typeof t=="function")?t:pq(e)}function od(e,t){return od=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},od(e,t)}function mq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(xP=function(){return!!e})()}var Oq=function(e){bq(t,e);function t(n){vq(this,t);var o;return o=dq(this,t,[n]),DP(o,"props",void 0),o.props=new Ec(n==null?void 0:n.props),o}return hq(t,null,[{key:"controlType",get:function(){return"department2"}}]),t}(L);DP(Oq,"controlFieldType",g.DEPARTMENTS);function wq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rd(e,t,n){return t=Ic(t),$q(e,LP()?Reflect.construct(t,n||[],Ic(e).constructor):t.apply(e,n))}function id(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ic(e){return Ic=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ic(e)}function ud(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cd(e,t)}function $q(e,t){return t&&(Pq(t)==="object"||typeof t=="function")?t:wq(e)}function cd(e,t){return cd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cd(e,t)}function Pq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(LP=function(){return!!e})()}var Eq=function(e){ud(t,e);function t(n){id(this,t);var o;return o=rd(this,t,[n]),C(o,"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),C(o,"businessScope",{type:"any"}),Lo.call(o,n,an.controlCustomAttributes),n.businessType===Ke.ASSIGN&&(o.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")}),o}return t}(J),Sq=function(e){ud(t,e);function t(n){id(this,t);var o;return o=rd(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(z),Bc=function(e){ud(t,e);function t(n){id(this,t);var o;o=rd(this,t,[n]),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 nf(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 p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:an.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 ik((m=n==null?void 0:n.datasourceBind)!==null&&m!==void 0?m:{attributes:an.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:Ke.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 cf(n==null?void 0:n.selectedContentConfig);var S;return o.openMultistageFilling=(S=n==null?void 0:n.openMultistageFilling)!==null&&S!==void 0?S:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(F){var A;(A=o.multistageFilling)===null||A===void 0||A.push(new st(F))})),o}return t}(D);C(Bc,"Rules",Eq),C(Bc,"RuntimeRules",Sq);function Tq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rq(e,t,n){return t=ln(t),kq(e,jP()?Reflect.construct(t,n||[],ln(e).constructor):t.apply(e,n))}function Iq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Bq(e,t,n){return t&&FP(e.prototype,t),n&&FP(e,n),e}function Ac(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kc(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?kc=Reflect.get:kc=function(r,i,u){var c=Dq(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},kc(e,t,n||e)}function ln(e){return ln=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ln(e)}function Aq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ld(e,t)}function kq(e,t){return t&&(xq(t)==="object"||typeof t=="function")?t:Tq(e)}function ld(e,t){return ld=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ld(e,t)}function Dq(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ln(e),e!==null););return e}function xq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(jP=function(){return!!e})()}var an=function(e){Aq(t,e);function t(n){Iq(this,t);var o;return o=Rq(this,t,[n]),Ac(o,"props",void 0),o.props=new Bc(n==null?void 0:n.props),o}return Bq(t,[{key:"toDataBindModel",value:function(o){var r=kc(ln(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.displayLevel,c=i.showSubDept;r.props.displayLevel=u,r.props.showSubDept=c}return r}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"organization-selection"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),t}(x);Ac(an,"controlName","\u4E1A\u52A1\u7EC4\u7EC7"),Ac(an,"controlFieldType",g.DEPARTMENTS),Ac(an,"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 Lq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fq(e,t,n){return t=Dc(t),Vq(e,VP()?Reflect.construct(t,n||[],Dc(e).constructor):t.apply(e,n))}function jq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Mq(e,t,n){return t&&MP(e.prototype,t),n&&MP(e,n),e}function NP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Dc(e){return Dc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dc(e)}function Nq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ad(e,t)}function Vq(e,t){return t&&(zq(t)==="object"||typeof t=="function")?t:Lq(e)}function ad(e,t){return ad=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ad(e,t)}function zq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(VP=function(){return!!e})()}var Cq=function(e){Nq(t,e);function t(n){jq(this,t);var o;return o=Fq(this,t,[n]),NP(o,"props",void 0),o.props=new Bc(n==null?void 0:n.props),o}return Mq(t,null,[{key:"controlType",get:function(){return"organization-selection"}}]),t}(L);NP(Cq,"controlFieldType",g.DEPARTMENTS);function Hq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fd(e,t,n){return t=xc(t),qq(e,zP()?Reflect.construct(t,n||[],xc(e).constructor):t.apply(e,n))}function _d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xc(e){return xc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xc(e)}function yd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sd(e,t)}function qq(e,t){return t&&(Uq(t)==="object"||typeof t=="function")?t:Hq(e)}function sd(e,t){return sd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sd(e,t)}function Uq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(zP=function(){return!!e})()}var Wq=function(e){yd(t,e);function t(n){_d(this,t);var o;return o=fd(this,t,[n]),jt(o,"maxLength",{type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),jt(o,"minLength",{type:"number",max:200,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),jt(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=We(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return t}(J),Kq=function(e){yd(t,e);function t(n){_d(this,t);var o;return o=fd(this,t,[n]),o.push({type:"string",message:d.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:We(n.regularRules.expression),message:n.regularRules.errMessage}),o}return t}(z),Lc=function(e){yd(t,e);function t(n){_d(this,t);var o;o=fd(this,t,[n]),jt(o,"maxLength",void 0),jt(o,"minLength",void 0),jt(o,"regularRules",void 0),jt(o,"defaultValue",void 0),jt(o,"encrypted",void 0),jt(o,"encryptedMode",void 0);var r;o.maxLength=(r=n==null?void 0:n.maxLength)!==null&&r!==void 0?r:200;var i;o.minLength=(i=n==null?void 0:n.minLength)!==null&&i!==void 0?i:0,o.regularRules=new Ao(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 t}(D);jt(Lc,"Rules",Wq),jt(Lc,"RuntimeRules",Kq);function Gq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xq(e,t,n){return t=jc(t),Yq(e,HP()?Reflect.construct(t,n||[],jc(e).constructor):t.apply(e,n))}function Qq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Jq(e,t,n){return t&&CP(e.prototype,t),n&&CP(e,n),e}function Fc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jc(e){return jc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jc(e)}function Zq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pd(e,t)}function Yq(e,t){return t&&(tU(t)==="object"||typeof t=="function")?t:Gq(e)}function pd(e,t){return pd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},pd(e,t)}function tU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(HP=function(){return!!e})()}var Mc=function(e){Zq(t,e);function t(n){Qq(this,t);var o;return o=Xq(this,t,[n]),Fc(o,"props",void 0),o.props=new Lc(n==null?void 0:n.props),o}return Jq(t,null,[{key:"controlName",get:function(){return"\u654F\u611F\u4FE1\u606F"}},{key:"controlIcon",get:function(){return"iconSingleline_new1"}},{key:"controlType",get:function(){return"sensitiven-information"}}]),t}(x);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 eU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nU(e,t,n){return t=Nc(t),uU(e,WP()?Reflect.construct(t,n||[],Nc(e).constructor):t.apply(e,n))}function oU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function rU(e,t,n){return t&&qP(e.prototype,t),n&&qP(e,n),e}function UP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nc(e){return Nc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nc(e)}function iU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dd(e,t)}function uU(e,t){return t&&(cU(t)==="object"||typeof t=="function")?t:eU(e)}function dd(e,t){return dd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dd(e,t)}function cU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(WP=function(){return!!e})()}var lU=function(e){iU(t,e);function t(n){oU(this,t);var o;return o=nU(this,t,[n]),UP(o,"props",void 0),o.props=new Lc(n==null?void 0:n.props),o}return rU(t,null,[{key:"controlType",get:function(){return"sensitiven-information"}}]),t}(L);UP(lU,"controlFieldType",g.VARCHAR);function aU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fU(e,t,n){return t=Vc(t),sU(e,KP()?Reflect.construct(t,n||[],Vc(e).constructor):t.apply(e,n))}function _U(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vc(e){return Vc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vc(e)}function yU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hd(e,t)}function sU(e,t){return t&&(pU(t)==="object"||typeof t=="function")?t:aU(e)}function hd(e,t){return hd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hd(e,t)}function pU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(KP=function(){return!!e})()}var dU=function(e){yU(t,e);function t(n){_U(this,t);var o;o=fU(this,t,[n]),vd(o,"content",void 0),vd(o,"url",void 0),vd(o,"openMode",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5";var i;o.url=(i=n==null?void 0:n.url)!==null&&i!==void 0?i:"";var u;return o.openMode=(u=n==null?void 0:n.openMode)!==null&&u!==void 0?u:"new",o}return t}(D);function vU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hU(e,t,n){return t=zc(t),OU(e,XP()?Reflect.construct(t,n||[],zc(e).constructor):t.apply(e,n))}function bU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function gU(e,t,n){return t&&GP(e.prototype,t),n&&GP(e,n),e}function bd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zc(e){return zc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zc(e)}function mU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gd(e,t)}function OU(e,t){return t&&(wU(t)==="object"||typeof t=="function")?t:vU(e)}function gd(e,t){return gd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gd(e,t)}function wU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(XP=function(){return!!e})()}var QP=function(e){mU(t,e);function t(n){bU(this,t);var o;return o=hU(this,t,[n]),bd(o,"props",void 0),o.props=new dU(n==null?void 0:n.props),o}return gU(t,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),t}(x);bd(QP,"controlEventKeys",["on_click"]),bd(QP,"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:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}]);function $U(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PU(e,t,n){return t=Cc(t),IU(e,ZP()?Reflect.construct(t,n||[],Cc(e).constructor):t.apply(e,n))}function EU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function SU(e,t,n){return t&&JP(e.prototype,t),n&&JP(e,n),e}function TU(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cc(e){return Cc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cc(e)}function RU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&md(e,t)}function IU(e,t){return t&&(BU(t)==="object"||typeof t=="function")?t:$U(e)}function md(e,t){return md=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},md(e,t)}function BU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ZP=function(){return!!e})()}var AU=function(e){RU(t,e);function t(n){return EU(this,t),PU(this,t,[n])}return SU(t,null,[{key:"controlName",get:function(){return"\u753B\u5E03"}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),t}(Y);TU(AU,"excludes",[y.GRID]);function kU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DU(e,t,n){return t=Hc(t),FU(e,tE()?Reflect.construct(t,n||[],Hc(e).constructor):t.apply(e,n))}function xU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hc(e){return Hc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hc(e)}function LU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Od(e,t)}function FU(e,t){return t&&(jU(t)==="object"||typeof t=="function")?t:kU(e)}function Od(e,t){return Od=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Od(e,t)}function jU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tE=function(){return!!e})()}var MU=24,yo=function(e){LU(t,e);function t(n){xU(this,t);var o;o=DU(this,t,[n]),YP(o,"span",void 0),YP(o,"offset",void 0);var r;o.span=(r=n==null?void 0:n.span)!==null&&r!==void 0?r:MU;var i;return o.offset=(i=n==null?void 0:n.offset)!==null&&i!==void 0?i:0,o}return t}(Z);function NU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VU(e,t,n){return t=qc(t),qU(e,nE()?Reflect.construct(t,n||[],qc(e).constructor):t.apply(e,n))}function zU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function CU(e,t,n){return t&&eE(e.prototype,t),n&&eE(e,n),e}function wd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qc(e){return qc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qc(e)}function HU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$d(e,t)}function qU(e,t){return t&&(UU(t)==="object"||typeof t=="function")?t:NU(e)}function $d(e,t){return $d=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$d(e,t)}function UU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(nE=function(){return!!e})()}var so=function(e){HU(t,e);function t(n){zU(this,t);var o;return o=VU(this,t,[n]),wd(o,"props",void 0),o.props=new yo(n==null?void 0:n.props),o}return CU(t,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),t}(Y);wd(so,"excludes",[y.COL,y.CARD_GROUP,y.SUBTABLE,y.SUBTABLE_COLUMN,y.GRID_LAYOUT_CONTAINER,y.DIVIDER]),wd(so,"childrenMaxLength",1);function WU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KU(e,t,n){return t=Uc(t),ZU(e,rE()?Reflect.construct(t,n||[],Uc(e).constructor):t.apply(e,n))}function GU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function XU(e,t,n){return t&&oE(e.prototype,t),n&&oE(e,n),e}function QU(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Uc(e){return Uc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Uc(e)}function JU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pd(e,t)}function ZU(e,t){return t&&(YU(t)==="object"||typeof t=="function")?t:WU(e)}function Pd(e,t){return Pd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Pd(e,t)}function YU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(rE=function(){return!!e})()}var tW=function(e){JU(t,e);function t(n){GU(this,t);var o;return o=KU(this,t,[n]),QU(o,"props",void 0),o.props=new yo(n==null?void 0:n.props),o}return XU(t,null,[{key:"controlType",get:function(){return"col"}}]),t}(Oe),iE={Designer:so,Runtime:tW,Property:yo};function eW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nW(e,t,n){return t=Wc(t),iW(e,cE()?Reflect.construct(t,n||[],Wc(e).constructor):t.apply(e,n))}function oW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wc(e){return Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wc(e)}function rW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ed(e,t)}function iW(e,t){return t&&(uW(t)==="object"||typeof t=="function")?t:eW(e)}function Ed(e,t){return Ed=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ed(e,t)}function uW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(cE=function(){return!!e})()}var Sd=function(e){rW(t,e);function t(n){oW(this,t);var o;o=nW(this,t,[n]),uE(o,"layoutMode",void 0),uE(o,"gutter",void 0);var r;o.layoutMode=(r=n==null?void 0:n.layoutMode)!==null&&r!==void 0?r:"select";var i;return o.gutter=(i=n==null?void 0:n.gutter)!==null&&i!==void 0?i:0,o}return t}(Z);function cW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lW(e,t,n){return t=Kc(t),yW(e,aE()?Reflect.construct(t,n||[],Kc(e).constructor):t.apply(e,n))}function aW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function fW(e,t,n){return t&&lE(e.prototype,t),n&&lE(e,n),e}function Td(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Kc(e){return Kc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kc(e)}function _W(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rd(e,t)}function yW(e,t){return t&&(sW(t)==="object"||typeof t=="function")?t:cW(e)}function Rd(e,t){return Rd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rd(e,t)}function sW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(aE=function(){return!!e})()}var Id=function(e){_W(t,e);function t(n){aW(this,t);var o;return o=lW(this,t,[n]),Td(o,"props",void 0),o.props=new Sd(n==null?void 0:n.props),o}return fW(t,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),t}(Y);Td(Id,"excludes",[y.ROW]),Td(Id,"setting",[{key:"col-setting",visible:!0}]);function pW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dW(e,t,n){return t=Gc(t),mW(e,_E()?Reflect.construct(t,n||[],Gc(e).constructor):t.apply(e,n))}function vW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function hW(e,t,n){return t&&fE(e.prototype,t),n&&fE(e,n),e}function bW(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gc(e){return Gc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gc(e)}function gW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bd(e,t)}function mW(e,t){return t&&(OW(t)==="object"||typeof t=="function")?t:pW(e)}function Bd(e,t){return Bd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bd(e,t)}function OW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _E(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_E=function(){return!!e})()}var wW=function(e){gW(t,e);function t(n){vW(this,t);var o;return o=dW(this,t,[n]),bW(o,"props",void 0),o.props=new Sd(n==null?void 0:n.props),o}return hW(t,null,[{key:"controlType",get:function(){return"row"}}]),t}(Oe);function $W(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PW(e,t,n){return t=Xc(t),RW(e,sE()?Reflect.construct(t,n||[],Xc(e).constructor):t.apply(e,n))}function EW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function SW(e,t,n){return t&&yE(e.prototype,t),n&&yE(e,n),e}function Ad(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xc(e){return Xc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xc(e)}function TW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kd(e,t)}function RW(e,t){return t&&(IW(t)==="object"||typeof t=="function")?t:$W(e)}function kd(e,t){return kd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kd(e,t)}function IW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(sE=function(){return!!e})()}var BW=4,Qc=function(e){TW(t,e);function t(n){return EW(this,t),PW(this,t,[n])}return SW(t,null,[{key:"controlName",get:function(){return"\u6805\u683C\u7B49\u5206\u884C"}},{key:"controlType",get:function(){return"grid-row"}},{key:"controlIcon",get:function(){return"grid-row"}}]),t}(Id);Ad(Qc,"excludes",[y.GRID_ROW]),Ad(Qc,"setting",[]),Ad(Qc,"childrenMaxLength",BW);function AW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kW(e,t,n){return t=Jc(t),FW(e,dE()?Reflect.construct(t,n||[],Jc(e).constructor):t.apply(e,n))}function DW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function xW(e,t,n){return t&&pE(e.prototype,t),n&&pE(e,n),e}function Jc(e){return Jc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jc(e)}function LW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dd(e,t)}function FW(e,t){return t&&(jW(t)==="object"||typeof t=="function")?t:AW(e)}function Dd(e,t){return Dd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dd(e,t)}function jW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(dE=function(){return!!e})()}var MW=function(e){LW(t,e);function t(n){return DW(this,t),kW(this,t,[n])}return xW(t,null,[{key:"controlType",get:function(){return"grid-row"}}]),t}(wW);function NW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VW(e,t,n){return t=Zc(t),HW(e,vE()?Reflect.construct(t,n||[],Zc(e).constructor):t.apply(e,n))}function zW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zc(e){return Zc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zc(e)}function CW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xd(e,t)}function HW(e,t){return t&&(qW(t)==="object"||typeof t=="function")?t:NW(e)}function xd(e,t){return xd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xd(e,t)}function qW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(vE=function(){return!!e})()}var UW=function(e){CW(t,e);function t(n){return zW(this,t),VW(this,t,[n])}return t}(Sd),WW={Designer:Qc,Runtime:MW,Property:UW};function KW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hE(e,t,n){return t=tl(t),GW(e,mE()?Reflect.construct(t,n||[],tl(e).constructor):t.apply(e,n))}function bE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tl(e){return tl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tl(e)}function gE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ld(e,t)}function GW(e,t){return t&&(XW(t)==="object"||typeof t=="function")?t:KW(e)}function Ld(e,t){return Ld=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ld(e,t)}function XW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(mE=function(){return!!e})()}var QW=function(e){gE(t,e);function t(){bE(this,t);var n;return n=hE(this,t,arguments),Yc(n,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),n}return t}(Z.Rules),OE=function(e){gE(t,e);function t(n){bE(this,t);var o;o=hE(this,t,[n]),Yc(o,"caption",void 0),Yc(o,"collapse",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:"\u5206\u7EC4";var i;return o.collapse=(i=n==null?void 0:n.collapse)!==null&&i!==void 0?i:"none",o}return t}(Z);Yc(OE,"Rules",QW);function JW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZW(e,t,n){return t=el(t),nK(e,$E()?Reflect.construct(t,n||[],el(e).constructor):t.apply(e,n))}function YW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function tK(e,t,n){return t&&wE(e.prototype,t),n&&wE(e,n),e}function Fd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function el(e){return el=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},el(e)}function eK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jd(e,t)}function nK(e,t){return t&&(oK(t)==="object"||typeof t=="function")?t:JW(e)}function jd(e,t){return jd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jd(e,t)}function oK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $E(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return($E=function(){return!!e})()}var PE=function(e){eK(t,e);function t(n){YW(this,t);var o;return o=ZW(this,t,[n]),Fd(o,"props",void 0),o.props=new OE(n==null?void 0:n.props),o}return tK(t,null,[{key:"controlName",get:function(){return"\u5206\u7EC4"}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),t}(Y);Fd(PE,"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}]),Fd(PE,"excludes",[y.CARD_GROUP]);function rK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EE(e,t,n){return t=nl(t),iK(e,RE()?Reflect.construct(t,n||[],nl(e).constructor):t.apply(e,n))}function SE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nl(e){return nl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nl(e)}function TE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Md(e,t)}function iK(e,t){return t&&(uK(t)==="object"||typeof t=="function")?t:rK(e)}function Md(e,t){return Md=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Md(e,t)}function uK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(RE=function(){return!!e})()}var cK=function(e){TE(t,e);function t(n){SE(this,t);var o;return o=EE(this,t,[n]),qt(o,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),qt(o,"width",{type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")}),qt(o,"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return t}(W),ol=function(e){TE(t,e);function t(n){SE(this,t);var o;o=EE(this,t,[n]),qt(o,"metaAutoWidth",void 0),qt(o,"caption",void 0),qt(o,"fixed",void 0),qt(o,"isShowCaptionTip",void 0),qt(o,"captionTip",void 0),qt(o,"isHideCaption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:"";var i;o.fixed=(i=n==null?void 0:n.fixed)!==null&&i!==void 0?i:!1;var u;o.isShowCaptionTip=(u=n==null?void 0:n.isShowCaptionTip)!==null&&u!==void 0?u:!1;var c;o.captionTip=(c=n==null?void 0:n.captionTip)!==null&&c!==void 0?c:"";var a;return o.isHideCaption=(a=n==null?void 0:n.isHideCaption)!==null&&a!==void 0?a:!1,o.metaAutoWidth=new x0(n==null?void 0:n.metaAutoWidth),o}return t}(Z);qt(ol,"Rules",cK);function lK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aK(e,t,n){return t=rl(t),yK(e,IE()?Reflect.construct(t,n||[],rl(e).constructor):t.apply(e,n))}function fK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rl(e){return rl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rl(e)}function _K(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nd(e,t)}function yK(e,t){return t&&(sK(t)==="object"||typeof t=="function")?t:lK(e)}function Nd(e,t){return Nd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Nd(e,t)}function sK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(IE=function(){return!!e})()}var Mt=function(e){_K(t,e);function t(n){fK(this,t);var o;return o=aK(this,t,[n]),Pe(o,"props",void 0),o.props=new ol(n==null?void 0:n.props),o}return t}(Y);Pe(Mt,"controlName","\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),Pe(Mt,"controlType","subtable-column"),Pe(Mt,"controlIcon","subtable-column"),Pe(Mt,"childrenMaxLength",1),Pe(Mt,"excludes",[y.SUBTABLE,y.SUBTABLE_COLUMN,y.ROW,y.COL,y.CARD_GROUP,y.DIVIDER,y.TEXT]),Pe(Mt,"setting",[{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"common-setting",showItems:[f.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}]);function pK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dK(e,t,n){return t=il(t),bK(e,AE()?Reflect.construct(t,n||[],il(e).constructor):t.apply(e,n))}function vK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function il(e){return il=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},il(e)}function hK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vd(e,t)}function bK(e,t){return t&&(gK(t)==="object"||typeof t=="function")?t:pK(e)}function Vd(e,t){return Vd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vd(e,t)}function gK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(AE=function(){return!!e})()}var kE=function(e){hK(t,e);function t(n){vK(this,t);var o;return o=dK(this,t,[n]),BE(o,"props",void 0),o.props=new ol(n==null?void 0:n.props),o}return t}(Oe);BE(kE,"controlType","subtable-column");var mK={Designer:Mt,Runtime:kE,Property:ol};function OK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wK(e,t,n){return t=ul(t),EK(e,DE()?Reflect.construct(t,n||[],ul(e).constructor):t.apply(e,n))}function $K(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ul(e){return ul=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ul(e)}function PK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zd(e,t)}function EK(e,t){return t&&(SK(t)==="object"||typeof t=="function")?t:OK(e)}function zd(e,t){return zd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zd(e,t)}function SK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(DE=function(){return!!e})()}var TK=function(e){PK(t,e);function t(n){return $K(this,t),wK(this,t,[n])}return t}(Z);function RK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IK(e,t,n){return t=cl(t),kK(e,xE()?Reflect.construct(t,n||[],cl(e).constructor):t.apply(e,n))}function BK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cl(e){return cl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cl(e)}function AK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cd(e,t)}function kK(e,t){return t&&(DK(t)==="object"||typeof t=="function")?t:RK(e)}function Cd(e,t){return Cd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cd(e,t)}function DK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(xE=function(){return!!e})()}var fn=function(e){AK(t,e);function t(n){BK(this,t);var o;return o=IK(this,t,[n]),Ee(o,"props",void 0),o.props=new TK(n==null?void 0:n.props),o}return t}(Y);Ee(fn,"controlName","\u660E\u7EC6\u5B50\u8868\u884C"),Ee(fn,"controlType","subtable-row"),Ee(fn,"controlIcon","subtable-row"),Ee(fn,"childrenMaxLength",1),Ee(fn,"excludes",[y.SUBTABLE,y.SUBTABLE_COLUMN,y.SUBTABLE_ROW,y.ROW,y.COL,y.CARD_GROUP,y.DIVIDER,y.TEXT]),Ee(fn,"setting",[{key:"caption",showItems:[f.CAPTION],visible:!0}]);function xK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LK(e,t,n){return t=ll(t),MK(e,LE()?Reflect.construct(t,n||[],ll(e).constructor):t.apply(e,n))}function FK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ll(e){return ll=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ll(e)}function jK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hd(e,t)}function MK(e,t){return t&&(NK(t)==="object"||typeof t=="function")?t:xK(e)}function Hd(e,t){return Hd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hd(e,t)}function NK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(LE=function(){return!!e})()}var FE=function(e){jK(t,e);function t(n){FK(this,t);var o;o=LK(this,t,[n]),Tt(o,"widthType",void 0),Tt(o,"width",void 0),Tt(o,"caption",void 0),Tt(o,"fieldCode",void 0),Tt(o,"fieldType",void 0),Tt(o,"fieldName",void 0),Tt(o,"datasourceBind",void 0),Tt(o,"fixed",void 0),Tt(o,"textCleanFormart",void 0),Tt(o,"decimalKeepPrecision",void 0),Tt(o,"timestampDateType",void 0),Tt(o,"departmentDisplayLevel",void 0);var r;o.width=(r=n==null?void 0:n.width)!==null&&r!==void 0?r:200,o.widthType=(n==null?void 0:n.widthType)||"auto";var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:!1;var c;o.fieldCode=(c=n==null?void 0:n.fieldCode)!==null&&c!==void 0?c:"";var a;o.fieldType=(a=n==null?void 0:n.fieldType)!==null&&a!==void 0?a:g.VARCHAR;var l;o.fieldName=(l=n==null?void 0:n.fieldName)!==null&&l!==void 0?l:"",o.datasourceBind=new G(n==null?void 0:n.datasourceBind);var _;o.textCleanFormart=(_=n==null?void 0:n.textCleanFormart)!==null&&_!==void 0?_:!1;var s;o.decimalKeepPrecision=(s=n==null?void 0:n.decimalKeepPrecision)!==null&&s!==void 0?s:0;var p;o.timestampDateType=(p=n==null?void 0:n.timestampDateType)!==null&&p!==void 0?p:xe.DATE;var b;return o.departmentDisplayLevel=(b=n==null?void 0:n.departmentDisplayLevel)!==null&&b!==void 0?b:1,o}return t}(Z);function VK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zK(e,t,n){return t=al(t),qK(e,jE()?Reflect.construct(t,n||[],al(e).constructor):t.apply(e,n))}function CK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function al(e){return al=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},al(e)}function HK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qd(e,t)}function qK(e,t){return t&&(UK(t)==="object"||typeof t=="function")?t:VK(e)}function qd(e,t){return qd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qd(e,t)}function UK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(jE=function(){return!!e})()}var _n=function(e){HK(t,e);function t(n){CK(this,t);var o;return o=zK(this,t,[n]),Se(o,"props",void 0),o.props=new FE(n==null?void 0:n.props),o}return t}(Y);Se(_n,"controlName","\u5217\u8868\u5355\u5143\u683C"),Se(_n,"controlType","gridtable-column"),Se(_n,"controlIcon","gridtable-column"),Se(_n,"childrenMaxLength",1),Se(_n,"excludes",[y.GRID_TABLE,y.GRID_TABLE_COLUMN,y.ROW,y.COL,y.CARD_GROUP,y.DIVIDER,y.TEXT]),Se(_n,"setting",[{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}]);function WK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KK(e,t,n){return t=fl(t),QK(e,NE()?Reflect.construct(t,n||[],fl(e).constructor):t.apply(e,n))}function GK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ME(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fl(e){return fl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fl(e)}function XK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ud(e,t)}function QK(e,t){return t&&(JK(t)==="object"||typeof t=="function")?t:WK(e)}function Ud(e,t){return Ud=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ud(e,t)}function JK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(NE=function(){return!!e})()}var ZK=function(e){XK(t,e);function t(n){GK(this,t);var o;return o=KK(this,t,[n]),ME(o,"props",void 0),o.props=new FE(n==null?void 0:n.props),o}return t}(Oe);ME(ZK,"controlType","gridtable-column");function YK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tG(e,t,n){return t=_l(t),oG(e,zE()?Reflect.construct(t,n||[],_l(e).constructor):t.apply(e,n))}function eG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _l(e){return _l=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_l(e)}function nG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wd(e,t)}function oG(e,t){return t&&(rG(t)==="object"||typeof t=="function")?t:YK(e)}function Wd(e,t){return Wd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wd(e,t)}function rG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(zE=function(){return!!e})()}var iG=function(e){nG(t,e);function t(n){eG(this,t);var o;o=tG(this,t,[n]),VE(o,"childMinWidth",void 0),VE(o,"colGap",void 0);var r;o.childMinWidth=(r=n==null?void 0:n.childMinWidth)!==null&&r!==void 0?r:230;var i;return o.colGap=(i=n==null?void 0:n.colGap)!==null&&i!==void 0?i:24,o}return t}(Z);function uG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cG(e,t,n){return t=yl(t),_G(e,HE()?Reflect.construct(t,n||[],yl(e).constructor):t.apply(e,n))}function lG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function aG(e,t,n){return t&&CE(e.prototype,t),n&&CE(e,n),e}function Kd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yl(e){return yl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yl(e)}function fG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gd(e,t)}function _G(e,t){return t&&(yG(t)==="object"||typeof t=="function")?t:uG(e)}function Gd(e,t){return Gd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gd(e,t)}function yG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(HE=function(){return!!e})()}var qE=function(e){fG(t,e);function t(n){lG(this,t);var o;return o=cG(this,t,[n]),Kd(o,"props",void 0),o.props=new iG(n==null?void 0:n.props),o}return aG(t,null,[{key:"controlName",get:function(){return"\u6362\u884C\u5BB9\u5668"}},{key:"controlType",get:function(){return"grid-layout-container"}},{key:"controlIcon",get:function(){return"icona-huanhangrongqi1"}}]),t}(Y);Kd(qE,"excludes",[y.GRID_LAYOUT_CONTAINER,y.CARD_GROUP,y.TAB]),Kd(qE,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}]);function sG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pG(e,t,n){return t=sl(t),bG(e,UE()?Reflect.construct(t,n||[],sl(e).constructor):t.apply(e,n))}function dG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vG(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sl(e){return sl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sl(e)}function hG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xd(e,t)}function bG(e,t){return t&&(gG(t)==="object"||typeof t=="function")?t:sG(e)}function Xd(e,t){return Xd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xd(e,t)}function gG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function UE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(UE=function(){return!!e})()}var mG=function(e){hG(t,e);function t(n){dG(this,t);var o;o=pG(this,t,[n]),vG(o,"mobileShowType",void 0);var r;return o.mobileShowType=(r=n==null?void 0:n.mobileShowType)!==null&&r!==void 0?r:"vertical",o}return t}(Z);function OG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WE(e,t,n){return t=pl(t),wG(e,XE()?Reflect.construct(t,n||[],pl(e).constructor):t.apply(e,n))}function KE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pl(e){return pl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pl(e)}function GE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jd(e,t)}function wG(e,t){return t&&($G(t)==="object"||typeof t=="function")?t:OG(e)}function Jd(e,t){return Jd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jd(e,t)}function $G(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(XE=function(){return!!e})()}var PG=function(e){GE(t,e);function t(n){KE(this,t);var o;return o=WE(this,t,[n]),Qd(o,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),o}return t}(W),QE=function(e){GE(t,e);function t(n){KE(this,t);var o;o=WE(this,t,[n]),Qd(o,"caption",void 0);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:gl.controlName,o}return t}(Z);Qd(QE,"Rules",PG);function EG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SG(e,t,n){return t=dl(t),BG(e,ZE()?Reflect.construct(t,n||[],dl(e).constructor):t.apply(e,n))}function TG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function RG(e,t,n){return t&&JE(e.prototype,t),n&&JE(e,n),e}function Zd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dl(e){return dl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dl(e)}function IG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yd(e,t)}function BG(e,t){return t&&(AG(t)==="object"||typeof t=="function")?t:EG(e)}function Yd(e,t){return Yd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yd(e,t)}function AG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ZE=function(){return!!e})()}var vl=function(e){IG(t,e);function t(n){TG(this,t);var o;return o=SG(this,t,[n]),Zd(o,"props",void 0),o.props=new QE(n==null?void 0:n.props),o}return RG(t,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u5355\u5143"}},{key:"controlType",get:function(){return"tab-pane"}},{key:"controlIcon",get:function(){return"tab-pane"}}]),t}(Y);Zd(vl,"excludes",[y.TAB]),Zd(vl,"setting",[{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE]},{key:"super-setting",visible:!0}]);function kG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DG(e,t,n){return t=bl(t),jG(e,tS()?Reflect.construct(t,n||[],bl(e).constructor):t.apply(e,n))}function xG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function LG(e,t,n){return t&&YE(e.prototype,t),n&&YE(e,n),e}function hl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bl(e){return bl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bl(e)}function FG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tv(e,t)}function jG(e,t){return t&&(MG(t)==="object"||typeof t=="function")?t:kG(e)}function tv(e,t){return tv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},tv(e,t)}function MG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tS=function(){return!!e})()}var gl=function(e){FG(t,e);function t(n){xG(this,t);var o;o=DG(this,t,[n]),hl(o,"props",void 0),o.props=new mG(n==null?void 0:n.props);var r;return o.children=(r=n==null?void 0:n.children)!==null&&r!==void 0?r:[new vl,new vl],o}return LG(t,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u9875"}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),t}(Y);hl(gl,"excludes",[y.TAB]),hl(gl,"controlEventKeys",["on_change_tab"]),hl(gl,"setting",[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}]);function NG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VG(e,t,n){return t=ml(t),HG(e,eS()?Reflect.construct(t,n||[],ml(e).constructor):t.apply(e,n))}function zG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ml(e){return ml=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ml(e)}function CG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ev(e,t)}function HG(e,t){return t&&(qG(t)==="object"||typeof t=="function")?t:NG(e)}function ev(e,t){return ev=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ev(e,t)}function qG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(eS=function(){return!!e})()}var UG=function(e){CG(t,e);function t(n){return zG(this,t),VG(this,t,[n])}return t}(Z);function WG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KG(e,t,n){return t=Ol(t),JG(e,rS()?Reflect.construct(t,n||[],Ol(e).constructor):t.apply(e,n))}function GG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function XG(e,t,n){return t&&nS(e.prototype,t),n&&nS(e,n),e}function oS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ol(e){return Ol=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ol(e)}function QG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nv(e,t)}function JG(e,t){return t&&(ZG(t)==="object"||typeof t=="function")?t:WG(e)}function nv(e,t){return nv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},nv(e,t)}function ZG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(rS=function(){return!!e})()}var YG=function(e){QG(t,e);function t(n){GG(this,t);var o;return o=KG(this,t,[n]),oS(o,"props",void 0),o.props=new UG({}),o.children=(n==null?void 0:n.children)||[new so({props:new yo({span:12})}),new so({props:new yo({span:12})})],o}return XG(t,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),t}(Y);oS(YG,"excludes",[y.GRID_ROW,y.ROW,y.GRID,y.SUBTABLE,y.TAB,y.TOOLBOX]);function tX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ov(e,t,n){return t=wl(t),eX(e,iS()?Reflect.construct(t,n||[],wl(e).constructor):t.apply(e,n))}function rv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function N(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wl(e){return wl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wl(e)}function iv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uv(e,t)}function eX(e,t){return t&&(nX(t)==="object"||typeof t=="function")?t:tX(e)}function uv(e,t){return uv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},uv(e,t)}function nX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(iS=function(){return!!e})()}var oX=function(e){iv(t,e);function t(n){rv(this,t);var o;return o=ov(this,t,[n]),o.push({type:"object",fields:{}}),o}return t}(me),rX=function(e){iv(t,e);function t(n){rv(this,t);var o;if(o=ov(this,t,[n]),N(o,"triggerFieldCode",{type:"any"}),N(o,"datasourceBind",{type:"any"}),N(o,"joinRelation",[{type:"any"}]),console.log("--ListViewControlPropertyRules--"),n.triggerType===2&&n.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")}),n.isShowJoinRelation&&(o.joinRelation=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),Of.call(o,{optionConfig:"datasource",datasourceBind:n.datasourceBind,options:[]}),Array.isArray(o.datasourceBind)&&o.datasourceBind.length>1){var r=o.datasourceBind.find(function(i){return i.type==="object"&&i.fields});r&&(delete r.fields.valueFieldCode,delete r.fields.displayBoList)}return o}return t}(W),po=function(e){iv(t,e);function t(n){rv(this,t);var o,r,i;o=ov(this,t,[n]),N(o,"datasourceBind",void 0),N(o,"isLoading",void 0),N(o,"isShowSubList",void 0),N(o,"triggerType",void 0),N(o,"triggerFieldCode",void 0),N(o,"sublistPage",void 0),N(o,"isShowJoinRelation",void 0),N(o,"joinRelation",void 0),N(o,"showType",void 0),N(o,"showFullScreen",void 0),N(o,"isFixedHeader",void 0),N(o,"selectionType",void 0),N(o,"isShowSelection",void 0),N(o,"isAllLoaded",void 0),N(o,"countType",void 0),N(o,"countLimit",void 0),N(o,"rowStyleType",void 0),N(o,"rowStyleBgColor",void 0),N(o,"rowStyleRules",void 0),N(o,"rowStyleRulesScript",void 0),o.datasourceBind=new 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 ek(n==null?void 0:n.sublistPage);var _;o.isShowJoinRelation=(_=n==null?void 0:n.isShowJoinRelation)!==null&&_!==void 0?_:!1,o.joinRelation=new ok(n==null?void 0:n.joinRelation);var s;o.showType=(s=n==null?void 0:n.showType)!==null&&s!==void 0?s:"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 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 gk(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 mk(F)}))!==null&&S!==void 0?S:[]:[],o}return t}(Z);N(po,"Rules",rX),N(po,"RuntimeRules",oX);function iX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uX(e,t,n){return t=Pl(t),fX(e,cS()?Reflect.construct(t,n||[],Pl(e).constructor):t.apply(e,n))}function cX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function lX(e,t,n){return t&&uS(e.prototype,t),n&&uS(e,n),e}function $l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pl(e){return Pl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pl(e)}function aX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cv(e,t)}function fX(e,t){return t&&(_X(t)==="object"||typeof t=="function")?t:iX(e)}function cv(e,t){return cv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cv(e,t)}function _X(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(cS=function(){return!!e})()}var El=function(e){aX(t,e);function t(n){cX(this,t);var o;return o=uX(this,t,[n]),$l(o,"props",void 0),o.props=new po(n==null?void 0:n.props),o}return lX(t,null,[{key:"controlName",get:function(){return"\u5217\u8868\u5BB9\u5668"}},{key:"controlType",get:function(){return"list-view"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),t}(Y);$l(El,"excludes",[y.ROW]),$l(El,"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"]),$l(El,"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 yX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sX(e,t,n){return t=Sl(t),bX(e,aS()?Reflect.construct(t,n||[],Sl(e).constructor):t.apply(e,n))}function pX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function dX(e,t,n){return t&&lS(e.prototype,t),n&&lS(e,n),e}function vX(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sl(e){return Sl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sl(e)}function hX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lv(e,t)}function bX(e,t){return t&&(gX(t)==="object"||typeof t=="function")?t:yX(e)}function lv(e,t){return lv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},lv(e,t)}function gX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(aS=function(){return!!e})()}var mX=function(e){hX(t,e);function t(n){pX(this,t);var o;return o=sX(this,t,[n]),vX(o,"props",void 0),o.props=new po(n==null?void 0:n.props),o}return dX(t,null,[{key:"controlType",get:function(){return"list-view"}}]),t}(Oe),OX={Designer:El,Runtime:mX,Property:po};function wX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fS(e,t,n){return t=Tl(t),$X(e,sS()?Reflect.construct(t,n||[],Tl(e).constructor):t.apply(e,n))}function _S(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function he(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tl(e){return Tl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tl(e)}function yS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&av(e,t)}function $X(e,t){return t&&(PX(t)==="object"||typeof t=="function")?t:wX(e)}function av(e,t){return av=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},av(e,t)}function PX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(sS=function(){return!!e})()}var EX=function(e){yS(t,e);function t(n){_S(this,t);var o;return o=fS(this,t,[n]),o.push({type:"object",fields:{}}),o}return t}(me),Rl=function(e){yS(t,e);function t(n){_S(this,t);var o;o=fS(this,t,[n]),he(o,"save",void 0),he(o,"cancel",void 0),he(o,"saveAs",void 0),he(o,"print",void 0),he(o,"custom",void 0),he(o,"isLoading",void 0),he(o,"datasourceBind",void 0);var r;o.save=new ie((r=n==null?void 0:n.save)!==null&&r!==void 0?r:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var i;o.cancel=new ie((i=n==null?void 0:n.cancel)!==null&&i!==void 0?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var u;o.saveAs=new ie((u=n==null?void 0:n.saveAs)!==null&&u!==void 0?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1});var c;o.print=new ie((c=n==null?void 0:n.print)!==null&&c!==void 0?c:{content:"\u6253\u5370",type:"print",isShow:!1});var a;o.custom=((a=n==null?void 0:n.custom)!==null&&a!==void 0?a:[]).map(function(_){return new ie(_)});var l;return o.isLoading=(l=n==null?void 0:n.isLoading)!==null&&l!==void 0?l:!1,o.datasourceBind=new G(n==null?void 0:n.datasourceBind),o}return t}(Z);he(Rl,"RuntimeRules",EX);function SX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TX(e,t,n){return t=Il(t),AX(e,vS()?Reflect.construct(t,n||[],Il(e).constructor):t.apply(e,n))}function RX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function IX(e,t,n){return t&&pS(e.prototype,t),n&&pS(e,n),e}function dS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Il(e){return Il=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Il(e)}function BX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fv(e,t)}function AX(e,t){return t&&(kX(t)==="object"||typeof t=="function")?t:SX(e)}function fv(e,t){return fv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fv(e,t)}function kX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(vS=function(){return!!e})()}var hS=function(e){BX(t,e);function t(n){RX(this,t);var o;return o=TX(this,t,[n]),dS(o,"props",void 0),o.props=new Rl(n==null?void 0:n.props),o}return IX(t,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),t}(Y);dS(hS,"excludes",[]);function DX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xX(e,t,n){return t=Bl(t),NX(e,gS()?Reflect.construct(t,n||[],Bl(e).constructor):t.apply(e,n))}function LX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function FX(e,t,n){return t&&bS(e.prototype,t),n&&bS(e,n),e}function jX(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bl(e){return Bl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bl(e)}function MX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_v(e,t)}function NX(e,t){return t&&(VX(t)==="object"||typeof t=="function")?t:DX(e)}function _v(e,t){return _v=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_v(e,t)}function VX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(gS=function(){return!!e})()}var zX=function(e){MX(t,e);function t(n){LX(this,t);var o;return o=xX(this,t,[n]),jX(o,"props",void 0),o.props=new Rl(n==null?void 0:n.props),o}return FX(t,null,[{key:"controlType",get:function(){return"data-view"}}]),t}(Oe),CX={Designer:hS,Runtime:zX,Property:Rl};function HX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qX(e,t,n){return t=Al(t),KX(e,mS()?Reflect.construct(t,n||[],Al(e).constructor):t.apply(e,n))}function UX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Al(e){return Al=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Al(e)}function WX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sv(e,t)}function KX(e,t){return t&&(GX(t)==="object"||typeof t=="function")?t:HX(e)}function sv(e,t){return sv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sv(e,t)}function GX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(mS=function(){return!!e})()}var XX=function(e){WX(t,e);function t(n){UX(this,t);var o;o=qX(this,t,[n]),yv(o,"position",void 0),yv(o,"opacity",void 0),yv(o,"align",void 0);var r;o.position=(r=n==null?void 0:n.position)!==null&&r!==void 0?r:"bottom";var i;o.opacity=(i=n==null?void 0:n.opacity)!==null&&i!==void 0?i:!0;var u;return o.align=(u=n==null?void 0:n.align)!==null&&u!==void 0?u:"right",o}return t}(Z);function QX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JX(e,t,n){return t=kl(t),eQ(e,wS()?Reflect.construct(t,n||[],kl(e).constructor):t.apply(e,n))}function ZX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function YX(e,t,n){return t&&OS(e.prototype,t),n&&OS(e,n),e}function pv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kl(e){return kl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kl(e)}function tQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dv(e,t)}function eQ(e,t){return t&&(nQ(t)==="object"||typeof t=="function")?t:QX(e)}function dv(e,t){return dv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dv(e,t)}function nQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(wS=function(){return!!e})()}var $S=function(e){tQ(t,e);function t(n){ZX(this,t);var o;o=JX(this,t,[n]),pv(o,"props",void 0);var r;return o.props=new XX((r=n==null?void 0:n.props)!==null&&r!==void 0?r:{}),o}return YX(t,null,[{key:"controlName",get:function(){return"\u6309\u94AE\u64CD\u4F5C\u680F"}},{key:"controlType",get:function(){return"action-bar"}},{key:"controlIcon",get:function(){return"action-bar"}}]),t}(Y);pv($S,"excludes",[]),pv($S,"setting",[{key:"action-buttons",visible:!0},{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0}]);function oQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vv(e,t,n){return t=Dl(t),rQ(e,PS()?Reflect.construct(t,n||[],Dl(e).constructor):t.apply(e,n))}function hv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Dl(e){return Dl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dl(e)}function bv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gv(e,t)}function rQ(e,t){return t&&(iQ(t)==="object"||typeof t=="function")?t:oQ(e)}function gv(e,t){return gv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gv(e,t)}function iQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(PS=function(){return!!e})()}var uQ=function(e){bv(t,e);function t(n){hv(this,t);var o;return o=vv(this,t,[n]),R(o,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),R(o,"limitRows",[{type:"number",required:!0,message:d.getMessage("isNotNumber")},{type:"number",min:0,message:d.getMessage("limitRowsCannotBeLessThan0")}]),R(o,"formKey",{type:"string",required:!1,message:d.getMessage("pleaseEnterForm")}),R(o,"maxHeight",{type:"number",required:!0,message:d.getMessage("pleaseEnterMaxHeight")}),R(o,"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),R(o,"mobileRowCaption",{type:"string",required:!1,message:d.getMessage("pleaseEnterRowCaption")}),n.openType==="modal"&&(o.formKey.required=!0),n.isShowCaptionTip&&(o.captionTip.required=!0),n.mobileShowType==="tile"&&(o.mobileRowCaption.required=!0),o}return t}(W),cQ=function(e){bv(t,e);function t(n){hv(this,t);var o;return o=vv(this,t,[n]),n.isHide||o.push({type:"array",required:n.limitRows>0,message:d.getMessage("runtimeRequired",{caption:n.caption})},{type:"array",validator:function(i,u,c){u.length<n.limitRows&&c(d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})),c()},message:d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})}),o}return t}(me),mv=function(e){bv(t,e);function t(n,o){hv(this,t);var r;r=vv(this,t,[n,o,t.mode]),R(r,"caption",void 0),R(r,"labelPosition",void 0),R(r,"isHideCaption",void 0),R(r,"isShowCaptionTip",void 0),R(r,"captionTip",void 0),R(r,"defaultState",void 0),R(r,"limitRows",void 0),R(r,"maxRows",void 0),R(r,"defaultRows",void 0),R(r,"datasourceBind",void 0),R(r,"printMode",void 0),R(r,"openType",void 0),R(r,"formKey",void 0),R(r,"useCustomHeight",void 0),R(r,"maxHeight",void 0),R(r,"canAdd",void 0),R(r,"canDelete",void 0),R(r,"canCheck",void 0),R(r,"canEdit",void 0),R(r,"canImport",void 0),R(r,"canExport",void 0),R(r,"canClear",void 0),R(r,"isPaste",void 0),R(r,"mobileShowType",void 0),R(r,"mobileDefaultNum",void 0),R(r,"dataStorageDoc",void 0),R(r,"serverPagination",void 0),R(r,"fixedColumn",void 0),R(r,"mobileRowCaption",void 0),R(r,"mobileIsTile",void 0);var i;r.caption=(i=o==null?void 0:o.caption)!==null&&i!==void 0?i:$v.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 p;r.maxHeight=(p=o==null?void 0:o.maxHeight)!==null&&p!==void 0?p:Gx;var b;r.printMode=(b=o==null?void 0:o.printMode)!==null&&b!==void 0?b:"row";var m;r.limitRows=(m=o==null?void 0:o.limitRows)!==null&&m!==void 0?m:1;var O;r.maxRows=(O=o==null?void 0:o.maxRows)!==null&&O!==void 0?O:null;var w;r.defaultRows=(w=o==null?void 0:o.defaultRows)!==null&&w!==void 0?w:1,r.datasourceBind=new G(o==null?void 0:o.datasourceBind);var h;r.canAdd=(h=o==null?void 0:o.canAdd)!==null&&h!==void 0?h:!0;var $;r.canDelete=($=o==null?void 0:o.canDelete)!==null&&$!==void 0?$:!0;var T;r.canCheck=(T=o==null?void 0:o.canCheck)!==null&&T!==void 0?T:!1;var P;r.canEdit=(P=o==null?void 0:o.canEdit)!==null&&P!==void 0?P:!1;var S;r.canImport=(S=o==null?void 0:o.canImport)!==null&&S!==void 0?S:!1;var F;r.canExport=(F=o==null?void 0:o.canExport)!==null&&F!==void 0?F:!1;var A;r.canClear=(A=o==null?void 0:o.canClear)!==null&&A!==void 0?A:!0;var ut;r.serverPagination=(ut=o==null?void 0:o.serverPagination)!==null&&ut!==void 0?ut:!1;var I;r.isShowCaptionTip=(I=o==null?void 0:o.isShowCaptionTip)!==null&&I!==void 0?I:!1;var Wt;r.captionTip=(Wt=o==null?void 0:o.captionTip)!==null&&Wt!==void 0?Wt:"";var $o;r.mobileShowType=($o=o==null?void 0:o.mobileShowType)!==null&&$o!==void 0?$o:"list";var Gn;r.mobileDefaultNum=(Gn=o==null?void 0:o.mobileDefaultNum)!==null&&Gn!==void 0?Gn:10;var ke;r.dataStorageDoc=(ke=o==null?void 0:o.dataStorageDoc)!==null&&ke!==void 0?ke:new JA;var Kt;r.fixedColumn=(Kt=o==null?void 0:o.fixedColumn)!==null&&Kt!==void 0?Kt:[];var c0;r.mobileRowCaption=(c0=o==null?void 0:o.mobileRowCaption)!==null&&c0!==void 0?c0:"\u660E\u7EC6";var l0;r.mobileIsTile=(l0=o==null?void 0:o.mobileIsTile)!==null&&l0!==void 0?l0:!1;var a0;r.isPaste=(a0=o==null?void 0:o.isPaste)!==null&&a0!==void 0?a0:!1;var f0;r.pageSize=(f0=o==null?void 0:o.pageSize)!==null&&f0!==void 0?f0:10;var _0;return r.pageSizeOptions=(_0=o==null?void 0:o.pageSizeOptions)!==null&&_0!==void 0?_0:[10,20,50,100],r}return t}(kf);R(mv,"Rules",uQ),R(mv,"RuntimeRules",cQ);function lQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aQ(e,t,n){return t=xl(t),sQ(e,SS()?Reflect.construct(t,n||[],xl(e).constructor):t.apply(e,n))}function fQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ES(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function _Q(e,t,n){return t&&ES(e.prototype,t),n&&ES(e,n),e}function Ov(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xl(e){return xl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xl(e)}function yQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wv(e,t)}function sQ(e,t){return t&&(pQ(t)==="object"||typeof t=="function")?t:lQ(e)}function wv(e,t){return wv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wv(e,t)}function pQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(SS=function(){return!!e})()}var $v=function(e){yQ(t,e);function t(n){fQ(this,t);var o,r,i;return o=aQ(this,t,[n]),Ov(o,"props",void 0),o.props=new mv(o,n==null?void 0:n.props),(n==null||(r=n.props)===null||r===void 0?void 0:r.headers)===void 0&&(o.props.headers=[new Mt,new Mt,new Mt]),(n==null||(i=n.props)===null||i===void 0?void 0:i.footers)===void 0&&(o.props.footers=[]),o}return _Q(t,[{key:"addColumn",value:function(o,r){var i=o!==void 0&&typeof o!="number"?o:new Mt,u=typeof o=="number"?o:r;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}],[{key:"controlName",get:function(){return"\u660E\u7EC6\u5B50\u8868"}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),t}(Lf);Ov($v,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),Ov($v,"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 dQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vQ(e,t,n){return t=Ll(t),gQ(e,TS()?Reflect.construct(t,n||[],Ll(e).constructor):t.apply(e,n))}function hQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ll(e){return Ll=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ll(e)}function bQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pv(e,t)}function gQ(e,t){return t&&(mQ(t)==="object"||typeof t=="function")?t:dQ(e)}function Pv(e,t){return Pv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Pv(e,t)}function mQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(TS=function(){return!!e})()}var OQ=function(e){bQ(t,e);function t(n,o){hQ(this,t);var r;r=vQ(this,t,[n,o]),vo(r,"isFixedHeader",void 0),vo(r,"selectionType",void 0),vo(r,"isShowToolbar",void 0),vo(r,"isShowSelection",void 0),vo(r,"isShowCustomColumns",void 0);var i;r.isFixedHeader=(i=o==null?void 0:o.isFixedHeader)!==null&&i!==void 0?i:!1,r.selectionType=o==null?void 0:o.selectionType;var u;r.isShowToolbar=(u=o==null?void 0:o.isShowToolbar)!==null&&u!==void 0?u:!0;var c;r.isShowSelection=(c=o==null?void 0:o.isShowSelection)!==null&&c!==void 0?c:!1;var a;r.isShowCustomColumns=(a=o==null?void 0:o.isShowCustomColumns)!==null&&a!==void 0?a:!0;var l;return r.pageSizeOptions=(l=o==null?void 0:o.pageSizeOptions)!==null&&l!==void 0?l:[10,20,50,100,500],r}return t}(kf);function wQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RS(e,t,n){return t=Fl(t),PQ(e,AS()?Reflect.construct(t,n||[],Fl(e).constructor):t.apply(e,n))}function IS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $Q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fl(e){return Fl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fl(e)}function BS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ev(e,t)}function PQ(e,t){return t&&(EQ(t)==="object"||typeof t=="function")?t:wQ(e)}function Ev(e,t){return Ev=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ev(e,t)}function EQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(AS=function(){return!!e})()}var SQ=function(e){BS(t,e);function t(n){IS(this,t);var o;return o=RS(this,t,[n]),o.caption.required=!1,o}return t}(zt),Sv=function(e){BS(t,e);function t(n){IS(this,t);var o,r,i;o=RS(this,t,[n]);var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:"left";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:yn.controlName;var a;o.width=(a=n==null?void 0:n.width)!==null&&a!==void 0?a:60;var l;o.autoWidth.minWidth=(l=n==null||(r=n.autoWidth)===null||r===void 0?void 0:r.minWidth)!==null&&l!==void 0?l:60;var _;o.autoWidth.flex=(_=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.flex)!==null&&_!==void 0?_:.4;var s;return o.widthType=(s=n==null?void 0:n.widthType)!==null&&s!==void 0?s:"px",o}return t}(U);$Q(Sv,"Rules",SQ);function TQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RQ(e,t,n){return t=jl(t),AQ(e,kS()?Reflect.construct(t,n||[],jl(e).constructor):t.apply(e,n))}function IQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ho(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jl(e){return jl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jl(e)}function BQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tv(e,t)}function AQ(e,t){return t&&(kQ(t)==="object"||typeof t=="function")?t:TQ(e)}function Tv(e,t){return Tv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Tv(e,t)}function kQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(kS=function(){return!!e})()}var yn=function(e){BQ(t,e);function t(n){IQ(this,t);var o;return o=RQ(this,t,[n]),ho(o,"props",void 0),o.props=new Sv(n==null?void 0:n.props),o}return t}(et);ho(yn,"controlType","order-column"),ho(yn,"controlName","\u5E8F\u53F7"),ho(yn,"controlIcon","order-column"),ho(yn,"setting",[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}]);function DQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xQ(e,t,n){return t=Ml(t),jQ(e,DS()?Reflect.construct(t,n||[],Ml(e).constructor):t.apply(e,n))}function LQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ml(e){return Ml=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ml(e)}function FQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Iv(e,t)}function jQ(e,t){return t&&(MQ(t)==="object"||typeof t=="function")?t:DQ(e)}function Iv(e,t){return Iv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Iv(e,t)}function MQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(DS=function(){return!!e})()}var xS=function(e){FQ(t,e);function t(n){LQ(this,t);var o;return o=xQ(this,t,[n]),Rv(o,"props",void 0),o.props=new Sv(n==null?void 0:n.props),o}return t}(nt);Rv(xS,"controlType","order-column"),Rv(xS,"controlFieldType",g.DECIMAL);function NQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VQ(e,t,n){return t=Nl(t),HQ(e,FS()?Reflect.construct(t,n||[],Nl(e).constructor):t.apply(e,n))}function zQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nl(e){return Nl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nl(e)}function CQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bv(e,t)}function HQ(e,t){return t&&(qQ(t)==="object"||typeof t=="function")?t:NQ(e)}function Bv(e,t){return Bv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bv(e,t)}function qQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(FS=function(){return!!e})()}var jS=function(e){CQ(t,e);function t(n){zQ(this,t);var o,r;o=VQ(this,t,[n]),LS(o,"showType",void 0),LS(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:sn.controlName;var a;o.showType=(a=n==null?void 0:n.showType)!==null&&a!==void 0?a:"icon";var l;return o.limit=(l=n==null?void 0:n.limit)!==null&&l!==void 0?l:3,o}return t}(U);function UQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MS(e,t,n,o,r,i,u){try{var c=e[i](u),a=c.value}catch(l){n(l);return}c.done?t(a):Promise.resolve(a).then(o,r)}function WQ(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(a){MS(i,o,r,u,c,"next",a)}function c(a){MS(i,o,r,u,c,"throw",a)}u(void 0)})}}function KQ(e,t,n){return t=Te(t),JQ(e,VS()?Reflect.construct(t,n||[],Te(e).constructor):t.apply(e,n))}function GQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function XQ(e,t,n){return t&&NS(e.prototype,t),n&&NS(e,n),e}function bo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function go(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?go=Reflect.get:go=function(r,i,u){var c=ZQ(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},go(e,t,n||e)}function Te(e){return Te=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Te(e)}function QQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Av(e,t)}function JQ(e,t){return t&&(YQ(t)==="object"||typeof t=="function")?t:UQ(e)}function Av(e,t){return Av=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Av(e,t)}function ZQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Te(e),e!==null););return e}function YQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(VS=function(){return!!e})()}function tJ(e,t){var n,o,r,i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},u=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return u.next=c(0),u.throw=c(1),u.return=c(2),typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function c(l){return function(_){return a([l,_])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,l[0]&&(i=0)),i;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return i.label++,{value:l[1],done:!1};case 5:i.label++,o=l[1],l=[0];continue;case 7:l=i.ops.pop(),i.trys.pop();continue;default:if(r=i.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){i=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){i.label=l[1];break}if(l[0]===6&&i.label<r[1]){i.label=r[1],r=l;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(l);break}r[2]&&i.ops.pop(),i.trys.pop();continue}l=t.call(e,i)}catch(_){l=[6,_],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var sn=function(e){QQ(t,e);function t(n){GQ(this,t);var o;return o=KQ(this,t,[n]),bo(o,"props",void 0),o.props=new jS(n==null?void 0:n.props),o}return XQ(t,[{key:"toDataBindModel",value:function(){var o=go(Te(t.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 go(Te(t.prototype),"validate",i)};return WQ(function(){return tJ(this,function(a){switch(a.label){case 0:return[4,c().call(u,o,r)];case 1:return a.sent(),[4,Promise.all(this.children.map(function(l){return l.validate(o,r)}))];case 2:return a.sent(),[2,!0]}})}).call(this)}}]),t}(et);bo(sn,"controlType","operation-column"),bo(sn,"controlName","\u64CD\u4F5C"),bo(sn,"controlIcon","operation-column"),bo(sn,"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 eJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nJ(e,t,n){return t=Vl(t),iJ(e,zS()?Reflect.construct(t,n||[],Vl(e).constructor):t.apply(e,n))}function oJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vl(e){return Vl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vl(e)}function rJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dv(e,t)}function iJ(e,t){return t&&(uJ(t)==="object"||typeof t=="function")?t:eJ(e)}function Dv(e,t){return Dv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dv(e,t)}function uJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(zS=function(){return!!e})()}var CS=function(e){rJ(t,e);function t(n){oJ(this,t);var o;return o=nJ(this,t,[n]),kv(o,"props",void 0),o.props=new jS(n==null?void 0:n.props),o}return t}(nt);kv(CS,"controlType","operation-column"),kv(CS,"controlFieldType",g.FILE);function cJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HS(e,t,n,o,r,i,u){try{var c=e[i](u),a=c.value}catch(l){n(l);return}c.done?t(a):Promise.resolve(a).then(o,r)}function lJ(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(a){HS(i,o,r,u,c,"next",a)}function c(a){HS(i,o,r,u,c,"throw",a)}u(void 0)})}}function aJ(e,t,n){return t=Re(t),vJ(e,US()?Reflect.construct(t,n||[],Re(e).constructor):t.apply(e,n))}function fJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function _J(e,t,n){return t&&qS(e.prototype,t),n&&qS(e,n),e}function zl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mo(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?mo=Reflect.get:mo=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}},mo(e,t,n||e)}function Re(e){return Re=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Re(e)}function yJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xv(e,t)}function sJ(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){zl(e,r,n[r])})}return e}function pJ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function dJ(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):pJ(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function vJ(e,t){return t&&(bJ(t)==="object"||typeof t=="function")?t:cJ(e)}function xv(e,t){return xv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xv(e,t)}function hJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Re(e),e!==null););return e}function bJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function US(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(US=function(){return!!e})()}function gJ(e,t){var n,o,r,i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},u=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return u.next=c(0),u.throw=c(1),u.return=c(2),typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function c(l){return function(_){return a([l,_])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,l[0]&&(i=0)),i;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return i.label++,{value:l[1],done:!1};case 5:i.label++,o=l[1],l=[0];continue;case 7:l=i.ops.pop(),i.trys.pop();continue;default:if(r=i.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){i=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){i.label=l[1];break}if(l[0]===6&&i.label<r[1]){i.label=r[1],r=l;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(l);break}r[2]&&i.ops.pop(),i.trys.pop();continue}l=t.call(e,i)}catch(_){l=[6,_],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var mJ=function(e){yJ(t,e);function t(n){fJ(this,t);var o,r;return o=aJ(this,t,[n]),zl(o,"props",void 0),zl(o,"children",void 0),o.props=new OQ(o,n==null?void 0:n.props),Gt(o,"children",n==null?void 0:n.children,void 0,"Designer"),(n==null?void 0:n.props.headers)===void 0&&(o.props.headers=[new yn,new sn]),(n==null||(r=n.props)===null||r===void 0?void 0:r.footers)===void 0&&(o.props.footers=[]),o}return _J(t,[{key:"toSchema",value:function(){var o=mo(Re(t.prototype),"toSchema",this).call(this),r=this.children.map(function(i){return i.toSchema()});return dJ(sJ({},o),{children:r})}},{key:"validate",value:function(o,r){var i=this,u=this,c=function(){return mo(Re(t.prototype),"validate",i)};return lJ(function(){return gJ(this,function(a){switch(a.label){case 0:return[4,c().call(u,o,r)];case 1:return a.sent(),[4,Promise.all(this.children.map(function(l){return l.validate(o,r)}))];case 2:return a.sent(),[2,!0]}})}).call(this)}}],[{key:"controlName",get:function(){return"\u8868\u683C"}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),t}(Lf);zl(mJ,"setting",[{key:"list-fixed-header",visible:!0}]);function OJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WS(e,t,n){return t=Cl(t),wJ(e,XS()?Reflect.construct(t,n||[],Cl(e).constructor):t.apply(e,n))}function KS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function be(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cl(e){return Cl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cl(e)}function GS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lv(e,t)}function wJ(e,t){return t&&($J(t)==="object"||typeof t=="function")?t:OJ(e)}function Lv(e,t){return Lv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Lv(e,t)}function $J(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(XS=function(){return!!e})()}var PJ=function(e){GS(t,e);function t(n){KS(this,t);var o;return o=WS(this,t,[n]),_e.call(o,n),o}return t}(Ob),Fv=function(e){GS(t,e);function t(n){KS(this,t);var o;o=WS(this,t,[n]),be(o,"optionConfig",void 0),be(o,"datasourceBind",void 0),be(o,"showLinkOperation",void 0),be(o,"linkOperationOption",void 0),be(o,"options",void 0),be(o,"lineEllipsis",void 0),be(o,"displayPlaintext",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:dn.controlName;var i;o.optionConfig=(i=n==null?void 0:n.optionConfig)!==null&&i!==void 0?i:"none",o.datasourceBind=new G(n==null?void 0:n.datasourceBind);var u;o.options=Qt((u=n==null?void 0:n.options)!==null&&u!==void 0?u:[{}]);var c;o.showLinkOperation=(c=n==null?void 0:n.showLinkOperation)!==null&&c!==void 0?c:!1,o.linkOperationOption=new Xt(n==null?void 0:n.linkOperationOption);var a;o.lineEllipsis=(a=n==null?void 0:n.lineEllipsis)!==null&&a!==void 0?a:1;var l;return o.displayPlaintext=(l=n==null?void 0:n.displayPlaintext)!==null&&l!==void 0?l:!1,o}return t}(U);be(Fv,"Rules",PJ);function EJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SJ(e,t,n){return t=Hl(t),IJ(e,QS()?Reflect.construct(t,n||[],Hl(e).constructor):t.apply(e,n))}function TJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hl(e){return Hl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hl(e)}function RJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jv(e,t)}function IJ(e,t){return t&&(BJ(t)==="object"||typeof t=="function")?t:EJ(e)}function jv(e,t){return jv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jv(e,t)}function BJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(QS=function(){return!!e})()}var dn=function(e){RJ(t,e);function t(n){TJ(this,t);var o;return o=SJ(this,t,[n]),pn(o,"props",void 0),o.props=new Fv(n==null?void 0:n.props),o}return t}(et);pn(dn,"controlType","varchar-column"),pn(dn,"controlName","\u77ED\u6587\u672C"),pn(dn,"controlIcon","varchar-column"),pn(dn,"controlFieldType",g.VARCHAR),pn(dn,"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 AJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kJ(e,t,n){return t=ql(t),LJ(e,JS()?Reflect.construct(t,n||[],ql(e).constructor):t.apply(e,n))}function DJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ql(e){return ql=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ql(e)}function xJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nv(e,t)}function LJ(e,t){return t&&(FJ(t)==="object"||typeof t=="function")?t:AJ(e)}function Nv(e,t){return Nv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Nv(e,t)}function FJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(JS=function(){return!!e})()}var ZS=function(e){xJ(t,e);function t(n){DJ(this,t);var o;return o=kJ(this,t,[n]),Mv(o,"props",void 0),o.props=new Fv(n==null?void 0:n.props),o}return t}(nt);Mv(ZS,"controlType","varchar-column"),Mv(ZS,"controlFieldType",g.VARCHAR);function jJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YS(e,t,n){return t=Ul(t),MJ(e,nT()?Reflect.construct(t,n||[],Ul(e).constructor):t.apply(e,n))}function tT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Oo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ul(e){return Ul=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ul(e)}function eT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vv(e,t)}function MJ(e,t){return t&&(NJ(t)==="object"||typeof t=="function")?t:jJ(e)}function Vv(e,t){return Vv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vv(e,t)}function NJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(nT=function(){return!!e})()}var VJ=function(e){eT(t,e);function t(n){tT(this,t);var o;return o=YS(this,t,[n]),_e.call(o,n),o}return t}(zt),zv=function(e){eT(t,e);function t(n){tT(this,t);var o;o=YS(this,t,[n]),Oo(o,"escapeHTML",void 0),Oo(o,"showLinkOperation",void 0),Oo(o,"linkOperationOption",void 0),Oo(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:bn.controlName;var u;o.lineEllipsis=(u=n==null?void 0:n.lineEllipsis)!==null&&u!==void 0?u:1;var c;return o.showLinkOperation=(c=n==null?void 0:n.showLinkOperation)!==null&&c!==void 0?c:!1,o.linkOperationOption=new Xt(n==null?void 0:n.linkOperationOption),o}return t}(U);Oo(zv,"Rules",VJ);function zJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CJ(e,t,n){return t=hn(t),WJ(e,rT()?Reflect.construct(t,n||[],hn(e).constructor):t.apply(e,n))}function HJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oT(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function qJ(e,t,n){return t&&oT(e.prototype,t),n&&oT(e,n),e}function vn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wl(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Wl=Reflect.get:Wl=function(r,i,u){var c=KJ(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Wl(e,t,n||e)}function hn(e){return hn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hn(e)}function UJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cv(e,t)}function WJ(e,t){return t&&(GJ(t)==="object"||typeof t=="function")?t:zJ(e)}function Cv(e,t){return Cv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cv(e,t)}function KJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=hn(e),e!==null););return e}function GJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(rT=function(){return!!e})()}var bn=function(e){UJ(t,e);function t(n){HJ(this,t);var o;return o=CJ(this,t,[n]),vn(o,"props",void 0),o.props=new zv(n==null?void 0:n.props),o}return qJ(t,[{key:"toDataBindModel",value:function(o){var r=Wl(hn(t.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.escapeHTML;r.props.escapeHTML=i}return r}}]),t}(et);vn(bn,"controlType","text-column"),vn(bn,"controlName","\u957F\u6587\u672C"),vn(bn,"controlIcon","text-column"),vn(bn,"controlFieldType",g.TEXT),vn(bn,"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 XJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QJ(e,t,n){return t=Kl(t),YJ(e,iT()?Reflect.construct(t,n||[],Kl(e).constructor):t.apply(e,n))}function JJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Kl(e){return Kl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kl(e)}function ZJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qv(e,t)}function YJ(e,t){return t&&(tZ(t)==="object"||typeof t=="function")?t:XJ(e)}function qv(e,t){return qv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qv(e,t)}function tZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(iT=function(){return!!e})()}var uT=function(e){ZJ(t,e);function t(n){JJ(this,t);var o;return o=QJ(this,t,[n]),Hv(o,"props",void 0),o.props=new zv(n==null?void 0:n.props),o}return t}(nt);Hv(uT,"controlType","text-column"),Hv(uT,"controlFieldType",g.TEXT);function eZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cT(e,t,n){return t=Gl(t),nZ(e,fT()?Reflect.construct(t,n||[],Gl(e).constructor):t.apply(e,n))}function lT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gl(e){return Gl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gl(e)}function aT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uv(e,t)}function nZ(e,t){return t&&(oZ(t)==="object"||typeof t=="function")?t:eZ(e)}function Uv(e,t){return Uv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Uv(e,t)}function oZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(fT=function(){return!!e})()}var rZ=function(e){aT(t,e);function t(n){lT(this,t);var o;return o=cT(this,t,[n]),_e.call(o,n),o}return t}(zt),Wv=function(e){aT(t,e);function t(n){lT(this,t);var o;o=cT(this,t,[n]),ne(o,"optionConfig",void 0),ne(o,"datasourceBind",void 0),ne(o,"showLinkOperation",void 0),ne(o,"linkOperationOption",void 0),ne(o,"options",void 0),ne(o,"precision",void 0),ne(o,"micrometer",void 0),ne(o,"percentageFormat",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:On.controlName;var i;o.precision=(i=n==null?void 0:n.precision)!==null&&i!==void 0?i:0;var u;o.micrometer=(u=n==null?void 0:n.micrometer)!==null&&u!==void 0?u:!1;var c;o.percentageFormat=(c=n==null?void 0:n.percentageFormat)!==null&&c!==void 0?c:!1;var a;o.optionConfig=(a=n==null?void 0:n.optionConfig)!==null&&a!==void 0?a:"none",o.datasourceBind=new G(n==null?void 0:n.datasourceBind);var l;o.options=Qt((l=n==null?void 0:n.options)!==null&&l!==void 0?l:[{}]);var _;return o.showLinkOperation=(_=n==null?void 0:n.showLinkOperation)!==null&&_!==void 0?_:!1,o.linkOperationOption=new Xt(n==null?void 0:n.linkOperationOption),o}return t}(U);ne(Wv,"Rules",rZ);function iZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uZ(e,t,n){return t=mn(t),fZ(e,yT()?Reflect.construct(t,n||[],mn(e).constructor):t.apply(e,n))}function cZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _T(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function lZ(e,t,n){return t&&_T(e.prototype,t),n&&_T(e,n),e}function gn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xl(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Xl=Reflect.get:Xl=function(r,i,u){var c=_Z(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Xl(e,t,n||e)}function mn(e){return mn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mn(e)}function aZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kv(e,t)}function fZ(e,t){return t&&(yZ(t)==="object"||typeof t=="function")?t:iZ(e)}function Kv(e,t){return Kv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kv(e,t)}function _Z(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=mn(e),e!==null););return e}function yZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(yT=function(){return!!e})()}var On=function(e){aZ(t,e);function t(n){cZ(this,t);var o;return o=uZ(this,t,[n]),gn(o,"props",void 0),o.props=new Wv(n==null?void 0:n.props),o}return lZ(t,[{key:"toDataBindModel",value:function(o){var r=Xl(mn(t.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props,u=i.precision,c=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=c}return r}}]),t}(et);gn(On,"controlType","decimal-column"),gn(On,"controlName","\u6570\u503C"),gn(On,"controlIcon","decimal-column"),gn(On,"controlFieldType",g.DECIMAL),gn(On,"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 sZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pZ(e,t,n){return t=Ql(t),hZ(e,sT()?Reflect.construct(t,n||[],Ql(e).constructor):t.apply(e,n))}function dZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ql(e){return Ql=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ql(e)}function vZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xv(e,t)}function hZ(e,t){return t&&(bZ(t)==="object"||typeof t=="function")?t:sZ(e)}function Xv(e,t){return Xv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xv(e,t)}function bZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(sT=function(){return!!e})()}var pT=function(e){vZ(t,e);function t(n){dZ(this,t);var o;return o=pZ(this,t,[n]),Gv(o,"props",void 0),o.props=new Wv(n==null?void 0:n.props),o}return t}(nt);Gv(pT,"controlType","decimal-column"),Gv(pT,"controlFieldType",g.DECIMAL);function gZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dT(e,t,n){return t=Zl(t),mZ(e,bT()?Reflect.construct(t,n||[],Zl(e).constructor):t.apply(e,n))}function vT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zl(e){return Zl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zl(e)}function hT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qv(e,t)}function mZ(e,t){return t&&(OZ(t)==="object"||typeof t=="function")?t:gZ(e)}function Qv(e,t){return Qv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qv(e,t)}function OZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(bT=function(){return!!e})()}var wZ=function(e){hT(t,e);function t(n){vT(this,t);var o;return o=dT(this,t,[n]),_e.call(o,n),o}return t}(zt),Jv=function(e){hT(t,e);function t(n){vT(this,t);var o;o=dT(this,t,[n]),Jl(o,"dateType",void 0),Jl(o,"showLinkOperation",void 0),Jl(o,"linkOperationOption",void 0);var r;o.dateType=(r=n==null?void 0:n.dateType)!==null&&r!==void 0?r:xe.DATE;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Xt(n==null?void 0:n.linkOperationOption);var u;return o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Pn.controlName,o}return t}(U);Jl(Jv,"Rules",wZ);function $Z(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PZ(e,t,n){return t=$n(t),RZ(e,mT()?Reflect.construct(t,n||[],$n(e).constructor):t.apply(e,n))}function EZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gT(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function SZ(e,t,n){return t&&gT(e.prototype,t),n&&gT(e,n),e}function wn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yl(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Yl=Reflect.get:Yl=function(r,i,u){var c=IZ(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Yl(e,t,n||e)}function $n(e){return $n=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$n(e)}function TZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zv(e,t)}function RZ(e,t){return t&&(BZ(t)==="object"||typeof t=="function")?t:$Z(e)}function Zv(e,t){return Zv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zv(e,t)}function IZ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=$n(e),e!==null););return e}function BZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(mT=function(){return!!e})()}var Pn=function(e){TZ(t,e);function t(n){EZ(this,t);var o;return o=PZ(this,t,[n]),wn(o,"props",void 0),o.props=new Jv(n==null?void 0:n.props),o}return SZ(t,[{key:"toDataBindModel",value:function(o){var r=Yl($n(t.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.dateType;r.props.dateType=i}return r}}]),t}(et);wn(Pn,"controlType","timescope-column"),wn(Pn,"controlName","\u65E5\u671F\u533A\u95F4"),wn(Pn,"controlIcon","timescope-column"),wn(Pn,"controlFieldType",g.TIMESCOPE),wn(Pn,"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 AZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kZ(e,t,n){return t=ta(t),LZ(e,OT()?Reflect.construct(t,n||[],ta(e).constructor):t.apply(e,n))}function DZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ta(e){return ta=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ta(e)}function xZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&th(e,t)}function LZ(e,t){return t&&(FZ(t)==="object"||typeof t=="function")?t:AZ(e)}function th(e,t){return th=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},th(e,t)}function FZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(OT=function(){return!!e})()}var wT=function(e){xZ(t,e);function t(n){DZ(this,t);var o;return o=kZ(this,t,[n]),Yv(o,"props",void 0),o.props=new Jv(n==null?void 0:n.props),o}return t}(nt);Yv(wT,"controlType","timescope-column"),Yv(wT,"controlFieldType",g.TIMESCOPE);function jZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $T(e,t,n){return t=na(t),MZ(e,ST()?Reflect.construct(t,n||[],na(e).constructor):t.apply(e,n))}function PT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ea(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function na(e){return na=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},na(e)}function ET(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eh(e,t)}function MZ(e,t){return t&&(NZ(t)==="object"||typeof t=="function")?t:jZ(e)}function eh(e,t){return eh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},eh(e,t)}function NZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ST(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ST=function(){return!!e})()}var VZ=function(e){ET(t,e);function t(n){PT(this,t);var o;return o=$T(this,t,[n]),_e.call(o,n),o}return t}(zt),nh=function(e){ET(t,e);function t(n){PT(this,t);var o;o=$T(this,t,[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:xe.DATE;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Xt(n==null?void 0:n.linkOperationOption);var u;return o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Tn.controlName,o}return t}(U);ea(nh,"Rules",VZ);function zZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CZ(e,t,n){return t=Sn(t),WZ(e,RT()?Reflect.construct(t,n||[],Sn(e).constructor):t.apply(e,n))}function HZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TT(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function qZ(e,t,n){return t&&TT(e.prototype,t),n&&TT(e,n),e}function En(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oa(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?oa=Reflect.get:oa=function(r,i,u){var c=KZ(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},oa(e,t,n||e)}function Sn(e){return Sn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sn(e)}function UZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&oh(e,t)}function WZ(e,t){return t&&(GZ(t)==="object"||typeof t=="function")?t:zZ(e)}function oh(e,t){return oh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},oh(e,t)}function KZ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Sn(e),e!==null););return e}function GZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(RT=function(){return!!e})()}var Tn=function(e){UZ(t,e);function t(n){HZ(this,t);var o;return o=CZ(this,t,[n]),En(o,"props",void 0),o.props=new nh(n==null?void 0:n.props),o}return qZ(t,[{key:"toDataBindModel",value:function(o){var r=oa(Sn(t.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.dateType;r.props.dateType=i}return r}}]),t}(et);En(Tn,"controlType","timestamp-column"),En(Tn,"controlName","\u65E5\u671F"),En(Tn,"controlIcon","timestamp-column"),En(Tn,"controlFieldType",g.TIMESTAMP),En(Tn,"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 XZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QZ(e,t,n){return t=ra(t),YZ(e,IT()?Reflect.construct(t,n||[],ra(e).constructor):t.apply(e,n))}function JZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ra(e){return ra=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ra(e)}function ZZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ih(e,t)}function YZ(e,t){return t&&(tY(t)==="object"||typeof t=="function")?t:XZ(e)}function ih(e,t){return ih=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ih(e,t)}function tY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(IT=function(){return!!e})()}var BT=function(e){ZZ(t,e);function t(n){JZ(this,t);var o;return o=QZ(this,t,[n]),rh(o,"props",void 0),o.props=new nh(n==null?void 0:n.props),o}return t}(nt);rh(BT,"controlType","timestamp-column"),rh(BT,"controlFieldType",g.TIMESTAMP);function eY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AT(e,t,n){return t=ia(t),nY(e,xT()?Reflect.construct(t,n||[],ia(e).constructor):t.apply(e,n))}function kT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ia(e){return ia=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ia(e)}function DT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uh(e,t)}function nY(e,t){return t&&(oY(t)==="object"||typeof t=="function")?t:eY(e)}function uh(e,t){return uh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},uh(e,t)}function oY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(xT=function(){return!!e})()}var rY=function(e){DT(t,e);function t(n){kT(this,t);var o;return o=AT(this,t,[n]),_e.call(o,n),o}return t}(Ob),ch=function(e){DT(t,e);function t(n){kT(this,t);var o;o=AT(this,t,[n]),Rn(o,"optionConfig",void 0),Rn(o,"datasourceBind",void 0),Rn(o,"showLinkOperation",void 0),Rn(o,"linkOperationOption",void 0),Rn(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 G(n==null?void 0:n.datasourceBind);var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Xt(n==null?void 0:n.linkOperationOption);var c;return o.options=Qt((c=n==null?void 0:n.options)!==null&&c!==void 0?c:[{}]),o}return t}(U);Rn(ch,"Rules",rY);function iY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uY(e,t,n){return t=ua(t),aY(e,LT()?Reflect.construct(t,n||[],ua(e).constructor):t.apply(e,n))}function cY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function In(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ua(e){return ua=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ua(e)}function lY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lh(e,t)}function aY(e,t){return t&&(fY(t)==="object"||typeof t=="function")?t:iY(e)}function lh(e,t){return lh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},lh(e,t)}function fY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(LT=function(){return!!e})()}var Bn=function(e){lY(t,e);function t(n){cY(this,t);var o;return o=uY(this,t,[n]),In(o,"props",void 0),o.props=new ch(n==null?void 0:n.props),o}return t}(et);In(Bn,"controlType","array-column"),In(Bn,"controlName","\u6570\u7EC4"),In(Bn,"controlIcon","array-column"),In(Bn,"controlFieldType",g.ARRAY),In(Bn,"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 _Y(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yY(e,t,n){return t=ca(t),dY(e,FT()?Reflect.construct(t,n||[],ca(e).constructor):t.apply(e,n))}function sY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ah(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ca(e){return ca=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ca(e)}function pY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fh(e,t)}function dY(e,t){return t&&(vY(t)==="object"||typeof t=="function")?t:_Y(e)}function fh(e,t){return fh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fh(e,t)}function vY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(FT=function(){return!!e})()}var jT=function(e){pY(t,e);function t(n){sY(this,t);var o;return o=yY(this,t,[n]),ah(o,"props",void 0),o.props=new ch(n==null?void 0:n.props),o}return t}(nt);ah(jT,"controlType","array-column"),ah(jT,"controlFieldType",g.ARRAY);function hY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bY(e,t,n){return t=la(t),wY(e,MT()?Reflect.construct(t,n||[],la(e).constructor):t.apply(e,n))}function gY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mY(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function la(e){return la=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},la(e)}function OY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_h(e,t)}function wY(e,t){return t&&($Y(t)==="object"||typeof t=="function")?t:hY(e)}function _h(e,t){return _h=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_h(e,t)}function $Y(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(MT=function(){return!!e})()}var NT=function(e){OY(t,e);function t(n){gY(this,t);var o;o=bY(this,t,[n]),mY(o,"displayLevel",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Dn.controlName;var i;return o.displayLevel=(i=n==null?void 0:n.displayLevel)!==null&&i!==void 0?i:1,o}return t}(U);function PY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EY(e,t,n){return t=kn(t),IY(e,zT()?Reflect.construct(t,n||[],kn(e).constructor):t.apply(e,n))}function SY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VT(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function TY(e,t,n){return t&&VT(e.prototype,t),n&&VT(e,n),e}function An(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function aa(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?aa=Reflect.get:aa=function(r,i,u){var c=BY(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},aa(e,t,n||e)}function kn(e){return kn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kn(e)}function RY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yh(e,t)}function IY(e,t){return t&&(AY(t)==="object"||typeof t=="function")?t:PY(e)}function yh(e,t){return yh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yh(e,t)}function BY(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=kn(e),e!==null););return e}function AY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(zT=function(){return!!e})()}var Dn=function(e){RY(t,e);function t(n){SY(this,t);var o;return o=EY(this,t,[n]),An(o,"props",void 0),o.props=new NT(n==null?void 0:n.props),o}return TY(t,[{key:"toDataBindModel",value:function(o){var r=aa(kn(t.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.displayLevel;r.props.displayLevel=i}return r}}]),t}(et);An(Dn,"controlType","department-column"),An(Dn,"controlName","\u90E8\u95E8"),An(Dn,"controlIcon","department-column"),An(Dn,"controlFieldType",g.DEPARTMENTS),An(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:"department-level",visible:!0},{key:"column-sort",visible:!0}]);function kY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DY(e,t,n){return t=fa(t),FY(e,CT()?Reflect.construct(t,n||[],fa(e).constructor):t.apply(e,n))}function xY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fa(e){return fa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fa(e)}function LY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ph(e,t)}function FY(e,t){return t&&(jY(t)==="object"||typeof t=="function")?t:kY(e)}function ph(e,t){return ph=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ph(e,t)}function jY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(CT=function(){return!!e})()}var HT=function(e){LY(t,e);function t(n){xY(this,t);var o;return o=DY(this,t,[n]),sh(o,"props",void 0),o.props=new NT(n==null?void 0:n.props),o}return t}(nt);sh(HT,"controlType","department-column"),sh(HT,"controlFieldType",g.DEPARTMENTS);function MY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qT(e,t,n){return t=_a(t),NY(e,KT()?Reflect.construct(t,n||[],_a(e).constructor):t.apply(e,n))}function UT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _a(e){return _a=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_a(e)}function WT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vh(e,t)}function NY(e,t){return t&&(VY(t)==="object"||typeof t=="function")?t:MY(e)}function vh(e,t){return vh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vh(e,t)}function VY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(KT=function(){return!!e})()}var zY=function(e){WT(t,e);function t(n){UT(this,t);var o;return o=qT(this,t,[n]),_e.call(o,n),o}return t}(zt),hh=function(e){WT(t,e);function t(n){UT(this,t);var o;o=qT(this,t,[n]),dh(o,"showLinkOperation",void 0),dh(o,"linkOperationOption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Ln.controlName;var i;return o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Xt(n==null?void 0:n.linkOperationOption),o}return t}(U);dh(hh,"Rules",zY);function CY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HY(e,t,n){return t=ya(t),WY(e,GT()?Reflect.construct(t,n||[],ya(e).constructor):t.apply(e,n))}function qY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ya(e){return ya=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ya(e)}function UY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bh(e,t)}function WY(e,t){return t&&(KY(t)==="object"||typeof t=="function")?t:CY(e)}function bh(e,t){return bh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},bh(e,t)}function KY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(GT=function(){return!!e})()}var Ln=function(e){UY(t,e);function t(n){qY(this,t);var o;return o=HY(this,t,[n]),xn(o,"props",void 0),o.props=new hh(n==null?void 0:n.props),o}return t}(et);xn(Ln,"controlType","auto-number-column"),xn(Ln,"controlName","\u81EA\u52A8\u7F16\u53F7"),xn(Ln,"controlIcon","auto-number-column"),xn(Ln,"controlFieldType",g.AUTO_NUMBER),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-link-operation",visible:!0},{key:"column-sort",visible:!0}]);function GY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XY(e,t,n){return t=sa(t),ZY(e,XT()?Reflect.construct(t,n||[],sa(e).constructor):t.apply(e,n))}function QY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sa(e){return sa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sa(e)}function JY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mh(e,t)}function ZY(e,t){return t&&(YY(t)==="object"||typeof t=="function")?t:GY(e)}function mh(e,t){return mh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},mh(e,t)}function YY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(XT=function(){return!!e})()}var QT=function(e){JY(t,e);function t(n){QY(this,t);var o;return o=XY(this,t,[n]),gh(o,"props",void 0),o.props=new hh(n==null?void 0:n.props),o}return t}(nt);gh(QT,"controlType","auto-number-column"),gh(QT,"controlFieldType",g.AUTO_NUMBER);function ttt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ett(e,t,n){return t=pa(t),rtt(e,JT()?Reflect.construct(t,n||[],pa(e).constructor):t.apply(e,n))}function ntt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pa(e){return pa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pa(e)}function ott(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Oh(e,t)}function rtt(e,t){return t&&(itt(t)==="object"||typeof t=="function")?t:ttt(e)}function Oh(e,t){return Oh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Oh(e,t)}function itt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(JT=function(){return!!e})()}var ZT=function(e){ott(t,e);function t(n){ntt(this,t);var o;o=ett(this,t,[n]);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:jn.controlName,o}return t}(U);function utt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ctt(e,t,n){return t=da(t),ftt(e,YT()?Reflect.construct(t,n||[],da(e).constructor):t.apply(e,n))}function ltt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function da(e){return da=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},da(e)}function att(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wh(e,t)}function ftt(e,t){return t&&(_tt(t)==="object"||typeof t=="function")?t:utt(e)}function wh(e,t){return wh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wh(e,t)}function _tt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(YT=function(){return!!e})()}var jn=function(e){att(t,e);function t(n){ltt(this,t);var o;return o=ctt(this,t,[n]),Fn(o,"props",void 0),o.props=new ZT(n==null?void 0:n.props),o}return t}(et);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:[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 ytt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function stt(e,t,n){return t=va(t),vtt(e,tR()?Reflect.construct(t,n||[],va(e).constructor):t.apply(e,n))}function ptt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function va(e){return va=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},va(e)}function dtt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ph(e,t)}function vtt(e,t){return t&&(htt(t)==="object"||typeof t=="function")?t:ytt(e)}function Ph(e,t){return Ph=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ph(e,t)}function htt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tR=function(){return!!e})()}var eR=function(e){dtt(t,e);function t(n){ptt(this,t);var o;return o=stt(this,t,[n]),$h(o,"props",void 0),o.props=new ZT(n==null?void 0:n.props),o}return t}(nt);$h(eR,"controlType","file-column"),$h(eR,"controlFieldType",g.FILE);function btt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gtt(e,t,n){return t=ha(t),wtt(e,nR()?Reflect.construct(t,n||[],ha(e).constructor):t.apply(e,n))}function mtt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ha(e){return ha=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ha(e)}function Ott(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Eh(e,t)}function wtt(e,t){return t&&($tt(t)==="object"||typeof t=="function")?t:btt(e)}function Eh(e,t){return Eh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Eh(e,t)}function $tt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(nR=function(){return!!e})()}var oR=function(e){Ott(t,e);function t(n){mtt(this,t);var o;o=gtt(this,t,[n]);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Nn.controlName,o}return t}(U);function Ptt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ett(e,t,n){return t=ba(t),Rtt(e,rR()?Reflect.construct(t,n||[],ba(e).constructor):t.apply(e,n))}function Stt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ba(e){return ba=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ba(e)}function Ttt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sh(e,t)}function Rtt(e,t){return t&&(Itt(t)==="object"||typeof t=="function")?t:Ptt(e)}function Sh(e,t){return Sh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sh(e,t)}function Itt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(rR=function(){return!!e})()}var Nn=function(e){Ttt(t,e);function t(n){Stt(this,t);var o;return o=Ett(this,t,[n]),Mn(o,"props",void 0),o.props=new oR(n==null?void 0:n.props),o}return t}(et);Mn(Nn,"controlType","image-column"),Mn(Nn,"controlName","\u56FE\u7247"),Mn(Nn,"controlIcon","image-column"),Mn(Nn,"controlFieldType",g.IMAGE),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 Btt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Att(e,t,n){return t=ga(t),xtt(e,iR()?Reflect.construct(t,n||[],ga(e).constructor):t.apply(e,n))}function ktt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Th(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ga(e){return ga=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ga(e)}function Dtt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rh(e,t)}function xtt(e,t){return t&&(Ltt(t)==="object"||typeof t=="function")?t:Btt(e)}function Rh(e,t){return Rh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rh(e,t)}function Ltt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(iR=function(){return!!e})()}var uR=function(e){Dtt(t,e);function t(n){ktt(this,t);var o;return o=Att(this,t,[n]),Th(o,"props",void 0),o.props=new oR(n==null?void 0:n.props),o}return t}(nt);Th(uR,"controlType","image-column"),Th(uR,"controlFieldType",g.IMAGE);function Ftt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jtt(e,t,n){return t=ma(t),Vtt(e,cR()?Reflect.construct(t,n||[],ma(e).constructor):t.apply(e,n))}function Mtt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ma(e){return ma=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ma(e)}function Ntt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ih(e,t)}function Vtt(e,t){return t&&(ztt(t)==="object"||typeof t=="function")?t:Ftt(e)}function Ih(e,t){return Ih=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ih(e,t)}function ztt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(cR=function(){return!!e})()}var lR=function(e){Ntt(t,e);function t(n){Mtt(this,t);var o;o=jtt(this,t,[n]);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:zn.controlName,o}return t}(U);function Ctt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Htt(e,t,n){return t=Oa(t),Wtt(e,aR()?Reflect.construct(t,n||[],Oa(e).constructor):t.apply(e,n))}function qtt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Oa(e){return Oa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oa(e)}function Utt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bh(e,t)}function Wtt(e,t){return t&&(Ktt(t)==="object"||typeof t=="function")?t:Ctt(e)}function Bh(e,t){return Bh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bh(e,t)}function Ktt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(aR=function(){return!!e})()}var zn=function(e){Utt(t,e);function t(n){qtt(this,t);var o;return o=Htt(this,t,[n]),Vn(o,"props",void 0),o.props=new lR(n==null?void 0:n.props),o}return t}(et);Vn(zn,"controlType","people-column"),Vn(zn,"controlName","\u4EBA\u5458"),Vn(zn,"controlIcon","people-column"),Vn(zn,"controlFieldType",g.EMPLOYEES),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-sort",visible:!0}]);function Gtt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xtt(e,t,n){return t=wa(t),Ztt(e,fR()?Reflect.construct(t,n||[],wa(e).constructor):t.apply(e,n))}function Qtt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ah(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wa(e){return wa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wa(e)}function Jtt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kh(e,t)}function Ztt(e,t){return t&&(Ytt(t)==="object"||typeof t=="function")?t:Gtt(e)}function kh(e,t){return kh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kh(e,t)}function Ytt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(fR=function(){return!!e})()}var _R=function(e){Jtt(t,e);function t(n){Qtt(this,t);var o;return o=Xtt(this,t,[n]),Ah(o,"props",void 0),o.props=new lR(n==null?void 0:n.props),o}return t}(nt);Ah(_R,"controlType","people-column"),Ah(_R,"controlFieldType",g.EMPLOYEES);function tet(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yR(e,t,n){return t=$a(t),eet(e,dR()?Reflect.construct(t,n||[],$a(e).constructor):t.apply(e,n))}function sR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $a(e){return $a=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$a(e)}function pR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xh(e,t)}function eet(e,t){return t&&(net(t)==="object"||typeof t=="function")?t:tet(e)}function xh(e,t){return xh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xh(e,t)}function net(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(dR=function(){return!!e})()}var oet=function(e){pR(t,e);function t(n){sR(this,t);var o;return o=yR(this,t,[n]),_e.call(o,n),o}return t}(zt),Lh=function(e){pR(t,e);function t(n){sR(this,t);var o;o=yR(this,t,[n]),Dh(o,"showLinkOperation",void 0),Dh(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 Xt(n==null?void 0:n.linkOperationOption),o}return t}(U);Dh(Lh,"Rules",oet);function ret(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iet(e,t,n){return t=Pa(t),aet(e,vR()?Reflect.construct(t,n||[],Pa(e).constructor):t.apply(e,n))}function uet(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pa(e){return Pa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pa(e)}function cet(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fh(e,t)}function aet(e,t){return t&&(fet(t)==="object"||typeof t=="function")?t:ret(e)}function Fh(e,t){return Fh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fh(e,t)}function fet(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(vR=function(){return!!e})()}var Hn=function(e){cet(t,e);function t(n){uet(this,t);var o;return o=iet(this,t,[n]),Cn(o,"props",void 0),o.props=new Lh(n==null?void 0:n.props),o}return t}(et);Cn(Hn,"controlType","location-column"),Cn(Hn,"controlName","\u5730\u5740"),Cn(Hn,"controlIcon","location-column"),Cn(Hn,"controlFieldType",g.ADDRESS),Cn(Hn,"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 _et(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yet(e,t,n){return t=Ea(t),det(e,hR()?Reflect.construct(t,n||[],Ea(e).constructor):t.apply(e,n))}function set(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ea(e){return Ea=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ea(e)}function pet(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mh(e,t)}function det(e,t){return t&&(vet(t)==="object"||typeof t=="function")?t:_et(e)}function Mh(e,t){return Mh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Mh(e,t)}function vet(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(hR=function(){return!!e})()}var bR=function(e){pet(t,e);function t(n){set(this,t);var o;return o=yet(this,t,[n]),jh(o,"props",void 0),o.props=new Lh(n==null?void 0:n.props),o}return t}(nt);jh(bR,"controlType","location-column"),jh(bR,"controlFieldType",g.ADDRESS);function het(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gR(e,t,n){return t=Ta(t),bet(e,wR()?Reflect.construct(t,n||[],Ta(e).constructor):t.apply(e,n))}function mR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sa(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ta(e){return Ta=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ta(e)}function OR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nh(e,t)}function bet(e,t){return t&&(get(t)==="object"||typeof t=="function")?t:het(e)}function Nh(e,t){return Nh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Nh(e,t)}function get(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(wR=function(){return!!e})()}var met=function(e){OR(t,e);function t(n){mR(this,t);var o;return o=gR(this,t,[n]),Sa(o,"sortFieldCode",{type:"string",message:d.getMessage("pleaseSelectSortFieldCode")}),n.sort===!0&&(o.sortFieldCode.required=!0),o}return t}(zt),Vh=function(e){OR(t,e);function t(n){mR(this,t);var o;o=gR(this,t,[n]),Sa(o,"fieldCodeList",void 0),Sa(o,"sortFieldCode",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Ie.controlName;var i;o.fieldCodeList=(i=n==null?void 0:n.fieldCodeList)!==null&&i!==void 0?i:[];var u;return o.sortFieldCode=(u=n==null?void 0:n.sortFieldCode)!==null&&u!==void 0?u:"",o}return t}(U);Sa(Vh,"Rules",met);function Oet(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wet(e,t,n){return t=qn(t),Ret(e,PR()?Reflect.construct(t,n||[],qn(e).constructor):t.apply(e,n))}function $et(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $R(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Pet(e,t,n){return t&&$R(e.prototype,t),n&&$R(e,n),e}function Ut(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ra(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Ra=Reflect.get:Ra=function(r,i,u){var c=Iet(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Ra(e,t,n||e)}function qn(e){return qn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qn(e)}function Eet(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zh(e,t)}function Tet(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Ret(e,t){return t&&(Bet(t)==="object"||typeof t=="function")?t:Oet(e)}function zh(e,t){return zh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zh(e,t)}function Iet(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=qn(e),e!==null););return e}function Bet(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(PR=function(){return!!e})()}var Aet=1,Ie=function(t){Eet(n,t);function n(o){$et(this,n);var r;r=wet(this,n,[o]),Ut(r,"excludes",void 0),Ut(r,"childrenMaxLength",void 0),Ut(r,"props",void 0),Ut(r,"children",void 0);var i=Tet(this,n)?this.constructor:void 0,u=i.excludes,c=i.childrenMaxLength;return r.props=new Vh(o==null?void 0:o.props),Gt(r,"children",o==null?void 0:o.children,void 0,"Designer"),r.excludes=oe(u),r.childrenMaxLength=c,r}return Pet(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=Ra(qn(n.prototype),"toDataBindModel",this).call(this,r);if(i){var u=this.props.fieldCodeList;i.props.fieldCodeList=u}return i}}]),n}(et);Ut(Ie,"controlType","custom-column"),Ut(Ie,"controlName","\u81EA\u5B9A\u4E49"),Ut(Ie,"controlIcon","custom-column"),Ut(Ie,"excludes",[]),Ut(Ie,"childrenMaxLength",Aet),Ut(Ie,"setting",[{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0}]);function ket(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Det(e,t,n){return t=Ia(t),Fet(e,ER()?Reflect.construct(t,n||[],Ia(e).constructor):t.apply(e,n))}function xet(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ch(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ia(e){return Ia=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ia(e)}function Let(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hh(e,t)}function Fet(e,t){return t&&(jet(t)==="object"||typeof t=="function")?t:ket(e)}function Hh(e,t){return Hh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hh(e,t)}function jet(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ER(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ER=function(){return!!e})()}var Met=function(e){Let(t,e);function t(n){xet(this,t);var o;return o=Det(this,t,[n]),Ch(o,"props",void 0),Ch(o,"children",void 0),o.props=new Vh(n==null?void 0:n.props),Gt(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return t}(nt);Ch(Met,"controlType","custom-column");function Net(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vet(e,t,n){return t=Ba(t),qet(e,SR()?Reflect.construct(t,n||[],Ba(e).constructor):t.apply(e,n))}function zet(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cet(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ba(e){return Ba=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ba(e)}function Het(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qh(e,t)}function qet(e,t){return t&&(Uet(t)==="object"||typeof t=="function")?t:Net(e)}function qh(e,t){return qh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qh(e,t)}function Uet(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(SR=function(){return!!e})()}var TR=function(e){Het(t,e);function t(n){zet(this,t);var o;o=Vet(this,t,[n]),Cet(o,"datasourceBind",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Be.controlName;var i;return o.datasourceBind=new Bo((i=n==null?void 0:n.datasourceBind)!==null&&i!==void 0?i:{attributes:Be.controlCustomAttributes}),o}return t}(U);function Wet(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ket(e,t,n){return t=Aa(t),Jet(e,IR()?Reflect.construct(t,n||[],Aa(e).constructor):t.apply(e,n))}function Get(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RR(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Xet(e,t,n){return t&&RR(e.prototype,t),n&&RR(e,n),e}function Un(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Aa(e){return Aa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Aa(e)}function Qet(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uh(e,t)}function Jet(e,t){return t&&(Zet(t)==="object"||typeof t=="function")?t:Wet(e)}function Uh(e,t){return Uh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Uh(e,t)}function Zet(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(IR=function(){return!!e})()}var Be=function(e){Qet(t,e);function t(n){Get(this,t);var o;return o=Ket(this,t,[n]),Un(o,"props",void 0),o.props=new TR(n==null?void 0:n.props),o}return Xet(t,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),t}(et);Un(Be,"controlType","employee-column"),Un(Be,"controlName","\u4EBA\u5458"),Un(Be,"controlIcon","employee-column"),Un(Be,"controlFieldType",g.EMPLOYEES),Un(Be,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function Yet(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tnt(e,t,n){return t=ka(t),ont(e,BR()?Reflect.construct(t,n||[],ka(e).constructor):t.apply(e,n))}function ent(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ka(e){return ka=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ka(e)}function nnt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kh(e,t)}function ont(e,t){return t&&(rnt(t)==="object"||typeof t=="function")?t:Yet(e)}function Kh(e,t){return Kh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kh(e,t)}function rnt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(BR=function(){return!!e})()}var AR=function(e){nnt(t,e);function t(n){ent(this,t);var o;return o=tnt(this,t,[n]),Wh(o,"props",void 0),o.props=new TR(n==null?void 0:n.props),o}return t}(nt);Wh(AR,"controlType","employee-column"),Wh(AR,"controlFieldType",g.EMPLOYEES);function int(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function unt(e,t,n){return t=Da(t),ant(e,kR()?Reflect.construct(t,n||[],Da(e).constructor):t.apply(e,n))}function cnt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Da(e){return Da=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Da(e)}function lnt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xh(e,t)}function ant(e,t){return t&&(fnt(t)==="object"||typeof t=="function")?t:int(e)}function Xh(e,t){return Xh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xh(e,t)}function fnt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(kR=function(){return!!e})()}var DR=function(e){lnt(t,e);function t(n){cnt(this,t);var o;o=unt(this,t,[n]),Gh(o,"lineEllipsis",void 0),Gh(o,"showLinkOperation",void 0),Gh(o,"linkOperationOption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Wn.controlName;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Xt(n==null?void 0:n.linkOperationOption);var u;return o.lineEllipsis=(u=n==null?void 0:n.lineEllipsis)!==null&&u!==void 0?u:1,o}return t}(U);function _nt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ynt(e,t,n){return t=xa(t),dnt(e,xR()?Reflect.construct(t,n||[],xa(e).constructor):t.apply(e,n))}function snt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ae(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xa(e){return xa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xa(e)}function pnt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qh(e,t)}function dnt(e,t){return t&&(vnt(t)==="object"||typeof t=="function")?t:_nt(e)}function Qh(e,t){return Qh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qh(e,t)}function vnt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(xR=function(){return!!e})()}var Wn=function(e){pnt(t,e);function t(n){snt(this,t);var o;return o=ynt(this,t,[n]),Ae(o,"props",void 0),Ae(o,"children",void 0),o.props=new DR(n==null?void 0:n.props),o}return t}(et);Ae(Wn,"controlType","approval-status-column"),Ae(Wn,"controlName","\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),Ae(Wn,"controlIcon","approval-status-column"),Ae(Wn,"excludes",[]),Ae(Wn,"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 hnt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bnt(e,t,n){return t=La(t),Ont(e,LR()?Reflect.construct(t,n||[],La(e).constructor):t.apply(e,n))}function gnt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function La(e){return La=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},La(e)}function mnt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zh(e,t)}function Ont(e,t){return t&&(wnt(t)==="object"||typeof t=="function")?t:hnt(e)}function Zh(e,t){return Zh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zh(e,t)}function wnt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(LR=function(){return!!e})()}var $nt=function(e){mnt(t,e);function t(n){gnt(this,t);var o;return o=bnt(this,t,[n]),Jh(o,"props",void 0),Jh(o,"children",void 0),o.props=new DR(n==null?void 0:n.props),o}return t}(nt);Jh($nt,"controlType","approval-status-column");function Pnt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FR(e,t,n){return t=Fa(t),Ent(e,NR()?Reflect.construct(t,n||[],Fa(e).constructor):t.apply(e,n))}function jR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fa(e){return Fa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fa(e)}function MR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yh(e,t)}function Ent(e,t){return t&&(Snt(t)==="object"||typeof t=="function")?t:Pnt(e)}function Yh(e,t){return Yh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yh(e,t)}function Snt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(NR=function(){return!!e})()}var Tnt=function(e){MR(t,e);function t(n){jR(this,t);var o;return o=FR(this,t,[n]),o.push({type:"object",fields:{}}),o}return t}(me),t0=function(e){MR(t,e);function t(n){jR(this,t);var o;o=FR(this,t,[n]),Nt(o,"search",void 0),Nt(o,"cancel",void 0),Nt(o,"searchType",void 0),Nt(o,"labelPosition",void 0),Nt(o,"viewType",void 0),Nt(o,"isLoading",void 0),Nt(o,"custom",void 0),Nt(o,"queryTypeMap",void 0),Nt(o,"childMinWidth",void 0),Nt(o,"colGap",void 0);var r;o.searchType=(r=n==null?void 0:n.searchType)!==null&&r!==void 0?r:"model";var i;o.labelPosition=(i=n==null?void 0:n.labelPosition)!==null&&i!==void 0?i:"top";var u;o.viewType=(u=n==null?void 0:n.viewType)!==null&&u!==void 0?u:"mini";var c;o.search=new ie((c=n==null?void 0:n.search)!==null&&c!==void 0?c:{content:"\u67E5\u8BE2",isShow:!0});var a;o.cancel=new ie((a=n==null?void 0:n.cancel)!==null&&a!==void 0?a:{content:"\u91CD\u7F6E",isShow:!0});var l;o.isLoading=(l=n==null?void 0:n.isLoading)!==null&&l!==void 0?l:!1;var _;o.custom=((_=n==null?void 0:n.custom)!==null&&_!==void 0?_:[]).map(function(m){return new ie(m)});var s;o.queryTypeMap=(s=n==null?void 0:n.queryTypeMap)!==null&&s!==void 0?s:[];var p;o.childMinWidth=(p=n==null?void 0:n.childMinWidth)!==null&&p!==void 0?p:230;var b;return o.colGap=(b=n==null?void 0:n.colGap)!==null&&b!==void 0?b:24,o}return t}(qf);Nt(t0,"RuntimeRules",Tnt);function Rnt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Int(e,t,n){return t=ja(t),knt(e,VR()?Reflect.construct(t,n||[],ja(e).constructor):t.apply(e,n))}function Bnt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function e0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ja(e){return ja=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ja(e)}function Ant(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n0(e,t)}function knt(e,t){return t&&(Dnt(t)==="object"||typeof t=="function")?t:Rnt(e)}function n0(e,t){return n0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},n0(e,t)}function Dnt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(VR=function(){return!!e})()}var zR=function(e){Ant(t,e);function t(n){Bnt(this,t);var o;return o=Int(this,t,[n]),e0(o,"props",void 0),o.props=new t0(n==null?void 0:n.props),o}return t}(lx);e0(zR,"controlType","simple-search"),e0(zR,"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 xnt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lnt(e,t,n){return t=Ma(t),Mnt(e,CR()?Reflect.construct(t,n||[],Ma(e).constructor):t.apply(e,n))}function Fnt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ma(e){return Ma=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ma(e)}function jnt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r0(e,t)}function Mnt(e,t){return t&&(Nnt(t)==="object"||typeof t=="function")?t:xnt(e)}function r0(e,t){return r0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},r0(e,t)}function Nnt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(CR=function(){return!!e})()}var Vnt=function(e){jnt(t,e);function t(n){Fnt(this,t);var o;o=Lnt(this,t,[n]),o0(o,"props",void 0),o0(o,"children",void 0),o.props=new t0(n==null?void 0:n.props);var r;return o.children=(r=n==null?void 0:n.children)!==null&&r!==void 0?r:[],o}return t}(dx);o0(Vnt,"controlType","simple-search");const znt=(e,t)=>{const n=Array.isArray(e),o=n?e:[e];Ynt(t==null?void 0:t.events),Knt(o),Gnt(o);const r=Wnt(o),i=Xnt(r,t);let u=Fe(H(i,c=>Unt(c,t)));return n?u:u[0]},Cnt=[y.DIVIDER,y.TEXT,y.TITLE,y.LINK,y.BUTTON,"list-btn-export-list","list-btn-export-record"],Hnt=["subtable","grid-table"],qnt=["simple-search"];function Unt(e,t){var r,i,u,c,a,l;let n=e;if(n.controlType||(n.is_layout_control===!0?n.controlType="layout":Cnt.includes(n.type)?n.controlType="base":n.controlType="form",Hnt.includes(n.type)&&(n.controlType="list"),qnt.includes(n.type)&&(n.controlType="search-view")),delete n.is_layout_control,e.props.lable_position&&(e.props.labelPosition=e.props.lable_position),e.props.select_mode&&(e.props.optionsFormat=e.props.select_mode),e.props.value&&(e.props.defaultValue=e.props.value),ft((r=e==null?void 0:e.props)==null?void 0:r.caption)&&(n.props.caption=e.props.caption.zh),ft((i=e==null?void 0:e.props)==null?void 0:i.placeholder)&&(n.props.placeholder=e.props.placeholder.zh),ft((u=e==null?void 0:e.props)==null?void 0:u.placeholder_end)&&(n.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(n.type="department",e.props.value.length&&(n.props.default_value=e.props.value),n.props.showType=e.props.show_tree?"tree":"default",n.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(n.type="auto-number",n.props.defaultValue=e.props.value),e.type==="file"&&(n.type="attachment",n.props.attachmentAccept=(c=e.attachment_format)==null?void 0:c.split(","),n.props.showType=e.props.show_type==="title"?"default":"table"),e.type==="image"&&(n.props.attachmentAccept=(a=e.attachment_format)==null?void 0:a.split(",")),e.type==="date-pick"&&(n.type="date-picker"),e.type==="rich-text"&&(ft(e.props.value)?n.props.defaultValue=e.props.value.zh:n.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(ft(e.props.value)?n.props.content=e.props.value.zh:n.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(n.props.showState="image"),e.type==="user-search"&&(n.type="employee",n.props.defaultValue=e.props.value),e.type==="address"&&(n.props.addressType=e.props.address_type_value),n.type==="subtable"){const _=n.props.entry_type||n.props.entryType;n.props.openType=_==="subpage"?"modal":"default",((l=n.children[0])==null?void 0:l.type)==="subtable-row"&&n.props.headers&&(n.props.headers=n.props.headers.map((s,p)=>{const b=new mK.Designer;b.props.caption=ft(s.field_name)?s.field_name.zh:s.field_name;const m=b.toSchema();m.id=s.header_id;const O=n.children[0].children[p].children[0];return O&&(m.children=[O]),m}),n.children=[])}if(n.type==="subtable-cell"&&(n.type="subtable-column"),["radio","checkbox","select","select-multiple"].includes(e.type)&&(e.props.options.map(_=>{_.label=ft(_.text)?_.text.zh:_.text,_.id=_.id||_.opt_id||_.optId||_.data_id}),n=e),e.type==="grid-row"){const _=24/n.children.length;n.children=n.children.map(s=>{const p=new iE.Designer;p.props.span=_;const b=p.toSchema();return b.children.push(s),b})}if(e.type==="grid-layout-row"&&(n.type="row"),e.type==="grid-layout-col"&&(n.type="col"),e.type==="group-panel"&&(n.type="card-group",n.props.collapse=n.props.flod==="no"?"none":n.props.flod),e.type==="tabs-pane"&&(n.type="tab-pane"),e.type==="calc"){const _=n==null?void 0:n.children[0],s=n==null?void 0:n.children[1],p={};_&&(HR(n,t),p.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&&(p.unit=s.props.data_bind,n.props.default_value={unit:s.props.value}),n.props.dataBind=p,delete n.children}if(e.type==="amount-currency"){n.type="amount",n.controlType="form";const _=n==null?void 0:n.children[0],s=n==null?void 0:n.children[1],p={},b={};_&&(HR(n,t),n.id=_.id,p.amount=_.props.data_bind,n.props.range_min=Le(_.props.range_min),n.props.range_max=Le(_.props.range_max),b.amount=Le(_.props.value),n.props.required=_.props.required,n.props.is_hide=_.props.is_hide,n.props.default_state=_.props.default_state,n.props.caption=ft(_.props.caption)?_.props.caption.zh:_.props.caption,n.props.is_hide_caption=_.props.is_hide_caption,n.props.showUpperCase=_.props.is_show_chn),s&&(p.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=p,n.props.defaultValue=b,delete n.children}if(e.type==="date-range"){n.controlType="form";const _=n==null?void 0:n.children[0],s=n==null?void 0:n.children[1];n.props.placeholderStart=ft(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,n.props.caption=ft(e.props.caption)?e.props.caption.zh:e.props.caption;const p={};_&&(p.min=_.props.data_bind),s&&(p.max=s.props.data_bind),n.props.dataBind=p,delete n.children}return e.type==="score"&&(n.props.defaultValue=n.props.value*1),["input","textarea"].includes(e.type)&&(n.props.defaultValue=ft(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(n.props.range_min=Le(e.props.range_min),n.props.range_max=Le(e.props.range_max),n.props.defaultValue=Le(e.props.value)),e.type==="list-page-btn-custom-button"&&(e.type="button"),e.type==="button"&&e.props.button_type==="dashed"&&(n.props.buttonType="default"),tot(n,t==null?void 0:t.control_events),n}function HR(e,t){if(!t)return;const{displayBoList:n=[],behaviors:o=[]}=t,r=e.id,i=e.children[0].id;n.forEach(u=>{u.id===r&&(u.id=i);const c=u.show_controls.findIndex(l=>l===r),a=u.hide_controls.findIndex(l=>l===r);c>-1&&u.show_controls.splice(c,1,i),a>-1&&u.hide_controls.splice(a,1,i)}),o.forEach(u=>{u.ctrl_id===r&&(u.id=i)})}function Wnt(e){if(!Array.isArray(e)||!e.find(r=>r.type==="grid"))return e;const o=new CX.Designer().toSchema();return o.children=e,[o]}function Knt(e){e.forEach(t=>{t.children&&Znt(t.children)})}function Gnt(e){e.forEach(t=>{var o,r;if(!(t&&t.children))return;const n=t.children;for(let i=0;i<n.length;i++){const u=n[i],c=(r=(o=n[i])==null?void 0:o.children)==null?void 0:r[0];u.type==="grid-row"&&c&&["group-panel","subtable","tab"].includes(c.type)&&n.splice(i,1,c)}})}function Xnt(e,t){var b,m,O,w,h,$,T,P;if(!(Array.isArray(e)&&e.length===1))return e;const n=e[0];if(n.type!=="list-page")return e;const{props:o,children:r}=n,[i,u,c]=r;Qnt(i),c.props.is_fixed_header=(b=o==null?void 0:o.source_config)==null?void 0:b.is_fixed_header,Jnt(c,u);const a=(O=(m=o==null?void 0:o.source_config)==null?void 0:m.data_code)!=null?O:t==null?void 0:t.dataCode,l=((h=(w=o==null?void 0:o.source_config)==null?void 0:w.svc_code)!=null?h:a)?`${a}_selectMore`:void 0,_=(T=($=o==null?void 0:o.source_config)==null?void 0:$.orders)!=null?T:[],s=new OX.Designer;s.props.datasourceBind=new G({dataCode:a,svcCode:l,orders:SA(_)}),s.props.isShowSubList=o.is_show_sublist,s.props.triggerType=o.timing_type,s.props.triggerFieldCode=o.ctrl_field_code,(P=o==null?void 0:o.sublist_page)==null||P.sublists.forEach(S=>{S.title=ft(S.title)?S.title.zh:S.title}),s.props.sublistPage=o.sublist_page;const p=s.toSchema();return p.children.push(i,c),[p]}function Qnt(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(t=>{var o,r;const n=ft(t.placeholder)?t.placeholder.zh:t.placeholder;t.type==="number-range"&&(t.type="search-number-range",t.placeholderStart=n,t.placeholderEnd=n),t.type==="date-pick"&&(t.type="search-date-range",t.placeholderStart=n,t.placeholderEnd=n,t.dateType=(r=(o=t.dateType)==null?void 0:o.replace)==null?void 0:r.call(o,/range$/)),(t.type==="automatic-number"||t.type==="auto-number")&&(t.type="search-input",t.props.defaultValue="")})}function Jnt(e,t){e.children=t.children.filter(n=>n.type!=="list-page-btn-custom-head"),e.type="grid-table",e.props.sublist_page&&(e.props.sublist_page.form_bind={data_code:e.props.sublist_page.data_code,form_key:e.props.sublist_page.form_key}),Array.isArray(e.props.headers)&&(e.props.headers=e.props.headers.map(n=>{var r,i,u;let o={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:n.field_code,field_name:ft(n.field_name)?n.field_name.zh:n.field_name}};return o.props.caption=ft(n.field_name)?n.field_name.zh:n.field_name,o.props.filter_tags=n.is_filter_tags,o.props.fixed=n.fixed,o.props.display_bo_list=n.display_bo_list,o.props.date_type=n.date_type,o.props.optionConfig="none",n.header_width_config&&(o.props.widthType=n.header_width_config==="1"?"auto":"px"),o.props.widthType==="px"&&n.header_width&&(o.props.width=Number(n.header_width)),n.table_header_type==="order"?(o.type="order-column",o.props.fixed=!0):n.table_header_type==="operation"?(o.type="operation-column",o.props.check=(r=n.check)!=null?r:{},o.props.check.openType="window",o.props.delete=(i=n.delete)!=null?i:{},o.props.delete.openType="window",o.props.edit=(u=n.edit)!=null?u:{},o.props.edit.openType="window",o.props.fixed=!0):(o.type=n.field_type+"-column",n.field_type==="auto_number"&&(o.type="auto-number-column"),n.field_type==="relation"&&(o.type="varchar-column")),n.convert_switch&&(o.props.optionConfig=n.convert_type===1?"datasource":"custom"),o.props.optionConfig==="datasource"?o.props.datasource_bind=new G({svcCode:n.svc_code,displayBoList:n.display_bo_list,valueFieldCode:n.field_match,dataCode:n.field_source}):o.props.optionConfig==="custom"&&(o.props.options=n.custom_match_bo_list),o}))}function Znt(e){var n;let t=null;for(let o=0;o<e.length;o++){const r=e[o];if(!!r){if(r.children&&((n=r.children[0])==null?void 0:n.type)==="group-panel"){t=r.children[0];continue}t&&(t.children.push(r),e.splice(o,1),o--)}}}function Ynt(e){!e||(e.did_mount=e.did_mount.map(t=>t.name),e.will_submit=e.will_submit.map(t=>t.name),e.did_submit=e.did_submit.map(t=>t.name))}function tot(e,t){var o;if(!t||!e.props.events)return;const n=Object.keys(e.props.events);!n.length||(n.forEach(r=>{!e.props.events[r].length||(t[e.id]||(t[e.id]={}),t[e.id][r]||(t[e.id][r]=[]),t[e.id][r].push(...e.props.events[r].map(i=>i.name)))}),(o=t[e.id])!=null&&o.on_blur&&(t[e.id].on_change||(t[e.id].on_change=[]),t[e.id].on_change.push(...t[e.id].on_blur)))}const eot=(e,t)=>{const n=Array.isArray(e);let r=Fe(H(n?e:[e],i=>not(i)));return n?r:r[0]};function not(e,t){return e.type===y.LIST_VIEW&&e.children.find(o=>o.type===y.GRID_TABLE).props.headers.forEach(o=>{!o.props.data_bind&&o.props.field_code&&(o.props.data_bind=new At({dataCode:e.props.datasource_bind.data_code,fieldCode:o.props.field_code}))}),e}const oot=(e,t)=>{const n=Array.isArray(e);let r=Fe(H(n?e:[e],i=>rot(i)));return n?r:r[0]};function rot(e,t){return[y.BUTTON,y.CREATE_FORM_LIST_BUTTON,y.BATCH_SUBMISSION_LIST_BUTTON,y.SUBMISSION_RECORD_LIST_BUTTON,y.IMPORT_RECORD_LIST_BUTTON,y.EXPORT_RECORD_LIST_BUTTON,y.EXPORT_LIST_BUTTON,y.FORM_SELECT_BUTTON,y.LIST_SELECT_BUTTON].includes(e.type)&&(e.props.button_type==="default"&&(e.props.button_type="secondary"),e.props.button_type==="danger"&&(e.props.button_type="secondary",e.props.color="danger"),e.props.icon||(e.props.icon="iconfenlei2")),e.type===y.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===y.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}const iot=(e,t)=>{const n=Array.isArray(e);let r=Fe(H(n?e:[e],i=>uot(i)));return n?r:r[0]};function uot(e,t){if(e.props.icon){let n=e.props.icon;switch(n){case"icongeren":n="iconyyzy-renyuan";break;case"iconjine1":n="iconcaiwu";break;case"iconhuibao":n="iconyyzy-tianxie";break;case"iconwenjian":n="iconyyzy-wenjianjia1";break;case"iconyingpin":n="iconyyzy-gongzuo";break;case"iconpiliangtijiaojilu":n="iconyyzy-renwu";break}e.props.icon=n}return e}const cot=(e,t)=>{const n=Array.isArray(e);let r=Fe(H(n?e:[e],i=>aot(i)));return n?r:r[0]},lot=[y.ROW,y.TAB,y.SUBTABLE,y.GRID_ROW,y.CARD_GROUP];function aot(e,t){return e.type===y.TAB_PANE&&(e.children=e.children.map(n=>{if(lot.includes(n.type))return n;const o=new WW.Designer,r=new iE.Designer;o.children.push(r);const i=o.toSchema();return i.children[0].children.push(n),i})),e}const fot=(e,t)=>{const n=Array.isArray(e);let r=Fe(H(n?e:[e],i=>_ot(i)));return n?r:r[0]};function _ot(e,t){return e.type===y.GRID_TABLE&&e.props.headers.forEach(n=>{n.type===y.OPERATION_COLUMN&&(n.props.check.priorityProcess=!0)}),e}const yot=(e,t)=>{const n=Array.isArray(e);let r=H(n?e:[e],i=>sot(i));return n?r:r[0]};function sot(e,t){return e.type===y.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}const pot=(e,t)=>{const n=Array.isArray(e);let r=H(n?e:[e],i=>dot(i));return n?r:r[0]};function ge(e,t){e.field_code&&(e.field_type=t)}function dot(e,t){var o;const n={[y.TITLE]:g.AUTO_NUMBER,[y.ADDRESS]:g.ADDRESS,[y.ATTACHMENT]:g.FILE,[y.AUTO_NUMBER]:g.AUTO_NUMBER,[y.CHECKBOX]:g.ARRAY,[y.DATE_PICKER]:g.TIMESTAMP,[y.DEPARTMENT]:g.DEPARTMENTS,[y.DEPARTMENT2]:g.DEPARTMENTS,[y.EMPLOYEE]:g.EMPLOYEES,[y.EMPLOYEE2]:g.EMPLOYEES,[y.IMAGE]:g.IMAGE,[y.INPUT]:g.VARCHAR,[y.NUMBER]:g.DECIMAL,[y.RADIO]:g.VARCHAR,[y.RICH_TEXT]:g.TEXT,[y.SCORE]:g.DECIMAL,[y.SELECT]:g.VARCHAR,[y.SELECT_MULTIPLE]:g.ARRAY,[y.SELECT_RELATION]:g.VARCHAR,[y.TEXTAREA]:g.TEXT,[y.TREE]:g.ARRAY,[y.SEARCH_DATE_RANGE]:g.ARRAY,[y.SEARCH_INPUT]:g.VARCHAR,[y.SEARCH_NUMBER_RANGE]:g.ARRAY};return n.hasOwnProperty(e.type)&&ge(e.props.data_bind,n[e.type]),e.type===y.AMOUNT&&(ge(e.props.data_bind.amount,g.DECIMAL),ge(e.props.data_bind.currency,g.VARCHAR)),e.type===y.CALC&&(ge(e.props.data_bind.result,g.DECIMAL),ge(e.props.data_bind.unit,g.VARCHAR)),e.type===y.DATE_RANGE&&(ge(e.props.data_bind.min,g.TIMESTAMP),ge(e.props.data_bind.max,g.TIMESTAMP)),e.type===y.VUE_FORM_ITEM&&ge(e.props.data_bind,(o=e.field_type)!=null?o:g.ANY),e}const vot=(e,t)=>{const n=Array.isArray(e);let r=H(n?e:[e],i=>hot(i));return n?r:r[0]};function hot(e,t){return e.type===y.GRID_TABLE&&e.props.headers.forEach(n=>{n.type.endsWith("-column")&&(n.props.fixed?(n.props.fixed="left",n.type===y.OPERATION_COLUMN&&(n.props.fixed="right")):n.props.fixed="none")}),e}const bot=(e,t)=>{const n=Array.isArray(e);let r=H(n?e:[e],i=>got(i));return n?r:r[0]};function got(e,t){return e.type===y.SIMPLE_SEARCH&&e.children.length&&(e.props.query_type_map||(e.props.query_type_map=[]),e.children.forEach(n=>{var o,r;[g.VARCHAR,g.TEXT,g.AUTO_NUMBER].includes((r=(o=n.props)==null?void 0:o.data_bind)==null?void 0:r.field_type)&&e.props.query_type_map.push({query_type:"LIKE",field_code:n.props.data_bind.field_code})})),e}const mot=(e,t)=>{const n=Array.isArray(e);let r=H(n?e:[e],i=>Oot(i));return n?r:r[0]};function Oot(e,t){return[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===y.SUBTABLE&&e.props.headers.forEach(n=>{[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),e}const wot=(e,t)=>{const n=Array.isArray(e);let r=H(n?e:[e],i=>$ot(i));return n?r:r[0]};function $ot(e,t){return[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===y.SUBTABLE&&e.props.headers.forEach(n=>{[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),e}const Pot=(e,t)=>{const n=Array.isArray(e);let r=H(n?e:[e],i=>Eot(i));return n?r:r[0]};function Eot(e,t){return e.type===y.TITLE&&e.props.config.push(we.ShowTitle),e.type===y.GRID_TABLE&&e.props.headers.map(n=>{var o,r,i,u,c,a,l,_,s,p,b,m,O,w,h,$,T,P,S,F,A,ut;if(n.type===y.OPERATION_COLUMN){if(n.props.width_type==="auto"?n.props.auto_width={min_width:120,max_width:120,flex:1}:n.props.width_type==="px"&&(n.props.auto_width={min_width:n.props.width,max_width:n.props.width,flex:1}),n.props.width_type="auto",n.children=(o=n==null?void 0:n.children)!=null?o:[],delete n.props.custom,((r=n.props)==null?void 0:r.check)!==void 0){const I=new ny.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 ny.Designer;Object.defineProperty(I,"id",{value:"listPageEditBtnId"}),I.props.code="edit",I.props.icon="iconbianji1",I.props.command="edit",I.props.content=(p=n.props)==null?void 0:p.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 ny.Designer;Object.defineProperty(I,"id",{value:"listPageDeleteBtnId"}),I.props.code="delete",I.props.icon="iconlajitong",I.props.command="delete",I.props.content=(T=n.props)==null?void 0:T.delete.content,I.props.priorityProcess=(P=n.props)==null?void 0:P.delete.priority_process,I.props.openType=(S=n.props)==null?void 0:S.delete.open_type,I.props.formKey=(F=n.props)==null?void 0:F.delete.form_key,I.props.needConfirm=!0,I.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",(A=n.props)!=null&&A.delete.is_show&&n.children.push(I.toSchema()),(ut=n.props)==null||delete ut.delete}}}),[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===y.SUBTABLE&&e.props.headers.forEach(n=>{[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),e}const Sot=(e,t)=>{const n=Array.isArray(e);let r=H(n?e:[e],i=>Tot(i,t));return n?r:r[0]};function Tot(e,t){e.type===y.SUBTABLE&&e.props.headers.map(o=>{var i;o.props.meta_auto_width=new x0,o.props.width_type==="px"&&(o.props.meta_auto_width.pc.width=o.props.width,o.props.meta_auto_width.pc.width_type="px"),delete o.props.width,delete o.props.width_type;const r=(i=o.children)==null?void 0:i[0];r&&r.type===y.CALC&&r.props.calc_on_mounted===void 0&&(r.props.calc_on_mounted=!0)});const n={[y.SUBTABLE]:[{key:"page_index",value:1},{key:"page_size",value:10},{key:"page_size_options",value:[10,20,50,100]},{key:"total_count",value:0}],[y.GRID_TABLE]:[{key:"page_index",value:1},{key:"page_size",value:20},{key:"page_size_options",value:[10,20,50,100]},{key:"total_count",value:0},{key:"is_show_selection",value:!1}],[y.LIST_VIEW]:[{key:"selection_type",value:"multiple"},{key:"row_style_type",value:"none"},{key:"is_show_selection",value:!1}],[y.SIMPLE_SEARCH]:[{key:"col-gap",value:24},{key:"child-min-width",value:230}],[y.IMPORT_RECORD_LIST_BUTTON]:[{key:"template-type",value:"system"}]};return e.type in n&&n[e.type].forEach(o=>{e.props[o.key]===void 0&&(e.props[o.key]=o.value)}),e.type===y.GRID_TABLE&&e.props.headers.forEach(o=>{o.type===y.OPERATION_COLUMN&&(o.props.limit===void 0&&(o.props.limit=3),o.props.show_type===void 0&&(o.props.show_type="icon")),o.props.flex===void 0&&(o.props.flex=1),o.props.auto_width===void 0&&(o.props.auto_width=new tf)}),e.type===y.CALC&&e.props.calc_on_mounted===void 0&&(e.props.calc_on_mounted=!0),Rot(t),e}function Rot(e){if(!(!e||!e.listeners)){if(Object.keys(e.listeners).forEach(t=>{let n,o,r;e.listeners[t].forEach((i,u)=>{switch(i.event_key||i.eventKey){case"on_click_finish":o=i,r=u;break;case"on_click":n=i;break}}),o&&(o.cases[0].handlers.unshift(i0()),n?(o.cases.forEach(i=>{n.cases[0].handlers.push(i)}),e.listeners[t].splice(r,1)):o.event_key="on_click")}),!e.listeners.form_submit)e.listeners.form_submit=[{event_key:"on_click",event_param:[],cases:[Iot()]}];else if(e.listeners.form_submit&&e.listeners.form_submit&&e.listeners.form_submit[0]&&e.listeners.form_submit[0].cases&&e.listeners.form_submit[0].cases[0]&&e.listeners.form_submit[0].cases[0].handlers){let t=!1;e.listeners.form_submit[0].cases[0].handlers.forEach(n=>{n.method==="actionOperate"&&(t=!0)}),t||e.listeners.form_submit[0].cases[0].handlers.push(i0())}}}function Iot(){return{id:"case"+new Date().getTime(),name:"\u9ED8\u8BA4\u60C5\u5F62",match_type:"AND",match_rules:[],handlers:[i0()]}}function i0(){return{id:"handler"+new Date().getTime(),method:"actionOperate",params:{control_id:"",opt_type:"",opt_code:"",is_error_continue:!1}}}const Bot=(e,t)=>{const n=Array.isArray(e);let r=H(n?e:[e],i=>Aot(i,t));return n?r:r[0]};function Aot(e,t){if(e.type===y.LIST_VIEW){if(e.props.is_show_selection===!1){const n=[y.BATCH_SUBMISSION_LIST_BUTTON,y.LIST_PAGE_BTN_BATCH_PRINT,y.BATCH_DELETE_LIST_BUTTON];e.children.forEach(o=>{o.type===y.GRID_TABLE&&o.children.map(u=>u.type).some(u=>n.includes(u))===!0&&(e.props.is_show_selection=!0,o.props.is_show_selection=!0)})}e.props.caption===""&&(e.props.caption=t==null?void 0:t.formName),e.props.is_all_loaded===void 0&&(e.props.is_all_loaded=!0)}return e.type===y.TEXTAREA&&e.props.auto_size===void 0&&(e.props.auto_size=!1),e.type===y.SUBTABLE&&e.props.mobile_default_num===void 0&&(e.props.mobile_default_num=e.props.mobile_show_type==="tile"?5:10),e.type===y.TREE&&e.props.default_display===void 0&&(e.props.default_display=!1),e.type===y.GRID_TABLE&&e.props.is_show_toolbar===void 0&&(e.props.is_show_toolbar=!0),e.type===y.NUMBER&&e.props.regular_rules===void 0&&(e.props.regular_rules=new Ao),e}const kot=(e,t)=>{const n=Array.isArray(e);let r=H(n?e:[e],i=>Dot(i));return n?r:r[0]};function Dot(e,t){return[y.LIST_PAGE_BTN_BATCH_PRINT_RECORD,y.EXPORT_LIST_BUTTON,y.EXPORT_RECORD_LIST_BUTTON,y.CREATE_FORM_LIST_BUTTON,y.IMPORT_RECORD_LIST_BUTTON,y.SUBMISSION_RECORD_LIST_BUTTON,y.BATCH_DELETE_LIST_BUTTON,y.BUTTON,y.SUBMISSION_RECORD_LIST_BUTTON,y.LIST_PAGE_BTN_BATCH_PRINT].includes(e.type)&&(e.control_type="base"),e.type===y.SUBTABLE&&e.props.mobile_default_num===void 0&&(e.props.mobile_default_num=e.props.mobile_show_type==="tile"?5:10),e}const xot=(e,t)=>{const n=Array.isArray(e),o=n?e:[e],r={};let i=H(o,u=>{const c=Lot(u);return r[u.id]=u,c});return Fot(r,t),n?i:i[0]};function Lot(e,t){if(e.type===y.ORGANIZATION_SELECTION){const n=e.props.selected_content_config,o=n==null?void 0:n.display_bo_list;o&&o.forEach(r=>{r.value==="org_type_code"&&(r.label="\u4E1A\u52A1\u7C7B\u578B"),r.value==="org_pattern_code"&&(r.label="\u7EC4\u7EC7\u5F62\u6001")})}return e.type===y.LIST_SELECT_BUTTON&&e.props.disable_filling===void 0&&(e.props.disable_filling=!1),e}function Fot(e,t){var n,o;if((t==null?void 0:t.formType)===1&&(t==null?void 0:t.events)!==void 0){const r=(o=(n=t==null?void 0:t.events)==null?void 0:n.did_mount)!=null?o:[];r.length>0&&(t.events.did_init=r,t.events.did_mount=[]),t.events.did_init===void 0&&(t.events.did_init=[])}}const jot=(e,t)=>{const n=Array.isArray(e);let r=H(n?e:[e],i=>Mot(i));return n?r:r[0]};function Mot(e,t){return e.type===y.LINK&&(e.control_type="form",e.props.data_bind||(e.props.data_bind={data_code:"",field_code:"",field_type:""})),e}const Not=(e,t)=>{const n=Array.isArray(e);let r=H(n?e:[e],i=>Vot(i));return n?r:r[0]};function Vot(e,t){var n,o;if(e.control_type==="form")e.props.caption_size||(e.props.caption_size="14");else if(e.type===y.SUBTABLE){const r=(n=e.props)==null?void 0:n.headers;if(r&&r.length>0)for(const i of r){const u=(o=i.children)==null?void 0:o[0];u.control_type==="form"&&(u.props.caption_size||(u.props.caption_size="14"))}}return e}const zot=(e,t)=>{const n=Array.isArray(e);let r=H(n?e:[e],i=>Cot(i));return n?r:r[0]};function Cot(e,t){var n,o;if(e.type===y.SUBTABLE){const r=(n=e.props)==null?void 0:n.headers;if(r&&r.length>0)for(const i of r){const u=(o=i.children)==null?void 0:o[0];u.control_type==="form"&&(u.props.caption_size||(u.props.caption_size="14"))}}return e}var qR={"v1.0":znt,"v2.0":eot,"v2.1":oot,"v2.2":iot,"v2.3":cot,"v2.4":fot,"v2.5":yot,"v2.6":pot,"v2.7":vot,"v2.8":bot,"v2.9":mot,"v2.10":wot,"v3.0":Pot,"v3.1":Sot,"v3.2":Bot,"v3.3":kot,"v3.4":xot,"v3.5":jot,"v3.6":Not,"v3.7":zot,"v3.8":()=>{}};const UR=(e,t)=>{const n=WR(e),o=WR(t),r=n.pop(),i=o.pop(),u=XR(n,o);return u!==0?u:r&&i?XR(r.split("."),i.split(".")):r||i?r?-1:1:0},Na=(e,t,n)=>{Wot(n);const o=UR(e,t);return QR[n].includes(o)},Hot=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,WR=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(Hot);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},KR=e=>e==="*"||e==="x"||e==="X",GR=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},qot=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],Uot=(e,t)=>{if(KR(e)||KR(t))return 0;const[n,o]=qot(GR(e),GR(t));return n>o?1:n<o?-1:0},XR=(e,t)=>{for(let n=0;n<Math.max(e.length,t.length);n++){const o=Uot(e[n]||"0",t[n]||"0");if(o!==0)return o}return 0},QR={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},JR=Object.keys(QR),Wot=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(JR.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${JR.join("|")}`)};function u0(e){return e.replace(/^v/,"")}const Kn=Object.keys(qR).map(e=>u0(e)).sort(UR),wo=Kn[Kn.length-1];class Kot{constructor(t,n=wo){this.schemaVersion=t,this.toVersion=n,Na(n,wo,">")?Zn(`Version Builder: The specified ${n} is an undefined version, and the current latest version is ${wo}`):(!Kn.includes(u0(n))||!Kn.includes(u0(t)))&&Zn(`Version Builder: Please give me a valid version number, The valid version is: ${Kn.join(",")}, But give me a ${t}`)}dataCleaner(t,n){if(Na(this.toVersion,this.schemaVersion,"="))return t;const o=this.callDataCleanerKeys.reduce((r,i,u,c)=>{var s;const a=(s=c[u+1])!=null?s:this.toVersion;So(`Version Builder: current version: ${i}, nextVersion: ${a}`);const l=qR[i];let _=r;if(typeof l=="function"){const p=l(r,n);p&&(_=p)}return _},t);return So(`Version Builder: Version conversion completed, evolving from ${this.schemaVersion} to ${this.toVersion}`),o}get runDataCleanerKeys(){return Kn.filter(t=>Na(t,this.schemaVersion,">=")&&Na(t,this.toVersion,"<"))}get callDataCleanerKeys(){return this.runDataCleanerKeys.map(t=>"v"+t)}get version(){return wo}static get version(){return wo}}De.VersionBuilder=Kot,Object.defineProperty(De,"__esModule",{value:!0})});
|
|
1
|
+
(function(xe,Gn){typeof exports=="object"&&typeof module!="undefined"?Gn(exports):typeof define=="function"&&define.amd?define(["exports"],Gn):(xe=typeof globalThis!="undefined"?globalThis:xe||self,Gn(xe.modelDrivenUpgrade={}))})(this,function(xe){"use strict";var Gn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",EB="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",SB="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",TB="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",RB="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",BB="{caption}\u5FC5\u586B",DB="\u8BF7\u8F93\u5165\u6807\u9898",AB="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",IB="\u8BF7\u8F93\u5165\u884C\u6807\u9898",kB="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",FB="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",xB="\u8BF7\u7ED1\u5B9A\u8868\u5355",MB="\u8BF7\u7ED1\u5B9A\u5217\u8868",CB="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",LB="\u8BF7\u8F93\u5165\u663E\u793A\u503C",jB="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",NB="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",VB="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",zB="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",HB="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",qB="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",UB="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",WB="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",KB="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",GB="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",XB="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",QB="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",JB="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",ZB="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",YB="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",t3="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",e3="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",n3="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",o3="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",r3="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",i3="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",u3="\u8BF7\u7ED1\u5B9A\u670D\u52A1",l3="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",c3="\u8BF7\u9009\u62E9\u7701",a3="\u8BF7\u9009\u62E9\u5E02",f3="\u8BF7\u9009\u62E9\u533A",_3="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",s3="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",y3="\u8BF7\u8F93\u5165\u5217\u5BBD",p3="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",d3="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",v3="\u8BF7\u9009\u62E9\u63A7\u4EF6",h3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",b3="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",m3="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",g3="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",O3="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",w3="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",$3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",P3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",E3="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",S3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",T3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",R3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",B3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",D3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",A3="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",I3="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",k3="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",F3="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",x3="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",M3="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",C3="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",L3="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",j3="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",N3="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",V3="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",z3="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",H3="\u6279\u91CF\u5220\u9664",q3="\u6279\u91CF\u6253\u5370",U3="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",W3="\u6309\u94AE",K3="\u521B\u5EFA\u5355\u636E",G3="\u4EEA\u8868\u76D8",X3="\u5206\u5272\u7EBF",Q3="\u5BFC\u51FA",J3="\u8868\u5355\u64CD\u4F5C",Z3="\u5BFC\u5165",Y3="\u53D1\u7968\u8BC6\u522B",t1="\u94FE\u63A5",e1="\u5217\u8868\u9009\u62E9",n1="\u5217\u8868\u89C6\u56FE",o1="\u64CD\u4F5C\u6309\u94AE",r1="\u5206\u9875",i1="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",u1="\u8BF4\u660E\u6587\u5B57",l1="\u6587\u5B57\u8BC6\u522B",c1="\u6807\u9898\u7EC4\u4EF6",a1="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",f1="\u6570\u7EC4",_1="\u81EA\u52A8\u7F16\u53F7",s1="\u81EA\u5B9A\u4E49",y1="\u6570\u503C",p1="\u90E8\u95E8",d1="\u4EBA\u5458",v1="\u9644\u4EF6",h1="\u56FE\u7247",b1="\u5730\u5740",m1="\u64CD\u4F5C",g1="\u5E8F\u53F7",O1="\u4EBA\u5458",w1="\u957F\u6587\u672C",$1="\u65E5\u671F\u533A\u95F4",P1="\u65E5\u671F",E1="\u77ED\u6587\u672C",S1="\u6362\u884C\u5BB9\u5668Wrap",T1="\u8868\u683C",R1="\u660E\u7EC6\u5B50\u8868",B1="\u5730\u5740",D1="\u91D1\u989D",A1="\u8BA1\u7B97\u516C\u5F0F",I1="\u591A\u9009",k1="\u7535\u5B50\u7B7E\u7AE0",F1="\u5355\u884C\u6587\u672C",x1="\u6570\u5B57",M1="\u4E1A\u52A1\u7EC4\u7EC7",C1="\u5355\u9009",L1="\u5BCC\u6587\u672C",j1="\u8BC4\u5206",N1="\u6570\u5B57\u533A\u95F4",V1="\u4E0B\u62C9\u5355\u9009",z1="\u4E0B\u62C9\u591A\u9009",H1="\u5173\u8054\u5355\u9009",q1="\u591A\u884C\u6587\u672C",U1="\u6811",W1="Vue\u5BB9\u5668",K1="Vue\u9875\u9762",G1="\u5728\u7EBF\u6587\u6863",X1="\u6309\u94AE\u64CD\u4F5C\u680F",Q1="\u9AD8\u7EA7\u5BB9\u5668",J1="\u5206\u7EC4",Z1="\u6805\u683C\u5217",Y1="\u6570\u636E\u5BB9\u5668",tD="\u753B\u5E03",eD="\u6362\u884C\u5BB9\u5668",nD="\u6805\u683C\u7B49\u5206\u884C",oD="\u5217\u8868\u5BB9\u5668",rD="\u81EA\u7531\u9875\u9762",iD="\u5B9A\u4F4D\u5B50\u5BB9\u5668",uD="\u5B9A\u4F4D\u5BB9\u5668",lD="\u6805\u683C\u5E03\u5C40",cD="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",aD="\u660E\u7EC6\u5B50\u8868\u884C",fD="\u6807\u7B7E\u9875",_D="\u6807\u7B7E\u5355\u5143",sD="\u5DE5\u5177\u680F",yD="\u6279\u91CF\u63D0\u4EA4",pD="\u5BFC\u51FA\u8BB0\u5F55",dD="\u5217\u8868\u89C6\u56FE",vD="\u7ED3\u675F\u65F6\u95F4",hD="\u5F00\u59CB\u65F6\u95F4",bD="\u5355\u4F4D",mD="\u7ED3\u679C",gD="\u5E01\u79CD",OD="\u7ED3\u675F\u65E5\u671F",wD="\u5F00\u59CB\u65E5\u671F",$D="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",PD="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",ED="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",SD="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",TD="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",RD="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",BD="\u8BF7\u9009\u62E9",DD="\u8BF7\u9009\u62E9\u7EC4\u7EC7",AD="\u8BF7\u9009\u62E9\u90E8\u95E8",ID="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",kD="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",FD="\u8BF7\u9009\u62E9\u5730\u5740",xD="\u5F39\u7A97\u786E\u8BA4\u65F6",MD="\u6807\u7B7E\u9875\u5207\u6362\u65F6",CD="\u884C\u9009\u4E2D\u65F6",LD="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",jD="\u884C\u5220\u9664\u524D",ND="\u884C\u70B9\u51FB\u65F6",VD="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",zD="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",HD="\u91CD\u547D\u540D\u65F6",qD="\u4FDD\u5B58\u6587\u4EF6\u65F6",UD="\u6253\u5F00\u6587\u4EF6\u65F6",WD="\u83B7\u53D6\u7126\u70B9\u65F6",KD="\u5931\u53BB\u7126\u70B9\u65F6",GD="\u7528\u6237\u8F93\u5165\u65F6",XD="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",QD="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",JD="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",ZD="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",YD="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",t5="\u641C\u7D22\u65F6",e5="\u503C\u53D1\u751F\u53D8\u5316\u65F6",n5="\u6267\u884C\u5B8C\u6210\u65F6",o5="\u70B9\u51FB\u65F6",r5="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",i5="\u8BF7\u8F93\u5165\u65E5\u671F",u5="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",l5="\u8BF7\u8F93\u5165",c5="\u9ED8\u8BA4\u6A21\u7248",a5="\u5DE6\u53F3\u5E03\u5C40",f5="\u4E0A\u4E0B\u5E03\u5C40",_5="\u53EA\u8BFB",s5="\u5FC5\u586B",y5="\u63D0\u793A\u6587\u5B57",p5="\u9690\u85CF\u6807\u9898",d5="\u6807\u9898\u5FC5\u586B",v5="\u7EC4\u7EC7\u5F62\u6001",h5="\u4E1A\u52A1\u7C7B\u578B",b5="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",m5="\u9690\u85CF",g5="\u6D41\u7A0B\u72B6\u6001",O5="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",w5="\u5220\u9664",$5="\u7F16\u8F91",P5="\u67E5\u770B",E5="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",S5="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",T5="\u5145\u6EE1\u6574\u884C",R5="\u6700\u5C0F\u503C",B5="\u6700\u5927\u503C",D5="\u65B0\u5EFA\u6587\u6863",A5="\u91CD\u7F6E",I5="\u67E5\u8BE2",k5="\u660E\u7EC6",F5="\u6253\u5370",x5="\u4FDD\u5B58\u8349\u7A3F",M5="\u4FDD\u5B58",C5="\u53D6\u6D88",L5="\u4E0A\u4F20\u56FE\u7247",j5="\u53D1\u8D77\u7B7E\u7F72",N5="\u4E0A\u4F20\u9644\u4EF6",V5="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",z5="\u5F15\u7528\u5217\u8868",H5="\u9009\u9879\u4E00",q5="\u9009\u9879\u4E8C",U5="\u9009\u9879\u4E09",W5={isNotNumber:Gn,isNotString:EB,isNotObject:SB,isNotArray:TB,isNotBoolean:RB,runtimeRequired:BB,pleaseEnterCaption:DB,pleaseEnterCaptionTip:AB,pleaseEnterRowCaption:IB,pleaseEnterPlaceholder:kB,pleaseEnterFieldCode:FB,pleaseEnterForm:xB,pleaseEnterList:MB,pleaseEnterProcess:CB,pleaseEnterLabel:LB,pleaseEnterValue:jB,bizKeyNotBindFiled:NB,pleaseSelectOneField:VB,pleaseEnterNumberRange:zB,pleaseEnterAValueGreaterThanMin:HB,pleaseEnterAValueLessThanMax:qB,numberRangeSetError:UB,stringRangeError:WB,attachmentMaxSize:KB,pleaseEnterTotalScoreSetting:GB,theTotalScoreMustNotBeLessThan1:XB,scoreDefaultValueRange:QB,attachmentLimitError:JB,PleaseReselectTheOptionalQuantity:ZB,TheMaximumLengthIsGreaterThanTheMinimumLength:YB,TheMinimumLengthIsGreaterThanTheMaximumLength:t3,PleaseSelectTheCorrectOptionSettings:e3,optionIdIsRepeat:n3,optionIsRequired:o3,pleaseEnterDataCode:r3,pleaseEnterValueFieldCode:i3,pleaseEnterSvcCode:u3,pleaseBindAtLeastOneDisplayValue:l3,pleaseSelectProvince:c3,pleaseSelectCity:a3,pleaseSelectDistrict:f3,limitRowsCannotBeLessThan0:_3,TheNumberOfRowsCannotBeLessThanMinRows:s3,pleaseEnterColumnWidth:y3,pleaseSetTheLogicalRelationshipOfAllRuleConditions:p3,pleaseCompleteAllRulesAndConditions:d3,pleaseSelectControl:v3,pleaseSelectAtLeastOneColumn:h3,pleaseSelectFillBackMode:b3,pleaseSelectDashboard:m3,rootNodeIsRequired:g3,theViewNameCannotBeEmpty:O3,pleaseSelectOcrType:w3,pleaseSelectAtLeastOneFieldToFillIn:$3,pleaseChooseAtLeastOne:P3,pleaseEnterButtonContent:E3,pleaseEnterDataCodeInDataSetting:S3,pleaseEnterValueFieldCodeInDataSetting:T3,pleaseEnterSvcCodeInDataSetting:R3,pleaseBindAtLeastOneDisplayValueInDataSetting:B3,rootNodeIsRequiredInDataSetting:D3,pleaseEnterMaxHeight:A3,pleaseEnterWatermark:I3,pleaseEnterFileName:k3,pleaseUploadAtLeastOnePrintTemplate:F3,pleaseAssignBusiness:x3,pleaseAssignExternal:M3,pleaseEnterAliasCode:C3,pleaseSelectDataCode:L3,pleaseSelectSvcCode:j3,pleaseSelectJoinFieldCode:N3,pleaseSelectMainFieldCode:V3,pleaseSelectSortFieldCode:z3,batchDeleteButton:H3,batchPrintListButton:q3,batchPrintRecordList:U3,button:W3,createFormListButton:K3,dashboard:G3,divider:X3,exportListButton:Q3,formSelectButton:J3,importRecordListButton:Z3,invoiceCheckButton:Y3,link:t1,listSelectButton:e1,ListViewSelect:n1,operationButton:o1,pagination:r1,submissionRecordListButton:i1,text:u1,textOcrButton:l1,title:c1,approvalStatusColumn:a1,array:f1,autoNumber:_1,custom:s1,decimal:y1,department:p1,employee:d1,file:v1,image:h1,location:b1,operation:m1,order:g1,people:O1,long:w1,timescope:$1,timestamp:P1,varchar:E1,gridLayoutWrap:S1,gridTable:T1,subTable:R1,address:B1,amount:D1,calc:A1,checkBox:I1,electronicSignature:k1,input:F1,number:x1,organizationSelection:M1,radio:C1,richText:L1,score:j1,searchNumberRange:N1,select:V1,selectMultiple:z1,selectRelation:H1,textarea:q1,tree:U1,vueFormItem:W1,vuePage:K1,WPS:G1,actionBar:X1,advancedContainer:Q1,cardGroup:J1,col:Z1,dataView:Y1,grid:tD,gridLayoutContainer:eD,gridRow:nD,listView:oD,page:rD,position:iD,positioningContainer:uD,row:lD,subtableColumn:cD,subtableRow:aD,tab:fD,tabPane:_D,toolbox:sD,batchSubmissionListButton:yD,exportRecordListButton:pD,listViewSelect:dD,endTime:vD,startTime:hD,unit:bD,result:mD,currency:gD,endDate:OD,startDate:wD,pleaseSelectCompanyName:$D,pleaseSelectPhoneOrEmail:PD,pleaseSelectSignType:ED,pleaseSelectSigner:SD,pleaseSelectOnlyOne:TD,pleaseSelectSignFile:RD,pleaseSelect:BD,pleaseSelectOrg:DD,pleaseSelectDept:AD,pleaseSelectEndDate:ID,pleaseSelectStartDate:kD,pleaseChooseAddress:FD,modalConfirm:xD,tabChange:MD,rowSelected:CD,listDataImport:LD,rowDelete:jD,rowClick:ND,cellRender:VD,onClickBtn:zD,rename:HD,onSaveFile:qD,onOpenFile:UD,onFocus:WD,onBlur:KD,onInput:GD,listDataAdd:XD,listDataDelete:QD,listDataBack:JD,listDataCreate:ZD,listDataChange:YD,search:t5,valueChange:e5,finished:n5,click:o5,pleaseEnterNameorEmail:r5,pleaseEnterDate:i5,pleaseEnterAutonumber:u5,pleaseEnter:l5,defaultTemplate:c5,left:a5,top:f5,default:"\u666E\u901A",readonly:_5,required:s5,textTip:y5,hideCaption:p5,titleRequired:d5,organizationalForm:v5,businessType:h5,deleteConfirm:b5,hide:m5,processStatus:g5,approvedDocuments:O5,delete:w5,edit:$5,view:P5,loadCtrlErrorTip:E5,loadCtrlError:S5,fullLine:T5,min:R5,max:B5,createWPS:D5,reset:A5,query:I5,detailed:k5,print:F5,draft:x5,save:M5,cancel:C5,uploadImg:L5,signature:j5,uploadFile:N5,linkContent:V5,referenceList:z5,optionOne:H5,optionTwo:q5,optionThird:U5},K5="Please enter a number",G5="Please enter a string",X5="Please enter an object",Q5="Please enter an array",J5="Please enter a boolean",Z5="{caption} Required",Y5="Please enter the title",t2="Please enter the bubble prompt",e2="Please enter the row title",n2="Please enter the prompt text",o2="Please bind data items",r2="Please bind the form",i2="Please bind the list",u2="Please bind the process",l2="Please enter the displayed value",c2="Please enter the stored value",a2="The document number is not bound to the data item",f2="Please select at least one display field",_2="Please enter a value greater than or equal to {min} and less than or equal to {max}",s2="Please enter a value greater than or equal to {min}",y2="Please enter a value less than or equal to {max}",p2="The value range is set incorrectly",d2="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",v2="The attachment size must be between 0MB and 1000MB",h2="Please fill in the total score setting",b2="The total score cannot be less than 1",m2="The default value must be between {min} and {max}",g2="The number of attachment uploads exceeds the limit",O2="Please re-select the optional quantity",w2="The maximum length of the control must be greater than the minimum length",$2="The minimum length of the control must be less than the maximum length",P2="Please select the correct option setting",E2="Option ID cannot be repeated",S2="Please enter at least one option",T2="Please bind the data source",R2="Please bind the stored value",B2="Please bind the service",D2="At least one display value must be bound",A2="Please select a province",I2="Please select a city",k2="Please select a district",F2="The minimum number of lines to fill in cannot be less than 0",x2="The number of rows cannot be less than {min} rows",M2="Please enter the column width",C2="Please set the logical relationship of all rule conditions",L2="Please complete all rules and conditions",j2="please select control",N2="Please select the dashboard",V2="View name cannot be empty",z2="Please select recognition type",H2="Please select at least one field to fill in",q2="Please select at least one",U2="Please enter the button title",W2="Please bind the business model in the data settings",K2="Please bind storage values in data settings",G2="Please bind the service in the data settings",X2="Please bind at least one display value in the data settings",Q2="Please select the root node in the data settings",J2="Please enter the maximum height",Z2="The input content cannot be empty",Y2="Watermark cannot be empty",tA="File name cannot be empty",eA="Please upload at least one printing template!\uFF01",nA="Please select a specific business department",oA="Please select a specified external organization",rA="Please enter a sub table alias",iA="Please select the associated table to set the business model",uA="Please select the association table to set the binding service",lA="Select associated sub table fields",cA="Please select the associated main table field",aA="Please select the sort field",fA="\u6279\u91CF\u5220\u9664",_A="\u6279\u91CF\u6253\u5370",sA="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",yA="\u6309\u94AE",pA="\u521B\u5EFA\u5355\u636E",dA="\u4EEA\u8868\u76D8",vA="\u5206\u5272\u7EBF",hA="\u5BFC\u51FA",bA="\u8868\u5355\u64CD\u4F5C",mA="\u5BFC\u5165",gA="\u53D1\u7968\u8BC6\u522B",OA="\u94FE\u63A5",wA="\u5217\u8868\u9009\u62E9",$A="\u5217\u8868\u89C6\u56FE",PA="\u64CD\u4F5C\u6309\u94AE",EA="\u5206\u9875",SA="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",TA="\u8BF4\u660E\u6587\u5B57",RA="\u6587\u5B57\u8BC6\u522B",BA="\u6807\u9898\u7EC4\u4EF6",DA="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",AA="\u6570\u7EC4",IA="\u81EA\u52A8\u7F16\u53F7",kA="\u81EA\u5B9A\u4E49",FA="\u6570\u503C",xA="\u90E8\u95E8",MA="\u4EBA\u5458",CA="\u9644\u4EF6",LA="\u56FE\u7247",jA="\u5730\u5740",NA="\u64CD\u4F5C",VA="\u5E8F\u53F7",zA="\u4EBA\u5458",HA="\u957F\u6587\u672C",qA="\u65E5\u671F\u533A\u95F4",UA="\u65E5\u671F",WA="\u77ED\u6587\u672C",KA="\u6362\u884C\u5BB9\u5668Wrap",GA="\u8868\u683C",XA="\u660E\u7EC6\u5B50\u8868",QA="\u5730\u5740",JA="\u91D1\u989D",ZA="\u8BA1\u7B97\u516C\u5F0F",YA="\u591A\u9009",tI="\u7535\u5B50\u7B7E\u7AE0",eI="\u5355\u884C\u6587\u672C",nI="\u6570\u5B57",oI="\u4E1A\u52A1\u7EC4\u7EC7",rI="\u5355\u9009",iI="\u5BCC\u6587\u672C",uI="\u8BC4\u5206",lI="\u6570\u5B57\u533A\u95F4",cI="\u4E0B\u62C9\u5355\u9009",aI="\u4E0B\u62C9\u591A\u9009",fI="\u5173\u8054\u5355\u9009",_I="\u591A\u884C\u6587\u672C",sI="\u6811",yI="Vue\u5BB9\u5668",pI="Vue\u9875\u9762",dI="\u5728\u7EBF\u6587\u6863",vI="\u6309\u94AE\u64CD\u4F5C\u680F",hI="\u9AD8\u7EA7\u5BB9\u5668",bI="\u5206\u7EC4",mI="\u6805\u683C\u5217",gI="\u6570\u636E\u5BB9\u5668",OI="\u753B\u5E03",wI="\u6362\u884C\u5BB9\u5668",$I="\u6805\u683C\u7B49\u5206\u884C",PI="\u5217\u8868\u5BB9\u5668",EI="\u81EA\u7531\u9875\u9762",SI="\u5B9A\u4F4D\u5B50\u5BB9\u5668",TI="\u5B9A\u4F4D\u5BB9\u5668",RI="\u6805\u683C\u5E03\u5C40",BI="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",DI="\u660E\u7EC6\u5B50\u8868\u884C",AI="\u6807\u7B7E\u9875",II="\u6807\u7B7E\u5355\u5143",kI="\u5DE5\u5177\u680F",FI="\u6279\u91CF\u63D0\u4EA4",xI="\u5BFC\u51FA\u8BB0\u5F55",MI="\u5217\u8868\u89C6\u56FE",CI="\u5F15\u7528\u5217\u8868",LI="\u9009\u9879\u4E00",jI="\u9009\u9879\u4E8C",NI="\u9009\u9879\u4E09",VI={isNotNumber:K5,isNotString:G5,isNotObject:X5,isNotArray:Q5,isNotBoolean:J5,runtimeRequired:Z5,pleaseEnterCaption:Y5,pleaseEnterCaptionTip:t2,pleaseEnterRowCaption:e2,pleaseEnterPlaceholder:n2,pleaseEnterFieldCode:o2,pleaseEnterForm:r2,pleaseEnterList:i2,pleaseEnterProcess:u2,pleaseEnterLabel:l2,pleaseEnterValue:c2,bizKeyNotBindFiled:a2,pleaseSelectOneField:f2,pleaseEnterNumberRange:_2,pleaseEnterAValueGreaterThanMin:s2,pleaseEnterAValueLessThanMax:y2,numberRangeSetError:p2,stringRangeError:d2,attachmentMaxSize:v2,pleaseEnterTotalScoreSetting:h2,theTotalScoreMustNotBeLessThan1:b2,scoreDefaultValueRange:m2,attachmentLimitError:g2,PleaseReselectTheOptionalQuantity:O2,TheMaximumLengthIsGreaterThanTheMinimumLength:w2,TheMinimumLengthIsGreaterThanTheMaximumLength:$2,PleaseSelectTheCorrectOptionSettings:P2,optionIdIsRepeat:E2,optionIsRequired:S2,pleaseEnterDataCode:T2,pleaseEnterValueFieldCode:R2,pleaseEnterSvcCode:B2,pleaseBindAtLeastOneDisplayValue:D2,pleaseSelectProvince:A2,pleaseSelectCity:I2,pleaseSelectDistrict:k2,limitRowsCannotBeLessThan0:F2,TheNumberOfRowsCannotBeLessThanMinRows:x2,pleaseEnterColumnWidth:M2,pleaseSetTheLogicalRelationshipOfAllRuleConditions:C2,pleaseCompleteAllRulesAndConditions:L2,pleaseSelectControl:j2,pleaseSelectDashboard:N2,theViewNameCannotBeEmpty:V2,pleaseSelectOcrType:z2,pleaseSelectAtLeastOneFieldToFillIn:H2,pleaseChooseAtLeastOne:q2,pleaseEnterButtonContent:U2,pleaseEnterDataCodeInDataSetting:W2,pleaseEnterValueFieldCodeInDataSetting:K2,pleaseEnterSvcCodeInDataSetting:G2,pleaseBindAtLeastOneDisplayValueInDataSetting:X2,rootNodeIsRequiredInDataSetting:Q2,pleaseEnterMaxHeight:J2,pleaseEnter:Z2,pleaseEnterWatermark:Y2,pleaseEnterFileName:tA,pleaseUploadAtLeastOnePrintTemplate:eA,pleaseAssignBusiness:nA,pleaseAssignExternal:oA,pleaseEnterAliasCode:rA,pleaseSelectDataCode:iA,pleaseSelectSvcCode:uA,pleaseSelectJoinFieldCode:lA,pleaseSelectMainFieldCode:cA,pleaseSelectSortFieldCode:aA,batchDeleteButton:fA,batchPrintListButton:_A,batchPrintRecordList:sA,button:yA,createFormListButton:pA,dashboard:dA,divider:vA,exportListButton:hA,formSelectButton:bA,importRecordListButton:mA,invoiceCheckButton:gA,link:OA,listSelectButton:wA,ListViewSelect:$A,operationButton:PA,pagination:EA,submissionRecordListButton:SA,text:TA,textOcrButton:RA,title:BA,approvalStatusColumn:DA,array:AA,autoNumber:IA,custom:kA,decimal:FA,department:xA,employee:MA,file:CA,image:LA,location:jA,operation:NA,order:VA,people:zA,long:HA,timescope:qA,timestamp:UA,varchar:WA,gridLayoutWrap:KA,gridTable:GA,subTable:XA,address:QA,amount:JA,calc:ZA,checkBox:YA,electronicSignature:tI,input:eI,number:nI,organizationSelection:oI,radio:rI,richText:iI,score:uI,searchNumberRange:lI,select:cI,selectMultiple:aI,selectRelation:fI,textarea:_I,tree:sI,vueFormItem:yI,vuePage:pI,WPS:dI,actionBar:vI,advancedContainer:hI,cardGroup:bI,col:mI,dataView:gI,grid:OI,gridLayoutContainer:wI,gridRow:$I,listView:PI,page:EI,position:SI,positioningContainer:TI,row:RI,subtableColumn:BI,subtableRow:DI,tab:AI,tabPane:II,toolbox:kI,batchSubmissionListButton:FI,exportRecordListButton:xI,listViewSelect:MI,referenceList:CI,optionOne:LI,optionTwo:jI,optionThird:NI},zI="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",HI="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",qI="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",UI="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",WI="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",KI="{caption}\u5FC5\u9808",GI="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",XI="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",QI="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",JI="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ZI="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",YI="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",tk="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ek="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",nk="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ok="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",rk="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",ik="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",uk="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",lk="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ck="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ak="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",fk="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",_k="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",sk="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",yk="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",pk="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",dk="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",vk="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",hk="\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",bk="\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",mk="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",gk="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Ok="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",wk="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",$k="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Pk="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ek="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Sk="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Tk="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Rk="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Bk="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Dk="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Ak="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ik="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",kk="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Fk="please select control",xk="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Mk="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ck="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Lk="\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",jk="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Nk="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Vk="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",zk="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Hk="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",qk="\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",Uk="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Wk="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Kk="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Gk="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Xk="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Qk="\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",Jk="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Zk="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Yk="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",t6="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",e6="\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",n6="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",o6="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",r6="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",i6="\u6279\u91CF\u5220\u9664",u6="\u6279\u91CF\u6253\u5370",l6="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",c6="\u6309\u94AE",a6="\u521B\u5EFA\u5355\u636E",f6="\u4EEA\u8868\u76D8",_6="\u5206\u5272\u7EBF",s6="\u5BFC\u51FA",y6="\u8868\u5355\u64CD\u4F5C",p6="\u5BFC\u5165",d6="\u53D1\u7968\u8BC6\u522B",v6="\u94FE\u63A5",h6="\u5217\u8868\u9009\u62E9",b6="\u5217\u8868\u89C6\u56FE",m6="\u64CD\u4F5C\u6309\u94AE",g6="\u5206\u9875",O6="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",w6="\u8BF4\u660E\u6587\u5B57",$6="\u6587\u5B57\u8BC6\u522B",P6="\u6807\u9898\u7EC4\u4EF6",E6="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",S6="\u6570\u7EC4",T6="\u81EA\u52A8\u7F16\u53F7",R6="\u81EA\u5B9A\u4E49",B6="\u6570\u503C",D6="\u90E8\u95E8",A6="\u4EBA\u5458",I6="\u9644\u4EF6",k6="\u56FE\u7247",F6="\u5730\u5740",x6="\u64CD\u4F5C",M6="\u5E8F\u53F7",C6="\u4EBA\u5458",L6="\u957F\u6587\u672C",j6="\u65E5\u671F\u533A\u95F4",N6="\u65E5\u671F",V6="\u77ED\u6587\u672C",z6="\u6362\u884C\u5BB9\u5668Wrap",H6="\u8868\u683C",q6="\u660E\u7EC6\u5B50\u8868",U6="\u5730\u5740",W6="\u91D1\u989D",K6="\u8BA1\u7B97\u516C\u5F0F",G6="\u591A\u9009",X6="\u7535\u5B50\u7B7E\u7AE0",Q6="\u5355\u884C\u6587\u672C",J6="\u6570\u5B57",Z6="\u4E1A\u52A1\u7EC4\u7EC7",Y6="\u5355\u9009",tF="\u5BCC\u6587\u672C",eF="\u8BC4\u5206",nF="\u6570\u5B57\u533A\u95F4",oF="\u4E0B\u62C9\u5355\u9009",rF="\u4E0B\u62C9\u591A\u9009",iF="\u5173\u8054\u5355\u9009",uF="\u591A\u884C\u6587\u672C",lF="\u6811",cF="Vue\u5BB9\u5668",aF="Vue\u9875\u9762",fF="\u5728\u7EBF\u6587\u6863",_F="\u6309\u94AE\u64CD\u4F5C\u680F",sF="\u9AD8\u7EA7\u5BB9\u5668",yF="\u5206\u7EC4",pF="\u6805\u683C\u5217",dF="\u6570\u636E\u5BB9\u5668",vF="\u753B\u5E03",hF="\u6362\u884C\u5BB9\u5668",bF="\u6805\u683C\u7B49\u5206\u884C",mF="\u5217\u8868\u5BB9\u5668",gF="\u81EA\u7531\u9875\u9762",OF="\u5B9A\u4F4D\u5B50\u5BB9\u5668",wF="\u5B9A\u4F4D\u5BB9\u5668",$F="\u6805\u683C\u5E03\u5C40",PF="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",EF="\u660E\u7EC6\u5B50\u8868\u884C",SF="\u6807\u7B7E\u9875",TF="\u6807\u7B7E\u5355\u5143",RF="\u5DE5\u5177\u680F",BF="\u6279\u91CF\u63D0\u4EA4",DF="\u5BFC\u51FA\u8BB0\u5F55",AF="\u5217\u8868\u89C6\u56FE",IF="\u5F15\u7528\u5217\u8868",kF="\u9009\u9879\u4E00",FF="\u9009\u9879\u4E8C",xF="\u9009\u9879\u4E09",MF={isNotNumber:zI,isNotString:HI,isNotObject:qI,isNotArray:UI,isNotBoolean:WI,runtimeRequired:KI,pleaseEnterCaption:GI,pleaseEnterCaptionTip:XI,pleaseEnterRowCaption:QI,pleaseEnterPlaceholder:JI,pleaseEnterFieldCode:ZI,pleaseEnterForm:YI,pleaseEnterList:tk,pleaseEnterProcess:ek,pleaseEnterLabel:nk,pleaseEnterValue:ok,bizKeyNotBindFiled:rk,pleaseSelectOneField:ik,pleaseEnterNumberRange:uk,pleaseEnterAValueGreaterThanMin:lk,pleaseEnterAValueLessThanMax:ck,numberRangeSetError:ak,stringRangeError:fk,attachmentMaxSize:_k,pleaseEnterTotalScoreSetting:sk,theTotalScoreMustNotBeLessThan1:yk,scoreDefaultValueRange:pk,attachmentLimitError:dk,PleaseReselectTheOptionalQuantity:vk,TheMaximumLengthIsGreaterThanTheMinimumLength:hk,TheMinimumLengthIsGreaterThanTheMaximumLength:bk,PleaseSelectTheCorrectOptionSettings:mk,optionIdIsRepeat:gk,optionIsRequired:Ok,pleaseEnterDataCode:wk,pleaseEnterValueFieldCode:$k,pleaseEnterSvcCode:Pk,pleaseBindAtLeastOneDisplayValue:Ek,pleaseSelectProvince:Sk,pleaseSelectCity:Tk,pleaseSelectDistrict:Rk,limitRowsCannotBeLessThan0:Bk,TheNumberOfRowsCannotBeLessThanMinRows:Dk,pleaseEnterColumnWidth:Ak,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ik,pleaseCompleteAllRulesAndConditions:kk,pleaseSelectControl:Fk,pleaseSelectDashboard:xk,theViewNameCannotBeEmpty:Mk,pleaseSelectOcrType:Ck,pleaseSelectAtLeastOneFieldToFillIn:Lk,pleaseChooseAtLeastOne:jk,pleaseEnterButtonContent:Nk,pleaseEnterDataCodeInDataSetting:Vk,pleaseEnterValueFieldCodeInDataSetting:zk,pleaseEnterSvcCodeInDataSetting:Hk,pleaseBindAtLeastOneDisplayValueInDataSetting:qk,rootNodeIsRequiredInDataSetting:Uk,pleaseEnterMaxHeight:Wk,pleaseEnter:Kk,pleaseEnterWatermark:Gk,pleaseEnterFileName:Xk,pleaseUploadAtLeastOnePrintTemplate:Qk,pleaseAssignBusiness:Jk,pleaseAssignExternal:Zk,pleaseEnterAliasCode:Yk,pleaseSelectDataCode:t6,pleaseSelectSvcCode:e6,pleaseSelectJoinFieldCode:n6,pleaseSelectMainFieldCode:o6,pleaseSelectSortFieldCode:r6,batchDeleteButton:i6,batchPrintListButton:u6,batchPrintRecordList:l6,button:c6,createFormListButton:a6,dashboard:f6,divider:_6,exportListButton:s6,formSelectButton:y6,importRecordListButton:p6,invoiceCheckButton:d6,link:v6,listSelectButton:h6,ListViewSelect:b6,operationButton:m6,pagination:g6,submissionRecordListButton:O6,text:w6,textOcrButton:$6,title:P6,approvalStatusColumn:E6,array:S6,autoNumber:T6,custom:R6,decimal:B6,department:D6,employee:A6,file:I6,image:k6,location:F6,operation:x6,order:M6,people:C6,long:L6,timescope:j6,timestamp:N6,varchar:V6,gridLayoutWrap:z6,gridTable:H6,subTable:q6,address:U6,amount:W6,calc:K6,checkBox:G6,electronicSignature:X6,input:Q6,number:J6,organizationSelection:Z6,radio:Y6,richText:tF,score:eF,searchNumberRange:nF,select:oF,selectMultiple:rF,selectRelation:iF,textarea:uF,tree:lF,vueFormItem:cF,vuePage:aF,WPS:fF,actionBar:_F,advancedContainer:sF,cardGroup:yF,col:pF,dataView:dF,grid:vF,gridLayoutContainer:hF,gridRow:bF,listView:mF,page:gF,position:OF,positioningContainer:wF,row:$F,subtableColumn:PF,subtableRow:EF,tab:SF,tabPane:TF,toolbox:RF,batchSubmissionListButton:BF,exportRecordListButton:DF,listViewSelect:AF,referenceList:IF,optionOne:kF,optionTwo:FF,optionThird:xF},uf={zhCN:W5,enUS:VI,jaJP:MF},lf,CF=(lf=window.localStorage.getItem("locale"))!==null&&lf!==void 0?lf:"zh-CN",Mo=function(e){return e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search",e}({}),p=function(e){return e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",e.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.ORGANIZATION_SELECTION="organization-selection",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.OPERATION_BUTTON="operation-button",e.EMPLOYEE_COLUMN="employee-column",e.Approval_Status_Column="approval-status-column",e.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.GRID_LAYOUT_CONTAINER="grid-layout-container",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.ACTION_BAR="action-bar",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2",e.GRID_LAYOUT_WRAP="grid-layout-wrap",e.VUE_PAGE="vue-page",e.REFERENCE_LIST="reference-list",e}({}),O=function(e){return e.VARCHAR="varchar",e.TEXT="text",e.ARRAY="array",e.ADDRESS="location",e.DECIMAL="decimal",e.DECIMAL_RANGE="decimal_range",e.TIMESTAMP="timestamp",e.EMPLOYEES="people",e.DEPARTMENTS="department",e.MONEY="money",e.TIMESCOPE="timescope",e.FILE="file",e.IMAGE="image",e.AUTO_NUMBER="auto_number",e.CALC="calc",e.LIST="list",e.JSON="json",e.ANY="ANY",e}({}),Me=function(e){return e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime",e}({}),S0={DEFAULT:"default"},T0="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",LF=T0+"0123456789";function Vt(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",n=0;n<e;n++){var o=n===0?T0:LF,r=Math.random()*o.length;t+=o[parseInt(String(r),10)]}return t}function cf(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function jF(e){if(Array.isArray(e))return cf(e)}function NF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R0(e,t,n){return t=Xn(t),qF(e,ff()?Reflect.construct(t,n||[],Xn(e).constructor):t.apply(e,n))}function B0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Co(e,t,n){return ff()?Co=Reflect.construct:Co=function(r,i,u){var l=[null];l.push.apply(l,i);var a=Function.bind.apply(r,l),c=new a;return u&&Qn(c,u.prototype),c},Co.apply(null,arguments)}function Xn(e){return Xn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xn(e)}function D0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qn(e,t)}function VF(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function zF(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function HF(){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 qF(e,t){return t&&(UF(t)==="object"||typeof t=="function")?t:NF(e)}function Qn(e,t){return Qn=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qn(e,t)}function A0(e){return jF(e)||zF(e)||WF(e)||HF()}function UF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WF(e,t){if(!!e){if(typeof e=="string")return cf(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return cf(e,t)}}function af(e){var t=typeof Map=="function"?new Map:void 0;return af=function(o){if(o===null||!VF(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(o))return t.get(o);t.set(o,r)}function r(){return Co(o,arguments,Xn(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Qn(r,o)},af(e)}function ff(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ff=function(){return!!e})()}var _f=console;function sf(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o,r=t.slice(1);(o=_f).warn.apply(o,["\u{1F9D0} Driven Warning:"+t[0]].concat(A0(r)))}function Lo(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o,r=t.slice(1);(o=_f).log.apply(o,["\u{1F680} Driven Log:"+t[0]].concat(A0(r)))}function KF(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var yf=function(e){D0(t,e);function t(n){B0(this,t);var o;return o=R0(this,t,[n]),o.name="\u{1F4A5} Driven Error",o.message=n?KF(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return t}(af(Error)),GF=function(e){D0(t,e);function t(n){B0(this,t);var o;return o=R0(this,t,[n]),o.name="\u{1F6A8} Driven Reference Error",o}return t}(yf);function Jn(e){throw new yf(e)}function I0(e){throw new GF(e)}function XF(e){_f.error(new yf(e))}const f=(e,t,n)=>{if(!e)return console.error("getLocaleText\u7684key\u4E0D\u80FD\u4E3A\u7A7A"),"";const o=e.split(".");let r;const i=(window.baitedaWorkers||{}).languageMessages||{};o.forEach((l,a)=>{a===0?r=i[l]:r&&(r=r[l])});let u="";return r&&(u=r),t&&Object.keys(t).forEach(l=>{const a=t[l];u=u.replace(new RegExp(`\\{\\s*${l}\\s*\\}`,"g"),a)}),u||(n?u=n:u=e),u};function QF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k0(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function JF(e,t,n){return t&&k0(e.prototype,t),n&&k0(e,n),e}function ZF(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var F0=function(){function e(){QF(this,e)}return JF(e,null,[{key:"getMessage",value:function(n){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r;return f("CMD."+n,o,uf==null||(r=uf[CF.split("-").join("")])===null||r===void 0?void 0:r[n])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(n,o){}}]),e}();ZF(F0,"$i18n",F0.resetI18n());function YF(e,t,n){var o=t.replace(/\[(\d)]/g,function(i,u){return"."+u}).split("."),r=!1;return o.reduce(function(i,u,l,a){var c=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,u)){sf("Can not set ".concat(t,"'s ").concat(u," property in current %o, Because there is no ").concat(u," property on the %o"),i,i);return}return l===a.length-1&&!Object.is(c[u],n)&&(c[u]=n,r=!0),c[u]}},e),r}var tx=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},pf={exports:{}};(function(e){(function(t){var n=function(v,w,T){if(!c(w)||y(w)||d(w)||m(w)||a(w))return w;var E,R=0,z=0;if(_(w))for(E=[],z=w.length;R<z;R++)E.push(n(v,w[R],T));else{E={};for(var A in w)Object.prototype.hasOwnProperty.call(w,A)&&(E[v(A,T)]=n(v,w[A],T))}return E},o=function(v,w){w=w||{};var T=w.separator||"_",E=w.split||/(?=[A-Z])/;return v.split(E).join(T)},r=function(v){return g(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function(w,T){return T?T.toUpperCase():""}),v.substr(0,1).toLowerCase()+v.substr(1))},i=function(v){var w=r(v);return w.substr(0,1).toUpperCase()+w.substr(1)},u=function(v,w){return o(v,w).toLowerCase()},l=Object.prototype.toString,a=function(v){return typeof v=="function"},c=function(v){return v===Object(v)},_=function(v){return l.call(v)=="[object Array]"},y=function(v){return l.call(v)=="[object Date]"},d=function(v){return l.call(v)=="[object RegExp]"},m=function(v){return l.call(v)=="[object Boolean]"},g=function(v){return v=v-0,v===v},b=function(v,w){var T=w&&"process"in w?w.process:w;return typeof T!="function"?v:function(E,R){return T(E,v,R)}},$={camelize:r,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(v,w){return n(b(r,w),v)},decamelizeKeys:function(v,w){return n(b(u,w),v,w)},pascalizeKeys:function(v,w){return n(b(i,w),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=$:t.humps=$})(tx)})(pf);var x0={};Object.defineProperty(x0,"__esModule",{value:!0});function df(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:df(t));{const t={};for(const n in e){const o=e[n];t[n]=typeof o!="object"||o===null?o:df(o)}return t}}var ex=x0.default=df;function nx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kt(e){if(e!==void 0)return(typeof e=="undefined"?"undefined":nx(e))==="object"?ex(e):e}function _t(e){return M0(e)&&"zh"in e}function M0(e){return Object.prototype.toString.call(e)==="[object Object]"}function jo(e){return Array.isArray(e)}function Ce(e){return isNaN(parseFloat(e))?"":Number(e)}function ox(e){return e.reduce(function(t,n){return t.includes(n)||t.push(n),t},[])}function L(e,t){var n=[];return Array.isArray(e)&&(n=e.map(function(o){var r=o;return Array.isArray(o==null?void 0:o.children)&&(r.children=L(o.children,t)),Array.isArray(o==null?void 0:o.footers)&&(r.footers=L(o.footers,t)),t(r)})),n}function rx(e){return pf.exports.camelizeKeys(e)}function ie(e){return pf.exports.decamelizeKeys(e)}function vf(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function ix(e){if(Array.isArray(e))return vf(e)}function C0(e,t,n,o,r,i,u){try{var l=e[i](u),a=l.value}catch(c){n(c);return}l.done?t(a):Promise.resolve(a).then(o,r)}function ux(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(a){C0(i,o,r,u,l,"next",a)}function l(a){C0(i,o,r,u,l,"throw",a)}u(void 0)})}}function lx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function L0(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function cx(e,t,n){return t&&L0(e.prototype,t),n&&L0(e,n),e}function j0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ax(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function fx(){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 hf(e){return ix(e)||ax(e)||_x(e)||fx()}function _x(e,t){if(!!e){if(typeof e=="string")return vf(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return vf(e,t)}}function sx(e,t){var n,o,r,i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},u=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return u.next=l(0),u.throw=l(1),u.return=l(2),typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function l(c){return function(_){return a([c,_])}}function a(c){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,c[0]&&(i=0)),i;)try{if(n=1,o&&(r=c[0]&2?o.return:c[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,c[1])).done)return r;switch(o=0,r&&(c=[c[0]&2,r.value]),c[0]){case 0:case 1:r=c;break;case 4:return i.label++,{value:c[1],done:!1};case 5:i.label++,o=c[1],c=[0];continue;case 7:c=i.ops.pop(),i.trys.pop();continue;default:if(r=i.trys,!(r=r.length>0&&r[r.length-1])&&(c[0]===6||c[0]===2)){i=0;continue}if(c[0]===3&&(!r||c[1]>r[0]&&c[1]<r[3])){i.label=c[1];break}if(c[0]===6&&i.label<r[1]){i.label=r[1],r=c;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(c);break}r[2]&&i.ops.pop(),i.trys.pop();continue}c=t.call(e,i)}catch(_){c=[6,_],o=0}finally{n=r=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var yx=function(){function e(){lx(this,e),j0(this,"_events",new Map),j0(this,"debug",!1)}return cx(e,[{key:"emit",value:function(n){for(var o=arguments.length,r=new Array(o>1?o-1:0),i=1;i<o;i++)r[i-1]=arguments[i];return ux(function(){var u,l,a,c,_,y,d,m,g,b,$,v;return sx(this,function(w){switch(w.label){case 0:if(u=this._events.get(n),l=[],!u)return[3,10];a=u.slice(),c=!0,_=!1,y=void 0,w.label=1;case 1:w.trys.push([1,8,9,10]),d=a[Symbol.iterator](),w.label=2;case 2:if(c=(m=d.next()).done)return[3,7];if(g=m.value,!u.includes(g))return[3,6];w.label=3;case 3:return w.trys.push([3,5,,6]),this.debug&&Lo.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(g.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+g.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(r.map(function(){return"%o"}).join(","),"\u3002")].concat(hf(r))),[4,g.apply(null,hf(r))];case 4:return b=w.sent(),this.debug&&Lo.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(g.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+g.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(r.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(hf(r),[b])),l.push(b),b===!1?[3,7]:[3,6];case 5:return $=w.sent(),XF(String($)+":"+String($.stack)),[3,6];case 6:return c=!0,[3,2];case 7:return[3,10];case 8:return v=w.sent(),_=!0,y=v,[3,10];case 9:try{!c&&d.return!=null&&d.return()}finally{if(_)throw y}return[7];case 10:return[2,l]}})}).call(this)}},{key:"on",value:function(n,o){if(this._events.has(n)){var r;(r=this._events.get(n))===null||r===void 0||r.push(o)}else this._events.set(n,[o])}},{key:"off",value:function(n,o){if(this._events.has(n)){var r=this._events.get(n),i=r==null?void 0:r.indexOf(o);r==null||r.splice(i,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),e}();function px(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function N0(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function dx(e,t,n){return t&&N0(e.prototype,t),n&&N0(e,n),e}function vx(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var hx=[{key:"on_click",name:f("CMD.click",null,"\u70B9\u51FB\u65F6"),code:"click"},{key:"on_click_finish",name:f("CMD.finished",null,"\u6267\u884C\u5B8C\u6210\u65F6"),code:"click-finish"},{key:"on_change",name:f("CMD.valueChange",null,"\u503C\u53D1\u751F\u53D8\u5316\u65F6"),code:"change"},{key:"on_search",name:f("CMD.search",null,"\u641C\u7D22\u65F6"),code:"search"},{key:"on_list_change",name:f("CMD.listDataChange",null,"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6"),code:"list-change"},{key:"on_list_search",name:f("CMD.listDataCreate",null,"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"list-search"},{key:"on_list_mounted",name:f("CMD.listDataBack",null,"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6"),code:"list-mounted"},{key:"on_list_delete",name:f("CMD.listDataDelete",null,"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6"),code:"list-delete"},{key:"on_list_before_insert",name:f("CMD.listDataAdd",null,"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D"),code:"list-before-insert"},{key:"on_input",name:f("CMD.onInput",null,"\u7528\u6237\u8F93\u5165\u65F6"),code:"input"},{key:"on_blur",name:f("CMD.onBlur",null,"\u5931\u53BB\u7126\u70B9\u65F6"),code:"blur"},{key:"on_focus",name:f("CMD.onFocus",null,"\u83B7\u53D6\u7126\u70B9\u65F6"),code:"focus"},{key:"on_wps_open",name:f("CMD.onOpenFile",null,"\u6253\u5F00\u6587\u4EF6\u65F6"),code:"wps-open"},{key:"on_wps_save",name:f("CMD.onSaveFile",null,"\u4FDD\u5B58\u6587\u4EF6\u65F6"),code:"wps-save"},{key:"on_wps_rename",name:f("CMD.rename",null,"\u91CD\u547D\u540D\u65F6"),code:"wps-rename"},{key:"on_list_actions",name:f("CMD.onClickBtn",null,"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6"),code:"list-actions"},{key:"on_list_render_operation",name:f("CMD.cellRender",null,"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6"),code:"list-render-operation"},{key:"on_list_rowclick",name:f("CMD.rowClick",null,"\u884C\u70B9\u51FB\u65F6"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:f("CMD.rowDelete",null,"\u884C\u5220\u9664\u524D"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:f("CMD.listDataImport",null,"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D"),code:"list-before-import"},{key:"on_list_rows_checked",name:f("CMD.rowSelected",null,"\u884C\u9009\u4E2D\u65F6"),code:"list-rows-checked"},{key:"on_change_tab",name:f("CMD.tabChange",null,"\u6807\u7B7E\u9875\u5207\u6362\u65F6"),code:"change-tab"},{key:"on_modal_ok",name:f("CMD.modalConfirm",null,"\u5F39\u7A97\u786E\u8BA4\u65F6"),code:"modal-ok"},{key:"on_option_selected",name:f("CMD.optionSelected",null,"DOM\u70B9\u51FBoption\u4E8B\u4EF6"),code:"option_selected"}],bx=function(){function e(){px(this,e)}return dx(e,null,[{key:"getEventsFromKeys",value:function(n){var o=typeof n=="string"?[n]:n;return e.events.filter(function(r){return o.includes(r.key)})}},{key:"getEventsFromControl",value:function(n){var o=[],r=n.eventKeys;o=o.concat(e.events.filter(function(u){return r.includes(u.key)}));var i=n.customEvents.map(function(u){var l=u.key;return u.namespace!==void 0&&u.namespace!==null&&u.namespace!==""&&(l=u.namespace+":"+u.key),{key:l,code:u.key,name:u.name}});return o=o.concat(i),o}}]),e}();vx(bx,"events",hx);function bf(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function mx(e){if(Array.isArray(e))return bf(e)}function gx(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ox(){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 V0(e){return mx(e)||gx(e)||wx(e)||Ox()}function wx(e,t){if(!!e){if(typeof e=="string")return bf(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return bf(e,t)}}function mf(e,t){var n;!((n=Object.getOwnPropertyDescriptors(e)[t])===null||n===void 0)&&n.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function z0(e,t,n){n!=="Runtime"&&(e.parent=t,mf(e,"parent"))}function $x(e,t,n){e.forEach(function(o){z0(o,t,n)})}var H0=Symbol("targetKey");function q0(e){var t;return(t=e[H0])!==null&&t!==void 0?t:e}function U0(e,t,n){return $x(e,t,n),new Proxy(e,{get:function(r,i){for(var u=arguments.length,l=new Array(u>2?u-2:0),a=2;a<u;a++)l[a-2]=arguments[a];var c;return i===H0?r:(c=Reflect).get.apply(c,[r,i].concat(V0(l)))},set:function(r,i,u){for(var l=arguments.length,a=new Array(l>3?l-3:0),c=3;c<l;c++)a[c-3]=arguments[c];var _;if(jo(e)&&i==="length"&&u===e.length)return!0;var y=(_=Reflect).set.apply(_,[r,i,u].concat(V0(a)));return M0(u)&&z0(u,t,n),y}})}function Gt(e,t,n,o,r){var i=o!=null?o:e,u=U0(q0(n!=null?n:[]),i,r);Object.defineProperty(e,t,{get:function(){return u},set:function(a){u=U0(q0(a),i,r)},enumerable:!0})}function Px(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function W0(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Ex(e,t,n){return t&&W0(e.prototype,t),n&&W0(e,n),e}function ue(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var K0=[],No=function(){function e(t){Px(this,e),ue(this,"registeredControlTypes",new Set),ue(this,"controlConfigMap",new Map),ue(this,"_controls",[]),ue(this,"_type",void 0),this._type=t,this._initControls(t)}return Ex(e,[{key:"registerControlConfig",value:function(n,o){return this.controlConfigMap.set(n,o),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||Jn("".concat(n.name," is not a Control"));var o=this._controls.findIndex(function(r){return r.controlType===n.controlType});return o>-1&&(sf("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(o,1)),this.registeredControlTypes.add(n.controlType),this._controls.push(n),this}},{key:"isLayoutControl",value:function(n){return n.controlType===Mo.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===Mo.FORM}},{key:"isListControl",value:function(n){return n.controlType===Mo.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===Mo.COLUMN}},{key:"createControl",value:function(n,o){var r=this;if(Array.isArray(n))return n.map(function(_){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)}))}var u=this.getControlFormType(n.type);if(u){var l=n;if(typeof o=="function"){var a=o(l);a&&(l=a)}var c;return u.mode==="Runtime"?(c=l,c.fieldType=u.controlFieldType,this._setParentPrototypeToSchema(c,this)):c=new u(l),c}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}}),mf(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,l=o.instanceMap;if(!(!u||!l)){var a=u[i],c=l[i];if(!(!a&&!c)){var _=c.findIndex(function(m){return m==n}),y=l[a]||[],d;return y.length!==c.length?d=y[0]:d=y[_],d}}}}),mf(n,"parent"))}},{key:"createControlInstance",value:function(n,o){var r=this.getControlFormType(n);if(r)return new r(o)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(o){return o.controlType===n})}},{key:"_initControls",value:function(n){var o=this;this.constructor.staticControls.forEach(function(r){o.register(r[n]),e.staticControlsRuntimeRules.set(r.Runtime.controlType,r.Property.RuntimeRules),r.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,o){var r=e.staticControlsRuntimeRules.get(n),i=[];if(r){var u=new r(o);i=Array.from(u)}return i}},{key:"register",value:function(n,o){var r=n.Designer,i=n.Runtime,u=n.Property;(!r||!i||!r.__is_control__||!i.__is_control__)&&Jn("".concat(n," is can't register as a Control"));var l=this.staticControls.findIndex(function(a){return a.Designer.controlType===r.controlType});return l>-1&&(sf("The ".concat(r.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(l,1)),this.staticRegisteredTypes.add(r.controlType),this.staticControls.push(n),u.mode=o,this}}]),e}();ue(No,"staticControlsRuntimeRules",new Map),ue(No,"staticControls",K0),ue(No,"staticRegisteredTypes",new Set(K0.map(function(e){return e.Designer.controlType}))),ue(No,"staticRegisteredConfigs",new Map);function Sx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Et(e,t,n){return t=Vo(t),Tx(e,G0()?Reflect.construct(t,n||[],Vo(e).constructor):t.apply(e,n))}function S(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vo(e){return Vo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vo(e)}function St(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gf(e,t)}function Tx(e,t){return t&&(Rx(t)==="object"||typeof t=="function")?t:Sx(e)}function gf(e,t){return gf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gf(e,t)}function Rx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function G0(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(G0=function(){return!!e})()}var Ft=function e(t){S(this,e),h(this,"dataCode",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(this,"aliasCode",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.fieldCode=(o=t==null?void 0:t.fieldCode)!==null&&o!==void 0?o:"";var r;this.fieldType=(r=t==null?void 0:t.fieldType)!==null&&r!==void 0?r:"",this.aliasCode=t==null?void 0:t.aliasCode},Of=function e(t){S(this,e),h(this,"minWidth",void 0),h(this,"maxWidth",void 0),h(this,"flex",void 0);var n;this.minWidth=(n=t==null?void 0:t.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=t==null?void 0:t.maxWidth;var o;this.flex=(o=t==null?void 0:t.flex)!==null&&o!==void 0?o:1},X0=function e(t){S(this,e),h(this,"rowHeightType",void 0),h(this,"minRows",void 0),h(this,"maxRows",void 0),h(this,"fiexdRow",void 0);var n;this.rowHeightType=(n=t==null?void 0:t.rowHeightType)!==null&&n!==void 0?n:"fixed";var o;this.minRows=(o=t==null?void 0:t.minRows)!==null&&o!==void 0?o:4;var r;this.maxRows=(r=t==null?void 0:t.maxRows)!==null&&r!==void 0?r:20;var i;this.fiexdRow=(i=t==null?void 0:t.fiexdRow)!==null&&i!==void 0?i:4},Q0=function e(t){S(this,e),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new X0(t==null?void 0:t.pc),this.mobile=new X0(t==null?void 0:t.mobile)},wf=function(e){St(t,e);function t(n){S(this,t);var o;o=Et(this,t,[n]),h(o,"width",void 0),h(o,"widthType",void 0);var r;o.width=(r=n==null?void 0:n.width)!==null&&r!==void 0?r:240;var i;return o.widthType=(i=n==null?void 0:n.widthType)!==null&&i!==void 0?i:"auto",o}return t}(Of),J0=function e(t){S(this,e),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new wf(t==null?void 0:t.pc),this.mobile=t!=null&&t.mobile?new wf(t==null?void 0:t.mobile):new wf({width:130,minWidth:180})},Bx=function e(t){S(this,e),h(this,"type",void 0),h(this,"customOptions",void 0);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"firstThree";var o;this.customOptions=(o=t==null?void 0:t.customOptions)!==null&&o!==void 0?o:[]},Le=function e(t){S(this,e),h(this,"dataCode",void 0),h(this,"formKey",void 0),h(this,"appId",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var r;this.appId=(r=t==null?void 0:t.appId)!==null&&r!==void 0?r:""},Dx=function(e){St(t,e);function t(n){S(this,t);var o;o=Et(this,t,[n]),h(o,"primaryControlId",void 0);var r;return o.primaryControlId=(r=n==null?void 0:n.primaryControlId)!==null&&r!==void 0?r:"",o}return t}(Le),Z0=function e(t){S(this,e),h(this,"fieldCode",void 0),h(this,"dataCode",void 0);var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.dataCode=(o=t==null?void 0:t.dataCode)!==null&&o!==void 0?o:""},$f=function e(t){S(this,e);var n;h(this,"appId",void 0),h(this,"formKey",void 0),h(this,"headers",void 0);var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var r;this.formKey=(r=t==null?void 0:t.formKey)!==null&&r!==void 0?r:"";var i;this.headers=(i=t==null||(n=t.headers)===null||n===void 0?void 0:n.map(function(u){return new Z0(u)}))!==null&&i!==void 0?i:[]},Ax=function e(t){S(this,e),h(this,"fieldName",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0);var n;this.fieldName=(n=t==null?void 0:t.fieldName)!==null&&n!==void 0?n:"";var o;this.fieldCode=(o=t==null?void 0:t.fieldCode)!==null&&o!==void 0?o:"";var r;this.fieldType=(r=t==null?void 0:t.fieldType)!==null&&r!==void 0?r:O.VARCHAR},Ix=function(e){St(t,e);function t(n){S(this,t);var o;o=Et(this,t,[n]),h(o,"title",void 0),h(o,"svcCode",void 0),h(o,"isOpenFilter",void 0),h(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 l;return o.filters=(l=n==null?void 0:n.filters)!==null&&l!==void 0?l:[],o}return t}(Le),kx=function e(t){S(this,e);var n,o;h(this,"type","sublist-page"),h(this,"formBind",void 0),h(this,"displayFields",void 0),h(this,"sublists",void 0),this.formBind=new Le(t==null?void 0:t.formBind);var r;this.displayFields=(r=t==null||(n=t.displayFields)===null||n===void 0?void 0:n.map(function(u){return new Ax(u)}))!==null&&r!==void 0?r:[];var i;this.sublists=(i=t==null||(o=t.sublists)===null||o===void 0?void 0:o.map(function(u){return new Ix(u)}))!==null&&i!==void 0?i:[]},Fx=function e(t){S(this,e),h(this,"type",void 0),h(this,"value",void 0),h(this,"dataCode",void 0),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value,this.dataCode=t==null?void 0:t.dataCode},le=function e(t){S(this,e),h(this,"type",void 0),h(this,"value",void 0),h(this,"displayBos",void 0);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"custom";var o;this.value=(o=t==null?void 0:t.value)!==null&&o!==void 0?o:[];var r;this.displayBos=(r=t==null?void 0:t.displayBos)!==null&&r!==void 0?r:[]},Pf=function e(t){var n=this;S(this,e),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","conditions"),h(this,"level",void 0),h(this,"value",void 0),h(this,"children",void 0);var o;this.id=(o=t==null?void 0:t.id)!==null&&o!==void 0?o:Vt();var r;this.ruleId=(r=t==null?void 0:t.ruleId)!==null&&r!==void 0?r:new Date().valueOf();var i;this.level=(i=t==null?void 0:t.level)!==null&&i!==void 0?i:0;var u;this.value=(u=t==null?void 0:t.value)!==null&&u!==void 0?u:"and",this.children=[],Array.isArray(t==null?void 0:t.children)&&(t==null||t.children.map(function(l){if(l.children!==void 0){var a,c=new e(l);(a=n.children)===null||a===void 0||a.push(c)}else{var _,y=new zo(l);(_=n.children)===null||_===void 0||_.push(y)}}))},zo=function e(t){S(this,e),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","condition"),h(this,"symbol",void 0),h(this,"checked",void 0),h(this,"describe",void 0),h(this,"leftVariableBo",void 0),h(this,"rightVariableBo",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Vt();var o;this.ruleId=(o=t==null?void 0:t.ruleId)!==null&&o!==void 0?o:new Date().valueOf();var r;this.symbol=(r=t==null?void 0:t.symbol)!==null&&r!==void 0?r:"";var i;this.checked=(i=t==null?void 0:t.checked)!==null&&i!==void 0?i:!1;var u;this.describe=(u=t==null?void 0:t.describe)!==null&&u!==void 0?u:"",this.leftVariableBo=new Fx(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new le(t==null?void 0:t.rightVariableBo)},xx=function e(t){S(this,e),h(this,"aliasCode",void 0),h(this,"datasourceBind",void 0),h(this,"relationFields",void 0);var n;this.aliasCode=(n=t==null?void 0:t.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new X(t==null?void 0:t.datasourceBind);var o;this.relationFields=(o=t==null?void 0:t.relationFields)!==null&&o!==void 0?o:[]},pt=function e(t){S(this,e),h(this,"controlId",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(this,"propName",void 0);var n;this.controlId=(n=t==null?void 0:t.controlId)!==null&&n!==void 0?n:"";var o;this.fieldCode=(o=t==null?void 0:t.fieldCode)!==null&&o!==void 0?o:"";var r;this.fieldType=(r=t==null?void 0:t.fieldType)!==null&&r!==void 0?r:"";var i;this.propName=(i=t==null?void 0:t.propName)!==null&&i!==void 0?i:""},Ef=function e(t){S(this,e),h(this,"type",void 0),h(this,"value",void 0),h(this,"fieldType",void 0);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"FIELD";var o;this.value=(o=t==null?void 0:t.value)!==null&&o!==void 0?o:"",this.fieldType=t==null?void 0:t.fieldType},Mx=function e(t){S(this,e),h(this,"columnName",void 0),h(this,"desc",void 0);var n;this.columnName=(n=t.columnName)!==null&&n!==void 0?n:"";var o;this.desc=(o=t.desc)!==null&&o!==void 0?o:!1};function Sf(e){var t,n,o,r;this.filters=(r=e==null||(t=e.filters)===null||t===void 0?void 0:t.map(function(l){return l.children!==void 0?new Pf(l):new zo(l)}))!==null&&r!==void 0?r:[];var i;this.viewFilters=(i=e==null||(n=e.viewFilters)===null||n===void 0?void 0:n.map(function(l){return l.children!==void 0?new Pf(l):new zo(l)}))!==null&&i!==void 0?i:[];var u;this.orders=(u=e==null||(o=e.orders)===null||o===void 0?void 0:o.map(function(l){return new Mx(l)}))!==null&&u!==void 0?u:[]}var X=function e(t){var n=this;S(this,e),h(this,"dataCode",void 0),h(this,"valueFieldCode",void 0),h(this,"displayBoList",void 0),h(this,"keywordMapping",void 0),h(this,"svcCode",void 0),h(this,"appId",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"isOpenViewFilters",void 0),h(this,"orders",void 0),h(this,"showOrder",void 0),h(this,"assignDepartment",void 0),h(this,"openAssignDepartment",void 0);var o;this.dataCode=(o=t==null?void 0:t.dataCode)!==null&&o!==void 0?o:"";var r;this.appId=(r=t==null?void 0:t.appId)!==null&&r!==void 0?r:"";var i;this.valueFieldCode=(i=t==null?void 0:t.valueFieldCode)!==null&&i!==void 0?i:"",this.displayBoList=[];var u;this.isOpenViewFilters=(u=t==null?void 0:t.isOpenViewFilters)!==null&&u!==void 0?u:0,Array.isArray(t==null?void 0:t.displayBoList)&&(t==null||t.displayBoList.map(function(y){var d;(d=n.displayBoList)===null||d===void 0||d.push(new Ef(y))}));var l;this.keywordMapping=(l=t==null?void 0:t.keywordMapping)!==null&&l!==void 0?l:"";var a;this.showOrder=(a=t==null?void 0:t.showOrder)!==null&&a!==void 0?a:!0;var c;this.svcCode=(c=t==null?void 0:t.svcCode)!==null&&c!==void 0?c:"",this.assignDepartment=new le(t==null?void 0:t.assignDepartment);var _;this.openAssignDepartment=(_=t==null?void 0:t.openAssignDepartment)!==null&&_!==void 0?_:!1,Sf.call(this,t)},Tf=function e(t){S(this,e),h(this,"dataCode",void 0),h(this,"displayBoList",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.displayBoList=(o=t==null?void 0:t.displayBoList)!==null&&o!==void 0?o:[]},Xt=function e(t){S(this,e),h(this,"code",void 0),h(this,"color",void 0),h(this,"command",void 0),h(this,"confirmMessage",void 0),h(this,"defaultState",void 0),h(this,"formKey",void 0),h(this,"formType",void 0),h(this,"icon",void 0),h(this,"needConfirm",void 0),h(this,"openType",void 0),h(this,"priorityProcess",void 0);var n;this.code=(n=t==null?void 0:t.code)!==null&&n!==void 0?n:"view";var o;this.color=(o=t==null?void 0:t.color)!==null&&o!==void 0?o:"primary";var r;this.command=(r=t==null?void 0:t.command)!==null&&r!==void 0?r:"view";var i;this.confirmMessage=(i=t==null?void 0:t.confirmMessage)!==null&&i!==void 0?i:void 0;var u;this.defaultState=(u=t==null?void 0:t.defaultState)!==null&&u!==void 0?u:"default";var l;this.formKey=(l=t==null?void 0:t.formKey)!==null&&l!==void 0?l:void 0,this.formType=t==null?void 0:t.formType;var a;this.icon=(a=t==null?void 0:t.icon)!==null&&a!==void 0?a:"iconliulan1";var c;this.needConfirm=(c=t==null?void 0:t.needConfirm)!==null&&c!==void 0?c:!1;var _;this.openType=(_=t==null?void 0:t.openType)!==null&&_!==void 0?_:"modal";var y;this.priorityProcess=(y=t==null?void 0:t.priorityProcess)!==null&&y!==void 0?y:!0},Y0=function e(t){S(this,e);var n;h(this,"name",void 0),h(this,"key",void 0),h(this,"value",void 0);var o;this.name=(o=t==null?void 0:t.name)!==null&&o!==void 0?o:"";var r;this.key=(r=t==null?void 0:t.key)!==null&&r!==void 0?r:"";var i;this.value=(i=t==null||(n=t.value)===null||n===void 0?void 0:n.map(function(u){return new Ef(u)}))!==null&&i!==void 0?i:[]},Ho=function(e){St(t,e);function t(n){S(this,t);var o,r;o=Et(this,t,[n]),h(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 Y0(u)}))!==null&&i!==void 0?i:[],o}return t}(X),Cx=function(e){St(t,e);function t(n){S(this,t);var o,r;o=Et(this,t,[n]),h(o,"attributes",void 0),h(o,"formCode",void 0);var i;o.attributes=(i=n==null||(r=n.attributes)===null||r===void 0?void 0:r.map(function(l){return new Y0(l)}))!==null&&i!==void 0?i:[];var u;return o.formCode=(u=n==null?void 0:n.formCode)!==null&&u!==void 0?u:"",o}return t}(X),tb=function(e){St(t,e);function t(n){S(this,t);var o;o=Et(this,t,[n]),h(o,"rootNode",void 0),h(o,"filterCode",void 0),o.rootNode=new le(n==null?void 0:n.rootNode);var r;return o.filterCode=(r=n==null?void 0:n.filterCode)!==null&&r!==void 0?r:"",o}return t}(Ho),eb=function e(t){S(this,e);var n;h(this,"dataCode",void 0),h(this,"appId",void 0),h(this,"fillList",void 0);var o;this.dataCode=(o=t==null?void 0:t.dataCode)!==null&&o!==void 0?o:"";var r;this.appId=(r=t==null?void 0:t.appId)!==null&&r!==void 0?r:"";var i;this.fillList=(i=t==null||(n=t.fillList)===null||n===void 0?void 0:n.map(function(u){return new pt(u)}))!==null&&i!==void 0?i:[]},nb=function(e){St(t,e);function t(n){S(this,t);var o;return o=Et(this,t,[n]),h(o,"filters",void 0),h(o,"viewFilters",void 0),h(o,"orders",void 0),Sf.call(o,n),o}return t}(eb),ob=function(e){St(t,e);function t(n){S(this,t);var o;o=Et(this,t,[n]),h(o,"mode",void 0),h(o,"multiple",void 0);var r;o.mode=(r=n==null?void 0:n.mode)!==null&&r!==void 0?r:"current";var i;return o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1,o}return t}(eb),Rf=function e(t){S(this,e),h(this,"stencilName",void 0),h(this,"expression",void 0),h(this,"errMessage",void 0);var n;this.stencilName=(n=t==null?void 0:t.stencilName)!==null&&n!==void 0?n:"";var o;this.expression=(o=t==null?void 0:t.expression)!==null&&o!==void 0?o:"";var r;this.errMessage=(r=t==null?void 0:t.errMessage)!==null&&r!==void 0?r:""},rb=function e(t){S(this,e),h(this,"id",void 0),h(this,"label",void 0),h(this,"value",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Vt(8);var o;this.label=(o=t==null?void 0:t.label)!==null&&o!==void 0?o:"";var r;this.value=(r=t==null?void 0:t.value)!==null&&r!==void 0?r:this.label},Lx=function(e){St(t,e);function t(n){S(this,t);var o;o=Et(this,t,[n]),h(o,"cueWord",void 0),h(o,"checked",void 0);var r;o.cueWord=(r=n==null?void 0:n.cueWord)!==null&&r!==void 0?r:"";var i;return o.checked=(i=n==null?void 0:n.checked)!==null&&i!==void 0?i:!1,o}return t}(rb);function Qt(e){var t;return(t=e==null?void 0:e.map(function(n){return new rb(n)}))!==null&&t!==void 0?t:[]}function ib(e){var t;return(t=e==null?void 0:e.map(function(n){return new Lx(n)}))!==null&&t!==void 0?t:[]}var Bf=function e(){S(this,e)},jx=function(e){St(t,e);function t(n){S(this,t);var o;return o=Et(this,t),h(o,"amount",void 0),h(o,"currency",void 0),o.amount=new Ft(n==null?void 0:n.amount),o.currency=new Ft(n==null?void 0:n.currency),o}return t}(Bf),Nx=function e(t){S(this,e),h(this,"amount",void 0),h(this,"currency",void 0);var n;this.amount=(n=t==null?void 0:t.amount)!==null&&n!==void 0?n:"";var o;this.currency=(o=t==null?void 0:t.currency)!==null&&o!==void 0?o:"CNY"},Vx=function(e){St(t,e);function t(n){S(this,t);var o;return o=Et(this,t),h(o,"min",void 0),h(o,"max",void 0),o.min=new Ft(n==null?void 0:n.min),o.max=new Ft(n==null?void 0:n.max),o}return t}(Bf),zx=function e(t){S(this,e),h(this,"min",void 0),h(this,"max",void 0);var n;this.min=(n=t==null?void 0:t.min)!==null&&n!==void 0?n:"";var o;this.max=(o=t==null?void 0:t.max)!==null&&o!==void 0?o:""},Hx=function e(t){S(this,e),h(this,"city",void 0),h(this,"cityDisplay",void 0),h(this,"district",void 0),h(this,"districtDisplay",void 0),h(this,"province",void 0),h(this,"provinceDisplay",void 0);var n;this.city=(n=t==null?void 0:t.city)!==null&&n!==void 0?n:"";var o;this.cityDisplay=(o=t==null?void 0:t.cityDisplay)!==null&&o!==void 0?o:"";var r;this.district=(r=t==null?void 0:t.district)!==null&&r!==void 0?r:"";var i;this.districtDisplay=(i=t==null?void 0:t.districtDisplay)!==null&&i!==void 0?i:"";var u;this.province=(u=t==null?void 0:t.province)!==null&&u!==void 0?u:"";var l;this.provinceDisplay=(l=t==null?void 0:t.provinceDisplay)!==null&&l!==void 0?l:""},qx=function(e){St(t,e);function t(n){S(this,t);var o;return o=Et(this,t),h(o,"result",void 0),h(o,"unit",void 0),o.result=new Ft(n==null?void 0:n.result),o.unit=new Ft(n==null?void 0:n.unit),o}return t}(Bf),Ux=function e(t){S(this,e),h(this,"result",void 0),h(this,"unit",void 0);var n;this.result=(n=t==null?void 0:t.result)!==null&&n!==void 0?n:0;var o;this.unit=(o=t==null?void 0:t.unit)!==null&&o!==void 0?o:""},Wx=function(e){return e.CNY="CNY",e.USD="USD",e.JPY="JPY",e.EUR="EUR",e.INR="INR",e.IDR="IDR",e.BRL="BRL",e.AED="AED",e.AUD="AUD",e.CAD="CAD",e.EGP="EGP",e.GBP="GBP",e.ZAR="ZAR",e.KRW="KRW",e.MAD="MAD",e.MXN="MXN",e.MYR="MYR",e.PHP="PHP",e.PLN="PLN",e.RUB="RUB",e.SGD="SGD",e.THB="THB",e.TRY="TRY",e.TWD="TWD",e.VND="VND",e.HKD="HKD",e.IEP="IEP",e}({}),s=function(e){return e.DEFAULT_DISPLAY="defaultDisplay",e.REQUIRED="required",e.IS_HIDE="isHide",e.IS_SHOW_UNIT="isShowUnit",e.IMD_SEARCH="immediatelySearch",e.MULTIPLE="multiple",e.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",e.CAPTION="caption",e.IS_HIDE_CAPTION="isHideCaption",e.DEFAULT_SHOW_OPTIONS="defaultShowOptions",e.CAN_SEARCH="canSearch",e.CAN_CHECK="canCheck",e.CAN_EDIT="canEdit",e.CAN_DELETE="canDelete",e.SHOW_UPPER_CASE="showUpperCase",e.MICROMETER="micrometer",e.PRECISION="precision",e.PERCENTAGE="percentage",e.OPTIONAL_LEVEL="optionalLevel",e.CONTAINS_SUB_NODE="containsSubNode",e.DEFAULT_COLLAPSE="defaultCollapse",e.CAN_VIEW_FORM="canViewForm",e.VIEW_FORM_MODEL_TYPE="viewFormModelType",e.SERVER_PAGINATION="serverPagination",e.IS_SHOW_CAPTION_TIP="isShowCaptionTip",e.IS_SHOW_WATERMARK="isShowWatermark",e.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions",e.IS_PASTE="isPaste",e.SORTABLE="sortable",e.IS_SHOW_SIMPLE_SEARCH="isShowSimpleSearch",e.IS_SHOW_TOOL_BAE="isShowToolbar",e.MAIN_DEPT_FLAG="mainDeptFlag",e}({}),Kx=function(e){return e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT",e}({}),ce=function e(t){S(this,e),h(this,"isShow",void 0),h(this,"priorityProcess",void 0),h(this,"formKey",void 0),h(this,"content",void 0),h(this,"openType",void 0),h(this,"type",void 0);var n;this.isShow=(n=t==null?void 0:t.isShow)!==null&&n!==void 0?n:!0;var o;this.content=(o=t==null?void 0:t.content)!==null&&o!==void 0?o:"";var r;this.formKey=(r=t==null?void 0:t.formKey)!==null&&r!==void 0?r:"";var i;this.openType=(i=t==null?void 0:t.openType)!==null&&i!==void 0?i:"modal";var u;this.type=(u=t==null?void 0:t.type)!==null&&u!==void 0?u:"";var l;this.priorityProcess=(l=t==null?void 0:t.priorityProcess)!==null&&l!==void 0?l:!1},Gx=function e(t){S(this,e);var n;h(this,"id",void 0),h(this,"title",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"headers",void 0);var o;this.id=(o=t==null?void 0:t.id)!==null&&o!==void 0?o:Vt(8);var r;this.title=(r=t==null?void 0:t.title)!==null&&r!==void 0?r:"";var i;this.headers=(i=t==null||(n=t.headers)===null||n===void 0?void 0:n.map(function(u){return new Z0(u)}))!==null&&i!==void 0?i:[],Sf.call(this,t)},Xx=function e(t){S(this,e),h(this,"width",void 0),h(this,"height",void 0),h(this,"widthConfig",void 0),h(this,"heightConfig",void 0);var n;this.width=(n=t==null?void 0:t.width)!==null&&n!==void 0?n:"";var o;this.height=(o=t==null?void 0:t.height)!==null&&o!==void 0?o:"";var r;this.widthConfig=(r=t==null?void 0:t.widthConfig)!==null&&r!==void 0?r:"fill";var i;this.heightConfig=(i=t==null?void 0:t.heightConfig)!==null&&i!==void 0?i:"fill"},Qx=function e(t){S(this,e),h(this,"optCode",void 0),h(this,"optType",void 0);var n;this.optCode=(n=t==null?void 0:t.optCode)!==null&&n!==void 0?n:"";var o;this.optType=(o=t==null?void 0:t.optType)!==null&&o!==void 0?o:""},Jx=function e(t){S(this,e);var n,o;h(this,"id",void 0),h(this,"name",void 0),h(this,"settings",void 0),h(this,"filters",void 0),h(this,"script",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:Vt();var i;this.name=(i=t==null?void 0:t.name)!==null&&i!==void 0?i:"";var u;this.filters=(u=t==null||(n=t.filters)===null||n===void 0?void 0:n.map(function(a){return a.children!==void 0?new Pf(a):new zo(a)}))!==null&&u!==void 0?u:[];var l;this.settings=(t==null?void 0:t.settings)&&Array.isArray(t==null?void 0:t.settings)?(l=t==null||(o=t.settings)===null||o===void 0?void 0:o.map(function(a){return new Zx(a)}))!==null&&l!==void 0?l:[]:[],this.script=t==null?void 0:t.script},Zx=function e(t){S(this,e),h(this,"color",void 0),h(this,"fieldCodes",void 0),h(this,"type",void 0),h(this,"scope",void 0);var n;this.type=(n=t.type)!==null&&n!==void 0?n:"background";var o;this.fieldCodes=(o=t.fieldCodes)!==null&&o!==void 0?o:[];var r;this.color=(r=t.color)!==null&&r!==void 0?r:"theme";var i;this.scope=(i=t.scope)!==null&&i!==void 0?i:"row"},Yx=function e(t){S(this,e);var n;h(this,"type",void 0),h(this,"interval",void 0),h(this,"rules",void 0);var o;this.type=(o=t==null?void 0:t.type)!==null&&o!==void 0?o:"none";var r;this.interval=(r=t==null?void 0:t.interval)!==null&&r!==void 0?r:{color:""};var i;this.rules=(t==null?void 0:t.rules)&&Array.isArray(t==null?void 0:t.rules)?(i=t==null||(n=t.rules)===null||n===void 0?void 0:n.map(function(u){return new Jx(u)}))!==null&&i!==void 0?i:[]:[]};function tM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eM(e,t,n){return t=Zn(t),rM(e,If()?Reflect.construct(t,n||[],Zn(e).constructor):t.apply(e,n))}function Df(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qo(e,t,n){return If()?qo=Reflect.construct:qo=function(r,i,u){var l=[null];l.push.apply(l,i);var a=Function.bind.apply(r,l),c=new a;return u&&Yn(c,u.prototype),c},qo.apply(null,arguments)}function Jt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zn(e){return Zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zn(e)}function nM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yn(e,t)}function oM(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function rM(e,t){return t&&(iM(t)==="object"||typeof t=="function")?t:tM(e)}function Yn(e,t){return Yn=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yn(e,t)}function iM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Af(e){var t=typeof Map=="function"?new Map:void 0;return Af=function(o){if(o===null||!oM(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(o))return t.get(o);t.set(o,r)}function r(){return qo(o,arguments,Zn(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Yn(r,o)},Af(e)}function If(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(If=function(){return!!e})()}var U=function e(t){Df(this,e),Jt(this,"isHide",{type:"boolean"})},Oe=function(e){nM(t,e);function t(n){return Df(this,t),eM(this,t)}return t}(Af(Array)),W=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Df(this,e),Jt(this,"isHide",void 0),Jt(this,"className",void 0),Jt(this,"style",void 0),Jt(this,"caption",void 0),Jt(this,"defaultState",void 0);var o;this.isHide=(o=t==null?void 0:t.isHide)!==null&&o!==void 0?o:!1,this.style=new Xx(t==null?void 0:t.style);var r;this.caption=(r=t==null?void 0:t.caption)!==null&&r!==void 0?r:n};Jt(W,"mode",void 0),Jt(W,"Rules",U),Jt(W,"RuntimeRules",Oe);function zt(){return zt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},zt.apply(this,arguments)}function uM(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function kf(e){return kf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kf(e)}function Uo(e,t){return Uo=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Uo(e,t)}function lM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function Wo(e,t,n){return lM()?Wo=Reflect.construct:Wo=function(r,i,u){var l=[null];l.push.apply(l,i);var a=Function.bind.apply(r,l),c=new a;return u&&Uo(c,u.prototype),c},Wo.apply(null,arguments)}function cM(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Ff(e){var t=typeof Map=="function"?new Map:void 0;return Ff=function(o){if(o===null||!cM(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(o))return t.get(o);t.set(o,r)}function r(){return Wo(o,arguments,kf(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Uo(r,o)},Ff(e)}var aM=/%[sdj%]/g,ub=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(ub=function(t,n){typeof console!="undefined"&&console.warn&&n.every(function(o){return typeof o=="string"})&&console.warn(t,n)});function xf(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var o=n.field;t[o]=t[o]||[],t[o].push(n)}),t}function gt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=1,r=t[0],i=t.length;if(typeof r=="function")return r.apply(null,t.slice(1));if(typeof r=="string"){var u=String(r).replace(aM,function(l){if(l==="%%")return"%";if(o>=i)return l;switch(l){case"%s":return String(t[o++]);case"%d":return Number(t[o++]);case"%j":try{return JSON.stringify(t[o++])}catch(a){return"[Circular]"}break;default:return l}});return u}return r}function fM(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function G(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||fM(t)&&typeof e=="string"&&!e)}function _M(e,t,n){var o=[],r=0,i=e.length;function u(l){o.push.apply(o,l),r++,r===i&&n(o)}e.forEach(function(l){t(l,u)})}function lb(e,t,n){var o=0,r=e.length;function i(u){if(u&&u.length){n(u);return}var l=o;o=o+1,l<r?t(e[l],i):n([])}i([])}function sM(e){var t=[];return Object.keys(e).forEach(function(n){t.push.apply(t,e[n])}),t}var cb=function(e){uM(t,e);function t(n,o){var r;return r=e.call(this,"Async Validation Error")||this,r.errors=n,r.fields=o,r}return t}(Ff(Error));function yM(e,t,n,o){if(t.first){var r=new Promise(function(y,d){var m=function($){return o($),$.length?d(new cb($,xf($))):y()},g=sM(e);lb(g,n,m)});return r.catch(function(y){return y}),r}var i=t.firstFields||[];i===!0&&(i=Object.keys(e));var u=Object.keys(e),l=u.length,a=0,c=[],_=new Promise(function(y,d){var m=function(b){if(c.push.apply(c,b),a++,a===l)return o(c),c.length?d(new cb(c,xf(c))):y()};u.length||(o(c),y()),u.forEach(function(g){var b=e[g];i.indexOf(g)!==-1?lb(b,n,m):_M(b,n,m)})});return _.catch(function(y){return y}),_}function ab(e){return function(t){return t&&t.message?(t.field=t.field||e.fullField,t):{message:typeof t=="function"?t():t,field:t.field||e.fullField}}}function fb(e,t){if(t){for(var n in t)if(t.hasOwnProperty(n)){var o=t[n];typeof o=="object"&&typeof e[n]=="object"?e[n]=zt(zt({},e[n]),o):e[n]=o}}return e}function _b(e,t,n,o,r,i){e.required&&(!n.hasOwnProperty(e.field)||G(t,i||e.type))&&o.push(gt(r.messages.required,e.fullField))}function pM(e,t,n,o,r){(/^\s+$/.test(t)||t==="")&&o.push(gt(r.messages.whitespace,e.fullField))}var Mf={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},to={integer:function(t){return to.number(t)&&parseInt(t,10)===t},float:function(t){return to.number(t)&&!to.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(n){return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!to.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(Mf.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(Mf.url)},hex:function(t){return typeof t=="string"&&!!t.match(Mf.hex)}};function dM(e,t,n,o,r){if(e.required&&t===void 0){_b(e,t,n,o,r);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],u=e.type;i.indexOf(u)>-1?to[u](t)||o.push(gt(r.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&o.push(gt(r.messages.types[u],e.fullField,e.type))}function vM(e,t,n,o,r){var i=typeof e.len=="number",u=typeof e.min=="number",l=typeof e.max=="number",a=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=t,_=null,y=typeof t=="number",d=typeof t=="string",m=Array.isArray(t);if(y?_="number":d?_="string":m&&(_="array"),!_)return!1;m&&(c=t.length),d&&(c=t.replace(a,"_").length),i?c!==e.len&&o.push(gt(r.messages[_].len,e.fullField,e.len)):u&&!l&&c<e.min?o.push(gt(r.messages[_].min,e.fullField,e.min)):l&&!u&&c>e.max?o.push(gt(r.messages[_].max,e.fullField,e.max)):u&&l&&(c<e.min||c>e.max)&&o.push(gt(r.messages[_].range,e.fullField,e.min,e.max))}var je="enum";function hM(e,t,n,o,r){e[je]=Array.isArray(e[je])?e[je]:[],e[je].indexOf(t)===-1&&o.push(gt(r.messages[je],e.fullField,e[je].join(", ")))}function bM(e,t,n,o,r){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||o.push(gt(r.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var i=new RegExp(e.pattern);i.test(t)||o.push(gt(r.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var I={required:_b,whitespace:pM,type:dM,range:vM,enum:hM,pattern:bM};function mM(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(G(t,"string")&&!e.required)return n();I.required(e,t,o,i,r,"string"),G(t,"string")||(I.type(e,t,o,i,r),I.range(e,t,o,i,r),I.pattern(e,t,o,i,r),e.whitespace===!0&&I.whitespace(e,t,o,i,r))}n(i)}function gM(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(G(t)&&!e.required)return n();I.required(e,t,o,i,r),t!==void 0&&I.type(e,t,o,i,r)}n(i)}function OM(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(t===""&&(t=void 0),G(t)&&!e.required)return n();I.required(e,t,o,i,r),t!==void 0&&(I.type(e,t,o,i,r),I.range(e,t,o,i,r))}n(i)}function wM(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(G(t)&&!e.required)return n();I.required(e,t,o,i,r),t!==void 0&&I.type(e,t,o,i,r)}n(i)}function $M(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(G(t)&&!e.required)return n();I.required(e,t,o,i,r),G(t)||I.type(e,t,o,i,r)}n(i)}function PM(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(G(t)&&!e.required)return n();I.required(e,t,o,i,r),t!==void 0&&(I.type(e,t,o,i,r),I.range(e,t,o,i,r))}n(i)}function EM(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(G(t)&&!e.required)return n();I.required(e,t,o,i,r),t!==void 0&&(I.type(e,t,o,i,r),I.range(e,t,o,i,r))}n(i)}function SM(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(t==null&&!e.required)return n();I.required(e,t,o,i,r,"array"),t!=null&&(I.type(e,t,o,i,r),I.range(e,t,o,i,r))}n(i)}function TM(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(G(t)&&!e.required)return n();I.required(e,t,o,i,r),t!==void 0&&I.type(e,t,o,i,r)}n(i)}var RM="enum";function BM(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(G(t)&&!e.required)return n();I.required(e,t,o,i,r),t!==void 0&&I[RM](e,t,o,i,r)}n(i)}function DM(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(G(t,"string")&&!e.required)return n();I.required(e,t,o,i,r),G(t,"string")||I.pattern(e,t,o,i,r)}n(i)}function AM(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(G(t,"date")&&!e.required)return n();if(I.required(e,t,o,i,r),!G(t,"date")){var l;t instanceof Date?l=t:l=new Date(t),I.type(e,l,o,i,r),l&&I.range(e,l.getTime(),o,i,r)}}n(i)}function IM(e,t,n,o,r){var i=[],u=Array.isArray(t)?"array":typeof t;I.required(e,t,o,i,r,u),n(i)}function Cf(e,t,n,o,r){var i=e.type,u=[],l=e.required||!e.required&&o.hasOwnProperty(e.field);if(l){if(G(t,i)&&!e.required)return n();I.required(e,t,o,u,r,i),G(t,i)||I.type(e,t,o,u,r)}n(u)}function kM(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(G(t)&&!e.required)return n();I.required(e,t,o,i,r)}n(i)}var eo={string:mM,method:gM,number:OM,boolean:wM,regexp:$M,integer:PM,float:EM,array:SM,object:TM,enum:BM,pattern:DM,date:AM,url:Cf,hex:Cf,email:Cf,required:IM,any:kM};function Lf(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var jf=Lf();function ae(e){this.rules=null,this._messages=jf,this.define(e)}ae.prototype={messages:function(t){return t&&(this._messages=fb(Lf(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if(typeof t!="object"||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var n,o;for(n in t)t.hasOwnProperty(n)&&(o=t[n],this.rules[n]=Array.isArray(o)?o:[o])},validate:function(t,n,o){var r=this;n===void 0&&(n={}),o===void 0&&(o=function(){});var i=t,u=n,l=o;if(typeof u=="function"&&(l=u,u={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function a(b){var $,v=[],w={};function T(E){if(Array.isArray(E)){var R;v=(R=v).concat.apply(R,E)}else v.push(E)}for($=0;$<b.length;$++)T(b[$]);v.length?w=xf(v):(v=null,w=null),l(v,w)}if(u.messages){var c=this.messages();c===jf&&(c=Lf()),fb(c,u.messages),u.messages=c}else u.messages=this.messages();var _,y,d={},m=u.keys||Object.keys(this.rules);m.forEach(function(b){_=r.rules[b],y=i[b],_.forEach(function($){var v=$;typeof v.transform=="function"&&(i===t&&(i=zt({},i)),y=i[b]=v.transform(y)),typeof v=="function"?v={validator:v}:v=zt({},v),v.validator=r.getValidationMethod(v),v.field=b,v.fullField=v.fullField||b,v.type=r.getType(v),v.validator&&(d[b]=d[b]||[],d[b].push({rule:v,value:y,source:i,field:b}))})});var g={};return yM(d,u,function(b,$){var v=b.rule,w=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");w=w&&(v.required||!v.required&&b.value),v.field=b.field;function T(z,A){return zt(zt({},A),{},{fullField:v.fullField+"."+z})}function E(z){z===void 0&&(z=[]);var A=z;if(Array.isArray(A)||(A=[A]),!u.suppressWarning&&A.length&&ae.warning("async-validator:",A),A.length&&v.message!==void 0&&(A=[].concat(v.message)),A=A.map(ab(v)),u.first&&A.length)return g[v.field]=1,$(A);if(!w)$(A);else{if(v.required&&!b.value)return v.message!==void 0?A=[].concat(v.message).map(ab(v)):u.error&&(A=[u.error(v,gt(u.messages.required,v.field))]),$(A);var ct={};if(v.defaultField)for(var D in b.value)b.value.hasOwnProperty(D)&&(ct[D]=v.defaultField);ct=zt(zt({},ct),b.rule.fields);for(var Wt in ct)if(ct.hasOwnProperty(Wt)){var xo=Array.isArray(ct[Wt])?ct[Wt]:[ct[Wt]];ct[Wt]=xo.map(T.bind(null,Wt))}var Kn=new ae(ct);Kn.messages(u.messages),b.rule.options&&(b.rule.options.messages=u.messages,b.rule.options.error=u.error),Kn.validate(b.value,b.rule.options||u,function(Fe){var Kt=[];A&&A.length&&Kt.push.apply(Kt,A),Fe&&Fe.length&&Kt.push.apply(Kt,Fe),$(Kt.length?Kt:null)})}}var R;v.asyncValidator?R=v.asyncValidator(v,b.value,E,b.source,u):v.validator&&(R=v.validator(v,b.value,E,b.source,u),R===!0?E():R===!1?E(v.message||v.field+" fails"):R instanceof Array?E(R):R instanceof Error&&E(R.message)),R&&R.then&&R.then(function(){return E()},function(z){return E(z)})},function(b){a(b)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!eo.hasOwnProperty(t.type))throw new Error(gt("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if(typeof t.validator=="function")return t.validator;var n=Object.keys(t),o=n.indexOf("message");return o!==-1&&n.splice(o,1),n.length===1&&n[0]==="required"?eo.required:eo[this.getType(t)]||!1}},ae.register=function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");eo[t]=n},ae.warning=ub,ae.messages=jf,ae.validators=eo;var FM={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 xM(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new ae(e);return n.messages(Object.assign(FM,t)),n}var MM=new yx;function Nf(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function CM(e){if(Array.isArray(e))return e}function LM(e){if(Array.isArray(e))return Nf(e)}function sb(e,t,n,o,r,i,u){try{var l=e[i](u),a=l.value}catch(c){n(c);return}l.done?t(a):Promise.resolve(a).then(o,r)}function yb(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(a){sb(i,o,r,u,l,"next",a)}function l(a){sb(i,o,r,u,l,"throw",a)}u(void 0)})}}function jM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pb(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function NM(e,t,n){return t&&pb(e.prototype,t),n&&pb(e,n),e}function M(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function db(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function vb(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function VM(){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 zM(){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 hb(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){M(e,r,n[r])})}return e}function HM(e){return CM(e)||vb(e)||bb(e)||VM()}function Vf(e){return LM(e)||vb(e)||bb(e)||zM()}function qM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bb(e,t){if(!!e){if(typeof e=="string")return Nf(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Nf(e,t)}}function mb(e,t){var n,o,r,i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},u=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return u.next=l(0),u.throw=l(1),u.return=l(2),typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function l(c){return function(_){return a([c,_])}}function a(c){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,c[0]&&(i=0)),i;)try{if(n=1,o&&(r=c[0]&2?o.return:c[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,c[1])).done)return r;switch(o=0,r&&(c=[c[0]&2,r.value]),c[0]){case 0:case 1:r=c;break;case 4:return i.label++,{value:c[1],done:!1};case 5:i.label++,o=c[1],c=[0];continue;case 7:c=i.ops.pop(),i.trys.pop();continue;default:if(r=i.trys,!(r=r.length>0&&r[r.length-1])&&(c[0]===6||c[0]===2)){i=0;continue}if(c[0]===3&&(!r||c[1]>r[0]&&c[1]<r[3])){i.label=c[1];break}if(c[0]===6&&i.label<r[1]){i.label=r[1],r=c;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(c);break}r[2]&&i.ops.pop(),i.trys.pop();continue}c=t.call(e,i)}catch(_){c=[6,_],o=0}finally{n=r=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var C=function(){function t(n){var o=this;jM(this,t),M(this,"id",void 0),M(this,"name",void 0),M(this,"icon",void 0),M(this,"type",void 0),M(this,"controlType",void 0),M(this,"props",void 0),M(this,"setting",[]),M(this,"fieldType",void 0),M(this,"eventKeys",[]),M(this,"customEvents",[]),M(this,"parent",null),M(this,"slots",void 0),M(this,"slotPosition",void 0),M(this,"updateSetting",Ob),M(this,"removeSetting",gb),this._callControlHooks("preInstance",n);var r=db(this,t)?this.constructor:void 0,i=r.controlName,u=r.controlIcon,l=r.controlType,a=r.controlFieldType,c=r.controlEventKeys,_=r.controlCustomEvents,y=r.name,d=r.setting,m=r.slots,g=r.slotPosition;i&&u&&l||I0("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:Vt(10),this.name=i,this.icon=u;var $;this.type=($=n==null?void 0:n.type)!==null&&$!==void 0?$:l,this.props=new W(n==null?void 0:n.props,(db(this,t)?this.constructor:void 0).controlName);var v;this.controlType=(v=n==null?void 0:n.controlType)!==null&&v!==void 0?v:"base",this.setting=kt(d);var w;this.fieldType=(w=n==null?void 0:n.fieldType)!==null&&w!==void 0?w:a,this.eventKeys=kt(c),this.customEvents=kt(_),this.slots=kt(m),this.slotPosition=kt(g),Promise.resolve().then(function(){o._callControlHooks("postInstance",n)})}return NM(t,[{key:"rules",get:function(){var o=this.props.constructor.Rules;return o?new o(this.props):{}}},{key:"_callControlHooks",value:function(){for(var o=arguments.length,r=new Array(o),i=0;i<o;i++)r[i]=arguments[i];var u,l=HM(r),a=l[0],c=l.slice(1);return(u=MM).emit.apply(u,[a,this].concat(Vf(c)))}},{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),YF(this.props,o,r),this.postUpdate(o,r)}},{key:"preValidate",value:function(){return yb(function(){var o,r,i;return mb(this,function(u){switch(u.label){case 0:return o=hb({},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 yb(function(){var i,u,l,a;return mb(this,function(c){switch(c.label){case 0:return[4,this.preValidate()];case 1:i=c.sent(),u=i!==void 0?i:hb({},this.rules),Array.isArray(r)&&r.forEach(function(_){u.hasOwnProperty(_)&&delete u[_]}),l=xM(u,o),c.label=2;case 2:return c.trys.push([2,4,,5]),[4,l.validate(this.props)];case 3:return c.sent(),[2,!0];case 4:throw a=c.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,l=this.props,a=l.dataBind,c=l.datasourceBind,_=l.optionConfig,y=l.caption,d=l.required,m=l.maxLength,g=l.options,b=l.encrypted,$=l.encryptedMode;if(!(!r&&!a&&!c)){var v={parentId:o,fieldType:r,controlId:i,caption:y,type:u,props:{}};switch(a&&(v.dataBind=a),_){case"datasource":case void 0:c&&(v.datasourceBind=c);break;case"custom":v.props.options=g;break}return d!==void 0&&(v.required=d),m!==void 0&&(v.maxLength=m),b!==void 0&&(v.encrypted=b),$!==void 0&&(v.encryptedMode=$),v}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:kt(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,Vf(r.add))}r.remove&&this.removeSettingItem(r.remove),r.update}}}]),t}();M(C,"mode","Designer"),M(C,"slots",void 0),M(C,"slotPosition",void 0),M(C,"controlName",f("CMD.c81c1751969095754")),M(C,"controlIcon","icon"),M(C,"controlType","control"),M(C,"controlFieldType",void 0),M(C,"controlEventKeys",[]),M(C,"controlCustomEvents",[]),M(C,"setting",[]),M(C,"__is_control__",!0),M(C,"removeSettingItem",gb),M(C,"updateSettingItem",Ob);function gb(e){var t=this,n=Array.isArray(e)?e:[e];n.forEach(function(o){var r,i=typeof o!="string",u=(r=t.setting)===null||r===void 0?void 0:r.findIndex(function(c){return c.key===(i?o.key:o)});if(u!==-1){var l,a;i?t.setting[u].showItems=(l=t.setting[u].showItems)===null||l===void 0?void 0:l.filter(function(c){return!o.hideItems.includes(c)}):t.setting.splice(u,1),i&&!(!((a=t.setting[u].showItems)===null||a===void 0)&&a.length)&&t.setting.splice(u,1)}})}function Ob(e,t){var n=this,o=typeof e=="string"?[e]:e;o.forEach(function(r){var i=n.setting.find(function(c){return c.key===r});if(i){if(typeof t=="boolean")i.visible=t;else if((typeof t=="undefined"?"undefined":qM(t))==="object"){var u,l=(u=t.type)!==null&&u!==void 0?u:"replace";if(l==="replace")i.showItems=t.showItems;else{var a;(a=i.showItems).push.apply(a,Vf(t.showItems))}}}})}function UM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wb(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function WM(e,t,n){return t&&wb(e.prototype,t),n&&wb(e,n),e}function Ot(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function KM(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var Ht=function(){function t(n){UM(this,t),Ot(this,"id",void 0),Ot(this,"type",void 0),Ot(this,"controlType",void 0),Ot(this,"props",void 0),Ot(this,"fieldType",void 0),Ot(this,"customEvents",[]),Ot(this,"pageStatus",void 0),Ot(this,"parent",null);var o=KM(this,t)?this.constructor:void 0,r=o.controlType,i=o.controlFieldType,u=o.name,l=o.controlCustomEvents;r||I0("The ".concat(u," controlType is not define"));var a;this.id=(a=n==null?void 0:n.id)!==null&&a!==void 0?a:Vt(10);var c;this.type=(c=n==null?void 0:n.type)!==null&&c!==void 0?c:r,this.props=new W(n==null?void 0:n.props),this.customEvents=l;var _;this.controlType=(_=n==null?void 0:n.controlType)!==null&&_!==void 0?_:"base";var y;this.fieldType=(y=n==null?void 0:n.fieldType)!==null&&y!==void 0?y:i;var d;this.pageStatus=(d=n==null?void 0:n.pageStatus)!==null&&d!==void 0?d:Kx.UNKNOWN}return WM(t,[{key:"rules",get:function(){var o=this.props.constructor.RuntimeRules;if(o){var r=new o(this.props);return Array.from(r)}return[]}}]),t}();Ot(Ht,"mode","Runtime"),Ot(Ht,"controlType","control"),Ot(Ht,"controlFieldType",void 0),Ot(Ht,"__is_control__",!0),Ot(Ht,"controlCustomEvents",[]);function zf(e){e.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),e.hasOwnProperty("options")||(this.options={type:"any"}),e.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),e.hasOwnProperty("options")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="custom")?this.options=[{type:"array",message:f("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:f("CMD.pleaseEnterLabel",null,"\u8BF7\u8F93\u5165\u663E\u793A\u503C")},value:{type:"string",required:!0,message:f("CMD.pleaseEnterValue",null,"\u8BF7\u8F93\u5165\u5B58\u50A8\u503C")}}}},{type:"array",validator:function(n,o,r){o.length===0&&r(f("CMD.optionIsRequired",null,"\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879")),r()}},{type:"array",validator:function(n,o,r){var i=o.map(function(l){return l.value}),u=ox(i);i.length!==u.length?r(f("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")):r()},message:f("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:f("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},valueFieldCode:{type:"string",required:!0,message:f("CMD.pleaseEnterValueFieldCode",null,"\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C")},svcCode:{type:"string",required:!0,message:f("CMD.pleaseEnterSvcCode",null,"\u8BF7\u7ED1\u5B9A\u670D\u52A1")},displayBoList:[{type:"array",message:f("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(n,o,r){o.length===0&&r(f("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")),r()},message:f("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")}],orders:[{type:"array",message:f("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:f("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}])}function Ko(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:f("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f(n?"CMD.pleaseEnterDataCodeInDataSetting":"CMD.pleaseEnterDataCode",null,f(n?"CMD.8b141751969070995":"CMD.c10c1751969078999"))},valueFieldCode:{type:"string",required:!0,message:f(n?"CMD.pleaseEnterValueFieldCodeInDataSetting":"CMD.pleaseEnterValueFieldCode",null,f(n?"CMD.c9fa1751969073128":"CMD.01361751969082479"))},svcCode:{type:"string",required:!0,message:f(n?"CMD.pleaseEnterSvcCodeInDataSetting":"CMD.pleaseEnterSvcCode",null,f(n?"CMD.e0dc1751969075280":"CMD.4ad71751969085378"))},attributes:[{type:"array",message:f("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:f("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},key:{type:"string",required:!0,message:f("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},value:[{type:"array",message:f("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(r,i,u){i.length===0&&u(f(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,f(n?"CMD.0e161751969064445":"CMD.f1421751969077253"))),u()},message:f(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,f(n?"CMD.0e161751969064445":"CMD.f1421751969077253"))}]}}}],orders:[{type:"array",message:f("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:f("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}]}function GM(e){return(e==null?void 0:e.dataCode)!==void 0&&(e==null?void 0:e.fieldCode)!==void 0}function XM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Go(e,t,n){return t=Qo(t),QM(e,$b()?Reflect.construct(t,n||[],Qo(e).constructor):t.apply(e,n))}function Xo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function N(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qo(e){return Qo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qo(e)}function Jo(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hf(e,t)}function QM(e,t){return t&&(JM(t)==="object"||typeof t=="function")?t:XM(e)}function Hf(e,t){return Hf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hf(e,t)}function JM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $b(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return($b=function(){return!!e})()}var tt=function(e){Jo(t,e);function t(n){Xo(this,t);var o;o=Go(this,t,[n]),N(o,"dataBind",{}),N(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),N(o,"isHideCaption",{type:"boolean"}),N(o,"labelPosition",{type:"enum",enum:["top","left"]}),N(o,"defaultState",{type:"enum",enum:["default","readonly"]}),N(o,"required",{type:"boolean"}),N(o,"captionTip",{type:"string",required:!1,message:f("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")});var r={fieldCode:{type:"string",required:!0,message:f("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:f("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}};if(GM(n.dataBind))o.dataBind={type:"object",required:!0,fields:kt(r),message:f("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};else{var i={type:"object",required:!0,fields:{},message:f("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};Object.keys(n.dataBind).forEach(function(u){i.fields[u]={type:"object",required:!0,fields:kt(r),message:f("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}}),o.dataBind=i}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return t}(U),j=function(e){Jo(t,e);function t(n){Xo(this,t);var o;o=Go(this,t,[n]);var r=n.isHide?!1:n.required;return r&&o.push({type:"string",required:r,message:n.requiredMessage!==""?n.requiredMessage:f("CMD.runtimeRequired",{caption:n.caption},"{caption}\u5FC5\u586B")}),o}return t}(Oe),k=function(e){Jo(t,e);function t(n){Xo(this,t);var o;o=Go(this,t,[n]),N(o,"caption",void 0),N(o,"isHideCaption",void 0),N(o,"isShowCaptionTip",void 0),N(o,"captionTip",void 0),N(o,"labelPosition",void 0),N(o,"dataBind",void 0),N(o,"defaultValue",void 0),N(o,"placeholder",void 0),N(o,"defaultState",void 0),N(o,"required",void 0),N(o,"requiredMessage",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:"";var i;o.isHideCaption=(i=n==null?void 0:n.isHideCaption)!==null&&i!==void 0?i:!1;var u;o.isShowCaptionTip=(u=n==null?void 0:n.isShowCaptionTip)!==null&&u!==void 0?u:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var a;o.defaultState=(a=n==null?void 0:n.defaultState)!==null&&a!==void 0?a:"default";var c;o.labelPosition=(c=n==null?void 0:n.labelPosition)!==null&&c!==void 0?c:"top";var _;o.placeholder=(_=n==null?void 0:n.placeholder)!==null&&_!==void 0?_:"";var y;o.required=(y=n==null?void 0:n.required)!==null&&y!==void 0?y:!1;var d;o.requiredMessage=(d=n==null?void 0:n.requiredMessage)!==null&&d!==void 0?d:"",o.dataBind=new Ft(n==null?void 0:n.dataBind);var m;return o.defaultValue=(m=n==null?void 0:n.defaultValue)!==null&&m!==void 0?m:"",o}return t}(W);N(k,"Rules",tt),N(k,"RuntimeRules",j);var Ne=function(e){Jo(t,e);function t(n){Xo(this,t);var o;return o=Go(this,t,[n]),N(o,"optionConfig",{type:"enum",enum:["custom","datasource"],message:f("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),N(o,"options",[{type:"array",message:f("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),N(o,"datasourceBind",[{type:"object",message:f("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),zf.call(o,n),o}return t}(tt);function ZM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YM(e,t,n){return t=Yo(t),nC(e,Pb()?Reflect.construct(t,n||[],Yo(e).constructor):t.apply(e,n))}function tC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yo(e){return Yo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yo(e)}function eC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qf(e,t)}function nC(e,t){return t&&(oC(t)==="object"||typeof t=="function")?t:ZM(e)}function qf(e,t){return qf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qf(e,t)}function oC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Pb=function(){return!!e})()}var F=function(e){eC(t,e);function t(n){tC(this,t);var o;return o=YM(this,t,[n]),Zo(o,"controlType","form"),Zo(o,"props",void 0),o.props=new k(n==null?void 0:n.props),o}return t}(C);Zo(F,"controlEventKeys",["on_change","on_focus","on_blur"]),Zo(F,"controlCustomAttributes",void 0);function rC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iC(e,t,n){return t=tr(t),cC(e,Eb()?Reflect.construct(t,n||[],tr(e).constructor):t.apply(e,n))}function uC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Uf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tr(e){return tr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tr(e)}function lC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wf(e,t)}function cC(e,t){return t&&(aC(t)==="object"||typeof t=="function")?t:rC(e)}function Wf(e,t){return Wf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wf(e,t)}function aC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Eb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Eb=function(){return!!e})()}var x=function(e){lC(t,e);function t(n){uC(this,t);var o;return o=iC(this,t,[n]),Uf(o,"controlType","form"),Uf(o,"props",void 0),Uf(o,"value",void 0),o.props=new k(n==null?void 0:n.props),o}return t}(Ht);function fC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _C(e,t,n){return t=er(t),pC(e,Sb()?Reflect.construct(t,n||[],er(e).constructor):t.apply(e,n))}function sC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function er(e){return er=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},er(e)}function yC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kf(e,t)}function pC(e,t){return t&&(dC(t)==="object"||typeof t=="function")?t:fC(e)}function Kf(e,t){return Kf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kf(e,t)}function dC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Sb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Sb=function(){return!!e})()}var et=function(e){yC(t,e);function t(n){return sC(this,t),_C(this,t,[n])}return t}(W);function Gf(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function vC(e){if(Array.isArray(e))return Gf(e)}function hC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tb(e,t,n,o,r,i,u){try{var l=e[i](u),a=l.value}catch(c){n(c);return}l.done?t(a):Promise.resolve(a).then(o,r)}function bC(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(a){Tb(i,o,r,u,l,"next",a)}function l(a){Tb(i,o,r,u,l,"throw",a)}u(void 0)})}}function mC(e,t,n){return t=_e(t),BC(e,Db()?Reflect.construct(t,n||[],_e(e).constructor):t.apply(e,n))}function gC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rb(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function OC(e,t,n){return t&&Rb(e.prototype,t),n&&Rb(e,n),e}function fe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ve(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Ve=Reflect.get:Ve=function(r,i,u){var l=DC(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},Ve(e,t,n||e)}function _e(e){return _e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_e(e)}function wC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xf(e,t)}function $C(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function PC(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function EC(){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 SC(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){fe(e,r,n[r])})}return e}function TC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function RC(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):TC(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function BC(e,t){return t&&(AC(t)==="object"||typeof t=="function")?t:hC(e)}function Xf(e,t){return Xf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xf(e,t)}function DC(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=_e(e),e!==null););return e}function Bb(e){return vC(e)||PC(e)||IC(e)||EC()}function AC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IC(e,t){if(!!e){if(typeof e=="string")return Gf(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Gf(e,t)}}function Db(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Db=function(){return!!e})()}function kC(e,t){var n,o,r,i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},u=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return u.next=l(0),u.throw=l(1),u.return=l(2),typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function l(c){return function(_){return a([c,_])}}function a(c){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,c[0]&&(i=0)),i;)try{if(n=1,o&&(r=c[0]&2?o.return:c[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,c[1])).done)return r;switch(o=0,r&&(c=[c[0]&2,r.value]),c[0]){case 0:case 1:r=c;break;case 4:return i.label++,{value:c[1],done:!1};case 5:i.label++,o=c[1],c=[0];continue;case 7:c=i.ops.pop(),i.trys.pop();continue;default:if(r=i.trys,!(r=r.length>0&&r[r.length-1])&&(c[0]===6||c[0]===2)){i=0;continue}if(c[0]===3&&(!r||c[1]>r[0]&&c[1]<r[3])){i.label=c[1];break}if(c[0]===6&&i.label<r[1]){i.label=r[1],r=c;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(c);break}r[2]&&i.ops.pop(),i.trys.pop();continue}c=t.call(e,i)}catch(_){c=[6,_],o=0}finally{n=r=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var FC=1e4,nt=function(t){wC(n,t);function n(o){gC(this,n);var r;r=mC(this,n,[o]),fe(r,"controlType","layout"),fe(r,"children",void 0),fe(r,"excludes",void 0),fe(r,"childrenMaxLength",void 0),fe(r,"props",void 0);var i=$C(this,n)?this.constructor:void 0,u=i.excludes,l=i.childrenMaxLength;return r.props=new et(o==null?void 0:o.props),Gt(r,"children",o==null?void 0:o.children,void 0,"Designer"),r.excludes=kt(u),r.childrenMaxLength=l,r}return OC(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,l=this,a=function(){return Ve(_e(n.prototype),"validate",u)};return bC(function(){return kC(this,function(c){switch(c.label){case 0:return[4,a().call(l,r,i)];case 1:return c.sent(),[4,Promise.all(this.children.map(function(_){return _.validate(r,i)}))];case 2:return c.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,i=Ve(_e(n.prototype),"toDataBindModel",this).call(this),u=i?[i]:[];return this.children.reduce(function(l,a){var c=a.toDataBindModel(r);if(Array.isArray(c)){var _=c.filter(function(y){return!!y});return Bb(l).concat(Bb(_))}return c&&l.push(c),l},u)}},{key:"toSchema",value:function(){var r=Ve(_e(n.prototype),"toSchema",this).call(this),i=this.children.map(function(u){var l=u.toSchema();return l});return RC(SC({},r),{children:i})}}]),n}(C);fe(nt,"excludes",!1),fe(nt,"childrenMaxLength",FC);function xC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MC(e,t,n){return t=nr(t),jC(e,Ab()?Reflect.construct(t,n||[],nr(e).constructor):t.apply(e,n))}function CC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nr(e){return nr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nr(e)}function LC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jf(e,t)}function jC(e,t){return t&&(NC(t)==="object"||typeof t=="function")?t:xC(e)}function Jf(e,t){return Jf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jf(e,t)}function NC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ab(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ab=function(){return!!e})()}var we=function(e){LC(t,e);function t(n){CC(this,t);var o;return o=MC(this,t,[n]),Qf(o,"controlType","layout"),Qf(o,"children",void 0),Qf(o,"props",void 0),o.props=new et(n==null?void 0:n.props),Gt(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return t}(Ht);function VC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zC(e,t,n){return t=or(t),UC(e,Ib()?Reflect.construct(t,n||[],or(e).constructor):t.apply(e,n))}function HC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ze(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function or(e){return or=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},or(e)}function qC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zf(e,t)}function UC(e,t){return t&&(WC(t)==="object"||typeof t=="function")?t:VC(e)}function Zf(e,t){return Zf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zf(e,t)}function WC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ib(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ib=function(){return!!e})()}var Yf=function(e){qC(t,e);function t(n,o,r){HC(this,t);var i;i=zC(this,t,[o]),ze(i,"headers",void 0),ze(i,"footers",void 0),ze(i,"pageIndex",void 0),ze(i,"pageSize",void 0),ze(i,"pageSizeOptions",void 0),ze(i,"totalCount",void 0),Gt(i,"headers",o==null?void 0:o.headers,n,r),Gt(i,"footers",o==null?void 0:o.footers,n);var u;i.pageIndex=(u=o==null?void 0:o.pageIndex)!==null&&u!==void 0?u:1;var l;i.pageSize=(l=o==null?void 0:o.pageSize)!==null&&l!==void 0?l:20;var a;i.pageSizeOptions=(a=o==null?void 0:o.pageSizeOptions)!==null&&a!==void 0?a:[20];var c;return i.totalCount=(c=o==null?void 0:o.totalCount)!==null&&c!==void 0?c:0,i}return t}(W);function t_(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function KC(e){if(Array.isArray(e))return t_(e)}function GC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kb(e,t,n,o,r,i,u){try{var l=e[i](u),a=l.value}catch(c){n(c);return}l.done?t(a):Promise.resolve(a).then(o,r)}function XC(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(a){kb(i,o,r,u,l,"next",a)}function l(a){kb(i,o,r,u,l,"throw",a)}u(void 0)})}}function QC(e,t,n){return t=se(t),oL(e,Lb()?Reflect.construct(t,n||[],se(e).constructor):t.apply(e,n))}function JC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fb(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function ZC(e,t,n){return t&&Fb(e.prototype,t),n&&Fb(e,n),e}function rr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function He(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?He=Reflect.get:He=function(r,i,u){var l=rL(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},He(e,t,n||e)}function se(e){return se=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},se(e)}function YC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&e_(e,t)}function tL(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function eL(){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 xb(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){rr(e,r,n[r])})}return e}function nL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function Mb(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):nL(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function oL(e,t){return t&&(iL(t)==="object"||typeof t=="function")?t:GC(e)}function e_(e,t){return e_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},e_(e,t)}function rL(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=se(e),e!==null););return e}function Cb(e){return KC(e)||tL(e)||uL(e)||eL()}function iL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uL(e,t){if(!!e){if(typeof e=="string")return t_(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return t_(e,t)}}function Lb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Lb=function(){return!!e})()}function lL(e,t){var n,o,r,i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},u=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return u.next=l(0),u.throw=l(1),u.return=l(2),typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function l(c){return function(_){return a([c,_])}}function a(c){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,c[0]&&(i=0)),i;)try{if(n=1,o&&(r=c[0]&2?o.return:c[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,c[1])).done)return r;switch(o=0,r&&(c=[c[0]&2,r.value]),c[0]){case 0:case 1:r=c;break;case 4:return i.label++,{value:c[1],done:!1};case 5:i.label++,o=c[1],c=[0];continue;case 7:c=i.ops.pop(),i.trys.pop();continue;default:if(r=i.trys,!(r=r.length>0&&r[r.length-1])&&(c[0]===6||c[0]===2)){i=0;continue}if(c[0]===3&&(!r||c[1]>r[0]&&c[1]<r[3])){i.label=c[1];break}if(c[0]===6&&i.label<r[1]){i.label=r[1],r=c;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(c);break}r[2]&&i.ops.pop(),i.trys.pop();continue}c=t.call(e,i)}catch(_){c=[6,_],o=0}finally{n=r=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var n_=function(e){YC(t,e);function t(n){JC(this,t);var o;return o=QC(this,t,[n]),rr(o,"controlType","list"),rr(o,"props",void 0),o.props=new Yf(o,n==null?void 0:n.props,"Designer"),o}return ZC(t,[{key:"validate",value:function(o,r){var i=this,u=this,l=function(){return He(se(t.prototype),"validate",i)};return XC(function(){return lL(this,function(a){switch(a.label){case 0:return[4,l().call(u,o)];case 1:return a.sent(),[4,Promise.all(this.props.headers.map(function(c){return c.validate(o,r)}))];case 2:return a.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var o=He(se(t.prototype),"toDataBindModel",this).call(this),r=o?[o]:[],i=this.id;return this.props.headers.reduce(function(u,l){var a=l.toDataBindModel(i);if(Array.isArray(a)){var c=a.filter(function(_){return!!_});return Cb(u).concat(Cb(c))}return a&&u.push(a),u},r)}},{key:"toSchema",value:function(){var o=He(se(t.prototype),"toSchema",this).call(this),r=this.props.headers.map(function(i){return i.toSchema()});return Mb(xb({},o),{props:Mb(xb({},this.props),{headers:r})})}}]),t}(C);rr(n_,"controlFieldType",O.LIST);function cL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o_(e,t,n){return t=ir(t),aL(e,jb()?Reflect.construct(t,n||[],ir(e).constructor):t.apply(e,n))}function r_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ot(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ir(e){return ir=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ir(e)}function i_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u_(e,t)}function aL(e,t){return t&&(fL(t)==="object"||typeof t=="function")?t:cL(e)}function u_(e,t){return u_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},u_(e,t)}function fL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(jb=function(){return!!e})()}var Zt=function(e){i_(t,e);function t(n){r_(this,t);var o;return o=o_(this,t,[n]),ot(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),ot(o,"width",{type:"number",required:!1,message:f("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")}),o.width.required=n.widthType==="px",o}return t}(U),K=function(e){i_(t,e);function t(n){r_(this,t);var o;o=o_(this,t,[n]),ot(o,"widthType",void 0),ot(o,"width",void 0),ot(o,"caption",void 0),ot(o,"dataBind",void 0),ot(o,"autoWidth",void 0),ot(o,"fixed",void 0),ot(o,"sort",void 0),ot(o,"align",void 0),ot(o,"colSpan",void 0),ot(o,"autoHeight",void 0),ot(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 Of(n==null?void 0:n.autoWidth),o.dataBind=new Ft(n==null?void 0:n.dataBind);var l;o.sort=(l=n==null?void 0:n.sort)!==null&&l!==void 0?l:!0,o.align=n==null?void 0:n.align,o.colSpan=n==null?void 0:n.colSpan;var a;return o.autoHeight=(a=n==null?void 0:n.autoHeight)!==null&&a!==void 0?a:!1,o}return t}(W);ot(K,"Rules",Zt);var l_=function(e){i_(t,e);function t(n){r_(this,t);var o;return o=o_(this,t,[n]),ot(o,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:f("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),ot(o,"options",[{type:"array",message:f("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),ot(o,"datasourceBind",[{type:"object",message:f("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),zf.call(o,n),o}return t}(Zt);function _L(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sL(e,t,n){return t=qe(t),mL(e,Vb()?Reflect.construct(t,n||[],qe(e).constructor):t.apply(e,n))}function yL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nb(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function pL(e,t,n){return t&&Nb(e.prototype,t),n&&Nb(e,n),e}function ur(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lr(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?lr=Reflect.get:lr=function(r,i,u){var l=gL(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},lr(e,t,n||e)}function qe(e){return qe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qe(e)}function dL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c_(e,t)}function vL(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){ur(e,r,n[r])})}return e}function hL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function bL(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):hL(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function mL(e,t){return t&&(OL(t)==="object"||typeof t=="function")?t:_L(e)}function c_(e,t){return c_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},c_(e,t)}function gL(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=qe(e),e!==null););return e}function OL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Vb=function(){return!!e})()}var rt=function(e){dL(t,e);function t(n){yL(this,t);var o;return o=sL(this,t,[n]),ur(o,"controlType","column"),ur(o,"props",void 0),ur(o,"children",void 0),o.props=new K(n==null?void 0:n.props),Gt(o,"children",n==null?void 0:n.children,void 0,"Designer"),o}return pL(t,[{key:"toSchema",value:function(){var o=lr(qe(t.prototype),"toSchema",this).call(this);return bL(vL({},o),{children:this.children?this.children.map(function(r){return r.toSchema()}):[]})}}]),t}(C);function wL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $L(e,t,n){return t=cr(t),SL(e,zb()?Reflect.construct(t,n||[],cr(e).constructor):t.apply(e,n))}function PL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cr(e){return cr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cr(e)}function EL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f_(e,t)}function SL(e,t){return t&&(TL(t)==="object"||typeof t=="function")?t:wL(e)}function f_(e,t){return f_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},f_(e,t)}function TL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(zb=function(){return!!e})()}var it=function(e){EL(t,e);function t(n){PL(this,t);var o;return o=$L(this,t,[n]),a_(o,"controlType","column"),a_(o,"props",void 0),a_(o,"children",void 0),o.props=new K(n==null?void 0:n.props),Gt(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return t}(Ht);function RL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BL(e,t,n){return t=ar(t),kL(e,Hb()?Reflect.construct(t,n||[],ar(e).constructor):t.apply(e,n))}function DL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AL(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ar(e){return ar=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ar(e)}function IL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&__(e,t)}function kL(e,t){return t&&(FL(t)==="object"||typeof t=="function")?t:RL(e)}function __(e,t){return __=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},__(e,t)}function FL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Hb=function(){return!!e})()}var s_=function(e){IL(t,e);function t(n){DL(this,t);var o;return o=BL(this,t,[n]),AL(o,"dataBind",void 0),o.dataBind=new Ft(n==null?void 0:n.dataBind),o}return t}(et);function xL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ML(e,t,n){return t=fr(t),jL(e,Ub()?Reflect.construct(t,n||[],fr(e).constructor):t.apply(e,n))}function CL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fr(e){return fr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fr(e)}function LL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y_(e,t)}function jL(e,t){return t&&(NL(t)==="object"||typeof t=="function")?t:xL(e)}function y_(e,t){return y_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},y_(e,t)}function NL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ub(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ub=function(){return!!e})()}var VL=function(e){LL(t,e);function t(n){CL(this,t);var o;return o=ML(this,t,[n]),qb(o,"controlType","search"),qb(o,"props",void 0),o.props=new s_(n==null?void 0:n.props),o}return t}(nt);function zL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HL(e,t,n){return t=_r(t),WL(e,Kb()?Reflect.construct(t,n||[],_r(e).constructor):t.apply(e,n))}function qL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _r(e){return _r=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_r(e)}function UL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p_(e,t)}function WL(e,t){return t&&(KL(t)==="object"||typeof t=="function")?t:zL(e)}function p_(e,t){return p_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},p_(e,t)}function KL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Kb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Kb=function(){return!!e})()}var GL=function(e){UL(t,e);function t(n){qL(this,t);var o;return o=HL(this,t,[n]),Wb(o,"controlType","search"),Wb(o,"props",void 0),o.props=new s_(n==null?void 0:n.props),o}return t}(we);function ye(e){e.hasOwnProperty("linkOperationOption")&&e.hasOwnProperty("showLinkOperation")&&e.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:f("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}])}function XL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QL(e,t,n){return t=sr(t),YL(e,Gb()?Reflect.construct(t,n||[],sr(e).constructor):t.apply(e,n))}function JL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sr(e){return sr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sr(e)}function ZL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d_(e,t)}function YL(e,t){return t&&(t7(t)==="object"||typeof t=="function")?t:XL(e)}function d_(e,t){return d_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},d_(e,t)}function t7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Gb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Gb=function(){return!!e})()}var e7=function(e){ZL(t,e);function t(n){JL(this,t);var o;o=QL(this,t,[n]),$e(o,"content",void 0),$e(o,"fontSize",void 0),$e(o,"color",void 0),$e(o,"icon",void 0),$e(o,"align",void 0),$e(o,"showState",void 0),$e(o,"aiContentSearch",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 l;o.showState=(l=n==null?void 0:n.showState)!==null&&l!==void 0?l:"text";var a;o.content=(a=n==null?void 0:n.content)!==null&&a!==void 0?a:f("CMD.text",null,"\u8BF4\u660E\u6587\u5B57");var c;o.align=(c=n==null?void 0:n.align)!==null&&c!==void 0?c:"";var _;return o.aiContentSearch=(_=n==null?void 0:n.aiContentSearch)!==null&&_!==void 0?_:!1,o}return t}(W);function n7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o7(e,t,n){return t=yr(t),l7(e,Jb()?Reflect.construct(t,n||[],yr(e).constructor):t.apply(e,n))}function r7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xb(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i7(e,t,n){return t&&Xb(e.prototype,t),n&&Xb(e,n),e}function Qb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yr(e){return yr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yr(e)}function u7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v_(e,t)}function l7(e,t){return t&&(c7(t)==="object"||typeof t=="function")?t:n7(e)}function v_(e,t){return v_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},v_(e,t)}function c7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Jb=function(){return!!e})()}var a7=function(e){u7(t,e);function t(n){r7(this,t);var o;return o=o7(this,t,[n]),Qb(o,"props",void 0),o.props=new e7(n==null?void 0:n.props),o}return i7(t,null,[{key:"controlName",get:function(){return f("CMD.text",null,"\u8BF4\u660E\u6587\u5B57")}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),t}(C);Qb(a7,"setting",[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"ai-content-search",visible:!0},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}]);function f7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _7(e,t,n){return t=pr(t),p7(e,Zb()?Reflect.construct(t,n||[],pr(e).constructor):t.apply(e,n))}function s7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pr(e){return pr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pr(e)}function y7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b_(e,t)}function p7(e,t){return t&&(d7(t)==="object"||typeof t=="function")?t:f7(e)}function b_(e,t){return b_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},b_(e,t)}function d7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Zb=function(){return!!e})()}var v7=function(e){y7(t,e);function t(n){s7(this,t);var o;o=_7(this,t,[n]),h_(o,"content",void 0),h_(o,"url",void 0),h_(o,"openMode",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:f("CMD.linkContent",null,"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5");var i;o.url=(i=n==null?void 0:n.url)!==null&&i!==void 0?i:"";var u;return o.openMode=(u=n==null?void 0:n.openMode)!==null&&u!==void 0?u:"new",o}return t}(W);function h7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b7(e,t,n){return t=dr(t),w7(e,tm()?Reflect.construct(t,n||[],dr(e).constructor):t.apply(e,n))}function m7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yb(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function g7(e,t,n){return t&&Yb(e.prototype,t),n&&Yb(e,n),e}function m_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dr(e){return dr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dr(e)}function O7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g_(e,t)}function w7(e,t){return t&&($7(t)==="object"||typeof t=="function")?t:h7(e)}function g_(e,t){return g_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},g_(e,t)}function $7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tm=function(){return!!e})()}var em=function(e){O7(t,e);function t(n){m7(this,t);var o;return o=b7(this,t,[n]),m_(o,"props",void 0),o.props=new v7(n==null?void 0:n.props),o}return g7(t,null,[{key:"controlName",get:function(){return f("CMD.link",null,"\u94FE\u63A5")}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),t}(C);m_(em,"controlEventKeys",["on_click"]),m_(em,"setting",[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}]);function P7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E7(e,t,n){return t=vr(t),R7(e,nm()?Reflect.construct(t,n||[],vr(e).constructor):t.apply(e,n))}function S7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vr(e){return vr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vr(e)}function T7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&O_(e,t)}function R7(e,t){return t&&(B7(t)==="object"||typeof t=="function")?t:P7(e)}function O_(e,t){return O_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},O_(e,t)}function B7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(nm=function(){return!!e})()}var wt=function(e){T7(t,e);function t(n){S7(this,t);var o;o=E7(this,t,[n]),Yt(o,"content",void 0),Yt(o,"buttonType",void 0),Yt(o,"showType",void 0),Yt(o,"color",void 0),Yt(o,"icon",void 0),Yt(o,"defaultState",void 0),Yt(o,"command",void 0),Yt(o,"isLoading",void 0),Yt(o,"optObj",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:f("CMD.button",null,"\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 l;o.color=(l=n==null?void 0:n.color)!==null&&l!==void 0?l:"primary";var a;o.icon=(a=n==null?void 0:n.icon)!==null&&a!==void 0?a:"iconfenlei2";var c;o.defaultState=(c=n==null?void 0:n.defaultState)!==null&&c!==void 0?c:"default";var _;o.command=(_=n==null?void 0:n.command)!==null&&_!==void 0?_:"custom";var y;o.isLoading=(y=n==null?void 0:n.isLoading)!==null&&y!==void 0?y:!1;var d;return o.optObj=new Qx((d=n==null?void 0:n.optObj)!==null&&d!==void 0?d:{}),o}return t}(W);function D7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A7(e,t,n){return t=br(t),x7(e,rm()?Reflect.construct(t,n||[],br(e).constructor):t.apply(e,n))}function I7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function om(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function k7(e,t,n){return t&&om(e.prototype,t),n&&om(e,n),e}function hr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function br(e){return br=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},br(e)}function F7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w_(e,t)}function x7(e,t){return t&&(M7(t)==="object"||typeof t=="function")?t:D7(e)}function w_(e,t){return w_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},w_(e,t)}function M7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(rm=function(){return!!e})()}var st=function(e){F7(t,e);function t(n){I7(this,t);var o;return o=A7(this,t,[n]),hr(o,"props",void 0),o.props=new wt(n==null?void 0:n.props),o}return k7(t,null,[{key:"controlName",get:function(){return f("CMD.button",null,"\u6309\u94AE")}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),t}(C);hr(st,"slots",["grid-table-toolbar-slot","action-bar-slot",S0.DEFAULT]),hr(st,"controlEventKeys",["on_click"]),hr(st,"setting",[{key:"button-content",visible:!0},{key:"button-opt-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}]);function $t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function P(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Pe=function(e){return e.ShowBizKey="is_show_biz_key",e.ShowSubmitUser="is_show_submit_user",e.ShowSubmitTime="is_show_submit_time",e.ShowSubmitDept="is_show_submit_dept",e.ShowCurrentApprovar="is_show_current_approvar",e.ShowTitle="is_show_title",e}({}),$_=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:Vt(8),value:["",""]};$t(this,e),P(this,"dateConfigType",void 0),P(this,"dateLimitType",void 0),P(this,"id",void 0),P(this,"value",void 0),this.id=t.id,this.dateConfigType=t.dateConfigType,this.dateLimitType=t.dateLimitType,this.value=t.value},C7=function(e){return e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile",e}({}),P_=function e(t){$t(this,e),P(this,"id",void 0),P(this,"text",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Vt();var o;this.text=(o=t==null?void 0:t.text)!==null&&o!==void 0?o:""},L7=function(e){return e.SOLID="solid-line",e.DASHED="dashed-line",e.BOLD_SOLID="bold-solid-line",e.BOLD_DASHED="bold-dashed-line",e.DOUBLE_SOLID="double-solid-line",e.DOUBLE_DASHED="double-dashed-line",e}({}),im=function e(t){$t(this,e),P(this,"type",void 0),P(this,"person",void 0),P(this,"signatureType",void 0),P(this,"telephone",void 0),P(this,"company",void 0),P(this,"signaturePosition",void 0),P(this,"indexSignature",void 0),P(this,"posX",void 0),P(this,"posY",void 0),P(this,"platformAutoSign",void 0),P(this,"signDateBeanType",void 0),P(this,"signDateFontSize",void 0),P(this,"signDateFormat",void 0),P(this,"signOrder",void 0),P(this,"forceReadTime",void 0),P(this,"seal",void 0),P(this,"remark",void 0);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"private";var o;this.person=new le((o=t==null?void 0:t.person)!==null&&o!==void 0?o:{type:"form"});var r;this.signatureType=(r=t==null?void 0:t.signatureType)!==null&&r!==void 0?r:[];var i,u;this.telephone=(u=t==null?void 0:t.telephone)!==null&&u!==void 0?u:new le((i=t==null?void 0:t.telephone)!==null&&i!==void 0?i:{type:"form"});var l,a;this.company=(a=t==null?void 0:t.company)!==null&&a!==void 0?a:new le((l=t==null?void 0:t.company)!==null&&l!==void 0?l:{type:"form"});var c,_;this.indexSignature=(_=t==null?void 0:t.indexSignature)!==null&&_!==void 0?_:new le((c=t==null?void 0:t.indexSignature)!==null&&c!==void 0?c:{type:"form"});var y;this.signaturePosition=(y=t==null?void 0:t.signaturePosition)!==null&&y!==void 0?y:"free";var d;this.seal=new le((d=t==null?void 0:t.seal)!==null&&d!==void 0?d:{type:"form"});var m;this.platformAutoSign=(m=t==null?void 0:t.platformAutoSign)!==null&&m!==void 0?m:!1;var g;this.signDateBeanType=(g=t==null?void 0:t.signDateBeanType)!==null&&g!==void 0?g:0;var b;this.signDateFontSize=(b=t==null?void 0:t.signDateFontSize)!==null&&b!==void 0?b:12;var $;this.signOrder=($=t==null?void 0:t.signOrder)!==null&&$!==void 0?$:1,this.forceReadTime=t==null?void 0:t.forceReadTime;var v;this.posX=(v=t==null?void 0:t.posX)!==null&&v!==void 0?v:0;var w;this.posY=(w=t==null?void 0:t.posY)!==null&&w!==void 0?w:0;var T;this.remark=(T=t==null?void 0:t.remark)!==null&&T!==void 0?T:""},j7=function e(t){$t(this,e);var n;P(this,"fileControl",void 0),P(this,"undersignedList",void 0),P(this,"statusControl",void 0),P(this,"completeControl",void 0),P(this,"completeTimeControl",void 0);var o;this.fileControl=(o=t==null?void 0:t.fileControl)!==null&&o!==void 0?o:"";var r;this.undersignedList=(r=t==null||(n=t.undersignedList)===null||n===void 0?void 0:n.map(function(a){return new im(a)}))!==null&&r!==void 0?r:[new im];var i;this.statusControl=(i=t==null?void 0:t.statusControl)!==null&&i!==void 0?i:"";var u;this.completeControl=(u=t==null?void 0:t.completeControl)!==null&&u!==void 0?u:"";var l;this.completeTimeControl=(l=t==null?void 0:t.completeTimeControl)!==null&&l!==void 0?l:""},mr=function e(t){$t(this,e),P(this,"id",void 0),P(this,"appId",void 0),P(this,"dataCode",void 0),P(this,"svcCode",void 0),P(this,"name",void 0),P(this,"fieldList",void 0),P(this,"active",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Vt(8);var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var i;this.svcCode=(i=t==null?void 0:t.svcCode)!==null&&i!==void 0?i:"";var u;this.name=(u=t==null?void 0:t.name)!==null&&u!==void 0?u:"";var l;this.fieldList=(l=t==null?void 0:t.fieldList)!==null&&l!==void 0?l:[];var a;this.active=(a=t==null?void 0:t.active)!==null&&a!==void 0?a:!1},um=function e(t){$t(this,e),P(this,"active",void 0),P(this,"text",void 0);var n;this.active=(n=t==null?void 0:t.active)!==null&&n!==void 0?n:!1;var o;this.text=(o=t==null?void 0:t.text)!==null&&o!==void 0?o:""},N7=function e(t){$t(this,e),P(this,"types",void 0),P(this,"history",void 0),P(this,"collaborativeRecord",void 0),P(this,"logicToDelete",void 0),P(this,"watermark",void 0),P(this,"autoRename",void 0);var n;this.types=(n=t==null?void 0:t.types)!==null&&n!==void 0?n:["word","ppt","excel"];var o;this.history=(o=t==null?void 0:t.history)!==null&&o!==void 0?o:!1;var r;this.collaborativeRecord=(r=t==null?void 0:t.collaborativeRecord)!==null&&r!==void 0?r:!1;var i;this.logicToDelete=(i=t==null?void 0:t.logicToDelete)!==null&&i!==void 0?i:!0,this.watermark=new um(t==null?void 0:t.watermark),this.autoRename=new um(t==null?void 0:t.autoRename)},lm=function e(t){$t(this,e),P(this,"appId",void 0),P(this,"dataCode",void 0),P(this,"formKey",void 0),P(this,"orders",void 0),P(this,"filters",void 0),P(this,"isRelation",void 0),P(this,"relationBindCode",void 0);var n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.dataCode=(o=t==null?void 0:t.dataCode)!==null&&o!==void 0?o:"";var r;this.formKey=(r=t==null?void 0:t.formKey)!==null&&r!==void 0?r:"";var i;this.orders=(i=t==null?void 0:t.orders)!==null&&i!==void 0?i:[];var u;this.filters=(u=t==null?void 0:t.filters)!==null&&u!==void 0?u:[];var l;this.isRelation=(l=t==null?void 0:t.isRelation)!==null&&l!==void 0?l:!1;var a;this.relationBindCode=(a=t==null?void 0:t.relationBindCode)!==null&&a!==void 0?a:""},cm=function e(t){$t(this,e),P(this,"type",void 0),P(this,"row",void 0),P(this,"height",void 0);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"auto";var o;this.row=(o=t==null?void 0:t.row)!==null&&o!==void 0?o:20,this.height=t==null?void 0:t.height},V7=function e(t){$t(this,e),P(this,"dataCode",void 0),this.dataCode=t.dataCode},z7=function e(t){$t(this,e);var n;P(this,"templateType",void 0),P(this,"templateList",void 0);var o;this.templateType=(o=t==null?void 0:t.templateType)!==null&&o!==void 0?o:"system";var r;this.templateList=(r=t==null||(n=t.templateList)===null||n===void 0?void 0:n.map(function(i){return new V7(i)}))!==null&&r!==void 0?r:[]},H7=function e(t){$t(this,e);var n;P(this,"templateType",void 0),P(this,"templateList",void 0);var o;this.templateType=(o=t==null?void 0:t.templateType)!==null&&o!==void 0?o:"system";var r;this.templateList=(r=t==null||(n=t.templateList)===null||n===void 0?void 0:n.map(function(i){return new mr(i)}))!==null&&r!==void 0?r:[new mr({id:"default",name:f("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u677F"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]},q7=480;function gr(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var U7=function e(t){$t(this,e),P(this,"fileId",void 0),P(this,"fileName",void 0),P(this,"ruleName",void 0),P(this,"isDefault",void 0),P(this,"rules",void 0);var n;this.fileId=(n=t==null?void 0:t.fileId)!==null&&n!==void 0?n:"";var o;this.fileName=(o=t==null?void 0:t.fileName)!==null&&o!==void 0?o:"";var r;this.ruleName=(r=t==null?void 0:t.ruleName)!==null&&r!==void 0?r:"";var i;this.isDefault=(i=t.isDefault)!==null&&i!==void 0?i:!1;var u;this.rules=(u=t.rules)!==null&&u!==void 0?u:[]},W7=function(e){return e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",e}({}),am=function(e){return e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS",e}({}),Ue=function(e){return e.ALL="all",e.ASSIGN="assign",e}({}),K7=function(e){return e.ALL="all",e.ADMIN="admin",e}({});function G7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X7(e,t,n){return t=Or(t),Z7(e,_m()?Reflect.construct(t,n||[],Or(e).constructor):t.apply(e,n))}function Q7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Or(e){return Or=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Or(e)}function J7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&E_(e,t)}function Z7(e,t){return t&&(Y7(t)==="object"||typeof t=="function")?t:G7(e)}function E_(e,t){return E_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},E_(e,t)}function Y7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _m(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_m=function(){return!!e})()}var t8=function(e){J7(t,e);function t(n){Q7(this,t);var o;o=X7(this,t,[n]),fm(o,"color",void 0),fm(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:L7.SOLID,o}return t}(W);function e8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n8(e,t,n){return t=wr(t),u8(e,pm()?Reflect.construct(t,n||[],wr(e).constructor):t.apply(e,n))}function o8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function r8(e,t,n){return t&&sm(e.prototype,t),n&&sm(e,n),e}function ym(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wr(e){return wr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wr(e)}function i8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&S_(e,t)}function u8(e,t){return t&&(l8(t)==="object"||typeof t=="function")?t:e8(e)}function S_(e,t){return S_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},S_(e,t)}function l8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(pm=function(){return!!e})()}var c8=function(e){i8(t,e);function t(n){o8(this,t);var o;return o=n8(this,t,[n]),ym(o,"props",void 0),o.props=new t8(n==null?void 0:n.props),o}return r8(t,null,[{key:"controlName",get:function(){return f("CMD.divider",null,"\u5206\u5272\u7EBF")}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),t}(C);ym(c8,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]}]);function a8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dm(e,t,n){return t=$r(t),f8(e,bm()?Reflect.construct(t,n||[],$r(e).constructor):t.apply(e,n))}function vm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $r(e){return $r=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$r(e)}function hm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&T_(e,t)}function f8(e,t){return t&&(_8(t)==="object"||typeof t=="function")?t:a8(e)}function T_(e,t){return T_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},T_(e,t)}function _8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(bm=function(){return!!e})()}var s8=function(e){hm(t,e);function t(n){vm(this,t);var o;return o=dm(this,t,[n]),pe(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),pe(o,"dataBind",{type:"any"}),pe(o,"config",{type:"array"}),n.config.includes(Pe.ShowBizKey)&&(o.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:f("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:f("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}},message:f("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}),!n.isHide&&n.config.length===0&&(o.config={type:"array",min:1,required:!0,message:f("CMD.pleaseSelectOneField",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01")}),o}return t}(U),mm=function(e){hm(t,e);function t(n){vm(this,t);var o;o=dm(this,t,[n]),pe(o,"dataBind",void 0),pe(o,"caption",void 0),pe(o,"config",void 0),pe(o,"position",void 0),o.dataBind=new Ft(n==null?void 0:n.dataBind);var r;o.config=(r=n==null?void 0:n.config)!==null&&r!==void 0?r:[Pe.ShowSubmitUser,Pe.ShowSubmitDept,Pe.ShowSubmitTime,Pe.ShowCurrentApprovar,Pe.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 l;return o.position=(l=n==null?void 0:n.position)!==null&&l!==void 0?l:"top",o}return t}(W);pe(mm,"Rules",s8);function y8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p8(e,t,n){return t=Pr(t),b8(e,Om()?Reflect.construct(t,n||[],Pr(e).constructor):t.apply(e,n))}function d8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function v8(e,t,n){return t&&gm(e.prototype,t),n&&gm(e,n),e}function R_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pr(e){return Pr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pr(e)}function h8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&B_(e,t)}function b8(e,t){return t&&(m8(t)==="object"||typeof t=="function")?t:y8(e)}function B_(e,t){return B_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},B_(e,t)}function m8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Om(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Om=function(){return!!e})()}var no=function(e){h8(t,e);function t(n){d8(this,t);var o;return o=p8(this,t,[n]),R_(o,"props",void 0),o.props=new mm(n==null?void 0:n.props),o}return v8(t,null,[{key:"controlName",get:function(){return f("CMD.title",null,"\u6807\u9898\u7EC4\u4EF6")}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),t}(C);R_(no,"controlFieldType",O.AUTO_NUMBER),R_(no,"setting",[{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}]);function g8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wm(e,t,n){return t=Sr(t),O8(e,Em()?Reflect.construct(t,n||[],Sr(e).constructor):t.apply(e,n))}function $m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Er(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sr(e){return Sr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sr(e)}function Pm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&D_(e,t)}function O8(e,t){return t&&(w8(t)==="object"||typeof t=="function")?t:g8(e)}function D_(e,t){return D_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},D_(e,t)}function w8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Em(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Em=function(){return!!e})()}var $8=function(e){Pm(t,e);function t(n){$m(this,t);var o;return o=wm(this,t,[n]),Er(o,"formKey",{type:"string",required:!0,message:f("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}),o}return t}(U),Sm=function(e){Pm(t,e);function t(n){$m(this,t);var o;o=wm(this,t,[n]),Er(o,"formKey",void 0),Er(o,"openType",void 0);var r;o.icon=(r=n==null?void 0:n.icon)!==null&&r!==void 0?r:oo.controlIcon;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:oo.controlName;var u;o.formKey=(u=n==null?void 0:n.formKey)!==null&&u!==void 0?u:"";var l;return o.openType=(l=n==null?void 0:n.openType)!==null&&l!==void 0?l:"modal",o}return t}(wt);Er(Sm,"Rules",$8);function P8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E8(e,t,n){return t=Rr(t),B8(e,Rm()?Reflect.construct(t,n||[],Rr(e).constructor):t.apply(e,n))}function S8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function T8(e,t,n){return t&&Tm(e.prototype,t),n&&Tm(e,n),e}function Tr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rr(e){return Rr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rr(e)}function R8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&A_(e,t)}function B8(e,t){return t&&(D8(t)==="object"||typeof t=="function")?t:P8(e)}function A_(e,t){return A_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},A_(e,t)}function D8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Rm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Rm=function(){return!!e})()}var oo=function(e){R8(t,e);function t(n){S8(this,t);var o;return o=E8(this,t,[n]),Tr(o,"props",void 0),o.props=new Sm(n==null?void 0:n.props),o}return T8(t,null,[{key:"controlName",get:function(){return f("CMD.createFormListButton",null,"\u521B\u5EFA\u5355\u636E")}},{key:"controlIcon",get:function(){return"iconchuangjiandanju"}},{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),t}(st);Tr(oo,"slots",["grid-table-toolbar-slot"]),Tr(oo,"controlEventKeys",["on_click","on_click_finish"]),Tr(oo,"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 A8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bm(e,t,n){return t=Br(t),I8(e,Im()?Reflect.construct(t,n||[],Br(e).constructor):t.apply(e,n))}function Dm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function We(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Br(e){return Br=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Br(e)}function Am(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&I_(e,t)}function I8(e,t){return t&&(k8(t)==="object"||typeof t=="function")?t:A8(e)}function I_(e,t){return I_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},I_(e,t)}function k8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Im(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Im=function(){return!!e})()}var F8=function(e){Am(t,e);function t(n){Dm(this,t);var o;return o=Bm(this,t,[n]),We(o,"processKey",[{type:"string",message:f("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:f("CMD.pleaseEnterProcess",null,"\u8BF7\u7ED1\u5B9A\u6D41\u7A0B")}]),o}return t}(U),km=function(e){Am(t,e);function t(n){Dm(this,t);var o;o=Bm(this,t,[n]),We(o,"processKey",void 0),We(o,"initiatorMode",void 0),We(o,"fieldCode",void 0),We(o,"employeeId",void 0);var r;o.icon=(r=n==null?void 0:n.icon)!==null&&r!==void 0?r:ro.controlIcon;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:ro.controlName;var u;o.initiatorMode=(u=n==null?void 0:n.initiatorMode)!==null&&u!==void 0?u:"currentInitiator";var l;o.processKey=(l=n==null?void 0:n.processKey)!==null&&l!==void 0?l:"";var a;o.fieldCode=(a=n==null?void 0:n.fieldCode)!==null&&a!==void 0?a:"";var c;return o.employeeId=(c=n==null?void 0:n.employeeId)!==null&&c!==void 0?c:"",o}return t}(wt);We(km,"Rules",F8);function x8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M8(e,t,n){return t=Ar(t),N8(e,xm()?Reflect.construct(t,n||[],Ar(e).constructor):t.apply(e,n))}function C8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function L8(e,t,n){return t&&Fm(e.prototype,t),n&&Fm(e,n),e}function Dr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ar(e){return Ar=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ar(e)}function j8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k_(e,t)}function N8(e,t){return t&&(V8(t)==="object"||typeof t=="function")?t:x8(e)}function k_(e,t){return k_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},k_(e,t)}function V8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(xm=function(){return!!e})()}var ro=function(e){j8(t,e);function t(n){C8(this,t);var o;return o=M8(this,t,[n]),Dr(o,"props",void 0),o.props=new km(n==null?void 0:n.props),o}return L8(t,null,[{key:"controlName",get:function(){return f("CMD.batchSubmissionListButton",null,"\u6279\u91CF\u63D0\u4EA4")}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),t}(st);Dr(ro,"slots",["grid-table-toolbar-slot"]),Dr(ro,"controlEventKeys",["on_click","on_click_finish"]),Dr(ro,"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 z8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function H8(e,t,n){return t=Ir(t),W8(e,Mm()?Reflect.construct(t,n||[],Ir(e).constructor):t.apply(e,n))}function q8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ir(e){return Ir=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ir(e)}function U8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&F_(e,t)}function W8(e,t){return t&&(K8(t)==="object"||typeof t=="function")?t:z8(e)}function F_(e,t){return F_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},F_(e,t)}function K8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Mm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Mm=function(){return!!e})()}var G8=function(e){U8(t,e);function t(n){q8(this,t);var o;o=H8(this,t,[n]);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:io.controlName;var i;return o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:io.controlIcon,o}return t}(wt);function X8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Q8(e,t,n){return t=Fr(t),tj(e,Lm()?Reflect.construct(t,n||[],Fr(e).constructor):t.apply(e,n))}function J8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Z8(e,t,n){return t&&Cm(e.prototype,t),n&&Cm(e,n),e}function kr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fr(e){return Fr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fr(e)}function Y8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&x_(e,t)}function tj(e,t){return t&&(ej(t)==="object"||typeof t=="function")?t:X8(e)}function x_(e,t){return x_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},x_(e,t)}function ej(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Lm=function(){return!!e})()}var io=function(e){Y8(t,e);function t(n){J8(this,t);var o;return o=Q8(this,t,[n]),kr(o,"props",void 0),o.props=new G8(n==null?void 0:n.props),o}return Z8(t,null,[{key:"controlName",get:function(){return f("CMD.submissionRecordListButton",null,"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55")}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),t}(st);kr(io,"slots",["grid-table-toolbar-slot"]),kr(io,"controlEventKeys",["on_click"]),kr(io,"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 nj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oj(e,t,n){return t=xr(t),uj(e,Nm()?Reflect.construct(t,n||[],xr(e).constructor):t.apply(e,n))}function rj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xr(e){return xr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xr(e)}function ij(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&M_(e,t)}function uj(e,t){return t&&(lj(t)==="object"||typeof t=="function")?t:nj(e)}function M_(e,t){return M_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},M_(e,t)}function lj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Nm=function(){return!!e})()}var cj=function(e){ij(t,e);function t(n){rj(this,t);var o,r;o=oj(this,t,[n]),jm(o,"templateList",void 0),jm(o,"templateType",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:uo.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:uo.controlName;var l;o.templateType=(l=n==null?void 0:n.templateType)!==null&&l!==void 0?l:"system";var a;return o.templateList=(a=n==null||(r=n.templateList)===null||r===void 0?void 0:r.map(function(c){return new mr(c)}))!==null&&a!==void 0?a:[new mr({id:"default",name:f("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u7248"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return t}(wt);function aj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fj(e,t,n){return t=Cr(t),pj(e,zm()?Reflect.construct(t,n||[],Cr(e).constructor):t.apply(e,n))}function _j(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function sj(e,t,n){return t&&Vm(e.prototype,t),n&&Vm(e,n),e}function Mr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cr(e){return Cr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cr(e)}function yj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&C_(e,t)}function pj(e,t){return t&&(dj(t)==="object"||typeof t=="function")?t:aj(e)}function C_(e,t){return C_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},C_(e,t)}function dj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(zm=function(){return!!e})()}var uo=function(e){yj(t,e);function t(n){_j(this,t);var o;return o=fj(this,t,[n]),Mr(o,"props",void 0),o.props=new cj(n==null?void 0:n.props),o}return sj(t,null,[{key:"controlName",get:function(){return f("CMD.exportListButton",null,"\u5BFC\u51FA")}},{key:"controlIcon",get:function(){return"iconxiazai1"}},{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),t}(st);Mr(uo,"slots",["grid-table-toolbar-slot"]),Mr(uo,"controlEventKeys",["on_click","on_click_finish"]),Mr(uo,"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 vj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hj(e,t,n){return t=Lr(t),gj(e,Hm()?Reflect.construct(t,n||[],Lr(e).constructor):t.apply(e,n))}function bj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lr(e){return Lr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lr(e)}function mj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&L_(e,t)}function gj(e,t){return t&&(Oj(t)==="object"||typeof t=="function")?t:vj(e)}function L_(e,t){return L_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},L_(e,t)}function Oj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Hm=function(){return!!e})()}var wj=function(e){mj(t,e);function t(n){bj(this,t);var o;o=hj(this,t,[n]);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:lo.controlName;var i;return o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:lo.controlIcon,o}return t}(wt);function $j(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pj(e,t,n){return t=Nr(t),Rj(e,Um()?Reflect.construct(t,n||[],Nr(e).constructor):t.apply(e,n))}function Ej(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Sj(e,t,n){return t&&qm(e.prototype,t),n&&qm(e,n),e}function jr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nr(e){return Nr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nr(e)}function Tj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&j_(e,t)}function Rj(e,t){return t&&(Bj(t)==="object"||typeof t=="function")?t:$j(e)}function j_(e,t){return j_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},j_(e,t)}function Bj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Um(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Um=function(){return!!e})()}var lo=function(e){Tj(t,e);function t(n){Ej(this,t);var o;return o=Pj(this,t,[n]),jr(o,"props",void 0),o.props=new wj(n==null?void 0:n.props),o}return Sj(t,null,[{key:"controlName",get:function(){return f("CMD.exportRecordListButton",null,"\u5BFC\u51FA\u8BB0\u5F55")}},{key:"controlIcon",get:function(){return"icondaochujilu"}},{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),t}(st);jr(lo,"slots",["grid-table-toolbar-slot"]),jr(lo,"controlEventKeys",["on_click"]),jr(lo,"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 Dj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Aj(e,t,n){return t=Vr(t),kj(e,Km()?Reflect.construct(t,n||[],Vr(e).constructor):t.apply(e,n))}function Wm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function N_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vr(e){return Vr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vr(e)}function Ij(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&V_(e,t)}function kj(e,t){return t&&(Fj(t)==="object"||typeof t=="function")?t:Dj(e)}function V_(e,t){return V_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},V_(e,t)}function Fj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Km(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Km=function(){return!!e})()}var xj=function e(t){Wm(this,e),N_(this,"dataCode",void 0),this.dataCode=t.dataCode},Mj=function(e){Ij(t,e);function t(n){Wm(this,t);var o,r;o=Aj(this,t,[n]),N_(o,"canImportList",void 0),N_(o,"templateType",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:co.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:co.controlIcon;var l;o.canImportList=(l=n==null||(r=n.canImportList)===null||r===void 0?void 0:r.map(function(c){return new xj(c)}))!==null&&l!==void 0?l:[];var a;return o.templateType=(a=n==null?void 0:n.templateType)!==null&&a!==void 0?a:"system",o}return t}(wt);function Cj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lj(e,t,n){return t=Hr(t),zj(e,Xm()?Reflect.construct(t,n||[],Hr(e).constructor):t.apply(e,n))}function jj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Nj(e,t,n){return t&&Gm(e.prototype,t),n&&Gm(e,n),e}function zr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hr(e){return Hr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hr(e)}function Vj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&z_(e,t)}function zj(e,t){return t&&(Hj(t)==="object"||typeof t=="function")?t:Cj(e)}function z_(e,t){return z_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},z_(e,t)}function Hj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Xm=function(){return!!e})()}var co=function(e){Vj(t,e);function t(n){jj(this,t);var o;return o=Lj(this,t,[n]),zr(o,"props",void 0),o.props=new Mj(n==null?void 0:n.props),o}return Nj(t,null,[{key:"controlName",get:function(){return f("CMD.importRecordListButton",null,"\u5BFC\u5165")}},{key:"controlIcon",get:function(){return"iconshangchuan3"}},{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),t}(st);zr(co,"slots",["grid-table-toolbar-slot"]),zr(co,"controlEventKeys",["on_click","on_click_finish"]),zr(co,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}]);function qr(){return{dataCode:{type:"string",required:!0,message:f("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:f("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},controlId:{type:"string",required:!0,message:f("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")}}}}}}function qj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qm(e,t,n){return t=Ur(t),Uj(e,tg()?Reflect.construct(t,n||[],Ur(e).constructor):t.apply(e,n))}function Jm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function te(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ur(e){return Ur=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ur(e)}function Zm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&H_(e,t)}function Ym(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){te(e,r,n[r])})}return e}function Uj(e,t){return t&&(Wj(t)==="object"||typeof t=="function")?t:qj(e)}function H_(e,t){return H_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},H_(e,t)}function Wj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tg=function(){return!!e})()}var Kj=function(e){Zm(t,e);function t(n){Jm(this,t);var o;return o=Qm(this,t,[n]),te(o,"fillPayload",{type:"object",fields:Ym({},qr())}),te(o,"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:f("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}}),te(o,"fillBack",{type:"object",fields:Ym({mode:{type:"string",required:!0,message:f("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},qr())}),(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:f("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")}),o}return t}(U),eg=function(e){Zm(t,e);function t(n){Jm(this,t);var o;o=Qm(this,t,[n]),te(o,"fillPayload",void 0),te(o,"formBind",void 0),te(o,"fillBack",void 0),te(o,"command",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:Kr.controlName;var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Kr.controlIcon;var u;return o.command=(u=n==null?void 0:n.command)!==null&&u!==void 0?u:"create",o.fillPayload=new nb(n==null?void 0:n.fillPayload),o.formBind=new Dx(n==null?void 0:n.formBind),o.fillBack=new ob(n==null?void 0:n.fillBack),o}return t}(wt);te(eg,"Rules",Kj);function Gj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xj(e,t,n){return t=Wr(t),Yj(e,og()?Reflect.construct(t,n||[],Wr(e).constructor):t.apply(e,n))}function Qj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ng(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Jj(e,t,n){return t&&ng(e.prototype,t),n&&ng(e,n),e}function q_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wr(e){return Wr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wr(e)}function Zj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&U_(e,t)}function Yj(e,t){return t&&(t9(t)==="object"||typeof t=="function")?t:Gj(e)}function U_(e,t){return U_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},U_(e,t)}function t9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function og(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(og=function(){return!!e})()}var Kr=function(e){Zj(t,e);function t(n){Qj(this,t);var o;return o=Xj(this,t,[n]),q_(o,"props",void 0),o.props=new eg(n==null?void 0:n.props),o}return Jj(t,null,[{key:"controlName",get:function(){return f("CMD.formSelectButton",null,"\u8868\u5355\u64CD\u4F5C")}},{key:"controlIcon",get:function(){return"iconbiaodancaozuo"}},{key:"controlType",get:function(){return"form-select-button"}}]),t}(st);q_(Kr,"controlEventKeys",["on_click","on_click_finish"]),q_(Kr,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function e9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rg(e,t,n){return t=Gr(t),n9(e,cg()?Reflect.construct(t,n||[],Gr(e).constructor):t.apply(e,n))}function ig(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gr(e){return Gr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gr(e)}function ug(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&W_(e,t)}function lg(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Tt(e,r,n[r])})}return e}function n9(e,t){return t&&(o9(t)==="object"||typeof t=="function")?t:e9(e)}function W_(e,t){return W_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},W_(e,t)}function o9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(cg=function(){return!!e})()}var r9=function(e){ug(t,e);function t(n){ig(this,t);var o;return o=rg(this,t,[n]),Tt(o,"fillPayload",{type:"object",fields:lg({},qr())}),Tt(o,"listPageBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:f("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")},headers:{type:"array",required:!0,message:f("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}}),Tt(o,"fillBack",{type:"object",fields:lg({mode:{type:"string",required:!0,message:f("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},qr())}),o}return t}(U),ag=function(e){ug(t,e);function t(n){ig(this,t);var o;o=rg(this,t,[n]),Tt(o,"fillPayload",void 0),Tt(o,"listPageBind",void 0),Tt(o,"disableFilling",void 0),Tt(o,"fillBack",void 0),Tt(o,"showSelectedDetail",void 0),Tt(o,"isSelectedRowFill",void 0),Tt(o,"selectedContentConfig",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:Qr.controlName;var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Qr.controlIcon,o.fillPayload=new nb(n==null?void 0:n.fillPayload),o.listPageBind=new $f(n==null?void 0:n.listPageBind),o.fillBack=new ob(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 Tf(n==null?void 0:n.selectedContentConfig);var l;o.isSelectedRowFill=(l=n==null?void 0:n.isSelectedRowFill)!==null&&l!==void 0?l:!1;var a;return o.disableFilling=(a=n==null?void 0:n.disableFilling)!==null&&a!==void 0?a:!0,o}return t}(wt);Tt(ag,"Rules",r9);function i9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u9(e,t,n){return t=Xr(t),f9(e,_g()?Reflect.construct(t,n||[],Xr(e).constructor):t.apply(e,n))}function l9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function c9(e,t,n){return t&&fg(e.prototype,t),n&&fg(e,n),e}function K_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xr(e){return Xr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xr(e)}function a9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&G_(e,t)}function f9(e,t){return t&&(_9(t)==="object"||typeof t=="function")?t:i9(e)}function G_(e,t){return G_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},G_(e,t)}function _9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _g(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_g=function(){return!!e})()}var Qr=function(e){a9(t,e);function t(n){l9(this,t);var o;return o=u9(this,t,[n]),K_(o,"props",void 0),o.props=new ag(n==null?void 0:n.props),o}return c9(t,null,[{key:"controlName",get:function(){return f("CMD.listSelectButton",null,"\u5217\u8868\u9009\u62E9")}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-select-button"}}]),t}(st);K_(Qr,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),K_(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:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function s9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X_(e,t,n){return t=Jr(t),y9(e,yg()?Reflect.construct(t,n||[],Jr(e).constructor):t.apply(e,n))}function Q_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jr(e){return Jr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jr(e)}function J_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Z_(e,t)}function y9(e,t){return t&&(p9(t)==="object"||typeof t=="function")?t:s9(e)}function Z_(e,t){return Z_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Z_(e,t)}function p9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(yg=function(){return!!e})()}var d9=function(e){J_(t,e);function t(n){return Q_(this,t),X_(this,t,[n])}return t}(U),v9=function(e){J_(t,e);function t(n){return Q_(this,t),X_(this,t,[n])}return t}(Oe),Y_=function(e){J_(t,e);function t(n){return Q_(this,t),X_(this,t,[n])}return t}(W);sg(Y_,"Rules",d9),sg(Y_,"RuntimeRules",v9);function h9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b9(e,t,n){return t=Zr(t),w9(e,vg()?Reflect.construct(t,n||[],Zr(e).constructor):t.apply(e,n))}function m9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function g9(e,t,n){return t&&pg(e.prototype,t),n&&pg(e,n),e}function dg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zr(e){return Zr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zr(e)}function O9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ts(e,t)}function w9(e,t){return t&&($9(t)==="object"||typeof t=="function")?t:h9(e)}function ts(e,t){return ts=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ts(e,t)}function $9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(vg=function(){return!!e})()}var P9=function(e){O9(t,e);function t(n){m9(this,t);var o;return o=b9(this,t,[n]),dg(o,"props",void 0),o.props=new Y_(n==null?void 0:n.props),o}return g9(t,null,[{key:"controlName",get:function(){return f("CMD.pagination",null,"\u5206\u9875")}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),t}(C);dg(P9,"setting",[]);function E9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hg(e,t,n){return t=Yr(t),S9(e,gg()?Reflect.construct(t,n||[],Yr(e).constructor):t.apply(e,n))}function bg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yr(e){return Yr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yr(e)}function mg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&es(e,t)}function S9(e,t){return t&&(T9(t)==="object"||typeof t=="function")?t:E9(e)}function es(e,t){return es=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},es(e,t)}function T9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(gg=function(){return!!e})()}var R9=function(e){mg(t,e);function t(n){bg(this,t);var o;return o=hg(this,t,[n]),Rt(o,"dashboardKey",{type:"string",required:!0,message:f("CMD.pleaseSelectDashboard",null,"\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8")}),Rt(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),Rt(o,"isHideCaption",{type:"boolean"}),Rt(o,"labelPosition",{type:"enum",enum:["top","left"]}),Rt(o,"captionTip",{type:"string",required:!1,message:f("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return t}(U),Og=function(e){mg(t,e);function t(n){bg(this,t);var o;o=hg(this,t,[n]),Rt(o,"dashboardKey",void 0),Rt(o,"caption",void 0),Rt(o,"isHideCaption",void 0),Rt(o,"isShowCaptionTip",void 0),Rt(o,"captionTip",void 0),Rt(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 l;o.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var c;return o.labelPosition=(c=n==null?void 0:n.labelPosition)!==null&&c!==void 0?c:"top",o}return t}(W);Rt(Og,"Rules",R9);function B9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D9(e,t,n){return t=ti(t),F9(e,Pg()?Reflect.construct(t,n||[],ti(e).constructor):t.apply(e,n))}function A9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function I9(e,t,n){return t&&wg(e.prototype,t),n&&wg(e,n),e}function $g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ti(e){return ti=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ti(e)}function k9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ns(e,t)}function F9(e,t){return t&&(x9(t)==="object"||typeof t=="function")?t:B9(e)}function ns(e,t){return ns=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ns(e,t)}function x9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Pg=function(){return!!e})()}var M9=function(e){k9(t,e);function t(n){A9(this,t);var o;return o=D9(this,t,[n]),$g(o,"props",void 0),o.props=new Og(n==null?void 0:n.props),o}return I9(t,null,[{key:"controlName",get:function(){return f("CMD.dashboard",null,"\u4EEA\u8868\u76D8")}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),t}(C);$g(M9,"setting",[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function C9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Eg(e,t,n){return t=ei(t),L9(e,Rg()?Reflect.construct(t,n||[],ei(e).constructor):t.apply(e,n))}function Sg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ao(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ei(e){return ei=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ei(e)}function Tg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&os(e,t)}function L9(e,t){return t&&(j9(t)==="object"||typeof t=="function")?t:C9(e)}function os(e,t){return os=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},os(e,t)}function j9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Rg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Rg=function(){return!!e})()}var N9=function(e){Tg(t,e);function t(n){Sg(this,t);var o;return o=Eg(this,t,[n]),ao(o,"showType",{type:"enum",enum:["select","tabs"]}),ao(o,"viewList",{type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:f("CMD.theViewNameCannotBeEmpty",null,"\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A")},headers:{type:"array",required:!0,min:1,message:f("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}}}),o}return t}(U),Bg=function(e){Tg(t,e);function t(n){Sg(this,t);var o,r;o=Eg(this,t,[n]),ao(o,"showType",void 0),ao(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(l){return new Gx(l)}))!==null&&u!==void 0?u:[],o}return t}(W);ao(Bg,"Rules",N9);function V9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function z9(e,t,n){return t=ni(t),W9(e,Ig()?Reflect.construct(t,n||[],ni(e).constructor):t.apply(e,n))}function H9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function q9(e,t,n){return t&&Dg(e.prototype,t),n&&Dg(e,n),e}function Ag(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ni(e){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ni(e)}function U9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rs(e,t)}function W9(e,t){return t&&(K9(t)==="object"||typeof t=="function")?t:V9(e)}function rs(e,t){return rs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rs(e,t)}function K9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ig(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ig=function(){return!!e})()}var G9=function(e){U9(t,e);function t(n){H9(this,t);var o;return o=z9(this,t,[n]),Ag(o,"props",void 0),o.props=new Bg(n==null?void 0:n.props),o}return q9(t,null,[{key:"controlName",get:function(){return f("CMD.listViewSelect",null,"\u5217\u8868\u89C6\u56FE")}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-view-select"}}]),t}(C);Ag(G9,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}]);function X9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kg(e,t,n){return t=oi(t),Q9(e,Mg()?Reflect.construct(t,n||[],oi(e).constructor):t.apply(e,n))}function Fg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oi(e){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oi(e)}function xg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&is(e,t)}function Q9(e,t){return t&&(J9(t)==="object"||typeof t=="function")?t:X9(e)}function is(e,t){return is=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},is(e,t)}function J9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Mg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Mg=function(){return!!e})()}var Z9=function(e){xg(t,e);function t(n){Fg(this,t);var o;return o=kg(this,t,[n]),dt(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),dt(o,"isHideCaption",{type:"boolean"}),dt(o,"labelPosition",{type:"enum",enum:["top","left"]}),dt(o,"ocrType",{type:"string",required:!0,message:f("CMD.pleaseSelectOcrType",null,"\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B")}),dt(o,"fillList",{type:"array",validator:function(i,u,l){var a=u.every(function(c){return!c.controlId});if(a){l(f("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}l()}}),dt(o,"captionTip",{type:"string",required:!1,message:f("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return t}(U),Cg=function(e){xg(t,e);function t(n){Fg(this,t);var o,r;o=kg(this,t,[n]),dt(o,"caption",void 0),dt(o,"isHideCaption",void 0),dt(o,"isShowCaptionTip",void 0),dt(o,"captionTip",void 0),dt(o,"labelPosition",void 0),dt(o,"ocrType",void 0),dt(o,"fillList",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:fo.controlName;var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var l;o.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var c;o.labelPosition=(c=n==null?void 0:n.labelPosition)!==null&&c!==void 0?c:"top";var _;o.content=(_=n==null?void 0:n.content)!==null&&_!==void 0?_:fo.controlName;var y;o.icon=(y=n==null?void 0:n.icon)!==null&&y!==void 0?y:fo.controlIcon;var d;o.ocrType=(d=n==null?void 0:n.ocrType)!==null&&d!==void 0?d:"";var m;return o.fillList=(m=n==null||(r=n.fillList)===null||r===void 0?void 0:r.map(function(g){return new pt(g)}))!==null&&m!==void 0?m:[],o}return t}(wt);dt(Cg,"Rules",Z9);function Y9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function t4(e,t,n){return t=ri(t),r4(e,jg()?Reflect.construct(t,n||[],ri(e).constructor):t.apply(e,n))}function e4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function n4(e,t,n){return t&&Lg(e.prototype,t),n&&Lg(e,n),e}function us(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ri(e){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ri(e)}function o4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ls(e,t)}function r4(e,t){return t&&(i4(t)==="object"||typeof t=="function")?t:Y9(e)}function ls(e,t){return ls=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ls(e,t)}function i4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(jg=function(){return!!e})()}var fo=function(e){o4(t,e);function t(n){e4(this,t);var o;return o=t4(this,t,[n]),us(o,"props",void 0),o.props=new Cg(n==null?void 0:n.props),o}return n4(t,null,[{key:"controlName",get:function(){return f("CMD.textOcrButton",null,"\u6587\u5B57\u8BC6\u522B")}},{key:"controlIcon",get:function(){return"iconwenzishibie"}},{key:"controlType",get:function(){return"text-ocr-button"}}]),t}(st);us(fo,"controlEventKeys",["on_click","on_click_finish"]),us(fo,"setting",[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function u4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ng(e,t,n){return t=ii(t),l4(e,Hg()?Reflect.construct(t,n||[],ii(e).constructor):t.apply(e,n))}function Vg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ii(e){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ii(e)}function zg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cs(e,t)}function l4(e,t){return t&&(c4(t)==="object"||typeof t=="function")?t:u4(e)}function cs(e,t){return cs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cs(e,t)}function c4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Hg=function(){return!!e})()}var a4=function(e){zg(t,e);function t(n){Vg(this,t);var o;return o=Ng(this,t,[n]),vt(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),vt(o,"isHideCaption",{type:"boolean"}),vt(o,"labelPosition",{type:"enum",enum:["top","left"]}),vt(o,"invoiceCheck",{type:"boolean"}),vt(o,"fillList",{type:"array",validator:function(i,u,l){var a=u.every(function(c){return!c.controlId});if(a){l(f("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}l()}}),vt(o,"captionTip",{type:"string",required:!1,message:f("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return t}(U),qg=function(e){zg(t,e);function t(n){Vg(this,t);var o,r;o=Ng(this,t,[n]),vt(o,"caption",void 0),vt(o,"isHideCaption",void 0),vt(o,"isShowCaptionTip",void 0),vt(o,"captionTip",void 0),vt(o,"labelPosition",void 0),vt(o,"invoiceCheck",void 0),vt(o,"fillList",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:_o.controlName;var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var l;o.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var c;o.labelPosition=(c=n==null?void 0:n.labelPosition)!==null&&c!==void 0?c:"top";var _;o.content=(_=n==null?void 0:n.content)!==null&&_!==void 0?_:_o.controlName;var y;o.icon=(y=n==null?void 0:n.icon)!==null&&y!==void 0?y:_o.controlIcon;var d;o.invoiceCheck=(d=n==null?void 0:n.invoiceCheck)!==null&&d!==void 0?d:!0;var m;return o.fillList=(m=n==null||(r=n.fillList)===null||r===void 0?void 0:r.map(function(g){return new pt(g)}))!==null&&m!==void 0?m:[],o}return t}(wt);vt(qg,"Rules",a4);function f4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _4(e,t,n){return t=ui(t),d4(e,Wg()?Reflect.construct(t,n||[],ui(e).constructor):t.apply(e,n))}function s4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ug(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function y4(e,t,n){return t&&Ug(e.prototype,t),n&&Ug(e,n),e}function as(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ui(e){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ui(e)}function p4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fs(e,t)}function d4(e,t){return t&&(v4(t)==="object"||typeof t=="function")?t:f4(e)}function fs(e,t){return fs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fs(e,t)}function v4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Wg=function(){return!!e})()}var _o=function(e){p4(t,e);function t(n){s4(this,t);var o;return o=_4(this,t,[n]),as(o,"props",void 0),o.props=new qg(n==null?void 0:n.props),o}return y4(t,null,[{key:"controlName",get:function(){return f("CMD.invoiceCheckButton",null,"\u53D1\u7968\u8BC6\u522B")}},{key:"controlIcon",get:function(){return"iconfabiaoshibie1"}},{key:"controlType",get:function(){return"invoice-check-button"}}]),t}(st);as(_o,"controlEventKeys",["on_click","on_click_finish"]),as(_o,"setting",[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function h4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kg(e,t,n){return t=ci(t),b4(e,Qg()?Reflect.construct(t,n||[],ci(e).constructor):t.apply(e,n))}function Gg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function li(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ci(e){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ci(e)}function Xg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_s(e,t)}function b4(e,t){return t&&(m4(t)==="object"||typeof t=="function")?t:h4(e)}function _s(e,t){return _s=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_s(e,t)}function m4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Qg=function(){return!!e})()}var g4=function(e){Xg(t,e);function t(){Gg(this,t);var n;return n=Kg(this,t,arguments),li(n,"printTemplates",{type:"array",min:1,required:!0,message:f("CMD.pleaseUploadAtLeastOnePrintTemplate",null,"\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01")}),n}return t}(U),Jg=function(e){Xg(t,e);function t(n){Gg(this,t);var o,r;o=Kg(this,t,[n]),li(o,"printTemplates",void 0),li(o,"autoSelectTemplate",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:so.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:so.controlName;var l;o.printTemplates=(l=n==null||(r=n.printTemplates)===null||r===void 0?void 0:r.map(function(c){return new U7(c)}))!==null&&l!==void 0?l:[];var a;return o.autoSelectTemplate=(a=n==null?void 0:n.autoSelectTemplate)!==null&&a!==void 0?a:!1,o}return t}(wt);li(Jg,"Rules",g4);function O4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w4(e,t,n){return t=fi(t),S4(e,Yg()?Reflect.construct(t,n||[],fi(e).constructor):t.apply(e,n))}function $4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function P4(e,t,n){return t&&Zg(e.prototype,t),n&&Zg(e,n),e}function ai(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fi(e){return fi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fi(e)}function E4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ss(e,t)}function S4(e,t){return t&&(T4(t)==="object"||typeof t=="function")?t:O4(e)}function ss(e,t){return ss=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ss(e,t)}function T4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Yg=function(){return!!e})()}var so=function(e){E4(t,e);function t(n){$4(this,t);var o;return o=w4(this,t,[n]),ai(o,"props",void 0),o.props=new Jg(n==null?void 0:n.props),o}return P4(t,null,[{key:"controlName",get:function(){return f("CMD.batchPrintListButton",null,"\u6279\u91CF\u6253\u5370")}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),t}(st);ai(so,"slots",["grid-table-toolbar-slot"]),ai(so,"controlEventKeys",["on_click","on_click_finish"]),ai(so,"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 R4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B4(e,t,n){return t=_i(t),I4(e,tO()?Reflect.construct(t,n||[],_i(e).constructor):t.apply(e,n))}function D4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _i(e){return _i=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_i(e)}function A4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ys(e,t)}function I4(e,t){return t&&(k4(t)==="object"||typeof t=="function")?t:R4(e)}function ys(e,t){return ys=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ys(e,t)}function k4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tO=function(){return!!e})()}var F4=function(e){A4(t,e);function t(n){D4(this,t);var o;o=B4(this,t,[n]);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:yo.controlName;var i;return o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:yo.controlIcon,o}return t}(wt);function x4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M4(e,t,n){return t=yi(t),N4(e,nO()?Reflect.construct(t,n||[],yi(e).constructor):t.apply(e,n))}function C4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function L4(e,t,n){return t&&eO(e.prototype,t),n&&eO(e,n),e}function si(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yi(e){return yi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yi(e)}function j4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ps(e,t)}function N4(e,t){return t&&(V4(t)==="object"||typeof t=="function")?t:x4(e)}function ps(e,t){return ps=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ps(e,t)}function V4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(nO=function(){return!!e})()}var yo=function(e){j4(t,e);function t(n){C4(this,t);var o;return o=M4(this,t,[n]),si(o,"props",void 0),o.props=new F4(n==null?void 0:n.props),o}return L4(t,null,[{key:"controlName",get:function(){return f("CMD.batchPrintRecordList",null,"\u6279\u91CF\u6253\u5370\u8BB0\u5F55")}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),t}(st);si(yo,"slots",["grid-table-toolbar-slot"]),si(yo,"controlEventKeys",["on_click"]),si(yo,"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 z4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oO(e,t,n){return t=pi(t),H4(e,uO()?Reflect.construct(t,n||[],pi(e).constructor):t.apply(e,n))}function rO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pi(e){return pi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pi(e)}function iO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ds(e,t)}function H4(e,t){return t&&(q4(t)==="object"||typeof t=="function")?t:z4(e)}function ds(e,t){return ds=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ds(e,t)}function q4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(uO=function(){return!!e})()}var U4=function(e){iO(t,e);function t(n){rO(this,t);var o;return o=oO(this,t,[n]),yt(o,"formKey",{type:"string",required:!1}),(n.command==="edit"||n.command==="view")&&(o.formKey={type:"string",required:!0,message:f("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}),o}return t}(U),di=function(e){iO(t,e);function t(n){rO(this,t);var o;o=oO(this,t,[n]),yt(o,"content",void 0),yt(o,"code",void 0),yt(o,"command",void 0),yt(o,"color",void 0),yt(o,"icon",void 0),yt(o,"formKey",void 0),yt(o,"openType",void 0),yt(o,"needConfirm",void 0),yt(o,"confirmMessage",void 0),yt(o,"options",void 0),yt(o,"defaultState",void 0),yt(o,"priorityProcess",void 0),yt(o,"isLoading",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:f("CMD.button",null,"\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 l;o.defaultState=(l=n==null?void 0:n.defaultState)!==null&&l!==void 0?l:"default",o.priorityProcess=n==null?void 0:n.priorityProcess;var a;return o.isLoading=(a=n==null?void 0:n.isLoading)!==null&&a!==void 0?a:!1,o}return t}(W);yt(di,"Rules",U4);function W4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function K4(e,t,n){return t=vi(t),J4(e,cO()?Reflect.construct(t,n||[],vi(e).constructor):t.apply(e,n))}function G4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function X4(e,t,n){return t&&lO(e.prototype,t),n&&lO(e,n),e}function vs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vi(e){return vi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vi(e)}function Q4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hs(e,t)}function J4(e,t){return t&&(Z4(t)==="object"||typeof t=="function")?t:W4(e)}function hs(e,t){return hs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hs(e,t)}function Z4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(cO=function(){return!!e})()}var hi=function(e){Q4(t,e);function t(n){G4(this,t);var o;return o=K4(this,t,[n]),vs(o,"props",void 0),o.props=new di(n==null?void 0:n.props),o}return X4(t,null,[{key:"controlName",get:function(){return f("CMD.operationButton",null,"\u64CD\u4F5C\u6309\u94AE")}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"operation-button"}}]),t}(C);vs(hi,"controlEventKeys",["on_click"]),vs(hi,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}]);function Y4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tN(e,t,n){return t=bi(t),iN(e,fO()?Reflect.construct(t,n||[],bi(e).constructor):t.apply(e,n))}function eN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function nN(e,t,n){return t&&aO(e.prototype,t),n&&aO(e,n),e}function oN(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bi(e){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bi(e)}function rN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bs(e,t)}function iN(e,t){return t&&(uN(t)==="object"||typeof t=="function")?t:Y4(e)}function bs(e,t){return bs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},bs(e,t)}function uN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(fO=function(){return!!e})()}var lN=function(e){rN(t,e);function t(n){eN(this,t);var o;return o=tN(this,t,[n]),oN(o,"props",void 0),o.props=new di(n==null?void 0:n.props),o}return nN(t,null,[{key:"controlType",get:function(){return"operation-button"}}]),t}(Ht),ms={Designer:hi,Runtime:lN,Property:di};function cN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aN(e,t,n){return t=mi(t),sN(e,_O()?Reflect.construct(t,n||[],mi(e).constructor):t.apply(e,n))}function fN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function de(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mi(e){return mi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mi(e)}function _N(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gs(e,t)}function sN(e,t){return t&&(yN(t)==="object"||typeof t=="function")?t:cN(e)}function gs(e,t){return gs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gs(e,t)}function yN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _O(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_O=function(){return!!e})()}var pN=function(e){_N(t,e);function t(n){fN(this,t);var o;o=aN(this,t,[n]),de(o,"content",void 0),de(o,"buttonType",void 0),de(o,"showType",void 0),de(o,"color",void 0),de(o,"icon",void 0),de(o,"defaultState",void 0),de(o,"command",void 0),de(o,"isLoading",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:po.controlName;var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:po.controlIcon;var u;o.buttonType=(u=n==null?void 0:n.buttonType)!==null&&u!==void 0?u:"primary";var l;o.showType=(l=n==null?void 0:n.showType)!==null&&l!==void 0?l:"iconText";var a;o.color=(a=n==null?void 0:n.color)!==null&&a!==void 0?a:"danger";var c;o.isHide=(c=n==null?void 0:n.isHide)!==null&&c!==void 0?c:!1;var _;o.defaultState=(_=n==null?void 0:n.defaultState)!==null&&_!==void 0?_:"default";var y;o.command=(y=n==null?void 0:n.command)!==null&&y!==void 0?y:"custom";var d;return o.isLoading=(d=n==null?void 0:n.isLoading)!==null&&d!==void 0?d:!1,o}return t}(W);function dN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vN(e,t,n){return t=Oi(t),gN(e,yO()?Reflect.construct(t,n||[],Oi(e).constructor):t.apply(e,n))}function hN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function bN(e,t,n){return t&&sO(e.prototype,t),n&&sO(e,n),e}function gi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Oi(e){return Oi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oi(e)}function mN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Os(e,t)}function gN(e,t){return t&&(ON(t)==="object"||typeof t=="function")?t:dN(e)}function Os(e,t){return Os=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Os(e,t)}function ON(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(yO=function(){return!!e})()}var po=function(e){mN(t,e);function t(n){hN(this,t);var o;return o=vN(this,t,[n]),gi(o,"props",void 0),o.props=new pN(n==null?void 0:n.props),o}return bN(t,null,[{key:"controlName",get:function(){return f("CMD.batchDeleteButton",null,"\u6279\u91CF\u5220\u9664")}},{key:"controlIcon",get:function(){return"iconlajitong"}},{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),t}(C);gi(po,"slots",["grid-table-toolbar-slot"]),gi(po,"controlEventKeys",["on_click"]),gi(po,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}]);function wN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pO(e,t,n){return t=wi(t),$N(e,hO()?Reflect.construct(t,n||[],wi(e).constructor):t.apply(e,n))}function dO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wi(e){return wi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wi(e)}function vO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ws(e,t)}function $N(e,t){return t&&(PN(t)==="object"||typeof t=="function")?t:wN(e)}function ws(e,t){return ws=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ws(e,t)}function PN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(hO=function(){return!!e})()}var EN=function(e){vO(t,e);function t(n){dO(this,t);var o;return o=pO(this,t,[n]),Ee(o,"actionSetting",{type:"object",fields:{dataCode:{type:"string",required:!0,message:f("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},formKey:{type:"string",required:!0,message:f("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}}),o}return t}(U),$i=function(e){vO(t,e);function t(n){dO(this,t);var o;o=pO(this,t,[n]),Ee(o,"isShowSimpleSearch",void 0),Ee(o,"isShowToolbar",void 0),Ee(o,"actionSetting",void 0),Ee(o,"listHeightSetting",void 0),Ee(o,"isHideCaption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Ei.controlName;var i;o.isShowSimpleSearch=(i=n==null?void 0:n.isShowSimpleSearch)!==null&&i!==void 0?i:!0;var u;o.isShowToolbar=(u=n==null?void 0:n.isShowToolbar)!==null&&u!==void 0?u:!0;var l;o.isHideCaption=(l=n==null?void 0:n.isHideCaption)!==null&&l!==void 0?l:!1;var a;o.actionSetting=(a=new lm(n==null?void 0:n.actionSetting))!==null&&a!==void 0?a:new lm;var c;return o.listHeightSetting=(c=new cm(n==null?void 0:n.listHeightSetting))!==null&&c!==void 0?c:new cm,o}return t}(W);Ee($i,"Rules",EN);function SN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TN(e,t,n){return t=Pi(t),AN(e,mO()?Reflect.construct(t,n||[],Pi(e).constructor):t.apply(e,n))}function RN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function BN(e,t,n){return t&&bO(e.prototype,t),n&&bO(e,n),e}function $s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pi(e){return Pi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pi(e)}function DN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ps(e,t)}function AN(e,t){return t&&(IN(t)==="object"||typeof t=="function")?t:SN(e)}function Ps(e,t){return Ps=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ps(e,t)}function IN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(mO=function(){return!!e})()}var Ei=function(e){DN(t,e);function t(n){RN(this,t);var o;return o=TN(this,t,[n]),$s(o,"props",void 0),o.props=new $i(n==null?void 0:n.props),o}return BN(t,null,[{key:"controlName",get:function(){return f("CMD.referenceList",null,"\u5F15\u7528\u5217\u8868")}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"reference-list"}}]),t}(C);$s(Ei,"controlEventKeys",["on_list_rowclick"]),$s(Ei,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_SIMPLE_SEARCH,s.IS_SHOW_TOOL_BAE]},{key:"action-setting",visible:!0},{key:"line-height-setting",visible:!0},{key:"super-setting",visible:!0}]);function kN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FN(e,t,n){return t=Si(t),jN(e,OO()?Reflect.construct(t,n||[],Si(e).constructor):t.apply(e,n))}function xN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function MN(e,t,n){return t&&gO(e.prototype,t),n&&gO(e,n),e}function CN(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Si(e){return Si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Si(e)}function LN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Es(e,t)}function jN(e,t){return t&&(NN(t)==="object"||typeof t=="function")?t:kN(e)}function Es(e,t){return Es=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Es(e,t)}function NN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(OO=function(){return!!e})()}var VN=function(e){LN(t,e);function t(n){xN(this,t);var o;return o=FN(this,t,[n]),CN(o,"props",void 0),o.props=new $i(n==null?void 0:n.props),o}return MN(t,null,[{key:"controlType",get:function(){return"reference-list"}}]),t}(Ht),zN={Designer:Ei,Runtime:VN,Property:$i};function HN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ss(e,t,n){return t=Ti(t),qN(e,wO()?Reflect.construct(t,n||[],Ti(e).constructor):t.apply(e,n))}function Ts(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ti(e){return Ti=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ti(e)}function Rs(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bs(e,t)}function qN(e,t){return t&&(UN(t)==="object"||typeof t=="function")?t:HN(e)}function Bs(e,t){return Bs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bs(e,t)}function UN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(wO=function(){return!!e})()}var WN=function(e){Rs(t,e);function t(n){Ts(this,t);var o;return o=Ss(this,t,[n]),Bt(o,"maxLength",{type:"number",min:0,message:f("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")}),Bt(o,"minLength",{type:"number",max:200,message:f("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")}),Bt(o,"defaultValue",[{type:"string",max:200,min:0,message:f("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},{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=f("CMD.stringRangeError",{max:n.maxLength,min:n.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C"),o.defaultValue[1].pattern=gr(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return t}(tt),KN=function(e){Rs(t,e);function t(n){Ts(this,t);var o;return o=Ss(this,t,[n]),o.push({type:"string",message:f("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{max:n.maxLength,min:n.minLength,message:f("CMD.stringRangeError",{max:n.maxLength,min:n.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:gr(n.regularRules.expression),message:n.regularRules.errMessage}),o}return t}(j),vo=function(e){Rs(t,e);function t(n){Ts(this,t);var o;o=Ss(this,t,[n]),Bt(o,"maxLength",void 0),Bt(o,"minLength",void 0),Bt(o,"regularRules",void 0),Bt(o,"defaultValue",void 0),Bt(o,"encrypted",void 0),Bt(o,"encryptedMode",void 0),Bt(o,"aiContentSearch",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 Rf(n==null?void 0:n.regularRules);var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:"";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:ho.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:f("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165");var c;o.encrypted=(c=n==null?void 0:n.encrypted)!==null&&c!==void 0?c:!1;var _;o.encryptedMode=(_=n==null?void 0:n.encryptedMode)!==null&&_!==void 0?_:"";var y;return o.aiContentSearch=(y=n==null?void 0:n.aiContentSearch)!==null&&y!==void 0?y:!1,o}return t}(k);Bt(vo,"Rules",WN),Bt(vo,"RuntimeRules",KN);function GN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XN(e,t,n){return t=Bi(t),YN(e,PO()?Reflect.construct(t,n||[],Bi(e).constructor):t.apply(e,n))}function QN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $O(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function JN(e,t,n){return t&&$O(e.prototype,t),n&&$O(e,n),e}function Ri(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bi(e){return Bi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bi(e)}function ZN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ds(e,t)}function YN(e,t){return t&&(tV(t)==="object"||typeof t=="function")?t:GN(e)}function Ds(e,t){return Ds=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ds(e,t)}function tV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(PO=function(){return!!e})()}var ho=function(e){ZN(t,e);function t(n){QN(this,t);var o;return o=XN(this,t,[n]),Ri(o,"props",void 0),o.props=new vo(n==null?void 0:n.props),o}return JN(t,null,[{key:"controlName",get:function(){return f("CMD.input",null,"\u5355\u884C\u6587\u672C")}},{key:"controlIcon",get:function(){return"iconSingleline_new1"}},{key:"controlType",get:function(){return"input"}}]),t}(F);Ri(ho,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Ri(ho,"controlFieldType",O.VARCHAR),Ri(ho,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP,s.ENCRYPTED]},{key:"ai-content-search",visible:!0},{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 eV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nV(e,t,n){return t=Di(t),uV(e,TO()?Reflect.construct(t,n||[],Di(e).constructor):t.apply(e,n))}function oV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function EO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function rV(e,t,n){return t&&EO(e.prototype,t),n&&EO(e,n),e}function SO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Di(e){return Di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Di(e)}function iV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&As(e,t)}function uV(e,t){return t&&(lV(t)==="object"||typeof t=="function")?t:eV(e)}function As(e,t){return As=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},As(e,t)}function lV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(TO=function(){return!!e})()}var cV=function(e){iV(t,e);function t(n){oV(this,t);var o;return o=nV(this,t,[n]),SO(o,"props",void 0),o.props=new vo(n==null?void 0:n.props),o}return rV(t,null,[{key:"controlType",get:function(){return"input"}}]),t}(x);SO(cV,"controlFieldType",O.VARCHAR);function aV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Is(e,t,n){return t=Ai(t),fV(e,RO()?Reflect.construct(t,n||[],Ai(e).constructor):t.apply(e,n))}function ks(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ai(e){return Ai=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ai(e)}function Fs(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xs(e,t)}function fV(e,t){return t&&(_V(t)==="object"||typeof t=="function")?t:aV(e)}function xs(e,t){return xs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xs(e,t)}function _V(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(RO=function(){return!!e})()}var sV=function(e){Fs(t,e);function t(n){ks(this,t);var o;o=Is(this,t,[n]),Q(o,"limitMax",{type:"number",min:void 0,message:f("CMD.PleaseReselectTheOptionalQuantity",null,"\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF")});var r=n.limitMax==="unlimited";r&&(o.limitMax.type="string");var i=function(u){return u==="unlimited"?void 0:u};return o.limitMax.min=i(n.limitMin),o}return t}(Ne),yV=function(e){Fs(t,e);function t(n){ks(this,t);var o;return o=Is(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o.push({type:"array",max:typeof n.limitMax=="number"?n.limitMax:void 0,min:typeof n.limitMin=="number"?n.limitMin:void 0}),o}return t}(j),Ii=function(e){Fs(t,e);function t(n){ks(this,t);var o;o=Is(this,t,[n]),Q(o,"checkboxMode",void 0),Q(o,"options",void 0),Q(o,"optionsOrder",void 0),Q(o,"limitMax",void 0),Q(o,"limitMin",void 0),Q(o,"otherOption",void 0),Q(o,"optionConfig",void 0),Q(o,"optionsFormat",void 0),Q(o,"defaultShowOptions",void 0),Q(o,"datasourceBind",void 0),Q(o,"multistageFilling",void 0),Q(o,"interreaction",void 0),Q(o,"defaultValue",void 0),Q(o,"openMultistageFilling",void 0),Q(o,"aiContentSearch",void 0);var r;o.options=Qt((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{label:f("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:f("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:f("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:f("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:f("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:f("CMD.optionThird",null,"\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 l;o.optionsOrder=(l=n==null?void 0:n.optionsOrder)!==null&&l!==void 0?l:!1;var a;o.otherOption=(a=n==null?void 0:n.otherOption)!==null&&a!==void 0?a:!1;var c;o.limitMin=(c=n==null?void 0:n.limitMin)!==null&&c!==void 0?c:"unlimited";var _;o.limitMax=(_=n==null?void 0:n.limitMax)!==null&&_!==void 0?_:"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 d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:xi.controlName;var m;o.defaultValue=(m=n==null?void 0:n.defaultValue)!==null&&m!==void 0?m:[];var g;o.optionsFormat=(g=n==null?void 0:n.optionsFormat)!==null&&g!==void 0?g:"horizontal";var b;o.defaultShowOptions=(b=n==null?void 0:n.defaultShowOptions)!==null&&b!==void 0?b:!0;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(w){var T;(T=o.multistageFilling)===null||T===void 0||T.push(new pt(w))}));var v;return o.aiContentSearch=(v=n==null?void 0:n.aiContentSearch)!==null&&v!==void 0?v:!1,o}return t}(k);Q(Ii,"Rules",sV),Q(Ii,"RuntimeRules",yV);function pV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dV(e,t,n){return t=Fi(t),mV(e,DO()?Reflect.construct(t,n||[],Fi(e).constructor):t.apply(e,n))}function vV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function hV(e,t,n){return t&&BO(e.prototype,t),n&&BO(e,n),e}function ki(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fi(e){return Fi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fi(e)}function bV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ms(e,t)}function mV(e,t){return t&&(gV(t)==="object"||typeof t=="function")?t:pV(e)}function Ms(e,t){return Ms=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ms(e,t)}function gV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(DO=function(){return!!e})()}var xi=function(e){bV(t,e);function t(n){vV(this,t);var o;return o=dV(this,t,[n]),ki(o,"props",void 0),o.props=new Ii(n==null?void 0:n.props),o}return hV(t,null,[{key:"controlName",get:function(){return f("CMD.checkBox",null,"\u591A\u9009")}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),t}(F);ki(xi,"controlEventKeys",["on_change","on_click"]),ki(xi,"controlFieldType",O.ARRAY),ki(xi,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function OV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wV(e,t,n){return t=Mi(t),SV(e,kO()?Reflect.construct(t,n||[],Mi(e).constructor):t.apply(e,n))}function $V(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function PV(e,t,n){return t&&AO(e.prototype,t),n&&AO(e,n),e}function IO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mi(e){return Mi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mi(e)}function EV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cs(e,t)}function SV(e,t){return t&&(TV(t)==="object"||typeof t=="function")?t:OV(e)}function Cs(e,t){return Cs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cs(e,t)}function TV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(kO=function(){return!!e})()}var RV=function(e){EV(t,e);function t(n){$V(this,t);var o;return o=wV(this,t,[n]),IO(o,"props",void 0),o.props=new Ii(n==null?void 0:n.props),o}return PV(t,null,[{key:"controlType",get:function(){return"checkbox"}}]),t}(x);IO(RV,"controlFieldType",O.ARRAY);function BV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FO(e,t,n){return t=Ci(t),DV(e,CO()?Reflect.construct(t,n||[],Ci(e).constructor):t.apply(e,n))}function xO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ht(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ci(e){return Ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ci(e)}function MO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ls(e,t)}function DV(e,t){return t&&(AV(t)==="object"||typeof t=="function")?t:BV(e)}function Ls(e,t){return Ls=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ls(e,t)}function AV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(CO=function(){return!!e})()}var IV=function(e){MO(t,e);function t(n){return xO(this,t),FO(this,t,[n])}return t}(Ne),js=function(e){MO(t,e);function t(n){xO(this,t);var o;o=FO(this,t,[n]),ht(o,"radioMode",void 0),ht(o,"options",void 0),ht(o,"optionConfig",void 0),ht(o,"optionsFormat",void 0),ht(o,"defaultShowOptions",void 0),ht(o,"otherOption",void 0),ht(o,"optionsOrder",void 0),ht(o,"datasourceBind",void 0),ht(o,"multistageFilling",void 0),ht(o,"interreaction",void 0),ht(o,"defaultValue",void 0),ht(o,"openMultistageFilling",void 0),ht(o,"aiContentSearch",void 0);var r;o.options=Qt((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{label:f("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:f("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:f("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:f("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:f("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:f("CMD.optionThird",null,"\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 l;o.otherOption=(l=n==null?void 0:n.otherOption)!==null&&l!==void 0?l:!1;var a;o.optionsOrder=(a=n==null?void 0:n.optionsOrder)!==null&&a!==void 0?a:!1;var c;o.defaultShowOptions=(c=n==null?void 0:n.defaultShowOptions)!==null&&c!==void 0?c:!0;var _;o.optionsFormat=(_=n==null?void 0:n.optionsFormat)!==null&&_!==void 0?_:"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 d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:Ni.controlName;var m;o.defaultValue=(m=n==null?void 0:n.defaultValue)!==null&&m!==void 0?m:"";var g;o.openMultistageFilling=(g=n==null?void 0:n.openMultistageFilling)!==null&&g!==void 0?g:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function($){var v;(v=o.multistageFilling)===null||v===void 0||v.push(new pt($))}));var b;return o.aiContentSearch=(b=n==null?void 0:n.aiContentSearch)!==null&&b!==void 0?b:!1,o}return t}(k);ht(js,"Rules",IV);function kV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FV(e,t,n){return t=ji(t),LV(e,jO()?Reflect.construct(t,n||[],ji(e).constructor):t.apply(e,n))}function xV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function MV(e,t,n){return t&&LO(e.prototype,t),n&&LO(e,n),e}function Li(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ji(e){return ji=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ji(e)}function CV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ns(e,t)}function LV(e,t){return t&&(jV(t)==="object"||typeof t=="function")?t:kV(e)}function Ns(e,t){return Ns=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ns(e,t)}function jV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(jO=function(){return!!e})()}var Ni=function(e){CV(t,e);function t(n){xV(this,t);var o;return o=FV(this,t,[n]),Li(o,"props",void 0),o.props=new js(n==null?void 0:n.props),o}return MV(t,null,[{key:"controlName",get:function(){return f("CMD.radio",null,"\u5355\u9009")}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),t}(F);Li(Ni,"controlEventKeys",["on_change","on_click"]),Li(Ni,"controlFieldType",O.VARCHAR),Li(Ni,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function NV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VV(e,t,n){return t=Vi(t),UV(e,zO()?Reflect.construct(t,n||[],Vi(e).constructor):t.apply(e,n))}function zV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function HV(e,t,n){return t&&NO(e.prototype,t),n&&NO(e,n),e}function VO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vi(e){return Vi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vi(e)}function qV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vs(e,t)}function UV(e,t){return t&&(WV(t)==="object"||typeof t=="function")?t:NV(e)}function Vs(e,t){return Vs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vs(e,t)}function WV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(zO=function(){return!!e})()}var KV=function(e){qV(t,e);function t(n){zV(this,t);var o;return o=VV(this,t,[n]),VO(o,"props",void 0),o.props=new js(n==null?void 0:n.props),o}return HV(t,null,[{key:"controlType",get:function(){return"radio"}}]),t}(x);VO(KV,"controlFieldType",O.VARCHAR);function GV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zs(e,t,n){return t=zi(t),XV(e,HO()?Reflect.construct(t,n||[],zi(e).constructor):t.apply(e,n))}function Hs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function at(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zi(e){return zi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zi(e)}function qs(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Us(e,t)}function XV(e,t){return t&&(QV(t)==="object"||typeof t=="function")?t:GV(e)}function Us(e,t){return Us=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Us(e,t)}function QV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(HO=function(){return!!e})()}var JV=function(e){qs(t,e);function t(n){Hs(this,t);var o;o=zs(this,t,[n]),at(o,"defaultValue",[{type:"number",min:0,max:200,message:f("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")},{pattern:"",message:""}]),at(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=f("CMD.pleaseEnterNumberRange",{max:r,min:i},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),i&&r!==void 0&&(o.rangeMax={type:"number",min:i,message:f("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")}),o.defaultValue[1].pattern=gr(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return t}(tt),ZV=function(e){qs(t,e);function t(n){Hs(this,t);var o;o=zs(this,t,[n]),o[0]!==void 0&&(o[0].type="number");var r=n.rangeMax!==""?n.rangeMax:void 0,i=n.rangeMin!==""?n.rangeMin:void 0;return o.push({type:"number",max:r,min:i,message:f(r===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:r,min:i},f(r===void 0?"CMD.b21d1751969066554":i===void 0?"CMD.fc041751969068680":"CMD.382b1751969059639"))}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:gr(n.regularRules.expression),message:n.regularRules.errMessage}),o}return t}(j),Hi=function(e){qs(t,e);function t(n){Hs(this,t);var o;o=zs(this,t,[n]),at(o,"rangeMin",void 0),at(o,"rangeMax",void 0),at(o,"numberType",void 0),at(o,"percentageFormat",void 0),at(o,"micrometer",void 0),at(o,"precision",void 0),at(o,"showUpperCase",void 0),at(o,"isShowUnit",void 0),at(o,"unitPosition",void 0),at(o,"unit",void 0),at(o,"defaultValue",void 0),at(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 l;o.percentageFormat=(l=n==null?void 0:n.percentageFormat)!==null&&l!==void 0?l:!1;var a;o.micrometer=(a=n==null?void 0:n.micrometer)!==null&&a!==void 0?a:!1;var c;o.precision=(c=n==null?void 0:n.precision)!==null&&c!==void 0?c:0;var _;o.showUpperCase=(_=n==null?void 0:n.showUpperCase)!==null&&_!==void 0?_:!1;var y;o.isShowUnit=(y=n==null?void 0:n.isShowUnit)!==null&&y!==void 0?y:!1;var d;o.unitPosition=(d=n==null?void 0:n.unitPosition)!==null&&d!==void 0?d:"right";var m;o.unit=(m=n==null?void 0:n.unit)!==null&&m!==void 0?m:"";var g;o.caption=(g=n==null?void 0:n.caption)!==null&&g!==void 0?g:Wi.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:f("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165");var $;return o.defaultValue=($=n==null?void 0:n.defaultValue)!==null&&$!==void 0?$:"",o.regularRules=new Rf(n==null?void 0:n.regularRules),o}return t}(k);at(Hi,"Rules",JV),at(Hi,"RuntimeRules",ZV);function YV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tz(e,t,n){return t=Ke(t),rz(e,UO()?Reflect.construct(t,n||[],Ke(e).constructor):t.apply(e,n))}function ez(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function nz(e,t,n){return t&&qO(e.prototype,t),n&&qO(e,n),e}function qi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ui(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Ui=Reflect.get:Ui=function(r,i,u){var l=iz(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},Ui(e,t,n||e)}function Ke(e){return Ke=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ke(e)}function oz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ws(e,t)}function rz(e,t){return t&&(uz(t)==="object"||typeof t=="function")?t:YV(e)}function Ws(e,t){return Ws=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ws(e,t)}function iz(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ke(e),e!==null););return e}function uz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function UO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(UO=function(){return!!e})()}var Wi=function(e){oz(t,e);function t(n){ez(this,t);var o;return o=tz(this,t,[n]),qi(o,"props",void 0),o.props=new Hi(n==null?void 0:n.props),o}return nz(t,[{key:"toDataBindModel",value:function(o){var r=Ui(Ke(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.precision,l=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=l}return r}}],[{key:"controlName",get:function(){return f("CMD.number",null,"\u6570\u5B57")}},{key:"controlIcon",get:function(){return"iconnuminput_new"}},{key:"controlType",get:function(){return"number"}}]),t}(F);qi(Wi,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),qi(Wi,"controlFieldType",O.DECIMAL),qi(Wi,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_UNIT,s.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function lz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cz(e,t,n){return t=Ki(t),sz(e,GO()?Reflect.construct(t,n||[],Ki(e).constructor):t.apply(e,n))}function az(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function fz(e,t,n){return t&&WO(e.prototype,t),n&&WO(e,n),e}function KO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ki(e){return Ki=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ki(e)}function _z(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ks(e,t)}function sz(e,t){return t&&(yz(t)==="object"||typeof t=="function")?t:lz(e)}function Ks(e,t){return Ks=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ks(e,t)}function yz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(GO=function(){return!!e})()}var pz=function(e){_z(t,e);function t(n){az(this,t);var o;return o=cz(this,t,[n]),KO(o,"props",void 0),o.props=new Hi(n==null?void 0:n.props),o}return fz(t,null,[{key:"controlType",get:function(){return"number"}}]),t}(x);KO(pz,"controlFieldType",O.DECIMAL);function dz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vz(e,t,n){return t=Gi(t),mz(e,XO()?Reflect.construct(t,n||[],Gi(e).constructor):t.apply(e,n))}function hz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ve(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gi(e){return Gi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gi(e)}function bz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gs(e,t)}function mz(e,t){return t&&(gz(t)==="object"||typeof t=="function")?t:dz(e)}function Gs(e,t){return Gs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gs(e,t)}function gz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(XO=function(){return!!e})()}var QO=function(e){bz(t,e);function t(n){hz(this,t);var o,r;o=vz(this,t,[n]),ve(o,"dateType",void 0),ve(o,"dateFormat",void 0),ve(o,"commonTimeSetting",void 0),ve(o,"setValueType",void 0),ve(o,"defaultValue",void 0),ve(o,"limitDateList",void 0),ve(o,"allowDateRange",void 0),ve(o,"filterWeekend",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:Me.DATE;var u;o.dateFormat=(u=n==null?void 0:n.dateFormat)!==null&&u!==void 0?u:"";var l;o.commonTimeSetting=(l=n==null?void 0:n.commonTimeSetting)!==null&&l!==void 0?l:[];var a;o.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Js.controlName;var _;o.placeholder=(_=n==null?void 0:n.placeholder)!==null&&_!==void 0?_:f("CMD.pleaseEnterDate",null,"\u8BF7\u8F93\u5165\u65E5\u671F");var y;o.defaultValue=(y=n==null?void 0:n.defaultValue)!==null&&y!==void 0?y:"";var d;o.limitDateList=(d=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function(b){return new $_(b)}))!==null&&d!==void 0?d:[];var m;o.allowDateRange=(m=n==null?void 0:n.allowDateRange)!==null&&m!==void 0?m:["",""];var g;return o.filterWeekend=(g=n==null?void 0:n.filterWeekend)!==null&&g!==void 0?g:!1,o}return t}(k);function Oz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wz(e,t,n){return t=Ge(t),Sz(e,ZO()?Reflect.construct(t,n||[],Ge(e).constructor):t.apply(e,n))}function $z(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Pz(e,t,n){return t&&JO(e.prototype,t),n&&JO(e,n),e}function Xs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xi(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Xi=Reflect.get:Xi=function(r,i,u){var l=Tz(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},Xi(e,t,n||e)}function Ge(e){return Ge=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ge(e)}function Ez(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qs(e,t)}function Sz(e,t){return t&&(Rz(t)==="object"||typeof t=="function")?t:Oz(e)}function Qs(e,t){return Qs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qs(e,t)}function Tz(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ge(e),e!==null););return e}function Rz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ZO=function(){return!!e})()}var Js=function(e){Ez(t,e);function t(n){$z(this,t);var o;return o=wz(this,t,[n]),Xs(o,"props",void 0),o.props=new QO(n==null?void 0:n.props),o}return Pz(t,[{key:"toDataBindModel",value:function(o){var r=Xi(Ge(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props.dateType;r.props.dateType=i}return r}}],[{key:"controlName",get:function(){return f("CMD.timestamp",null,"\u65E5\u671F")}},{key:"controlIcon",get:function(){return"iconriqi1"}},{key:"controlType",get:function(){return"date-picker"}}]),t}(F);Xs(Js,"controlFieldType",O.TIMESTAMP),Xs(Js,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function Bz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dz(e,t,n){return t=Qi(t),Fz(e,ew()?Reflect.construct(t,n||[],Qi(e).constructor):t.apply(e,n))}function Az(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Iz(e,t,n){return t&&YO(e.prototype,t),n&&YO(e,n),e}function tw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qi(e){return Qi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qi(e)}function kz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zs(e,t)}function Fz(e,t){return t&&(xz(t)==="object"||typeof t=="function")?t:Bz(e)}function Zs(e,t){return Zs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zs(e,t)}function xz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ew(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ew=function(){return!!e})()}var Mz=function(e){kz(t,e);function t(n){Az(this,t);var o;return o=Dz(this,t,[n]),tw(o,"props",void 0),o.props=new QO(n==null?void 0:n.props),o}return Iz(t,null,[{key:"controlType",get:function(){return"date-picker"}}]),t}(x);tw(Mz,"controlFieldType",O.TIMESTAMP);function Cz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nw(e,t,n){return t=Ji(t),Lz(e,iw()?Reflect.construct(t,n||[],Ji(e).constructor):t.apply(e,n))}function ow(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ji(e){return Ji=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ji(e)}function rw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ys(e,t)}function Lz(e,t){return t&&(jz(t)==="object"||typeof t=="function")?t:Cz(e)}function Ys(e,t){return Ys=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ys(e,t)}function jz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(iw=function(){return!!e})()}var Nz=function(e){rw(t,e);function t(n){ow(this,t);var o;return o=nw(this,t,[n]),o[0]!==void 0&&(o[0].type="object"),n.required&&!n.isHide&&o.push({type:"object",fields:{max:{type:"string",required:n.required,message:o[0].message},min:{type:"string",required:n.required,message:o[0].message}}}),o}return t}(j),ty=function(e){rw(t,e);function t(n){ow(this,t);var o,r;o=nw(this,t,[n]),Dt(o,"dataBind",void 0),Dt(o,"rangeMin",void 0),Dt(o,"rangeMax",void 0),Dt(o,"placeholderStart",void 0),Dt(o,"placeholderEnd",void 0),Dt(o,"dateFormat",void 0),Dt(o,"commonTimeSetting",void 0),Dt(o,"dateType",void 0),Dt(o,"setValueType",void 0),Dt(o,"defaultValue",void 0),Dt(o,"limitDateList",void 0),o.dataBind=new Vx(n==null?void 0:n.dataBind),o.defaultValue=new zx(n==null?void 0:n.defaultValue);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:Me.DATE;var u;o.dateFormat=(u=n==null?void 0:n.dateFormat)!==null&&u!==void 0?u:"";var l;o.commonTimeSetting=(l=n==null?void 0:n.commonTimeSetting)!==null&&l!==void 0?l:[];var a;o.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var c;o.rangeMin=(c=n==null?void 0:n.rangeMin)!==null&&c!==void 0?c:"";var _;o.rangeMax=(_=n==null?void 0:n.rangeMax)!==null&&_!==void 0?_:"";var y;o.placeholderStart=(y=n==null?void 0:n.placeholderStart)!==null&&y!==void 0?y:f("CMD.pleaseSelectStartDate",null,"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F");var d;o.placeholderEnd=(d=n==null?void 0:n.placeholderEnd)!==null&&d!==void 0?d:f("CMD.pleaseSelectEndDate",null,"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F");var m;o.caption=(m=n==null?void 0:n.caption)!==null&&m!==void 0?m:oy.controlName;var g;return o.limitDateList=(g=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function(b){return new $_(b)}))!==null&&g!==void 0?g:[],o}return t}(k);Dt(ty,"RuntimeRules",Nz);function Vz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zz(e,t,n){return t=Xe(t),Wz(e,lw()?Reflect.construct(t,n||[],Xe(e).constructor):t.apply(e,n))}function Hz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function qz(e,t,n){return t&&uw(e.prototype,t),n&&uw(e,n),e}function ey(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zi(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Zi=Reflect.get:Zi=function(r,i,u){var l=Kz(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},Zi(e,t,n||e)}function Xe(e){return Xe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xe(e)}function Uz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ny(e,t)}function Wz(e,t){return t&&(Gz(t)==="object"||typeof t=="function")?t:Vz(e)}function ny(e,t){return ny=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ny(e,t)}function Kz(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Xe(e),e!==null););return e}function Gz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(lw=function(){return!!e})()}var oy=function(e){Uz(t,e);function t(n){Hz(this,t);var o;return o=zz(this,t,[n]),ey(o,"props",void 0),o.props=new ty(n==null?void 0:n.props),o}return qz(t,[{key:"toDataBindModel",value:function(o){var r=Zi(Xe(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props.dateType;r.props.dateType=i}return r}}],[{key:"controlName",get:function(){return f("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"date-range"}}]),t}(F);ey(oy,"controlFieldType",O.TIMESCOPE),ey(oy,"setting",[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function Xz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qz(e,t,n){return t=Yi(t),tH(e,fw()?Reflect.construct(t,n||[],Yi(e).constructor):t.apply(e,n))}function Jz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Zz(e,t,n){return t&&cw(e.prototype,t),n&&cw(e,n),e}function aw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yi(e){return Yi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yi(e)}function Yz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ry(e,t)}function tH(e,t){return t&&(eH(t)==="object"||typeof t=="function")?t:Xz(e)}function ry(e,t){return ry=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ry(e,t)}function eH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(fw=function(){return!!e})()}var nH=function(e){Yz(t,e);function t(n){Jz(this,t);var o;return o=Qz(this,t,[n]),aw(o,"props",void 0),o.props=new ty(n==null?void 0:n.props),o}return Zz(t,null,[{key:"controlType",get:function(){return"date-range"}}]),t}(x);aw(nH,"controlFieldType",O.TIMESCOPE);function oH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iy(e,t,n){return t=tu(t),rH(e,_w()?Reflect.construct(t,n||[],tu(e).constructor):t.apply(e,n))}function uy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function At(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tu(e){return tu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tu(e)}function ly(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cy(e,t)}function rH(e,t){return t&&(iH(t)==="object"||typeof t=="function")?t:oH(e)}function cy(e,t){return cy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cy(e,t)}function iH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _w(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_w=function(){return!!e})()}var uH=function(e){ly(t,e);function t(n){uy(this,t);var o;return o=iy(this,t,[n]),At(o,"maxLength",{type:"number",min:0,message:f("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")}),At(o,"minLength",{type:"number",max:1e6,message:f("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")}),At(o,"defaultValue",{type:"string",max:200,min:0,message:f("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=f("CMD.stringRangeError",{max:n.maxLength,min:n.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C"),o}return t}(tt),lH=function(e){ly(t,e);function t(n){uy(this,t);var o;return o=iy(this,t,[n]),o.push({type:"string",max:n.maxLength,min:n.minLength,message:f("CMD.stringRangeError",{max:n.maxLength,min:n.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}),o}return t}(j),eu=function(e){ly(t,e);function t(n){uy(this,t);var o;o=iy(this,t,[n]),At(o,"maxLength",void 0),At(o,"minLength",void 0),At(o,"defaultValue",void 0),At(o,"rowHeightSetting",void 0),At(o,"aiContentSearch",void 0),At(o,"aiGeneration",void 0),At(o,"aiOptions",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 l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:ru.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:f("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),o.rowHeightSetting=new Q0(n==null?void 0:n.rowHeightSetting);var c;o.aiContentSearch=(c=n==null?void 0:n.aiContentSearch)!==null&&c!==void 0?c:!1;var _;o.aiGeneration=(_=n==null?void 0:n.aiGeneration)!==null&&_!==void 0?_:!1;var y;return o.aiOptions=ib((y=n==null?void 0:n.aiOptions)!==null&&y!==void 0?y:[{label:f("CMD.aiOptionOneLabel",null,"\u603B\u7ED3"),cueWord:f("CMD.aiOptionOneCurword",null,"SUMM"),checked:!0},{label:f("CMD.aiOptionTwoLabel",null,"\u4E30\u5BCC"),cueWord:f("CMD.aiOptionTwoCurword",null,"RICH"),checked:!1},{label:f("CMD.aiOptionThreeLabel",null,"\u7FFB\u8BD1"),cueWord:f("CMD.aiOptionThreeCurword",null,"TRANS"),checked:!1}]),o}return t}(k);At(eu,"Rules",uH),At(eu,"RuntimeRules",lH);function cH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aH(e,t,n){return t=ou(t),yH(e,yw()?Reflect.construct(t,n||[],ou(e).constructor):t.apply(e,n))}function fH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function _H(e,t,n){return t&&sw(e.prototype,t),n&&sw(e,n),e}function nu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ou(e){return ou=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ou(e)}function sH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ay(e,t)}function yH(e,t){return t&&(pH(t)==="object"||typeof t=="function")?t:cH(e)}function ay(e,t){return ay=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ay(e,t)}function pH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(yw=function(){return!!e})()}var ru=function(e){sH(t,e);function t(n){fH(this,t);var o;return o=aH(this,t,[n]),nu(o,"props",void 0),o.props=new eu(n==null?void 0:n.props),o}return _H(t,null,[{key:"controlName",get:function(){return f("CMD.textarea",null,"\u591A\u884C\u6587\u672C")}},{key:"controlIcon",get:function(){return"iconMultilineline_new1"}},{key:"controlType",get:function(){return"textarea"}}]),t}(F);nu(ru,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),nu(ru,"controlFieldType",O.TEXT),nu(ru,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!1},{key:"ai-generation",visible:!0},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"row-height-setting",visible:!0},{key:"super-setting",visible:!0}]);function dH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vH(e,t,n){return t=iu(t),gH(e,vw()?Reflect.construct(t,n||[],iu(e).constructor):t.apply(e,n))}function hH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function bH(e,t,n){return t&&pw(e.prototype,t),n&&pw(e,n),e}function dw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function iu(e){return iu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},iu(e)}function mH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fy(e,t)}function gH(e,t){return t&&(OH(t)==="object"||typeof t=="function")?t:dH(e)}function fy(e,t){return fy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fy(e,t)}function OH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(vw=function(){return!!e})()}var wH=function(e){mH(t,e);function t(n){hH(this,t);var o;return o=vH(this,t,[n]),dw(o,"props",void 0),o.props=new eu(n==null?void 0:n.props),o}return bH(t,null,[{key:"controlType",get:function(){return"textarea"}}]),t}(x);dw(wH,"controlFieldType",O.TEXT);function $H(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _y(e,t,n){return t=uu(t),PH(e,hw()?Reflect.construct(t,n||[],uu(e).constructor):t.apply(e,n))}function sy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uu(e){return uu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},uu(e)}function yy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&py(e,t)}function PH(e,t){return t&&(EH(t)==="object"||typeof t=="function")?t:$H(e)}function py(e,t){return py=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},py(e,t)}function EH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(hw=function(){return!!e})()}var SH=function(e){yy(t,e);function t(n){sy(this,t);var o;return o=_y(this,t,[n]),xt(o,"maxLength",{type:"number",min:0,message:f("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")}),xt(o,"minLength",{type:"number",max:1e6,message:f("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")}),xt(o,"defaultValue",{type:"string",max:200,min:0,message:f("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=f("CMD.stringRangeError",{max:n.maxLength,min:n.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C"),o}return t}(tt),TH=function(e){yy(t,e);function t(n){sy(this,t);var o;return o=_y(this,t,[n]),o.push({type:"string",max:n.maxLength,min:n.minLength,message:f("CMD.stringRangeError",{max:n.maxLength,min:n.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}),o}return t}(j),lu=function(e){yy(t,e);function t(n){sy(this,t);var o;o=_y(this,t,[n]),xt(o,"maxLength",void 0),xt(o,"minLength",void 0),xt(o,"defaultValue",void 0),xt(o,"aiContentSearch",void 0),xt(o,"aiGeneration",void 0),xt(o,"aiOptions",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 l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:fu.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:f("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165");var c;o.aiContentSearch=(c=n==null?void 0:n.aiContentSearch)!==null&&c!==void 0?c:!1;var _;o.aiGeneration=(_=n==null?void 0:n.aiGeneration)!==null&&_!==void 0?_:!1;var y;return o.aiOptions=ib((y=n==null?void 0:n.aiOptions)!==null&&y!==void 0?y:[{label:f("CMD.aiOptionOneLabel",null,"\u603B\u7ED3"),cueWord:f("CMD.aiOptionOneCurword",null,"SUMM"),checked:!0},{label:f("CMD.aiOptionTwoLabel",null,"\u4E30\u5BCC"),cueWord:f("CMD.aiOptionTwoCurword",null,"RICH"),checked:!1},{label:f("CMD.aiOptionThreeLabel",null,"\u7FFB\u8BD1"),cueWord:f("CMD.aiOptionThreeCurword",null,"TRANS"),checked:!1}]),o}return t}(k);xt(lu,"Rules",SH),xt(lu,"RuntimeRules",TH);function RH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BH(e,t,n){return t=au(t),kH(e,mw()?Reflect.construct(t,n||[],au(e).constructor):t.apply(e,n))}function DH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function AH(e,t,n){return t&&bw(e.prototype,t),n&&bw(e,n),e}function cu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function au(e){return au=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},au(e)}function IH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dy(e,t)}function kH(e,t){return t&&(FH(t)==="object"||typeof t=="function")?t:RH(e)}function dy(e,t){return dy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dy(e,t)}function FH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(mw=function(){return!!e})()}var fu=function(e){IH(t,e);function t(n){DH(this,t);var o;return o=BH(this,t,[n]),cu(o,"props",void 0),o.props=new lu(n==null?void 0:n.props),o}return AH(t,null,[{key:"controlName",get:function(){return f("CMD.richText",null,"\u5BCC\u6587\u672C")}},{key:"controlIcon",get:function(){return"iconRichtextbox_new"}},{key:"controlType",get:function(){return"rich-text"}}]),t}(F);cu(fu,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),cu(fu,"controlFieldType",O.TEXT),cu(fu,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!1},{key:"ai-generation",visible:!0},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}]);function xH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MH(e,t,n){return t=_u(t),NH(e,ww()?Reflect.construct(t,n||[],_u(e).constructor):t.apply(e,n))}function CH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function LH(e,t,n){return t&&gw(e.prototype,t),n&&gw(e,n),e}function Ow(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _u(e){return _u=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_u(e)}function jH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vy(e,t)}function NH(e,t){return t&&(VH(t)==="object"||typeof t=="function")?t:xH(e)}function vy(e,t){return vy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vy(e,t)}function VH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ww(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ww=function(){return!!e})()}var zH=function(e){jH(t,e);function t(n){CH(this,t);var o;return o=MH(this,t,[n]),Ow(o,"props",void 0),o.props=new lu(n==null?void 0:n.props),o}return LH(t,null,[{key:"controlType",get:function(){return"rich-text"}}]),t}(x);Ow(zH,"controlFieldType",O.TEXT);function HH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $w(e,t,n){return t=su(t),qH(e,Sw()?Reflect.construct(t,n||[],su(e).constructor):t.apply(e,n))}function Pw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function su(e){return su=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},su(e)}function Ew(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hy(e,t)}function qH(e,t){return t&&(UH(t)==="object"||typeof t=="function")?t:HH(e)}function hy(e,t){return hy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hy(e,t)}function UH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Sw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Sw=function(){return!!e})()}var WH=function(e){Ew(t,e);function t(n){Pw(this,t);var o;return o=$w(this,t,[n]),bt(o,"formBind",{type:"object",fields:{formKey:{type:"string",message:f("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return t}(Ne),by=function(e){Ew(t,e);function t(n){Pw(this,t);var o;o=$w(this,t,[n]),bt(o,"options",void 0),bt(o,"defaultShowOptions",void 0),bt(o,"optionConfig",void 0),bt(o,"defaultValue",void 0),bt(o,"datasourceBind",void 0),bt(o,"multistageFilling",void 0),bt(o,"allowCopyOptions",void 0),bt(o,"openMultistageFilling",void 0),bt(o,"viewFormModelType",void 0),bt(o,"canViewForm",void 0),bt(o,"formBind",void 0),bt(o,"aiContentSearch",void 0);var r;o.options=Qt((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{label:f("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:f("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:f("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:f("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:f("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:f("CMD.optionThird",null,"\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 l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:Oy.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:f("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9");var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:"";var _;o.allowCopyOptions=(_=n==null?void 0:n.allowCopyOptions)!==null&&_!==void 0?_:!1;var y;o.openMultistageFilling=(y=n==null?void 0:n.openMultistageFilling)!==null&&y!==void 0?y:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(b){var $;($=o.multistageFilling)===null||$===void 0||$.push(new pt(b))}));var d;o.canViewForm=(d=n==null?void 0:n.canViewForm)!==null&&d!==void 0?d:!1;var m;o.viewFormModelType=(m=n==null?void 0:n.viewFormModelType)!==null&&m!==void 0?m:"window",o.formBind=new Le(n==null?void 0:n.formBind);var g;return o.aiContentSearch=(g=n==null?void 0:n.aiContentSearch)!==null&&g!==void 0?g:!1,o}return t}(k);bt(by,"Rules",WH);function KH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GH(e,t,n){return t=yu(t),ZH(e,Rw()?Reflect.construct(t,n||[],yu(e).constructor):t.apply(e,n))}function XH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function QH(e,t,n){return t&&Tw(e.prototype,t),n&&Tw(e,n),e}function my(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yu(e){return yu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yu(e)}function JH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gy(e,t)}function ZH(e,t){return t&&(YH(t)==="object"||typeof t=="function")?t:KH(e)}function gy(e,t){return gy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gy(e,t)}function YH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Rw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Rw=function(){return!!e})()}var Oy=function(e){JH(t,e);function t(n){XH(this,t);var o;return o=GH(this,t,[n]),my(o,"props",void 0),o.props=new by(n==null?void 0:n.props),o}return QH(t,null,[{key:"controlName",get:function(){return f("CMD.select",null,"\u4E0B\u62C9\u5355\u9009")}},{key:"controlIcon",get:function(){return"iconxiala1"}},{key:"controlType",get:function(){return"select"}}]),t}(F);my(Oy,"controlFieldType",O.VARCHAR),my(Oy,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP,s.ALLOW_COPY_OPTIONS]},{key:"ai-content-search",visible:!0},{key:"options-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function tq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eq(e,t,n){return t=pu(t),iq(e,Aw()?Reflect.construct(t,n||[],pu(e).constructor):t.apply(e,n))}function nq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function oq(e,t,n){return t&&Bw(e.prototype,t),n&&Bw(e,n),e}function Dw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pu(e){return pu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pu(e)}function rq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wy(e,t)}function iq(e,t){return t&&(uq(t)==="object"||typeof t=="function")?t:tq(e)}function wy(e,t){return wy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wy(e,t)}function uq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Aw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Aw=function(){return!!e})()}var lq=function(e){rq(t,e);function t(n){nq(this,t);var o;return o=eq(this,t,[n]),Dw(o,"props",void 0),o.props=new by(n==null?void 0:n.props),o}return oq(t,null,[{key:"controlType",get:function(){return"select"}}]),t}(x);Dw(lq,"controlFieldType",O.VARCHAR);function cq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $y(e,t,n){return t=du(t),aq(e,Iw()?Reflect.construct(t,n||[],du(e).constructor):t.apply(e,n))}function Py(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function du(e){return du=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},du(e)}function Ey(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sy(e,t)}function aq(e,t){return t&&(fq(t)==="object"||typeof t=="function")?t:cq(e)}function Sy(e,t){return Sy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sy(e,t)}function fq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Iw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Iw=function(){return!!e})()}var _q=function(e){Ey(t,e);function t(n){Py(this,t);var o;return o=$y(this,t,[n]),mt(o,"formBind",{type:"object",fields:{formKey:{type:"string",message:f("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return t}(Ne),sq=function(e){Ey(t,e);function t(n){Py(this,t);var o;return o=$y(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(j),vu=function(e){Ey(t,e);function t(n){Py(this,t);var o;o=$y(this,t,[n]),mt(o,"options",void 0),mt(o,"defaultShowOptions",void 0),mt(o,"optionConfig",void 0),mt(o,"defaultValue",void 0),mt(o,"datasourceBind",void 0),mt(o,"multistageFilling",void 0),mt(o,"openMultistageFilling",void 0),mt(o,"viewFormModelType",void 0),mt(o,"canViewForm",void 0),mt(o,"formBind",void 0),mt(o,"aiContentSearch",void 0);var r;o.options=Qt((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{label:f("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:f("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:f("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:f("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:f("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:f("CMD.optionThird",null,"\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 l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:By.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:f("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9");var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:[];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(g){var b;(b=o.multistageFilling)===null||b===void 0||b.push(new pt(g))}));var y;o.canViewForm=(y=n==null?void 0:n.canViewForm)!==null&&y!==void 0?y:!1;var d;o.viewFormModelType=(d=n==null?void 0:n.viewFormModelType)!==null&&d!==void 0?d:"window",o.formBind=new Le(n==null?void 0:n.formBind);var m;return o.aiContentSearch=(m=n==null?void 0:n.aiContentSearch)!==null&&m!==void 0?m:!1,o}return t}(k);mt(vu,"Rules",_q),mt(vu,"RuntimeRules",sq);function yq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pq(e,t,n){return t=hu(t),bq(e,Fw()?Reflect.construct(t,n||[],hu(e).constructor):t.apply(e,n))}function dq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function vq(e,t,n){return t&&kw(e.prototype,t),n&&kw(e,n),e}function Ty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hu(e){return hu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hu(e)}function hq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ry(e,t)}function bq(e,t){return t&&(mq(t)==="object"||typeof t=="function")?t:yq(e)}function Ry(e,t){return Ry=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ry(e,t)}function mq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Fw=function(){return!!e})()}var By=function(e){hq(t,e);function t(n){dq(this,t);var o;return o=pq(this,t,[n]),Ty(o,"props",void 0),o.props=new vu(n==null?void 0:n.props),o}return vq(t,null,[{key:"controlName",get:function(){return f("CMD.selectMultiple",null,"\u4E0B\u62C9\u591A\u9009")}},{key:"controlIcon",get:function(){return"iconxialaduoxuan"}},{key:"controlType",get:function(){return"select-multiple"}}]),t}(F);Ty(By,"controlFieldType",O.ARRAY),Ty(By,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"options-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function gq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oq(e,t,n){return t=bu(t),Eq(e,Cw()?Reflect.construct(t,n||[],bu(e).constructor):t.apply(e,n))}function wq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function $q(e,t,n){return t&&xw(e.prototype,t),n&&xw(e,n),e}function Mw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bu(e){return bu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bu(e)}function Pq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dy(e,t)}function Eq(e,t){return t&&(Sq(t)==="object"||typeof t=="function")?t:gq(e)}function Dy(e,t){return Dy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dy(e,t)}function Sq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Cw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Cw=function(){return!!e})()}var Tq=function(e){Pq(t,e);function t(n){wq(this,t);var o;return o=Oq(this,t,[n]),Mw(o,"props",void 0),o.props=new vu(n==null?void 0:n.props),o}return $q(t,null,[{key:"controlType",get:function(){return"select-multiple"}}]),t}(x);Mw(Tq,"controlFieldType",O.ARRAY);function Rq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lw(e,t,n){return t=mu(t),Bq(e,Vw()?Reflect.construct(t,n||[],mu(e).constructor):t.apply(e,n))}function jw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mu(e){return mu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mu(e)}function Nw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ay(e,t)}function Bq(e,t){return t&&(Dq(t)==="object"||typeof t=="function")?t:Rq(e)}function Ay(e,t){return Ay=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ay(e,t)}function Dq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Vw=function(){return!!e})()}var Aq=function(e){Nw(t,e);function t(n){jw(this,t);var o;return o=Lw(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(j),Iy=function(e){Nw(t,e);function t(n){jw(this,t);var o;o=Lw(this,t,[n]),ee(o,"showType",void 0),ee(o,"range",void 0),ee(o,"rangeOptions",void 0),ee(o,"multiple",void 0),ee(o,"defaultValueType",void 0),ee(o,"defaultValue",void 0),ee(o,"multistageFilling",void 0),ee(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 l;o.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1;var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:[];var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:xy.controlName;var y;o.placeholder=(y=n==null?void 0:n.placeholder)!==null&&y!==void 0?y:f("CMD.pleaseEnterNameorEmail",null,"\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(m){var g;(g=o.multistageFilling)===null||g===void 0||g.push(new pt(m))})),o}return t}(k);ee(Iy,"RuntimeRules",Aq);function Iq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kq(e,t,n){return t=gu(t),Cq(e,Hw()?Reflect.construct(t,n||[],gu(e).constructor):t.apply(e,n))}function Fq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function xq(e,t,n){return t&&zw(e.prototype,t),n&&zw(e,n),e}function ky(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gu(e){return gu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gu(e)}function Mq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fy(e,t)}function Cq(e,t){return t&&(Lq(t)==="object"||typeof t=="function")?t:Iq(e)}function Fy(e,t){return Fy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fy(e,t)}function Lq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Hw=function(){return!!e})()}var xy=function(e){Mq(t,e);function t(n){Fq(this,t);var o;return o=kq(this,t,[n]),ky(o,"props",void 0),o.props=new Iy(n==null?void 0:n.props),o}return xq(t,null,[{key:"controlName",get:function(){return f("CMD.people",null,"\u4EBA\u5458")}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),t}(F);ky(xy,"controlFieldType",O.EMPLOYEES),ky(xy,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}]);function jq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nq(e,t,n){return t=Ou(t),qq(e,Ww()?Reflect.construct(t,n||[],Ou(e).constructor):t.apply(e,n))}function Vq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function zq(e,t,n){return t&&qw(e.prototype,t),n&&qw(e,n),e}function Uw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ou(e){return Ou=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ou(e)}function Hq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&My(e,t)}function qq(e,t){return t&&(Uq(t)==="object"||typeof t=="function")?t:jq(e)}function My(e,t){return My=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},My(e,t)}function Uq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ww(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ww=function(){return!!e})()}var Wq=function(e){Hq(t,e);function t(n){Vq(this,t);var o;return o=Nq(this,t,[n]),Uw(o,"props",void 0),o.props=new Iy(n==null?void 0:n.props),o}return zq(t,null,[{key:"controlType",get:function(){return"employee"}}]),t}(x);Uw(Wq,"controlFieldType",O.EMPLOYEES);function Kq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cy(e,t,n){return t=wu(t),Gq(e,Kw()?Reflect.construct(t,n||[],wu(e).constructor):t.apply(e,n))}function Ly(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ft(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wu(e){return wu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wu(e)}function jy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ny(e,t)}function Gq(e,t){return t&&(Xq(t)==="object"||typeof t=="function")?t:Kq(e)}function Ny(e,t){return Ny=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ny(e,t)}function Xq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Kw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Kw=function(){return!!e})()}var Qq=10485760,Jq=104857600,Zq=1048576e3,Yq=function(e){jy(t,e);function t(n){Ly(this,t);var o;return o=Cy(this,t,[n]),ft(o,"maxSize",{type:"number",min:0,max:Zq,message:f("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4")}),o}return t}(tt),tU=function(e){jy(t,e);function t(n){Ly(this,t);var o;return o=Cy(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o.push({type:"array",max:n.maxLimit,min:n.minLimit,message:f("CMD.attachmentLimitError",{max:n.maxLimit,min:n.minLimit},"\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236")}),o}return t}(j),$u=function(e){jy(t,e);function t(n){Ly(this,t);var o;o=Cy(this,t,[n]),ft(o,"storageType",void 0),ft(o,"defaultValue",void 0),ft(o,"showType",void 0),ft(o,"resultShowType",void 0),ft(o,"attachmentAccept",void 0),ft(o,"maxLimit",void 0),ft(o,"minLimit",void 0),ft(o,"isShowWatermark",void 0),ft(o,"watermarkFx",void 0),ft(o,"maxSize",void 0),ft(o,"operation",void 0),ft(o,"aiExplanation",void 0),ft(o,"aiExplanationLength",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 l;o.attachmentAccept=(l=n==null?void 0:n.attachmentAccept)!==null&&l!==void 0?l:[];var a;o.maxLimit=(a=n==null?void 0:n.maxLimit)!==null&&a!==void 0?a:10;var c;o.minLimit=(c=n==null?void 0:n.minLimit)!==null&&c!==void 0?c:0;var _;o.maxSize=(_=n==null?void 0:n.maxSize)!==null&&_!==void 0?_:Jq;var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:bo.controlName;var d;o.placeholder=(d=n==null?void 0:n.placeholder)!==null&&d!==void 0?d:f("CMD.uploadFile",null,"\u4E0A\u4F20\u9644\u4EF6");var m;o.isShowWatermark=(m=n==null?void 0:n.isShowWatermark)!==null&&m!==void 0?m:!1;var g;o.watermarkFx=(g=n==null?void 0:n.watermarkFx)!==null&&g!==void 0?g:{};var b;o.operation=(b=n==null?void 0:n.operation)!==null&&b!==void 0?b:["info","preview","download"];var $;o.aiExplanation=($=n==null?void 0:n.aiExplanation)!==null&&$!==void 0?$:!1;var v;o.aiExplanationLength=(v=n==null?void 0:n.aiExplanationLength)!==null&&v!==void 0?v:500;var w;return o.storageType=(w=n==null?void 0:n.storageType)!==null&&w!==void 0?w:"local",o}return t}(k);ft($u,"Rules",Yq),ft($u,"RuntimeRules",tU);function eU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nU(e,t,n){return t=Eu(t),uU(e,Xw()?Reflect.construct(t,n||[],Eu(e).constructor):t.apply(e,n))}function oU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function rU(e,t,n){return t&&Gw(e.prototype,t),n&&Gw(e,n),e}function Pu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Eu(e){return Eu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Eu(e)}function iU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vy(e,t)}function uU(e,t){return t&&(lU(t)==="object"||typeof t=="function")?t:eU(e)}function Vy(e,t){return Vy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vy(e,t)}function lU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Xw=function(){return!!e})()}var bo=function(e){iU(t,e);function t(n){oU(this,t);var o;return o=nU(this,t,[n]),Pu(o,"props",void 0),o.props=new $u(n==null?void 0:n.props),o}return rU(t,null,[{key:"controlName",get:function(){return f("CMD.file",null,"\u9644\u4EF6")}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),t}(F);Pu(bo,"controlEventKeys",["on_change"]),Pu(bo,"controlFieldType",O.FILE),Pu(bo,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"ai-explanation",visible:!0},{key:"attachment-storage",visible:!0},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-operation",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function cU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aU(e,t,n){return t=Su(t),yU(e,Zw()?Reflect.construct(t,n||[],Su(e).constructor):t.apply(e,n))}function fU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function _U(e,t,n){return t&&Qw(e.prototype,t),n&&Qw(e,n),e}function Jw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Su(e){return Su=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Su(e)}function sU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zy(e,t)}function yU(e,t){return t&&(pU(t)==="object"||typeof t=="function")?t:cU(e)}function zy(e,t){return zy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zy(e,t)}function pU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Zw=function(){return!!e})()}var dU=function(e){sU(t,e);function t(n){fU(this,t);var o;return o=aU(this,t,[n]),Jw(o,"props",void 0),o.props=new $u(n==null?void 0:n.props),o}return _U(t,null,[{key:"controlType",get:function(){return"attachment"}}]),t}(x);Jw(dU,"controlFieldType",O.FILE);function vU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hU(e,t,n){return t=Tu(t),OU(e,e$()?Reflect.construct(t,n||[],Tu(e).constructor):t.apply(e,n))}function bU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function mU(e,t,n){return t&&Yw(e.prototype,t),n&&Yw(e,n),e}function t$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tu(e){return Tu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tu(e)}function gU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hy(e,t)}function OU(e,t){return t&&(wU(t)==="object"||typeof t=="function")?t:vU(e)}function Hy(e,t){return Hy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hy(e,t)}function wU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function e$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(e$=function(){return!!e})()}var n$=function(e){gU(t,e);function t(n){bU(this,t);var o,r,i;o=hU(this,t,[n]),o.props.showType="image";var u;o.props.caption=(u=n==null||(r=n.props)===null||r===void 0?void 0:r.caption)!==null&&u!==void 0?u:t.controlName;var l;return o.props.placeholder=(l=n==null||(i=n.props)===null||i===void 0?void 0:i.placeholder)!==null&&l!==void 0?l:f("CMD.uploadImg",null,"\u4E0A\u4F20\u56FE\u7247"),o}return mU(t,null,[{key:"controlName",get:function(){return f("CMD.image",null,"\u56FE\u7247")}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),t}(bo);t$(n$,"controlFieldType",O.IMAGE),t$(n$,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP,s.IS_SHOW_WATERMARK]},{key:"ai-explanation",visible:!0},{key:"attachment-storage",visible:!0},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function $U(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qy(e,t,n){return t=Ru(t),TU(e,o$()?Reflect.construct(t,n||[],Ru(e).constructor):t.apply(e,n))}function Uy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ut(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ru(e){return Ru=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ru(e)}function Wy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ky(e,t)}function PU(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){ut(e,r,n[r])})}return e}function EU(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function SU(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):EU(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function TU(e,t){return t&&(RU(t)==="object"||typeof t=="function")?t:$U(e)}function Ky(e,t){return Ky=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ky(e,t)}function RU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function o$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(o$=function(){return!!e})()}var BU=function(e){Wy(t,e);function t(n){Uy(this,t);var o;o=qy(this,t,[n]),ut(o,"defaultValue",{type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:f("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}]}}),ut(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=f("CMD.pleaseEnterNumberRange",{max:r,min:i},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),i&&r!==void 0&&(o.rangeMax={type:"number",min:i,message:f("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")}),o}return t}(Ne),DU=function(e){Wy(t,e);function t(n){Uy(this,t);var o;o=qy(this,t,[n]),o[0]!==void 0&&(o[0].type="object");var r=n.rangeMax===""?void 0:n.rangeMax,i=n.rangeMin===""?void 0:n.rangeMin;return o.push({type:"object",fields:{amount:[SU(PU({},o[0]),{type:"number"}),{type:"number",min:i,max:r,message:f(r===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:r,min:i},f(r===void 0?"CMD.56c11751969066552":i===void 0?"CMD.f2c61751969068677":"CMD.e4d51751969059638"))}],currency:{type:"string"}}}),o}return t}(j),Bu=function(e){Wy(t,e);function t(n){Uy(this,t);var o;o=qy(this,t,[n]),ut(o,"rangeMin",void 0),ut(o,"rangeMax",void 0),ut(o,"showUpperCase",void 0),ut(o,"submitSelectCurrency",void 0),ut(o,"micrometer",void 0),ut(o,"precision",void 0),ut(o,"unitPosition",void 0),ut(o,"optionConfig",void 0),ut(o,"dataBind",void 0),ut(o,"datasourceBind",void 0),ut(o,"defaultValue",void 0),ut(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 l;o.micrometer=(l=n==null?void 0:n.micrometer)!==null&&l!==void 0?l:!1;var a;o.precision=(a=n==null?void 0:n.precision)!==null&&a!==void 0?a:2,o.dataBind=new jx(n==null?void 0:n.dataBind);var c;o.datasourceBind=new X((c=n==null?void 0:n.datasourceBind)!==null&&c!==void 0?c:{displayBoList:[new Ef({value:"name"})]});var _;o.defaultValue=new Nx((_=n==null?void 0:n.defaultValue)!==null&&_!==void 0?_:{amount:"",currency:Wx.CNY});var y;o.unitPosition=(y=n==null?void 0:n.unitPosition)!==null&&y!==void 0?y:"right",o.options=Qt(n==null?void 0:n.options);var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:Iu.controlName;var m;o.placeholder=(m=n==null?void 0:n.placeholder)!==null&&m!==void 0?m:f("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165");var g;o.submitSelectCurrency=(g=n==null?void 0:n.submitSelectCurrency)!==null&&g!==void 0?g:!1;var b;return o.showUpperCase=(b=n==null?void 0:n.showUpperCase)!==null&&b!==void 0?b:!1,o}return t}(k);ut(Bu,"Rules",BU),ut(Bu,"RuntimeRules",DU);function AU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IU(e,t,n){return t=Qe(t),MU(e,i$()?Reflect.construct(t,n||[],Qe(e).constructor):t.apply(e,n))}function kU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function FU(e,t,n){return t&&r$(e.prototype,t),n&&r$(e,n),e}function Du(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Au(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Au=Reflect.get:Au=function(r,i,u){var l=CU(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},Au(e,t,n||e)}function Qe(e){return Qe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qe(e)}function xU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gy(e,t)}function MU(e,t){return t&&(LU(t)==="object"||typeof t=="function")?t:AU(e)}function Gy(e,t){return Gy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gy(e,t)}function CU(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Qe(e),e!==null););return e}function LU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function i$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(i$=function(){return!!e})()}var Iu=function(e){xU(t,e);function t(n){kU(this,t);var o;return o=IU(this,t,[n]),Du(o,"props",void 0),o.props=new Bu(n==null?void 0:n.props),o}return FU(t,[{key:"toDataBindModel",value:function(o){var r=Au(Qe(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.precision,l=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=l}return r}}],[{key:"controlName",get:function(){return f("CMD.amount",null,"\u91D1\u989D")}},{key:"controlType",get:function(){return"amount"}},{key:"controlIcon",get:function(){return"iconjine"}}]),t}(F);Du(Iu,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Du(Iu,"controlFieldType",O.MONEY),Du(Iu,"setting",[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.SUBMIT_SELECT_CURRENCY,s.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"unit-position",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function jU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NU(e,t,n){return t=ku(t),qU(e,c$()?Reflect.construct(t,n||[],ku(e).constructor):t.apply(e,n))}function VU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function zU(e,t,n){return t&&u$(e.prototype,t),n&&u$(e,n),e}function l$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ku(e){return ku=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ku(e)}function HU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xy(e,t)}function qU(e,t){return t&&(UU(t)==="object"||typeof t=="function")?t:jU(e)}function Xy(e,t){return Xy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xy(e,t)}function UU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function c$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(c$=function(){return!!e})()}var WU=function(e){HU(t,e);function t(n){VU(this,t);var o;return o=NU(this,t,[n]),l$(o,"props",void 0),o.props=new Bu(n==null?void 0:n.props),o}return zU(t,null,[{key:"controlType",get:function(){return"amount"}}]),t}(x);l$(WU,"controlFieldType",O.MONEY);function KU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qy(e,t,n){return t=Fu(t),GU(e,a$()?Reflect.construct(t,n||[],Fu(e).constructor):t.apply(e,n))}function Jy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fu(e){return Fu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fu(e)}function Zy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yy(e,t)}function GU(e,t){return t&&(XU(t)==="object"||typeof t=="function")?t:KU(e)}function Yy(e,t){return Yy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yy(e,t)}function XU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function a$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(a$=function(){return!!e})()}var QU=function(e){Zy(t,e);function t(n){Jy(this,t);var o;return o=Qy(this,t,[n]),ne(o,"totalScore",[{type:"number",required:!0,message:f("CMD.pleaseEnterTotalScoreSetting",null,"\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E")},{type:"number",min:1,message:f("CMD.theTotalScoreMustNotBeLessThan1",null,"\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1")}]),ne(o,"defaultValue",{type:"number",min:0,max:5,message:f("CMD.scoreDefaultValueRange",null,"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")}),o.defaultValue.max=n.totalScore,o.defaultValue.message=f("CMD.scoreDefaultValueRange",{max:n.totalScore,min:0},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4"),o}return t}(tt),JU=function(e){Zy(t,e);function t(n){Jy(this,t);var o;o=Qy(this,t,[n]),o[0]!==void 0&&(o[0].type="number");var r=n.required?1:0;return o.push({type:"number",min:r,max:n.totalScore,message:f("CMD.scoreDefaultValueRange",{max:n.totalScore,min:r},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")}),o}return t}(j),xu=function(e){Zy(t,e);function t(n){Jy(this,t);var o,r;o=Qy(this,t,[n]),ne(o,"totalScore",void 0),ne(o,"scoreType",void 0),ne(o,"isShowExplain",void 0),ne(o,"explain",void 0),ne(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:C7.STAR;var l;o.isShowExplain=(l=n==null?void 0:n.isShowExplain)!==null&&l!==void 0?l:!0;var a;o.explain=(a=n==null||(r=n.explain)===null||r===void 0?void 0:r.map(function(y){return new P_(y)}))!==null&&a!==void 0?a:Array(o.totalScore).fill(void 0).map(function(){return new P_});var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:0;var _;return o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:Lu.controlName,o}return t}(k);ne(xu,"Rules",QU),ne(xu,"RuntimeRules",JU);function tp(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function ZU(e){if(Array.isArray(e))return tp(e)}function YU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tW(e,t,n){return t=Je(t),uW(e,_$()?Reflect.construct(t,n||[],Je(e).constructor):t.apply(e,n))}function eW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function nW(e,t,n){return t&&f$(e.prototype,t),n&&f$(e,n),e}function Mu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cu(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Cu=Reflect.get:Cu=function(r,i,u){var l=lW(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},Cu(e,t,n||e)}function Je(e){return Je=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Je(e)}function oW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ep(e,t)}function rW(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function iW(){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 uW(e,t){return t&&(aW(t)==="object"||typeof t=="function")?t:YU(e)}function ep(e,t){return ep=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ep(e,t)}function lW(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Je(e),e!==null););return e}function cW(e){return ZU(e)||rW(e)||fW(e)||iW()}function aW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fW(e,t){if(!!e){if(typeof e=="string")return tp(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return tp(e,t)}}function _$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_$=function(){return!!e})()}var Lu=function(e){oW(t,e);function t(n){eW(this,t);var o;return o=tW(this,t,[n]),Mu(o,"props",void 0),o.props=new xu(n==null?void 0:n.props),o}return nW(t,[{key:"postUpdate",value:function(o,r){if(o==="totalScore"){if(r===this.props.explain.length)return;if(this.props.explain.length>r)this.props.explain=this.props.explain.slice(0,r);else{var i,u=r-this.props.explain.length,l=Array(u).fill(void 0).map(function(){return new P_});(i=this.props.explain).push.apply(i,cW(l))}}Cu(Je(t.prototype),"postUpdate",this).call(this,o,r)}}],[{key:"controlName",get:function(){return f("CMD.score",null,"\u8BC4\u5206")}},{key:"controlIcon",get:function(){return"iconpingfen"}},{key:"controlType",get:function(){return"score"}}]),t}(F);Mu(Lu,"controlEventKeys",["on_change","on_click"]),Mu(Lu,"controlFieldType",O.DECIMAL),Mu(Lu,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function _W(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sW(e,t,n){return t=ju(t),vW(e,p$()?Reflect.construct(t,n||[],ju(e).constructor):t.apply(e,n))}function yW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function pW(e,t,n){return t&&s$(e.prototype,t),n&&s$(e,n),e}function y$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ju(e){return ju=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ju(e)}function dW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&np(e,t)}function vW(e,t){return t&&(hW(t)==="object"||typeof t=="function")?t:_W(e)}function np(e,t){return np=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},np(e,t)}function hW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function p$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(p$=function(){return!!e})()}var bW=function(e){dW(t,e);function t(n){yW(this,t);var o;return o=sW(this,t,[n]),y$(o,"props",void 0),o.props=new xu(n==null?void 0:n.props),o}return pW(t,null,[{key:"controlType",get:function(){return"score"}}]),t}(x);y$(bW,"controlFieldType",O.DECIMAL);function mW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d$(e,t,n){return t=Vu(t),gW(e,b$()?Reflect.construct(t,n||[],Vu(e).constructor):t.apply(e,n))}function v$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vu(e){return Vu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vu(e)}function h$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&op(e,t)}function gW(e,t){return t&&(OW(t)==="object"||typeof t=="function")?t:mW(e)}function op(e,t){return op=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},op(e,t)}function OW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function b$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(b$=function(){return!!e})()}var wW=function(e){h$(t,e);function t(n){v$(this,t);var o;if(o=d$(this,t,[n]),o[0]!==void 0&&(o[0].type="object"),n.required&&!n.isHide){var r={type:"object",fields:{province:{type:"string",required:n.required,message:f("CMD.pleaseSelectProvince",null,"\u8BF7\u9009\u62E9\u7701")}}};n.addressType.includes("city")&&(r.fields.city={type:"string",required:n.required,message:f("CMD.pleaseSelectCity",null,"\u8BF7\u9009\u62E9\u5E02")}),n.addressType.includes("district")&&(r.fields.district={type:"string",required:n.required,message:f("CMD.pleaseSelectDistrict",null,"\u8BF7\u9009\u62E9\u533A")}),o.push(r)}return o}return t}(j),rp=function(e){h$(t,e);function t(n){v$(this,t);var o;o=d$(this,t,[n]),Nu(o,"defaultValueType",void 0),Nu(o,"defaultValue",void 0),Nu(o,"addressType",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:lp.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 l;o.defaultValue=new Hx((l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:{});var a;return o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:f("CMD.pleaseChooseAddress",null,"\u8BF7\u9009\u62E9\u5730\u5740"),o}return t}(k);Nu(rp,"RuntimeRules",wW);function $W(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PW(e,t,n){return t=zu(t),RW(e,g$()?Reflect.construct(t,n||[],zu(e).constructor):t.apply(e,n))}function EW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function SW(e,t,n){return t&&m$(e.prototype,t),n&&m$(e,n),e}function ip(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zu(e){return zu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zu(e)}function TW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&up(e,t)}function RW(e,t){return t&&(BW(t)==="object"||typeof t=="function")?t:$W(e)}function up(e,t){return up=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},up(e,t)}function BW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function g$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(g$=function(){return!!e})()}var lp=function(e){TW(t,e);function t(n){EW(this,t);var o;return o=PW(this,t,[n]),ip(o,"props",void 0),o.props=new rp(n==null?void 0:n.props),o}return SW(t,null,[{key:"controlName",get:function(){return f("CMD.address",null,"\u5730\u5740")}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),t}(F);ip(lp,"controlFieldType",O.ADDRESS),ip(lp,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function DW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AW(e,t,n){return t=Hu(t),xW(e,$$()?Reflect.construct(t,n||[],Hu(e).constructor):t.apply(e,n))}function IW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function O$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function kW(e,t,n){return t&&O$(e.prototype,t),n&&O$(e,n),e}function w$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hu(e){return Hu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hu(e)}function FW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cp(e,t)}function xW(e,t){return t&&(MW(t)==="object"||typeof t=="function")?t:DW(e)}function cp(e,t){return cp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cp(e,t)}function MW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return($$=function(){return!!e})()}var CW=function(e){FW(t,e);function t(n){IW(this,t);var o;return o=AW(this,t,[n]),w$(o,"props",void 0),o.props=new rp(n==null?void 0:n.props),o}return kW(t,null,[{key:"controlName",get:function(){return f("CMD.e2df1751969091034")}},{key:"controlIcon",get:function(){return"iconicon_site_management11"}},{key:"controlType",get:function(){return"address"}}]),t}(x);w$(CW,"controlFieldType",O.ADDRESS);function LW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P$(e,t,n){return t=qu(t),jW(e,T$()?Reflect.construct(t,n||[],qu(e).constructor):t.apply(e,n))}function E$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qu(e){return qu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qu(e)}function S$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ap(e,t)}function jW(e,t){return t&&(NW(t)==="object"||typeof t=="function")?t:LW(e)}function ap(e,t){return ap=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ap(e,t)}function NW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function T$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(T$=function(){return!!e})()}var VW=function(e){S$(t,e);function t(n){E$(this,t);var o;return o=P$(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(j),fp=function(e){S$(t,e);function t(n){E$(this,t);var o;o=P$(this,t,[n]),Mt(o,"showType",void 0),Mt(o,"range",void 0),Mt(o,"defaultValueType",void 0),Mt(o,"multiple",void 0),Mt(o,"rangeOptions",void 0),Mt(o,"defaultValue",void 0),Mt(o,"displayLevel",void 0),Mt(o,"showSubDept",void 0),Mt(o,"multistageFilling",void 0),Mt(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 l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var y;o.showSubDept=(y=n==null?void 0:n.showSubDept)!==null&&y!==void 0?y:!0;var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:Ku.controlName;var m;o.placeholder=(m=n==null?void 0:n.placeholder)!==null&&m!==void 0?m:f("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8");var g;return o.openMultistageFilling=(g=n==null?void 0:n.openMultistageFilling)!==null&&g!==void 0?g:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(b){var $;($=o.multistageFilling)===null||$===void 0||$.push(new pt(b))})),o}return t}(k);Mt(fp,"RuntimeRules",VW);function zW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HW(e,t,n){return t=Ze(t),KW(e,B$()?Reflect.construct(t,n||[],Ze(e).constructor):t.apply(e,n))}function qW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function UW(e,t,n){return t&&R$(e.prototype,t),n&&R$(e,n),e}function Uu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wu(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Wu=Reflect.get:Wu=function(r,i,u){var l=GW(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},Wu(e,t,n||e)}function Ze(e){return Ze=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ze(e)}function WW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_p(e,t)}function KW(e,t){return t&&(XW(t)==="object"||typeof t=="function")?t:zW(e)}function _p(e,t){return _p=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_p(e,t)}function GW(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ze(e),e!==null););return e}function XW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function B$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(B$=function(){return!!e})()}var Ku=function(e){WW(t,e);function t(n){qW(this,t);var o;return o=HW(this,t,[n]),Uu(o,"props",void 0),o.props=new fp(n==null?void 0:n.props),o}return UW(t,[{key:"toDataBindModel",value:function(o){var r=Wu(Ze(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.displayLevel,l=i.showSubDept;r.props.displayLevel=u,r.props.showSubDept=l}return r}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),t}(F);Uu(Ku,"controlName",f("CMD.department",null,"\u90E8\u95E8")),Uu(Ku,"controlFieldType",O.DEPARTMENTS),Uu(Ku,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function QW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JW(e,t,n){return t=Gu(t),eK(e,I$()?Reflect.construct(t,n||[],Gu(e).constructor):t.apply(e,n))}function ZW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function D$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function YW(e,t,n){return t&&D$(e.prototype,t),n&&D$(e,n),e}function A$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gu(e){return Gu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gu(e)}function tK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sp(e,t)}function eK(e,t){return t&&(nK(t)==="object"||typeof t=="function")?t:QW(e)}function sp(e,t){return sp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sp(e,t)}function nK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function I$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(I$=function(){return!!e})()}var oK=function(e){tK(t,e);function t(n){ZW(this,t);var o;return o=JW(this,t,[n]),A$(o,"props",void 0),o.props=new fp(n==null?void 0:n.props),o}return YW(t,null,[{key:"controlType",get:function(){return"department"}}]),t}(x);A$(oK,"controlFieldType",O.DEPARTMENTS);function rK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iK(e,t,n){return t=Xu(t),aK(e,k$()?Reflect.construct(t,n||[],Xu(e).constructor):t.apply(e,n))}function uK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lK(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xu(e){return Xu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xu(e)}function cK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yp(e,t)}function aK(e,t){return t&&(fK(t)==="object"||typeof t=="function")?t:rK(e)}function yp(e,t){return yp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yp(e,t)}function fK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function k$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(k$=function(){return!!e})()}var F$=function(e){cK(t,e);function t(n){uK(this,t);var o;o=iK(this,t,[n]),lK(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:Zu.controlName;var u;return o.placeholder=(u=n==null?void 0:n.placeholder)!==null&&u!==void 0?u:f("CMD.pleaseEnterAutonumber",null,"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"),o}return t}(k);function _K(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sK(e,t,n){return t=Ju(t),vK(e,M$()?Reflect.construct(t,n||[],Ju(e).constructor):t.apply(e,n))}function yK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function pK(e,t,n){return t&&x$(e.prototype,t),n&&x$(e,n),e}function Qu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ju(e){return Ju=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ju(e)}function dK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pp(e,t)}function vK(e,t){return t&&(hK(t)==="object"||typeof t=="function")?t:_K(e)}function pp(e,t){return pp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},pp(e,t)}function hK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function M$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(M$=function(){return!!e})()}var Zu=function(e){dK(t,e);function t(n){yK(this,t);var o;return o=sK(this,t,[n]),Qu(o,"props",void 0),o.props=new F$(n==null?void 0:n.props),o}return pK(t,null,[{key:"controlName",get:function(){return f("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7")}},{key:"controlIcon",get:function(){return"iconnumber_new"}},{key:"controlType",get:function(){return"auto-number"}}]),t}(F);Qu(Zu,"controlEventKeys",["on_change"]),Qu(Zu,"controlFieldType",O.AUTO_NUMBER),Qu(Zu,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function bK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mK(e,t,n){return t=Yu(t),$K(e,j$()?Reflect.construct(t,n||[],Yu(e).constructor):t.apply(e,n))}function gK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function OK(e,t,n){return t&&C$(e.prototype,t),n&&C$(e,n),e}function L$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yu(e){return Yu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yu(e)}function wK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dp(e,t)}function $K(e,t){return t&&(PK(t)==="object"||typeof t=="function")?t:bK(e)}function dp(e,t){return dp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dp(e,t)}function PK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function j$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(j$=function(){return!!e})()}var EK=function(e){wK(t,e);function t(n){gK(this,t);var o;return o=mK(this,t,[n]),L$(o,"props",void 0),o.props=new F$(n==null?void 0:n.props),o}return OK(t,null,[{key:"controlType",get:function(){return"auto-number"}}]),t}(x);L$(EK,"controlFieldType",O.AUTO_NUMBER);function SK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vp(e,t,n){return t=tl(t),TK(e,N$()?Reflect.construct(t,n||[],tl(e).constructor):t.apply(e,n))}function hp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ct(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tl(e){return tl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tl(e)}function bp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mp(e,t)}function TK(e,t){return t&&(RK(t)==="object"||typeof t=="function")?t:SK(e)}function mp(e,t){return mp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},mp(e,t)}function RK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function N$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(N$=function(){return!!e})()}var BK=function(e){bp(t,e);function t(n){hp(this,t);var o;return o=vp(this,t,[n]),o.dataBind.fields.result.required=!1,o.dataBind.fields.result.fields.fieldCode.required=!1,o.dataBind.fields.result.fields.dataCode.required=!1,o.dataBind.fields.unit.required=!1,o.dataBind.fields.unit.fields.fieldCode.required=!1,o.dataBind.fields.unit.fields.dataCode.required=!1,o}return t}(tt),DK=function(e){bp(t,e);function t(n){hp(this,t);var o;return o=vp(this,t,[n]),o[0]!==void 0&&(o[0].type="object"),o.push({type:"object",message:f("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61"),fields:{result:[{type:"number",message:f("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")}],unit:{type:"string",message:f("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")}}}),o}return t}(j),el=function(e){bp(t,e);function t(n){hp(this,t);var o;o=vp(this,t,[n]),Ct(o,"precision",void 0),Ct(o,"micrometer",void 0),Ct(o,"showUpperCase",void 0),Ct(o,"scriptSrc",void 0),Ct(o,"scriptEcho",void 0),Ct(o,"dataBind",void 0),Ct(o,"defaultValue",void 0),Ct(o,"unitPosition",void 0),Ct(o,"calcOnMounted",void 0);var r;o.precision=(r=n==null?void 0:n.precision)!==null&&r!==void 0?r:0;var i;o.micrometer=(i=n==null?void 0:n.micrometer)!==null&&i!==void 0?i:!1;var u;o.showUpperCase=(u=n==null?void 0:n.showUpperCase)!==null&&u!==void 0?u:!1,o.dataBind=new qx(n==null?void 0:n.dataBind),o.defaultValue=new Ux(n==null?void 0:n.defaultValue);var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:rl.controlName;var a;o.unitPosition=(a=n==null?void 0:n.unitPosition)!==null&&a!==void 0?a:"right";var c;o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:f("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165");var _;o.scriptEcho=(_=n==null?void 0:n.scriptEcho)!==null&&_!==void 0?_:[];var y;o.scriptSrc=(y=n==null?void 0:n.scriptSrc)!==null&&y!==void 0?y:"";var d;return o.calcOnMounted=(d=n==null?void 0:n.calcOnMounted)!==null&&d!==void 0?d:!1,o}return t}(k);Ct(el,"Rules",BK),Ct(el,"RuntimeRules",DK);function AK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IK(e,t,n){return t=Ye(t),MK(e,z$()?Reflect.construct(t,n||[],Ye(e).constructor):t.apply(e,n))}function kK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function V$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function FK(e,t,n){return t&&V$(e.prototype,t),n&&V$(e,n),e}function nl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ol(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?ol=Reflect.get:ol=function(r,i,u){var l=CK(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},ol(e,t,n||e)}function Ye(e){return Ye=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ye(e)}function xK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gp(e,t)}function MK(e,t){return t&&(LK(t)==="object"||typeof t=="function")?t:AK(e)}function gp(e,t){return gp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gp(e,t)}function CK(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ye(e),e!==null););return e}function LK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function z$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(z$=function(){return!!e})()}var rl=function(e){xK(t,e);function t(n){kK(this,t);var o;return o=IK(this,t,[n]),nl(o,"props",void 0),o.props=new el(n==null?void 0:n.props),o}return FK(t,[{key:"toDataBindModel",value:function(o){var r=ol(Ye(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.precision,l=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=l}return r}}],[{key:"controlName",get:function(){return f("CMD.calc",null,"\u8BA1\u7B97\u516C\u5F0F")}},{key:"controlType",get:function(){return"calc"}},{key:"controlIcon",get:function(){return"iconcalculation_new"}}]),t}(F);nl(rl,"controlEventKeys",["on_change"]),nl(rl,"controlFieldType",O.CALC),nl(rl,"setting",[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"calc-on-mounted",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"unit-position",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function jK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NK(e,t,n){return t=il(t),qK(e,U$()?Reflect.construct(t,n||[],il(e).constructor):t.apply(e,n))}function VK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function H$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function zK(e,t,n){return t&&H$(e.prototype,t),n&&H$(e,n),e}function q$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function il(e){return il=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},il(e)}function HK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Op(e,t)}function qK(e,t){return t&&(UK(t)==="object"||typeof t=="function")?t:jK(e)}function Op(e,t){return Op=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Op(e,t)}function UK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function U$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(U$=function(){return!!e})()}var WK=function(e){HK(t,e);function t(n){VK(this,t);var o;return o=NK(this,t,[n]),q$(o,"props",void 0),o.props=new el(n==null?void 0:n.props),o}return zK(t,null,[{key:"controlType",get:function(){return"calc"}}]),t}(x);q$(WK,"controlFieldType",O.CALC);function KK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W$(e,t,n){return t=ul(t),GK(e,X$()?Reflect.construct(t,n||[],ul(e).constructor):t.apply(e,n))}function K$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ul(e){return ul=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ul(e)}function G$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wp(e,t)}function GK(e,t){return t&&(XK(t)==="object"||typeof t=="function")?t:KK(e)}function wp(e,t){return wp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wp(e,t)}function XK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function X$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(X$=function(){return!!e})()}var QK=function(e){G$(t,e);function t(n){K$(this,t);var o;return o=W$(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o.push({validator:function(i,u){if(n.required){var l=u.every(function(a){return!a});return l?Promise.reject(f("CMD.runtimeRequired",{caption:n.caption},"{caption}\u5FC5\u586B")):Promise.resolve()}else return Promise.resolve()}}),o}return t}(j),$p=function(e){G$(t,e);function t(n){K$(this,t);var o;o=W$(this,t,[n]),tn(o,"rangeMin",void 0),tn(o,"rangeMax",void 0),tn(o,"placeholderStart",void 0),tn(o,"placeholderEnd",void 0),tn(o,"defaultValue",void 0);var r;o.defaultValue=(r=n==null?void 0:n.defaultValue)!==null&&r!==void 0?r:["",""];var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var u;o.rangeMax=(u=n==null?void 0:n.rangeMax)!==null&&u!==void 0?u:"";var l;o.placeholderStart=(l=n==null?void 0:n.placeholderStart)!==null&&l!==void 0?l:f("CMD.min",null,"\u6700\u5C0F\u503C");var a;o.placeholderEnd=(a=n==null?void 0:n.placeholderEnd)!==null&&a!==void 0?a:f("CMD.max",null,"\u6700\u5927\u503C");var c;return o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Sp.controlName,o}return t}(k);tn($p,"RuntimeRules",QK);function JK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZK(e,t,n){return t=ll(t),nG(e,J$()?Reflect.construct(t,n||[],ll(e).constructor):t.apply(e,n))}function YK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Q$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function tG(e,t,n){return t&&Q$(e.prototype,t),n&&Q$(e,n),e}function Pp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ll(e){return ll=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ll(e)}function eG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ep(e,t)}function nG(e,t){return t&&(oG(t)==="object"||typeof t=="function")?t:JK(e)}function Ep(e,t){return Ep=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ep(e,t)}function oG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function J$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(J$=function(){return!!e})()}var Sp=function(e){eG(t,e);function t(n){YK(this,t);var o;return o=ZK(this,t,[n]),Pp(o,"props",void 0),o.props=new $p(n==null?void 0:n.props),o}return tG(t,null,[{key:"controlName",get:function(){return f("CMD.searchNumberRange",null,"\u6570\u5B57\u533A\u95F4")}},{key:"controlIcon",get:function(){return"iconshuziqujian"}},{key:"controlType",get:function(){return"search-number-range"}}]),t}(F);Pp(Sp,"controlFieldType",O.DECIMAL_RANGE),Pp(Sp,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function rG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iG(e,t,n){return t=cl(t),aG(e,tP()?Reflect.construct(t,n||[],cl(e).constructor):t.apply(e,n))}function uG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Z$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function lG(e,t,n){return t&&Z$(e.prototype,t),n&&Z$(e,n),e}function Y$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cl(e){return cl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cl(e)}function cG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tp(e,t)}function aG(e,t){return t&&(fG(t)==="object"||typeof t=="function")?t:rG(e)}function Tp(e,t){return Tp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Tp(e,t)}function fG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tP=function(){return!!e})()}var _G=function(e){cG(t,e);function t(n){uG(this,t);var o;return o=iG(this,t,[n]),Y$(o,"props",void 0),o.props=new $p(n==null?void 0:n.props),o}return lG(t,null,[{key:"controlType",get:function(){return"search-number-range"}}]),t}(x);Y$(_G,"controlFieldType",O.DECIMAL_RANGE);function sG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eP(e,t,n){return t=al(t),yG(e,rP()?Reflect.construct(t,n||[],al(e).constructor):t.apply(e,n))}function nP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function al(e){return al=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},al(e)}function oP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rp(e,t)}function yG(e,t){return t&&(pG(t)==="object"||typeof t=="function")?t:sG(e)}function Rp(e,t){return Rp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rp(e,t)}function pG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(rP=function(){return!!e})()}var dG=function(e){oP(t,e);function t(n){nP(this,t);var o;return o=eP(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),n.required&&!n.isHide&&o.push({type:"array",fields:{0:{type:"string",required:n.required,message:o[0].message},1:{type:"string",required:n.required,message:o[0].message}}}),o}return t}(j),Bp=function(e){oP(t,e);function t(n){nP(this,t);var o,r;o=eP(this,t,[n]),Lt(o,"rangeMin",void 0),Lt(o,"rangeMax",void 0),Lt(o,"placeholderStart",void 0),Lt(o,"placeholderEnd",void 0),Lt(o,"dateType",void 0),Lt(o,"dateFormat",void 0),Lt(o,"commonTimeSetting",void 0),Lt(o,"setValueType",void 0),Lt(o,"defaultValue",void 0),Lt(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:Me.DATE;var l;o.dateFormat=(l=n==null?void 0:n.dateFormat)!==null&&l!==void 0?l:"";var a;o.commonTimeSetting=(a=n==null?void 0:n.commonTimeSetting)!==null&&a!==void 0?a:[];var c;o.setValueType=(c=n==null?void 0:n.setValueType)!==null&&c!==void 0?c:"custom";var _;o.rangeMin=(_=n==null?void 0:n.rangeMin)!==null&&_!==void 0?_:"";var y;o.rangeMax=(y=n==null?void 0:n.rangeMax)!==null&&y!==void 0?y:"";var d;o.placeholderStart=(d=n==null?void 0:n.placeholderStart)!==null&&d!==void 0?d:f("CMD.startDate",null,"\u5F00\u59CB\u65E5\u671F");var m;o.placeholderEnd=(m=n==null?void 0:n.placeholderEnd)!==null&&m!==void 0?m:f("CMD.endDate",null,"\u7ED3\u675F\u65E5\u671F");var g;o.caption=(g=n==null?void 0:n.caption)!==null&&g!==void 0?g:Ip.controlName;var b;return o.limitDateList=(b=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function($){return new $_($)}))!==null&&b!==void 0?b:[],o}return t}(k);Lt(Bp,"RuntimeRules",dG);function vG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hG(e,t,n){return t=fl(t),OG(e,uP()?Reflect.construct(t,n||[],fl(e).constructor):t.apply(e,n))}function bG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function mG(e,t,n){return t&&iP(e.prototype,t),n&&iP(e,n),e}function Dp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fl(e){return fl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fl(e)}function gG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ap(e,t)}function OG(e,t){return t&&(wG(t)==="object"||typeof t=="function")?t:vG(e)}function Ap(e,t){return Ap=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ap(e,t)}function wG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(uP=function(){return!!e})()}var Ip=function(e){gG(t,e);function t(n){bG(this,t);var o;return o=hG(this,t,[n]),Dp(o,"props",void 0),o.props=new Bp(n==null?void 0:n.props),o}return mG(t,null,[{key:"controlName",get:function(){return f("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"search-date-range"}}]),t}(F);Dp(Ip,"controlFieldType",O.ARRAY),Dp(Ip,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function $G(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PG(e,t,n){return t=_l(t),RG(e,aP()?Reflect.construct(t,n||[],_l(e).constructor):t.apply(e,n))}function EG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function SG(e,t,n){return t&&lP(e.prototype,t),n&&lP(e,n),e}function cP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _l(e){return _l=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_l(e)}function TG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kp(e,t)}function RG(e,t){return t&&(BG(t)==="object"||typeof t=="function")?t:$G(e)}function kp(e,t){return kp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kp(e,t)}function BG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(aP=function(){return!!e})()}var DG=function(e){TG(t,e);function t(n){EG(this,t);var o;return o=PG(this,t,[n]),cP(o,"props",void 0),o.props=new Bp(n==null?void 0:n.props),o}return SG(t,null,[{key:"controlType",get:function(){return"search-date-range"}}]),t}(x);cP(DG,"controlFieldType",O.ARRAY);function AG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fp(e,t,n){return t=sl(t),IG(e,fP()?Reflect.construct(t,n||[],sl(e).constructor):t.apply(e,n))}function xp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function en(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sl(e){return sl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sl(e)}function Mp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cp(e,t)}function IG(e,t){return t&&(kG(t)==="object"||typeof t=="function")?t:AG(e)}function Cp(e,t){return Cp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cp(e,t)}function kG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(fP=function(){return!!e})()}var FG=function(e){Mp(t,e);function t(n){xp(this,t);var o;return o=Fp(this,t,[n]),o.dataBind={type:"any"},o}return t}(tt),xG=function(e){Mp(t,e);function t(n){xp(this,t);var o;return o=Fp(this,t,[n]),o[0]!==void 0&&(o[0].type="any"),o}return t}(j),yl=function(e){Mp(t,e);function t(n){xp(this,t);var o;o=Fp(this,t,[n]),en(o,"controlExportName",void 0),en(o,"permissions",void 0),en(o,"defaultValue",void 0),en(o,"isInlineEdit",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:go.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 l;o.permissions=(l=n==null?void 0:n.permissions)!==null&&l!==void 0?l:[];var a;return o.isInlineEdit=(a=n==null?void 0:n.isInlineEdit)!==null&&a!==void 0?a:!1,o}return t}(k);en(yl,"Rules",FG),en(yl,"RuntimeRules",xG);function MG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CG(e,t,n){return t=pl(t),VG(e,sP()?Reflect.construct(t,n||[],pl(e).constructor):t.apply(e,n))}function LG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _P(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function jG(e,t,n){return t&&_P(e.prototype,t),n&&_P(e,n),e}function mo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pl(e){return pl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pl(e)}function NG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lp(e,t)}function VG(e,t){return t&&(zG(t)==="object"||typeof t=="function")?t:MG(e)}function Lp(e,t){return Lp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Lp(e,t)}function zG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(sP=function(){return!!e})()}var go=function(e){NG(t,e);function t(n){LG(this,t);var o;return o=CG(this,t,[n]),mo(o,"props",void 0),o.props=new yl(n==null?void 0:n.props),o}return jG(t,null,[{key:"controlName",get:function(){return f("CMD.vueFormItem",null,"Vue\u5BB9\u5668")}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return"vue-form-item"}}]),t}(F);mo(go,"controlFieldType",O.ANY),mo(go,"controlEventKeys",[]),mo(go,"slots",["grid-table-toolbar-slot",S0.DEFAULT]),mo(go,"setting",[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_HIDE_CAPTION,s.REQUIRED,s.IS_SHOW_CAPTION_TIP,s.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}]);function HG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qG(e,t,n){return t=dl(t),GG(e,dP()?Reflect.construct(t,n||[],dl(e).constructor):t.apply(e,n))}function UG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function WG(e,t,n){return t&&yP(e.prototype,t),n&&yP(e,n),e}function pP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dl(e){return dl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dl(e)}function KG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jp(e,t)}function GG(e,t){return t&&(XG(t)==="object"||typeof t=="function")?t:HG(e)}function jp(e,t){return jp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jp(e,t)}function XG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(dP=function(){return!!e})()}var QG=function(e){KG(t,e);function t(n){UG(this,t);var o;return o=qG(this,t,[n]),pP(o,"props",void 0),o.props=new yl(n==null?void 0:n.props),o}return WG(t,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),t}(x);pP(QG,"controlFieldType",O.ANY);function JG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vP(e,t,n){return t=vl(t),ZG(e,mP()?Reflect.construct(t,n||[],vl(e).constructor):t.apply(e,n))}function hP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vl(e){return vl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vl(e)}function bP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Np(e,t)}function ZG(e,t){return t&&(YG(t)==="object"||typeof t=="function")?t:JG(e)}function Np(e,t){return Np=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Np(e,t)}function YG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(mP=function(){return!!e})()}var tX=function(e){bP(t,e);function t(n){hP(this,t);var o;return o=vP(this,t,[n]),J(o,"listPageBind",[{type:"object",message:f("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:f("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:f("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}]}}]),J(o,"formBind",{type:"object",fields:{formKey:{type:"string",message:f("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return t}(Ne),Vp=function(e){bP(t,e);function t(n){hP(this,t);var o;o=vP(this,t,[n]),J(o,"options",void 0),J(o,"optionConfig",void 0),J(o,"defaultValue",void 0),J(o,"listPageBind",void 0),J(o,"datasourceBind",void 0),J(o,"multistageFilling",void 0),J(o,"viewFormModelType",void 0),J(o,"canViewForm",void 0),J(o,"formBind",void 0),J(o,"openMultistageFilling",void 0),J(o,"showSelectedDetail",void 0),J(o,"selectedContentConfig",void 0),J(o,"optionDisplayConfig",void 0),J(o,"canSearch",void 0),J(o,"aiContentSearch",void 0);var r;o.options=Qt((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[]);var i;o.optionConfig=(i=n==null?void 0:n.optionConfig)!==null&&i!==void 0?i:"datasource",o.listPageBind=new $f(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:ml.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:f("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9");var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:"";var c;o.openMultistageFilling=(c=n==null?void 0:n.openMultistageFilling)!==null&&c!==void 0?c:!1;var _;o.showSelectedDetail=(_=n==null?void 0:n.showSelectedDetail)!==null&&_!==void 0?_:!1,o.selectedContentConfig=new Tf(n==null?void 0:n.selectedContentConfig),o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function($){var v;(v=o.multistageFilling)===null||v===void 0||v.push(new pt($))}));var y;o.canViewForm=(y=n==null?void 0:n.canViewForm)!==null&&y!==void 0?y:!1;var d;o.viewFormModelType=(d=n==null?void 0:n.viewFormModelType)!==null&&d!==void 0?d:"window",o.formBind=new Le(n==null?void 0:n.formBind);var m;o.optionDisplayConfig=(m=n==null?void 0:n.optionDisplayConfig)!==null&&m!==void 0?m:[];var g;o.canSearch=(g=n==null?void 0:n.canSearch)!==null&&g!==void 0?g:!1;var b;return o.aiContentSearch=(b=n==null?void 0:n.aiContentSearch)!==null&&b!==void 0?b:!1,o}return t}(k);J(Vp,"Rules",tX);function eX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nX(e,t,n){return t=nn(t),uX(e,OP()?Reflect.construct(t,n||[],nn(e).constructor):t.apply(e,n))}function oX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function rX(e,t,n){return t&&gP(e.prototype,t),n&&gP(e,n),e}function hl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bl(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?bl=Reflect.get:bl=function(r,i,u){var l=lX(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},bl(e,t,n||e)}function nn(e){return nn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nn(e)}function iX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zp(e,t)}function uX(e,t){return t&&(cX(t)==="object"||typeof t=="function")?t:eX(e)}function zp(e,t){return zp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zp(e,t)}function lX(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=nn(e),e!==null););return e}function cX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(OP=function(){return!!e})()}var ml=function(e){iX(t,e);function t(n){oX(this,t);var o;return o=nX(this,t,[n]),hl(o,"props",void 0),o.props=new Vp(n==null?void 0:n.props),o}return rX(t,[{key:"toDataBindModel",value:function(o){var r=bl(nn(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props.optionDisplayConfig;r.props.optionDisplayConfig=i}return r}}],[{key:"controlName",get:function(){return f("CMD.selectRelation",null,"\u5173\u8054\u5355\u9009")}},{key:"controlIcon",get:function(){return"iconguanliandanxuan"}},{key:"controlType",get:function(){return"select-relation"}}]),t}(F);hl(ml,"controlFieldType",O.VARCHAR),hl(ml,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP,s.CAN_SEARCH]},{key:"ai-content-search",visible:!0},{key:"relation-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"option-config-setting",visible:!0},{key:"super-setting",visible:!0}]),hl(ml,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);function aX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fX(e,t,n){return t=gl(t),pX(e,PP()?Reflect.construct(t,n||[],gl(e).constructor):t.apply(e,n))}function _X(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function sX(e,t,n){return t&&wP(e.prototype,t),n&&wP(e,n),e}function $P(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gl(e){return gl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gl(e)}function yX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hp(e,t)}function pX(e,t){return t&&(dX(t)==="object"||typeof t=="function")?t:aX(e)}function Hp(e,t){return Hp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hp(e,t)}function dX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(PP=function(){return!!e})()}var vX=function(e){yX(t,e);function t(n){_X(this,t);var o;return o=fX(this,t,[n]),$P(o,"props",void 0),o.props=new Vp(n==null?void 0:n.props),o}return sX(t,null,[{key:"controlType",get:function(){return"select-relation"}}]),t}(x);$P(vX,"controlFieldType",O.VARCHAR);function hX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bX(e,t,n){return t=Ol(t),OX(e,EP()?Reflect.construct(t,n||[],Ol(e).constructor):t.apply(e,n))}function mX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ol(e){return Ol=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ol(e)}function gX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qp(e,t)}function OX(e,t){return t&&(wX(t)==="object"||typeof t=="function")?t:hX(e)}function qp(e,t){return qp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qp(e,t)}function wX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function EP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(EP=function(){return!!e})()}var SP=function(e){gX(t,e);function t(n){return mX(this,t),bX(this,t,[n])}return t}(vo);function $X(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PX(e,t,n){return t=wl(t),RX(e,BP()?Reflect.construct(t,n||[],wl(e).constructor):t.apply(e,n))}function EX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function SX(e,t,n){return t&&TP(e.prototype,t),n&&TP(e,n),e}function RP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wl(e){return wl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wl(e)}function TX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Up(e,t)}function RX(e,t){return t&&(BX(t)==="object"||typeof t=="function")?t:$X(e)}function Up(e,t){return Up=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Up(e,t)}function BX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(BP=function(){return!!e})()}var DX=function(e){TX(t,e);function t(n){EX(this,t);var o;return o=PX(this,t,[n]),RP(o,"props",void 0),o.props=new SP(n==null?void 0:n.props),o}return SX(t,null,[{key:"controlName",get:function(){return f("CMD.input",null,"\u5355\u884C\u6587\u672C")}},{key:"controlType",get:function(){return"search-input"}}]),t}(ho);RP(DX,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED]},{key:"super-setting",visible:!0}]);function AX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IX(e,t,n){return t=$l(t),MX(e,IP()?Reflect.construct(t,n||[],$l(e).constructor):t.apply(e,n))}function kX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function FX(e,t,n){return t&&DP(e.prototype,t),n&&DP(e,n),e}function AP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $l(e){return $l=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$l(e)}function xX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wp(e,t)}function MX(e,t){return t&&(CX(t)==="object"||typeof t=="function")?t:AX(e)}function Wp(e,t){return Wp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wp(e,t)}function CX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(IP=function(){return!!e})()}var LX=function(e){xX(t,e);function t(n){kX(this,t);var o;return o=IX(this,t,[n]),AP(o,"props",void 0),o.props=new SP(n==null?void 0:n.props),o}return FX(t,null,[{key:"controlType",get:function(){return"search-input"}}]),t}(x);AP(LX,"controlFieldType",O.VARCHAR);function jX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kp(e,t,n){return t=Pl(t),NX(e,kP()?Reflect.construct(t,n||[],Pl(e).constructor):t.apply(e,n))}function Gp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pl(e){return Pl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pl(e)}function Xp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qp(e,t)}function NX(e,t){return t&&(VX(t)==="object"||typeof t=="function")?t:jX(e)}function Qp(e,t){return Qp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qp(e,t)}function VX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(kP=function(){return!!e})()}var zX=function(e){Xp(t,e);function t(n){Gp(this,t);var o;return o=Kp(this,t,[n]),q(o,"datasourceBind",[{type:"object",message:f("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),Ko.call(o,n,Se.controlCustomAttributes,!0),o.datasourceBind[1].fields&&(o.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:f("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:f("CMD.rootNodeIsRequired",null,"\u8BF7\u9009\u62E9\u6839\u8282\u70B9")}}}]),o}return t}(tt),HX=function(e){Xp(t,e);function t(n){Gp(this,t);var o;return o=Kp(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(j),El=function(e){Xp(t,e);function t(n){Gp(this,t);var o,r;o=Kp(this,t,[n]),q(o,"placeholder",void 0),q(o,"multiple",void 0),q(o,"canSearch",void 0),q(o,"levelType",void 0),q(o,"optionalLevel",void 0),q(o,"containsSubNode",void 0),q(o,"defaultDisplay",void 0),q(o,"isShowIncludeSub",void 0),q(o,"isDefaultCheckSub",void 0),q(o,"isShowFilterItem",void 0),q(o,"defaultCollapse",void 0),q(o,"defaultCollapseLevel",void 0),q(o,"optionConfig","datasource"),q(o,"datasourceBind",void 0),q(o,"filterItemDatasourceBind",void 0),q(o,"multistageFilling",void 0),q(o,"defaultValue",void 0),q(o,"openMultistageFilling",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Se.controlName;var u;o.placeholder=(u=n==null?void 0:n.placeholder)!==null&&u!==void 0?u:f("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9");var l;o.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1;var a;o.canSearch=(a=n==null?void 0:n.canSearch)!==null&&a!==void 0?a:!0;var c;o.levelType=(c=n==null?void 0:n.levelType)!==null&&c!==void 0?c:"all";var _;o.optionalLevel=(_=n==null?void 0:n.optionalLevel)!==null&&_!==void 0?_:1;var y;o.containsSubNode=(y=n==null?void 0:n.containsSubNode)!==null&&y!==void 0?y:!1;var d;o.isShowFilterItem=(d=n==null?void 0:n.isShowFilterItem)!==null&&d!==void 0?d:!1;var m;o.isShowIncludeSub=(m=n==null?void 0:n.isShowIncludeSub)!==null&&m!==void 0?m:!1;var g;o.isDefaultCheckSub=(g=n==null?void 0:n.isDefaultCheckSub)!==null&&g!==void 0?g:!1;var b;o.defaultCollapse=(b=n==null?void 0:n.defaultCollapse)!==null&&b!==void 0?b:"all";var $;o.defaultCollapseLevel=($=n==null?void 0:n.defaultCollapseLevel)!==null&&$!==void 0?$:1;var v;o.datasourceBind=new tb((v=n==null?void 0:n.datasourceBind)!==null&&v!==void 0?v:{attributes:Se.controlCustomAttributes});var w;o.filterItemDatasourceBind=new tb((w=n==null?void 0:n.filterItemDatasourceBind)!==null&&w!==void 0?w:{attributes:Se.controlCustomAttributes});var T;o.openMultistageFilling=(T=n==null?void 0:n.openMultistageFilling)!==null&&T!==void 0?T:!1;var E;o.defaultDisplay=(E=n==null?void 0:n.defaultDisplay)!==null&&E!==void 0?E:!1;var R;o.multistageFilling=(R=n==null||(r=n.multistageFilling)===null||r===void 0?void 0:r.map(function(A){return new pt(A)}))!==null&&R!==void 0?R:[];var z;return o.defaultValue=(z=n==null?void 0:n.defaultValue)!==null&&z!==void 0?z:[],o}return t}(k);q(El,"Rules",zX),q(El,"RuntimeRules",HX);function qX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UX(e,t,n){return t=Tl(t),XX(e,xP()?Reflect.construct(t,n||[],Tl(e).constructor):t.apply(e,n))}function WX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function KX(e,t,n){return t&&FP(e.prototype,t),n&&FP(e,n),e}function Sl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tl(e){return Tl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tl(e)}function GX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jp(e,t)}function XX(e,t){return t&&(QX(t)==="object"||typeof t=="function")?t:qX(e)}function Jp(e,t){return Jp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jp(e,t)}function QX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(xP=function(){return!!e})()}var Se=function(e){GX(t,e);function t(n){WX(this,t);var o;return o=UX(this,t,[n]),Sl(o,"props",void 0),o.props=new El(n==null?void 0:n.props),o}return KX(t,null,[{key:"controlName",get:function(){return f("CMD.tree",null,"\u6811")}},{key:"controlIcon",get:function(){return"icontree"}},{key:"controlType",get:function(){return"tree"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:f("CMD.979f1751969089484"),required:!0},{key:"parentField",name:f("CMD.30e31751969086734"),required:!0}]}}]),t}(F);Sl(Se,"controlEventKeys",["on_change","on_click"]),Sl(Se,"controlFieldType",O.ARRAY),Sl(Se,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.CAN_SEARCH,s.DEFAULT_DISPLAY,s.CONTAINS_SUB_NODE,s.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function JX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZX(e,t,n){return t=Rl(t),nQ(e,LP()?Reflect.construct(t,n||[],Rl(e).constructor):t.apply(e,n))}function YX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function tQ(e,t,n){return t&&MP(e.prototype,t),n&&MP(e,n),e}function CP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rl(e){return Rl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rl(e)}function eQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zp(e,t)}function nQ(e,t){return t&&(oQ(t)==="object"||typeof t=="function")?t:JX(e)}function Zp(e,t){return Zp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zp(e,t)}function oQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(LP=function(){return!!e})()}var rQ=function(e){eQ(t,e);function t(n){YX(this,t);var o;return o=ZX(this,t,[n]),CP(o,"props",void 0),o.props=new El(n==null?void 0:n.props),o}return tQ(t,null,[{key:"controlType",get:function(){return"tree"}}]),t}(x);CP(rQ,"controlFieldType",O.ARRAY);function iQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yp(e,t,n){return t=Bl(t),uQ(e,jP()?Reflect.construct(t,n||[],Bl(e).constructor):t.apply(e,n))}function td(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bl(e){return Bl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bl(e)}function ed(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nd(e,t)}function uQ(e,t){return t&&(lQ(t)==="object"||typeof t=="function")?t:iQ(e)}function nd(e,t){return nd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},nd(e,t)}function lQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(jP=function(){return!!e})()}var cQ=function(e){ed(t,e);function t(n){td(this,t);var o;return o=Yp(this,t,[n]),Z(o,"datasourceBind",[{type:"object",message:f("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),Z(o,"externalScope",{type:"any"}),Ko.call(o,n,on.controlCustomAttributes),n.externalType===Ue.ASSIGN&&(o.externalScope={type:"array",required:!0,message:f("CMD.pleaseAssignExternal",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7")}),o}return t}(tt),aQ=function(e){ed(t,e);function t(n){td(this,t);var o;return o=Yp(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(j),Dl=function(e){ed(t,e);function t(n){td(this,t);var o;o=Yp(this,t,[n]),Z(o,"showType",void 0),Z(o,"range",void 0),Z(o,"rangeOptions",void 0),Z(o,"multiple",void 0),Z(o,"defaultValueType",void 0),Z(o,"defaultValue",void 0),Z(o,"multistageFilling",void 0),Z(o,"datasourceBind",void 0),Z(o,"datasourceType",void 0),Z(o,"insideType",void 0),Z(o,"externalType",void 0),Z(o,"externalScope",void 0),Z(o,"openMultistageFilling",void 0),Z(o,"mainDeptFlag",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 l;o.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1;var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:[];var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:on.controlName;var y;o.placeholder=(y=n==null?void 0:n.placeholder)!==null&&y!==void 0?y:f("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1");var d;o.datasourceBind=new Ho((d=n==null?void 0:n.datasourceBind)!==null&&d!==void 0?d:{attributes:on.controlCustomAttributes});var m;o.datasourceType=(m=n==null?void 0:n.datasourceType)!==null&&m!==void 0?m:W7.INTERNAL;var g;o.insideType=(g=n==null?void 0:n.insideType)!==null&&g!==void 0?g:K7.ADMIN;var b;o.externalType=(b=n==null?void 0:n.externalType)!==null&&b!==void 0?b:Ue.ALL;var $;o.externalScope=($=n==null?void 0:n.externalScope)!==null&&$!==void 0?$:[];var v;o.openMultistageFilling=(v=n==null?void 0:n.openMultistageFilling)!==null&&v!==void 0?v:!1;var w;return o.mainDeptFlag=(w=n==null?void 0:n.mainDeptFlag)!==null&&w!==void 0?w:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(T){var E;(E=o.multistageFilling)===null||E===void 0||E.push(new pt(T))})),o}return t}(k);Z(Dl,"Rules",cQ),Z(Dl,"RuntimeRules",aQ);function fQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _Q(e,t,n){return t=Il(t),dQ(e,VP()?Reflect.construct(t,n||[],Il(e).constructor):t.apply(e,n))}function sQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function yQ(e,t,n){return t&&NP(e.prototype,t),n&&NP(e,n),e}function Al(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Il(e){return Il=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Il(e)}function pQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&od(e,t)}function dQ(e,t){return t&&(vQ(t)==="object"||typeof t=="function")?t:fQ(e)}function od(e,t){return od=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},od(e,t)}function vQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(VP=function(){return!!e})()}var on=function(e){pQ(t,e);function t(n){sQ(this,t);var o;return o=_Q(this,t,[n]),Al(o,"props",void 0),o.props=new Dl(n==null?void 0:n.props),o}return yQ(t,null,[{key:"controlName",get:function(){return f("CMD.people",null,"\u4EBA\u5458")}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:f("CMD.49d21751969089481"),required:!0}]}}]),t}(F);Al(on,"controlFieldType",O.EMPLOYEES),Al(on,"controlEventKeys",["on_change","on_focus","on_blur","on_option_selected"]),Al(on,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP,s.MAIN_DEPT_FLAG]},{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(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bQ(e,t,n){return t=kl(t),wQ(e,qP()?Reflect.construct(t,n||[],kl(e).constructor):t.apply(e,n))}function mQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function gQ(e,t,n){return t&&zP(e.prototype,t),n&&zP(e,n),e}function HP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kl(e){return kl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kl(e)}function OQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rd(e,t)}function wQ(e,t){return t&&($Q(t)==="object"||typeof t=="function")?t:hQ(e)}function rd(e,t){return rd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rd(e,t)}function $Q(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(qP=function(){return!!e})()}var PQ=function(e){OQ(t,e);function t(n){mQ(this,t);var o;return o=bQ(this,t,[n]),HP(o,"props",void 0),o.props=new Dl(n==null?void 0:n.props),o}return gQ(t,null,[{key:"controlType",get:function(){return"employee2"}}]),t}(x);HP(PQ,"controlFieldType",O.EMPLOYEES);function EQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UP(e,t,n){return t=Fl(t),SQ(e,GP()?Reflect.construct(t,n||[],Fl(e).constructor):t.apply(e,n))}function WP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fl(e){return Fl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fl(e)}function KP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&id(e,t)}function SQ(e,t){return t&&(TQ(t)==="object"||typeof t=="function")?t:EQ(e)}function id(e,t){return id=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},id(e,t)}function TQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(GP=function(){return!!e})()}var RQ=function(e){KP(t,e);function t(n){WP(this,t);var o;return o=UP(this,t,[n]),qt(o,"signatureConfig",void 0),o.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:f("CMD.pleaseSelectSignFile",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6")},undersignedList:{type:"array",required:!0,min:1,message:f("CMD.pleaseSelectOnlyOne",null,"\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:f("CMD.pleaseSelectSigner",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA")}}},signatureType:{type:"array",required:!0,min:1,message:f("CMD.pleaseSelectSignType",null,"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B")},telephone:{type:"object",required:!0,validator:function(a,c,_){if(i.type==="public"&&jo(c.value)&&c.value.length===0){_(f("CMD.pleaseSelectPhoneOrEmail",null,"\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1"));return}_()}},indexSignature:{type:"object",required:!0,validator:function(a,c,_){if((i==null?void 0:i.signaturePosition)==="index"&&jo(c.value)&&c.value.length===0){_(f("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"));return}_()}},company:{type:"object",required:!0,validator:function(a,c,_){if(i.type==="public"&&i.signatureType.includes("company")&&jo(c.value)&&c.value.length===0){_(f("CMD.pleaseSelectCompanyName",null,"\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0"));return}_()}}}},r},{})}}},o}return t}(tt),ud=function(e){KP(t,e);function t(n){WP(this,t);var o;o=UP(this,t,[n]),qt(o,"buttonType",void 0),qt(o,"content",void 0),qt(o,"showType",void 0),qt(o,"color",void 0),qt(o,"icon",void 0),qt(o,"command",""),qt(o,"isLoading",!1),qt(o,"signatureConfig",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Cl.controlName;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:f("CMD.signature",null,"\u53D1\u8D77\u7B7E\u7F72");var u;o.buttonType=(u=n==null?void 0:n.buttonType)!==null&&u!==void 0?u:"primary";var l;o.showType=(l=n==null?void 0:n.showType)!==null&&l!==void 0?l:"text";var a;o.color=(a=n==null?void 0:n.color)!==null&&a!==void 0?a:"primary";var c;return o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:"iconfenlei2",o.signatureConfig=new j7(n==null?void 0:n.signatureConfig),o}return t}(k);qt(ud,"Rules",RQ);function BQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DQ(e,t,n){return t=Ml(t),FQ(e,QP()?Reflect.construct(t,n||[],Ml(e).constructor):t.apply(e,n))}function AQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function IQ(e,t,n){return t&&XP(e.prototype,t),n&&XP(e,n),e}function xl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ml(e){return Ml=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ml(e)}function kQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ld(e,t)}function FQ(e,t){return t&&(xQ(t)==="object"||typeof t=="function")?t:BQ(e)}function ld(e,t){return ld=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ld(e,t)}function xQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(QP=function(){return!!e})()}var Cl=function(e){kQ(t,e);function t(n){AQ(this,t);var o;return o=DQ(this,t,[n]),xl(o,"props",void 0),o.props=new ud(n==null?void 0:n.props),o}return IQ(t,null,[{key:"controlName",get:function(){return f("CMD.electronicSignature",null,"\u7535\u5B50\u7B7E\u7AE0")}},{key:"controlIcon",get:function(){return"icondianziqianzhang"}},{key:"controlType",get:function(){return"electronic-signature"}}]),t}(F);xl(Cl,"controlEventKeys",["on_click","on_click_finish"]),xl(Cl,"controlFieldType",O.VARCHAR),xl(Cl,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}]);function MQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CQ(e,t,n){return t=Ll(t),VQ(e,YP()?Reflect.construct(t,n||[],Ll(e).constructor):t.apply(e,n))}function LQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function jQ(e,t,n){return t&&JP(e.prototype,t),n&&JP(e,n),e}function ZP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ll(e){return Ll=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ll(e)}function NQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cd(e,t)}function VQ(e,t){return t&&(zQ(t)==="object"||typeof t=="function")?t:MQ(e)}function cd(e,t){return cd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cd(e,t)}function zQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(YP=function(){return!!e})()}var HQ=function(e){NQ(t,e);function t(n){LQ(this,t);var o;return o=CQ(this,t,[n]),ZP(o,"props",void 0),o.props=new ud(n==null?void 0:n.props),o}return jQ(t,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),t}(x);ZP(HQ,"controlFieldType",O.VARCHAR);function qQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ad(e,t,n){return t=jl(t),UQ(e,tE()?Reflect.construct(t,n||[],jl(e).constructor):t.apply(e,n))}function fd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jl(e){return jl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jl(e)}function _d(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sd(e,t)}function UQ(e,t){return t&&(WQ(t)==="object"||typeof t=="function")?t:qQ(e)}function sd(e,t){return sd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sd(e,t)}function WQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tE=function(){return!!e})()}var KQ=function(e){_d(t,e);function t(n){fd(this,t);var o;return o=ad(this,t,[n]),lt(o,"content",{type:"string",required:!0,message:f("CMD.pleaseEnterButtonContent",null,"\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898")}),lt(o,"canAdd",void 0),lt(o,"wpsSetting",{type:"object",fields:{watermark:{type:"object",validator:function(i,u,l){if(u.active&&!u.text){l(f("CMD.pleaseEnterWatermark",null,"\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A"));return}l()}},autoRename:{type:"object",validator:function(i,u,l){if(u.active&&!u.text){l(f("CMD.pleaseEnterFileName",null,"\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"));return}l()}}}}),o.canAdd={type:"boolean",validator:function(i,u,l){if(n.canAdd&&!n.addLocal&&!n.addOnline){l(f("CMD.pleaseChooseAtLeastOne",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A"));return}l()}},o}return t}(tt),GQ=function(e){_d(t,e);function t(n){fd(this,t);var o;return o=ad(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(j),Nl=function(e){_d(t,e);function t(n){fd(this,t);var o;o=ad(this,t,[n]),lt(o,"content",void 0),lt(o,"canAdd",void 0),lt(o,"addLocal",void 0),lt(o,"addOnline",void 0),lt(o,"canDownload",void 0),lt(o,"canEdit",void 0),lt(o,"canExport",void 0),lt(o,"canDelete",void 0),lt(o,"wpsSetting",void 0),lt(o,"maxSize",void 0),lt(o,"defaultValue",void 0),lt(o,"revisionsMode",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Hl.controlName;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:f("CMD.createWPS",null,"\u65B0\u5EFA\u6587\u6863");var u;o.canAdd=(u=n==null?void 0:n.canAdd)!==null&&u!==void 0?u:!0;var l;o.addLocal=(l=n==null?void 0:n.addLocal)!==null&&l!==void 0?l:!0;var a;o.addOnline=(a=n==null?void 0:n.addOnline)!==null&&a!==void 0?a:!0;var c;o.canEdit=(c=n==null?void 0:n.canEdit)!==null&&c!==void 0?c:!0;var _;o.canDownload=(_=n==null?void 0:n.canDownload)!==null&&_!==void 0?_:!0;var y;o.canExport=(y=n==null?void 0:n.canExport)!==null&&y!==void 0?y:!0;var d;o.canDelete=(d=n==null?void 0:n.canDelete)!==null&&d!==void 0?d:!1;var m;o.maxSize=(m=n==null?void 0:n.maxSize)!==null&&m!==void 0?m:Qq;var g;o.defaultValue=(g=n==null?void 0:n.defaultValue)!==null&&g!==void 0?g:[],o.wpsSetting=new N7(n==null?void 0:n.wpsSetting);var b;return o.revisionsMode=(b=n==null?void 0:n.revisionsMode)!==null&&b!==void 0?b:!1,o}return t}(k);lt(Nl,"Rules",KQ),lt(Nl,"RuntimeRules",GQ);function XQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QQ(e,t,n){return t=zl(t),tJ(e,nE()?Reflect.construct(t,n||[],zl(e).constructor):t.apply(e,n))}function JQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function ZQ(e,t,n){return t&&eE(e.prototype,t),n&&eE(e,n),e}function Vl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zl(e){return zl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zl(e)}function YQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yd(e,t)}function tJ(e,t){return t&&(eJ(t)==="object"||typeof t=="function")?t:XQ(e)}function yd(e,t){return yd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yd(e,t)}function eJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(nE=function(){return!!e})()}var Hl=function(e){YQ(t,e);function t(n){JQ(this,t);var o;return o=QQ(this,t,[n]),Vl(o,"props",void 0),o.props=new Nl(n==null?void 0:n.props),o}return ZQ(t,null,[{key:"controlName",get:function(){return f("CMD.WPS",null,"\u5728\u7EBF\u6587\u6863")}},{key:"controlIcon",get:function(){return"iconwps"}},{key:"controlType",get:function(){return"wps"}}]),t}(F);Vl(Hl,"controlEventKeys",["on_change","on_wps_open"]),Vl(Hl,"controlFieldType",O.FILE),Vl(Hl,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP,s.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}]);function nJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oJ(e,t,n){return t=ql(t),lJ(e,iE()?Reflect.construct(t,n||[],ql(e).constructor):t.apply(e,n))}function rJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function iJ(e,t,n){return t&&oE(e.prototype,t),n&&oE(e,n),e}function rE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ql(e){return ql=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ql(e)}function uJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pd(e,t)}function lJ(e,t){return t&&(cJ(t)==="object"||typeof t=="function")?t:nJ(e)}function pd(e,t){return pd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},pd(e,t)}function cJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(iE=function(){return!!e})()}var aJ=function(e){uJ(t,e);function t(n){rJ(this,t);var o;return o=oJ(this,t,[n]),rE(o,"props",void 0),o.props=new Nl(n==null?void 0:n.props),o}return iJ(t,null,[{key:"controlType",get:function(){return"wps"}}]),t}(x);rE(aJ,"controlFieldType",O.FILE);function fJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dd(e,t,n){return t=Ul(t),_J(e,uE()?Reflect.construct(t,n||[],Ul(e).constructor):t.apply(e,n))}function vd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ul(e){return Ul=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ul(e)}function hd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bd(e,t)}function _J(e,t){return t&&(sJ(t)==="object"||typeof t=="function")?t:fJ(e)}function bd(e,t){return bd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},bd(e,t)}function sJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(uE=function(){return!!e})()}var yJ=function(e){hd(t,e);function t(n){vd(this,t);var o;return o=dd(this,t,[n]),Y(o,"datasourceBind",[{type:"object",message:f("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),Y(o,"businessScope",{type:"any"}),Ko.call(o,n,un.controlCustomAttributes),n.businessType===Ue.ASSIGN&&(o.businessScope={type:"array",required:!0,message:f("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")}),o}return t}(tt),pJ=function(e){hd(t,e);function t(n){vd(this,t);var o;return o=dd(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(j),Wl=function(e){hd(t,e);function t(n){vd(this,t);var o;o=dd(this,t,[n]),Y(o,"showType",void 0),Y(o,"range",void 0),Y(o,"defaultValueType",void 0),Y(o,"multiple",void 0),Y(o,"rangeOptions",void 0),Y(o,"defaultValue",void 0),Y(o,"displayLevel",void 0),Y(o,"showSubDept",void 0),Y(o,"multistageFilling",void 0),Y(o,"datasourceBind",void 0),Y(o,"datasourceType",void 0),Y(o,"businessType",void 0),Y(o,"businessScope",void 0),Y(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 l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var y;o.showSubDept=(y=n==null?void 0:n.showSubDept)!==null&&y!==void 0?y:!0;var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:un.controlName;var m;o.placeholder=(m=n==null?void 0:n.placeholder)!==null&&m!==void 0?m:f("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8");var g;o.datasourceBind=new Ho((g=n==null?void 0:n.datasourceBind)!==null&&g!==void 0?g:{attributes:un.controlCustomAttributes});var b;o.datasourceType=(b=n==null?void 0:n.datasourceType)!==null&&b!==void 0?b:am.INTERNAL;var $;o.businessScope=($=n==null?void 0:n.businessScope)!==null&&$!==void 0?$:[];var v;o.businessType=(v=n==null?void 0:n.businessType)!==null&&v!==void 0?v:Ue.ALL;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(T){var E;(E=o.multistageFilling)===null||E===void 0||E.push(new pt(T))})),o}return t}(k);Y(Wl,"Rules",yJ),Y(Wl,"RuntimeRules",pJ);function dJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vJ(e,t,n){return t=rn(t),gJ(e,cE()?Reflect.construct(t,n||[],rn(e).constructor):t.apply(e,n))}function hJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function bJ(e,t,n){return t&&lE(e.prototype,t),n&&lE(e,n),e}function Kl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gl(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Gl=Reflect.get:Gl=function(r,i,u){var l=OJ(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},Gl(e,t,n||e)}function rn(e){return rn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rn(e)}function mJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&md(e,t)}function gJ(e,t){return t&&(wJ(t)==="object"||typeof t=="function")?t:dJ(e)}function md(e,t){return md=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},md(e,t)}function OJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=rn(e),e!==null););return e}function wJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(cE=function(){return!!e})()}var un=function(e){mJ(t,e);function t(n){hJ(this,t);var o;return o=vJ(this,t,[n]),Kl(o,"props",void 0),o.props=new Wl(n==null?void 0:n.props),o}return bJ(t,[{key:"toDataBindModel",value:function(o){var r=Gl(rn(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.displayLevel,l=i.showSubDept;r.props.displayLevel=u,r.props.showSubDept=l}return r}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:f("CMD.dbd51751969089480"),required:!0}]}}]),t}(F);Kl(un,"controlName",f("CMD.department",null,"\u90E8\u95E8")),Kl(un,"controlFieldType",O.DEPARTMENTS),Kl(un,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function $J(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PJ(e,t,n){return t=Xl(t),RJ(e,_E()?Reflect.construct(t,n||[],Xl(e).constructor):t.apply(e,n))}function EJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function SJ(e,t,n){return t&&aE(e.prototype,t),n&&aE(e,n),e}function fE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xl(e){return Xl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xl(e)}function TJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gd(e,t)}function RJ(e,t){return t&&(BJ(t)==="object"||typeof t=="function")?t:$J(e)}function gd(e,t){return gd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gd(e,t)}function BJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _E(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_E=function(){return!!e})()}var DJ=function(e){TJ(t,e);function t(n){EJ(this,t);var o;return o=PJ(this,t,[n]),fE(o,"props",void 0),o.props=new Wl(n==null?void 0:n.props),o}return SJ(t,null,[{key:"controlType",get:function(){return"department2"}}]),t}(x);fE(DJ,"controlFieldType",O.DEPARTMENTS);function AJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Od(e,t,n){return t=Ql(t),IJ(e,sE()?Reflect.construct(t,n||[],Ql(e).constructor):t.apply(e,n))}function wd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function V(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ql(e){return Ql=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ql(e)}function $d(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pd(e,t)}function IJ(e,t){return t&&(kJ(t)==="object"||typeof t=="function")?t:AJ(e)}function Pd(e,t){return Pd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Pd(e,t)}function kJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(sE=function(){return!!e})()}var FJ=function(e){$d(t,e);function t(n){wd(this,t);var o;return o=Od(this,t,[n]),V(o,"datasourceBind",[{type:"object",message:f("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),V(o,"businessScope",{type:"any"}),Ko.call(o,n,Oo.controlCustomAttributes),n.businessType===Ue.ASSIGN&&(o.businessScope={type:"array",required:!0,message:f("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")}),o}return t}(tt),xJ=function(e){$d(t,e);function t(n){wd(this,t);var o;return o=Od(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(j),Jl=function(e){$d(t,e);function t(n){wd(this,t);var o;o=Od(this,t,[n]),V(o,"showType",void 0),V(o,"range",void 0),V(o,"defaultValueType",void 0),V(o,"multiple",void 0),V(o,"rangeOptions",void 0),V(o,"defaultValue",void 0),V(o,"displayLevel",void 0),V(o,"showSubDept",void 0),V(o,"multistageFilling",void 0),V(o,"datasourceBind",void 0),V(o,"listPageBind",void 0),V(o,"datasourceType",void 0),V(o,"businessType",void 0),V(o,"businessScope",void 0),V(o,"organizingFunction",void 0),V(o,"organizationView",void 0),V(o,"openMultistageFilling",void 0),V(o,"showSelectedDetail",void 0),V(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 $f(n==null?void 0:n.listPageBind);var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var y;o.showSubDept=(y=n==null?void 0:n.showSubDept)!==null&&y!==void 0?y:!0;var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:Oo.controlName;var m;o.placeholder=(m=n==null?void 0:n.placeholder)!==null&&m!==void 0?m:f("CMD.pleaseSelectOrg",null,"\u8BF7\u9009\u62E9\u7EC4\u7EC7");var g;o.datasourceBind=new Cx((g=n==null?void 0:n.datasourceBind)!==null&&g!==void 0?g:{attributes:Oo.controlCustomAttributes});var b;o.datasourceType=(b=n==null?void 0:n.datasourceType)!==null&&b!==void 0?b:am.INTERNAL;var $;o.businessScope=($=n==null?void 0:n.businessScope)!==null&&$!==void 0?$:[];var v;o.businessType=(v=n==null?void 0:n.businessType)!==null&&v!==void 0?v:Ue.ALL;var w;o.organizingFunction=(w=n==null?void 0:n.organizingFunction)!==null&&w!==void 0?w:void 0;var T;o.organizationView=(T=n==null?void 0:n.organizationView)!==null&&T!==void 0?T:void 0;var E;o.showSelectedDetail=(E=n==null?void 0:n.showSelectedDetail)!==null&&E!==void 0?E:!1,o.selectedContentConfig=new Tf(n==null?void 0:n.selectedContentConfig);var R;return o.openMultistageFilling=(R=n==null?void 0:n.openMultistageFilling)!==null&&R!==void 0?R:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(z){var A;(A=o.multistageFilling)===null||A===void 0||A.push(new pt(z))})),o}return t}(k);V(Jl,"Rules",FJ),V(Jl,"RuntimeRules",xJ);function MJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CJ(e,t,n){return t=ln(t),VJ(e,pE()?Reflect.construct(t,n||[],ln(e).constructor):t.apply(e,n))}function LJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function jJ(e,t,n){return t&&yE(e.prototype,t),n&&yE(e,n),e}function Ed(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zl(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Zl=Reflect.get:Zl=function(r,i,u){var l=zJ(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},Zl(e,t,n||e)}function ln(e){return ln=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ln(e)}function NJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sd(e,t)}function VJ(e,t){return t&&(HJ(t)==="object"||typeof t=="function")?t:MJ(e)}function Sd(e,t){return Sd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sd(e,t)}function zJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ln(e),e!==null););return e}function HJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(pE=function(){return!!e})()}var Oo=function(e){NJ(t,e);function t(n){LJ(this,t);var o;return o=CJ(this,t,[n]),Ed(o,"props",void 0),o.props=new Jl(n==null?void 0:n.props),o}return jJ(t,[{key:"toDataBindModel",value:function(o){var r=Zl(ln(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.displayLevel,l=i.showSubDept;r.props.displayLevel=u,r.props.showSubDept=l}return r}}],[{key:"controlName",get:function(){return f("CMD.organizationSelection",null,"\u4E1A\u52A1\u7EC4\u7EC7")}},{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"organization-selection"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:f("CMD.391d1751969089483"),required:!0}]}}]),t}(F);Ed(Oo,"controlFieldType",O.DEPARTMENTS),Ed(Oo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function qJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UJ(e,t,n){return t=Yl(t),XJ(e,hE()?Reflect.construct(t,n||[],Yl(e).constructor):t.apply(e,n))}function WJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function KJ(e,t,n){return t&&dE(e.prototype,t),n&&dE(e,n),e}function vE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yl(e){return Yl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yl(e)}function GJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Td(e,t)}function XJ(e,t){return t&&(QJ(t)==="object"||typeof t=="function")?t:qJ(e)}function Td(e,t){return Td=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Td(e,t)}function QJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(hE=function(){return!!e})()}var JJ=function(e){GJ(t,e);function t(n){WJ(this,t);var o;return o=UJ(this,t,[n]),vE(o,"props",void 0),o.props=new Jl(n==null?void 0:n.props),o}return KJ(t,null,[{key:"controlType",get:function(){return"organization-selection"}}]),t}(x);vE(JJ,"controlFieldType",O.DEPARTMENTS);function ZJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rd(e,t,n){return t=tc(t),YJ(e,bE()?Reflect.construct(t,n||[],tc(e).constructor):t.apply(e,n))}function Bd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tc(e){return tc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tc(e)}function Dd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ad(e,t)}function YJ(e,t){return t&&(tZ(t)==="object"||typeof t=="function")?t:ZJ(e)}function Ad(e,t){return Ad=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ad(e,t)}function tZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(bE=function(){return!!e})()}var eZ=function(e){Dd(t,e);function t(n){Bd(this,t);var o;return o=Rd(this,t,[n]),o.dataBind={type:"any"},o}return t}(tt),nZ=function(e){Dd(t,e);function t(n){Bd(this,t);var o;return o=Rd(this,t,[n]),o[0]!==void 0&&(o[0].type="any"),o}return t}(j),ec=function(e){Dd(t,e);function t(n){Bd(this,t);var o;o=Rd(this,t,[n]),cn(o,"controlExportName",void 0),cn(o,"permissions",void 0),cn(o,"defaultValue",void 0),cn(o,"isInlineEdit",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:rc.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 l;o.permissions=(l=n==null?void 0:n.permissions)!==null&&l!==void 0?l:[];var a;return o.isInlineEdit=(a=n==null?void 0:n.isInlineEdit)!==null&&a!==void 0?a:!1,o}return t}(k);cn(ec,"Rules",eZ),cn(ec,"RuntimeRules",nZ);function oZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rZ(e,t,n){return t=oc(t),cZ(e,gE()?Reflect.construct(t,n||[],oc(e).constructor):t.apply(e,n))}function iZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function uZ(e,t,n){return t&&mE(e.prototype,t),n&&mE(e,n),e}function nc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oc(e){return oc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oc(e)}function lZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Id(e,t)}function cZ(e,t){return t&&(aZ(t)==="object"||typeof t=="function")?t:oZ(e)}function Id(e,t){return Id=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Id(e,t)}function aZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(gE=function(){return!!e})()}var rc=function(e){lZ(t,e);function t(n){iZ(this,t);var o;return o=rZ(this,t,[n]),nc(o,"props",void 0),o.props=new ec(n==null?void 0:n.props),o}return uZ(t,null,[{key:"controlName",get:function(){return f("CMD.vuePage",null,"Vue\u9875\u9762")}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return p.VUE_PAGE}}]),t}(F);nc(rc,"controlFieldType",O.ANY),nc(rc,"controlEventKeys",[]),nc(rc,"setting",[]);function fZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _Z(e,t,n){return t=ic(t),dZ(e,$E()?Reflect.construct(t,n||[],ic(e).constructor):t.apply(e,n))}function sZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function yZ(e,t,n){return t&&OE(e.prototype,t),n&&OE(e,n),e}function wE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ic(e){return ic=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ic(e)}function pZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kd(e,t)}function dZ(e,t){return t&&(vZ(t)==="object"||typeof t=="function")?t:fZ(e)}function kd(e,t){return kd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kd(e,t)}function vZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $E(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return($E=function(){return!!e})()}var hZ=function(e){pZ(t,e);function t(n){sZ(this,t);var o;return o=_Z(this,t,[n]),wE(o,"props",void 0),o.props=new ec(n==null?void 0:n.props),o}return yZ(t,null,[{key:"controlType",get:function(){return p.VUE_PAGE}}]),t}(x);wE(hZ,"controlFieldType",O.ANY);function bZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mZ(e,t,n){return t=uc(t),PZ(e,EE()?Reflect.construct(t,n||[],uc(e).constructor):t.apply(e,n))}function gZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function OZ(e,t,n){return t&&PE(e.prototype,t),n&&PE(e,n),e}function wZ(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uc(e){return uc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},uc(e)}function $Z(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fd(e,t)}function PZ(e,t){return t&&(EZ(t)==="object"||typeof t=="function")?t:bZ(e)}function Fd(e,t){return Fd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fd(e,t)}function EZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function EE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(EE=function(){return!!e})()}var SZ=function(e){$Z(t,e);function t(n){return gZ(this,t),mZ(this,t,[n])}return OZ(t,null,[{key:"controlName",get:function(){return f("CMD.grid",null,"\u753B\u5E03")}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),t}(nt);wZ(SZ,"excludes",[p.GRID]);function TZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RZ(e,t,n){return t=lc(t),AZ(e,TE()?Reflect.construct(t,n||[],lc(e).constructor):t.apply(e,n))}function BZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lc(e){return lc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},lc(e)}function DZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xd(e,t)}function AZ(e,t){return t&&(IZ(t)==="object"||typeof t=="function")?t:TZ(e)}function xd(e,t){return xd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xd(e,t)}function IZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(TE=function(){return!!e})()}var kZ=24,wo=function(e){DZ(t,e);function t(n){BZ(this,t);var o;o=RZ(this,t,[n]),SE(o,"span",void 0),SE(o,"offset",void 0);var r;o.span=(r=n==null?void 0:n.span)!==null&&r!==void 0?r:kZ;var i;return o.offset=(i=n==null?void 0:n.offset)!==null&&i!==void 0?i:0,o}return t}(et);function FZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xZ(e,t,n){return t=cc(t),jZ(e,BE()?Reflect.construct(t,n||[],cc(e).constructor):t.apply(e,n))}function MZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function CZ(e,t,n){return t&&RE(e.prototype,t),n&&RE(e,n),e}function Md(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cc(e){return cc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cc(e)}function LZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cd(e,t)}function jZ(e,t){return t&&(NZ(t)==="object"||typeof t=="function")?t:FZ(e)}function Cd(e,t){return Cd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cd(e,t)}function NZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(BE=function(){return!!e})()}var $o=function(e){LZ(t,e);function t(n){MZ(this,t);var o;return o=xZ(this,t,[n]),Md(o,"props",void 0),o.props=new wo(n==null?void 0:n.props),o}return CZ(t,null,[{key:"controlName",get:function(){return f("CMD.col",null,"\u6805\u683C\u5217")}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),t}(nt);Md($o,"excludes",[p.COL,p.SUBTABLE,p.SUBTABLE_COLUMN,p.GRID_LAYOUT_CONTAINER,p.DIVIDER]),Md($o,"childrenMaxLength",1);function VZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zZ(e,t,n){return t=ac(t),KZ(e,AE()?Reflect.construct(t,n||[],ac(e).constructor):t.apply(e,n))}function HZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function qZ(e,t,n){return t&&DE(e.prototype,t),n&&DE(e,n),e}function UZ(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ac(e){return ac=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ac(e)}function WZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ld(e,t)}function KZ(e,t){return t&&(GZ(t)==="object"||typeof t=="function")?t:VZ(e)}function Ld(e,t){return Ld=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ld(e,t)}function GZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(AE=function(){return!!e})()}var XZ=function(e){WZ(t,e);function t(n){HZ(this,t);var o;return o=zZ(this,t,[n]),UZ(o,"props",void 0),o.props=new wo(n==null?void 0:n.props),o}return qZ(t,null,[{key:"controlType",get:function(){return"col"}}]),t}(we),IE={Designer:$o,Runtime:XZ,Property:wo};function QZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JZ(e,t,n){return t=fc(t),tY(e,FE()?Reflect.construct(t,n||[],fc(e).constructor):t.apply(e,n))}function ZZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fc(e){return fc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fc(e)}function YZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jd(e,t)}function tY(e,t){return t&&(eY(t)==="object"||typeof t=="function")?t:QZ(e)}function jd(e,t){return jd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jd(e,t)}function eY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(FE=function(){return!!e})()}var Nd=function(e){YZ(t,e);function t(n){ZZ(this,t);var o;o=JZ(this,t,[n]),kE(o,"layoutMode",void 0),kE(o,"gutter",void 0);var r;o.layoutMode=(r=n==null?void 0:n.layoutMode)!==null&&r!==void 0?r:"select";var i;return o.gutter=(i=n==null?void 0:n.gutter)!==null&&i!==void 0?i:0,o}return t}(et);function nY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oY(e,t,n){return t=_c(t),lY(e,ME()?Reflect.construct(t,n||[],_c(e).constructor):t.apply(e,n))}function rY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function iY(e,t,n){return t&&xE(e.prototype,t),n&&xE(e,n),e}function Vd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _c(e){return _c=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_c(e)}function uY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zd(e,t)}function lY(e,t){return t&&(cY(t)==="object"||typeof t=="function")?t:nY(e)}function zd(e,t){return zd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zd(e,t)}function cY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ME(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ME=function(){return!!e})()}var Hd=function(e){uY(t,e);function t(n){rY(this,t);var o;return o=oY(this,t,[n]),Vd(o,"props",void 0),o.props=new Nd(n==null?void 0:n.props),o}return iY(t,null,[{key:"controlName",get:function(){return f("CMD.row",null,"\u6805\u683C\u5E03\u5C40")}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),t}(nt);Vd(Hd,"excludes",[p.ROW]),Vd(Hd,"setting",[{key:"col-setting",visible:!0}]);function aY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fY(e,t,n){return t=sc(t),dY(e,LE()?Reflect.construct(t,n||[],sc(e).constructor):t.apply(e,n))}function _Y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function sY(e,t,n){return t&&CE(e.prototype,t),n&&CE(e,n),e}function yY(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sc(e){return sc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sc(e)}function pY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qd(e,t)}function dY(e,t){return t&&(vY(t)==="object"||typeof t=="function")?t:aY(e)}function qd(e,t){return qd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qd(e,t)}function vY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(LE=function(){return!!e})()}var hY=function(e){pY(t,e);function t(n){_Y(this,t);var o;return o=fY(this,t,[n]),yY(o,"props",void 0),o.props=new Nd(n==null?void 0:n.props),o}return sY(t,null,[{key:"controlType",get:function(){return"row"}}]),t}(we);function bY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mY(e,t,n){return t=yc(t),$Y(e,NE()?Reflect.construct(t,n||[],yc(e).constructor):t.apply(e,n))}function gY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function OY(e,t,n){return t&&jE(e.prototype,t),n&&jE(e,n),e}function Ud(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yc(e){return yc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yc(e)}function wY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wd(e,t)}function $Y(e,t){return t&&(PY(t)==="object"||typeof t=="function")?t:bY(e)}function Wd(e,t){return Wd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wd(e,t)}function PY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(NE=function(){return!!e})()}var EY=4,pc=function(e){wY(t,e);function t(n){return gY(this,t),mY(this,t,[n])}return OY(t,null,[{key:"controlName",get:function(){return f("CMD.gridRow",null,"\u6805\u683C\u7B49\u5206\u884C")}},{key:"controlType",get:function(){return"grid-row"}},{key:"controlIcon",get:function(){return"grid-row"}}]),t}(Hd);Ud(pc,"excludes",[p.GRID_ROW]),Ud(pc,"setting",[]),Ud(pc,"childrenMaxLength",EY);function SY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TY(e,t,n){return t=dc(t),AY(e,zE()?Reflect.construct(t,n||[],dc(e).constructor):t.apply(e,n))}function RY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function BY(e,t,n){return t&&VE(e.prototype,t),n&&VE(e,n),e}function dc(e){return dc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dc(e)}function DY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kd(e,t)}function AY(e,t){return t&&(IY(t)==="object"||typeof t=="function")?t:SY(e)}function Kd(e,t){return Kd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kd(e,t)}function IY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(zE=function(){return!!e})()}var kY=function(e){DY(t,e);function t(n){return RY(this,t),TY(this,t,[n])}return BY(t,null,[{key:"controlType",get:function(){return"grid-row"}}]),t}(hY);function FY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xY(e,t,n){return t=vc(t),LY(e,HE()?Reflect.construct(t,n||[],vc(e).constructor):t.apply(e,n))}function MY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vc(e){return vc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vc(e)}function CY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gd(e,t)}function LY(e,t){return t&&(jY(t)==="object"||typeof t=="function")?t:FY(e)}function Gd(e,t){return Gd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gd(e,t)}function jY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(HE=function(){return!!e})()}var NY=function(e){CY(t,e);function t(n){return MY(this,t),xY(this,t,[n])}return t}(Nd),VY={Designer:pc,Runtime:kY,Property:NY};function zY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qE(e,t,n){return t=hc(t),HY(e,KE()?Reflect.construct(t,n||[],hc(e).constructor):t.apply(e,n))}function UE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Po(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hc(e){return hc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hc(e)}function WE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xd(e,t)}function HY(e,t){return t&&(qY(t)==="object"||typeof t=="function")?t:zY(e)}function Xd(e,t){return Xd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xd(e,t)}function qY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(KE=function(){return!!e})()}var UY=function(e){WE(t,e);function t(){UE(this,t);var n;return n=qE(this,t,arguments),Po(n,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),n}return t}(et.Rules),GE=function(e){WE(t,e);function t(n){UE(this,t);var o;o=qE(this,t,[n]),Po(o,"caption",void 0),Po(o,"isHideCaption",void 0),Po(o,"collapse",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:f("CMD.cardGroup",null,"\u5206\u7EC4");var i;o.isHideCaption=(i=n==null?void 0:n.isHideCaption)!==null&&i!==void 0?i:!1;var u;return o.collapse=(u=n==null?void 0:n.collapse)!==null&&u!==void 0?u:"none",o}return t}(et);Po(GE,"Rules",UY);function WY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KY(e,t,n){return t=bc(t),JY(e,QE()?Reflect.construct(t,n||[],bc(e).constructor):t.apply(e,n))}function GY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function XY(e,t,n){return t&&XE(e.prototype,t),n&&XE(e,n),e}function Qd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bc(e){return bc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bc(e)}function QY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jd(e,t)}function JY(e,t){return t&&(ZY(t)==="object"||typeof t=="function")?t:WY(e)}function Jd(e,t){return Jd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jd(e,t)}function ZY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(QE=function(){return!!e})()}var JE=function(e){QY(t,e);function t(n){GY(this,t);var o;return o=KY(this,t,[n]),Qd(o,"props",void 0),o.props=new GE(n==null?void 0:n.props),o}return XY(t,null,[{key:"controlName",get:function(){return f("CMD.cardGroup",null,"\u5206\u7EC4")}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),t}(nt);Qd(JE,"setting",[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}]),Qd(JE,"excludes",[p.CARD_GROUP]);function YY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZE(e,t,n){return t=mc(t),ttt(e,eS()?Reflect.construct(t,n||[],mc(e).constructor):t.apply(e,n))}function YE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ut(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mc(e){return mc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mc(e)}function tS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zd(e,t)}function ttt(e,t){return t&&(ett(t)==="object"||typeof t=="function")?t:YY(e)}function Zd(e,t){return Zd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zd(e,t)}function ett(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(eS=function(){return!!e})()}var ntt=function(e){tS(t,e);function t(n){YE(this,t);var o;return o=ZE(this,t,[n]),Ut(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),Ut(o,"width",{type:"number",required:!1,message:f("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")}),Ut(o,"captionTip",{type:"string",required:!1,message:f("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return t}(U),gc=function(e){tS(t,e);function t(n){YE(this,t);var o;o=ZE(this,t,[n]),Ut(o,"metaAutoWidth",void 0),Ut(o,"caption",void 0),Ut(o,"fixed",void 0),Ut(o,"isShowCaptionTip",void 0),Ut(o,"captionTip",void 0),Ut(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 l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var a;return o.isHideCaption=(a=n==null?void 0:n.isHideCaption)!==null&&a!==void 0?a:!1,o.metaAutoWidth=new J0(n==null?void 0:n.metaAutoWidth),o}return t}(et);Ut(gc,"Rules",ntt);function ott(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rtt(e,t,n){return t=Oc(t),ltt(e,nS()?Reflect.construct(t,n||[],Oc(e).constructor):t.apply(e,n))}function itt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Te(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Oc(e){return Oc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oc(e)}function utt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yd(e,t)}function ltt(e,t){return t&&(ctt(t)==="object"||typeof t=="function")?t:ott(e)}function Yd(e,t){return Yd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yd(e,t)}function ctt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(nS=function(){return!!e})()}var jt=function(e){utt(t,e);function t(n){itt(this,t);var o;return o=rtt(this,t,[n]),Te(o,"props",void 0),o.props=new gc(n==null?void 0:n.props),o}return t}(nt);Te(jt,"controlName",f("CMD.subtableColumn",null,"\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C")),Te(jt,"controlType","subtable-column"),Te(jt,"controlIcon","subtable-column"),Te(jt,"childrenMaxLength",1),Te(jt,"excludes",[p.SUBTABLE,p.SUBTABLE_COLUMN,p.ROW,p.COL,p.CARD_GROUP,p.DIVIDER,p.TEXT,p.GRID_LAYOUT_CONTAINER]),Te(jt,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",showItems:[s.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}]);function att(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ftt(e,t,n){return t=wc(t),ytt(e,rS()?Reflect.construct(t,n||[],wc(e).constructor):t.apply(e,n))}function _tt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wc(e){return wc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wc(e)}function stt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tv(e,t)}function ytt(e,t){return t&&(ptt(t)==="object"||typeof t=="function")?t:att(e)}function tv(e,t){return tv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},tv(e,t)}function ptt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(rS=function(){return!!e})()}var iS=function(e){stt(t,e);function t(n){_tt(this,t);var o;return o=ftt(this,t,[n]),oS(o,"props",void 0),o.props=new gc(n==null?void 0:n.props),o}return t}(we);oS(iS,"controlType","subtable-column");var dtt={Designer:jt,Runtime:iS,Property:gc};function vtt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function htt(e,t,n){return t=$c(t),gtt(e,uS()?Reflect.construct(t,n||[],$c(e).constructor):t.apply(e,n))}function btt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $c(e){return $c=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$c(e)}function mtt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ev(e,t)}function gtt(e,t){return t&&(Ott(t)==="object"||typeof t=="function")?t:vtt(e)}function ev(e,t){return ev=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ev(e,t)}function Ott(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(uS=function(){return!!e})()}var wtt=function(e){mtt(t,e);function t(n){return btt(this,t),htt(this,t,[n])}return t}(et);function $tt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ptt(e,t,n){return t=Pc(t),Ttt(e,lS()?Reflect.construct(t,n||[],Pc(e).constructor):t.apply(e,n))}function Ett(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pc(e){return Pc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pc(e)}function Stt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nv(e,t)}function Ttt(e,t){return t&&(Rtt(t)==="object"||typeof t=="function")?t:$tt(e)}function nv(e,t){return nv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},nv(e,t)}function Rtt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(lS=function(){return!!e})()}var an=function(e){Stt(t,e);function t(n){Ett(this,t);var o;return o=Ptt(this,t,[n]),Re(o,"props",void 0),o.props=new wtt(n==null?void 0:n.props),o}return t}(nt);Re(an,"controlName",f("CMD.subtableRow",null,"\u660E\u7EC6\u5B50\u8868\u884C")),Re(an,"controlType","subtable-row"),Re(an,"controlIcon","subtable-row"),Re(an,"childrenMaxLength",1),Re(an,"excludes",[p.SUBTABLE,p.SUBTABLE_COLUMN,p.SUBTABLE_ROW,p.ROW,p.COL,p.CARD_GROUP,p.DIVIDER,p.TEXT]),Re(an,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0}]);function Btt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dtt(e,t,n){return t=Ec(t),ktt(e,cS()?Reflect.construct(t,n||[],Ec(e).constructor):t.apply(e,n))}function Att(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function It(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ec(e){return Ec=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ec(e)}function Itt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ov(e,t)}function ktt(e,t){return t&&(Ftt(t)==="object"||typeof t=="function")?t:Btt(e)}function ov(e,t){return ov=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ov(e,t)}function Ftt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(cS=function(){return!!e})()}var aS=function(e){Itt(t,e);function t(n){Att(this,t);var o;o=Dtt(this,t,[n]),It(o,"widthType",void 0),It(o,"width",void 0),It(o,"caption",void 0),It(o,"fieldCode",void 0),It(o,"fieldType",void 0),It(o,"fieldName",void 0),It(o,"datasourceBind",void 0),It(o,"fixed",void 0),It(o,"textCleanFormart",void 0),It(o,"decimalKeepPrecision",void 0),It(o,"timestampDateType",void 0),It(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 l;o.fieldCode=(l=n==null?void 0:n.fieldCode)!==null&&l!==void 0?l:"";var a;o.fieldType=(a=n==null?void 0:n.fieldType)!==null&&a!==void 0?a:O.VARCHAR;var c;o.fieldName=(c=n==null?void 0:n.fieldName)!==null&&c!==void 0?c:"",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var _;o.textCleanFormart=(_=n==null?void 0:n.textCleanFormart)!==null&&_!==void 0?_:!1;var y;o.decimalKeepPrecision=(y=n==null?void 0:n.decimalKeepPrecision)!==null&&y!==void 0?y:0;var d;o.timestampDateType=(d=n==null?void 0:n.timestampDateType)!==null&&d!==void 0?d:Me.DATE;var m;return o.departmentDisplayLevel=(m=n==null?void 0:n.departmentDisplayLevel)!==null&&m!==void 0?m:1,o}return t}(et);function xtt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mtt(e,t,n){return t=Sc(t),jtt(e,fS()?Reflect.construct(t,n||[],Sc(e).constructor):t.apply(e,n))}function Ctt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Be(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sc(e){return Sc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sc(e)}function Ltt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rv(e,t)}function jtt(e,t){return t&&(Ntt(t)==="object"||typeof t=="function")?t:xtt(e)}function rv(e,t){return rv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rv(e,t)}function Ntt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(fS=function(){return!!e})()}var fn=function(e){Ltt(t,e);function t(n){Ctt(this,t);var o;return o=Mtt(this,t,[n]),Be(o,"props",void 0),o.props=new aS(n==null?void 0:n.props),o}return t}(nt);Be(fn,"controlName",f("CMD.58d21751969083831")),Be(fn,"controlType","gridtable-column"),Be(fn,"controlIcon","gridtable-column"),Be(fn,"childrenMaxLength",1),Be(fn,"excludes",[p.GRID_TABLE,p.GRID_TABLE_COLUMN,p.ROW,p.COL,p.CARD_GROUP,p.DIVIDER,p.TEXT]),Be(fn,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}]);function Vtt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ztt(e,t,n){return t=Tc(t),Utt(e,sS()?Reflect.construct(t,n||[],Tc(e).constructor):t.apply(e,n))}function Htt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _S(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tc(e){return Tc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tc(e)}function qtt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&iv(e,t)}function Utt(e,t){return t&&(Wtt(t)==="object"||typeof t=="function")?t:Vtt(e)}function iv(e,t){return iv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},iv(e,t)}function Wtt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(sS=function(){return!!e})()}var Ktt=function(e){qtt(t,e);function t(n){Htt(this,t);var o;return o=ztt(this,t,[n]),_S(o,"props",void 0),o.props=new aS(n==null?void 0:n.props),o}return t}(we);_S(Ktt,"controlType","gridtable-column");function Gtt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xtt(e,t,n){return t=Rc(t),Ztt(e,pS()?Reflect.construct(t,n||[],Rc(e).constructor):t.apply(e,n))}function Qtt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rc(e){return Rc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rc(e)}function Jtt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uv(e,t)}function Ztt(e,t){return t&&(Ytt(t)==="object"||typeof t=="function")?t:Gtt(e)}function uv(e,t){return uv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},uv(e,t)}function Ytt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(pS=function(){return!!e})()}var tet=function(e){Jtt(t,e);function t(n){Qtt(this,t);var o;o=Xtt(this,t,[n]),yS(o,"childMinWidth",void 0),yS(o,"colGap",void 0);var r;o.childMinWidth=(r=n==null?void 0:n.childMinWidth)!==null&&r!==void 0?r:230;var i;return o.colGap=(i=n==null?void 0:n.colGap)!==null&&i!==void 0?i:24,o}return t}(et);function eet(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function net(e,t,n){return t=Bc(t),uet(e,vS()?Reflect.construct(t,n||[],Bc(e).constructor):t.apply(e,n))}function oet(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function ret(e,t,n){return t&&dS(e.prototype,t),n&&dS(e,n),e}function lv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bc(e){return Bc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bc(e)}function iet(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cv(e,t)}function uet(e,t){return t&&(cet(t)==="object"||typeof t=="function")?t:eet(e)}function cv(e,t){return cv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cv(e,t)}function cet(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(vS=function(){return!!e})()}var hS=function(e){iet(t,e);function t(n){oet(this,t);var o;return o=net(this,t,[n]),lv(o,"props",void 0),o.props=new tet(n==null?void 0:n.props),o}return ret(t,null,[{key:"controlName",get:function(){return f("CMD.gridLayoutContainer",null,"\u6362\u884C\u5BB9\u5668")}},{key:"controlType",get:function(){return"grid-layout-container"}},{key:"controlIcon",get:function(){return"icona-huanhangrongqi1"}}]),t}(nt);lv(hS,"excludes",[p.GRID_LAYOUT_CONTAINER,p.CARD_GROUP,p.TAB]),lv(hS,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}]);function aet(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fet(e,t,n){return t=Dc(t),pet(e,bS()?Reflect.construct(t,n||[],Dc(e).constructor):t.apply(e,n))}function _et(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function set(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Dc(e){return Dc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dc(e)}function yet(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&av(e,t)}function pet(e,t){return t&&(det(t)==="object"||typeof t=="function")?t:aet(e)}function av(e,t){return av=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},av(e,t)}function det(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(bS=function(){return!!e})()}var vet=function(e){yet(t,e);function t(n){_et(this,t);var o;o=fet(this,t,[n]),set(o,"mobileShowType",void 0);var r;return o.mobileShowType=(r=n==null?void 0:n.mobileShowType)!==null&&r!==void 0?r:"vertical",o}return t}(et);function het(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mS(e,t,n){return t=Ac(t),bet(e,wS()?Reflect.construct(t,n||[],Ac(e).constructor):t.apply(e,n))}function gS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ac(e){return Ac=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ac(e)}function OS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_v(e,t)}function bet(e,t){return t&&(met(t)==="object"||typeof t=="function")?t:het(e)}function _v(e,t){return _v=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_v(e,t)}function met(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(wS=function(){return!!e})()}var get=function(e){OS(t,e);function t(n){gS(this,t);var o;return o=mS(this,t,[n]),fv(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),o}return t}(U),$S=function(e){OS(t,e);function t(n){gS(this,t);var o;o=mS(this,t,[n]),fv(o,"caption",void 0);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Mc.controlName,o}return t}(et);fv($S,"Rules",get);function Oet(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wet(e,t,n){return t=Ic(t),Tet(e,ES()?Reflect.construct(t,n||[],Ic(e).constructor):t.apply(e,n))}function $et(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Pet(e,t,n){return t&&PS(e.prototype,t),n&&PS(e,n),e}function sv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ic(e){return Ic=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ic(e)}function Eet(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yv(e,t)}function Tet(e,t){return t&&(Ret(t)==="object"||typeof t=="function")?t:Oet(e)}function yv(e,t){return yv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yv(e,t)}function Ret(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ES(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ES=function(){return!!e})()}var kc=function(e){Eet(t,e);function t(n){$et(this,t);var o;return o=wet(this,t,[n]),sv(o,"props",void 0),o.props=new $S(n==null?void 0:n.props),o}return Pet(t,null,[{key:"controlName",get:function(){return f("CMD.tabPane",null,"\u6807\u7B7E\u5355\u5143")}},{key:"controlType",get:function(){return"tab-pane"}},{key:"controlIcon",get:function(){return"tab-pane"}}]),t}(nt);sv(kc,"excludes",[p.TAB]),sv(kc,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}]);function Bet(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Det(e,t,n){return t=xc(t),Fet(e,TS()?Reflect.construct(t,n||[],xc(e).constructor):t.apply(e,n))}function Aet(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Iet(e,t,n){return t&&SS(e.prototype,t),n&&SS(e,n),e}function Fc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xc(e){return xc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xc(e)}function ket(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pv(e,t)}function Fet(e,t){return t&&(xet(t)==="object"||typeof t=="function")?t:Bet(e)}function pv(e,t){return pv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},pv(e,t)}function xet(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(TS=function(){return!!e})()}var Mc=function(e){ket(t,e);function t(n){Aet(this,t);var o;o=Det(this,t,[n]),Fc(o,"props",void 0),o.props=new vet(n==null?void 0:n.props);var r;return o.children=(r=n==null?void 0:n.children)!==null&&r!==void 0?r:[new kc,new kc],o}return Iet(t,null,[{key:"controlName",get:function(){return f("CMD.tab",null,"\u6807\u7B7E\u9875")}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),t}(nt);Fc(Mc,"excludes",[p.TAB]),Fc(Mc,"controlEventKeys",["on_change_tab"]),Fc(Mc,"setting",[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}]);function Met(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cet(e,t,n){return t=Cc(t),Net(e,RS()?Reflect.construct(t,n||[],Cc(e).constructor):t.apply(e,n))}function Let(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cc(e){return Cc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cc(e)}function jet(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dv(e,t)}function Net(e,t){return t&&(Vet(t)==="object"||typeof t=="function")?t:Met(e)}function dv(e,t){return dv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dv(e,t)}function Vet(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(RS=function(){return!!e})()}var zet=function(e){jet(t,e);function t(n){return Let(this,t),Cet(this,t,[n])}return t}(et);function Het(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qet(e,t,n){return t=Lc(t),Get(e,AS()?Reflect.construct(t,n||[],Lc(e).constructor):t.apply(e,n))}function Uet(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Wet(e,t,n){return t&&BS(e.prototype,t),n&&BS(e,n),e}function DS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lc(e){return Lc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lc(e)}function Ket(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vv(e,t)}function Get(e,t){return t&&(Xet(t)==="object"||typeof t=="function")?t:Het(e)}function vv(e,t){return vv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vv(e,t)}function Xet(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(AS=function(){return!!e})()}var Qet=function(e){Ket(t,e);function t(n){Uet(this,t);var o;return o=qet(this,t,[n]),DS(o,"props",void 0),o.props=new zet({}),o.children=(n==null?void 0:n.children)||[new $o({props:new wo({span:12})}),new $o({props:new wo({span:12})})],o}return Wet(t,null,[{key:"controlName",get:function(){return f("CMD.toolbox",null,"\u5DE5\u5177\u680F")}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),t}(nt);DS(Qet,"excludes",[p.GRID_ROW,p.ROW,p.GRID,p.SUBTABLE,p.TAB,p.TOOLBOX]);function Jet(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hv(e,t,n){return t=jc(t),Zet(e,IS()?Reflect.construct(t,n||[],jc(e).constructor):t.apply(e,n))}function bv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function H(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jc(e){return jc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jc(e)}function mv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gv(e,t)}function Zet(e,t){return t&&(Yet(t)==="object"||typeof t=="function")?t:Jet(e)}function gv(e,t){return gv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gv(e,t)}function Yet(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(IS=function(){return!!e})()}var tnt=function(e){mv(t,e);function t(n){bv(this,t);var o;return o=hv(this,t,[n]),o.push({type:"object",fields:{}}),o}return t}(Oe),ent=function(e){mv(t,e);function t(n){bv(this,t);var o;if(o=hv(this,t,[n]),H(o,"triggerFieldCode",{type:"any"}),H(o,"datasourceBind",{type:"any"}),H(o,"joinRelation",[{type:"any"}]),console.log("--ListViewControlPropertyRules--"),n.triggerType===2&&n.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:f("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}),n.isShowJoinRelation&&(o.joinRelation=[{type:"object",message:f("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:f("CMD.pleaseEnterAliasCode",null,"\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D")},datasourceBind:[{type:"object",message:f("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f("CMD.pleaseSelectDataCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B")},svcCode:{type:"string",required:!0,message:f("CMD.pleaseSelectSvcCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1")}}}],relationFields:[{type:"array",message:f("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:f("CMD.pleaseSelectJoinFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5")},mainFieldCode:{type:"string",required:!0,message:f("CMD.pleaseSelectMainFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5")}}}}]}}]),zf.call(o,{optionConfig:"datasource",datasourceBind:n.datasourceBind,options:[]}),Array.isArray(o.datasourceBind)&&o.datasourceBind.length>1){var r=o.datasourceBind.find(function(i){return i.type==="object"&&i.fields});r&&(delete r.fields.valueFieldCode,delete r.fields.displayBoList)}return o}return t}(U),Eo=function(e){mv(t,e);function t(n){bv(this,t);var o;o=hv(this,t,[n]),H(o,"datasourceBind",void 0),H(o,"isLoading",void 0),H(o,"isShowSubList",void 0),H(o,"triggerType",void 0),H(o,"triggerFieldCode",void 0),H(o,"sublistPage",void 0),H(o,"isShowJoinRelation",void 0),H(o,"joinRelation",void 0),H(o,"showType",void 0),H(o,"showFullScreen",void 0),H(o,"isFixedHeader",void 0),H(o,"selectionType",void 0),H(o,"isShowSelection",void 0),H(o,"isAllLoaded",void 0),H(o,"countType",void 0),H(o,"countLimit",void 0),H(o,"rowStyle",void 0),o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var r;o.isLoading=(r=n==null?void 0:n.isLoading)!==null&&r!==void 0?r:!1;var i;o.isShowSubList=(i=n==null?void 0:n.isShowSubList)!==null&&i!==void 0?i:!1;var u;o.triggerType=(u=n==null?void 0:n.triggerType)!==null&&u!==void 0?u:1;var l;o.triggerFieldCode=(l=n==null?void 0:n.triggerFieldCode)!==null&&l!==void 0?l:"",o.sublistPage=new kx(n==null?void 0:n.sublistPage);var a;o.isShowJoinRelation=(a=n==null?void 0:n.isShowJoinRelation)!==null&&a!==void 0?a:!1,o.joinRelation=new xx(n==null?void 0:n.joinRelation);var c;o.showType=(c=n==null?void 0:n.showType)!==null&&c!==void 0?c:"stretch";var _;o.showFullScreen=(_=n==null?void 0:n.showFullScreen)!==null&&_!==void 0?_:!1;var y;o.selectionType=(y=n==null?void 0:n.selectionType)!==null&&y!==void 0?y:"multiple";var d;o.isFixedHeader=(d=n==null?void 0:n.isFixedHeader)!==null&&d!==void 0?d:!1;var m;o.isShowSelection=(m=n==null?void 0:n.isShowSelection)!==null&&m!==void 0?m:!1;var g;o.isAllLoaded=(g=n==null?void 0:n.isAllLoaded)!==null&&g!==void 0?g:!0,o.countType=n==null?void 0:n.countType;var b;return o.countLimit=(b=n==null?void 0:n.countLimit)!==null&&b!==void 0?b:1e5,o.rowStyle=new Yx(n==null?void 0:n.rowStyle),o}return t}(et);H(Eo,"Rules",ent),H(Eo,"RuntimeRules",tnt);function nnt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ont(e,t,n){return t=Nc(t),lnt(e,FS()?Reflect.construct(t,n||[],Nc(e).constructor):t.apply(e,n))}function rnt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function int(e,t,n){return t&&kS(e.prototype,t),n&&kS(e,n),e}function So(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nc(e){return Nc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nc(e)}function unt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ov(e,t)}function lnt(e,t){return t&&(cnt(t)==="object"||typeof t=="function")?t:nnt(e)}function Ov(e,t){return Ov=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ov(e,t)}function cnt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(FS=function(){return!!e})()}var To=function(e){unt(t,e);function t(n){rnt(this,t);var o;return o=ont(this,t,[n]),So(o,"props",void 0),o.props=new Eo(n==null?void 0:n.props),o}return int(t,null,[{key:"controlName",get:function(){return f("CMD.listView",null,"\u5217\u8868\u5BB9\u5668")}},{key:"controlType",get:function(){return"list-view"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),t}(nt);So(To,"slotPosition",{left:"list-view-left-slot"}),So(To,"excludes",[p.ROW]),So(To,"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"]),So(To,"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 ant(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fnt(e,t,n){return t=Vc(t),dnt(e,MS()?Reflect.construct(t,n||[],Vc(e).constructor):t.apply(e,n))}function _nt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function snt(e,t,n){return t&&xS(e.prototype,t),n&&xS(e,n),e}function ynt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vc(e){return Vc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vc(e)}function pnt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wv(e,t)}function dnt(e,t){return t&&(vnt(t)==="object"||typeof t=="function")?t:ant(e)}function wv(e,t){return wv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wv(e,t)}function vnt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(MS=function(){return!!e})()}var hnt=function(e){pnt(t,e);function t(n){_nt(this,t);var o;return o=fnt(this,t,[n]),ynt(o,"props",void 0),o.props=new Eo(n==null?void 0:n.props),o}return snt(t,null,[{key:"controlType",get:function(){return"list-view"}}]),t}(we),bnt={Designer:To,Runtime:hnt,Property:Eo};function mnt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CS(e,t,n){return t=zc(t),gnt(e,NS()?Reflect.construct(t,n||[],zc(e).constructor):t.apply(e,n))}function LS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function he(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zc(e){return zc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zc(e)}function jS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$v(e,t)}function gnt(e,t){return t&&(Ont(t)==="object"||typeof t=="function")?t:mnt(e)}function $v(e,t){return $v=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$v(e,t)}function Ont(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(NS=function(){return!!e})()}var wnt=function(e){jS(t,e);function t(n){LS(this,t);var o;return o=CS(this,t,[n]),o.push({type:"object",fields:{}}),o}return t}(Oe),Hc=function(e){jS(t,e);function t(n){LS(this,t);var o;o=CS(this,t,[n]),he(o,"save",void 0),he(o,"cancel",void 0),he(o,"saveAs",void 0),he(o,"print",void 0),he(o,"custom",void 0),he(o,"isLoading",void 0),he(o,"datasourceBind",void 0);var r;o.save=new ce((r=n==null?void 0:n.save)!==null&&r!==void 0?r:{content:f("CMD.save",null,"\u4FDD\u5B58"),type:"save",isShow:!1});var i;o.cancel=new ce((i=n==null?void 0:n.cancel)!==null&&i!==void 0?i:{content:f("CMD.cancel",null,"\u53D6\u6D88"),type:"cancel",isShow:!1});var u;o.saveAs=new ce((u=n==null?void 0:n.saveAs)!==null&&u!==void 0?u:{content:f("CMD.draft",null,"\u4FDD\u5B58\u8349\u7A3F"),type:"saveAs",isShow:!1});var l;o.print=new ce((l=n==null?void 0:n.print)!==null&&l!==void 0?l:{content:f("CMD.print",null,"\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 ce(_)});var c;return o.isLoading=(c=n==null?void 0:n.isLoading)!==null&&c!==void 0?c:!1,o.datasourceBind=new X(n==null?void 0:n.datasourceBind),o}return t}(et);he(Hc,"RuntimeRules",wnt);function $nt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pnt(e,t,n){return t=qc(t),Rnt(e,HS()?Reflect.construct(t,n||[],qc(e).constructor):t.apply(e,n))}function Ent(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Snt(e,t,n){return t&&VS(e.prototype,t),n&&VS(e,n),e}function zS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qc(e){return qc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qc(e)}function Tnt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pv(e,t)}function Rnt(e,t){return t&&(Bnt(t)==="object"||typeof t=="function")?t:$nt(e)}function Pv(e,t){return Pv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Pv(e,t)}function Bnt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(HS=function(){return!!e})()}var qS=function(e){Tnt(t,e);function t(n){Ent(this,t);var o;return o=Pnt(this,t,[n]),zS(o,"props",void 0),o.props=new Hc(n==null?void 0:n.props),o}return Snt(t,null,[{key:"controlName",get:function(){return f("CMD.dataView",null,"\u6570\u636E\u5BB9\u5668")}},{key:"controlType",get:function(){return"data-view"}}]),t}(nt);zS(qS,"excludes",[]);function Dnt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ant(e,t,n){return t=Uc(t),Mnt(e,WS()?Reflect.construct(t,n||[],Uc(e).constructor):t.apply(e,n))}function Int(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function US(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function knt(e,t,n){return t&&US(e.prototype,t),n&&US(e,n),e}function Fnt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Uc(e){return Uc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Uc(e)}function xnt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ev(e,t)}function Mnt(e,t){return t&&(Cnt(t)==="object"||typeof t=="function")?t:Dnt(e)}function Ev(e,t){return Ev=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ev(e,t)}function Cnt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(WS=function(){return!!e})()}var Lnt=function(e){xnt(t,e);function t(n){Int(this,t);var o;return o=Ant(this,t,[n]),Fnt(o,"props",void 0),o.props=new Hc(n==null?void 0:n.props),o}return knt(t,null,[{key:"controlType",get:function(){return"data-view"}}]),t}(we),jnt={Designer:qS,Runtime:Lnt,Property:Hc};function Nnt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vnt(e,t,n){return t=Wc(t),qnt(e,KS()?Reflect.construct(t,n||[],Wc(e).constructor):t.apply(e,n))}function znt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wc(e){return Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wc(e)}function Hnt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tv(e,t)}function qnt(e,t){return t&&(Unt(t)==="object"||typeof t=="function")?t:Nnt(e)}function Tv(e,t){return Tv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Tv(e,t)}function Unt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(KS=function(){return!!e})()}var Wnt=function(e){Hnt(t,e);function t(n){znt(this,t);var o;o=Vnt(this,t,[n]),Sv(o,"position",void 0),Sv(o,"opacity",void 0),Sv(o,"align",void 0);var r;o.position=(r=n==null?void 0:n.position)!==null&&r!==void 0?r:"bottom";var i;o.opacity=(i=n==null?void 0:n.opacity)!==null&&i!==void 0?i:!0;var u;return o.align=(u=n==null?void 0:n.align)!==null&&u!==void 0?u:"right",o}return t}(et);function Knt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gnt(e,t,n){return t=Gc(t),Znt(e,XS()?Reflect.construct(t,n||[],Gc(e).constructor):t.apply(e,n))}function Xnt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Qnt(e,t,n){return t&&GS(e.prototype,t),n&&GS(e,n),e}function Kc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gc(e){return Gc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gc(e)}function Jnt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rv(e,t)}function Znt(e,t){return t&&(Ynt(t)==="object"||typeof t=="function")?t:Knt(e)}function Rv(e,t){return Rv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rv(e,t)}function Ynt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(XS=function(){return!!e})()}var Bv=function(e){Jnt(t,e);function t(n){Xnt(this,t);var o;o=Gnt(this,t,[n]),Kc(o,"props",void 0);var r;return o.props=new Wnt((r=n==null?void 0:n.props)!==null&&r!==void 0?r:{}),o}return Qnt(t,null,[{key:"controlName",get:function(){return f("CMD.actionBar",null,"\u6309\u94AE\u64CD\u4F5C\u680F")}},{key:"controlType",get:function(){return"action-bar"}},{key:"controlIcon",get:function(){return"action-bar"}}]),t}(nt);Kc(Bv,"slotPosition",{default:"action-bar-slot"}),Kc(Bv,"excludes",[]),Kc(Bv,"setting",[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}]);function tot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dv(e,t,n){return t=Xc(t),eot(e,QS()?Reflect.construct(t,n||[],Xc(e).constructor):t.apply(e,n))}function Av(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function B(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xc(e){return Xc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xc(e)}function Iv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kv(e,t)}function eot(e,t){return t&&(not(t)==="object"||typeof t=="function")?t:tot(e)}function kv(e,t){return kv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kv(e,t)}function not(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(QS=function(){return!!e})()}var oot=function(e){Iv(t,e);function t(n){Av(this,t);var o;return o=Dv(this,t,[n]),B(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),B(o,"limitRows",[{type:"number",required:!0,message:f("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")},{type:"number",min:0,message:f("CMD.limitRowsCannotBeLessThan0",null,"\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0")}]),B(o,"formKey",{type:"string",required:!1,message:f("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}),B(o,"maxHeight",{type:"number",required:!0,message:f("CMD.pleaseEnterMaxHeight",null,"\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6")}),B(o,"captionTip",{type:"string",required:!1,message:f("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")}),B(o,"mobileRowCaption",{type:"string",required:!1,message:f("CMD.pleaseEnterRowCaption",null,"\u8BF7\u8F93\u5165\u884C\u6807\u9898")}),n.openType==="modal"&&(o.formKey.required=!0),n.isShowCaptionTip&&(o.captionTip.required=!0),n.mobileShowType==="tile"&&(o.mobileRowCaption.required=!0),o}return t}(U),rot=function(e){Iv(t,e);function t(n){Av(this,t);var o;return o=Dv(this,t,[n]),n.isHide||o.push({type:"array",required:n.limitRows>0,message:f("CMD.runtimeRequired",{caption:n.caption},"{caption}\u5FC5\u586B")},{type:"array",validator:function(i,u,l){u.length<n.limitRows&&l(f("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")),l()},message:f("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")}),o}return t}(Oe),Fv=function(e){Iv(t,e);function t(n,o){Av(this,t);var r;r=Dv(this,t,[n,o,t.mode]),B(r,"caption",void 0),B(r,"labelPosition",void 0),B(r,"isHideCaption",void 0),B(r,"isShowCaptionTip",void 0),B(r,"captionTip",void 0),B(r,"defaultState",void 0),B(r,"limitRows",void 0),B(r,"maxRows",void 0),B(r,"defaultRows",void 0),B(r,"datasourceBind",void 0),B(r,"printMode",void 0),B(r,"openType",void 0),B(r,"formKey",void 0),B(r,"useCustomHeight",void 0),B(r,"maxHeight",void 0),B(r,"canAdd",void 0),B(r,"canDelete",void 0),B(r,"canCheck",void 0),B(r,"canEdit",void 0),B(r,"canImport",void 0),B(r,"importConfig",void 0),B(r,"canExport",void 0),B(r,"exportConfig",void 0),B(r,"canClear",void 0),B(r,"isPaste",void 0),B(r,"mobileShowType",void 0),B(r,"mobileDefaultNum",void 0),B(r,"dataStorageDoc",void 0),B(r,"serverPagination",void 0),B(r,"fixedColumn",void 0),B(r,"mobileRowCaption",void 0),B(r,"mobileIsTile",void 0),B(r,"sortable",void 0),B(r,"sortKey",void 0);var i;r.caption=(i=o==null?void 0:o.caption)!==null&&i!==void 0?i:Zc.controlName;var u;r.isHideCaption=(u=o==null?void 0:o.isHideCaption)!==null&&u!==void 0?u:!1;var l;r.defaultState=(l=o==null?void 0:o.defaultState)!==null&&l!==void 0?l:"default";var a;r.labelPosition=(a=o==null?void 0:o.labelPosition)!==null&&a!==void 0?a:"top";var c;r.openType=(c=o==null?void 0:o.openType)!==null&&c!==void 0?c:"default";var _;r.formKey=(_=o==null?void 0:o.formKey)!==null&&_!==void 0?_:"";var y;r.useCustomHeight=(y=o==null?void 0:o.useCustomHeight)!==null&&y!==void 0?y:!1;var d;r.maxHeight=(d=o==null?void 0:o.maxHeight)!==null&&d!==void 0?d:q7;var m;r.printMode=(m=o==null?void 0:o.printMode)!==null&&m!==void 0?m:"row";var g;r.limitRows=(g=o==null?void 0:o.limitRows)!==null&&g!==void 0?g:1;var b;r.maxRows=(b=o==null?void 0:o.maxRows)!==null&&b!==void 0?b:null;var $;r.defaultRows=($=o==null?void 0:o.defaultRows)!==null&&$!==void 0?$:1,r.datasourceBind=new X(o==null?void 0:o.datasourceBind);var v;r.canAdd=(v=o==null?void 0:o.canAdd)!==null&&v!==void 0?v:!0;var w;r.canDelete=(w=o==null?void 0:o.canDelete)!==null&&w!==void 0?w:!0;var T;r.canCheck=(T=o==null?void 0:o.canCheck)!==null&&T!==void 0?T:!1;var E;r.canEdit=(E=o==null?void 0:o.canEdit)!==null&&E!==void 0?E:!1;var R;r.canImport=(R=o==null?void 0:o.canImport)!==null&&R!==void 0?R:!1;var z;r.canExport=(z=o==null?void 0:o.canExport)!==null&&z!==void 0?z:!1;var A;r.canClear=(A=o==null?void 0:o.canClear)!==null&&A!==void 0?A:!0;var ct;r.serverPagination=(ct=o==null?void 0:o.serverPagination)!==null&&ct!==void 0?ct:!1;var D;r.isShowCaptionTip=(D=o==null?void 0:o.isShowCaptionTip)!==null&&D!==void 0?D:!1;var Wt;r.captionTip=(Wt=o==null?void 0:o.captionTip)!==null&&Wt!==void 0?Wt:"";var xo;r.mobileShowType=(xo=o==null?void 0:o.mobileShowType)!==null&&xo!==void 0?xo:"list";var Kn;r.mobileDefaultNum=(Kn=o==null?void 0:o.mobileDefaultNum)!==null&&Kn!==void 0?Kn:10;var Fe;r.dataStorageDoc=(Fe=o==null?void 0:o.dataStorageDoc)!==null&&Fe!==void 0?Fe:new Bx;var Kt;r.fixedColumn=(Kt=o==null?void 0:o.fixedColumn)!==null&&Kt!==void 0?Kt:[];var m0;r.mobileRowCaption=(m0=o==null?void 0:o.mobileRowCaption)!==null&&m0!==void 0?m0:f("CMD.detailed",null,"\u660E\u7EC6");var g0;r.mobileIsTile=(g0=o==null?void 0:o.mobileIsTile)!==null&&g0!==void 0?g0:!1;var O0;r.isPaste=(O0=o==null?void 0:o.isPaste)!==null&&O0!==void 0?O0:!1;var w0;r.pageSize=(w0=o==null?void 0:o.pageSize)!==null&&w0!==void 0?w0:10;var $0;r.pageSizeOptions=($0=o==null?void 0:o.pageSizeOptions)!==null&&$0!==void 0?$0:[10,20,50,100],r.importConfig=new z7(o==null?void 0:o.importConfig),r.exportConfig=new H7(o==null?void 0:o.exportConfig);var P0;r.sortable=(P0=o==null?void 0:o.sortable)!==null&&P0!==void 0?P0:!1;var E0;return r.sortKey=(E0=o==null?void 0:o.sortKey)!==null&&E0!==void 0?E0:{},r}return t}(Yf);B(Fv,"Rules",oot),B(Fv,"RuntimeRules",rot);function iot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uot(e,t,n){return t=Jc(t),fot(e,ZS()?Reflect.construct(t,n||[],Jc(e).constructor):t.apply(e,n))}function lot(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function cot(e,t,n){return t&&JS(e.prototype,t),n&&JS(e,n),e}function Qc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jc(e){return Jc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jc(e)}function aot(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xv(e,t)}function fot(e,t){return t&&(_ot(t)==="object"||typeof t=="function")?t:iot(e)}function xv(e,t){return xv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xv(e,t)}function _ot(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ZS=function(){return!!e})()}var Zc=function(e){aot(t,e);function t(n){lot(this,t);var o,r;return o=uot(this,t,[n]),Qc(o,"props",void 0),o.props=new Fv(o,n==null?void 0:n.props),(n==null||(r=n.props)===null||r===void 0?void 0:r.headers)===void 0&&(o.props.headers=[new jt,new jt,new jt]),o}return cot(t,[{key:"addColumn",value:function(o,r){var i=o!==void 0&&typeof o!="number"?o:new jt,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 f("CMD.subTable",null,"\u660E\u7EC6\u5B50\u8868")}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),t}(n_);Qc(Zc,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),Qc(Zc,"slotPosition",{toolbar:"subtable-toolbar-slot"}),Qc(Zc,"setting",[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP,s.IS_PASTE,s.SERVER_PAGINATION,s.SORTABLE]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"max-rows",visible:!0},{key:"list-pager",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}]);function sot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yot(e,t,n){return t=Yc(t),vot(e,YS()?Reflect.construct(t,n||[],Yc(e).constructor):t.apply(e,n))}function pot(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ro(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yc(e){return Yc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yc(e)}function dot(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mv(e,t)}function vot(e,t){return t&&(hot(t)==="object"||typeof t=="function")?t:sot(e)}function Mv(e,t){return Mv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Mv(e,t)}function hot(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(YS=function(){return!!e})()}var bot=function(e){dot(t,e);function t(n,o){pot(this,t);var r;r=yot(this,t,[n,o]),Ro(r,"isFixedHeader",void 0),Ro(r,"selectionType",void 0),Ro(r,"isShowToolbar",void 0),Ro(r,"isShowSelection",void 0),Ro(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 l;r.isShowSelection=(l=o==null?void 0:o.isShowSelection)!==null&&l!==void 0?l:!1;var a;r.isShowCustomColumns=(a=o==null?void 0:o.isShowCustomColumns)!==null&&a!==void 0?a:!0;var c;return r.pageSizeOptions=(c=o==null?void 0:o.pageSizeOptions)!==null&&c!==void 0?c:[10,20,50,100,500],r}return t}(Yf);function mot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tT(e,t,n){return t=ta(t),Oot(e,oT()?Reflect.construct(t,n||[],ta(e).constructor):t.apply(e,n))}function eT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function got(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ta(e){return ta=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ta(e)}function nT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cv(e,t)}function Oot(e,t){return t&&(wot(t)==="object"||typeof t=="function")?t:mot(e)}function Cv(e,t){return Cv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cv(e,t)}function wot(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(oT=function(){return!!e})()}var $ot=function(e){nT(t,e);function t(n){eT(this,t);var o;return o=tT(this,t,[n]),o.caption.required=!1,o}return t}(Zt),Lv=function(e){nT(t,e);function t(n){eT(this,t);var o,r,i;o=tT(this,t,[n]);var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:"left";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:_n.controlName;var a;o.width=(a=n==null?void 0:n.width)!==null&&a!==void 0?a:60;var c;o.autoWidth.minWidth=(c=n==null||(r=n.autoWidth)===null||r===void 0?void 0:r.minWidth)!==null&&c!==void 0?c:60;var _;o.autoWidth.flex=(_=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.flex)!==null&&_!==void 0?_:.4;var y;return o.widthType=(y=n==null?void 0:n.widthType)!==null&&y!==void 0?y:"px",o}return t}(K);got(Lv,"Rules",$ot);function Pot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Eot(e,t,n){return t=ea(t),Rot(e,rT()?Reflect.construct(t,n||[],ea(e).constructor):t.apply(e,n))}function Sot(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ea(e){return ea=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ea(e)}function Tot(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jv(e,t)}function Rot(e,t){return t&&(Bot(t)==="object"||typeof t=="function")?t:Pot(e)}function jv(e,t){return jv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jv(e,t)}function Bot(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(rT=function(){return!!e})()}var _n=function(e){Tot(t,e);function t(n){Sot(this,t);var o;return o=Eot(this,t,[n]),Bo(o,"props",void 0),o.props=new Lv(n==null?void 0:n.props),o}return t}(rt);Bo(_n,"controlType","order-column"),Bo(_n,"controlName",f("CMD.order",null,"\u5E8F\u53F7")),Bo(_n,"controlIcon","order-column"),Bo(_n,"setting",[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"super-setting",visible:!0}]);function Dot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Aot(e,t,n){return t=na(t),Fot(e,iT()?Reflect.construct(t,n||[],na(e).constructor):t.apply(e,n))}function Iot(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function na(e){return na=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},na(e)}function kot(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vv(e,t)}function Fot(e,t){return t&&(xot(t)==="object"||typeof t=="function")?t:Dot(e)}function Vv(e,t){return Vv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vv(e,t)}function xot(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(iT=function(){return!!e})()}var uT=function(e){kot(t,e);function t(n){Iot(this,t);var o;return o=Aot(this,t,[n]),Nv(o,"props",void 0),o.props=new Lv(n==null?void 0:n.props),o}return t}(it);Nv(uT,"controlType","order-column"),Nv(uT,"controlFieldType",O.DECIMAL);function Mot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cot(e,t,n){return t=oa(t),Not(e,cT()?Reflect.construct(t,n||[],oa(e).constructor):t.apply(e,n))}function Lot(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lT(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oa(e){return oa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oa(e)}function jot(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zv(e,t)}function Not(e,t){return t&&(Vot(t)==="object"||typeof t=="function")?t:Mot(e)}function zv(e,t){return zv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zv(e,t)}function Vot(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(cT=function(){return!!e})()}var aT=function(e){jot(t,e);function t(n){Lot(this,t);var o,r;o=Cot(this,t,[n]),lT(o,"showType",void 0),lT(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 l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:sn.controlName;var a;o.showType=(a=n==null?void 0:n.showType)!==null&&a!==void 0?a:"icon";var c;return o.limit=(c=n==null?void 0:n.limit)!==null&&c!==void 0?c:3,o}return t}(K);function zot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fT(e,t,n,o,r,i,u){try{var l=e[i](u),a=l.value}catch(c){n(c);return}l.done?t(a):Promise.resolve(a).then(o,r)}function Hot(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(a){fT(i,o,r,u,l,"next",a)}function l(a){fT(i,o,r,u,l,"throw",a)}u(void 0)})}}function qot(e,t,n){return t=De(t),Got(e,sT()?Reflect.construct(t,n||[],De(e).constructor):t.apply(e,n))}function Uot(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _T(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Wot(e,t,n){return t&&_T(e.prototype,t),n&&_T(e,n),e}function Do(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ao(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Ao=Reflect.get:Ao=function(r,i,u){var l=Xot(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},Ao(e,t,n||e)}function De(e){return De=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},De(e)}function Kot(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hv(e,t)}function Got(e,t){return t&&(Qot(t)==="object"||typeof t=="function")?t:zot(e)}function Hv(e,t){return Hv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hv(e,t)}function Xot(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=De(e),e!==null););return e}function Qot(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(sT=function(){return!!e})()}function Jot(e,t){var n,o,r,i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},u=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return u.next=l(0),u.throw=l(1),u.return=l(2),typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function l(c){return function(_){return a([c,_])}}function a(c){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,c[0]&&(i=0)),i;)try{if(n=1,o&&(r=c[0]&2?o.return:c[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,c[1])).done)return r;switch(o=0,r&&(c=[c[0]&2,r.value]),c[0]){case 0:case 1:r=c;break;case 4:return i.label++,{value:c[1],done:!1};case 5:i.label++,o=c[1],c=[0];continue;case 7:c=i.ops.pop(),i.trys.pop();continue;default:if(r=i.trys,!(r=r.length>0&&r[r.length-1])&&(c[0]===6||c[0]===2)){i=0;continue}if(c[0]===3&&(!r||c[1]>r[0]&&c[1]<r[3])){i.label=c[1];break}if(c[0]===6&&i.label<r[1]){i.label=r[1],r=c;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(c);break}r[2]&&i.ops.pop(),i.trys.pop();continue}c=t.call(e,i)}catch(_){c=[6,_],o=0}finally{n=r=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var sn=function(e){Kot(t,e);function t(n){Uot(this,t);var o;return o=qot(this,t,[n]),Do(o,"props",void 0),o.props=new aT(n==null?void 0:n.props),o}return Wot(t,[{key:"toDataBindModel",value:function(){var o=Ao(De(t.prototype),"toDataBindModel",this).call(this);return this.children.map(function(r){if(r.type===hi.controlType){var i=r;o.props[i.props.command]=i.props}}),o}},{key:"validate",value:function(o,r){var i=this,u=this,l=function(){return Ao(De(t.prototype),"validate",i)};return Hot(function(){return Jot(this,function(a){switch(a.label){case 0:return[4,l().call(u,o,r)];case 1:return a.sent(),[4,Promise.all(this.children.map(function(c){return c.validate(o,r)}))];case 2:return a.sent(),[2,!0]}})}).call(this)}}]),t}(rt);Do(sn,"controlType","operation-column"),Do(sn,"controlName",f("CMD.operation",null,"\u64CD\u4F5C")),Do(sn,"controlIcon","operation-column"),Do(sn,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}]);function Zot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yot(e,t,n){return t=ra(t),nrt(e,yT()?Reflect.construct(t,n||[],ra(e).constructor):t.apply(e,n))}function trt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ra(e){return ra=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ra(e)}function ert(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uv(e,t)}function nrt(e,t){return t&&(ort(t)==="object"||typeof t=="function")?t:Zot(e)}function Uv(e,t){return Uv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Uv(e,t)}function ort(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(yT=function(){return!!e})()}var pT=function(e){ert(t,e);function t(n){trt(this,t);var o;return o=Yot(this,t,[n]),qv(o,"props",void 0),o.props=new aT(n==null?void 0:n.props),o}return t}(it);qv(pT,"controlType","operation-column"),qv(pT,"controlFieldType",O.FILE);function rrt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dT(e,t,n,o,r,i,u){try{var l=e[i](u),a=l.value}catch(c){n(c);return}l.done?t(a):Promise.resolve(a).then(o,r)}function irt(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(a){dT(i,o,r,u,l,"next",a)}function l(a){dT(i,o,r,u,l,"throw",a)}u(void 0)})}}function urt(e,t,n){return t=Ae(t),prt(e,hT()?Reflect.construct(t,n||[],Ae(e).constructor):t.apply(e,n))}function lrt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vT(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function crt(e,t,n){return t&&vT(e.prototype,t),n&&vT(e,n),e}function oe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Io(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Io=Reflect.get:Io=function(r,i,u){var l=drt(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},Io(e,t,n||e)}function Ae(e){return Ae=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ae(e)}function art(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wv(e,t)}function frt(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function _rt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){oe(e,r,n[r])})}return e}function srt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function yrt(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):srt(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function prt(e,t){return t&&(vrt(t)==="object"||typeof t=="function")?t:rrt(e)}function Wv(e,t){return Wv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wv(e,t)}function drt(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ae(e),e!==null););return e}function vrt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(hT=function(){return!!e})()}function hrt(e,t){var n,o,r,i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},u=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return u.next=l(0),u.throw=l(1),u.return=l(2),typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function l(c){return function(_){return a([c,_])}}function a(c){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,c[0]&&(i=0)),i;)try{if(n=1,o&&(r=c[0]&2?o.return:c[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,c[1])).done)return r;switch(o=0,r&&(c=[c[0]&2,r.value]),c[0]){case 0:case 1:r=c;break;case 4:return i.label++,{value:c[1],done:!1};case 5:i.label++,o=c[1],c=[0];continue;case 7:c=i.ops.pop(),i.trys.pop();continue;default:if(r=i.trys,!(r=r.length>0&&r[r.length-1])&&(c[0]===6||c[0]===2)){i=0;continue}if(c[0]===3&&(!r||c[1]>r[0]&&c[1]<r[3])){i.label=c[1];break}if(c[0]===6&&i.label<r[1]){i.label=r[1],r=c;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(c);break}r[2]&&i.ops.pop(),i.trys.pop();continue}c=t.call(e,i)}catch(_){c=[6,_],o=0}finally{n=r=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var brt=1e4,ia=function(t){art(n,t);function n(o){lrt(this,n);var r;r=urt(this,n,[o]),oe(r,"props",void 0),oe(r,"children",void 0),oe(r,"excludes",void 0),oe(r,"childrenMaxLength",void 0);var i=frt(this,n)?this.constructor:void 0,u=i.excludes,l=i.childrenMaxLength;return r.props=new bot(r,o==null?void 0:o.props),Gt(r,"children",o==null?void 0:o.children,void 0,"Designer"),(o==null?void 0:o.props.headers)===void 0&&(r.props.headers=[new _n,new sn]),r.excludes=kt(u),r.childrenMaxLength=l,r}return crt(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:"toSchema",value:function(){var r=Io(Ae(n.prototype),"toSchema",this).call(this),i=this.children.map(function(u){return u.toSchema()});return yrt(_rt({},r),{children:i})}},{key:"validate",value:function(r,i){var u=this,l=this,a=function(){return Io(Ae(n.prototype),"validate",u)};return irt(function(){return hrt(this,function(c){switch(c.label){case 0:return[4,a().call(l,r,i)];case 1:return c.sent(),[4,Promise.all(this.children.map(function(_){return _.validate(r,i)}))];case 2:return c.sent(),[2,!0]}})}).call(this)}}],[{key:"controlName",get:function(){return f("CMD.gridTable",null,"\u8868\u683C")}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),n}(n_);oe(ia,"slotPosition",{toolbar:"grid-table-toolbar-slot"}),oe(ia,"setting",[{key:"list-fixed-header",visible:!0}]),oe(ia,"excludes",[]),oe(ia,"childrenMaxLength",brt);function mrt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bT(e,t,n){return t=ua(t),grt(e,OT()?Reflect.construct(t,n||[],ua(e).constructor):t.apply(e,n))}function mT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function be(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ua(e){return ua=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ua(e)}function gT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kv(e,t)}function grt(e,t){return t&&(Ort(t)==="object"||typeof t=="function")?t:mrt(e)}function Kv(e,t){return Kv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kv(e,t)}function Ort(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(OT=function(){return!!e})()}var wrt=function(e){gT(t,e);function t(n){mT(this,t);var o;return o=bT(this,t,[n]),ye.call(o,n),o}return t}(l_),Gv=function(e){gT(t,e);function t(n){mT(this,t);var o;o=bT(this,t,[n]),be(o,"optionConfig",void 0),be(o,"datasourceBind",void 0),be(o,"showLinkOperation",void 0),be(o,"linkOperationOption",void 0),be(o,"options",void 0),be(o,"lineEllipsis",void 0),be(o,"dictionaryTagConfig",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=Qt((u=n==null?void 0:n.options)!==null&&u!==void 0?u:[{}]);var l;o.showLinkOperation=(l=n==null?void 0:n.showLinkOperation)!==null&&l!==void 0?l:!1,o.linkOperationOption=new Xt(n==null?void 0:n.linkOperationOption);var a;o.lineEllipsis=(a=n==null?void 0:n.lineEllipsis)!==null&&a!==void 0?a:1;var c;return o.dictionaryTagConfig=(c=n==null?void 0:n.dictionaryTagConfig)!==null&&c!==void 0?c:{isTag:!1},o}return t}(K);be(Gv,"Rules",wrt);function $rt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Prt(e,t,n){return t=la(t),Trt(e,wT()?Reflect.construct(t,n||[],la(e).constructor):t.apply(e,n))}function Ert(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function la(e){return la=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},la(e)}function Srt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xv(e,t)}function Trt(e,t){return t&&(Rrt(t)==="object"||typeof t=="function")?t:$rt(e)}function Xv(e,t){return Xv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xv(e,t)}function Rrt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(wT=function(){return!!e})()}var pn=function(e){Srt(t,e);function t(n){Ert(this,t);var o;return o=Prt(this,t,[n]),yn(o,"props",void 0),o.props=new Gv(n==null?void 0:n.props),o}return t}(rt);yn(pn,"controlType","varchar-column"),yn(pn,"controlName",f("CMD.varchar",null,"\u77ED\u6587\u672C")),yn(pn,"controlIcon","varchar-column"),yn(pn,"controlFieldType",O.VARCHAR),yn(pn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"super-setting",visible:!0}]);function Brt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Drt(e,t,n){return t=ca(t),krt(e,$T()?Reflect.construct(t,n||[],ca(e).constructor):t.apply(e,n))}function Art(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ca(e){return ca=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ca(e)}function Irt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jv(e,t)}function krt(e,t){return t&&(Frt(t)==="object"||typeof t=="function")?t:Brt(e)}function Jv(e,t){return Jv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jv(e,t)}function Frt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $T(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return($T=function(){return!!e})()}var PT=function(e){Irt(t,e);function t(n){Art(this,t);var o;return o=Drt(this,t,[n]),Qv(o,"props",void 0),o.props=new Gv(n==null?void 0:n.props),o}return t}(it);Qv(PT,"controlType","varchar-column"),Qv(PT,"controlFieldType",O.VARCHAR);function xrt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ET(e,t,n){return t=aa(t),Mrt(e,RT()?Reflect.construct(t,n||[],aa(e).constructor):t.apply(e,n))}function ST(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ko(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function aa(e){return aa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},aa(e)}function TT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zv(e,t)}function Mrt(e,t){return t&&(Crt(t)==="object"||typeof t=="function")?t:xrt(e)}function Zv(e,t){return Zv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zv(e,t)}function Crt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(RT=function(){return!!e})()}var Lrt=function(e){TT(t,e);function t(n){ST(this,t);var o;return o=ET(this,t,[n]),ye.call(o,n),o}return t}(Zt),Yv=function(e){TT(t,e);function t(n){ST(this,t);var o;o=ET(this,t,[n]),ko(o,"escapeHTML",void 0),ko(o,"showLinkOperation",void 0),ko(o,"linkOperationOption",void 0),ko(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 l;return o.showLinkOperation=(l=n==null?void 0:n.showLinkOperation)!==null&&l!==void 0?l:!1,o.linkOperationOption=new Xt(n==null?void 0:n.linkOperationOption),o}return t}(K);ko(Yv,"Rules",Lrt);function jrt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nrt(e,t,n){return t=vn(t),qrt(e,DT()?Reflect.construct(t,n||[],vn(e).constructor):t.apply(e,n))}function Vrt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BT(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function zrt(e,t,n){return t&&BT(e.prototype,t),n&&BT(e,n),e}function dn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fa(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?fa=Reflect.get:fa=function(r,i,u){var l=Urt(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},fa(e,t,n||e)}function vn(e){return vn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vn(e)}function Hrt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&th(e,t)}function qrt(e,t){return t&&(Wrt(t)==="object"||typeof t=="function")?t:jrt(e)}function th(e,t){return th=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},th(e,t)}function Urt(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=vn(e),e!==null););return e}function Wrt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(DT=function(){return!!e})()}var hn=function(e){Hrt(t,e);function t(n){Vrt(this,t);var o;return o=Nrt(this,t,[n]),dn(o,"props",void 0),o.props=new Yv(n==null?void 0:n.props),o}return zrt(t,[{key:"toDataBindModel",value:function(o){var r=fa(vn(t.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.escapeHTML;r.props.escapeHTML=i}return r}}]),t}(rt);dn(hn,"controlType","text-column"),dn(hn,"controlName",f("CMD.long",null,"\u957F\u6587\u672C")),dn(hn,"controlIcon","text-column"),dn(hn,"controlFieldType",O.TEXT),dn(hn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"super-setting",visible:!0}]);function Krt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Grt(e,t,n){return t=_a(t),Jrt(e,AT()?Reflect.construct(t,n||[],_a(e).constructor):t.apply(e,n))}function Xrt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _a(e){return _a=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_a(e)}function Qrt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nh(e,t)}function Jrt(e,t){return t&&(Zrt(t)==="object"||typeof t=="function")?t:Krt(e)}function nh(e,t){return nh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},nh(e,t)}function Zrt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(AT=function(){return!!e})()}var IT=function(e){Qrt(t,e);function t(n){Xrt(this,t);var o;return o=Grt(this,t,[n]),eh(o,"props",void 0),o.props=new Yv(n==null?void 0:n.props),o}return t}(it);eh(IT,"controlType","text-column"),eh(IT,"controlFieldType",O.TEXT);function Yrt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kT(e,t,n){return t=sa(t),tit(e,MT()?Reflect.construct(t,n||[],sa(e).constructor):t.apply(e,n))}function FT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sa(e){return sa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sa(e)}function xT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&oh(e,t)}function tit(e,t){return t&&(eit(t)==="object"||typeof t=="function")?t:Yrt(e)}function oh(e,t){return oh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},oh(e,t)}function eit(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(MT=function(){return!!e})()}var nit=function(e){xT(t,e);function t(n){FT(this,t);var o;return o=kT(this,t,[n]),ye.call(o,n),o}return t}(l_),rh=function(e){xT(t,e);function t(n){FT(this,t);var o;o=kT(this,t,[n]),re(o,"optionConfig",void 0),re(o,"datasourceBind",void 0),re(o,"showLinkOperation",void 0),re(o,"linkOperationOption",void 0),re(o,"options",void 0),re(o,"precision",void 0),re(o,"micrometer",void 0),re(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 l;o.percentageFormat=(l=n==null?void 0:n.percentageFormat)!==null&&l!==void 0?l:!1;var a;o.optionConfig=(a=n==null?void 0:n.optionConfig)!==null&&a!==void 0?a:"none",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var c;o.options=Qt((c=n==null?void 0:n.options)!==null&&c!==void 0?c:[{}]);var _;return o.showLinkOperation=(_=n==null?void 0:n.showLinkOperation)!==null&&_!==void 0?_:!1,o.linkOperationOption=new Xt(n==null?void 0:n.linkOperationOption),o}return t}(K);re(rh,"Rules",nit);function oit(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rit(e,t,n){return t=mn(t),cit(e,LT()?Reflect.construct(t,n||[],mn(e).constructor):t.apply(e,n))}function iit(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CT(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function uit(e,t,n){return t&&CT(e.prototype,t),n&&CT(e,n),e}function bn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ya(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?ya=Reflect.get:ya=function(r,i,u){var l=ait(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},ya(e,t,n||e)}function mn(e){return mn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mn(e)}function lit(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ih(e,t)}function cit(e,t){return t&&(fit(t)==="object"||typeof t=="function")?t:oit(e)}function ih(e,t){return ih=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ih(e,t)}function ait(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=mn(e),e!==null););return e}function fit(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(LT=function(){return!!e})()}var gn=function(e){lit(t,e);function t(n){iit(this,t);var o;return o=rit(this,t,[n]),bn(o,"props",void 0),o.props=new rh(n==null?void 0:n.props),o}return uit(t,[{key:"toDataBindModel",value:function(o){var r=ya(mn(t.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props,u=i.precision,l=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=l}return r}}]),t}(rt);bn(gn,"controlType","decimal-column"),bn(gn,"controlName",f("CMD.decimal",null,"\u6570\u503C")),bn(gn,"controlIcon","decimal-column"),bn(gn,"controlFieldType",O.DECIMAL),bn(gn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[s.MICROMETER,s.PRECISION,s.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"super-setting",visible:!0}]);function _it(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sit(e,t,n){return t=pa(t),dit(e,jT()?Reflect.construct(t,n||[],pa(e).constructor):t.apply(e,n))}function yit(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pa(e){return pa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pa(e)}function pit(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lh(e,t)}function dit(e,t){return t&&(vit(t)==="object"||typeof t=="function")?t:_it(e)}function lh(e,t){return lh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},lh(e,t)}function vit(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(jT=function(){return!!e})()}var NT=function(e){pit(t,e);function t(n){yit(this,t);var o;return o=sit(this,t,[n]),uh(o,"props",void 0),o.props=new rh(n==null?void 0:n.props),o}return t}(it);uh(NT,"controlType","decimal-column"),uh(NT,"controlFieldType",O.DECIMAL);function hit(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VT(e,t,n){return t=va(t),bit(e,qT()?Reflect.construct(t,n||[],va(e).constructor):t.apply(e,n))}function zT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function da(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function va(e){return va=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},va(e)}function HT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ch(e,t)}function bit(e,t){return t&&(mit(t)==="object"||typeof t=="function")?t:hit(e)}function ch(e,t){return ch=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ch(e,t)}function mit(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(qT=function(){return!!e})()}var git=function(e){HT(t,e);function t(n){zT(this,t);var o;return o=VT(this,t,[n]),ye.call(o,n),o}return t}(Zt),ah=function(e){HT(t,e);function t(n){zT(this,t);var o;o=VT(this,t,[n]),da(o,"dateType",void 0),da(o,"showLinkOperation",void 0),da(o,"linkOperationOption",void 0);var r;o.dateType=(r=n==null?void 0:n.dateType)!==null&&r!==void 0?r:Me.DATE;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Xt(n==null?void 0:n.linkOperationOption);var u;return o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:$n.controlName,o}return t}(K);da(ah,"Rules",git);function Oit(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wit(e,t,n){return t=wn(t),Sit(e,WT()?Reflect.construct(t,n||[],wn(e).constructor):t.apply(e,n))}function $it(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UT(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Pit(e,t,n){return t&&UT(e.prototype,t),n&&UT(e,n),e}function On(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ha(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?ha=Reflect.get:ha=function(r,i,u){var l=Tit(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},ha(e,t,n||e)}function wn(e){return wn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wn(e)}function Eit(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fh(e,t)}function Sit(e,t){return t&&(Rit(t)==="object"||typeof t=="function")?t:Oit(e)}function fh(e,t){return fh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fh(e,t)}function Tit(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=wn(e),e!==null););return e}function Rit(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(WT=function(){return!!e})()}var $n=function(e){Eit(t,e);function t(n){$it(this,t);var o;return o=wit(this,t,[n]),On(o,"props",void 0),o.props=new ah(n==null?void 0:n.props),o}return Pit(t,[{key:"toDataBindModel",value:function(o){var r=ha(wn(t.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.dateType;r.props.dateType=i}return r}}]),t}(rt);On($n,"controlType","timescope-column"),On($n,"controlName",f("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")),On($n,"controlIcon","timescope-column"),On($n,"controlFieldType",O.TIMESCOPE),On($n,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}]);function Bit(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dit(e,t,n){return t=ba(t),kit(e,KT()?Reflect.construct(t,n||[],ba(e).constructor):t.apply(e,n))}function Ait(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ba(e){return ba=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ba(e)}function Iit(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sh(e,t)}function kit(e,t){return t&&(Fit(t)==="object"||typeof t=="function")?t:Bit(e)}function sh(e,t){return sh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sh(e,t)}function Fit(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(KT=function(){return!!e})()}var GT=function(e){Iit(t,e);function t(n){Ait(this,t);var o;return o=Dit(this,t,[n]),_h(o,"props",void 0),o.props=new ah(n==null?void 0:n.props),o}return t}(it);_h(GT,"controlType","timescope-column"),_h(GT,"controlFieldType",O.TIMESCOPE);function xit(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XT(e,t,n){return t=ga(t),Mit(e,ZT()?Reflect.construct(t,n||[],ga(e).constructor):t.apply(e,n))}function QT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ma(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ga(e){return ga=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ga(e)}function JT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yh(e,t)}function Mit(e,t){return t&&(Cit(t)==="object"||typeof t=="function")?t:xit(e)}function yh(e,t){return yh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yh(e,t)}function Cit(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ZT=function(){return!!e})()}var Lit=function(e){JT(t,e);function t(n){QT(this,t);var o;return o=XT(this,t,[n]),ye.call(o,n),o}return t}(Zt),ph=function(e){JT(t,e);function t(n){QT(this,t);var o;o=XT(this,t,[n]),ma(o,"dateType",void 0),ma(o,"showLinkOperation",void 0),ma(o,"linkOperationOption",void 0);var r;o.dateType=(r=n==null?void 0:n.dateType)!==null&&r!==void 0?r:Me.DATE;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Xt(n==null?void 0:n.linkOperationOption);var u;return o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Sn.controlName,o}return t}(K);ma(ph,"Rules",Lit);function jit(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nit(e,t,n){return t=En(t),qit(e,tR()?Reflect.construct(t,n||[],En(e).constructor):t.apply(e,n))}function Vit(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YT(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function zit(e,t,n){return t&&YT(e.prototype,t),n&&YT(e,n),e}function Pn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Oa(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Oa=Reflect.get:Oa=function(r,i,u){var l=Uit(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},Oa(e,t,n||e)}function En(e){return En=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},En(e)}function Hit(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dh(e,t)}function qit(e,t){return t&&(Wit(t)==="object"||typeof t=="function")?t:jit(e)}function dh(e,t){return dh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dh(e,t)}function Uit(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=En(e),e!==null););return e}function Wit(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tR=function(){return!!e})()}var Sn=function(e){Hit(t,e);function t(n){Vit(this,t);var o;return o=Nit(this,t,[n]),Pn(o,"props",void 0),o.props=new ph(n==null?void 0:n.props),o}return zit(t,[{key:"toDataBindModel",value:function(o){var r=Oa(En(t.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.dateType;r.props.dateType=i}return r}}]),t}(rt);Pn(Sn,"controlType","timestamp-column"),Pn(Sn,"controlName",f("CMD.timestamp",null,"\u65E5\u671F")),Pn(Sn,"controlIcon","timestamp-column"),Pn(Sn,"controlFieldType",O.TIMESTAMP),Pn(Sn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}]);function Kit(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Git(e,t,n){return t=wa(t),Jit(e,eR()?Reflect.construct(t,n||[],wa(e).constructor):t.apply(e,n))}function Xit(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wa(e){return wa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wa(e)}function Qit(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hh(e,t)}function Jit(e,t){return t&&(Zit(t)==="object"||typeof t=="function")?t:Kit(e)}function hh(e,t){return hh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hh(e,t)}function Zit(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(eR=function(){return!!e})()}var nR=function(e){Qit(t,e);function t(n){Xit(this,t);var o;return o=Git(this,t,[n]),vh(o,"props",void 0),o.props=new ph(n==null?void 0:n.props),o}return t}(it);vh(nR,"controlType","timestamp-column"),vh(nR,"controlFieldType",O.TIMESTAMP);function Yit(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oR(e,t,n){return t=$a(t),tut(e,uR()?Reflect.construct(t,n||[],$a(e).constructor):t.apply(e,n))}function rR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $a(e){return $a=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$a(e)}function iR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bh(e,t)}function tut(e,t){return t&&(eut(t)==="object"||typeof t=="function")?t:Yit(e)}function bh(e,t){return bh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},bh(e,t)}function eut(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(uR=function(){return!!e})()}var nut=function(e){iR(t,e);function t(n){rR(this,t);var o;return o=oR(this,t,[n]),ye.call(o,n),o}return t}(l_),mh=function(e){iR(t,e);function t(n){rR(this,t);var o;o=oR(this,t,[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 Xt(n==null?void 0:n.linkOperationOption);var l;return o.options=Qt((l=n==null?void 0:n.options)!==null&&l!==void 0?l:[{}]),o}return t}(K);Tn(mh,"Rules",nut);function out(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rut(e,t,n){return t=Pa(t),lut(e,lR()?Reflect.construct(t,n||[],Pa(e).constructor):t.apply(e,n))}function iut(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pa(e){return Pa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pa(e)}function uut(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gh(e,t)}function lut(e,t){return t&&(cut(t)==="object"||typeof t=="function")?t:out(e)}function gh(e,t){return gh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gh(e,t)}function cut(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(lR=function(){return!!e})()}var Bn=function(e){uut(t,e);function t(n){iut(this,t);var o;return o=rut(this,t,[n]),Rn(o,"props",void 0),o.props=new mh(n==null?void 0:n.props),o}return t}(rt);Rn(Bn,"controlType","array-column"),Rn(Bn,"controlName",f("CMD.array",null,"\u6570\u7EC4")),Rn(Bn,"controlIcon","array-column"),Rn(Bn,"controlFieldType",O.ARRAY),Rn(Bn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}]);function aut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fut(e,t,n){return t=Ea(t),yut(e,cR()?Reflect.construct(t,n||[],Ea(e).constructor):t.apply(e,n))}function _ut(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Oh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ea(e){return Ea=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ea(e)}function sut(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wh(e,t)}function yut(e,t){return t&&(put(t)==="object"||typeof t=="function")?t:aut(e)}function wh(e,t){return wh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wh(e,t)}function put(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(cR=function(){return!!e})()}var aR=function(e){sut(t,e);function t(n){_ut(this,t);var o;return o=fut(this,t,[n]),Oh(o,"props",void 0),o.props=new mh(n==null?void 0:n.props),o}return t}(it);Oh(aR,"controlType","array-column"),Oh(aR,"controlFieldType",O.ARRAY);function dut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vut(e,t,n){return t=Sa(t),gut(e,fR()?Reflect.construct(t,n||[],Sa(e).constructor):t.apply(e,n))}function hut(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function but(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sa(e){return Sa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sa(e)}function mut(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$h(e,t)}function gut(e,t){return t&&(Out(t)==="object"||typeof t=="function")?t:dut(e)}function $h(e,t){return $h=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$h(e,t)}function Out(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(fR=function(){return!!e})()}var _R=function(e){mut(t,e);function t(n){hut(this,t);var o;o=vut(this,t,[n]),but(o,"displayLevel",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:In.controlName;var i;return o.displayLevel=(i=n==null?void 0:n.displayLevel)!==null&&i!==void 0?i:1,o}return t}(K);function wut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $ut(e,t,n){return t=An(t),Tut(e,yR()?Reflect.construct(t,n||[],An(e).constructor):t.apply(e,n))}function Put(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sR(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Eut(e,t,n){return t&&sR(e.prototype,t),n&&sR(e,n),e}function Dn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ta(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Ta=Reflect.get:Ta=function(r,i,u){var l=Rut(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},Ta(e,t,n||e)}function An(e){return An=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},An(e)}function Sut(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ph(e,t)}function Tut(e,t){return t&&(But(t)==="object"||typeof t=="function")?t:wut(e)}function Ph(e,t){return Ph=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ph(e,t)}function Rut(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=An(e),e!==null););return e}function But(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(yR=function(){return!!e})()}var In=function(e){Sut(t,e);function t(n){Put(this,t);var o;return o=$ut(this,t,[n]),Dn(o,"props",void 0),o.props=new _R(n==null?void 0:n.props),o}return Eut(t,[{key:"toDataBindModel",value:function(o){var r=Ta(An(t.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.displayLevel;r.props.displayLevel=i}return r}}]),t}(rt);Dn(In,"controlType","department-column"),Dn(In,"controlName",f("CMD.department",null,"\u90E8\u95E8")),Dn(In,"controlIcon","department-column"),Dn(In,"controlFieldType",O.DEPARTMENTS),Dn(In,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}]);function Dut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Aut(e,t,n){return t=Ra(t),Fut(e,pR()?Reflect.construct(t,n||[],Ra(e).constructor):t.apply(e,n))}function Iut(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Eh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ra(e){return Ra=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ra(e)}function kut(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sh(e,t)}function Fut(e,t){return t&&(xut(t)==="object"||typeof t=="function")?t:Dut(e)}function Sh(e,t){return Sh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sh(e,t)}function xut(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(pR=function(){return!!e})()}var dR=function(e){kut(t,e);function t(n){Iut(this,t);var o;return o=Aut(this,t,[n]),Eh(o,"props",void 0),o.props=new _R(n==null?void 0:n.props),o}return t}(it);Eh(dR,"controlType","department-column"),Eh(dR,"controlFieldType",O.DEPARTMENTS);function Mut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vR(e,t,n){return t=Ba(t),Cut(e,mR()?Reflect.construct(t,n||[],Ba(e).constructor):t.apply(e,n))}function hR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Th(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ba(e){return Ba=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ba(e)}function bR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rh(e,t)}function Cut(e,t){return t&&(Lut(t)==="object"||typeof t=="function")?t:Mut(e)}function Rh(e,t){return Rh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rh(e,t)}function Lut(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(mR=function(){return!!e})()}var jut=function(e){bR(t,e);function t(n){hR(this,t);var o;return o=vR(this,t,[n]),ye.call(o,n),o}return t}(Zt),Bh=function(e){bR(t,e);function t(n){hR(this,t);var o;o=vR(this,t,[n]),Th(o,"showLinkOperation",void 0),Th(o,"linkOperationOption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Fn.controlName;var i;return o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Xt(n==null?void 0:n.linkOperationOption),o}return t}(K);Th(Bh,"Rules",jut);function Nut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vut(e,t,n){return t=Da(t),qut(e,gR()?Reflect.construct(t,n||[],Da(e).constructor):t.apply(e,n))}function zut(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Da(e){return Da=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Da(e)}function Hut(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dh(e,t)}function qut(e,t){return t&&(Uut(t)==="object"||typeof t=="function")?t:Nut(e)}function Dh(e,t){return Dh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dh(e,t)}function Uut(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(gR=function(){return!!e})()}var Fn=function(e){Hut(t,e);function t(n){zut(this,t);var o;return o=Vut(this,t,[n]),kn(o,"props",void 0),o.props=new Bh(n==null?void 0:n.props),o}return t}(rt);kn(Fn,"controlType","auto-number-column"),kn(Fn,"controlName",f("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7")),kn(Fn,"controlIcon","auto-number-column"),kn(Fn,"controlFieldType",O.AUTO_NUMBER),kn(Fn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}]);function Wut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kut(e,t,n){return t=Aa(t),Qut(e,OR()?Reflect.construct(t,n||[],Aa(e).constructor):t.apply(e,n))}function Gut(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ah(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Aa(e){return Aa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Aa(e)}function Xut(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ih(e,t)}function Qut(e,t){return t&&(Jut(t)==="object"||typeof t=="function")?t:Wut(e)}function Ih(e,t){return Ih=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ih(e,t)}function Jut(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(OR=function(){return!!e})()}var wR=function(e){Xut(t,e);function t(n){Gut(this,t);var o;return o=Kut(this,t,[n]),Ah(o,"props",void 0),o.props=new Bh(n==null?void 0:n.props),o}return t}(it);Ah(wR,"controlType","auto-number-column"),Ah(wR,"controlFieldType",O.AUTO_NUMBER);function Zut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yut(e,t,n){return t=Ia(t),olt(e,$R()?Reflect.construct(t,n||[],Ia(e).constructor):t.apply(e,n))}function tlt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function elt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ia(e){return Ia=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ia(e)}function nlt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kh(e,t)}function olt(e,t){return t&&(rlt(t)==="object"||typeof t=="function")?t:Zut(e)}function kh(e,t){return kh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kh(e,t)}function rlt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $R(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return($R=function(){return!!e})()}var PR=function(e){nlt(t,e);function t(n){tlt(this,t);var o;o=Yut(this,t,[n]),elt(o,"operation",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Mn.controlName;var i;return o.operation=(i=n==null?void 0:n.operation)!==null&&i!==void 0?i:["info","preview","download"],o}return t}(K);function ilt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ult(e,t,n){return t=ka(t),alt(e,ER()?Reflect.construct(t,n||[],ka(e).constructor):t.apply(e,n))}function llt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ka(e){return ka=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ka(e)}function clt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fh(e,t)}function alt(e,t){return t&&(flt(t)==="object"||typeof t=="function")?t:ilt(e)}function Fh(e,t){return Fh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fh(e,t)}function flt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ER(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ER=function(){return!!e})()}var Mn=function(e){clt(t,e);function t(n){llt(this,t);var o;return o=ult(this,t,[n]),xn(o,"props",void 0),o.props=new PR(n==null?void 0:n.props),o}return t}(rt);xn(Mn,"controlType","file-column"),xn(Mn,"controlName",f("CMD.file",null,"\u9644\u4EF6")),xn(Mn,"controlIcon","file-column"),xn(Mn,"controlFieldType",O.FILE),xn(Mn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"attachment-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}]);function _lt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function slt(e,t,n){return t=Fa(t),dlt(e,SR()?Reflect.construct(t,n||[],Fa(e).constructor):t.apply(e,n))}function ylt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fa(e){return Fa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fa(e)}function plt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mh(e,t)}function dlt(e,t){return t&&(vlt(t)==="object"||typeof t=="function")?t:_lt(e)}function Mh(e,t){return Mh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Mh(e,t)}function vlt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(SR=function(){return!!e})()}var TR=function(e){plt(t,e);function t(n){ylt(this,t);var o;return o=slt(this,t,[n]),xh(o,"props",void 0),o.props=new PR(n==null?void 0:n.props),o}return t}(it);xh(TR,"controlType","file-column"),xh(TR,"controlFieldType",O.FILE);function hlt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function blt(e,t,n){return t=xa(t),Olt(e,RR()?Reflect.construct(t,n||[],xa(e).constructor):t.apply(e,n))}function mlt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xa(e){return xa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xa(e)}function glt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ch(e,t)}function Olt(e,t){return t&&(wlt(t)==="object"||typeof t=="function")?t:hlt(e)}function Ch(e,t){return Ch=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ch(e,t)}function wlt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(RR=function(){return!!e})()}var BR=function(e){glt(t,e);function t(n){mlt(this,t);var o;o=blt(this,t,[n]);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Ln.controlName,o}return t}(K);function $lt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Plt(e,t,n){return t=Ma(t),Tlt(e,DR()?Reflect.construct(t,n||[],Ma(e).constructor):t.apply(e,n))}function Elt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ma(e){return Ma=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ma(e)}function Slt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lh(e,t)}function Tlt(e,t){return t&&(Rlt(t)==="object"||typeof t=="function")?t:$lt(e)}function Lh(e,t){return Lh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Lh(e,t)}function Rlt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(DR=function(){return!!e})()}var Ln=function(e){Slt(t,e);function t(n){Elt(this,t);var o;return o=Plt(this,t,[n]),Cn(o,"props",void 0),o.props=new BR(n==null?void 0:n.props),o}return t}(rt);Cn(Ln,"controlType","image-column"),Cn(Ln,"controlName",f("CMD.image",null,"\u56FE\u7247")),Cn(Ln,"controlIcon","image-column"),Cn(Ln,"controlFieldType",O.IMAGE),Cn(Ln,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}]);function Blt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dlt(e,t,n){return t=Ca(t),klt(e,AR()?Reflect.construct(t,n||[],Ca(e).constructor):t.apply(e,n))}function Alt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ca(e){return Ca=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ca(e)}function Ilt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nh(e,t)}function klt(e,t){return t&&(Flt(t)==="object"||typeof t=="function")?t:Blt(e)}function Nh(e,t){return Nh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Nh(e,t)}function Flt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(AR=function(){return!!e})()}var IR=function(e){Ilt(t,e);function t(n){Alt(this,t);var o;return o=Dlt(this,t,[n]),jh(o,"props",void 0),o.props=new BR(n==null?void 0:n.props),o}return t}(it);jh(IR,"controlType","image-column"),jh(IR,"controlFieldType",O.IMAGE);function xlt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mlt(e,t,n){return t=La(t),jlt(e,kR()?Reflect.construct(t,n||[],La(e).constructor):t.apply(e,n))}function Clt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function La(e){return La=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},La(e)}function Llt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vh(e,t)}function jlt(e,t){return t&&(Nlt(t)==="object"||typeof t=="function")?t:xlt(e)}function Vh(e,t){return Vh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vh(e,t)}function Nlt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(kR=function(){return!!e})()}var FR=function(e){Llt(t,e);function t(n){Clt(this,t);var o;o=Mlt(this,t,[n]);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Nn.controlName,o}return t}(K);function Vlt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zlt(e,t,n){return t=ja(t),Ult(e,xR()?Reflect.construct(t,n||[],ja(e).constructor):t.apply(e,n))}function Hlt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ja(e){return ja=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ja(e)}function qlt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zh(e,t)}function Ult(e,t){return t&&(Wlt(t)==="object"||typeof t=="function")?t:Vlt(e)}function zh(e,t){return zh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zh(e,t)}function Wlt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(xR=function(){return!!e})()}var Nn=function(e){qlt(t,e);function t(n){Hlt(this,t);var o;return o=zlt(this,t,[n]),jn(o,"props",void 0),o.props=new FR(n==null?void 0:n.props),o}return t}(rt);jn(Nn,"controlType","people-column"),jn(Nn,"controlName",f("CMD.people",null,"\u4EBA\u5458")),jn(Nn,"controlIcon","people-column"),jn(Nn,"controlFieldType",O.EMPLOYEES),jn(Nn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}]);function Klt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Glt(e,t,n){return t=Na(t),Jlt(e,MR()?Reflect.construct(t,n||[],Na(e).constructor):t.apply(e,n))}function Xlt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Na(e){return Na=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Na(e)}function Qlt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qh(e,t)}function Jlt(e,t){return t&&(Zlt(t)==="object"||typeof t=="function")?t:Klt(e)}function qh(e,t){return qh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qh(e,t)}function Zlt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(MR=function(){return!!e})()}var CR=function(e){Qlt(t,e);function t(n){Xlt(this,t);var o;return o=Glt(this,t,[n]),Hh(o,"props",void 0),o.props=new FR(n==null?void 0:n.props),o}return t}(it);Hh(CR,"controlType","people-column"),Hh(CR,"controlFieldType",O.EMPLOYEES);function Ylt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LR(e,t,n){return t=Va(t),tct(e,VR()?Reflect.construct(t,n||[],Va(e).constructor):t.apply(e,n))}function jR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Uh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Va(e){return Va=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Va(e)}function NR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wh(e,t)}function tct(e,t){return t&&(ect(t)==="object"||typeof t=="function")?t:Ylt(e)}function Wh(e,t){return Wh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wh(e,t)}function ect(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(VR=function(){return!!e})()}var nct=function(e){NR(t,e);function t(n){jR(this,t);var o;return o=LR(this,t,[n]),ye.call(o,n),o}return t}(Zt),Kh=function(e){NR(t,e);function t(n){jR(this,t);var o;o=LR(this,t,[n]),Uh(o,"showLinkOperation",void 0),Uh(o,"linkOperationOption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:zn.controlName;var i;return o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Xt(n==null?void 0:n.linkOperationOption),o}return t}(K);Uh(Kh,"Rules",nct);function oct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rct(e,t,n){return t=za(t),lct(e,zR()?Reflect.construct(t,n||[],za(e).constructor):t.apply(e,n))}function ict(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function za(e){return za=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},za(e)}function uct(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gh(e,t)}function lct(e,t){return t&&(cct(t)==="object"||typeof t=="function")?t:oct(e)}function Gh(e,t){return Gh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gh(e,t)}function cct(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(zR=function(){return!!e})()}var zn=function(e){uct(t,e);function t(n){ict(this,t);var o;return o=rct(this,t,[n]),Vn(o,"props",void 0),o.props=new Kh(n==null?void 0:n.props),o}return t}(rt);Vn(zn,"controlType","location-column"),Vn(zn,"controlName",f("CMD.location",null,"\u5730\u5740")),Vn(zn,"controlIcon","location-column"),Vn(zn,"controlFieldType",O.ADDRESS),Vn(zn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}]);function act(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fct(e,t,n){return t=Ha(t),yct(e,HR()?Reflect.construct(t,n||[],Ha(e).constructor):t.apply(e,n))}function _ct(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ha(e){return Ha=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ha(e)}function sct(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qh(e,t)}function yct(e,t){return t&&(pct(t)==="object"||typeof t=="function")?t:act(e)}function Qh(e,t){return Qh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qh(e,t)}function pct(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(HR=function(){return!!e})()}var qR=function(e){sct(t,e);function t(n){_ct(this,t);var o;return o=fct(this,t,[n]),Xh(o,"props",void 0),o.props=new Kh(n==null?void 0:n.props),o}return t}(it);Xh(qR,"controlType","location-column"),Xh(qR,"controlFieldType",O.ADDRESS);function dct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UR(e,t,n){return t=Ua(t),vct(e,GR()?Reflect.construct(t,n||[],Ua(e).constructor):t.apply(e,n))}function WR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qa(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ua(e){return Ua=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ua(e)}function KR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jh(e,t)}function vct(e,t){return t&&(hct(t)==="object"||typeof t=="function")?t:dct(e)}function Jh(e,t){return Jh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jh(e,t)}function hct(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(GR=function(){return!!e})()}var bct=function(e){KR(t,e);function t(n){WR(this,t);var o;return o=UR(this,t,[n]),qa(o,"sortFieldCode",{type:"string",message:f("CMD.pleaseSelectSortFieldCode",null,"\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5")}),n.sort===!0&&(o.sortFieldCode.required=!0),o}return t}(Zt),Zh=function(e){KR(t,e);function t(n){WR(this,t);var o;o=UR(this,t,[n]),qa(o,"fieldCodeList",void 0),qa(o,"sortFieldCode",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:me.controlName;var i;o.fieldCodeList=(i=n==null?void 0:n.fieldCodeList)!==null&&i!==void 0?i:[];var u;return o.sortFieldCode=(u=n==null?void 0:n.sortFieldCode)!==null&&u!==void 0?u:"",o}return t}(K);qa(Zh,"Rules",bct);function mct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gct(e,t,n){return t=Hn(t),Ect(e,QR()?Reflect.construct(t,n||[],Hn(e).constructor):t.apply(e,n))}function Oct(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XR(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function wct(e,t,n){return t&&XR(e.prototype,t),n&&XR(e,n),e}function Nt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wa(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Wa=Reflect.get:Wa=function(r,i,u){var l=Sct(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},Wa(e,t,n||e)}function Hn(e){return Hn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hn(e)}function $ct(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yh(e,t)}function Pct(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Ect(e,t){return t&&(Tct(t)==="object"||typeof t=="function")?t:mct(e)}function Yh(e,t){return Yh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yh(e,t)}function Sct(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Hn(e),e!==null););return e}function Tct(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(QR=function(){return!!e})()}var Rct=1,me=function(t){$ct(n,t);function n(o){Oct(this,n);var r;r=gct(this,n,[o]),Nt(r,"excludes",void 0),Nt(r,"childrenMaxLength",void 0),Nt(r,"props",void 0),Nt(r,"children",void 0);var i=Pct(this,n)?this.constructor:void 0,u=i.excludes,l=i.childrenMaxLength;return r.props=new Zh(o==null?void 0:o.props),Gt(r,"children",o==null?void 0:o.children,void 0,"Designer"),r.excludes=kt(u),r.childrenMaxLength=l,r}return wct(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=Wa(Hn(n.prototype),"toDataBindModel",this).call(this,r);if(i){var u=this.props.fieldCodeList;i.props.fieldCodeList=u}return i}}]),n}(rt);Nt(me,"controlType","custom-column"),Nt(me,"controlName",f("CMD.custom",null,"\u81EA\u5B9A\u4E49")),Nt(me,"controlIcon","custom-column"),Nt(me,"slots",["column-column-slot"]),Nt(me,"excludes",[]),Nt(me,"childrenMaxLength",Rct),Nt(me,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0},{key:"super-setting",visible:!0}]);function Bct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dct(e,t,n){return t=Ka(t),kct(e,JR()?Reflect.construct(t,n||[],Ka(e).constructor):t.apply(e,n))}function Act(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ka(e){return Ka=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ka(e)}function Ict(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&e0(e,t)}function kct(e,t){return t&&(Fct(t)==="object"||typeof t=="function")?t:Bct(e)}function e0(e,t){return e0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},e0(e,t)}function Fct(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(JR=function(){return!!e})()}var xct=function(e){Ict(t,e);function t(n){Act(this,t);var o;return o=Dct(this,t,[n]),t0(o,"props",void 0),t0(o,"children",void 0),o.props=new Zh(n==null?void 0:n.props),Gt(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return t}(it);t0(xct,"controlType","custom-column");function Mct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cct(e,t,n){return t=Ga(t),Vct(e,ZR()?Reflect.construct(t,n||[],Ga(e).constructor):t.apply(e,n))}function Lct(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jct(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ga(e){return Ga=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ga(e)}function Nct(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n0(e,t)}function Vct(e,t){return t&&(zct(t)==="object"||typeof t=="function")?t:Mct(e)}function n0(e,t){return n0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},n0(e,t)}function zct(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ZR=function(){return!!e})()}var YR=function(e){Nct(t,e);function t(n){Lct(this,t);var o;o=Cct(this,t,[n]),jct(o,"datasourceBind",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Ie.controlName;var i;return o.datasourceBind=new Ho((i=n==null?void 0:n.datasourceBind)!==null&&i!==void 0?i:{attributes:Ie.controlCustomAttributes}),o}return t}(K);function Hct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qct(e,t,n){return t=Xa(t),Gct(e,eB()?Reflect.construct(t,n||[],Xa(e).constructor):t.apply(e,n))}function Uct(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tB(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Wct(e,t,n){return t&&tB(e.prototype,t),n&&tB(e,n),e}function qn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xa(e){return Xa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xa(e)}function Kct(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o0(e,t)}function Gct(e,t){return t&&(Xct(t)==="object"||typeof t=="function")?t:Hct(e)}function o0(e,t){return o0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},o0(e,t)}function Xct(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(eB=function(){return!!e})()}var Ie=function(e){Kct(t,e);function t(n){Uct(this,t);var o;return o=qct(this,t,[n]),qn(o,"props",void 0),o.props=new YR(n==null?void 0:n.props),o}return Wct(t,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:f("CMD.ca6d1751969089479"),required:!0}]}}]),t}(rt);qn(Ie,"controlType","employee-column"),qn(Ie,"controlName",f("CMD.employee",null,"\u4EBA\u5458")),qn(Ie,"controlIcon","employee-column"),qn(Ie,"controlFieldType",O.EMPLOYEES),qn(Ie,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}]);function Qct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jct(e,t,n){return t=Qa(t),tat(e,nB()?Reflect.construct(t,n||[],Qa(e).constructor):t.apply(e,n))}function Zct(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qa(e){return Qa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qa(e)}function Yct(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i0(e,t)}function tat(e,t){return t&&(eat(t)==="object"||typeof t=="function")?t:Qct(e)}function i0(e,t){return i0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},i0(e,t)}function eat(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(nB=function(){return!!e})()}var oB=function(e){Yct(t,e);function t(n){Zct(this,t);var o;return o=Jct(this,t,[n]),r0(o,"props",void 0),o.props=new YR(n==null?void 0:n.props),o}return t}(it);r0(oB,"controlType","employee-column"),r0(oB,"controlFieldType",O.EMPLOYEES);function nat(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oat(e,t,n){return t=Ja(t),uat(e,rB()?Reflect.construct(t,n||[],Ja(e).constructor):t.apply(e,n))}function rat(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ja(e){return Ja=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ja(e)}function iat(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l0(e,t)}function uat(e,t){return t&&(lat(t)==="object"||typeof t=="function")?t:nat(e)}function l0(e,t){return l0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},l0(e,t)}function lat(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(rB=function(){return!!e})()}var iB=function(e){iat(t,e);function t(n){rat(this,t);var o;o=oat(this,t,[n]),u0(o,"lineEllipsis",void 0),u0(o,"showLinkOperation",void 0),u0(o,"linkOperationOption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Un.controlName;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Xt(n==null?void 0:n.linkOperationOption);var u;return o.lineEllipsis=(u=n==null?void 0:n.lineEllipsis)!==null&&u!==void 0?u:1,o}return t}(K);function cat(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aat(e,t,n){return t=Za(t),sat(e,uB()?Reflect.construct(t,n||[],Za(e).constructor):t.apply(e,n))}function fat(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ke(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Za(e){return Za=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Za(e)}function _at(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c0(e,t)}function sat(e,t){return t&&(yat(t)==="object"||typeof t=="function")?t:cat(e)}function c0(e,t){return c0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},c0(e,t)}function yat(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(uB=function(){return!!e})()}var Un=function(e){_at(t,e);function t(n){fat(this,t);var o;return o=aat(this,t,[n]),ke(o,"props",void 0),ke(o,"children",void 0),o.props=new iB(n==null?void 0:n.props),o}return t}(rt);ke(Un,"controlType","approval-status-column"),ke(Un,"controlName",f("CMD.approvalStatusColumn",null,"\u5F53\u524D\u5BA1\u6279\u72B6\u6001")),ke(Un,"controlIcon","approval-status-column"),ke(Un,"excludes",[]),ke(Un,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}]);function pat(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dat(e,t,n){return t=Ya(t),bat(e,lB()?Reflect.construct(t,n||[],Ya(e).constructor):t.apply(e,n))}function vat(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ya(e){return Ya=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ya(e)}function hat(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f0(e,t)}function bat(e,t){return t&&(mat(t)==="object"||typeof t=="function")?t:pat(e)}function f0(e,t){return f0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},f0(e,t)}function mat(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(lB=function(){return!!e})()}var gat=function(e){hat(t,e);function t(n){vat(this,t);var o;return o=dat(this,t,[n]),a0(o,"props",void 0),a0(o,"children",void 0),o.props=new iB(n==null?void 0:n.props),o}return t}(it);a0(gat,"controlType","approval-status-column");function Oat(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cB(e,t,n){return t=tf(t),wat(e,_B()?Reflect.construct(t,n||[],tf(e).constructor):t.apply(e,n))}function aB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tf(e){return tf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tf(e)}function fB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_0(e,t)}function wat(e,t){return t&&($at(t)==="object"||typeof t=="function")?t:Oat(e)}function _0(e,t){return _0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_0(e,t)}function $at(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _B(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_B=function(){return!!e})()}var Pat=function(e){fB(t,e);function t(n){aB(this,t);var o;return o=cB(this,t,[n]),o.push({type:"object",fields:{}}),o}return t}(Oe),s0=function(e){fB(t,e);function t(n){aB(this,t);var o;o=cB(this,t,[n]),Pt(o,"search",void 0),Pt(o,"cancel",void 0),Pt(o,"searchType",void 0),Pt(o,"labelPosition",void 0),Pt(o,"viewType",void 0),Pt(o,"isLoading",void 0),Pt(o,"custom",void 0),Pt(o,"queryTypeMap",void 0),Pt(o,"childMinWidth",void 0),Pt(o,"colGap",void 0),Pt(o,"viewConfig",void 0),Pt(o,"simpleConfig",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 l;o.search=new ce((l=n==null?void 0:n.search)!==null&&l!==void 0?l:{content:f("CMD.query",null,"\u67E5\u8BE2"),isShow:!0});var a;o.cancel=new ce((a=n==null?void 0:n.cancel)!==null&&a!==void 0?a:{content:f("CMD.reset",null,"\u91CD\u7F6E"),isShow:!0});var c;o.isLoading=(c=n==null?void 0:n.isLoading)!==null&&c!==void 0?c:!1;var _;o.custom=((_=n==null?void 0:n.custom)!==null&&_!==void 0?_:[]).map(function($){return new ce($)});var y;o.queryTypeMap=(y=n==null?void 0:n.queryTypeMap)!==null&&y!==void 0?y:[];var d;o.childMinWidth=(d=n==null?void 0:n.childMinWidth)!==null&&d!==void 0?d:230;var m;o.colGap=(m=n==null?void 0:n.colGap)!==null&&m!==void 0?m:24;var g;o.viewConfig=(g=n==null?void 0:n.viewConfig)!==null&&g!==void 0?g:[];var b;return o.simpleConfig=(b=n==null?void 0:n.simpleConfig)!==null&&b!==void 0?b:[],o}return t}(s_);Pt(s0,"RuntimeRules",Pat);function Eat(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sat(e,t,n){return t=nf(t),Bat(e,sB()?Reflect.construct(t,n||[],nf(e).constructor):t.apply(e,n))}function Tat(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ef(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nf(e){return nf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nf(e)}function Rat(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y0(e,t)}function Bat(e,t){return t&&(Dat(t)==="object"||typeof t=="function")?t:Eat(e)}function y0(e,t){return y0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},y0(e,t)}function Dat(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(sB=function(){return!!e})()}var p0=function(e){Rat(t,e);function t(n){Tat(this,t);var o;return o=Sat(this,t,[n]),ef(o,"props",void 0),o.props=new s0(n==null?void 0:n.props),o}return t}(VL);ef(p0,"controlType","simple-search"),ef(p0,"slotPosition",{default:"search"}),ef(p0,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0},{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"search-view-type",visible:!0}]);function Aat(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Iat(e,t,n){return t=of(t),xat(e,yB()?Reflect.construct(t,n||[],of(e).constructor):t.apply(e,n))}function kat(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function of(e){return of=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},of(e)}function Fat(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v0(e,t)}function xat(e,t){return t&&(Mat(t)==="object"||typeof t=="function")?t:Aat(e)}function v0(e,t){return v0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},v0(e,t)}function Mat(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(yB=function(){return!!e})()}var Cat=function(e){Fat(t,e);function t(n){kat(this,t);var o;o=Iat(this,t,[n]),d0(o,"props",void 0),d0(o,"children",void 0),o.props=new s0(n==null?void 0:n.props);var r;return o.children=(r=n==null?void 0:n.children)!==null&&r!==void 0?r:[],o}return t}(GL);d0(Cat,"controlType","simple-search");function a_t(e){return e}f("CMD.fullLine",null,"\u5145\u6EE1\u6574\u884C");const Lat=(e,t)=>{const n=Array.isArray(e),o=n?e:[e];Qat(t==null?void 0:t.events),qat(o),Uat(o);const r=Hat(o),i=Wat(r,t);let u=ie(L(i,l=>zat(l,t)));return n?u:u[0]},jat=[p.DIVIDER,p.TEXT,p.TITLE,p.LINK,p.BUTTON,"list-btn-export-list","list-btn-export-record"],Nat=["subtable","grid-table"],Vat=["simple-search"];function zat(e,t){var r,i,u,l,a,c;let n=e;if(n.controlType||(n.is_layout_control===!0?n.controlType="layout":jat.includes(n.type)?n.controlType="base":n.controlType="form",Nat.includes(n.type)&&(n.controlType="list"),Vat.includes(n.type)&&(n.controlType="search-view")),delete n.is_layout_control,e.props.lable_position&&(e.props.labelPosition=e.props.lable_position),e.props.select_mode&&(e.props.optionsFormat=e.props.select_mode),e.props.value&&(e.props.defaultValue=e.props.value),_t((r=e==null?void 0:e.props)==null?void 0:r.caption)&&(n.props.caption=e.props.caption.zh),_t((i=e==null?void 0:e.props)==null?void 0:i.placeholder)&&(n.props.placeholder=e.props.placeholder.zh),_t((u=e==null?void 0:e.props)==null?void 0:u.placeholder_end)&&(n.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(n.type="department",e.props.value.length&&(n.props.default_value=e.props.value),n.props.showType=e.props.show_tree?"tree":"default",n.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(n.type="auto-number",n.props.defaultValue=e.props.value),e.type==="file"&&(n.type="attachment",n.props.attachmentAccept=(l=e.attachment_format)==null?void 0:l.split(","),n.props.showType=e.props.show_type==="title"?"default":"table"),e.type==="image"&&(n.props.attachmentAccept=(a=e.attachment_format)==null?void 0:a.split(",")),e.type==="date-pick"&&(n.type="date-picker"),e.type==="rich-text"&&(_t(e.props.value)?n.props.defaultValue=e.props.value.zh:n.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(_t(e.props.value)?n.props.content=e.props.value.zh:n.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(n.props.showState="image"),e.type==="user-search"&&(n.type="employee",n.props.defaultValue=e.props.value),e.type==="address"&&(n.props.addressType=e.props.address_type_value),n.type==="subtable"){const _=n.props.entry_type||n.props.entryType;n.props.openType=_==="subpage"?"modal":"default",((c=n.children[0])==null?void 0:c.type)==="subtable-row"&&n.props.headers&&(n.props.headers=n.props.headers.map((y,d)=>{const m=new dtt.Designer;m.props.caption=_t(y.field_name)?y.field_name.zh:y.field_name;const g=m.toSchema();g.id=y.header_id;const b=n.children[0].children[d].children[0];return b&&(g.children=[b]),g}),n.children=[])}if(n.type==="subtable-cell"&&(n.type="subtable-column"),["radio","checkbox","select","select-multiple"].includes(e.type)&&(e.props.options.map(_=>{_.label=_t(_.text)?_.text.zh:_.text,_.id=_.id||_.opt_id||_.optId||_.data_id}),n=e),e.type==="grid-row"){const _=24/n.children.length;n.children=n.children.map(y=>{const d=new IE.Designer;d.props.span=_;const m=d.toSchema();return m.children.push(y),m})}if(e.type==="grid-layout-row"&&(n.type="row"),e.type==="grid-layout-col"&&(n.type="col"),e.type==="group-panel"&&(n.type="card-group",n.props.collapse=n.props.flod==="no"?"none":n.props.flod),e.type==="tabs-pane"&&(n.type="tab-pane"),e.type==="calc"){const _=n==null?void 0:n.children[0],y=n==null?void 0:n.children[1],d={};_&&(pB(n,t),d.result=_.props.data_bind,n.id=_.id,n.props=_.props,n.props.script_src=_.props.script_src,n.props.script_echo=_.props.script_echo,n.props.precision=_.props.precision,n.props.micrometer=_.props.is_show_money,n.props.showUpperCase=_.props.is_show_chn),y&&(d.unit=y.props.data_bind,n.props.default_value={unit:y.props.value}),n.props.dataBind=d,delete n.children}if(e.type==="amount-currency"){n.type="amount",n.controlType="form";const _=n==null?void 0:n.children[0],y=n==null?void 0:n.children[1],d={},m={};_&&(pB(n,t),n.id=_.id,d.amount=_.props.data_bind,n.props.range_min=Ce(_.props.range_min),n.props.range_max=Ce(_.props.range_max),m.amount=Ce(_.props.value),n.props.required=_.props.required,n.props.is_hide=_.props.is_hide,n.props.default_state=_.props.default_state,n.props.caption=_t(_.props.caption)?_.props.caption.zh:_.props.caption,n.props.is_hide_caption=_.props.is_hide_caption,n.props.showUpperCase=_.props.is_show_chn),y&&(d.currency=y.props.data_bind,m.currency=y.props.value,n.props.datasourceBind=y.props.datasource_bind,n.props.options=y.props.options.map(g=>({label:g.text,value:g.value}))),n.props.dataBind=d,n.props.defaultValue=m,delete n.children}if(e.type==="date-range"){n.controlType="form";const _=n==null?void 0:n.children[0],y=n==null?void 0:n.children[1];n.props.placeholderStart=_t(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,n.props.caption=_t(e.props.caption)?e.props.caption.zh:e.props.caption;const d={};_&&(d.min=_.props.data_bind),y&&(d.max=y.props.data_bind),n.props.dataBind=d,delete n.children}return e.type==="score"&&(n.props.defaultValue=n.props.value*1),["input","textarea"].includes(e.type)&&(n.props.defaultValue=_t(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(n.props.range_min=Ce(e.props.range_min),n.props.range_max=Ce(e.props.range_max),n.props.defaultValue=Ce(e.props.value)),e.type==="list-page-btn-custom-button"&&(e.type="button"),e.type==="button"&&e.props.button_type==="dashed"&&(n.props.buttonType="default"),Jat(n,t==null?void 0:t.control_events),n}function pB(e,t){if(!t)return;const{displayBoList:n=[],behaviors:o=[]}=t,r=e.id,i=e.children[0].id;n.forEach(u=>{u.id===r&&(u.id=i);const l=u.show_controls.findIndex(c=>c===r),a=u.hide_controls.findIndex(c=>c===r);l>-1&&u.show_controls.splice(l,1,i),a>-1&&u.hide_controls.splice(a,1,i)}),o.forEach(u=>{u.ctrl_id===r&&(u.id=i)})}function Hat(e){if(!Array.isArray(e)||!e.find(r=>r.type==="grid"))return e;const o=new jnt.Designer().toSchema();return o.children=e,[o]}function qat(e){e.forEach(t=>{t.children&&Xat(t.children)})}function Uat(e){e.forEach(t=>{var o,r;if(!(t&&t.children))return;const n=t.children;for(let i=0;i<n.length;i++){const u=n[i],l=(r=(o=n[i])==null?void 0:o.children)==null?void 0:r[0];u.type==="grid-row"&&l&&["group-panel","subtable","tab"].includes(l.type)&&n.splice(i,1,l)}})}function Wat(e,t){var m,g,b,$,v,w,T,E;if(!(Array.isArray(e)&&e.length===1))return e;const n=e[0];if(n.type!=="list-page")return e;const{props:o,children:r}=n,[i,u,l]=r;Kat(i),l.props.is_fixed_header=(m=o==null?void 0:o.source_config)==null?void 0:m.is_fixed_header,Gat(l,u);const a=(b=(g=o==null?void 0:o.source_config)==null?void 0:g.data_code)!=null?b:t==null?void 0:t.dataCode,c=((v=($=o==null?void 0:o.source_config)==null?void 0:$.svc_code)!=null?v:a)?`${a}_selectMore`:void 0,_=(T=(w=o==null?void 0:o.source_config)==null?void 0:w.orders)!=null?T:[],y=new bnt.Designer;y.props.datasourceBind=new X({dataCode:a,svcCode:c,orders:rx(_)}),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(R=>{R.title=_t(R.title)?R.title.zh:R.title}),y.props.sublistPage=o.sublist_page;const d=y.toSchema();return d.children.push(i,l),[d]}function Kat(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(t=>{var o,r;const n=_t(t.placeholder)?t.placeholder.zh:t.placeholder;t.type==="number-range"&&(t.type="search-number-range",t.placeholderStart=n,t.placeholderEnd=n),t.type==="date-pick"&&(t.type="search-date-range",t.placeholderStart=n,t.placeholderEnd=n,t.dateType=(r=(o=t.dateType)==null?void 0:o.replace)==null?void 0:r.call(o,/range$/)),(t.type==="automatic-number"||t.type==="auto-number")&&(t.type="search-input",t.props.defaultValue="")})}function Gat(e,t){e.children=t.children.filter(n=>n.type!=="list-page-btn-custom-head"),e.type="grid-table",e.props.sublist_page&&(e.props.sublist_page.form_bind={data_code:e.props.sublist_page.data_code,form_key:e.props.sublist_page.form_key}),Array.isArray(e.props.headers)&&(e.props.headers=e.props.headers.map(n=>{var r,i,u;let o={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:n.field_code,field_name:_t(n.field_name)?n.field_name.zh:n.field_name}};return o.props.caption=_t(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 Xat(e){var n;let t=null;for(let o=0;o<e.length;o++){const r=e[o];if(!!r){if(r.children&&((n=r.children[0])==null?void 0:n.type)==="group-panel"){t=r.children[0];continue}t&&(t.children.push(r),e.splice(o,1),o--)}}}function Qat(e){!e||(e.did_mount=e.did_mount.map(t=>t.name),e.will_submit=e.will_submit.map(t=>t.name),e.did_submit=e.did_submit.map(t=>t.name))}function Jat(e,t){var o;if(!t||!e.props.events)return;const n=Object.keys(e.props.events);!n.length||(n.forEach(r=>{!e.props.events[r].length||(t[e.id]||(t[e.id]={}),t[e.id][r]||(t[e.id][r]=[]),t[e.id][r].push(...e.props.events[r].map(i=>i.name)))}),(o=t[e.id])!=null&&o.on_blur&&(t[e.id].on_change||(t[e.id].on_change=[]),t[e.id].on_change.push(...t[e.id].on_blur)))}const Zat=(e,t)=>{const n=Array.isArray(e);let r=ie(L(n?e:[e],i=>Yat(i)));return n?r:r[0]};function Yat(e,t){return e.type===p.LIST_VIEW&&e.children.find(o=>o.type===p.GRID_TABLE).props.headers.forEach(o=>{!o.props.data_bind&&o.props.field_code&&(o.props.data_bind=new Ft({dataCode:e.props.datasource_bind.data_code,fieldCode:o.props.field_code}))}),e}const tft=(e,t)=>{const n=Array.isArray(e);let r=ie(L(n?e:[e],i=>eft(i)));return n?r:r[0]};function eft(e,t){return[p.BUTTON,p.CREATE_FORM_LIST_BUTTON,p.BATCH_SUBMISSION_LIST_BUTTON,p.SUBMISSION_RECORD_LIST_BUTTON,p.IMPORT_RECORD_LIST_BUTTON,p.EXPORT_RECORD_LIST_BUTTON,p.EXPORT_LIST_BUTTON,p.FORM_SELECT_BUTTON,p.LIST_SELECT_BUTTON].includes(e.type)&&(e.props.button_type==="default"&&(e.props.button_type="secondary"),e.props.button_type==="danger"&&(e.props.button_type="secondary",e.props.color="danger"),e.props.icon||(e.props.icon="iconfenlei2")),e.type===p.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===p.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}const nft=(e,t)=>{const n=Array.isArray(e);let r=ie(L(n?e:[e],i=>oft(i)));return n?r:r[0]};function oft(e,t){if(e.props.icon){let n=e.props.icon;switch(n){case"icongeren":n="iconyyzy-renyuan";break;case"iconjine1":n="iconcaiwu";break;case"iconhuibao":n="iconyyzy-tianxie";break;case"iconwenjian":n="iconyyzy-wenjianjia1";break;case"iconyingpin":n="iconyyzy-gongzuo";break;case"iconpiliangtijiaojilu":n="iconyyzy-renwu";break}e.props.icon=n}return e}const rft=(e,t)=>{const n=Array.isArray(e);let r=ie(L(n?e:[e],i=>uft(i)));return n?r:r[0]},ift=[p.ROW,p.TAB,p.SUBTABLE,p.GRID_ROW,p.CARD_GROUP];function uft(e,t){return e.type===p.TAB_PANE&&(e.children=e.children.map(n=>{if(ift.includes(n.type))return n;const o=new VY.Designer,r=new IE.Designer;o.children.push(r);const i=o.toSchema();return i.children[0].children.push(n),i})),e}const lft=(e,t)=>{const n=Array.isArray(e);let r=ie(L(n?e:[e],i=>cft(i)));return n?r:r[0]};function cft(e,t){return e.type===p.GRID_TABLE&&e.props.headers.forEach(n=>{n.type===p.OPERATION_COLUMN&&(n.props.check.priorityProcess=!0)}),e}const aft=(e,t)=>{const n=Array.isArray(e);let r=L(n?e:[e],i=>fft(i));return n?r:r[0]};function fft(e,t){return e.type===p.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}const _ft=(e,t)=>{const n=Array.isArray(e);let r=L(n?e:[e],i=>sft(i));return n?r:r[0]};function ge(e,t){e.field_code&&(e.field_type=t)}function sft(e,t){var o;const n={[p.TITLE]:O.AUTO_NUMBER,[p.ADDRESS]:O.ADDRESS,[p.ATTACHMENT]:O.FILE,[p.AUTO_NUMBER]:O.AUTO_NUMBER,[p.CHECKBOX]:O.ARRAY,[p.DATE_PICKER]:O.TIMESTAMP,[p.DEPARTMENT]:O.DEPARTMENTS,[p.DEPARTMENT2]:O.DEPARTMENTS,[p.EMPLOYEE]:O.EMPLOYEES,[p.EMPLOYEE2]:O.EMPLOYEES,[p.IMAGE]:O.IMAGE,[p.INPUT]:O.VARCHAR,[p.NUMBER]:O.DECIMAL,[p.RADIO]:O.VARCHAR,[p.RICH_TEXT]:O.TEXT,[p.SCORE]:O.DECIMAL,[p.SELECT]:O.VARCHAR,[p.SELECT_MULTIPLE]:O.ARRAY,[p.SELECT_RELATION]:O.VARCHAR,[p.TEXTAREA]:O.TEXT,[p.TREE]:O.ARRAY,[p.SEARCH_DATE_RANGE]:O.ARRAY,[p.SEARCH_INPUT]:O.VARCHAR,[p.SEARCH_NUMBER_RANGE]:O.ARRAY};return n.hasOwnProperty(e.type)&&ge(e.props.data_bind,n[e.type]),e.type===p.AMOUNT&&(ge(e.props.data_bind.amount,O.DECIMAL),ge(e.props.data_bind.currency,O.VARCHAR)),e.type===p.CALC&&(ge(e.props.data_bind.result,O.DECIMAL),ge(e.props.data_bind.unit,O.VARCHAR)),e.type===p.DATE_RANGE&&(ge(e.props.data_bind.min,O.TIMESTAMP),ge(e.props.data_bind.max,O.TIMESTAMP)),e.type===p.VUE_FORM_ITEM&&ge(e.props.data_bind,(o=e.field_type)!=null?o:O.ANY),e}const yft=(e,t)=>{const n=Array.isArray(e);let r=L(n?e:[e],i=>pft(i));return n?r:r[0]};function pft(e,t){return e.type===p.GRID_TABLE&&e.props.headers.forEach(n=>{n.type.endsWith("-column")&&(n.props.fixed?(n.props.fixed="left",n.type===p.OPERATION_COLUMN&&(n.props.fixed="right")):n.props.fixed="none")}),e}const dft=(e,t)=>{const n=Array.isArray(e);let r=L(n?e:[e],i=>vft(i));return n?r:r[0]};function vft(e,t){return e.type===p.SIMPLE_SEARCH&&e.children.length&&(e.props.query_type_map||(e.props.query_type_map=[]),e.children.forEach(n=>{var o,r;[O.VARCHAR,O.TEXT,O.AUTO_NUMBER].includes((r=(o=n.props)==null?void 0:o.data_bind)==null?void 0:r.field_type)&&e.props.query_type_map.push({query_type:"LIKE",field_code:n.props.data_bind.field_code})})),e}const hft=(e,t)=>{const n=Array.isArray(e);let r=L(n?e:[e],i=>bft(i));return n?r:r[0]};function bft(e,t){return[p.SELECT,p.SELECT_RELATION,p.SELECT_MULTIPLE,p.RADIO,p.CHECKBOX,p.TREE,p.DEPARTMENT2,p.EMPLOYEE2,p.DEPARTMENT,p.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===p.SUBTABLE&&e.props.headers.forEach(n=>{[p.SELECT,p.SELECT_RELATION,p.SELECT_MULTIPLE,p.RADIO,p.CHECKBOX,p.TREE,p.DEPARTMENT2,p.EMPLOYEE2,p.DEPARTMENT,p.EMPLOYEE].includes(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),e}const mft=(e,t)=>{const n=Array.isArray(e);let r=L(n?e:[e],i=>gft(i));return n?r:r[0]};function gft(e,t){return[p.SELECT,p.SELECT_RELATION,p.SELECT_MULTIPLE,p.RADIO,p.CHECKBOX,p.TREE,p.DEPARTMENT2,p.EMPLOYEE2,p.DEPARTMENT,p.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===p.SUBTABLE&&e.props.headers.forEach(n=>{[p.SELECT,p.SELECT_RELATION,p.SELECT_MULTIPLE,p.RADIO,p.CHECKBOX,p.TREE,p.DEPARTMENT2,p.EMPLOYEE2,p.DEPARTMENT,p.EMPLOYEE].includes(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),e}const Oft=(e,t)=>{const n=Array.isArray(e);let r=L(n?e:[e],i=>wft(i));return n?r:r[0]};function wft(e,t){return e.type===p.TITLE&&e.props.config.push(Pe.ShowTitle),e.type===p.GRID_TABLE&&e.props.headers.map(n=>{var o,r,i,u,l,a,c,_,y,d,m,g,b,$,v,w,T,E,R,z,A,ct;if(n.type===p.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 D=new ms.Designer;Object.defineProperty(D,"id",{value:"listPageCheckBtnId"}),D.props.code="view",D.props.icon="iconliulan1",D.props.command="view",D.props.content=(i=n.props)==null?void 0:i.check.content,D.props.priorityProcess=(u=n.props)==null?void 0:u.check.priority_process,D.props.openType=(l=n.props)==null?void 0:l.check.open_type,D.props.formKey=(a=n.props)==null?void 0:a.check.form_key,(c=n.props)!=null&&c.check.is_show&&n.children.push(D.toSchema()),(_=n.props)==null||delete _.check}if(((y=n.props)==null?void 0:y.edit)!==void 0){const D=new ms.Designer;Object.defineProperty(D,"id",{value:"listPageEditBtnId"}),D.props.code="edit",D.props.icon="iconbianji1",D.props.command="edit",D.props.content=(d=n.props)==null?void 0:d.edit.content,D.props.priorityProcess=(m=n.props)==null?void 0:m.edit.priority_process,D.props.openType=(g=n.props)==null?void 0:g.edit.open_type,D.props.formKey=(b=n.props)==null?void 0:b.edit.form_key,($=n.props)!=null&&$.edit.is_show&&n.children.push(D.toSchema()),(v=n.props)==null||delete v.edit}if(((w=n.props)==null?void 0:w.delete)!==void 0){const D=new ms.Designer;Object.defineProperty(D,"id",{value:"listPageDeleteBtnId"}),D.props.code="delete",D.props.icon="iconlajitong",D.props.command="delete",D.props.content=(T=n.props)==null?void 0:T.delete.content,D.props.priorityProcess=(E=n.props)==null?void 0:E.delete.priority_process,D.props.openType=(R=n.props)==null?void 0:R.delete.open_type,D.props.formKey=(z=n.props)==null?void 0:z.delete.form_key,D.props.needConfirm=!0,D.props.confirmMessage=f("CMD.deleteConfirm",null,"\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F"),(A=n.props)!=null&&A.delete.is_show&&n.children.push(D.toSchema()),(ct=n.props)==null||delete ct.delete}}}),[p.SELECT,p.SELECT_RELATION,p.SELECT_MULTIPLE,p.RADIO,p.CHECKBOX,p.TREE,p.DEPARTMENT2,p.EMPLOYEE2,p.DEPARTMENT,p.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===p.SUBTABLE&&e.props.headers.forEach(n=>{[p.SELECT,p.SELECT_RELATION,p.SELECT_MULTIPLE,p.RADIO,p.CHECKBOX,p.TREE,p.DEPARTMENT2,p.EMPLOYEE2,p.DEPARTMENT,p.EMPLOYEE].includes(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),e}const $ft=(e,t)=>{const n=Array.isArray(e);let r=L(n?e:[e],i=>Pft(i,t));return n?r:r[0]};function Pft(e,t){e.type===p.SUBTABLE&&e.props.headers.map(o=>{var i;o.props.meta_auto_width=new J0,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===p.CALC&&r.props.calc_on_mounted===void 0&&(r.props.calc_on_mounted=!0)});const n={[p.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}],[p.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}],[p.LIST_VIEW]:[{key:"selection_type",value:"multiple"},{key:"row_style_type",value:"none"},{key:"is_show_selection",value:!1}],[p.SIMPLE_SEARCH]:[{key:"col-gap",value:24},{key:"child-min-width",value:230}],[p.IMPORT_RECORD_LIST_BUTTON]:[{key:"template-type",value:"system"}]};return e.type in n&&n[e.type].forEach(o=>{e.props[o.key]===void 0&&(e.props[o.key]=o.value)}),e.type===p.GRID_TABLE&&e.props.headers.forEach(o=>{o.type===p.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 Of)}),e.type===p.CALC&&e.props.calc_on_mounted===void 0&&(e.props.calc_on_mounted=!0),Eft(t),e}function Eft(e){if(!(!e||!e.listeners)){if(Object.keys(e.listeners).forEach(t=>{let n,o,r;e.listeners[t].forEach((i,u)=>{switch(i.event_key||i.eventKey){case"on_click_finish":o=i,r=u;break;case"on_click":n=i;break}}),o&&(o.cases[0].handlers.unshift(h0()),n?(o.cases.forEach(i=>{n.cases[0].handlers.push(i)}),e.listeners[t].splice(r,1)):o.event_key="on_click")}),!e.listeners.form_submit)e.listeners.form_submit=[{event_key:"on_click",event_param:[],cases:[Sft()]}];else if(e.listeners.form_submit&&e.listeners.form_submit&&e.listeners.form_submit[0]&&e.listeners.form_submit[0].cases&&e.listeners.form_submit[0].cases[0]&&e.listeners.form_submit[0].cases[0].handlers){let t=!1;e.listeners.form_submit[0].cases[0].handlers.forEach(n=>{n.method==="actionOperate"&&(t=!0)}),t||e.listeners.form_submit[0].cases[0].handlers.push(h0())}}}function Sft(){return{id:"case"+new Date().getTime(),name:"\u9ED8\u8BA4\u60C5\u5F62",match_type:"AND",match_rules:[],handlers:[h0()]}}function h0(){return{id:"handler"+new Date().getTime(),method:"actionOperate",params:{control_id:"",opt_type:"",opt_code:"",is_error_continue:!1}}}const Tft=(e,t)=>{const n=Array.isArray(e);let r=L(n?e:[e],i=>Rft(i,t));return n?r:r[0]};function Rft(e,t){if(e.type===p.LIST_VIEW){if(e.props.is_show_selection===!1){const n=[p.BATCH_SUBMISSION_LIST_BUTTON,p.LIST_PAGE_BTN_BATCH_PRINT,p.BATCH_DELETE_LIST_BUTTON];e.children.forEach(o=>{o.type===p.GRID_TABLE&&o.children.map(u=>u.type).some(u=>n.includes(u))===!0&&(e.props.is_show_selection=!0,o.props.is_show_selection=!0)})}e.props.caption===""&&(e.props.caption=t==null?void 0:t.formName),e.props.is_all_loaded===void 0&&(e.props.is_all_loaded=!0)}return e.type===p.TEXTAREA&&e.props.auto_size===void 0&&(e.props.auto_size=!1),e.type===p.SUBTABLE&&e.props.mobile_default_num===void 0&&(e.props.mobile_default_num=e.props.mobile_show_type==="tile"?5:10),e.type===p.TREE&&e.props.default_display===void 0&&(e.props.default_display=!1),e.type===p.GRID_TABLE&&e.props.is_show_toolbar===void 0&&(e.props.is_show_toolbar=!0),e.type===p.NUMBER&&e.props.regular_rules===void 0&&(e.props.regular_rules=new Rf),e}const Bft=(e,t)=>{const n=Array.isArray(e);let r=L(n?e:[e],i=>Dft(i));return n?r:r[0]};function Dft(e,t){const n={[p.SUBTABLE]:[{key:"import_config",value:{template_type:"system",template_list:[]}},{key:"export_config",value:{template_type:"system",template_list:[]}}]};return e.type in n&&n[e.type].forEach(r=>{e.props[r.key]===void 0&&(e.props[r.key]=r.value)}),e.type==="card-group"&&e.props.isHideCaption===void 0&&(e.props.isHideCaption=!1),[p.LIST_PAGE_BTN_BATCH_PRINT_RECORD,p.EXPORT_LIST_BUTTON,p.EXPORT_RECORD_LIST_BUTTON,p.CREATE_FORM_LIST_BUTTON,p.IMPORT_RECORD_LIST_BUTTON,p.SUBMISSION_RECORD_LIST_BUTTON,p.BATCH_DELETE_LIST_BUTTON,p.BUTTON,p.SUBMISSION_RECORD_LIST_BUTTON,p.LIST_PAGE_BTN_BATCH_PRINT].includes(e.type)&&(e.control_type="base"),e.type===p.SUBTABLE&&e.props.mobile_default_num===void 0&&(e.props.mobile_default_num=e.props.mobile_show_type==="tile"?5:10),e}function Aft(e,t){var n,o;if((t==null?void 0:t.formType)===1&&(t==null?void 0:t.events)!==void 0){const r=(o=(n=t==null?void 0:t.events)==null?void 0:n.did_mount)!=null?o:[];r.length>0&&(t.events.did_init=r,t.events.did_mount=[]),t.events.did_init===void 0&&(t.events.did_init=[])}}const Ift=(e,t)=>{const n=Array.isArray(e),o=n?e:[e],r={};let i=L(o,u=>{const l=kft(u);return r[u.id]=u,l});return Aft(r,t),n?i:i[0]};function kft(e,t){var n,o,r;if(e.type===p.TEXTAREA){const i={rowHeightType:e.props.auto_size===!0?"auto":"fixed",minRows:(n=e.props.line_ellipsis)!=null?n:4,maxRows:(o=e.props.max_rows)!=null?o:20,fiexdRow:(r=e.props.line_ellipsis)!=null?r:4};if(e.props.row_height_setting=ie(new Q0({pc:i,mobile:i})),e.type===p.ORGANIZATION_SELECTION){const u=e.props.selected_content_config,l=u==null?void 0:u.display_bo_list;l&&l.forEach(a=>{a.value==="org_type_code"&&(a.label=f("CMD.businessType",null,"\u4E1A\u52A1\u7C7B\u578B")),a.value==="org_pattern_code"&&(a.label=f("CMD.organizationalForm",null,"\u7EC4\u7EC7\u5F62\u6001"))})}e.type===p.LIST_SELECT_BUTTON&&e.props.disable_filling===void 0&&(e.props.disable_filling=!1)}return e}const Fft=(e,t)=>{const n=Array.isArray(e),o=n?e:[e],r={};let i=L(o,u=>{const l=xft(u);return r[u.id]=u,l});return Mft(r,t),n?i:i[0]};function xft(e,t){return e}function Mft(e,t){(t==null?void 0:t.formType)===0&&(t==null?void 0:t.listeners)!==void 0&&Object.keys(t==null?void 0:t.listeners).map(n=>{var i,u,l,a,c;const o=t==null?void 0:t.listeners[n],r=e[n];(r==null?void 0:r.type)===p.BUTTON&&(["draft","form_submit","save"].includes((u=(i=r.props)==null?void 0:i.opt_obj)==null?void 0:u.opt_type)&&(o==null||o.map(_=>{var y,d,m,g;(y=_==null?void 0:_.cases)==null||y.map(b=>{var $;($=b==null?void 0:b.handlers)==null||$.map(v=>{var w,T,E,R;(v==null?void 0:v.method)==="optPage"&&v.params.operation==="refresh"&&(v.params.operation="close"),(v==null?void 0:v.method)==="openPage"&&((R=(E=(T=(w=v.params)==null?void 0:w.options)==null?void 0:T.link)==null?void 0:E.fx)==null?void 0:R.expression)==="GET_FORM_URL(GET_PAYLOAD_VAL('value').data_uid,{type:'edit'})"&&(v.id="optPage",v.method="optPage",v.params={operation:"close"})})}),((g=(m=(d=_==null?void 0:_.cases)==null?void 0:d[0])==null?void 0:m.handlers)==null?void 0:g.length)===1&&_.cases[0].handlers.push({id:"optPage",method:"optPage",params:{operation:"close"}})})),["form_submit"].includes((a=(l=r.props)==null?void 0:l.opt_obj)==null?void 0:a.opt_type)&&((c=t.dataModelExtend)==null?void 0:c.process_status_enum_type)==="business"&&(o==null||o.map(_=>{_.cases[0].handlers.map(y=>{(y==null?void 0:y.method)==="optPage"&&y.params.operation==="close"&&(y.params.operation="edit")})})))})}const Cft=(e,t)=>{const n=Array.isArray(e),o=n?e:[e],r={};let i=L(o,u=>{const l=Lft(u);return r[u.id]=u,l});return jft(r,t),n?i:i[0]};function Lft(e,t){if(e.type===p.ORGANIZATION_SELECTION){const n=e.props.selected_content_config,o=n==null?void 0:n.display_bo_list;o&&o.forEach(r=>{r.value==="org_type_code"&&(r.label=f("CMD.businessType",null,"\u4E1A\u52A1\u7C7B\u578B")),r.value==="org_pattern_code"&&(r.label=f("CMD.organizationalForm",null,"\u7EC4\u7EC7\u5F62\u6001"))})}return e}function jft(e,t){var n,o;if((t==null?void 0:t.formType)===1&&(t==null?void 0:t.events)!==void 0){const r=(o=(n=t==null?void 0:t.events)==null?void 0:n.did_mount)!=null?o:[];r.length>0&&(t.events.did_init=r,t.events.did_mount=[]),t.events.did_init===void 0&&(t.events.did_init=[])}}const Nft=(e,t)=>{const n=Array.isArray(e);let r=L(n?e:[e],i=>Vft(i));return n?r:r[0]};function Vft(e,t){var n,o;if(e.type===p.SIMPLE_SEARCH&&(e.props.view_config===void 0&&(e.props.view_config=(n=e.children)==null?void 0:n.map(r=>{var i;return(i=r.props)==null?void 0:i.data_bind})),e.props.simple_config===void 0&&(e.props.simple_config=(o=e.children)==null?void 0:o.map(r=>{var i;return(i=r.props)==null?void 0:i.data_bind}))),e.type===p.ORGANIZATION_SELECTION){const r=e.props.selected_content_config,i=r==null?void 0:r.display_bo_list;i&&i.forEach(u=>{u.value==="org_type_code"&&(u.label=f("CMD.businessType",null,"\u4E1A\u52A1\u7C7B\u578B")),u.value==="org_pattern_code"&&(u.label=f("CMD.organizationalForm",null,"\u7EC4\u7EC7\u5F62\u6001"))})}return e}const zft=(e,t)=>{const n=Array.isArray(e);let r=L(n?e:[e],i=>Hft(i));return Gft(r),qft(r),n?r:r[0]};function Hft(e,t){return e.type===p.SIMPLE_SEARCH&&e.children.forEach(n=>{if(n.type===p.SELECT||n.type===p.SELECT_MULTIPLE){const o=n;o.props.option_config==="datasource"&&(o.props.default_show_options=!1)}}),e}function qft(e){var t,n;if(e[0].type===p.LIST_VIEW){const o=e[0].props;let r={type:(t=o.row_style_type)!=null?t:"none",interval:{color:(n=o.row_style_bg_color)!=null?n:""},rules:[]};o.row_style_rules&&(o.row_style_rules.forEach(i=>{const u=i.id;let l={color:i.color,type:"background",scope:"row",fieldCodes:["_row_"]},a;if(o.row_style_rules_script){const c=o.row_style_rules_script.find(_=>_.id===u);c&&(a=Kft(i.filters,c.script))}i.settings=[l],i.script=a,delete i.color}),r.rules=o.row_style_rules),o.row_style=r,delete o.row_style_type,delete o.row_style_bg_color,delete o.row_style_rules,delete o.row_style_rules_script}}function dB(e,t){return t||(t={}),e.forEach(n=>{if(n.children)dB(n.children,t);else{const o=n.left_variable_bo;switch(o.type){case"people":case"department":case"array":case"timestamp":let r=o.value;t[r]=o;break}}}),t}function Uft(e){return e=e.replace(/\(|\)/g,"").replace(/(\|\|)|(&&)/g,"__split__"),e.split("__split__").map(n=>n.replace(/^\s+|\s+$/gm,""))}function Wft(e){let t="",n="";if(e[0]==="!")t="is_empty";else{const o=e.match(/(===|!=|>|>=|<|<=)/);if(o){const r=o[0];switch(r){case"===":t="op_equal";break;case"!=":t="op_no_equal";break;case">":t="op_greater";break;case">=":t="op_greater_equal";break;case"<":t="op_less";break;case"<=":t="op_less_equal";break;default:t="is_not_empty";break}n=e.split(r)[1]||""}else t="is_not_empty"}return{operate:t,value:n}}function Kft(e,t){const n=dB(e);return Uft(t).forEach(r=>{Object.keys(n).forEach(i=>{if(r.indexOf(`params.data.data_value_map['${i}']`)>-1){const a=n[i].type,{operate:c,value:_}=Wft(r);let y=`SpecialMatch(data, sys, '${i}', '${a}', '${c}', ${_||"''"})`;t=t.replace(r,y)}})}),t=t.replace(/params.data.data_value_map/g,"data"),t}function Gft(e){if(e[0].type===p.LIST_VIEW){const t=e[0].children.find(n=>n.type===p.GRID_TABLE);if(t){const n=t.props.headers,o=t.props.footers,r={};o&&o.length>0&&o.forEach(i=>{const u=i.id.replace("foot_",""),l=i.children;l&&l.length>0&&i.children[0].type!==p.BUTTON&&(i.children[0].field_type=i.field_type||"varchar"),r[u]=i}),n.forEach(i=>{const u=r[i.id];if(u){const l=u.children;if(!l||l.length===0)return;const a=i.children||[];i.children=[].concat(a,l)}}),t.props.footers=[]}}return e}const Xft=(e,t)=>{const n=Array.isArray(e);let r=Qft(n?e:[e],t);return n?r:r[0]};function Qft(e,t){const n=Zft(t);return n.length>0&&(Jft(n,t),vB(n,e)),e}function vB(e,t){if(t){const n=t.length;for(let o=n-1;o>=0;o--){const r=t[o],i=r.id;e.indexOf(i)>-1?t.splice(o,1):vB(e,r.children)}}}function Jft(e,t){const n=(t==null?void 0:t.permission_controls)||[];for(let o=n.length-1;o>=0;o--){const r=n[o].control_id;e.indexOf(r)>-1&&n.splice(o,1)}}function Zft(e){const t=[],n=e==null?void 0:e.listeners;return n&&Object.keys(n).forEach(o=>{n[o].forEach(r=>{!r.cases||r.cases.forEach(i=>{!i.handlers||i.handlers.forEach(u=>{var l;if(!!u&&u.method==="openPage"){const a=(l=u.params)==null?void 0:l.relation_control_id;a&&t.push(a)}})})})}),t}const Yft=(e,t)=>{console.log(t,"payload");const n=Array.isArray(e);let r=L(n?e:[e],i=>e_t(i));return n?r:r[0]},t_t=e=>["yylb_kujg9i5r","btdev_listin_n","yylb_gd_ryneloyh","byteluck_list_"].some(t=>t.includes(e)||e.includes(t));function e_t(e,t){if(t_t(e.type)){const n=ie(new zN.Runtime);n.id=e.id,n.props.action_setting=e.props.action_setting,n.props.is_show_toolbar=e.props.is_show_toolbar,n.props.is_show_simple_search=e.props.show_simple_search,n.props.is_hide=e.props.is_hide,e.props.list_height===""?Object.assign(n.props.list_height_setting,{height:void 0}):Object.assign(n.props.list_height_setting,{height:Number(e.props.list_height)}),n.props.list_height_setting.row=e.props.list_rows_max===""?20:Number(e.props.list_rows_max),n.props.caption=e.props.caption,e=n}return e}const n_t=(e,t)=>{console.log(t,"payload");const n=Array.isArray(e);let r=L(n?e:[e],i=>o_t(i));return n?r:r[0]};function o_t(e,t){if(e.type===p.ELECTRONIC_SIGNATURE){const n=e;n.props.signature_config.undersigned_list.length&&n.props.signature_config.undersigned_list.forEach(o=>{(o==null?void 0:o.signature_position)===void 0&&(o.signature_position="free",o.platform_auto_sign=!1,o.pos_x=0,o.pos_y=0)}),e=n}return e}var hB={"v1.0":Lat,"v2.0":Zat,"v2.1":tft,"v2.2":nft,"v2.3":rft,"v2.4":lft,"v2.5":aft,"v2.6":_ft,"v2.7":yft,"v2.8":dft,"v2.9":hft,"v2.10":mft,"v3.0":Oft,"v3.1":$ft,"v3.2":Tft,"v3.3":Bft,"v3.4":Ift,"v3.5":Fft,"v3.6":Cft,"v3.7":Nft,"v3.8":zft,"v3.10":Xft,"v3.11":Yft,"v3.12":n_t,"v3.13":()=>{}};const bB=(e,t)=>{const n=mB(e),o=mB(t),r=n.pop(),i=o.pop(),u=wB(n,o);return u!==0?u:r&&i?wB(r.split("."),i.split(".")):r||i?r?-1:1:0},rf=(e,t,n)=>{l_t(n);const o=bB(e,t);return $B[n].includes(o)},r_t=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,mB=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(r_t);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},gB=e=>e==="*"||e==="x"||e==="X",OB=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},i_t=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],u_t=(e,t)=>{if(gB(e)||gB(t))return 0;const[n,o]=i_t(OB(e),OB(t));return n>o?1:n<o?-1:0},wB=(e,t)=>{for(let n=0;n<Math.max(e.length,t.length);n++){const o=u_t(e[n]||"0",t[n]||"0");if(o!==0)return o}return 0},$B={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},PB=Object.keys($B),l_t=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(PB.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${PB.join("|")}`)};function b0(e){return e.replace(/^v/,"")}const Wn=Object.keys(hB).map(e=>b0(e)).sort(bB),Fo=Wn[Wn.length-1];class c_t{constructor(t,n=Fo){this.schemaVersion=t,this.toVersion=n,rf(n,Fo,">")?Jn(`Version Builder: The specified ${n} is an undefined version, and the current latest version is ${Fo}`):(!Wn.includes(b0(n))||!Wn.includes(b0(t)))&&Jn(`Version Builder: Please give me a valid version number, The valid version is: ${Wn.join(",")}, But give me a ${t}`)}dataCleaner(t,n){if(rf(this.toVersion,this.schemaVersion,"="))return t;const o=this.callDataCleanerKeys.reduce((r,i,u,l)=>{var y;const a=(y=l[u+1])!=null?y:this.toVersion;Lo(`Version Builder: current version: ${i}, nextVersion: ${a}`);const c=hB[i];let _=r;if(typeof c=="function"){const d=c(r,n);d&&(_=d)}return _},t);return Lo(`Version Builder: Version conversion completed, evolving from ${this.schemaVersion} to ${this.toVersion}`),o}get runDataCleanerKeys(){return Wn.filter(t=>rf(t,this.schemaVersion,">=")&&rf(t,this.toVersion,"<"))}get callDataCleanerKeys(){return this.runDataCleanerKeys.map(t=>"v"+t)}get version(){return Fo}static get version(){return Fo}}xe.VersionBuilder=c_t,Object.defineProperty(xe,"__esModule",{value:!0})});
|