@byteluck-fe/model-driven-upgrade 4.38.0-lx0 → 5.5.0-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/index.umd.js CHANGED
@@ -1 +1 @@
1
- (function(Dt,Xn){typeof exports=="object"&&typeof module!="undefined"?Xn(exports):typeof define=="function"&&define.amd?define(["exports"],Xn):(Dt=typeof globalThis!="undefined"?globalThis:Dt||self,Xn(Dt.modelDrivenUpgrade={}))})(this,function(Dt){"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",e3="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",t3="\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",eI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",tI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",nI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",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:e3,isNotBoolean:t3,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:eI,pleaseEnterSvcCodeInDataSetting:tI,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",eB="Please bind the service",tB="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:eB,pleaseBindAtLeastOneDisplayValue:tB,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",e1="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",t1="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",n1="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",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:e1,pleaseEnterAValueGreaterThanMin:t1,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},eA={zhCN:hI,enUS:LB,jaJP:Y1},tA="zh-CN";function be(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Po=function(t){return t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search",t}({}),y=function(t){return t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.OPERATION_BUTTON="operation-button",t.EMPLOYEE_COLUMN="employee-column",t.Approval_Status_Column="approval-status-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.GRID_LAYOUT_CONTAINER="grid-layout-container",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.ACTION_BAR="action-bar",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2",t.GRID_LAYOUT_WRAP="grid-layout-wrap",t.SENSITIVEN_INFORMATION="sensitiven-information",t}({}),g=function(t){return t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.RELATION="relation",t.LIST="list",t.RELATION_FIELD="relation-field",t.REFERENCE_FIELD="reference-field",t.CALC_FIELD="calc",t.JSON="json",t.BIGINT="bigint",t.ANY="ANY",t.ENCRYPTED_FIELD="encrypted_field",t}({}),ae;ae={},be(ae,"array","array-column"),be(ae,"auto_number","auto-number-column"),be(ae,"decimal","decimal-column"),be(ae,"department","department-column"),be(ae,"file","file-column"),be(ae,"image","image-column"),be(ae,"location","location-column"),be(ae,"people","employee-column"),be(ae,"text","text-column"),be(ae,"timescope","timescope-column"),be(ae,"timestamp","timestamp-column"),be(ae,"varchar","varchar-column"),be(ae,"relation","varchar-column");var xt=function(t){return t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime",t}({}),y0="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",nA=y0+"0123456789";function Re(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var o=n===0?y0:nA,r=Math.random()*o.length;e+=o[parseInt(String(r),10)]}return e}function Va(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function oA(t){if(Array.isArray(t))return Va(t)}function rA(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function s0(t,e,n){return e=Qn(e),lA(t,Ca()?Reflect.construct(e,n||[],Qn(t).constructor):e.apply(t,n))}function p0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Eo(t,e,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(t){return Qn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qn(t)}function d0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Jn(t,e)}function iA(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function uA(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}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(t,e){return e&&(aA(e)==="object"||typeof e=="function")?e:rA(t)}function Jn(t,e){return Jn=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jn(t,e)}function v0(t){return oA(t)||uA(t)||fA(t)||cA()}function aA(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fA(t,e){if(!!t){if(typeof t=="string")return Va(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Va(t,e)}}function za(t){var e=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 e!="undefined"){if(e.has(o))return e.get(o);e.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(t)}function Ca(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ca=function(){return!!t})()}var Ha=console;function qa(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var o,r=e.slice(1);(o=Ha).warn.apply(o,["\u{1F9D0} Driven Warning:"+e[0]].concat(v0(r)))}function So(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var o,r=e.slice(1);(o=Ha).log.apply(o,["\u{1F680} Driven Log:"+e[0]].concat(v0(r)))}function _A(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Ua=function(t){d0(e,t);function e(n){p0(this,e);var o;return o=s0(this,e,[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 e}(za(Error)),yA=function(t){d0(e,t);function e(n){p0(this,e);var o;return o=s0(this,e,[n]),o.name="\u{1F6A8} Driven Reference Error",o}return e}(Ua);function Zn(t){throw new Ua(t)}function h0(t){throw new yA(t)}function sA(t){Ha.error(new Ua(t))}var pA=Object.prototype.toString;function b0(t,e){return pA.call(t)==="[object "+e+"]"}function dA(t){return b0(t,"String")}function vA(t){return b0(t,"Promise")}var hA=function(){function t(e){var n,o;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((o=(n=e.messages)!==null&&n!==void 0?n:this.getPreImport(e.locale))!==null&&o!==void 0?o:{}),e.variableRegExp&&(this.variableRegExp=e.variableRegExp),this.setLocale(e.locale)}return t.prototype.setLocale=function(e){var n=this;this.locale=e,this._messageCache.clear();var o=this.getMessageData();vA(o)?o.then(function(r){n._messageCache.clear(),n.messages[n.localeInMessageKey]=r}):this.messages[this.localeInMessageKey]=o},t.prototype.getMessageData=function(){var e=this._messages[this.localeInMessageKey];return typeof e=="function"?e():e},t.prototype.translate=function(e,n,o){var r=this.getMessage(e);return r?this.formatMessage(r,o):this.formatMessage(n,o)},t.prototype.getMessage=function(e){if(this._messageCache.has(e))return this._messageCache.get(e);var n=this.getPathArray(e),o=n.reduce(function(r,i,u,c){if(r!==void 0){var a=r[i];if(!(u===c.length-1&&!dA(a)))return a}},this.message);return this._messageCache.set(e,o),o},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(o,r){var i=n[r];return i!==void 0?String(i):o}):e},t.prototype.getPreImport=function(e){var n;if(window.okI18nPreImport){var o=this.getLocaleInMessageKey(e);return window.okI18nPreImport.hasOwnProperty(o)?window.okI18nPreImport:(n={},n[o]=window.okI18nPreImport,n)}},t.prototype.getPathArray=function(e){return e.split(".")},t.prototype.getLocaleInMessageKey=function(e){return e.replace(/-/g,"")},Object.defineProperty(t.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){var e;return(e=this.messages[this.localeInMessageKey])!==null&&e!==void 0?e:{}},enumerable:!1,configurable:!0}),t}();function bA(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function g0(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function gA(t,e,n){return e&&g0(t.prototype,e),n&&g0(t,n),t}function mA(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var p=function(){function t(){bA(this,t)}return gA(t,null,[{key:"getMessage",value:function(n){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",o)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:tA;return new hA({locale:n,messages:eA})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();mA(p,"$i18n",p.resetI18n());function OA(t,e,n){var o=e.replace(/\[(\d)]/g,function(i,u){return"."+u}).split("."),r=!1;return o.reduce(function(i,u,c,a){var l=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,u)){qa("Can not set ".concat(e,"'s ").concat(u," property in current %o, Because there is no ").concat(u," property on the %o"),i,i);return}return c===a.length-1&&!Object.is(l[u],n)&&(l[u]=n,r=!0),l[u]}},t),r}var wA=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Wa={exports:{}};(function(t){(function(e){var n=function(h,$,P){if(!l($)||s($)||d($)||b($)||a($))return $;var E,T=0,F=0;if(_($))for(E=[],F=$.length;T<F;T++)E.push(n(h,$[T],P));else{E={};for(var A in $)Object.prototype.hasOwnProperty.call($,A)&&(E[h(A,P)]=n(h,$[A],P))}return E},o=function(h,$){$=$||{};var P=$.separator||"_",E=$.split||/(?=[A-Z])/;return h.split(E).join(P)},r=function(h){return O(h)?h:(h=h.replace(/[\-_\s]+(.)?/g,function($,P){return P?P.toUpperCase():""}),h.substr(0,1).toLowerCase()+h.substr(1))},i=function(h){var $=r(h);return $.substr(0,1).toUpperCase()+$.substr(1)},u=function(h,$){return o(h,$).toLowerCase()},c=Object.prototype.toString,a=function(h){return typeof h=="function"},l=function(h){return h===Object(h)},_=function(h){return c.call(h)=="[object Array]"},s=function(h){return c.call(h)=="[object Date]"},d=function(h){return c.call(h)=="[object RegExp]"},b=function(h){return c.call(h)=="[object Boolean]"},O=function(h){return h=h-0,h===h},m=function(h,$){var P=$&&"process"in $?$.process:$;return typeof P!="function"?h:function(E,T){return P(E,h,T)}},w={camelize:r,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(h,$){return n(m(r,$),h)},decamelizeKeys:function(h,$){return n(m(u,$),h,$)},pascalizeKeys:function(h,$){return n(m(i,$),h)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=w:e.humps=w})(wA)})(Wa);var m0={};Object.defineProperty(m0,"__esModule",{value:!0});function Ka(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Ka(e));{const e={};for(const n in t){const o=t[n];e[n]=typeof o!="object"||o===null?o:Ka(o)}return e}}var $A=m0.default=Ka;function PA(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ot(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":PA(t))==="object"?$A(t):t}function fe(t){return O0(t)&&"zh"in t}function O0(t){return Object.prototype.toString.call(t)==="[object Object]"}function Ga(t){return Array.isArray(t)}function Lt(t){return isNaN(parseFloat(t))?"":Number(t)}function EA(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function H(t,e){var n=[];return Array.isArray(t)&&(n=t.map(function(o){var r=o;return Array.isArray(o==null?void 0:o.children)&&(r.children=H(o.children,e)),Array.isArray(o==null?void 0:o.footers)&&(r.footers=H(o.footers,e)),e(r)})),n}function SA(t){return Wa.exports.camelizeKeys(t)}function Ft(t){return Wa.exports.decamelizeKeys(t)}function Xa(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function TA(t){if(Array.isArray(t))return Xa(t)}function w0(t,e,n,o,r,i,u){try{var c=t[i](u),a=c.value}catch(l){n(l);return}c.done?e(a):Promise.resolve(a).then(o,r)}function RA(t){return function(){var e=this,n=arguments;return new Promise(function(o,r){var i=t.apply(e,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(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $0(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function BA(t,e,n){return e&&$0(t.prototype,e),n&&$0(t,n),t}function P0(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function AA(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}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(t){return TA(t)||AA(t)||DA(t)||kA()}function DA(t,e){if(!!t){if(typeof t=="string")return Xa(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Xa(t,e)}}function xA(t,e){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(_){return a([l,_])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,o=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){u.label=l[1];break}if(l[0]===6&&u.label<r[1]){u.label=r[1],r=l;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(l);break}r[2]&&u.ops.pop(),u.trys.pop();continue}l=e.call(t,u)}catch(_){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 t(){IA(this,t),P0(this,"_events",new Map),P0(this,"debug",!1)}return BA(t,[{key:"emit",value:function(n){for(var o=arguments.length,r=new Array(o>1?o-1:0),i=1;i<o;i++)r[i-1]=arguments[i];var u=this;return RA(function(){var c,a,l,_,s,d,b,O,m,w,h,$;return xA(this,function(P){switch(P.label){case 0:if(c=u._events.get(n),a=[],!c)return[3,10];l=c.slice(),_=!0,s=!1,d=void 0,P.label=1;case 1:P.trys.push([1,8,9,10]),b=l[Symbol.iterator](),P.label=2;case 2:if(_=(O=b.next()).done)return[3,7];if(m=O.value,!c.includes(m))return[3,6];P.label=3;case 3:return P.trys.push([3,5,,6]),u.debug&&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 w=P.sent(),u.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),[w])),a.push(w),w===!1?[3,7]:[3,6];case 5:return h=P.sent(),sA(String(h)+":"+String(h.stack)),[3,6];case 6:return _=!0,[3,2];case 7:return[3,10];case 8:return $=P.sent(),s=!0,d=$,[3,10];case 9:try{!_&&b.return!=null&&b.return()}finally{if(s)throw d}return[7];case 10:return[2,a]}})})()}},{key:"on",value:function(n,o){if(this._events.has(n)){var r;(r=this._events.get(n))===null||r===void 0||r.push(o)}else this._events.set(n,[o])}},{key:"off",value:function(n,o){if(this._events.has(n)){var r=this._events.get(n),i=r==null?void 0:r.indexOf(o);r==null||r.splice(i,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function FA(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function E0(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function jA(t,e,n){return e&&E0(t.prototype,e),n&&E0(t,n),t}function MA(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}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 t(){FA(this,t)}return jA(t,null,[{key:"getEventsFromKeys",value:function(n){var o=typeof n=="string"?[n]:n;return t.events.filter(function(r){return o.includes(r.key)})}},{key:"getEventsFromControl",value:function(n){var o=[],r=n.eventKeys;o=o.concat(t.events.filter(function(u){return r.includes(u.key)}));var i=n.customEvents.map(function(u){var c=u.key;return{key:c,code:u.key,name:u.name}});return o=o.concat(i),o}}]),t}();MA(VA,"events",NA);function Ja(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function zA(t){if(Array.isArray(t))return Ja(t)}function CA(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function HA(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function S0(t){return zA(t)||CA(t)||qA(t)||HA()}function qA(t,e){if(!!t){if(typeof t=="string")return Ja(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ja(t,e)}}function Za(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function T0(t,e,n){n!=="Runtime"&&(t.parent=e,Za(t,"parent"))}function UA(t,e,n){t.forEach(function(o){T0(o,e,n)})}var R0=Symbol("targetKey");function I0(t){var e;return(e=t[R0])!==null&&e!==void 0?e:t}function B0(t,e,n){return UA(t,e,n),new Proxy(t,{get:function(r,i){for(var u=arguments.length,c=new Array(u>2?u-2:0),a=2;a<u;a++)c[a-2]=arguments[a];var l;return i===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(t)&&i==="length"&&u===t.length)return!0;var s=(_=Reflect).set.apply(_,[r,i,u].concat(S0(a)));return O0(u)&&T0(u,e,n),s}})}function Xe(t,e,n,o,r){var i=o!=null?o:t,u=B0(I0(n!=null?n:[]),i,r);Object.defineProperty(t,e,{get:function(){return u},set:function(a){u=B0(I0(a),i,r)},enumerable:!0})}function WA(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function A0(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function KA(t,e,n){return e&&A0(t.prototype,e),n&&A0(t,n),t}function rt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var k0=[],To=function(){function t(e){WA(this,t),rt(this,"registeredControlTypes",new Set),rt(this,"controlConfigMap",new Map),rt(this,"_controls",[]),rt(this,"_type",void 0),this._type=e,this._initControls(e)}return KA(t,[{key:"registerControlConfig",value:function(n,o){return this.controlConfigMap.set(n,o),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||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]||[],d;return s.length!==l.length?d=s[0]:d=s[_],d}}}}),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]),t.staticControlsRuntimeRules.set(r.Runtime.controlType,r.Property.RuntimeRules),r.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,o){var r=t.staticControlsRuntimeRules.get(n),i=[];if(r){var u=new r(o);i=Array.from(u)}return i}},{key:"register",value:function(n,o){var r=n.Designer,i=n.Runtime,u=n.Property;(!r||!i||!r.__is_control__||!i.__is_control__)&&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}}]),t}();rt(To,"staticControlsRuntimeRules",new Map),rt(To,"staticControls",k0),rt(To,"staticRegisteredTypes",new Set(k0.map(function(t){return t.Designer.controlType}))),rt(To,"staticRegisteredConfigs",new Map);function GA(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ie(t,e,n){return e=Ro(e),XA(t,D0()?Reflect.construct(e,n||[],Ro(t).constructor):e.apply(t,n))}function S(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ro(t){return Ro=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ro(t)}function Be(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ya(t,e)}function XA(t,e){return e&&(QA(e)==="object"||typeof e=="function")?e:GA(t)}function Ya(t,e){return Ya=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ya(t,e)}function QA(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function D0(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(D0=function(){return!!t})()}var Ae=function t(e){S(this,t),v(this,"dataCode",void 0),v(this,"fieldCode",void 0),v(this,"fieldType",void 0),v(this,"aliasCode",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var o;this.fieldCode=(o=e==null?void 0:e.fieldCode)!==null&&o!==void 0?o:"";var r;this.fieldType=(r=e==null?void 0:e.fieldType)!==null&&r!==void 0?r:"",this.aliasCode=e==null?void 0:e.aliasCode},ef=function t(e){S(this,t),v(this,"minWidth",void 0),v(this,"maxWidth",void 0),v(this,"flex",void 0);var n;this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth;var o;this.flex=(o=e==null?void 0:e.flex)!==null&&o!==void 0?o:1},tf=function(t){Be(e,t);function e(n){S(this,e);var o;o=Ie(this,e,[n]),v(o,"width",void 0),v(o,"widthType",void 0);var r;o.width=(r=n==null?void 0:n.width)!==null&&r!==void 0?r:240;var i;return o.widthType=(i=n==null?void 0:n.widthType)!==null&&i!==void 0?i:"auto",o}return e}(ef),x0=function t(e){S(this,t),v(this,"pc",void 0),v(this,"mobile",void 0),this.pc=new tf(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new tf(e==null?void 0:e.mobile):new tf({width:130,minWidth:180})},JA=function t(e){S(this,t),v(this,"type",void 0),v(this,"customOptions",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree";var o;this.customOptions=(o=e==null?void 0:e.customOptions)!==null&&o!==void 0?o:[]},jt=function t(e){S(this,t),v(this,"dataCode",void 0),v(this,"formKey",void 0),v(this,"appId",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var o;this.formKey=(o=e==null?void 0:e.formKey)!==null&&o!==void 0?o:"";var r;this.appId=(r=e==null?void 0:e.appId)!==null&&r!==void 0?r:""},ZA=function(t){Be(e,t);function e(n){S(this,e);var o;o=Ie(this,e,[n]),v(o,"primaryControlId",void 0);var r;return o.primaryControlId=(r=n==null?void 0:n.primaryControlId)!==null&&r!==void 0?r:"",o}return e}(jt),L0=function t(e){S(this,t),v(this,"fieldCode",void 0),v(this,"dataCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"";var o;this.dataCode=(o=e==null?void 0:e.dataCode)!==null&&o!==void 0?o:""},nf=function t(e){S(this,t);var n;v(this,"appId",void 0),v(this,"formKey",void 0),v(this,"headers",void 0);var o;this.appId=(o=e==null?void 0:e.appId)!==null&&o!==void 0?o:"";var r;this.formKey=(r=e==null?void 0:e.formKey)!==null&&r!==void 0?r:"";var i;this.headers=(i=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(u){return new L0(u)}))!==null&&i!==void 0?i:[]},YA=function t(e){S(this,t),v(this,"fieldName",void 0),v(this,"fieldCode",void 0),v(this,"fieldType",void 0);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var o;this.fieldCode=(o=e==null?void 0:e.fieldCode)!==null&&o!==void 0?o:"";var r;this.fieldType=(r=e==null?void 0:e.fieldType)!==null&&r!==void 0?r:g.VARCHAR},ek=function(t){Be(e,t);function e(n){S(this,e);var o;o=Ie(this,e,[n]),v(o,"title",void 0),v(o,"svcCode",void 0),v(o,"isOpenFilter",void 0),v(o,"filters",void 0);var r;o.title=(r=n==null?void 0:n.title)!==null&&r!==void 0?r:"";var i;o.svcCode=(i=n==null?void 0:n.svcCode)!==null&&i!==void 0?i:"";var u;o.isOpenFilter=(u=n==null?void 0:n.isOpenFilter)!==null&&u!==void 0?u:!1;var c;return o.filters=(c=n==null?void 0:n.filters)!==null&&c!==void 0?c:[],o}return e}(jt),tk=function t(e){S(this,t);var n,o;v(this,"type","sublist-page"),v(this,"formBind",void 0),v(this,"displayFields",void 0),v(this,"sublists",void 0),this.formBind=new jt(e==null?void 0:e.formBind);var r;this.displayFields=(r=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(u){return new YA(u)}))!==null&&r!==void 0?r:[];var i;this.sublists=(i=e==null||(o=e.sublists)===null||o===void 0?void 0:o.map(function(u){return new ek(u)}))!==null&&i!==void 0?i:[]},nk=function t(e){S(this,t),v(this,"type",void 0),v(this,"value",void 0),v(this,"dataCode",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value,this.dataCode=e==null?void 0:e.dataCode},Mt=function t(e){S(this,t),v(this,"type",void 0),v(this,"value",void 0),v(this,"displayBos",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var o;this.value=(o=e==null?void 0:e.value)!==null&&o!==void 0?o:[];var r;this.displayBos=(r=e==null?void 0:e.displayBos)!==null&&r!==void 0?r:[]},of=function t(e){var n=this;S(this,t),v(this,"id",void 0),v(this,"ruleId",void 0),v(this,"type","conditions"),v(this,"level",void 0),v(this,"value",void 0),v(this,"children",void 0);var o;this.id=(o=e==null?void 0:e.id)!==null&&o!==void 0?o:Re();var r;this.ruleId=(r=e==null?void 0:e.ruleId)!==null&&r!==void 0?r:new Date().valueOf();var i;this.level=(i=e==null?void 0:e.level)!==null&&i!==void 0?i:0;var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(c){if(c.children!==void 0){var a,l=new t(c);(a=n.children)===null||a===void 0||a.push(l)}else{var _,s=new Io(c);(_=n.children)===null||_===void 0||_.push(s)}}))},Io=function t(e){S(this,t),v(this,"id",void 0),v(this,"ruleId",void 0),v(this,"type","condition"),v(this,"symbol",void 0),v(this,"checked",void 0),v(this,"describe",void 0),v(this,"leftVariableBo",void 0),v(this,"rightVariableBo",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:Re();var o;this.ruleId=(o=e==null?void 0:e.ruleId)!==null&&o!==void 0?o:new Date().valueOf();var r;this.symbol=(r=e==null?void 0:e.symbol)!==null&&r!==void 0?r:"";var i;this.checked=(i=e==null?void 0:e.checked)!==null&&i!==void 0?i:!1;var u;this.describe=(u=e==null?void 0:e.describe)!==null&&u!==void 0?u:"",this.leftVariableBo=new nk(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new Mt(e==null?void 0:e.rightVariableBo)},ok=function t(e){S(this,t),v(this,"aliasCode",void 0),v(this,"datasourceBind",void 0),v(this,"relationFields",void 0);var n;this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new G(e==null?void 0:e.datasourceBind);var o;this.relationFields=(o=e==null?void 0:e.relationFields)!==null&&o!==void 0?o:[]},se=function t(e){S(this,t),v(this,"controlId",void 0),v(this,"fieldCode",void 0),v(this,"fieldType",void 0),v(this,"propName",void 0);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var o;this.fieldCode=(o=e==null?void 0:e.fieldCode)!==null&&o!==void 0?o:"";var r;this.fieldType=(r=e==null?void 0:e.fieldType)!==null&&r!==void 0?r:"";var i;this.propName=(i=e==null?void 0:e.propName)!==null&&i!==void 0?i:""},rf=function t(e){S(this,t),v(this,"type",void 0),v(this,"value",void 0),v(this,"fieldType",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var o;this.value=(o=e==null?void 0:e.value)!==null&&o!==void 0?o:"",this.fieldType=e==null?void 0:e.fieldType},rk=function t(e){S(this,t),v(this,"columnName",void 0),v(this,"desc",void 0);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var o;this.desc=(o=e.desc)!==null&&o!==void 0?o:!1};function uf(t){var e,n,o,r;this.filters=(r=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(c){return c.children!==void 0?new of(c):new Io(c)}))!==null&&r!==void 0?r:[];var i;this.viewFilters=(i=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(c){return c.children!==void 0?new of(c):new Io(c)}))!==null&&i!==void 0?i:[];var u;this.orders=(u=t==null||(o=t.orders)===null||o===void 0?void 0:o.map(function(c){return new rk(c)}))!==null&&u!==void 0?u:[]}var G=function t(e){var n=this;S(this,t),v(this,"dataCode",void 0),v(this,"valueFieldCode",void 0),v(this,"displayBoList",void 0),v(this,"keywordMapping",void 0),v(this,"svcCode",void 0),v(this,"appId",void 0),v(this,"filters",void 0),v(this,"viewFilters",void 0),v(this,"isOpenViewFilters",void 0),v(this,"orders",void 0),v(this,"showOrder",void 0),v(this,"assignDepartment",void 0),v(this,"openAssignDepartment",void 0);var o;this.dataCode=(o=e==null?void 0:e.dataCode)!==null&&o!==void 0?o:"";var r;this.appId=(r=e==null?void 0:e.appId)!==null&&r!==void 0?r:"";var i;this.valueFieldCode=(i=e==null?void 0:e.valueFieldCode)!==null&&i!==void 0?i:"",this.displayBoList=[];var u;this.isOpenViewFilters=(u=e==null?void 0:e.isOpenViewFilters)!==null&&u!==void 0?u:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(s){var d;(d=n.displayBoList)===null||d===void 0||d.push(new rf(s))}));var c;this.keywordMapping=(c=e==null?void 0:e.keywordMapping)!==null&&c!==void 0?c:"";var a;this.showOrder=(a=e==null?void 0:e.showOrder)!==null&&a!==void 0?a:!0;var l;this.svcCode=(l=e==null?void 0:e.svcCode)!==null&&l!==void 0?l:"",this.assignDepartment=new Mt(e==null?void 0:e.assignDepartment);var _;this.openAssignDepartment=(_=e==null?void 0:e.openAssignDepartment)!==null&&_!==void 0?_:!1,uf.call(this,e)},cf=function t(e){S(this,t),v(this,"dataCode",void 0),v(this,"displayBoList",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var o;this.displayBoList=(o=e==null?void 0:e.displayBoList)!==null&&o!==void 0?o:[]},Qe=function t(e){S(this,t),v(this,"code",void 0),v(this,"color",void 0),v(this,"command",void 0),v(this,"confirmMessage",void 0),v(this,"defaultState",void 0),v(this,"formKey",void 0),v(this,"formType",void 0),v(this,"icon",void 0),v(this,"needConfirm",void 0),v(this,"openType",void 0),v(this,"priorityProcess",void 0);var n;this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view";var o;this.color=(o=e==null?void 0:e.color)!==null&&o!==void 0?o:"primary";var r;this.command=(r=e==null?void 0:e.command)!==null&&r!==void 0?r:"view";var i;this.confirmMessage=(i=e==null?void 0:e.confirmMessage)!==null&&i!==void 0?i:void 0;var u;this.defaultState=(u=e==null?void 0:e.defaultState)!==null&&u!==void 0?u:"default";var c;this.formKey=(c=e==null?void 0:e.formKey)!==null&&c!==void 0?c:void 0,this.formType=e==null?void 0:e.formType;var a;this.icon=(a=e==null?void 0:e.icon)!==null&&a!==void 0?a:"iconliulan1";var l;this.needConfirm=(l=e==null?void 0:e.needConfirm)!==null&&l!==void 0?l:!1;var _;this.openType=(_=e==null?void 0:e.openType)!==null&&_!==void 0?_:"modal";var s;this.priorityProcess=(s=e==null?void 0:e.priorityProcess)!==null&&s!==void 0?s:!0},F0=function t(e){S(this,t);var n;v(this,"name",void 0),v(this,"key",void 0),v(this,"value",void 0);var o;this.name=(o=e==null?void 0:e.name)!==null&&o!==void 0?o:"";var r;this.key=(r=e==null?void 0:e.key)!==null&&r!==void 0?r:"";var i;this.value=(i=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(u){return new rf(u)}))!==null&&i!==void 0?i:[]},Bo=function(t){Be(e,t);function e(n){S(this,e);var o,r;o=Ie(this,e,[n]),v(o,"attributes",void 0);var i;return o.attributes=(i=n==null||(r=n.attributes)===null||r===void 0?void 0:r.map(function(u){return new F0(u)}))!==null&&i!==void 0?i:[],o}return e}(G),ik=function(t){Be(e,t);function e(n){S(this,e);var o,r;o=Ie(this,e,[n]),v(o,"attributes",void 0),v(o,"formCode",void 0);var i;o.attributes=(i=n==null||(r=n.attributes)===null||r===void 0?void 0:r.map(function(c){return new 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 e}(G),j0=function(t){Be(e,t);function e(n){S(this,e);var o;o=Ie(this,e,[n]),v(o,"rootNode",void 0),v(o,"filterCode",void 0),o.rootNode=new Mt(n==null?void 0:n.rootNode);var r;return o.filterCode=(r=n==null?void 0:n.filterCode)!==null&&r!==void 0?r:"",o}return e}(Bo),M0=function t(e){S(this,t);var n;v(this,"dataCode",void 0),v(this,"appId",void 0),v(this,"fillList",void 0);var o;this.dataCode=(o=e==null?void 0:e.dataCode)!==null&&o!==void 0?o:"";var r;this.appId=(r=e==null?void 0:e.appId)!==null&&r!==void 0?r:"";var i;this.fillList=(i=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(u){return new se(u)}))!==null&&i!==void 0?i:[]},N0=function(t){Be(e,t);function e(n){S(this,e);var o;return o=Ie(this,e,[n]),v(o,"filters",void 0),v(o,"viewFilters",void 0),v(o,"orders",void 0),uf.call(o,n),o}return e}(M0),V0=function(t){Be(e,t);function e(n){S(this,e);var o;o=Ie(this,e,[n]),v(o,"mode",void 0),v(o,"multiple",void 0);var r;o.mode=(r=n==null?void 0:n.mode)!==null&&r!==void 0?r:"current";var i;return o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1,o}return e}(M0),Ao=function t(e){S(this,t),v(this,"stencilName",void 0),v(this,"expression",void 0),v(this,"errMessage",void 0);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var o;this.expression=(o=e==null?void 0:e.expression)!==null&&o!==void 0?o:"";var r;this.errMessage=(r=e==null?void 0:e.errMessage)!==null&&r!==void 0?r:""},uk=function t(e){S(this,t),v(this,"id",void 0),v(this,"label",void 0),v(this,"value",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:Re(8);var o;this.label=(o=e==null?void 0:e.label)!==null&&o!==void 0?o:"";var r;this.value=(r=e==null?void 0:e.value)!==null&&r!==void 0?r:this.label};function Je(t){var e;return(e=t==null?void 0:t.map(function(n){return new uk(n)}))!==null&&e!==void 0?e:[]}var lf=function t(){S(this,t)},ck=function(t){Be(e,t);function e(n){S(this,e);var o;return o=Ie(this,e),v(o,"amount",void 0),v(o,"currency",void 0),o.amount=new Ae(n==null?void 0:n.amount),o.currency=new Ae(n==null?void 0:n.currency),o}return e}(lf),lk=function t(e){S(this,t),v(this,"amount",void 0),v(this,"currency",void 0);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var o;this.currency=(o=e==null?void 0:e.currency)!==null&&o!==void 0?o:"CNY"},ak=function(t){Be(e,t);function e(n){S(this,e);var o;return o=Ie(this,e),v(o,"min",void 0),v(o,"max",void 0),o.min=new Ae(n==null?void 0:n.min),o.max=new Ae(n==null?void 0:n.max),o}return e}(lf),fk=function t(e){S(this,t),v(this,"min",void 0),v(this,"max",void 0);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var o;this.max=(o=e==null?void 0:e.max)!==null&&o!==void 0?o:""},_k=function t(e){S(this,t),v(this,"city",void 0),v(this,"cityDisplay",void 0),v(this,"district",void 0),v(this,"districtDisplay",void 0),v(this,"province",void 0),v(this,"provinceDisplay",void 0);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var o;this.cityDisplay=(o=e==null?void 0:e.cityDisplay)!==null&&o!==void 0?o:"";var r;this.district=(r=e==null?void 0:e.district)!==null&&r!==void 0?r:"";var i;this.districtDisplay=(i=e==null?void 0:e.districtDisplay)!==null&&i!==void 0?i:"";var u;this.province=(u=e==null?void 0:e.province)!==null&&u!==void 0?u:"";var c;this.provinceDisplay=(c=e==null?void 0:e.provinceDisplay)!==null&&c!==void 0?c:""},yk=function(t){Be(e,t);function e(n){S(this,e);var o;return o=Ie(this,e),v(o,"result",void 0),v(o,"unit",void 0),o.result=new Ae(n==null?void 0:n.result),o.unit=new Ae(n==null?void 0:n.unit),o}return e}(lf),sk=function t(e){S(this,t),v(this,"result",void 0),v(this,"unit",void 0);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var o;this.unit=(o=e==null?void 0:e.unit)!==null&&o!==void 0?o:""},pk=function(t){return t.CNY="CNY",t.USD="USD",t.JPY="JPY",t.EUR="EUR",t.INR="INR",t.IDR="IDR",t.BRL="BRL",t.AED="AED",t.AUD="AUD",t.CAD="CAD",t.EGP="EGP",t.GBP="GBP",t.ZAR="ZAR",t.KRW="KRW",t.MAD="MAD",t.MXN="MXN",t.MYR="MYR",t.PHP="PHP",t.PLN="PLN",t.RUB="RUB",t.SGD="SGD",t.THB="THB",t.TRY="TRY",t.TWD="TWD",t.VND="VND",t.HKD="HKD",t.IEP="IEP",t}({}),f=function(t){return t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.IS_SHOW_WATERMARK="isShowWatermark",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions",t.IS_PASTE="isPaste",t.CAPTION_SIZE="captionSize",t.CAPTION_COLOR="captionColor",t.IS_CAPTION_ITALIC="isCaptionItalic",t.ONLY_ALLOW_TAKE_PHOTO="onlyAllowTakePhoto",t.FORBID_DOWNLOAD="forbidDownload",t.ACCESS_CONTROL="accessControl",t}({}),dk=function(t){return t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT",t}({}),it=function t(e){S(this,t),v(this,"isShow",void 0),v(this,"priorityProcess",void 0),v(this,"formKey",void 0),v(this,"content",void 0),v(this,"openType",void 0),v(this,"type",void 0);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var o;this.content=(o=e==null?void 0:e.content)!==null&&o!==void 0?o:"";var r;this.formKey=(r=e==null?void 0:e.formKey)!==null&&r!==void 0?r:"";var i;this.openType=(i=e==null?void 0:e.openType)!==null&&i!==void 0?i:"modal";var u;this.type=(u=e==null?void 0:e.type)!==null&&u!==void 0?u:"";var c;this.priorityProcess=(c=e==null?void 0:e.priorityProcess)!==null&&c!==void 0?c:!1},vk=function t(e){S(this,t);var n;v(this,"id",void 0),v(this,"title",void 0),v(this,"filters",void 0),v(this,"viewFilters",void 0),v(this,"headers",void 0);var o;this.id=(o=e==null?void 0:e.id)!==null&&o!==void 0?o:Re(8);var r;this.title=(r=e==null?void 0:e.title)!==null&&r!==void 0?r:"";var i;this.headers=(i=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(u){return new L0(u)}))!==null&&i!==void 0?i:[],uf.call(this,e)},hk=function t(e){S(this,t),v(this,"width",void 0),v(this,"height",void 0),v(this,"widthConfig",void 0),v(this,"heightConfig",void 0);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var o;this.height=(o=e==null?void 0:e.height)!==null&&o!==void 0?o:"";var r;this.widthConfig=(r=e==null?void 0:e.widthConfig)!==null&&r!==void 0?r:"fill";var i;this.heightConfig=(i=e==null?void 0:e.heightConfig)!==null&&i!==void 0?i:"fill"},bk=function t(e){S(this,t),v(this,"optCode",void 0),v(this,"optType",void 0);var n;this.optCode=(n=e==null?void 0:e.optCode)!==null&&n!==void 0?n:"";var o;this.optType=(o=e==null?void 0:e.optType)!==null&&o!==void 0?o:""},gk=function t(e){S(this,t);var n;v(this,"id",void 0),v(this,"name",void 0),v(this,"color",void 0),v(this,"filters",void 0);var o;this.id=(o=e==null?void 0:e.id)!==null&&o!==void 0?o:Re();var r;this.name=(r=e==null?void 0:e.name)!==null&&r!==void 0?r:"";var i;this.color=(i=e==null?void 0:e.color)!==null&&i!==void 0?i:"theme";var u;this.filters=(u=e==null||(n=e.filters)===null||n===void 0?void 0:n.map(function(c){return c.children!==void 0?new of(c):new Io(c)}))!==null&&u!==void 0?u:[]},mk=function t(e){S(this,t),v(this,"id",void 0),v(this,"script",void 0),v(this,"color",void 0);var n;this.id=(n=e.id)!==null&&n!==void 0?n:Re();var o;this.script=(o=e.script)!==null&&o!==void 0?o:"";var r;this.color=(r=e.color)!==null&&r!==void 0?r:"theme"};function Ok(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wk(t,e,n){return e=Yn(e),Ek(t,_f()?Reflect.construct(e,n||[],Yn(t).constructor):e.apply(t,n))}function af(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ko(t,e,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&&eo(l,u.prototype),l},ko.apply(null,arguments)}function ut(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yn(t){return Yn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yn(t)}function $k(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&eo(t,e)}function Pk(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Ek(t,e){return e&&(Sk(e)==="object"||typeof e=="function")?e:Ok(t)}function eo(t,e){return eo=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},eo(t,e)}function Sk(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ff(t){var e=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 e!="undefined"){if(e.has(o))return e.get(o);e.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}}),eo(r,o)},ff(t)}function _f(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_f=function(){return!!t})()}var W=function t(e){af(this,t),ut(this,"isHide",{type:"boolean"})},mt=function(t){$k(e,t);function e(n){return af(this,e),wk(this,e)}return e}(ff(Array)),X=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";af(this,t),ut(this,"isHide",void 0),ut(this,"className",void 0),ut(this,"style",void 0),ut(this,"caption",void 0);var o;this.isHide=(o=e==null?void 0:e.isHide)!==null&&o!==void 0?o:!1,this.style=new hk(e==null?void 0:e.style);var r;this.caption=(r=e==null?void 0:e.caption)!==null&&r!==void 0?r:n};ut(X,"mode",void 0),ut(X,"Rules",W),ut(X,"RuntimeRules",mt);function Ve(){return Ve=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},Ve.apply(this,arguments)}function Tk(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function yf(t){return yf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yf(t)}function Do(t,e){return Do=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Do(t,e)}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(t){return!1}}function xo(t,e,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(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function sf(t){var e=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 e!="undefined"){if(e.has(o))return e.get(o);e.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(t)}var Bk=/%[sdj%]/g,z0=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(z0=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(o){return typeof o=="string"})&&console.warn(e,n)});function pf(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var o=n.field;e[o]=e[o]||[],e[o].push(n)}),e}function ge(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var o=1,r=e[0],i=e.length;if(typeof r=="function")return r.apply(null,e.slice(1));if(typeof r=="string"){var u=String(r).replace(Bk,function(c){if(c==="%%")return"%";if(o>=i)return c;switch(c){case"%s":return String(e[o++]);case"%d":return Number(e[o++]);case"%j":try{return JSON.stringify(e[o++])}catch(a){return"[Circular]"}break;default:return c}});return u}return r}function Ak(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function K(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||Ak(e)&&typeof t=="string"&&!t)}function kk(t,e,n){var o=[],r=0,i=t.length;function u(c){o.push.apply(o,c),r++,r===i&&n(o)}t.forEach(function(c){e(c,u)})}function C0(t,e,n){var o=0,r=t.length;function i(u){if(u&&u.length){n(u);return}var c=o;o=o+1,c<r?e(t[c],i):n([])}i([])}function Dk(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var H0=function(t){Tk(e,t);function e(n,o){var r;return r=t.call(this,"Async Validation Error")||this,r.errors=n,r.fields=o,r}return e}(sf(Error));function xk(t,e,n,o){if(e.first){var r=new Promise(function(s,d){var b=function(w){return o(w),w.length?d(new H0(w,pf(w))):s()},O=Dk(t);C0(O,n,b)});return r.catch(function(s){return s}),r}var i=e.firstFields||[];i===!0&&(i=Object.keys(t));var u=Object.keys(t),c=u.length,a=0,l=[],_=new Promise(function(s,d){var b=function(m){if(l.push.apply(l,m),a++,a===c)return o(l),l.length?d(new H0(l,pf(l))):s()};u.length||(o(l),s()),u.forEach(function(O){var m=t[O];i.indexOf(O)!==-1?C0(m,n,b):kk(m,n,b)})});return _.catch(function(s){return s}),_}function q0(t){return function(e){return e&&e.message?(e.field=e.field||t.fullField,e):{message:typeof e=="function"?e():e,field:e.field||t.fullField}}}function U0(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var o=e[n];typeof o=="object"&&typeof t[n]=="object"?t[n]=Ve(Ve({},t[n]),o):t[n]=o}}return t}function W0(t,e,n,o,r,i){t.required&&(!n.hasOwnProperty(t.field)||K(e,i||t.type))&&o.push(ge(r.messages.required,t.fullField))}function Lk(t,e,n,o,r){(/^\s+$/.test(e)||e==="")&&o.push(ge(r.messages.whitespace,t.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},to={integer:function(e){return to.number(e)&&parseInt(e,10)===e},float:function(e){return to.number(e)&&!to.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(n){return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!to.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(df.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(df.url)},hex:function(e){return typeof e=="string"&&!!e.match(df.hex)}};function Fk(t,e,n,o,r){if(t.required&&e===void 0){W0(t,e,n,o,r);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],u=t.type;i.indexOf(u)>-1?to[u](e)||o.push(ge(r.messages.types[u],t.fullField,t.type)):u&&typeof e!==t.type&&o.push(ge(r.messages.types[u],t.fullField,t.type))}function jk(t,e,n,o,r){var i=typeof t.len=="number",u=typeof t.min=="number",c=typeof t.max=="number",a=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l=e,_=null,s=typeof e=="number",d=typeof e=="string",b=Array.isArray(e);if(s?_="number":d?_="string":b&&(_="array"),!_)return!1;b&&(l=e.length),d&&(l=e.replace(a,"_").length),i?l!==t.len&&o.push(ge(r.messages[_].len,t.fullField,t.len)):u&&!c&&l<t.min?o.push(ge(r.messages[_].min,t.fullField,t.min)):c&&!u&&l>t.max?o.push(ge(r.messages[_].max,t.fullField,t.max)):u&&c&&(l<t.min||l>t.max)&&o.push(ge(r.messages[_].range,t.fullField,t.min,t.max))}var Nt="enum";function Mk(t,e,n,o,r){t[Nt]=Array.isArray(t[Nt])?t[Nt]:[],t[Nt].indexOf(e)===-1&&o.push(ge(r.messages[Nt],t.fullField,t[Nt].join(", ")))}function Nk(t,e,n,o,r){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||o.push(ge(r.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var i=new RegExp(t.pattern);i.test(e)||o.push(ge(r.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var k={required:W0,whitespace:Lk,type:Fk,range:jk,enum:Mk,pattern:Nk};function Vk(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(K(e,"string")&&!t.required)return n();k.required(t,e,o,i,r,"string"),K(e,"string")||(k.type(t,e,o,i,r),k.range(t,e,o,i,r),k.pattern(t,e,o,i,r),t.whitespace===!0&&k.whitespace(t,e,o,i,r))}n(i)}function zk(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(K(e)&&!t.required)return n();k.required(t,e,o,i,r),e!==void 0&&k.type(t,e,o,i,r)}n(i)}function Ck(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(e===""&&(e=void 0),K(e)&&!t.required)return n();k.required(t,e,o,i,r),e!==void 0&&(k.type(t,e,o,i,r),k.range(t,e,o,i,r))}n(i)}function Hk(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(K(e)&&!t.required)return n();k.required(t,e,o,i,r),e!==void 0&&k.type(t,e,o,i,r)}n(i)}function qk(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(K(e)&&!t.required)return n();k.required(t,e,o,i,r),K(e)||k.type(t,e,o,i,r)}n(i)}function Uk(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(K(e)&&!t.required)return n();k.required(t,e,o,i,r),e!==void 0&&(k.type(t,e,o,i,r),k.range(t,e,o,i,r))}n(i)}function Wk(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(K(e)&&!t.required)return n();k.required(t,e,o,i,r),e!==void 0&&(k.type(t,e,o,i,r),k.range(t,e,o,i,r))}n(i)}function Kk(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(e==null&&!t.required)return n();k.required(t,e,o,i,r,"array"),e!=null&&(k.type(t,e,o,i,r),k.range(t,e,o,i,r))}n(i)}function Gk(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(K(e)&&!t.required)return n();k.required(t,e,o,i,r),e!==void 0&&k.type(t,e,o,i,r)}n(i)}var Xk="enum";function Qk(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(K(e)&&!t.required)return n();k.required(t,e,o,i,r),e!==void 0&&k[Xk](t,e,o,i,r)}n(i)}function Jk(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(K(e,"string")&&!t.required)return n();k.required(t,e,o,i,r),K(e,"string")||k.pattern(t,e,o,i,r)}n(i)}function Zk(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(K(e,"date")&&!t.required)return n();if(k.required(t,e,o,i,r),!K(e,"date")){var c;e instanceof Date?c=e:c=new Date(e),k.type(t,c,o,i,r),c&&k.range(t,c.getTime(),o,i,r)}}n(i)}function Yk(t,e,n,o,r){var i=[],u=Array.isArray(e)?"array":typeof e;k.required(t,e,o,i,r,u),n(i)}function vf(t,e,n,o,r){var i=t.type,u=[],c=t.required||!t.required&&o.hasOwnProperty(t.field);if(c){if(K(e,i)&&!t.required)return n();k.required(t,e,o,u,r,i),K(e,i)||k.type(t,e,o,u,r)}n(u)}function e2(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(K(e)&&!t.required)return n();k.required(t,e,o,i,r)}n(i)}var 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:e2};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 e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var bf=hf();function ct(t){this.rules=null,this._messages=bf,this.define(t)}ct.prototype={messages:function(e){return e&&(this._messages=U0(hf(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,o;for(n in e)e.hasOwnProperty(n)&&(o=e[n],this.rules[n]=Array.isArray(o)?o:[o])},validate:function(e,n,o){var r=this;n===void 0&&(n={}),o===void 0&&(o=function(){});var i=e,u=n,c=o;if(typeof u=="function"&&(c=u,u={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(),Promise.resolve();function a(m){var w,h=[],$={};function P(E){if(Array.isArray(E)){var T;h=(T=h).concat.apply(T,E)}else h.push(E)}for(w=0;w<m.length;w++)P(m[w]);h.length?$=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,d={},b=u.keys||Object.keys(this.rules);b.forEach(function(m){_=r.rules[m],s=i[m],_.forEach(function(w){var h=w;typeof h.transform=="function"&&(i===e&&(i=Ve({},i)),s=i[m]=h.transform(s)),typeof h=="function"?h={validator:h}:h=Ve({},h),h.validator=r.getValidationMethod(h),h.field=m,h.fullField=h.fullField||m,h.type=r.getType(h),h.validator&&(d[m]=d[m]||[],d[m].push({rule:h,value:s,source:i,field:m}))})});var O={};return xk(d,u,function(m,w){var h=m.rule,$=(h.type==="object"||h.type==="array")&&(typeof h.fields=="object"||typeof h.defaultField=="object");$=$&&(h.required||!h.required&&m.value),h.field=m.field;function P(F,A){return Ve(Ve({},A),{},{fullField:h.fullField+"."+F})}function E(F){F===void 0&&(F=[]);var A=F;if(Array.isArray(A)||(A=[A]),!u.suppressWarning&&A.length&&ct.warning("async-validator:",A),A.length&&h.message!==void 0&&(A=[].concat(h.message)),A=A.map(q0(h)),u.first&&A.length)return O[h.field]=1,w(A);if(!$)w(A);else{if(h.required&&!m.value)return h.message!==void 0?A=[].concat(h.message).map(q0(h)):u.error&&(A=[u.error(h,ge(u.messages.required,h.field))]),w(A);var ue={};if(h.defaultField)for(var I in m.value)m.value.hasOwnProperty(I)&&(ue[I]=h.defaultField);ue=Ve(Ve({},ue),m.rule.fields);for(var Ke in ue)if(ue.hasOwnProperty(Ke)){var $o=Array.isArray(ue[Ke])?ue[Ke]:[ue[Ke]];ue[Ke]=$o.map(P.bind(null,Ke))}var Gn=new ct(ue);Gn.messages(u.messages),m.rule.options&&(m.rule.options.messages=u.messages,m.rule.options.error=u.error),Gn.validate(m.value,m.rule.options||u,function(kt){var Ge=[];A&&A.length&&Ge.push.apply(Ge,A),kt&&kt.length&&Ge.push.apply(Ge,kt),w(Ge.length?Ge:null)})}}var T;h.asyncValidator?T=h.asyncValidator(h,m.value,E,m.source,u):h.validator&&(T=h.validator(h,m.value,E,m.source,u),T===!0?E():T===!1?E(h.message||h.field+" fails"):T instanceof Array?E(T):T instanceof Error&&E(T.message)),T&&T.then&&T.then(function(){return E()},function(F){return E(F)})},function(m){a(m)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!no.hasOwnProperty(e.type))throw new Error(ge("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),o=n.indexOf("message");return o!==-1&&n.splice(o,1),n.length===1&&n[0]==="required"?no.required:no[this.getType(e)]||!1}},ct.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");no[e]=n},ct.warning=z0,ct.messages=bf,ct.validators=no;var t2={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(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new ct(t);return n.messages(Object.assign(t2,e)),n}var o2=new LA;function gf(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function r2(t){if(Array.isArray(t))return t}function i2(t){if(Array.isArray(t))return gf(t)}function K0(t,e,n,o,r,i,u){try{var c=t[i](u),a=c.value}catch(l){n(l);return}c.done?e(a):Promise.resolve(a).then(o,r)}function G0(t){return function(){var e=this,n=arguments;return new Promise(function(o,r){var i=t.apply(e,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(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function X0(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function c2(t,e,n){return e&&X0(t.prototype,e),n&&X0(t,n),t}function M(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Q0(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function J0(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}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(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){M(t,r,n[r])})}return t}function f2(t){return r2(t)||J0(t)||Y0(t)||l2()}function mf(t){return i2(t)||J0(t)||Y0(t)||a2()}function _2(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Y0(t,e){if(!!t){if(typeof t=="string")return gf(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return gf(t,e)}}function eb(t,e){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(_){return a([l,_])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,o=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){u.label=l[1];break}if(l[0]===6&&u.label<r[1]){u.label=r[1],r=l;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(l);break}r[2]&&u.ops.pop(),u.trys.pop();continue}l=e.call(t,u)}catch(_){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 e(n){var o=this;u2(this,e),M(this,"id",void 0),M(this,"name",void 0),M(this,"icon",void 0),M(this,"type",void 0),M(this,"controlType",void 0),M(this,"props",void 0),M(this,"setting",[]),M(this,"fieldType",void 0),M(this,"eventKeys",[]),M(this,"customEvents",[]),M(this,"parent",null),M(this,"updateSetting",nb),M(this,"removeSetting",tb),this._callControlHooks("preInstance",n);var r=Q0(this,e)?this.constructor:void 0,i=r.controlName,u=r.controlIcon,c=r.controlType,a=r.controlFieldType,l=r.controlEventKeys,_=r.controlCustomEvents,s=r.name,d=r.setting;i&&u&&c||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:Re(10),this.name=i,this.icon=u;var O;this.type=(O=n==null?void 0:n.type)!==null&&O!==void 0?O:c,this.props=new X(n==null?void 0:n.props,(Q0(this,e)?this.constructor:void 0).controlName);var m;this.controlType=(m=n==null?void 0:n.controlType)!==null&&m!==void 0?m:"base",this.setting=ot(d);var w;this.fieldType=(w=n==null?void 0:n.fieldType)!==null&&w!==void 0?w:a,this.eventKeys=ot(l),this.customEvents=ot(_),Promise.resolve().then(function(){o._callControlHooks("postInstance",n)})}return c2(e,[{key:"rules",get:function(){var o=this.props.constructor.Rules;return o?new o(this.props):{}}},{key:"_callControlHooks",value:function(){for(var o=arguments.length,r=new Array(o),i=0;i<o;i++)r[i]=arguments[i];var u,c=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(){var o=this;return G0(function(){var r,i,u;return eb(this,function(c){switch(c.label){case 0:return r=Z0({},o.rules),[4,o._callControlHooks("preValidate",r)];case 1:return i=c.sent(),u=i[i.length-1],[2,u===!1?void 0:u]}})})()}},{key:"validate",value:function(o,r){var i=this;return G0(function(){var u,c,a,l;return eb(this,function(_){switch(_.label){case 0:return[4,i.preValidate()];case 1:u=_.sent(),c=u!==void 0?u:Z0({},i.rules),Array.isArray(r)&&r.forEach(function(s){c.hasOwnProperty(s)&&delete c[s]}),a=n2(c,o),_.label=2;case 2:return _.trys.push([2,4,,5]),[4,a.validate(i.props)];case 3:return _.sent(),[2,!0];case 4:throw l=_.sent(),l.control||(l.control=i),l;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=this.fieldType,i=this.id,u=this.type,c=this.props,a=c.dataBind,l=c.datasourceBind,_=c.optionConfig,s=c.caption,d=c.required,b=c.maxLength,O=c.options,m=c.encrypted,w=c.encryptedMode;if(!(!r&&!a&&!l)){var h={parentId:o,fieldType:r,controlId:i,caption:s,type:u,props:{}};switch(a&&(h.dataBind=a),_){case"datasource":case void 0:l&&(h.datasourceBind=l);break;case"custom":h.props.options=O;break}return d!==void 0&&(h.required=d),b!==void 0&&(h.maxLength=b),m!==void 0&&(h.encrypted=m),w!==void 0&&(h.encryptedMode=w),h}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:ot(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(o,r){if(o==="setting"){if(r.add){var i;(i=this.setting).push.apply(i,mf(r.add))}r.remove&&this.removeSettingItem(r.remove),r.update}}}]),e}();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",tb),M(V,"updateSettingItem",nb);function tb(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(o){var r,i=typeof o!="string",u=(r=e.setting)===null||r===void 0?void 0:r.findIndex(function(l){return l.key===(i?o.key:o)});if(u!==-1){var c,a;i?e.setting[u].showItems=(c=e.setting[u].showItems)===null||c===void 0?void 0:c.filter(function(l){return!o.hideItems.includes(l)}):e.setting.splice(u,1),i&&!(!((a=e.setting[u].showItems)===null||a===void 0)&&a.length)&&e.setting.splice(u,1)}})}function nb(t,e){var n=this,o=typeof t=="string"?[t]:t;o.forEach(function(r){var i=n.setting.find(function(l){return l.key===r});if(i){if(typeof e=="boolean")i.visible=e;else if((typeof e=="undefined"?"undefined":_2(e))==="object"){var u,c=(u=e.type)!==null&&u!==void 0?u:"replace";if(c==="replace")i.showItems=e.showItems;else{var a;(a=i.showItems).push.apply(a,mf(e.showItems))}}}})}function y2(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ob(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function s2(t,e,n){return e&&ob(t.prototype,e),n&&ob(t,n),t}function me(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function p2(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var Ze=function(){function e(n){y2(this,e),me(this,"id",void 0),me(this,"type",void 0),me(this,"controlType",void 0),me(this,"props",void 0),me(this,"fieldType",void 0),me(this,"customEvents",[]),me(this,"pageStatus",void 0),me(this,"parent",null);var o=p2(this,e)?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:Re(10);var l;this.type=(l=n==null?void 0:n.type)!==null&&l!==void 0?l:r,this.props=new X(n==null?void 0:n.props),this.customEvents=c;var _;this.controlType=(_=n==null?void 0:n.controlType)!==null&&_!==void 0?_:"base";var s;this.fieldType=(s=n==null?void 0:n.fieldType)!==null&&s!==void 0?s:i;var d;this.pageStatus=(d=n==null?void 0:n.pageStatus)!==null&&d!==void 0?d:dk.UNKNOWN}return s2(e,[{key:"rules",get:function(){var o=this.props.constructor.RuntimeRules;if(o){var r=new o(this.props);return Array.from(r)}return[]}}]),e}();me(Ze,"mode","Runtime"),me(Ze,"controlType","control"),me(Ze,"controlFieldType",void 0),me(Ze,"__is_control__",!0),me(Ze,"controlCustomEvents",[]);function Of(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:p.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:p.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:p.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,o,r){o.length===0&&r(p.getMessage("optionIsRequired")),r()}},{type:"array",validator:function(n,o,r){var i=o.map(function(c){return c.value}),u=EA(i);i.length!==u.length?r(p.getMessage("optionIdIsRepeat")):r()},message:p.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:p.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",validator:function(n,o,r){o.length===0&&r(p.getMessage("pleaseBindAtLeastOneDisplayValue")),r()},message:p.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:p.getMessage("isNotBoolean")}}}}]}}])}function Lo(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:p.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:p.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:p.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:p.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:p.getMessage("isNotString")},key:{type:"string",required:!0,message:p.getMessage("isNotString")},value:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",validator:function(r,i,u){i.length===0&&u(p.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),u()},message:p.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:p.getMessage("isNotBoolean")}}}}]}}]}function d2(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function v2(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Fo(t,e,n){return e=Mo(e),h2(t,rb()?Reflect.construct(e,n||[],Mo(t).constructor):e.apply(t,n))}function jo(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function j(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Mo(t){return Mo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mo(t)}function No(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wf(t,e)}function h2(t,e){return e&&(b2(e)==="object"||typeof e=="function")?e:v2(t)}function wf(t,e){return wf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wf(t,e)}function b2(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function rb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(rb=function(){return!!t})()}var J=function(t){No(e,t);function e(n){jo(this,e);var o;o=Fo(this,e,[n]),j(o,"dataBind",{}),j(o,"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),j(o,"isHideCaption",{type:"boolean"}),j(o,"labelPosition",{type:"enum",enum:["top","left"]}),j(o,"defaultState",{type:"enum",enum:["default","readonly"]}),j(o,"required",{type:"boolean"}),j(o,"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")});var r={fieldCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")}};if(d2(n.dataBind))o.dataBind={type:"object",required:!0,fields:ot(r),message:p.getMessage("pleaseEnterFieldCode")};else{var i={type:"object",required:!0,fields:{},message:p.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(u){i.fields[u]={type:"object",required:!0,fields:ot(r),message:p.getMessage("pleaseEnterFieldCode")}}),o.dataBind=i}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return e}(W),z=function(t){No(e,t);function e(n){jo(this,e);var o;o=Fo(this,e,[n]);var r=n.isHide?!1:n.required;return r&&o.push({type:"string",required:r,message:n.requiredMessage!==""?n.requiredMessage:p.getMessage("runtimeRequired",{caption:n.caption})}),o}return e}(mt),D=function(t){No(e,t);function e(n){jo(this,e);var o;o=Fo(this,e,[n]),j(o,"caption",void 0),j(o,"captionSize",void 0),j(o,"captionColor",void 0),j(o,"isCaptionItalic",void 0),j(o,"isHideCaption",void 0),j(o,"isShowCaptionTip",void 0),j(o,"captionTip",void 0),j(o,"labelPosition",void 0),j(o,"dataBind",void 0),j(o,"defaultValue",void 0),j(o,"placeholder",void 0),j(o,"defaultState",void 0),j(o,"required",void 0),j(o,"requiredMessage",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:"";var i;o.captionSize=(i=n==null?void 0:n.captionSize)!==null&&i!==void 0?i:"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 d;o.labelPosition=(d=n==null?void 0:n.labelPosition)!==null&&d!==void 0?d:"top";var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"";var O;o.required=(O=n==null?void 0:n.required)!==null&&O!==void 0?O:!1;var m;o.requiredMessage=(m=n==null?void 0:n.requiredMessage)!==null&&m!==void 0?m:"",o.dataBind=new Ae(n==null?void 0:n.dataBind);var w;return o.defaultValue=(w=n==null?void 0:n.defaultValue)!==null&&w!==void 0?w:"",o}return e}(X);j(D,"Rules",J),j(D,"RuntimeRules",z);var Vt=function(t){No(e,t);function e(n){jo(this,e);var o;return o=Fo(this,e,[n]),j(o,"optionConfig",{type:"enum",enum:["custom","datasource"],message:p.getMessage("PleaseSelectTheCorrectOptionSettings")}),j(o,"options",[{type:"array",message:p.getMessage("isNotArray")}]),j(o,"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),Of.call(o,n),o}return e}(J);function g2(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function m2(t,e,n){return e=zo(e),$2(t,ib()?Reflect.construct(e,n||[],zo(t).constructor):e.apply(t,n))}function O2(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zo(t){return zo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zo(t)}function w2(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$f(t,e)}function $2(t,e){return e&&(P2(e)==="object"||typeof e=="function")?e:g2(t)}function $f(t,e){return $f=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$f(t,e)}function P2(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ib(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ib=function(){return!!t})()}var x=function(t){w2(e,t);function e(n){O2(this,e);var o;return o=m2(this,e,[n]),Vo(o,"controlType","form"),Vo(o,"props",void 0),o.props=new D(n==null?void 0:n.props),o}return e}(V);Vo(x,"controlEventKeys",["on_change","on_focus","on_blur"]),Vo(x,"controlCustomAttributes",void 0);function E2(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function S2(t,e,n){return e=Co(e),I2(t,ub()?Reflect.construct(e,n||[],Co(t).constructor):e.apply(t,n))}function T2(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pf(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Co(t){return Co=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Co(t)}function R2(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ef(t,e)}function I2(t,e){return e&&(B2(e)==="object"||typeof e=="function")?e:E2(t)}function Ef(t,e){return Ef=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ef(t,e)}function B2(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ub(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ub=function(){return!!t})()}var L=function(t){R2(e,t);function e(n){T2(this,e);var o;return o=S2(this,e,[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 e}(Ze);function A2(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function k2(t,e,n){return e=Ho(e),L2(t,cb()?Reflect.construct(e,n||[],Ho(t).constructor):e.apply(t,n))}function D2(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ho(t){return Ho=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ho(t)}function x2(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Sf(t,e)}function L2(t,e){return e&&(F2(e)==="object"||typeof e=="function")?e:A2(t)}function Sf(t,e){return Sf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sf(t,e)}function F2(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function cb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(cb=function(){return!!t})()}var Z=function(t){x2(e,t);function e(n){return D2(this,e),k2(this,e,[n])}return e}(X);function Tf(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function j2(t){if(Array.isArray(t))return Tf(t)}function M2(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lb(t,e,n,o,r,i,u){try{var c=t[i](u),a=c.value}catch(l){n(l);return}c.done?e(a):Promise.resolve(a).then(o,r)}function N2(t){return function(){var e=this,n=arguments;return new Promise(function(o,r){var i=t.apply(e,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(t,e,n){return e=at(e),Q2(t,_b()?Reflect.construct(e,n||[],at(t).constructor):e.apply(t,n))}function z2(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ab(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function C2(t,e,n){return e&&ab(t.prototype,e),n&&ab(t,n),t}function lt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?zt=Reflect.get:zt=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}},zt(t,e,n||t)}function at(t){return at=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},at(t)}function H2(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Rf(t,e)}function q2(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function U2(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}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(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){lt(t,r,n[r])})}return t}function G2(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,o)}return n}function X2(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):G2(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function Q2(t,e){return e&&(Z2(e)==="object"||typeof e=="function")?e:M2(t)}function Rf(t,e){return Rf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rf(t,e)}function J2(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=at(t),t!==null););return t}function fb(t){return j2(t)||U2(t)||Y2(t)||W2()}function Z2(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Y2(t,e){if(!!t){if(typeof t=="string")return Tf(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Tf(t,e)}}function _b(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_b=function(){return!!t})()}function eD(t,e){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(_){return a([l,_])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,o=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){u.label=l[1];break}if(l[0]===6&&u.label<r[1]){u.label=r[1],r=l;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(l);break}r[2]&&u.ops.pop(),u.trys.pop();continue}l=e.call(t,u)}catch(_){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 tD=1e4,Y=function(e){H2(n,e);function n(o){z2(this,n);var r;r=V2(this,n,[o]),lt(r,"controlType","layout"),lt(r,"children",void 0),lt(r,"excludes",void 0),lt(r,"childrenMaxLength",void 0),lt(r,"props",void 0);var i=q2(this,n)?this.constructor:void 0,u=i.excludes,c=i.childrenMaxLength;return r.props=new Z(o==null?void 0:o.props),Xe(r,"children",o==null?void 0:o.children,void 0,"Designer"),r.excludes=ot(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 zt(at(n.prototype),"validate",u)};return N2(function(){return eD(this,function(l){switch(l.label){case 0:return[4,a().call(c,r,i)];case 1:return l.sent(),[4,Promise.all(c.children.map(function(_){return _.validate(r,i)}))];case 2:return l.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,i=zt(at(n.prototype),"toDataBindModel",this).call(this),u=i?[i]:[];return this.children.reduce(function(c,a){var l=a.toDataBindModel(r);if(Array.isArray(l)){var _=l.filter(function(s){return!!s});return fb(c).concat(fb(_))}return l&&c.push(l),c},u)}},{key:"toSchema",value:function(){var r=zt(at(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);lt(Y,"excludes",!1),lt(Y,"childrenMaxLength",tD);function nD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function oD(t,e,n){return e=qo(e),uD(t,yb()?Reflect.construct(e,n||[],qo(t).constructor):e.apply(t,n))}function rD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function If(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function qo(t){return qo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qo(t)}function iD(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Bf(t,e)}function uD(t,e){return e&&(cD(e)==="object"||typeof e=="function")?e:nD(t)}function Bf(t,e){return Bf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bf(t,e)}function cD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function yb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(yb=function(){return!!t})()}var Ot=function(t){iD(e,t);function e(n){rD(this,e);var o;return o=oD(this,e,[n]),If(o,"controlType","layout"),If(o,"children",void 0),If(o,"props",void 0),o.props=new Z(n==null?void 0:n.props),Xe(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return e}(Ze);function lD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function aD(t,e,n){return e=Uo(e),yD(t,sb()?Reflect.construct(e,n||[],Uo(t).constructor):e.apply(t,n))}function fD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ct(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Uo(t){return Uo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Uo(t)}function _D(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Af(t,e)}function yD(t,e){return e&&(sD(e)==="object"||typeof e=="function")?e:lD(t)}function Af(t,e){return Af=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Af(t,e)}function sD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function sb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(sb=function(){return!!t})()}var kf=function(t){_D(e,t);function e(n,o,r){fD(this,e);var i;i=aD(this,e,[o]),Ct(i,"headers",void 0),Ct(i,"footers",void 0),Ct(i,"pageIndex",void 0),Ct(i,"pageSize",void 0),Ct(i,"pageSizeOptions",void 0),Ct(i,"totalCount",void 0),Xe(i,"headers",o==null?void 0:o.headers,n,r),Xe(i,"footers",o==null?void 0:o.footers,n);var u;i.pageIndex=(u=o==null?void 0:o.pageIndex)!==null&&u!==void 0?u:1;var c;i.pageSize=(c=o==null?void 0:o.pageSize)!==null&&c!==void 0?c:20;var a;i.pageSizeOptions=(a=o==null?void 0:o.pageSizeOptions)!==null&&a!==void 0?a:[20];var l;return i.totalCount=(l=o==null?void 0:o.totalCount)!==null&&l!==void 0?l:0,i}return e}(X);function Df(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function pD(t){if(Array.isArray(t))return Df(t)}function dD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function pb(t,e,n,o,r,i,u){try{var c=t[i](u),a=c.value}catch(l){n(l);return}c.done?e(a):Promise.resolve(a).then(o,r)}function vD(t){return function(){var e=this,n=arguments;return new Promise(function(o,r){var i=t.apply(e,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(t,e,n){return e=ft(e),PD(t,gb()?Reflect.construct(e,n||[],ft(t).constructor):e.apply(t,n))}function bD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function db(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function gD(t,e,n){return e&&db(t.prototype,e),n&&db(t,n),t}function Wo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ht(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Ht=Reflect.get:Ht=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}},Ht(t,e,n||t)}function ft(t){return ft=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ft(t)}function mD(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xf(t,e)}function OD(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}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(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Wo(t,r,n[r])})}return t}function $D(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,o)}return n}function hb(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):$D(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function PD(t,e){return e&&(SD(e)==="object"||typeof e=="function")?e:dD(t)}function xf(t,e){return xf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xf(t,e)}function ED(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=ft(t),t!==null););return t}function bb(t){return pD(t)||OD(t)||TD(t)||wD()}function SD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function TD(t,e){if(!!t){if(typeof t=="string")return Df(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Df(t,e)}}function gb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(gb=function(){return!!t})()}function RD(t,e){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(_){return a([l,_])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,o=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){u.label=l[1];break}if(l[0]===6&&u.label<r[1]){u.label=r[1],r=l;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(l);break}r[2]&&u.ops.pop(),u.trys.pop();continue}l=e.call(t,u)}catch(_){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(t){mD(e,t);function e(n){bD(this,e);var o;return o=hD(this,e,[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(e,[{key:"validate",value:function(o,r){var i=this,u=this,c=function(){return Ht(ft(e.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(u.props.headers.map(function(l){return l.validate(o,r)}))];case 2:return a.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var o=Ht(ft(e.prototype),"toDataBindModel",this).call(this),r=o?[o]:[],i=this.id;return this.props.headers.reduce(function(u,c){var a=c.toDataBindModel(i);if(Array.isArray(a)){var l=a.filter(function(_){return!!_});return bb(u).concat(bb(l))}return a&&u.push(a),u},r)}},{key:"toSchema",value:function(){var o,r,i=Ht(ft(e.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(a){return a.toSchema()}),c=(r=this.props)===null||r===void 0||(o=r.footers)===null||o===void 0?void 0:o.map(function(a){if(a)return a.toSchema()});return hb(vb({},i),{props:hb(vb({},this.props),{headers:u,footers:c})})}}]),e}(V);Wo(Lf,"controlFieldType",g.LIST);function ID(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ff(t,e,n){return e=Ko(e),BD(t,mb()?Reflect.construct(e,n||[],Ko(t).constructor):e.apply(t,n))}function jf(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ee(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ko(t){return Ko=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ko(t)}function Mf(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Nf(t,e)}function BD(t,e){return e&&(AD(e)==="object"||typeof e=="function")?e:ID(t)}function Nf(t,e){return Nf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Nf(t,e)}function AD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(mb=function(){return!!t})()}var ze=function(t){Mf(e,t);function e(n){jf(this,e);var o;return o=Ff(this,e,[n]),ee(o,"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),ee(o,"width",{type:"number",required:!1,message:p.getMessage("pleaseEnterColumnWidth")}),o.width.required=n.widthType==="px",o}return e}(W),U=function(t){Mf(e,t);function e(n){jf(this,e);var o;o=Ff(this,e,[n]),ee(o,"widthType",void 0),ee(o,"width",void 0),ee(o,"caption",void 0),ee(o,"dataBind",void 0),ee(o,"autoWidth",void 0),ee(o,"fixed",void 0),ee(o,"sort",void 0),ee(o,"align",void 0),ee(o,"colSpan",void 0),ee(o,"autoHeight",void 0),ee(o,"children",void 0);var r;o.width=(r=n==null?void 0:n.width)!==null&&r!==void 0?r:150,o.widthType=(n==null?void 0:n.widthType)||"auto";var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:"none",o.autoWidth=new ef(n==null?void 0:n.autoWidth),o.dataBind=new Ae(n==null?void 0:n.dataBind);var c;o.sort=(c=n==null?void 0:n.sort)!==null&&c!==void 0?c:!0,o.align=n==null?void 0:n.align,o.colSpan=n==null?void 0:n.colSpan;var a;return o.autoHeight=(a=n==null?void 0:n.autoHeight)!==null&&a!==void 0?a:!1,o}return e}(X);ee(U,"Rules",ze);var Ob=function(t){Mf(e,t);function e(n){jf(this,e);var o;return o=Ff(this,e,[n]),ee(o,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:p.getMessage("PleaseSelectTheCorrectOptionSettings")}),ee(o,"options",[{type:"array",message:p.getMessage("isNotArray")}]),ee(o,"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),Of.call(o,n),o}return e}(ze);function kD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function DD(t,e,n){return e=qt(e),VD(t,$b()?Reflect.construct(e,n||[],qt(t).constructor):e.apply(t,n))}function xD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wb(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function LD(t,e,n){return e&&wb(t.prototype,e),n&&wb(t,n),t}function Go(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xo(t,e,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(t,e,n||t)}function qt(t){return qt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qt(t)}function FD(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vf(t,e)}function jD(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Go(t,r,n[r])})}return t}function MD(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,o)}return n}function ND(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):MD(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function VD(t,e){return e&&(CD(e)==="object"||typeof e=="function")?e:kD(t)}function Vf(t,e){return Vf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vf(t,e)}function zD(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=qt(t),t!==null););return t}function CD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $b(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($b=function(){return!!t})()}var te=function(t){FD(e,t);function e(n){xD(this,e);var o;return o=DD(this,e,[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),Xe(o,"children",n==null?void 0:n.children,void 0,"Designer"),o}return LD(e,[{key:"toSchema",value:function(){var o=Xo(qt(e.prototype),"toSchema",this).call(this);return ND(jD({},o),{children:this.children?this.children.map(function(r){return r.toSchema()}):[]})}}]),e}(V);function HD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qD(t,e,n){return e=Qo(e),KD(t,Pb()?Reflect.construct(e,n||[],Qo(t).constructor):e.apply(t,n))}function UD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zf(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Qo(t){return Qo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qo(t)}function WD(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Cf(t,e)}function KD(t,e){return e&&(GD(e)==="object"||typeof e=="function")?e:HD(t)}function Cf(t,e){return Cf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cf(t,e)}function GD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Pb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Pb=function(){return!!t})()}var ne=function(t){WD(e,t);function e(n){UD(this,e);var o;return o=qD(this,e,[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),Xe(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return e}(Ze);function XD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function QD(t,e,n){return e=Jo(e),ex(t,Eb()?Reflect.construct(e,n||[],Jo(t).constructor):e.apply(t,n))}function JD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ZD(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Jo(t){return Jo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jo(t)}function YD(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hf(t,e)}function ex(t,e){return e&&(tx(e)==="object"||typeof e=="function")?e:XD(t)}function Hf(t,e){return Hf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hf(t,e)}function tx(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Eb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Eb=function(){return!!t})()}var qf=function(t){YD(e,t);function e(n){JD(this,e);var o;return o=QD(this,e,[n]),ZD(o,"dataBind",void 0),o.dataBind=new Ae(n==null?void 0:n.dataBind),o}return e}(Z);function nx(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ox(t,e,n){return e=Zo(e),ux(t,Tb()?Reflect.construct(e,n||[],Zo(t).constructor):e.apply(t,n))}function rx(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sb(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Zo(t){return Zo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zo(t)}function ix(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Uf(t,e)}function ux(t,e){return e&&(cx(e)==="object"||typeof e=="function")?e:nx(t)}function Uf(t,e){return Uf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Uf(t,e)}function cx(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Tb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Tb=function(){return!!t})()}var lx=function(t){ix(e,t);function e(n){rx(this,e);var o;return o=ox(this,e,[n]),Sb(o,"controlType","search"),Sb(o,"props",void 0),o.props=new qf(n==null?void 0:n.props),o}return e}(Y);function ax(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fx(t,e,n){return e=Yo(e),sx(t,Ib()?Reflect.construct(e,n||[],Yo(t).constructor):e.apply(t,n))}function _x(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rb(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yo(t){return Yo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yo(t)}function yx(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Wf(t,e)}function sx(t,e){return e&&(px(e)==="object"||typeof e=="function")?e:ax(t)}function Wf(t,e){return Wf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wf(t,e)}function px(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ib(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ib=function(){return!!t})()}var dx=function(t){yx(e,t);function e(n){_x(this,e);var o;return o=fx(this,e,[n]),Rb(o,"controlType","search"),Rb(o,"props",void 0),o.props=new qf(n==null?void 0:n.props),o}return e}(Ot);function _t(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:p.getMessage("pleaseEnterForm")}}}])}function vx(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hx(t,e,n){return e=er(e),mx(t,Bb()?Reflect.construct(e,n||[],er(t).constructor):e.apply(t,n))}function bx(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ut(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function er(t){return er=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},er(t)}function gx(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Kf(t,e)}function mx(t,e){return e&&(Ox(e)==="object"||typeof e=="function")?e:vx(t)}function Kf(t,e){return Kf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kf(t,e)}function Ox(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Bb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Bb=function(){return!!t})()}var wx=function(t){gx(e,t);function e(n){bx(this,e);var o;o=hx(this,e,[n]),Ut(o,"content",void 0),Ut(o,"fontSize",void 0),Ut(o,"color",void 0),Ut(o,"icon",void 0),Ut(o,"align",void 0),Ut(o,"showState",void 0);var r;o.fontSize=(r=n==null?void 0:n.fontSize)!==null&&r!==void 0?r:"14px";var i;o.color=(i=n==null?void 0:n.color)!==null&&i!==void 0?i:"#646A73";var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:"page-hint";var c;o.showState=(c=n==null?void 0:n.showState)!==null&&c!==void 0?c:"text";var a;o.content=(a=n==null?void 0:n.content)!==null&&a!==void 0?a:"\u8BF4\u660E\u6587\u5B57";var l;return o.align=(l=n==null?void 0:n.align)!==null&&l!==void 0?l:"",o}return e}(X);function $x(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Px(t,e,n){return e=tr(e),Rx(t,Db()?Reflect.construct(e,n||[],tr(t).constructor):e.apply(t,n))}function Ex(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ab(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Sx(t,e,n){return e&&Ab(t.prototype,e),n&&Ab(t,n),t}function kb(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function tr(t){return tr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tr(t)}function Tx(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Gf(t,e)}function Rx(t,e){return e&&(Ix(e)==="object"||typeof e=="function")?e:$x(t)}function Gf(t,e){return Gf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gf(t,e)}function Ix(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Db(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Db=function(){return!!t})()}var Bx=function(t){Tx(e,t);function e(n){Ex(this,e);var o;return o=Px(this,e,[n]),kb(o,"props",void 0),o.props=new wx(n==null?void 0:n.props),o}return Sx(e,null,[{key:"controlName",get:function(){return"\u8BF4\u660E\u6587\u5B57"}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),e}(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(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kx(t,e,n){return e=nr(e),Lx(t,xb()?Reflect.construct(e,n||[],nr(t).constructor):e.apply(t,n))}function Dx(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ye(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function nr(t){return nr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nr(t)}function xx(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xf(t,e)}function Lx(t,e){return e&&(Fx(e)==="object"||typeof e=="function")?e:Ax(t)}function Xf(t,e){return Xf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xf(t,e)}function Fx(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xb=function(){return!!t})()}var Oe=function(t){xx(e,t);function e(n){Dx(this,e);var o;o=kx(this,e,[n]),Ye(o,"content",void 0),Ye(o,"buttonType",void 0),Ye(o,"showType",void 0),Ye(o,"color",void 0),Ye(o,"icon",void 0),Ye(o,"defaultState",void 0),Ye(o,"command",void 0),Ye(o,"isLoading",void 0),Ye(o,"optObj",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:"\u6309\u94AE";var i;o.buttonType=(i=n==null?void 0:n.buttonType)!==null&&i!==void 0?i:"primary";var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"text";var c;o.color=(c=n==null?void 0:n.color)!==null&&c!==void 0?c:"primary";var a;o.icon=(a=n==null?void 0:n.icon)!==null&&a!==void 0?a:"iconfenlei2";var l;o.defaultState=(l=n==null?void 0:n.defaultState)!==null&&l!==void 0?l:"default";var _;o.command=(_=n==null?void 0:n.command)!==null&&_!==void 0?_:"custom";var s;o.isLoading=(s=n==null?void 0:n.isLoading)!==null&&s!==void 0?s:!1;var d;return o.optObj=new bk((d=n==null?void 0:n.optObj)!==null&&d!==void 0?d:{}),o}return e}(X);function jx(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Mx(t,e,n){return e=or(e),Cx(t,Fb()?Reflect.construct(e,n||[],or(t).constructor):e.apply(t,n))}function Nx(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Lb(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Vx(t,e,n){return e&&Lb(t.prototype,e),n&&Lb(t,n),t}function Qf(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function or(t){return or=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},or(t)}function zx(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Jf(t,e)}function Cx(t,e){return e&&(Hx(e)==="object"||typeof e=="function")?e:jx(t)}function Jf(t,e){return Jf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jf(t,e)}function Hx(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Fb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Fb=function(){return!!t})()}var pe=function(t){zx(e,t);function e(n){Nx(this,e);var o;return o=Mx(this,e,[n]),Qf(o,"props",void 0),o.props=new Oe(n==null?void 0:n.props),o}return Vx(e,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),e}(V);Qf(pe,"controlEventKeys",["on_click"]),Qf(pe,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE]},{key:"super-setting",visible:!0}]);function yt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function B(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var wt=function(t){return t.ShowBizKey="is_show_biz_key",t.ShowSubmitUser="is_show_submit_user",t.ShowSubmitTime="is_show_submit_time",t.ShowSubmitDept="is_show_submit_dept",t.ShowCurrentApprovar="is_show_current_approvar",t.ShowTitle="is_show_title",t}({}),Zf=function t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:Re(8),value:["",""]};yt(this,t),B(this,"dateConfigType",void 0),B(this,"dateLimitType",void 0),B(this,"id",void 0),B(this,"value",void 0),this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value},qx=function(t){return t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t}({}),Yf=function t(e){yt(this,t),B(this,"id",void 0),B(this,"text",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:Re();var o;this.text=(o=e==null?void 0:e.text)!==null&&o!==void 0?o:""},Ux=function(t){return t.SOLID="solid-line",t.DASHED="dashed-line",t.BOLD_SOLID="bold-solid-line",t.BOLD_DASHED="bold-dashed-line",t.DOUBLE_SOLID="double-solid-line",t.DOUBLE_DASHED="double-dashed-line",t}({}),jb=function t(e){yt(this,t),B(this,"type",void 0),B(this,"person",void 0),B(this,"signatureType",void 0),B(this,"telephone",void 0),B(this,"company",void 0),B(this,"remark",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"private";var o;this.person=new Mt((o=e==null?void 0:e.person)!==null&&o!==void 0?o:{type:"form"});var r;this.signatureType=(r=e==null?void 0:e.signatureType)!==null&&r!==void 0?r:[];var i,u;this.telephone=(u=e==null?void 0:e.telephone)!==null&&u!==void 0?u:new Mt((i=e==null?void 0:e.telephone)!==null&&i!==void 0?i:{type:"form"});var c,a;this.company=(a=e==null?void 0:e.company)!==null&&a!==void 0?a:new Mt((c=e==null?void 0:e.company)!==null&&c!==void 0?c:{type:"form"});var l;this.remark=(l=e==null?void 0:e.remark)!==null&&l!==void 0?l:""},Wx=function t(e){yt(this,t);var n;B(this,"fileControl",void 0),B(this,"undersignedList",void 0),B(this,"statusControl",void 0),B(this,"completeControl",void 0),B(this,"completeTimeControl",void 0);var o;this.fileControl=(o=e==null?void 0:e.fileControl)!==null&&o!==void 0?o:"";var r;this.undersignedList=(r=e==null||(n=e.undersignedList)===null||n===void 0?void 0:n.map(function(a){return new jb(a)}))!==null&&r!==void 0?r:[new jb];var i;this.statusControl=(i=e==null?void 0:e.statusControl)!==null&&i!==void 0?i:"";var u;this.completeControl=(u=e==null?void 0:e.completeControl)!==null&&u!==void 0?u:"";var c;this.completeTimeControl=(c=e==null?void 0:e.completeTimeControl)!==null&&c!==void 0?c:""},Mb=function t(e){yt(this,t),B(this,"id",void 0),B(this,"appId",void 0),B(this,"dataCode",void 0),B(this,"svcCode",void 0),B(this,"name",void 0),B(this,"fieldList",void 0),B(this,"active",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:Re(8);var o;this.appId=(o=e==null?void 0:e.appId)!==null&&o!==void 0?o:"";var r;this.dataCode=(r=e==null?void 0:e.dataCode)!==null&&r!==void 0?r:"";var i;this.svcCode=(i=e==null?void 0:e.svcCode)!==null&&i!==void 0?i:"";var u;this.name=(u=e==null?void 0:e.name)!==null&&u!==void 0?u:"";var c;this.fieldList=(c=e==null?void 0:e.fieldList)!==null&&c!==void 0?c:[];var a;this.active=(a=e==null?void 0:e.active)!==null&&a!==void 0?a:!1},Nb=function t(e){yt(this,t),B(this,"active",void 0),B(this,"text",void 0);var n;this.active=(n=e==null?void 0:e.active)!==null&&n!==void 0?n:!1;var o;this.text=(o=e==null?void 0:e.text)!==null&&o!==void 0?o:""},Kx=function t(e){yt(this,t),B(this,"types",void 0),B(this,"history",void 0),B(this,"collaborativeRecord",void 0),B(this,"logicToDelete",void 0),B(this,"watermark",void 0),B(this,"autoRename",void 0);var n;this.types=(n=e==null?void 0:e.types)!==null&&n!==void 0?n:["word","ppt","excel"];var o;this.history=(o=e==null?void 0:e.history)!==null&&o!==void 0?o:!1;var r;this.collaborativeRecord=(r=e==null?void 0:e.collaborativeRecord)!==null&&r!==void 0?r:!1;var i;this.logicToDelete=(i=e==null?void 0:e.logicToDelete)!==null&&i!==void 0?i:!0,this.watermark=new Nb(e==null?void 0:e.watermark),this.autoRename=new Nb(e==null?void 0:e.autoRename)},Gx=480;function Wt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}var Xx=function t(e){yt(this,t),B(this,"fileId",void 0),B(this,"fileName",void 0),B(this,"ruleName",void 0),B(this,"isDefault",void 0),B(this,"rules",void 0);var n;this.fileId=(n=e==null?void 0:e.fileId)!==null&&n!==void 0?n:"";var o;this.fileName=(o=e==null?void 0:e.fileName)!==null&&o!==void 0?o:"";var r;this.ruleName=(r=e==null?void 0:e.ruleName)!==null&&r!==void 0?r:"";var i;this.isDefault=(i=e.isDefault)!==null&&i!==void 0?i:!1;var u;this.rules=(u=e.rules)!==null&&u!==void 0?u:[]},Qx=function(t){return t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t}({}),Vb=function(t){return t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t}({}),Kt=function(t){return t.ALL="all",t.ASSIGN="assign",t}({}),Jx=function(t){return t.ALL="all",t.ADMIN="admin",t}({});function Zx(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Yx(t,e,n){return e=rr(e),nL(t,Cb()?Reflect.construct(e,n||[],rr(t).constructor):e.apply(t,n))}function eL(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zb(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function rr(t){return rr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rr(t)}function tL(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&e_(t,e)}function nL(t,e){return e&&(oL(e)==="object"||typeof e=="function")?e:Zx(t)}function e_(t,e){return e_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},e_(t,e)}function oL(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Cb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Cb=function(){return!!t})()}var rL=function(t){tL(e,t);function e(n){eL(this,e);var o;o=Yx(this,e,[n]),zb(o,"color",void 0),zb(o,"lineStyle",void 0);var r;o.color=(r=n==null?void 0:n.color)!==null&&r!==void 0?r:"#000";var i;return o.lineStyle=(i=n==null?void 0:n.lineStyle)!==null&&i!==void 0?i:Ux.SOLID,o}return e}(X);function iL(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function uL(t,e,n){return e=ir(e),fL(t,Ub()?Reflect.construct(e,n||[],ir(t).constructor):e.apply(t,n))}function cL(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hb(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function lL(t,e,n){return e&&Hb(t.prototype,e),n&&Hb(t,n),t}function qb(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ir(t){return ir=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ir(t)}function aL(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&t_(t,e)}function fL(t,e){return e&&(_L(e)==="object"||typeof e=="function")?e:iL(t)}function t_(t,e){return t_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},t_(t,e)}function _L(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ub(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ub=function(){return!!t})()}var yL=function(t){aL(e,t);function e(n){cL(this,e);var o;return o=uL(this,e,[n]),qb(o,"props",void 0),o.props=new rL(n==null?void 0:n.props),o}return lL(e,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),e}(V);qb(yL,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE]}]);function sL(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Wb(t,e,n){return e=ur(e),pL(t,Xb()?Reflect.construct(e,n||[],ur(t).constructor):e.apply(t,n))}function Kb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function st(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ur(t){return ur=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ur(t)}function Gb(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&n_(t,e)}function pL(t,e){return e&&(dL(e)==="object"||typeof e=="function")?e:sL(t)}function n_(t,e){return n_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},n_(t,e)}function dL(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Xb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Xb=function(){return!!t})()}var vL=function(t){Gb(e,t);function e(n){Kb(this,e);var o;return o=Wb(this,e,[n]),st(o,"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),st(o,"dataBind",{type:"any"}),st(o,"config",{type:"array"}),n.config.includes(wt.ShowBizKey)&&(o.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:p.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:p.getMessage("bizKeyNotBindFiled")}},message:p.getMessage("bizKeyNotBindFiled")}),!n.isHide&&n.config.length===0&&(o.config={type:"array",min:1,required:!0,message:p.getMessage("pleaseSelectOneField")}),o}return e}(W),Qb=function(t){Gb(e,t);function e(n){Kb(this,e);var o;o=Wb(this,e,[n]),st(o,"dataBind",void 0),st(o,"caption",void 0),st(o,"config",void 0),st(o,"position",void 0),o.dataBind=new Ae(n==null?void 0:n.dataBind);var r;o.config=(r=n==null?void 0:n.config)!==null&&r!==void 0?r:[wt.ShowSubmitUser,wt.ShowSubmitDept,wt.ShowSubmitTime,wt.ShowCurrentApprovar,wt.ShowTitle];var i,u;o.caption=(u=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:oo==null?void 0:oo.controlName)!==null&&u!==void 0?u:"";var c;return o.position=(c=n==null?void 0:n.position)!==null&&c!==void 0?c:"top",o}return e}(X);st(Qb,"Rules",vL);function hL(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bL(t,e,n){return e=cr(e),wL(t,Zb()?Reflect.construct(e,n||[],cr(t).constructor):e.apply(t,n))}function gL(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jb(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function mL(t,e,n){return e&&Jb(t.prototype,e),n&&Jb(t,n),t}function o_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function cr(t){return cr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cr(t)}function OL(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&r_(t,e)}function wL(t,e){return e&&($L(e)==="object"||typeof e=="function")?e:hL(t)}function r_(t,e){return r_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},r_(t,e)}function $L(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Zb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Zb=function(){return!!t})()}var oo=function(t){OL(e,t);function e(n){gL(this,e);var o;return o=bL(this,e,[n]),o_(o,"props",void 0),o.props=new Qb(n==null?void 0:n.props),o}return mL(e,null,[{key:"controlName",get:function(){return"\u6807\u9898\u7EC4\u4EF6"}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),e}(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(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Yb(t,e,n){return e=ar(e),EL(t,ng()?Reflect.construct(e,n||[],ar(t).constructor):e.apply(t,n))}function eg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function lr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ar(t){return ar=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ar(t)}function tg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i_(t,e)}function EL(t,e){return e&&(SL(e)==="object"||typeof e=="function")?e:PL(t)}function i_(t,e){return i_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},i_(t,e)}function SL(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ng(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ng=function(){return!!t})()}var TL=function(t){tg(e,t);function e(n){eg(this,e);var o;return o=Yb(this,e,[n]),lr(o,"formKey",{type:"string",required:!0,message:p.getMessage("pleaseEnterForm")}),o}return e}(W),og=function(t){tg(e,t);function e(n){eg(this,e);var o;o=Yb(this,e,[n]),lr(o,"formKey",void 0),lr(o,"openType",void 0);var r;o.icon=(r=n==null?void 0:n.icon)!==null&&r!==void 0?r:_r.controlIcon;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:_r.controlName;var u;o.formKey=(u=n==null?void 0:n.formKey)!==null&&u!==void 0?u:"";var c;return o.openType=(c=n==null?void 0:n.openType)!==null&&c!==void 0?c:"modal",o}return e}(Oe);lr(og,"Rules",TL);function RL(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function IL(t,e,n){return e=fr(e),DL(t,ig()?Reflect.construct(e,n||[],fr(t).constructor):e.apply(t,n))}function BL(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rg(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function AL(t,e,n){return e&&rg(t.prototype,e),n&&rg(t,n),t}function u_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fr(t){return fr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fr(t)}function kL(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c_(t,e)}function DL(t,e){return e&&(xL(e)==="object"||typeof e=="function")?e:RL(t)}function c_(t,e){return c_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},c_(t,e)}function xL(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ig(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ig=function(){return!!t})()}var _r=function(t){kL(e,t);function e(n){BL(this,e);var o;return o=IL(this,e,[n]),u_(o,"props",void 0),o.props=new og(n==null?void 0:n.props),o}return AL(e,null,[{key:"controlName",get:function(){return"\u521B\u5EFA\u5355\u636E"}},{key:"controlIcon",get:function(){return"iconchuangjiandanju"}},{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),e}(pe);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(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ug(t,e,n){return e=yr(e),FL(t,ag()?Reflect.construct(e,n||[],yr(t).constructor):e.apply(t,n))}function cg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yr(t){return yr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yr(t)}function lg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l_(t,e)}function FL(t,e){return e&&(jL(e)==="object"||typeof e=="function")?e:LL(t)}function l_(t,e){return l_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},l_(t,e)}function jL(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ag(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ag=function(){return!!t})()}var ML=function(t){lg(e,t);function e(n){cg(this,e);var o;return o=ug(this,e,[n]),Gt(o,"processKey",[{type:"string",message:p.getMessage("isNotString")},{type:"string",required:!0,message:p.getMessage("pleaseEnterProcess")}]),o}return e}(W),fg=function(t){lg(e,t);function e(n){cg(this,e);var o;o=ug(this,e,[n]),Gt(o,"processKey",void 0),Gt(o,"initiatorMode",void 0),Gt(o,"fieldCode",void 0),Gt(o,"employeeId",void 0);var r;o.icon=(r=n==null?void 0:n.icon)!==null&&r!==void 0?r:pr.controlIcon;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:pr.controlName;var u;o.initiatorMode=(u=n==null?void 0:n.initiatorMode)!==null&&u!==void 0?u:"currentInitiator";var c;o.processKey=(c=n==null?void 0:n.processKey)!==null&&c!==void 0?c:"";var a;o.fieldCode=(a=n==null?void 0:n.fieldCode)!==null&&a!==void 0?a:"";var l;return o.employeeId=(l=n==null?void 0:n.employeeId)!==null&&l!==void 0?l:"",o}return e}(Oe);Gt(fg,"Rules",ML);function NL(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function VL(t,e,n){return e=sr(e),qL(t,yg()?Reflect.construct(e,n||[],sr(t).constructor):e.apply(t,n))}function zL(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _g(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function CL(t,e,n){return e&&_g(t.prototype,e),n&&_g(t,n),t}function a_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function sr(t){return sr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sr(t)}function HL(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&f_(t,e)}function qL(t,e){return e&&(UL(e)==="object"||typeof e=="function")?e:NL(t)}function f_(t,e){return f_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},f_(t,e)}function UL(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function yg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(yg=function(){return!!t})()}var pr=function(t){HL(e,t);function e(n){zL(this,e);var o;return o=VL(this,e,[n]),a_(o,"props",void 0),o.props=new fg(n==null?void 0:n.props),o}return CL(e,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u63D0\u4EA4"}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),e}(pe);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(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function KL(t,e,n){return e=dr(e),QL(t,sg()?Reflect.construct(e,n||[],dr(t).constructor):e.apply(t,n))}function GL(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dr(t){return dr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dr(t)}function XL(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&__(t,e)}function QL(t,e){return e&&(JL(e)==="object"||typeof e=="function")?e:WL(t)}function __(t,e){return __=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},__(t,e)}function JL(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function sg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(sg=function(){return!!t})()}var ZL=function(t){XL(e,t);function e(n){GL(this,e);var o;o=KL(this,e,[n]);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:hr.controlName;var i;return o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:hr.controlIcon,o}return e}(Oe);function YL(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function eF(t,e,n){return e=vr(e),rF(t,dg()?Reflect.construct(e,n||[],vr(t).constructor):e.apply(t,n))}function tF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pg(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function nF(t,e,n){return e&&pg(t.prototype,e),n&&pg(t,n),t}function y_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function vr(t){return vr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vr(t)}function oF(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s_(t,e)}function rF(t,e){return e&&(iF(e)==="object"||typeof e=="function")?e:YL(t)}function s_(t,e){return s_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},s_(t,e)}function iF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function dg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(dg=function(){return!!t})()}var hr=function(t){oF(e,t);function e(n){tF(this,e);var o;return o=eF(this,e,[n]),y_(o,"props",void 0),o.props=new ZL(n==null?void 0:n.props),o}return nF(e,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),e}(pe);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(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cF(t,e,n){return e=br(e),fF(t,hg()?Reflect.construct(e,n||[],br(t).constructor):e.apply(t,n))}function lF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vg(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function br(t){return br=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},br(t)}function aF(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p_(t,e)}function fF(t,e){return e&&(_F(e)==="object"||typeof e=="function")?e:uF(t)}function p_(t,e){return p_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},p_(t,e)}function _F(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function hg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(hg=function(){return!!t})()}var yF=function(t){aF(e,t);function e(n){lF(this,e);var o,r;o=cF(this,e,[n]),vg(o,"templateList",void 0),vg(o,"templateType",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:mr.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:mr.controlName;var c;o.templateType=(c=n==null?void 0:n.templateType)!==null&&c!==void 0?c:"system";var a;return o.templateList=(a=n==null||(r=n.templateList)===null||r===void 0?void 0:r.map(function(l){return new Mb(l)}))!==null&&a!==void 0?a:[new Mb({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return e}(Oe);function sF(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function pF(t,e,n){return e=gr(e),bF(t,gg()?Reflect.construct(e,n||[],gr(t).constructor):e.apply(t,n))}function dF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bg(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function vF(t,e,n){return e&&bg(t.prototype,e),n&&bg(t,n),t}function d_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gr(t){return gr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gr(t)}function hF(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&v_(t,e)}function bF(t,e){return e&&(gF(e)==="object"||typeof e=="function")?e:sF(t)}function v_(t,e){return v_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},v_(t,e)}function gF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function gg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(gg=function(){return!!t})()}var mr=function(t){hF(e,t);function e(n){dF(this,e);var o;return o=pF(this,e,[n]),d_(o,"props",void 0),o.props=new yF(n==null?void 0:n.props),o}return vF(e,null,[{key:"controlName",get:function(){return"\u5BFC\u51FA"}},{key:"controlIcon",get:function(){return"iconxiazai1"}},{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),e}(pe);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(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function OF(t,e,n){return e=Or(e),PF(t,mg()?Reflect.construct(e,n||[],Or(t).constructor):e.apply(t,n))}function wF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Or(t){return Or=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Or(t)}function $F(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&h_(t,e)}function PF(t,e){return e&&(EF(e)==="object"||typeof e=="function")?e:mF(t)}function h_(t,e){return h_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},h_(t,e)}function EF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(mg=function(){return!!t})()}var SF=function(t){$F(e,t);function e(n){wF(this,e);var o;o=OF(this,e,[n]);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:$r.controlName;var i;return o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:$r.controlIcon,o}return e}(Oe);function TF(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function RF(t,e,n){return e=wr(e),kF(t,wg()?Reflect.construct(e,n||[],wr(t).constructor):e.apply(t,n))}function IF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Og(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function BF(t,e,n){return e&&Og(t.prototype,e),n&&Og(t,n),t}function b_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function wr(t){return wr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wr(t)}function AF(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&g_(t,e)}function kF(t,e){return e&&(DF(e)==="object"||typeof e=="function")?e:TF(t)}function g_(t,e){return g_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},g_(t,e)}function DF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function wg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(wg=function(){return!!t})()}var $r=function(t){AF(e,t);function e(n){IF(this,e);var o;return o=RF(this,e,[n]),b_(o,"props",void 0),o.props=new SF(n==null?void 0:n.props),o}return BF(e,null,[{key:"controlName",get:function(){return"\u5BFC\u51FA\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"icondaochujilu"}},{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),e}(pe);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(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function LF(t,e,n){return e=Pr(e),jF(t,Pg()?Reflect.construct(e,n||[],Pr(t).constructor):e.apply(t,n))}function $g(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function m_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Pr(t){return Pr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pr(t)}function FF(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&O_(t,e)}function jF(t,e){return e&&(MF(e)==="object"||typeof e=="function")?e:xF(t)}function O_(t,e){return O_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},O_(t,e)}function MF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Pg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Pg=function(){return!!t})()}var NF=function t(e){$g(this,t),m_(this,"dataCode",void 0),this.dataCode=e.dataCode},VF=function(t){FF(e,t);function e(n){$g(this,e);var o,r;o=LF(this,e,[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 e}(Oe);function zF(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function CF(t,e,n){return e=Er(e),WF(t,Sg()?Reflect.construct(e,n||[],Er(t).constructor):e.apply(t,n))}function HF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Eg(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function qF(t,e,n){return e&&Eg(t.prototype,e),n&&Eg(t,n),t}function w_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Er(t){return Er=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Er(t)}function UF(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$_(t,e)}function WF(t,e){return e&&(KF(e)==="object"||typeof e=="function")?e:zF(t)}function $_(t,e){return $_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$_(t,e)}function KF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Sg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Sg=function(){return!!t})()}var Sr=function(t){UF(e,t);function e(n){HF(this,e);var o;return o=CF(this,e,[n]),w_(o,"props",void 0),o.props=new VF(n==null?void 0:n.props),o}return qF(e,null,[{key:"controlName",get:function(){return"\u5BFC\u5165"}},{key:"controlIcon",get:function(){return"iconshangchuan3"}},{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),e}(pe);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:p.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:p.getMessage("pleaseSelectControl")}}}}}}function GF(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Tg(t,e,n){return e=Rr(e),XF(t,Ag()?Reflect.construct(e,n||[],Rr(t).constructor):e.apply(t,n))}function Rg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ce(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Rr(t){return Rr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rr(t)}function Ig(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&P_(t,e)}function Bg(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Ce(t,r,n[r])})}return t}function XF(t,e){return e&&(QF(e)==="object"||typeof e=="function")?e:GF(t)}function P_(t,e){return P_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},P_(t,e)}function QF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ag(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ag=function(){return!!t})()}var JF=function(t){Ig(e,t);function e(n){Rg(this,e);var o;return o=Tg(this,e,[n]),Ce(o,"fillPayload",{type:"object",fields:Bg({},Tr())}),Ce(o,"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:p.getMessage("pleaseEnterList")}}}),Ce(o,"fillBack",{type:"object",fields:Bg({mode:{type:"string",required:!0,message:p.getMessage("pleaseSelectFillBackMode")}},Tr())}),(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:p.getMessage("pleaseSelectControl")}),o}return e}(W),kg=function(t){Ig(e,t);function e(n){Rg(this,e);var o;o=Tg(this,e,[n]),Ce(o,"fillPayload",void 0),Ce(o,"formBind",void 0),Ce(o,"fillBack",void 0),Ce(o,"command",void 0),Ce(o,"pageDisplay",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;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);var c;return o.pageDisplay=(c=n==null?void 0:n.pageDisplay)!==null&&c!==void 0?c:!1,o}return e}(Oe);Ce(kg,"Rules",JF);function ZF(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function YF(t,e,n){return e=Ir(e),oj(t,xg()?Reflect.construct(e,n||[],Ir(t).constructor):e.apply(t,n))}function ej(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dg(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function tj(t,e,n){return e&&Dg(t.prototype,e),n&&Dg(t,n),t}function E_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ir(t){return Ir=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ir(t)}function nj(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&S_(t,e)}function oj(t,e){return e&&(rj(e)==="object"||typeof e=="function")?e:ZF(t)}function S_(t,e){return S_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},S_(t,e)}function rj(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xg=function(){return!!t})()}var Br=function(t){nj(e,t);function e(n){ej(this,e);var o;return o=YF(this,e,[n]),E_(o,"props",void 0),o.props=new kg(n==null?void 0:n.props),o}return tj(e,null,[{key:"controlName",get:function(){return"\u8868\u5355\u64CD\u4F5C"}},{key:"controlIcon",get:function(){return"iconbiaodancaozuo"}},{key:"controlType",get:function(){return"form-select-button"}}]),e}(pe);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(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Lg(t,e,n){return e=Ar(e),uj(t,Ng()?Reflect.construct(e,n||[],Ar(t).constructor):e.apply(t,n))}function Fg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ke(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ar(t){return Ar=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ar(t)}function jg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&T_(t,e)}function Mg(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){ke(t,r,n[r])})}return t}function uj(t,e){return e&&(cj(e)==="object"||typeof e=="function")?e:ij(t)}function T_(t,e){return T_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},T_(t,e)}function cj(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ng(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ng=function(){return!!t})()}var lj=function(t){jg(e,t);function e(n){Fg(this,e);var o;return o=Lg(this,e,[n]),ke(o,"fillPayload",{type:"object",fields:Mg({},Tr())}),ke(o,"listPageBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:p.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:p.getMessage("pleaseSelectAtLeastOneColumn")}}}),ke(o,"fillBack",{type:"object",fields:Mg({mode:{type:"string",required:!0,message:p.getMessage("pleaseSelectFillBackMode")}},Tr())}),o}return e}(W),Vg=function(t){jg(e,t);function e(n){Fg(this,e);var o;o=Lg(this,e,[n]),ke(o,"fillPayload",void 0),ke(o,"listPageBind",void 0),ke(o,"disableFilling",void 0),ke(o,"fillBack",void 0),ke(o,"showSelectedDetail",void 0),ke(o,"selectedContentConfig",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:Dr.controlName;var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Dr.controlIcon,o.fillPayload=new 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 e}(Oe);ke(Vg,"Rules",lj);function aj(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fj(t,e,n){return e=kr(e),pj(t,Cg()?Reflect.construct(e,n||[],kr(t).constructor):e.apply(t,n))}function _j(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zg(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function yj(t,e,n){return e&&zg(t.prototype,e),n&&zg(t,n),t}function R_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function kr(t){return kr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kr(t)}function sj(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&I_(t,e)}function pj(t,e){return e&&(dj(e)==="object"||typeof e=="function")?e:aj(t)}function I_(t,e){return I_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},I_(t,e)}function dj(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Cg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Cg=function(){return!!t})()}var Dr=function(t){sj(e,t);function e(n){_j(this,e);var o;return o=fj(this,e,[n]),R_(o,"props",void 0),o.props=new Vg(n==null?void 0:n.props),o}return yj(e,null,[{key:"controlName",get:function(){return"\u5217\u8868\u9009\u62E9"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-select-button"}}]),e}(pe);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(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function B_(t,e,n){return e=xr(e),hj(t,qg()?Reflect.construct(e,n||[],xr(t).constructor):e.apply(t,n))}function A_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hg(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function xr(t){return xr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xr(t)}function k_(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&D_(t,e)}function hj(t,e){return e&&(bj(e)==="object"||typeof e=="function")?e:vj(t)}function D_(t,e){return D_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},D_(t,e)}function bj(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function qg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(qg=function(){return!!t})()}var gj=function(t){k_(e,t);function e(n){return A_(this,e),B_(this,e,[n])}return e}(W),mj=function(t){k_(e,t);function e(n){return A_(this,e),B_(this,e,[n])}return e}(mt),x_=function(t){k_(e,t);function e(n){return A_(this,e),B_(this,e,[n])}return e}(X);Hg(x_,"Rules",gj),Hg(x_,"RuntimeRules",mj);function Oj(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wj(t,e,n){return e=Lr(e),Sj(t,Kg()?Reflect.construct(e,n||[],Lr(t).constructor):e.apply(t,n))}function $j(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ug(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Pj(t,e,n){return e&&Ug(t.prototype,e),n&&Ug(t,n),t}function Wg(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Lr(t){return Lr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lr(t)}function Ej(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&L_(t,e)}function Sj(t,e){return e&&(Tj(e)==="object"||typeof e=="function")?e:Oj(t)}function L_(t,e){return L_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},L_(t,e)}function Tj(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Kg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Kg=function(){return!!t})()}var Rj=function(t){Ej(e,t);function e(n){$j(this,e);var o;return o=wj(this,e,[n]),Wg(o,"props",void 0),o.props=new x_(n==null?void 0:n.props),o}return Pj(e,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),e}(V);Wg(Rj,"setting",[]);function Ij(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Gg(t,e,n){return e=Fr(e),Bj(t,Jg()?Reflect.construct(e,n||[],Fr(t).constructor):e.apply(t,n))}function Xg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ee(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Fr(t){return Fr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fr(t)}function Qg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&F_(t,e)}function Bj(t,e){return e&&(Aj(e)==="object"||typeof e=="function")?e:Ij(t)}function F_(t,e){return F_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},F_(t,e)}function Aj(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Jg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Jg=function(){return!!t})()}var kj=function(t){Qg(e,t);function e(n){Xg(this,e);var o;return o=Gg(this,e,[n]),Ee(o,"dashboardKey",{type:"string",required:!0,message:p.getMessage("pleaseSelectDashboard")}),Ee(o,"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),Ee(o,"isHideCaption",{type:"boolean"}),Ee(o,"labelPosition",{type:"enum",enum:["top","left"]}),Ee(o,"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return e}(W),Zg=function(t){Qg(e,t);function e(n){Xg(this,e);var o;o=Gg(this,e,[n]),Ee(o,"dashboardKey",void 0),Ee(o,"caption",void 0),Ee(o,"isHideCaption",void 0),Ee(o,"isShowCaptionTip",void 0),Ee(o,"captionTip",void 0),Ee(o,"labelPosition",void 0);var r;o.dashboardKey=(r=n==null?void 0:n.dashboardKey)!==null&&r!==void 0?r:"";var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var c;o.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var l;return o.labelPosition=(l=n==null?void 0:n.labelPosition)!==null&&l!==void 0?l:"top",o}return e}(X);Ee(Zg,"Rules",kj);function Dj(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xj(t,e,n){return e=jr(e),Mj(t,tm()?Reflect.construct(e,n||[],jr(t).constructor):e.apply(t,n))}function Lj(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yg(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Fj(t,e,n){return e&&Yg(t.prototype,e),n&&Yg(t,n),t}function em(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function jr(t){return jr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jr(t)}function jj(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&j_(t,e)}function Mj(t,e){return e&&(Nj(e)==="object"||typeof e=="function")?e:Dj(t)}function j_(t,e){return j_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},j_(t,e)}function Nj(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tm=function(){return!!t})()}var Vj=function(t){jj(e,t);function e(n){Lj(this,e);var o;return o=xj(this,e,[n]),em(o,"props",void 0),o.props=new Zg(n==null?void 0:n.props),o}return Fj(e,null,[{key:"controlName",get:function(){return"\u4EEA\u8868\u76D8"}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),e}(V);em(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(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nm(t,e,n){return e=Mr(e),Cj(t,im()?Reflect.construct(e,n||[],Mr(t).constructor):e.apply(t,n))}function om(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ro(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Mr(t){return Mr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mr(t)}function rm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&M_(t,e)}function Cj(t,e){return e&&(Hj(e)==="object"||typeof e=="function")?e:zj(t)}function M_(t,e){return M_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},M_(t,e)}function Hj(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function im(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(im=function(){return!!t})()}var qj=function(t){rm(e,t);function e(n){om(this,e);var o;return o=nm(this,e,[n]),ro(o,"showType",{type:"enum",enum:["select","tabs"]}),ro(o,"viewList",{type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:p.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:p.getMessage("pleaseSelectAtLeastOneColumn")}}}}),o}return e}(W),um=function(t){rm(e,t);function e(n){om(this,e);var o,r;o=nm(this,e,[n]),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 e}(X);ro(um,"Rules",qj);function Uj(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Wj(t,e,n){return e=Nr(e),Qj(t,am()?Reflect.construct(e,n||[],Nr(t).constructor):e.apply(t,n))}function Kj(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function cm(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Gj(t,e,n){return e&&cm(t.prototype,e),n&&cm(t,n),t}function lm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Nr(t){return Nr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nr(t)}function Xj(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&N_(t,e)}function Qj(t,e){return e&&(Jj(e)==="object"||typeof e=="function")?e:Uj(t)}function N_(t,e){return N_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},N_(t,e)}function Jj(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function am(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(am=function(){return!!t})()}var Zj=function(t){Xj(e,t);function e(n){Kj(this,e);var o;return o=Wj(this,e,[n]),lm(o,"props",void 0),o.props=new um(n==null?void 0:n.props),o}return Gj(e,null,[{key:"controlName",get:function(){return"\u5217\u8868\u89C6\u56FE"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-view-select"}}]),e}(V);lm(Zj,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}]);function Yj(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fm(t,e,n){return e=Vr(e),eM(t,sm()?Reflect.construct(e,n||[],Vr(t).constructor):e.apply(t,n))}function _m(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function de(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Vr(t){return Vr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vr(t)}function ym(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&V_(t,e)}function eM(t,e){return e&&(tM(e)==="object"||typeof e=="function")?e:Yj(t)}function V_(t,e){return V_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},V_(t,e)}function tM(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function sm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(sm=function(){return!!t})()}var nM=function(t){ym(e,t);function e(n){_m(this,e);var o;return o=fm(this,e,[n]),de(o,"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),de(o,"isHideCaption",{type:"boolean"}),de(o,"labelPosition",{type:"enum",enum:["top","left"]}),de(o,"ocrType",{type:"string",required:!0,message:p.getMessage("pleaseSelectOcrType")}),de(o,"fillList",{type:"array",validator:function(i,u,c){var a=u.every(function(l){return!l.controlId});if(a){c(p.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}c()}}),de(o,"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return e}(W),pm=function(t){ym(e,t);function e(n){_m(this,e);var o,r;o=fm(this,e,[n]),de(o,"caption",void 0),de(o,"isHideCaption",void 0),de(o,"isShowCaptionTip",void 0),de(o,"captionTip",void 0),de(o,"labelPosition",void 0),de(o,"ocrType",void 0),de(o,"fillList",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:io.controlName;var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var c;o.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var l;o.labelPosition=(l=n==null?void 0:n.labelPosition)!==null&&l!==void 0?l:"top";var _;o.content=(_=n==null?void 0:n.content)!==null&&_!==void 0?_:io.controlName;var s;o.icon=(s=n==null?void 0:n.icon)!==null&&s!==void 0?s:io.controlIcon;var d;o.ocrType=(d=n==null?void 0:n.ocrType)!==null&&d!==void 0?d:"";var b;return o.fillList=(b=n==null||(r=n.fillList)===null||r===void 0?void 0:r.map(function(O){return new se(O)}))!==null&&b!==void 0?b:[],o}return e}(Oe);de(pm,"Rules",nM);function oM(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rM(t,e,n){return e=zr(e),lM(t,vm()?Reflect.construct(e,n||[],zr(t).constructor):e.apply(t,n))}function iM(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dm(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function uM(t,e,n){return e&&dm(t.prototype,e),n&&dm(t,n),t}function z_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zr(t){return zr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zr(t)}function cM(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&C_(t,e)}function lM(t,e){return e&&(aM(e)==="object"||typeof e=="function")?e:oM(t)}function C_(t,e){return C_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},C_(t,e)}function aM(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function vm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(vm=function(){return!!t})()}var io=function(t){cM(e,t);function e(n){iM(this,e);var o;return o=rM(this,e,[n]),z_(o,"props",void 0),o.props=new pm(n==null?void 0:n.props),o}return uM(e,null,[{key:"controlName",get:function(){return"\u6587\u5B57\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconwenzishibie"}},{key:"controlType",get:function(){return"text-ocr-button"}}]),e}(pe);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(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hm(t,e,n){return e=Cr(e),_M(t,mm()?Reflect.construct(e,n||[],Cr(t).constructor):e.apply(t,n))}function bm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ve(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Cr(t){return Cr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cr(t)}function gm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&H_(t,e)}function _M(t,e){return e&&(yM(e)==="object"||typeof e=="function")?e:fM(t)}function H_(t,e){return H_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},H_(t,e)}function yM(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(mm=function(){return!!t})()}var sM=function(t){gm(e,t);function e(n){bm(this,e);var o;return o=hm(this,e,[n]),ve(o,"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),ve(o,"isHideCaption",{type:"boolean"}),ve(o,"labelPosition",{type:"enum",enum:["top","left"]}),ve(o,"invoiceCheck",{type:"boolean"}),ve(o,"fillList",{type:"array",validator:function(i,u,c){var a=u.every(function(l){return!l.controlId});if(a){c(p.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}c()}}),ve(o,"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return e}(W),Om=function(t){gm(e,t);function e(n){bm(this,e);var o,r;o=hm(this,e,[n]),ve(o,"caption",void 0),ve(o,"isHideCaption",void 0),ve(o,"isShowCaptionTip",void 0),ve(o,"captionTip",void 0),ve(o,"labelPosition",void 0),ve(o,"invoiceCheck",void 0),ve(o,"fillList",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i: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 d;o.invoiceCheck=(d=n==null?void 0:n.invoiceCheck)!==null&&d!==void 0?d:!0;var b;return o.fillList=(b=n==null||(r=n.fillList)===null||r===void 0?void 0:r.map(function(O){return new se(O)}))!==null&&b!==void 0?b:[],o}return e}(Oe);ve(Om,"Rules",sM);function pM(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function dM(t,e,n){return e=Hr(e),gM(t,$m()?Reflect.construct(e,n||[],Hr(t).constructor):e.apply(t,n))}function vM(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wm(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function hM(t,e,n){return e&&wm(t.prototype,e),n&&wm(t,n),t}function q_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Hr(t){return Hr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hr(t)}function bM(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&U_(t,e)}function gM(t,e){return e&&(mM(e)==="object"||typeof e=="function")?e:pM(t)}function U_(t,e){return U_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},U_(t,e)}function mM(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $m(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($m=function(){return!!t})()}var uo=function(t){bM(e,t);function e(n){vM(this,e);var o;return o=dM(this,e,[n]),q_(o,"props",void 0),o.props=new Om(n==null?void 0:n.props),o}return hM(e,null,[{key:"controlName",get:function(){return"\u53D1\u7968\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconfabiaoshibie1"}},{key:"controlType",get:function(){return"invoice-check-button"}}]),e}(pe);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(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Pm(t,e,n){return e=Ur(e),wM(t,Tm()?Reflect.construct(e,n||[],Ur(t).constructor):e.apply(t,n))}function Em(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ur(t){return Ur=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ur(t)}function Sm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&W_(t,e)}function wM(t,e){return e&&($M(e)==="object"||typeof e=="function")?e:OM(t)}function W_(t,e){return W_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},W_(t,e)}function $M(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Tm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Tm=function(){return!!t})()}var PM=function(t){Sm(e,t);function e(){Em(this,e);var n;return n=Pm(this,e,arguments),qr(n,"printTemplates",{type:"array",min:1,required:!0,message:p.getMessage("pleaseUploadAtLeastOnePrintTemplate")}),n}return e}(W),Rm=function(t){Sm(e,t);function e(n){Em(this,e);var o,r;o=Pm(this,e,[n]),qr(o,"printTemplates",void 0),qr(o,"autoSelectTemplate",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Kr.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:Kr.controlName;var c;o.printTemplates=(c=n==null||(r=n.printTemplates)===null||r===void 0?void 0:r.map(function(l){return new 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 e}(Oe);qr(Rm,"Rules",PM);function EM(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function SM(t,e,n){return e=Wr(e),BM(t,Bm()?Reflect.construct(e,n||[],Wr(t).constructor):e.apply(t,n))}function TM(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Im(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function RM(t,e,n){return e&&Im(t.prototype,e),n&&Im(t,n),t}function K_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wr(t){return Wr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wr(t)}function IM(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&G_(t,e)}function BM(t,e){return e&&(AM(e)==="object"||typeof e=="function")?e:EM(t)}function G_(t,e){return G_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},G_(t,e)}function AM(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Bm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Bm=function(){return!!t})()}var Kr=function(t){IM(e,t);function e(n){TM(this,e);var o;return o=SM(this,e,[n]),K_(o,"props",void 0),o.props=new Rm(n==null?void 0:n.props),o}return RM(e,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u6253\u5370"}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),e}(pe);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(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function DM(t,e,n){return e=Gr(e),FM(t,Am()?Reflect.construct(e,n||[],Gr(t).constructor):e.apply(t,n))}function xM(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gr(t){return Gr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gr(t)}function LM(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&X_(t,e)}function FM(t,e){return e&&(jM(e)==="object"||typeof e=="function")?e:kM(t)}function X_(t,e){return X_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},X_(t,e)}function jM(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Am(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Am=function(){return!!t})()}var MM=function(t){LM(e,t);function e(n){xM(this,e);var o;o=DM(this,e,[n]);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:Qr.controlName;var i;return o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Qr.controlIcon,o}return e}(Oe);function NM(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function VM(t,e,n){return e=Xr(e),qM(t,Dm()?Reflect.construct(e,n||[],Xr(t).constructor):e.apply(t,n))}function zM(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function km(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function CM(t,e,n){return e&&km(t.prototype,e),n&&km(t,n),t}function Q_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xr(t){return Xr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xr(t)}function HM(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&J_(t,e)}function qM(t,e){return e&&(UM(e)==="object"||typeof e=="function")?e:NM(t)}function J_(t,e){return J_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},J_(t,e)}function UM(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Dm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Dm=function(){return!!t})()}var Qr=function(t){HM(e,t);function e(n){zM(this,e);var o;return o=VM(this,e,[n]),Q_(o,"props",void 0),o.props=new MM(n==null?void 0:n.props),o}return CM(e,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u6253\u5370\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),e}(pe);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(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xm(t,e,n){return e=Jr(e),KM(t,jm()?Reflect.construct(e,n||[],Jr(t).constructor):e.apply(t,n))}function Lm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _e(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Jr(t){return Jr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jr(t)}function Fm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Z_(t,e)}function KM(t,e){return e&&(GM(e)==="object"||typeof e=="function")?e:WM(t)}function Z_(t,e){return Z_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Z_(t,e)}function GM(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function jm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(jm=function(){return!!t})()}var XM=function(t){Fm(e,t);function e(n){Lm(this,e);var o;return o=xm(this,e,[n]),_e(o,"formKey",{type:"string",required:!1}),(n.command==="edit"||n.command==="view")&&(o.formKey={type:"string",required:!0,message:p.getMessage("pleaseEnterForm")}),o}return e}(W),Zr=function(t){Fm(e,t);function e(n){Lm(this,e);var o;o=xm(this,e,[n]),_e(o,"content",void 0),_e(o,"code",void 0),_e(o,"command",void 0),_e(o,"color",void 0),_e(o,"icon",void 0),_e(o,"formKey",void 0),_e(o,"openType",void 0),_e(o,"needConfirm",void 0),_e(o,"confirmMessage",void 0),_e(o,"options",void 0),_e(o,"defaultState",void 0),_e(o,"priorityProcess",void 0),_e(o,"isLoading",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:"\u6309\u94AE",o.code=n==null?void 0:n.code;var i;o.command=(i=n==null?void 0:n.command)!==null&&i!==void 0?i:"custom";var u;o.color=(u=n==null?void 0:n.color)!==null&&u!==void 0?u:"primary",o.icon=n==null?void 0:n.icon,o.formKey=n==null?void 0:n.formKey,o.openType=n==null?void 0:n.openType,o.needConfirm=n==null?void 0:n.needConfirm,o.confirmMessage=n==null?void 0:n.confirmMessage,o.options=n==null?void 0:n.options;var c;o.defaultState=(c=n==null?void 0:n.defaultState)!==null&&c!==void 0?c:"default",o.priorityProcess=n==null?void 0:n.priorityProcess;var a;return o.isLoading=(a=n==null?void 0:n.isLoading)!==null&&a!==void 0?a:!1,o}return e}(X);_e(Zr,"Rules",XM);function QM(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function JM(t,e,n){return e=Yr(e),tN(t,Nm()?Reflect.construct(e,n||[],Yr(t).constructor):e.apply(t,n))}function ZM(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mm(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function YM(t,e,n){return e&&Mm(t.prototype,e),n&&Mm(t,n),t}function Y_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yr(t){return Yr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yr(t)}function eN(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ey(t,e)}function tN(t,e){return e&&(nN(e)==="object"||typeof e=="function")?e:QM(t)}function ey(t,e){return ey=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ey(t,e)}function nN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Nm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Nm=function(){return!!t})()}var ei=function(t){eN(e,t);function e(n){ZM(this,e);var o;return o=JM(this,e,[n]),Y_(o,"props",void 0),o.props=new Zr(n==null?void 0:n.props),o}return YM(e,null,[{key:"controlName",get:function(){return"\u64CD\u4F5C\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"operation-button"}}]),e}(V);Y_(ei,"controlEventKeys",["on_click"]),Y_(ei,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE]},{key:"super-setting",visible:!0}]);function oN(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rN(t,e,n){return e=ti(e),aN(t,zm()?Reflect.construct(e,n||[],ti(t).constructor):e.apply(t,n))}function iN(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vm(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function uN(t,e,n){return e&&Vm(t.prototype,e),n&&Vm(t,n),t}function cN(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ti(t){return ti=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ti(t)}function lN(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ty(t,e)}function aN(t,e){return e&&(fN(e)==="object"||typeof e=="function")?e:oN(t)}function ty(t,e){return ty=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ty(t,e)}function fN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function zm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zm=function(){return!!t})()}var _N=function(t){lN(e,t);function e(n){iN(this,e);var o;return o=rN(this,e,[n]),cN(o,"props",void 0),o.props=new Zr(n==null?void 0:n.props),o}return uN(e,null,[{key:"controlType",get:function(){return"operation-button"}}]),e}(Ze),ny={Designer:ei,Runtime:_N,Property:Zr};function yN(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function sN(t,e,n){return e=ni(e),vN(t,Cm()?Reflect.construct(e,n||[],ni(t).constructor):e.apply(t,n))}function pN(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ni(t){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ni(t)}function dN(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&oy(t,e)}function vN(t,e){return e&&(hN(e)==="object"||typeof e=="function")?e:yN(t)}function oy(t,e){return oy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},oy(t,e)}function hN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Cm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Cm=function(){return!!t})()}var bN=function(t){dN(e,t);function e(n){pN(this,e);var o;o=sN(this,e,[n]),pt(o,"content",void 0),pt(o,"buttonType",void 0),pt(o,"showType",void 0),pt(o,"color",void 0),pt(o,"icon",void 0),pt(o,"defaultState",void 0),pt(o,"command",void 0),pt(o,"isLoading",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:ri.controlName;var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:ri.controlIcon;var u;o.buttonType=(u=n==null?void 0:n.buttonType)!==null&&u!==void 0?u:"primary";var c;o.showType=(c=n==null?void 0:n.showType)!==null&&c!==void 0?c:"iconText";var a;o.color=(a=n==null?void 0:n.color)!==null&&a!==void 0?a:"danger";var l;o.isHide=(l=n==null?void 0:n.isHide)!==null&&l!==void 0?l:!1;var _;o.defaultState=(_=n==null?void 0:n.defaultState)!==null&&_!==void 0?_:"default";var s;o.command=(s=n==null?void 0:n.command)!==null&&s!==void 0?s:"custom";var d;return o.isLoading=(d=n==null?void 0:n.isLoading)!==null&&d!==void 0?d:!1,o}return e}(X);function gN(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mN(t,e,n){return e=oi(e),PN(t,qm()?Reflect.construct(e,n||[],oi(t).constructor):e.apply(t,n))}function ON(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hm(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function wN(t,e,n){return e&&Hm(t.prototype,e),n&&Hm(t,n),t}function ry(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function oi(t){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oi(t)}function $N(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&iy(t,e)}function PN(t,e){return e&&(EN(e)==="object"||typeof e=="function")?e:gN(t)}function iy(t,e){return iy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},iy(t,e)}function EN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function qm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(qm=function(){return!!t})()}var ri=function(t){$N(e,t);function e(n){ON(this,e);var o;return o=mN(this,e,[n]),ry(o,"props",void 0),o.props=new bN(n==null?void 0:n.props),o}return wN(e,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u5220\u9664"}},{key:"controlIcon",get:function(){return"iconlajitong"}},{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),e}(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(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function uy(t,e,n){return e=ii(e),TN(t,Um()?Reflect.construct(e,n||[],ii(t).constructor):e.apply(t,n))}function cy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function De(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ii(t){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ii(t)}function ly(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ay(t,e)}function TN(t,e){return e&&(RN(e)==="object"||typeof e=="function")?e:SN(t)}function ay(t,e){return ay=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ay(t,e)}function RN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Um(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Um=function(){return!!t})()}var IN=function(t){ly(e,t);function e(n){cy(this,e);var o;return o=uy(this,e,[n]),De(o,"maxLength",{type:"number",min:0,message:p.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),De(o,"minLength",{type:"number",max:200,message:p.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),De(o,"defaultValue",[{type:"string",max:200,min:0,message:p.getMessage("stringRangeError")},{pattern:"",message:""}]),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue[0].max=n.maxLength,o.defaultValue[0].min=n.minLength,o.defaultValue[0].message=p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o.defaultValue[1].pattern=Wt(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return e}(J),BN=function(t){ly(e,t);function e(n){cy(this,e);var o;return o=uy(this,e,[n]),o.push({type:"string",message:p.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:Wt(n.regularRules.expression),message:n.regularRules.errMessage}),o}return e}(z),co=function(t){ly(e,t);function e(n){cy(this,e);var o;o=uy(this,e,[n]),De(o,"maxLength",void 0),De(o,"minLength",void 0),De(o,"regularRules",void 0),De(o,"defaultValue",void 0),De(o,"encrypted",void 0),De(o,"encryptedMode",void 0);var r;o.maxLength=(r=n==null?void 0:n.maxLength)!==null&&r!==void 0?r:200;var i;o.minLength=(i=n==null?void 0:n.minLength)!==null&&i!==void 0?i:0,o.regularRules=new 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 e}(D);De(co,"Rules",IN),De(co,"RuntimeRules",BN);function AN(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kN(t,e,n){return e=ci(e),FN(t,Km()?Reflect.construct(e,n||[],ci(t).constructor):e.apply(t,n))}function DN(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wm(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function xN(t,e,n){return e&&Wm(t.prototype,e),n&&Wm(t,n),t}function ui(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ci(t){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ci(t)}function LN(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fy(t,e)}function FN(t,e){return e&&(jN(e)==="object"||typeof e=="function")?e:AN(t)}function fy(t,e){return fy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fy(t,e)}function jN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Km(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Km=function(){return!!t})()}var lo=function(t){LN(e,t);function e(n){DN(this,e);var o;return o=kN(this,e,[n]),ui(o,"props",void 0),o.props=new co(n==null?void 0:n.props),o}return xN(e,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconSingleline_new1"}},{key:"controlType",get:function(){return"input"}}]),e}(x);ui(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(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function NN(t,e,n){return e=li(e),HN(t,Qm()?Reflect.construct(e,n||[],li(t).constructor):e.apply(t,n))}function VN(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gm(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function zN(t,e,n){return e&&Gm(t.prototype,e),n&&Gm(t,n),t}function Xm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function li(t){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},li(t)}function CN(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_y(t,e)}function HN(t,e){return e&&(qN(e)==="object"||typeof e=="function")?e:MN(t)}function _y(t,e){return _y=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_y(t,e)}function qN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Qm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Qm=function(){return!!t})()}var UN=function(t){CN(e,t);function e(n){VN(this,e);var o;return o=NN(this,e,[n]),Xm(o,"props",void 0),o.props=new co(n==null?void 0:n.props),o}return zN(e,null,[{key:"controlType",get:function(){return"input"}}]),e}(L);Xm(UN,"controlFieldType",g.VARCHAR);function WN(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yy(t,e,n){return e=ai(e),KN(t,Jm()?Reflect.construct(e,n||[],ai(t).constructor):e.apply(t,n))}function sy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function oe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ai(t){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ai(t)}function py(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&dy(t,e)}function KN(t,e){return e&&(GN(e)==="object"||typeof e=="function")?e:WN(t)}function dy(t,e){return dy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dy(t,e)}function GN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Jm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Jm=function(){return!!t})()}var XN=function(t){py(e,t);function e(n){sy(this,e);var o;o=yy(this,e,[n]),oe(o,"limitMax",{type:"number",min:void 0,message:p.getMessage("PleaseReselectTheOptionalQuantity")});var r=n.limitMax==="unlimited";r&&(o.limitMax.type="string");var i=function(u){return u==="unlimited"?void 0:u};return o.limitMax.min=i(n.limitMin),o}return e}(Vt),QN=function(t){py(e,t);function e(n){sy(this,e);var o;return o=yy(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o.push({type:"array",max:typeof n.limitMax=="number"?n.limitMax:void 0,min:typeof n.limitMin=="number"?n.limitMin:void 0}),o}return e}(z),fi=function(t){py(e,t);function e(n){sy(this,e);var o;o=yy(this,e,[n]),oe(o,"checkboxMode",void 0),oe(o,"options",void 0),oe(o,"optionsOrder",void 0),oe(o,"limitMax",void 0),oe(o,"limitMin",void 0),oe(o,"otherOption",void 0),oe(o,"optionConfig",void 0),oe(o,"optionsFormat",void 0),oe(o,"defaultShowOptions",void 0),oe(o,"datasourceBind",void 0),oe(o,"multistageFilling",void 0),oe(o,"interreaction",void 0),oe(o,"defaultValue",void 0),oe(o,"openMultistageFilling",void 0);var r;o.options=Je((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var i;o.checkboxMode=(i=n==null?void 0:n.checkboxMode)!==null&&i!==void 0?i:"horizontal";var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"custom";var c;o.optionsOrder=(c=n==null?void 0:n.optionsOrder)!==null&&c!==void 0?c:!1;var a;o.otherOption=(a=n==null?void 0:n.otherOption)!==null&&a!==void 0?a:!1;var l;o.limitMin=(l=n==null?void 0:n.limitMin)!==null&&l!==void 0?l:"unlimited";var _;o.limitMax=(_=n==null?void 0:n.limitMax)!==null&&_!==void 0?_:"unlimited",o.datasourceBind=new G(n==null?void 0:n.datasourceBind);var s;o.interreaction=(s=n==null?void 0:n.interreaction)!==null&&s!==void 0?s:[];var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:si.controlName;var b;o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:[];var O;o.optionsFormat=(O=n==null?void 0:n.optionsFormat)!==null&&O!==void 0?O:"horizontal";var m;o.defaultShowOptions=(m=n==null?void 0:n.defaultShowOptions)!==null&&m!==void 0?m:!0;var w;return o.openMultistageFilling=(w=n==null?void 0:n.openMultistageFilling)!==null&&w!==void 0?w:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(h){var $;($=o.multistageFilling)===null||$===void 0||$.push(new se(h))})),o}return e}(D);oe(fi,"Rules",XN),oe(fi,"RuntimeRules",QN);function JN(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ZN(t,e,n){return e=yi(e),n5(t,Ym()?Reflect.construct(e,n||[],yi(t).constructor):e.apply(t,n))}function YN(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zm(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function e5(t,e,n){return e&&Zm(t.prototype,e),n&&Zm(t,n),t}function _i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yi(t){return yi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yi(t)}function t5(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&vy(t,e)}function n5(t,e){return e&&(o5(e)==="object"||typeof e=="function")?e:JN(t)}function vy(t,e){return vy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vy(t,e)}function o5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ym(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ym=function(){return!!t})()}var si=function(t){t5(e,t);function e(n){YN(this,e);var o;return o=ZN(this,e,[n]),_i(o,"props",void 0),o.props=new fi(n==null?void 0:n.props),o}return e5(e,null,[{key:"controlName",get:function(){return"\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),e}(x);_i(si,"controlEventKeys",["on_change","on_click"]),_i(si,"controlFieldType",g.ARRAY),_i(si,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}]);function r5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function i5(t,e,n){return e=pi(e),a5(t,nO()?Reflect.construct(e,n||[],pi(t).constructor):e.apply(t,n))}function u5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function eO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function c5(t,e,n){return e&&eO(t.prototype,e),n&&eO(t,n),t}function tO(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pi(t){return pi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pi(t)}function l5(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&hy(t,e)}function a5(t,e){return e&&(f5(e)==="object"||typeof e=="function")?e:r5(t)}function hy(t,e){return hy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hy(t,e)}function f5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function nO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(nO=function(){return!!t})()}var _5=function(t){l5(e,t);function e(n){u5(this,e);var o;return o=i5(this,e,[n]),tO(o,"props",void 0),o.props=new fi(n==null?void 0:n.props),o}return c5(e,null,[{key:"controlType",get:function(){return"checkbox"}}]),e}(L);tO(_5,"controlFieldType",g.ARRAY);function y5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function oO(t,e,n){return e=di(e),s5(t,uO()?Reflect.construct(e,n||[],di(t).constructor):e.apply(t,n))}function rO(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function we(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function di(t){return di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},di(t)}function iO(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&by(t,e)}function s5(t,e){return e&&(p5(e)==="object"||typeof e=="function")?e:y5(t)}function by(t,e){return by=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},by(t,e)}function p5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function uO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(uO=function(){return!!t})()}var d5=function(t){iO(e,t);function e(n){return rO(this,e),oO(this,e,[n])}return e}(Vt),gy=function(t){iO(e,t);function e(n){rO(this,e);var o;o=oO(this,e,[n]),we(o,"radioMode",void 0),we(o,"options",void 0),we(o,"optionConfig",void 0),we(o,"optionsFormat",void 0),we(o,"defaultShowOptions",void 0),we(o,"otherOption",void 0),we(o,"optionsOrder",void 0),we(o,"datasourceBind",void 0),we(o,"multistageFilling",void 0),we(o,"interreaction",void 0),we(o,"defaultValue",void 0),we(o,"openMultistageFilling",void 0);var r;o.options=Je((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var i;o.radioMode=(i=n==null?void 0:n.radioMode)!==null&&i!==void 0?i:"horizontal";var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"custom";var c;o.otherOption=(c=n==null?void 0:n.otherOption)!==null&&c!==void 0?c:!1;var a;o.optionsOrder=(a=n==null?void 0:n.optionsOrder)!==null&&a!==void 0?a:!1;var l;o.defaultShowOptions=(l=n==null?void 0:n.defaultShowOptions)!==null&&l!==void 0?l:!0;var _;o.optionsFormat=(_=n==null?void 0:n.optionsFormat)!==null&&_!==void 0?_:"horizontal",o.datasourceBind=new G(n==null?void 0:n.datasourceBind);var s;o.interreaction=(s=n==null?void 0:n.interreaction)!==null&&s!==void 0?s:[];var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:bi.controlName;var b;o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:"";var O;return o.openMultistageFilling=(O=n==null?void 0:n.openMultistageFilling)!==null&&O!==void 0?O:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(m){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new se(m))})),o}return e}(D);we(gy,"Rules",d5);function v5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function h5(t,e,n){return e=hi(e),O5(t,lO()?Reflect.construct(e,n||[],hi(t).constructor):e.apply(t,n))}function b5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function cO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function g5(t,e,n){return e&&cO(t.prototype,e),n&&cO(t,n),t}function vi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function hi(t){return hi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hi(t)}function m5(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&my(t,e)}function O5(t,e){return e&&(w5(e)==="object"||typeof e=="function")?e:v5(t)}function my(t,e){return my=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},my(t,e)}function w5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function lO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(lO=function(){return!!t})()}var bi=function(t){m5(e,t);function e(n){b5(this,e);var o;return o=h5(this,e,[n]),vi(o,"props",void 0),o.props=new gy(n==null?void 0:n.props),o}return g5(e,null,[{key:"controlName",get:function(){return"\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),e}(x);vi(bi,"controlEventKeys",["on_change","on_click"]),vi(bi,"controlFieldType",g.VARCHAR),vi(bi,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}]);function $5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function P5(t,e,n){return e=gi(e),R5(t,_O()?Reflect.construct(e,n||[],gi(t).constructor):e.apply(t,n))}function E5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function aO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function S5(t,e,n){return e&&aO(t.prototype,e),n&&aO(t,n),t}function fO(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gi(t){return gi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gi(t)}function T5(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Oy(t,e)}function R5(t,e){return e&&(I5(e)==="object"||typeof e=="function")?e:$5(t)}function Oy(t,e){return Oy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Oy(t,e)}function I5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _O(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_O=function(){return!!t})()}var B5=function(t){T5(e,t);function e(n){E5(this,e);var o;return o=P5(this,e,[n]),fO(o,"props",void 0),o.props=new gy(n==null?void 0:n.props),o}return S5(e,null,[{key:"controlType",get:function(){return"radio"}}]),e}(L);fO(B5,"controlFieldType",g.VARCHAR);function A5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wy(t,e,n){return e=mi(e),k5(t,yO()?Reflect.construct(e,n||[],mi(t).constructor):e.apply(t,n))}function $y(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ce(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function mi(t){return mi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mi(t)}function Py(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ey(t,e)}function k5(t,e){return e&&(D5(e)==="object"||typeof e=="function")?e:A5(t)}function Ey(t,e){return Ey=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ey(t,e)}function D5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function yO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(yO=function(){return!!t})()}var x5=function(t){Py(e,t);function e(n){$y(this,e);var o;o=wy(this,e,[n]),ce(o,"defaultValue",[{type:"number",min:0,max:200,message:p.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}]),ce(o,"rangeMax",{type:"any"});var r=n.rangeMax===""?void 0:n.rangeMax,i=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue[0].max=r,o.defaultValue[0].min=i,o.defaultValue[0].message=p.getMessage("pleaseEnterNumberRange",{max:r,min:i}),i&&r!==void 0&&(o.rangeMax={type:"number",min:i,message:p.getMessage("numberRangeSetError")}),o.defaultValue[1].pattern=Wt(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return e}(J),L5=function(t){Py(e,t);function e(n){$y(this,e);var o;o=wy(this,e,[n]),o[0]!==void 0&&(o[0].type="number");var r=n.rangeMax!==""?n.rangeMax:void 0,i=n.rangeMin!==""?n.rangeMin:void 0;return o.push({type:"number",max:r,min:i,message:p.getMessage(r===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:r,min:i})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:Wt(n.regularRules.expression),message:n.regularRules.errMessage}),o}return e}(z),Oi=function(t){Py(e,t);function e(n){$y(this,e);var o;o=wy(this,e,[n]),ce(o,"rangeMin",void 0),ce(o,"rangeMax",void 0),ce(o,"numberType",void 0),ce(o,"percentageFormat",void 0),ce(o,"micrometer",void 0),ce(o,"precision",void 0),ce(o,"showUpperCase",void 0),ce(o,"isShowUnit",void 0),ce(o,"unitPosition",void 0),ce(o,"unit",void 0),ce(o,"defaultValue",void 0),ce(o,"regularRules",void 0);var r;o.rangeMin=(r=n==null?void 0:n.rangeMin)!==null&&r!==void 0?r:"";var i;o.rangeMax=(i=n==null?void 0:n.rangeMax)!==null&&i!==void 0?i:"";var u;o.numberType=(u=n==null?void 0:n.numberType)!==null&&u!==void 0?u:"number";var c;o.percentageFormat=(c=n==null?void 0:n.percentageFormat)!==null&&c!==void 0?c:!1;var a;o.micrometer=(a=n==null?void 0:n.micrometer)!==null&&a!==void 0?a:!1;var l;o.precision=(l=n==null?void 0:n.precision)!==null&&l!==void 0?l:0;var _;o.showUpperCase=(_=n==null?void 0:n.showUpperCase)!==null&&_!==void 0?_:!1;var s;o.isShowUnit=(s=n==null?void 0:n.isShowUnit)!==null&&s!==void 0?s:!1;var d;o.unitPosition=(d=n==null?void 0:n.unitPosition)!==null&&d!==void 0?d:"right";var b;o.unit=(b=n==null?void 0:n.unit)!==null&&b!==void 0?b:"";var O;o.caption=(O=n==null?void 0:n.caption)!==null&&O!==void 0?O:Pi.controlName;var m;o.placeholder=(m=n==null?void 0:n.placeholder)!==null&&m!==void 0?m:"\u8BF7\u8F93\u5165";var w;return o.defaultValue=(w=n==null?void 0:n.defaultValue)!==null&&w!==void 0?w:"",o.regularRules=new Ao(n==null?void 0:n.regularRules),o}return e}(D);ce(Oi,"Rules",x5),ce(Oi,"RuntimeRules",L5);function F5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function j5(t,e,n){return e=Xt(e),z5(t,pO()?Reflect.construct(e,n||[],Xt(t).constructor):e.apply(t,n))}function M5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function N5(t,e,n){return e&&sO(t.prototype,e),n&&sO(t,n),t}function wi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $i(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?$i=Reflect.get:$i=function(r,i,u){var c=C5(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},$i(t,e,n||t)}function Xt(t){return Xt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xt(t)}function V5(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Sy(t,e)}function z5(t,e){return e&&(H5(e)==="object"||typeof e=="function")?e:F5(t)}function Sy(t,e){return Sy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sy(t,e)}function C5(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Xt(t),t!==null););return t}function H5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pO=function(){return!!t})()}var Pi=function(t){V5(e,t);function e(n){M5(this,e);var o;return o=j5(this,e,[n]),wi(o,"props",void 0),o.props=new Oi(n==null?void 0:n.props),o}return N5(e,[{key:"toDataBindModel",value:function(o){var r=$i(Xt(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.precision,c=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=c}return r}}],[{key:"controlName",get:function(){return"\u6570\u5B57"}},{key:"controlIcon",get:function(){return"iconnuminput_new"}},{key:"controlType",get:function(){return"number"}}]),e}(x);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(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function U5(t,e,n){return e=Ei(e),X5(t,hO()?Reflect.construct(e,n||[],Ei(t).constructor):e.apply(t,n))}function W5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function K5(t,e,n){return e&&dO(t.prototype,e),n&&dO(t,n),t}function vO(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ei(t){return Ei=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ei(t)}function G5(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ty(t,e)}function X5(t,e){return e&&(Q5(e)==="object"||typeof e=="function")?e:q5(t)}function Ty(t,e){return Ty=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ty(t,e)}function Q5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function hO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(hO=function(){return!!t})()}var J5=function(t){G5(e,t);function e(n){W5(this,e);var o;return o=U5(this,e,[n]),vO(o,"props",void 0),o.props=new Oi(n==null?void 0:n.props),o}return K5(e,null,[{key:"controlType",get:function(){return"number"}}]),e}(L);vO(J5,"controlFieldType",g.DECIMAL);function Z5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Y5(t,e,n){return e=Si(e),n6(t,bO()?Reflect.construct(e,n||[],Si(t).constructor):e.apply(t,n))}function e6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Si(t){return Si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Si(t)}function t6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ry(t,e)}function n6(t,e){return e&&(o6(e)==="object"||typeof e=="function")?e:Z5(t)}function Ry(t,e){return Ry=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ry(t,e)}function o6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function bO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(bO=function(){return!!t})()}var gO=function(t){t6(e,t);function e(n){e6(this,e);var o,r;o=Y5(this,e,[n]),dt(o,"dateType",void 0),dt(o,"dateFormat",void 0),dt(o,"commonTimeSetting",void 0),dt(o,"setValueType",void 0),dt(o,"defaultValue",void 0),dt(o,"limitDateList",void 0),dt(o,"allowDateRange",void 0),dt(o,"filterWeekend",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:xt.DATE;var u;o.dateFormat=(u=n==null?void 0:n.dateFormat)!==null&&u!==void 0?u:"";var c;o.commonTimeSetting=(c=n==null?void 0:n.commonTimeSetting)!==null&&c!==void 0?c:[];var a;o.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l: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 d;o.limitDateList=(d=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function(m){return new Zf(m)}))!==null&&d!==void 0?d:[];var b;o.allowDateRange=(b=n==null?void 0:n.allowDateRange)!==null&&b!==void 0?b:["",""];var O;return o.filterWeekend=(O=n==null?void 0:n.filterWeekend)!==null&&O!==void 0?O:!1,o}return e}(D);function r6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function i6(t,e,n){return e=Qt(e),a6(t,OO()?Reflect.construct(e,n||[],Qt(t).constructor):e.apply(t,n))}function u6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function c6(t,e,n){return e&&mO(t.prototype,e),n&&mO(t,n),t}function Iy(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ti(t,e,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(t,e,n||t)}function Qt(t){return Qt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qt(t)}function l6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&By(t,e)}function a6(t,e){return e&&(_6(e)==="object"||typeof e=="function")?e:r6(t)}function By(t,e){return By=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},By(t,e)}function f6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Qt(t),t!==null););return t}function _6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function OO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(OO=function(){return!!t})()}var Ay=function(t){l6(e,t);function e(n){u6(this,e);var o;return o=i6(this,e,[n]),Iy(o,"props",void 0),o.props=new gO(n==null?void 0:n.props),o}return c6(e,[{key:"toDataBindModel",value:function(o){var r=Ti(Qt(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props.dateType;r.props.dateType=i}return r}}],[{key:"controlName",get:function(){return"\u65E5\u671F"}},{key:"controlIcon",get:function(){return"iconriqi1"}},{key:"controlType",get:function(){return"date-picker"}}]),e}(x);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(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function s6(t,e,n){return e=Ri(e),h6(t,PO()?Reflect.construct(e,n||[],Ri(t).constructor):e.apply(t,n))}function p6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function d6(t,e,n){return e&&wO(t.prototype,e),n&&wO(t,n),t}function $O(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ri(t){return Ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ri(t)}function v6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ky(t,e)}function h6(t,e){return e&&(b6(e)==="object"||typeof e=="function")?e:y6(t)}function ky(t,e){return ky=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ky(t,e)}function b6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function PO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(PO=function(){return!!t})()}var g6=function(t){v6(e,t);function e(n){p6(this,e);var o;return o=s6(this,e,[n]),$O(o,"props",void 0),o.props=new gO(n==null?void 0:n.props),o}return d6(e,null,[{key:"controlType",get:function(){return"date-picker"}}]),e}(L);$O(g6,"controlFieldType",g.TIMESTAMP);function m6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function EO(t,e,n){return e=Ii(e),O6(t,RO()?Reflect.construct(e,n||[],Ii(t).constructor):e.apply(t,n))}function SO(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Se(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ii(t){return Ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ii(t)}function TO(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Dy(t,e)}function O6(t,e){return e&&(w6(e)==="object"||typeof e=="function")?e:m6(t)}function Dy(t,e){return Dy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dy(t,e)}function w6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function RO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(RO=function(){return!!t})()}var $6=function(t){TO(e,t);function e(n){SO(this,e);var o;return o=EO(this,e,[n]),o[0]!==void 0&&(o[0].type="object"),n.required&&!n.isHide&&o.push({type:"object",fields:{max:{type:"string",required:n.required,message:o[0].message},min:{type:"string",required:n.required,message:o[0].message}}}),o}return e}(z),xy=function(t){TO(e,t);function e(n){SO(this,e);var o,r;o=EO(this,e,[n]),Se(o,"dataBind",void 0),Se(o,"rangeMin",void 0),Se(o,"rangeMax",void 0),Se(o,"placeholderStart",void 0),Se(o,"placeholderEnd",void 0),Se(o,"dateFormat",void 0),Se(o,"commonTimeSetting",void 0),Se(o,"dateType",void 0),Se(o,"setValueType",void 0),Se(o,"defaultValue",void 0),Se(o,"limitDateList",void 0),o.dataBind=new 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:xt.DATE;var u;o.dateFormat=(u=n==null?void 0:n.dateFormat)!==null&&u!==void 0?u:"";var c;o.commonTimeSetting=(c=n==null?void 0:n.commonTimeSetting)!==null&&c!==void 0?c:[];var a;o.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var l;o.rangeMin=(l=n==null?void 0:n.rangeMin)!==null&&l!==void 0?l:"";var _;o.rangeMax=(_=n==null?void 0:n.rangeMax)!==null&&_!==void 0?_:"";var s;o.placeholderStart=(s=n==null?void 0:n.placeholderStart)!==null&&s!==void 0?s:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F";var d;o.placeholderEnd=(d=n==null?void 0:n.placeholderEnd)!==null&&d!==void 0?d:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F";var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:jy.controlName;var O;return o.limitDateList=(O=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function(m){return new Zf(m)}))!==null&&O!==void 0?O:[],o}return e}(D);Se(xy,"RuntimeRules",$6);function P6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function E6(t,e,n){return e=Jt(e),I6(t,BO()?Reflect.construct(e,n||[],Jt(t).constructor):e.apply(t,n))}function S6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function IO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function T6(t,e,n){return e&&IO(t.prototype,e),n&&IO(t,n),t}function Ly(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Bi(t,e,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(t,e,n||t)}function Jt(t){return Jt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jt(t)}function R6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Fy(t,e)}function I6(t,e){return e&&(A6(e)==="object"||typeof e=="function")?e:P6(t)}function Fy(t,e){return Fy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fy(t,e)}function B6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Jt(t),t!==null););return t}function A6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function BO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(BO=function(){return!!t})()}var jy=function(t){R6(e,t);function e(n){S6(this,e);var o;return o=E6(this,e,[n]),Ly(o,"props",void 0),o.props=new xy(n==null?void 0:n.props),o}return T6(e,[{key:"toDataBindModel",value:function(o){var r=Bi(Jt(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props.dateType;r.props.dateType=i}return r}}],[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"date-range"}}]),e}(x);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(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function D6(t,e,n){return e=Ai(e),j6(t,DO()?Reflect.construct(e,n||[],Ai(t).constructor):e.apply(t,n))}function x6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function AO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function L6(t,e,n){return e&&AO(t.prototype,e),n&&AO(t,n),t}function kO(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ai(t){return Ai=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ai(t)}function F6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&My(t,e)}function j6(t,e){return e&&(M6(e)==="object"||typeof e=="function")?e:k6(t)}function My(t,e){return My=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},My(t,e)}function M6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function DO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(DO=function(){return!!t})()}var N6=function(t){F6(e,t);function e(n){x6(this,e);var o;return o=D6(this,e,[n]),kO(o,"props",void 0),o.props=new xy(n==null?void 0:n.props),o}return L6(e,null,[{key:"controlType",get:function(){return"date-range"}}]),e}(L);kO(N6,"controlFieldType",g.TIMESCOPE);function V6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ny(t,e,n){return e=ki(e),z6(t,xO()?Reflect.construct(e,n||[],ki(t).constructor):e.apply(t,n))}function Vy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ki(t){return ki=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ki(t)}function zy(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Cy(t,e)}function z6(t,e){return e&&(C6(e)==="object"||typeof e=="function")?e:V6(t)}function Cy(t,e){return Cy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cy(t,e)}function C6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xO=function(){return!!t})()}var H6=function(t){zy(e,t);function e(n){Vy(this,e);var o;return o=Ny(this,e,[n]),xe(o,"maxLength",{type:"number",min:0,message:p.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),xe(o,"minLength",{type:"number",max:1e6,message:p.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),xe(o,"defaultValue",{type:"string",max:200,min:0,message:p.getMessage("stringRangeError")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return e}(J),q6=function(t){zy(e,t);function e(n){Vy(this,e);var o;return o=Ny(this,e,[n]),o.push({type:"string",max:n.maxLength,min:n.minLength,message:p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return e}(z),Di=function(t){zy(e,t);function e(n){Vy(this,e);var o;o=Ny(this,e,[n]),xe(o,"maxLength",void 0),xe(o,"minLength",void 0),xe(o,"defaultValue",void 0),xe(o,"lineEllipsis",void 0),xe(o,"autoSize",void 0),xe(o,"maxRows",void 0);var r;o.maxLength=(r=n==null?void 0:n.maxLength)!==null&&r!==void 0?r:5e4;var i;o.minLength=(i=n==null?void 0:n.minLength)!==null&&i!==void 0?i:0;var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:"";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Fi.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var l;o.lineEllipsis=(l=n==null?void 0:n.lineEllipsis)!==null&&l!==void 0?l:4;var _;return o.autoSize=(_=n==null?void 0:n.autoSize)!==null&&_!==void 0?_:!1,o.maxRows=n==null?void 0:n.maxRows,o}return e}(D);xe(Di,"Rules",H6),xe(Di,"RuntimeRules",q6);function U6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function W6(t,e,n){return e=Li(e),Q6(t,FO()?Reflect.construct(e,n||[],Li(t).constructor):e.apply(t,n))}function K6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function LO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function G6(t,e,n){return e&&LO(t.prototype,e),n&&LO(t,n),t}function xi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Li(t){return Li=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Li(t)}function X6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hy(t,e)}function Q6(t,e){return e&&(J6(e)==="object"||typeof e=="function")?e:U6(t)}function Hy(t,e){return Hy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hy(t,e)}function J6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function FO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(FO=function(){return!!t})()}var Fi=function(t){X6(e,t);function e(n){K6(this,e);var o;return o=W6(this,e,[n]),xi(o,"props",void 0),o.props=new Di(n==null?void 0:n.props),o}return G6(e,null,[{key:"controlName",get:function(){return"\u591A\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconMultilineline_new1"}},{key:"controlType",get:function(){return"textarea"}}]),e}(x);xi(Fi,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),xi(Fi,"controlFieldType",g.TEXT),xi(Fi,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}]);function Z6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Y6(t,e,n){return e=ji(e),o4(t,NO()?Reflect.construct(e,n||[],ji(t).constructor):e.apply(t,n))}function e4(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function t4(t,e,n){return e&&jO(t.prototype,e),n&&jO(t,n),t}function MO(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ji(t){return ji=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ji(t)}function n4(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&qy(t,e)}function o4(t,e){return e&&(r4(e)==="object"||typeof e=="function")?e:Z6(t)}function qy(t,e){return qy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qy(t,e)}function r4(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function NO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(NO=function(){return!!t})()}var i4=function(t){n4(e,t);function e(n){e4(this,e);var o;return o=Y6(this,e,[n]),MO(o,"props",void 0),o.props=new Di(n==null?void 0:n.props),o}return t4(e,null,[{key:"controlType",get:function(){return"textarea"}}]),e}(L);MO(i4,"controlFieldType",g.TEXT);function u4(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Uy(t,e,n){return e=Mi(e),c4(t,VO()?Reflect.construct(e,n||[],Mi(t).constructor):e.apply(t,n))}function Wy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Mi(t){return Mi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mi(t)}function Ky(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Gy(t,e)}function c4(t,e){return e&&(l4(e)==="object"||typeof e=="function")?e:u4(t)}function Gy(t,e){return Gy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gy(t,e)}function l4(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function VO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(VO=function(){return!!t})()}var a4=function(t){Ky(e,t);function e(n){Wy(this,e);var o;return o=Uy(this,e,[n]),vt(o,"maxLength",{type:"number",min:0,message:p.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),vt(o,"minLength",{type:"number",max:1e6,message:p.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),vt(o,"defaultValue",{type:"string",max:200,min:0,message:p.getMessage("stringRangeError")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return e}(J),f4=function(t){Ky(e,t);function e(n){Wy(this,e);var o;return o=Uy(this,e,[n]),o.push({type:"string",max:n.maxLength,min:n.minLength,message:p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return e}(z),Ni=function(t){Ky(e,t);function e(n){Wy(this,e);var o;o=Uy(this,e,[n]),vt(o,"maxLength",void 0),vt(o,"minLength",void 0),vt(o,"defaultValue",void 0);var r;o.maxLength=(r=n==null?void 0:n.maxLength)!==null&&r!==void 0?r:5e4;var i;o.minLength=(i=n==null?void 0:n.minLength)!==null&&i!==void 0?i:0;var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:"";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Ci.controlName;var a;return o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165",o}return e}(D);vt(Ni,"Rules",a4),vt(Ni,"RuntimeRules",f4);function _4(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function y4(t,e,n){return e=zi(e),v4(t,CO()?Reflect.construct(e,n||[],zi(t).constructor):e.apply(t,n))}function s4(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function p4(t,e,n){return e&&zO(t.prototype,e),n&&zO(t,n),t}function Vi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zi(t){return zi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zi(t)}function d4(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xy(t,e)}function v4(t,e){return e&&(h4(e)==="object"||typeof e=="function")?e:_4(t)}function Xy(t,e){return Xy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xy(t,e)}function h4(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function CO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(CO=function(){return!!t})()}var Ci=function(t){d4(e,t);function e(n){s4(this,e);var o;return o=y4(this,e,[n]),Vi(o,"props",void 0),o.props=new Ni(n==null?void 0:n.props),o}return p4(e,null,[{key:"controlName",get:function(){return"\u5BCC\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconRichtextbox_new"}},{key:"controlType",get:function(){return"rich-text"}}]),e}(x);Vi(Ci,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Vi(Ci,"controlFieldType",g.TEXT),Vi(Ci,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}]);function b4(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function g4(t,e,n){return e=Hi(e),$4(t,UO()?Reflect.construct(e,n||[],Hi(t).constructor):e.apply(t,n))}function m4(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function HO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function O4(t,e,n){return e&&HO(t.prototype,e),n&&HO(t,n),t}function qO(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Hi(t){return Hi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hi(t)}function w4(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Qy(t,e)}function $4(t,e){return e&&(P4(e)==="object"||typeof e=="function")?e:b4(t)}function Qy(t,e){return Qy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qy(t,e)}function P4(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function UO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(UO=function(){return!!t})()}var E4=function(t){w4(e,t);function e(n){m4(this,e);var o;return o=g4(this,e,[n]),qO(o,"props",void 0),o.props=new Ni(n==null?void 0:n.props),o}return O4(e,null,[{key:"controlType",get:function(){return"rich-text"}}]),e}(L);qO(E4,"controlFieldType",g.TEXT);function S4(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function WO(t,e,n){return e=qi(e),T4(t,XO()?Reflect.construct(e,n||[],qi(t).constructor):e.apply(t,n))}function KO(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $e(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function qi(t){return qi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qi(t)}function GO(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Jy(t,e)}function T4(t,e){return e&&(R4(e)==="object"||typeof e=="function")?e:S4(t)}function Jy(t,e){return Jy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jy(t,e)}function R4(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function XO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(XO=function(){return!!t})()}var I4=function(t){GO(e,t);function e(n){KO(this,e);var o;return o=WO(this,e,[n]),$e(o,"formBind",{type:"object",fields:{formKey:{type:"string",message:p.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return e}(Vt),Zy=function(t){GO(e,t);function e(n){KO(this,e);var o;o=WO(this,e,[n]),$e(o,"options",void 0),$e(o,"defaultShowOptions",void 0),$e(o,"optionConfig",void 0),$e(o,"defaultValue",void 0),$e(o,"datasourceBind",void 0),$e(o,"multistageFilling",void 0),$e(o,"allowCopyOptions",void 0),$e(o,"openMultistageFilling",void 0),$e(o,"viewFormModelType",void 0),$e(o,"canViewForm",void 0),$e(o,"formBind",void 0);var r;o.options=Je((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:ts.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(O){var m;(m=o.multistageFilling)===null||m===void 0||m.push(new se(O))}));var d;o.canViewForm=(d=n==null?void 0:n.canViewForm)!==null&&d!==void 0?d:!1;var b;return o.viewFormModelType=(b=n==null?void 0:n.viewFormModelType)!==null&&b!==void 0?b:"window",o.formBind=new jt(n==null?void 0:n.formBind),o}return e}(D);$e(Zy,"Rules",I4);function B4(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function A4(t,e,n){return e=Ui(e),L4(t,JO()?Reflect.construct(e,n||[],Ui(t).constructor):e.apply(t,n))}function k4(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function QO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function D4(t,e,n){return e&&QO(t.prototype,e),n&&QO(t,n),t}function Yy(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ui(t){return Ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ui(t)}function x4(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&es(t,e)}function L4(t,e){return e&&(F4(e)==="object"||typeof e=="function")?e:B4(t)}function es(t,e){return es=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},es(t,e)}function F4(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function JO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(JO=function(){return!!t})()}var ts=function(t){x4(e,t);function e(n){k4(this,e);var o;return o=A4(this,e,[n]),Yy(o,"props",void 0),o.props=new Zy(n==null?void 0:n.props),o}return D4(e,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconxiala1"}},{key:"controlType",get:function(){return"select"}}]),e}(x);Yy(ts,"controlFieldType",g.VARCHAR),Yy(ts,"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(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function M4(t,e,n){return e=Wi(e),C4(t,ew()?Reflect.construct(e,n||[],Wi(t).constructor):e.apply(t,n))}function N4(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ZO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function V4(t,e,n){return e&&ZO(t.prototype,e),n&&ZO(t,n),t}function YO(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wi(t){return Wi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wi(t)}function z4(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ns(t,e)}function C4(t,e){return e&&(H4(e)==="object"||typeof e=="function")?e:j4(t)}function ns(t,e){return ns=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ns(t,e)}function H4(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ew(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ew=function(){return!!t})()}var q4=function(t){z4(e,t);function e(n){N4(this,e);var o;return o=M4(this,e,[n]),YO(o,"props",void 0),o.props=new Zy(n==null?void 0:n.props),o}return V4(e,null,[{key:"controlType",get:function(){return"select"}}]),e}(L);YO(q4,"controlFieldType",g.VARCHAR);function U4(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function os(t,e,n){return e=Ki(e),W4(t,tw()?Reflect.construct(e,n||[],Ki(t).constructor):e.apply(t,n))}function rs(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ki(t){return Ki=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ki(t)}function is(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&us(t,e)}function W4(t,e){return e&&(K4(e)==="object"||typeof e=="function")?e:U4(t)}function us(t,e){return us=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},us(t,e)}function K4(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tw=function(){return!!t})()}var G4=function(t){is(e,t);function e(n){rs(this,e);var o;return o=os(this,e,[n]),Pe(o,"formBind",{type:"object",fields:{formKey:{type:"string",message:p.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return e}(Vt),X4=function(t){is(e,t);function e(n){rs(this,e);var o;return o=os(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(z),Gi=function(t){is(e,t);function e(n){rs(this,e);var o;o=os(this,e,[n]),Pe(o,"options",void 0),Pe(o,"defaultShowOptions",void 0),Pe(o,"optionConfig",void 0),Pe(o,"defaultValue",void 0),Pe(o,"datasourceBind",void 0),Pe(o,"multistageFilling",void 0),Pe(o,"openMultistageFilling",void 0),Pe(o,"viewFormModelType",void 0),Pe(o,"canViewForm",void 0),Pe(o,"formBind",void 0);var r;o.options=Je((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 O;(O=o.multistageFilling)===null||O===void 0||O.push(new se(b))}));var s;o.canViewForm=(s=n==null?void 0:n.canViewForm)!==null&&s!==void 0?s:!1;var d;return o.viewFormModelType=(d=n==null?void 0:n.viewFormModelType)!==null&&d!==void 0?d:"window",o.formBind=new jt(n==null?void 0:n.formBind),o}return e}(D);Pe(Gi,"Rules",G4),Pe(Gi,"RuntimeRules",X4);function Q4(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function J4(t,e,n){return e=Xi(e),t7(t,ow()?Reflect.construct(e,n||[],Xi(t).constructor):e.apply(t,n))}function Z4(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Y4(t,e,n){return e&&nw(t.prototype,e),n&&nw(t,n),t}function cs(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xi(t){return Xi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xi(t)}function e7(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ls(t,e)}function t7(t,e){return e&&(n7(e)==="object"||typeof e=="function")?e:Q4(t)}function ls(t,e){return ls=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ls(t,e)}function n7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ow(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ow=function(){return!!t})()}var as=function(t){e7(e,t);function e(n){Z4(this,e);var o;return o=J4(this,e,[n]),cs(o,"props",void 0),o.props=new Gi(n==null?void 0:n.props),o}return Y4(e,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconxialaduoxuan"}},{key:"controlType",get:function(){return"select-multiple"}}]),e}(x);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(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function r7(t,e,n){return e=Qi(e),l7(t,uw()?Reflect.construct(e,n||[],Qi(t).constructor):e.apply(t,n))}function i7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function u7(t,e,n){return e&&rw(t.prototype,e),n&&rw(t,n),t}function iw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Qi(t){return Qi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qi(t)}function c7(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fs(t,e)}function l7(t,e){return e&&(a7(e)==="object"||typeof e=="function")?e:o7(t)}function fs(t,e){return fs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fs(t,e)}function a7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function uw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(uw=function(){return!!t})()}var f7=function(t){c7(e,t);function e(n){i7(this,e);var o;return o=r7(this,e,[n]),iw(o,"props",void 0),o.props=new Gi(n==null?void 0:n.props),o}return u7(e,null,[{key:"controlType",get:function(){return"select-multiple"}}]),e}(L);iw(f7,"controlFieldType",g.ARRAY);function _7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cw(t,e,n){return e=Ji(e),y7(t,fw()?Reflect.construct(e,n||[],Ji(t).constructor):e.apply(t,n))}function lw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function et(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ji(t){return Ji=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ji(t)}function aw(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_s(t,e)}function y7(t,e){return e&&(s7(e)==="object"||typeof e=="function")?e:_7(t)}function _s(t,e){return _s=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_s(t,e)}function s7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(fw=function(){return!!t})()}var p7=function(t){aw(e,t);function e(n){lw(this,e);var o;return o=cw(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(z),ys=function(t){aw(e,t);function e(n){lw(this,e);var o;o=cw(this,e,[n]),et(o,"showType",void 0),et(o,"range",void 0),et(o,"rangeOptions",void 0),et(o,"multiple",void 0),et(o,"defaultValueType",void 0),et(o,"defaultValue",void 0),et(o,"multistageFilling",void 0),et(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.range=(i=n==null?void 0:n.range)!==null&&i!==void 0?i:"all";var u;o.rangeOptions=(u=n==null?void 0:n.rangeOptions)!==null&&u!==void 0?u:[];var c;o.multiple=(c=n==null?void 0:n.multiple)!==null&&c!==void 0?c:!1;var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_: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 d;return o.openMultistageFilling=(d=n==null?void 0:n.openMultistageFilling)!==null&&d!==void 0?d:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(b){var O;(O=o.multistageFilling)===null||O===void 0||O.push(new se(b))})),o}return e}(D);et(ys,"RuntimeRules",p7);function d7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function v7(t,e,n){return e=Zi(e),m7(t,yw()?Reflect.construct(e,n||[],Zi(t).constructor):e.apply(t,n))}function h7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _w(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function b7(t,e,n){return e&&_w(t.prototype,e),n&&_w(t,n),t}function ss(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Zi(t){return Zi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zi(t)}function g7(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ps(t,e)}function m7(t,e){return e&&(O7(e)==="object"||typeof e=="function")?e:d7(t)}function ps(t,e){return ps=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ps(t,e)}function O7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function yw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(yw=function(){return!!t})()}var ds=function(t){g7(e,t);function e(n){h7(this,e);var o;return o=v7(this,e,[n]),ss(o,"props",void 0),o.props=new ys(n==null?void 0:n.props),o}return b7(e,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),e}(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(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $7(t,e,n){return e=Yi(e),T7(t,dw()?Reflect.construct(e,n||[],Yi(t).constructor):e.apply(t,n))}function P7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function E7(t,e,n){return e&&sw(t.prototype,e),n&&sw(t,n),t}function pw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yi(t){return Yi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yi(t)}function S7(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&vs(t,e)}function T7(t,e){return e&&(R7(e)==="object"||typeof e=="function")?e:w7(t)}function vs(t,e){return vs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vs(t,e)}function R7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function dw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(dw=function(){return!!t})()}var I7=function(t){S7(e,t);function e(n){P7(this,e);var o;return o=$7(this,e,[n]),pw(o,"props",void 0),o.props=new ys(n==null?void 0:n.props),o}return E7(e,null,[{key:"controlType",get:function(){return"employee"}}]),e}(L);pw(I7,"controlFieldType",g.EMPLOYEES);function B7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hs(t,e,n){return e=eu(e),A7(t,vw()?Reflect.construct(e,n||[],eu(t).constructor):e.apply(t,n))}function bs(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function he(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function eu(t){return eu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},eu(t)}function gs(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ms(t,e)}function A7(t,e){return e&&(k7(e)==="object"||typeof e=="function")?e:B7(t)}function ms(t,e){return ms=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ms(t,e)}function k7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function vw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(vw=function(){return!!t})()}var D7=10485760,x7=104857600,L7=1048576e3,F7=function(t){gs(e,t);function e(n){bs(this,e);var o;return o=hs(this,e,[n]),he(o,"maxSize",{type:"number",min:0,max:L7,message:p.getMessage("attachmentMaxSize")}),o}return e}(J),j7=function(t){gs(e,t);function e(n){bs(this,e);var o;return o=hs(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o.push({type:"array",max:n.maxLimit,min:n.minLimit,message:p.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),o}return e}(z),ao=function(t){gs(e,t);function e(n){bs(this,e);var o;o=hs(this,e,[n]),he(o,"defaultValue",void 0),he(o,"showType",void 0),he(o,"resultShowType",void 0),he(o,"attachmentAccept",void 0),he(o,"maxLimit",void 0),he(o,"minLimit",void 0),he(o,"isShowWatermark",void 0),he(o,"watermarkFx",void 0),he(o,"maxSize",void 0),he(o,"forbidDownload",void 0),he(o,"accessControl",void 0);var r;o.defaultValue=(r=n==null?void 0:n.defaultValue)!==null&&r!==void 0?r:[];var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.resultShowType=(u=n==null?void 0:n.resultShowType)!==null&&u!==void 0?u:"simple";var c;o.attachmentAccept=(c=n==null?void 0:n.attachmentAccept)!==null&&c!==void 0?c:[];var a;o.maxLimit=(a=n==null?void 0:n.maxLimit)!==null&&a!==void 0?a:10;var l;o.minLimit=(l=n==null?void 0:n.minLimit)!==null&&l!==void 0?l:0;var _;o.maxSize=(_=n==null?void 0:n.maxSize)!==null&&_!==void 0?_:x7;var s;o.caption=(s=n==null?void 0:n.caption)!==null&&s!==void 0?s:fo.controlName;var d;o.placeholder=(d=n==null?void 0:n.placeholder)!==null&&d!==void 0?d:"\u4E0A\u4F20\u9644\u4EF6";var b;o.isShowWatermark=(b=n==null?void 0:n.isShowWatermark)!==null&&b!==void 0?b:!1;var O;o.watermarkFx=(O=n==null?void 0:n.watermarkFx)!==null&&O!==void 0?O:{};var m;o.forbidDownload=(m=n==null?void 0:n.forbidDownload)!==null&&m!==void 0?m:!1;var w;return o.accessControl=(w=n==null?void 0:n.accessControl)!==null&&w!==void 0?w:!1,o}return e}(D);he(ao,"Rules",F7),he(ao,"RuntimeRules",j7);function M7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function N7(t,e,n){return e=Zt(e),H7(t,bw()?Reflect.construct(e,n||[],Zt(t).constructor):e.apply(t,n))}function V7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function z7(t,e,n){return e&&hw(t.prototype,e),n&&hw(t,n),t}function tu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function nu(t,e,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(t,e,n||t)}function Zt(t){return Zt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zt(t)}function C7(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Os(t,e)}function H7(t,e){return e&&(U7(e)==="object"||typeof e=="function")?e:M7(t)}function Os(t,e){return Os=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Os(t,e)}function q7(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Zt(t),t!==null););return t}function U7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function bw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(bw=function(){return!!t})()}var fo=function(t){C7(e,t);function e(n){V7(this,e);var o;return o=N7(this,e,[n]),tu(o,"props",void 0),o.props=new ao(n==null?void 0:n.props),o}return z7(e,[{key:"toDataBindModel",value:function(o){var r=nu(Zt(e.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"}}]),e}(x);tu(fo,"controlEventKeys",["on_change"]),tu(fo,"controlFieldType",g.FILE),tu(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(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function K7(t,e,n){return e=ou(e),J7(t,Ow()?Reflect.construct(e,n||[],ou(t).constructor):e.apply(t,n))}function G7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function X7(t,e,n){return e&&gw(t.prototype,e),n&&gw(t,n),t}function mw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ou(t){return ou=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ou(t)}function Q7(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ws(t,e)}function J7(t,e){return e&&(Z7(e)==="object"||typeof e=="function")?e:W7(t)}function ws(t,e){return ws=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ws(t,e)}function Z7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ow(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ow=function(){return!!t})()}var Y7=function(t){Q7(e,t);function e(n){G7(this,e);var o;return o=K7(this,e,[n]),mw(o,"props",void 0),o.props=new ao(n==null?void 0:n.props),o}return X7(e,null,[{key:"controlType",get:function(){return"attachment"}}]),e}(L);mw(Y7,"controlFieldType",g.FILE);function e9(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function t9(t,e,n){return e=ru(e),i9(t,ww()?Reflect.construct(e,n||[],ru(t).constructor):e.apply(t,n))}function n9(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o9(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ru(t){return ru=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ru(t)}function r9(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$s(t,e)}function i9(t,e){return e&&(u9(e)==="object"||typeof e=="function")?e:e9(t)}function $s(t,e){return $s=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$s(t,e)}function u9(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ww(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ww=function(){return!!t})()}var c9=function(t){r9(e,t);function e(n){n9(this,e);var o;o=t9(this,e,[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 e}(ao);function l9(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function a9(t,e,n){return e=iu(e),s9(t,Pw()?Reflect.construct(e,n||[],iu(t).constructor):e.apply(t,n))}function f9(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $w(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function _9(t,e,n){return e&&$w(t.prototype,e),n&&$w(t,n),t}function Ps(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function iu(t){return iu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},iu(t)}function y9(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Es(t,e)}function s9(t,e){return e&&(p9(e)==="object"||typeof e=="function")?e:l9(t)}function Es(t,e){return Es=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Es(t,e)}function p9(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Pw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Pw=function(){return!!t})()}var Ew=function(t){y9(e,t);function e(n){f9(this,e);var o,r,i;o=a9(this,e,[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:e.controlName;var c;return o.props.placeholder=(c=n==null||(i=n.props)===null||i===void 0?void 0:i.placeholder)!==null&&c!==void 0?c:"\u4E0A\u4F20\u56FE\u7247",o}return _9(e,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),e}(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(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ss(t,e,n){return e=uu(e),g9(t,Sw()?Reflect.construct(e,n||[],uu(t).constructor):e.apply(t,n))}function Ts(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function le(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function uu(t){return uu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},uu(t)}function Rs(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Is(t,e)}function v9(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){le(t,r,n[r])})}return t}function h9(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,o)}return n}function b9(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):h9(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function g9(t,e){return e&&(m9(e)==="object"||typeof e=="function")?e:d9(t)}function Is(t,e){return Is=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Is(t,e)}function m9(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Sw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Sw=function(){return!!t})()}var O9=function(t){Rs(e,t);function e(n){Ts(this,e);var o;o=Ss(this,e,[n]),le(o,"defaultValue",{type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:p.getMessage("pleaseEnterNumberRange")}]}}),le(o,"rangeMax",{type:"any"});var r=n.rangeMax===""?void 0:n.rangeMax,i=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue.fields.amount[0].max=r,o.defaultValue.fields.amount[0].min=i,o.defaultValue.fields.amount[0].message=p.getMessage("pleaseEnterNumberRange",{max:r,min:i}),i&&r!==void 0&&(o.rangeMax={type:"number",min:i,message:p.getMessage("numberRangeSetError")}),o}return e}(Vt),w9=function(t){Rs(e,t);function e(n){Ts(this,e);var o;o=Ss(this,e,[n]),o[0]!==void 0&&(o[0].type="object");var r=n.rangeMax===""?void 0:n.rangeMax,i=n.rangeMin===""?void 0:n.rangeMin;return o.push({type:"object",fields:{amount:[b9(v9({},o[0]),{type:"number"}),{type:"number",min:i,max:r,message:p.getMessage(r===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:r,min:i})}],currency:{type:"string"}}}),o}return e}(z),cu=function(t){Rs(e,t);function e(n){Ts(this,e);var o;o=Ss(this,e,[n]),le(o,"rangeMin",void 0),le(o,"rangeMax",void 0),le(o,"showUpperCase",void 0),le(o,"submitSelectCurrency",void 0),le(o,"micrometer",void 0),le(o,"precision",void 0),le(o,"optionConfig",void 0),le(o,"dataBind",void 0),le(o,"datasourceBind",void 0),le(o,"defaultValue",void 0),le(o,"options",void 0);var r;o.rangeMin=(r=n==null?void 0:n.rangeMin)!==null&&r!==void 0?r:"";var i;o.rangeMax=(i=n==null?void 0:n.rangeMax)!==null&&i!==void 0?i:"";var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"datasource";var c;o.micrometer=(c=n==null?void 0:n.micrometer)!==null&&c!==void 0?c:!1;var a;o.precision=(a=n==null?void 0:n.precision)!==null&&a!==void 0?a:2,o.dataBind=new 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=Je(n==null?void 0:n.options);var s;o.caption=(s=n==null?void 0:n.caption)!==null&&s!==void 0?s:fu.controlName;var d;o.placeholder=(d=n==null?void 0:n.placeholder)!==null&&d!==void 0?d:"\u8BF7\u8F93\u5165";var b;o.submitSelectCurrency=(b=n==null?void 0:n.submitSelectCurrency)!==null&&b!==void 0?b:!1;var O;return o.showUpperCase=(O=n==null?void 0:n.showUpperCase)!==null&&O!==void 0?O:!1,o}return e}(D);le(cu,"Rules",O9),le(cu,"RuntimeRules",w9);function $9(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function P9(t,e,n){return e=Yt(e),R9(t,Rw()?Reflect.construct(e,n||[],Yt(t).constructor):e.apply(t,n))}function E9(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Tw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function S9(t,e,n){return e&&Tw(t.prototype,e),n&&Tw(t,n),t}function lu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function au(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?au=Reflect.get:au=function(r,i,u){var c=I9(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},au(t,e,n||t)}function Yt(t){return Yt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yt(t)}function T9(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Bs(t,e)}function R9(t,e){return e&&(B9(e)==="object"||typeof e=="function")?e:$9(t)}function Bs(t,e){return Bs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bs(t,e)}function I9(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Yt(t),t!==null););return t}function B9(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Rw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Rw=function(){return!!t})()}var fu=function(t){T9(e,t);function e(n){E9(this,e);var o;return o=P9(this,e,[n]),lu(o,"props",void 0),o.props=new cu(n==null?void 0:n.props),o}return S9(e,[{key:"toDataBindModel",value:function(o){var r=au(Yt(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.precision,c=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=c}return r}}],[{key:"controlName",get:function(){return"\u91D1\u989D"}},{key:"controlType",get:function(){return"amount"}},{key:"controlIcon",get:function(){return"iconjine"}}]),e}(x);lu(fu,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),lu(fu,"controlFieldType",g.MONEY),lu(fu,"setting",[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.SUBMIT_SELECT_CURRENCY,f.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[f.SHOW_UPPER_CASE,f.MICROMETER,f.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function A9(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function k9(t,e,n){return e=_u(e),F9(t,Aw()?Reflect.construct(e,n||[],_u(t).constructor):e.apply(t,n))}function D9(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Iw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function x9(t,e,n){return e&&Iw(t.prototype,e),n&&Iw(t,n),t}function Bw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _u(t){return _u=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_u(t)}function L9(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&As(t,e)}function F9(t,e){return e&&(j9(e)==="object"||typeof e=="function")?e:A9(t)}function As(t,e){return As=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},As(t,e)}function j9(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Aw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Aw=function(){return!!t})()}var M9=function(t){L9(e,t);function e(n){D9(this,e);var o;return o=k9(this,e,[n]),Bw(o,"props",void 0),o.props=new cu(n==null?void 0:n.props),o}return x9(e,null,[{key:"controlType",get:function(){return"amount"}}]),e}(L);Bw(M9,"controlFieldType",g.MONEY);function N9(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ks(t,e,n){return e=yu(e),V9(t,kw()?Reflect.construct(e,n||[],yu(t).constructor):e.apply(t,n))}function Ds(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function tt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yu(t){return yu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yu(t)}function xs(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ls(t,e)}function V9(t,e){return e&&(z9(e)==="object"||typeof e=="function")?e:N9(t)}function Ls(t,e){return Ls=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ls(t,e)}function z9(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function kw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(kw=function(){return!!t})()}var C9=function(t){xs(e,t);function e(n){Ds(this,e);var o;return o=ks(this,e,[n]),tt(o,"totalScore",[{type:"number",required:!0,message:p.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:p.getMessage("theTotalScoreMustNotBeLessThan1")}]),tt(o,"defaultValue",{type:"number",min:0,max:5,message:p.getMessage("scoreDefaultValueRange")}),o.defaultValue.max=n.totalScore,o.defaultValue.message=p.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:0}),o}return e}(J),H9=function(t){xs(e,t);function e(n){Ds(this,e);var o;o=ks(this,e,[n]),o[0]!==void 0&&(o[0].type="number");var r=n.required?1:0;return o.push({type:"number",min:r,max:n.totalScore,message:p.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:r})}),o}return e}(z),su=function(t){xs(e,t);function e(n){Ds(this,e);var o,r;o=ks(this,e,[n]),tt(o,"totalScore",void 0),tt(o,"scoreType",void 0),tt(o,"isShowExplain",void 0),tt(o,"explain",void 0),tt(o,"defaultValue",void 0);var i;o.totalScore=(i=n==null?void 0:n.totalScore)!==null&&i!==void 0?i:5;var u;o.scoreType=(u=n==null?void 0:n.scoreType)!==null&&u!==void 0?u: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 e}(D);tt(su,"Rules",C9),tt(su,"RuntimeRules",H9);function Fs(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function q9(t){if(Array.isArray(t))return Fs(t)}function U9(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function W9(t,e,n){return e=en(e),Z9(t,xw()?Reflect.construct(e,n||[],en(t).constructor):e.apply(t,n))}function K9(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function G9(t,e,n){return e&&Dw(t.prototype,e),n&&Dw(t,n),t}function pu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function du(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?du=Reflect.get:du=function(r,i,u){var c=Y9(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},du(t,e,n||t)}function en(t){return en=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},en(t)}function X9(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&js(t,e)}function Q9(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}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(t,e){return e&&(t8(e)==="object"||typeof e=="function")?e:U9(t)}function js(t,e){return js=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},js(t,e)}function Y9(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=en(t),t!==null););return t}function e8(t){return q9(t)||Q9(t)||n8(t)||J9()}function t8(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function n8(t,e){if(!!t){if(typeof t=="string")return Fs(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Fs(t,e)}}function xw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xw=function(){return!!t})()}var vu=function(t){X9(e,t);function e(n){K9(this,e);var o;return o=W9(this,e,[n]),pu(o,"props",void 0),o.props=new su(n==null?void 0:n.props),o}return G9(e,[{key:"postUpdate",value:function(o,r){if(o==="totalScore"){if(r===this.props.explain.length)return;if(this.props.explain.length>r)this.props.explain=this.props.explain.slice(0,r);else{var i,u=r-this.props.explain.length,c=Array(u).fill(void 0).map(function(){return new Yf});(i=this.props.explain).push.apply(i,e8(c))}}du(en(e.prototype),"postUpdate",this).call(this,o,r)}}],[{key:"controlName",get:function(){return"\u8BC4\u5206"}},{key:"controlIcon",get:function(){return"iconpingfen"}},{key:"controlType",get:function(){return"score"}}]),e}(x);pu(vu,"controlEventKeys",["on_change","on_click"]),pu(vu,"controlFieldType",g.DECIMAL),pu(vu,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function o8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function r8(t,e,n){return e=hu(e),l8(t,jw()?Reflect.construct(e,n||[],hu(t).constructor):e.apply(t,n))}function i8(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Lw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function u8(t,e,n){return e&&Lw(t.prototype,e),n&&Lw(t,n),t}function Fw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function hu(t){return hu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hu(t)}function c8(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ms(t,e)}function l8(t,e){return e&&(a8(e)==="object"||typeof e=="function")?e:o8(t)}function Ms(t,e){return Ms=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ms(t,e)}function a8(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function jw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(jw=function(){return!!t})()}var f8=function(t){c8(e,t);function e(n){i8(this,e);var o;return o=r8(this,e,[n]),Fw(o,"props",void 0),o.props=new su(n==null?void 0:n.props),o}return u8(e,null,[{key:"controlType",get:function(){return"score"}}]),e}(L);Fw(f8,"controlFieldType",g.DECIMAL);function _8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Mw(t,e,n){return e=gu(e),y8(t,zw()?Reflect.construct(e,n||[],gu(t).constructor):e.apply(t,n))}function Nw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gu(t){return gu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gu(t)}function Vw(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ns(t,e)}function y8(t,e){return e&&(s8(e)==="object"||typeof e=="function")?e:_8(t)}function Ns(t,e){return Ns=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ns(t,e)}function s8(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function zw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zw=function(){return!!t})()}var p8=function(t){Vw(e,t);function e(n){Nw(this,e);var o;if(o=Mw(this,e,[n]),o[0]!==void 0&&(o[0].type="object"),n.required&&!n.isHide){var r={type:"object",fields:{province:{type:"string",required:n.required,message:p.getMessage("pleaseSelectProvince")}}};n.addressType.includes("city")&&(r.fields.city={type:"string",required:n.required,message:p.getMessage("pleaseSelectCity")}),n.addressType.includes("district")&&(r.fields.district={type:"string",required:n.required,message:p.getMessage("pleaseSelectDistrict")}),o.push(r)}return o}return e}(z),Vs=function(t){Vw(e,t);function e(n){Nw(this,e);var o;o=Mw(this,e,[n]),bu(o,"defaultValueType",void 0),bu(o,"defaultValue",void 0),bu(o,"addressType",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Hs.controlName;var i;o.defaultValueType=(i=n==null?void 0:n.defaultValueType)!==null&&i!==void 0?i:"default";var u;o.addressType=(u=n==null?void 0:n.addressType)!==null&&u!==void 0?u:["province","city","district"];var c;o.defaultValue=new _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 e}(D);bu(Vs,"RuntimeRules",p8);function d8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function v8(t,e,n){return e=mu(e),m8(t,Hw()?Reflect.construct(e,n||[],mu(t).constructor):e.apply(t,n))}function h8(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Cw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function b8(t,e,n){return e&&Cw(t.prototype,e),n&&Cw(t,n),t}function zs(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function mu(t){return mu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mu(t)}function g8(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Cs(t,e)}function m8(t,e){return e&&(O8(e)==="object"||typeof e=="function")?e:d8(t)}function Cs(t,e){return Cs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cs(t,e)}function O8(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Hw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Hw=function(){return!!t})()}var Hs=function(t){g8(e,t);function e(n){h8(this,e);var o;return o=v8(this,e,[n]),zs(o,"props",void 0),o.props=new Vs(n==null?void 0:n.props),o}return b8(e,null,[{key:"controlName",get:function(){return"\u5730\u5740"}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),e}(x);zs(Hs,"controlFieldType",g.ADDRESS),zs(Hs,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function w8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $8(t,e,n){return e=Ou(e),T8(t,Ww()?Reflect.construct(e,n||[],Ou(t).constructor):e.apply(t,n))}function P8(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function E8(t,e,n){return e&&qw(t.prototype,e),n&&qw(t,n),t}function Uw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ou(t){return Ou=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ou(t)}function S8(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&qs(t,e)}function T8(t,e){return e&&(R8(e)==="object"||typeof e=="function")?e:w8(t)}function qs(t,e){return qs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qs(t,e)}function R8(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ww(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ww=function(){return!!t})()}var I8=function(t){S8(e,t);function e(n){P8(this,e);var o;return o=$8(this,e,[n]),Uw(o,"props",void 0),o.props=new Vs(n==null?void 0:n.props),o}return E8(e,null,[{key:"controlName",get:function(){return"\u7701\u5E02\u533A"}},{key:"controlIcon",get:function(){return"iconicon_site_management11"}},{key:"controlType",get:function(){return"address"}}]),e}(L);Uw(I8,"controlFieldType",g.ADDRESS);function B8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Kw(t,e,n){return e=wu(e),A8(t,Qw()?Reflect.construct(e,n||[],wu(t).constructor):e.apply(t,n))}function Gw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Le(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function wu(t){return wu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wu(t)}function Xw(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Us(t,e)}function A8(t,e){return e&&(k8(e)==="object"||typeof e=="function")?e:B8(t)}function Us(t,e){return Us=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Us(t,e)}function k8(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Qw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Qw=function(){return!!t})()}var D8=function(t){Xw(e,t);function e(n){Gw(this,e);var o;return o=Kw(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(z),Ws=function(t){Xw(e,t);function e(n){Gw(this,e);var o;o=Kw(this,e,[n]),Le(o,"showType",void 0),Le(o,"range",void 0),Le(o,"defaultValueType",void 0),Le(o,"multiple",void 0),Le(o,"rangeOptions",void 0),Le(o,"defaultValue",void 0),Le(o,"displayLevel",void 0),Le(o,"showSubDept",void 0),Le(o,"multistageFilling",void 0),Le(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1;var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var c;o.defaultValueType=(c=n==null?void 0:n.defaultValueType)!==null&&c!==void 0?c:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var s;o.showSubDept=(s=n==null?void 0:n.showSubDept)!==null&&s!==void 0?s:!0;var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:Eu.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u8BF7\u9009\u62E9\u90E8\u95E8";var O;return o.openMultistageFilling=(O=n==null?void 0:n.openMultistageFilling)!==null&&O!==void 0?O:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(m){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new se(m))})),o}return e}(D);Le(Ws,"RuntimeRules",D8);function x8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function L8(t,e,n){return e=tn(e),N8(t,Zw()?Reflect.construct(e,n||[],tn(t).constructor):e.apply(t,n))}function F8(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function j8(t,e,n){return e&&Jw(t.prototype,e),n&&Jw(t,n),t}function $u(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Pu(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Pu=Reflect.get:Pu=function(r,i,u){var c=V8(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Pu(t,e,n||t)}function tn(t){return tn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tn(t)}function M8(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ks(t,e)}function N8(t,e){return e&&(z8(e)==="object"||typeof e=="function")?e:x8(t)}function Ks(t,e){return Ks=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ks(t,e)}function V8(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=tn(t),t!==null););return t}function z8(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Zw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Zw=function(){return!!t})()}var Eu=function(t){M8(e,t);function e(n){F8(this,e);var o;return o=L8(this,e,[n]),$u(o,"props",void 0),o.props=new Ws(n==null?void 0:n.props),o}return j8(e,[{key:"toDataBindModel",value:function(o){var r=Pu(tn(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.displayLevel,c=i.showSubDept;r.props.displayLevel=u,r.props.showSubDept=c}return r}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),e}(x);$u(Eu,"controlName","\u90E8\u95E8"),$u(Eu,"controlFieldType",g.DEPARTMENTS),$u(Eu,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.MULTIPLE,f.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function C8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function H8(t,e,n){return e=Su(e),K8(t,t$()?Reflect.construct(e,n||[],Su(t).constructor):e.apply(t,n))}function q8(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function U8(t,e,n){return e&&Yw(t.prototype,e),n&&Yw(t,n),t}function e$(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Su(t){return Su=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Su(t)}function W8(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Gs(t,e)}function K8(t,e){return e&&(G8(e)==="object"||typeof e=="function")?e:C8(t)}function Gs(t,e){return Gs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gs(t,e)}function G8(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function t$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(t$=function(){return!!t})()}var X8=function(t){W8(e,t);function e(n){q8(this,e);var o;return o=H8(this,e,[n]),e$(o,"props",void 0),o.props=new Ws(n==null?void 0:n.props),o}return U8(e,null,[{key:"controlType",get:function(){return"department"}}]),e}(L);e$(X8,"controlFieldType",g.DEPARTMENTS);function Q8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function J8(t,e,n){return e=Tu(e),tV(t,n$()?Reflect.construct(e,n||[],Tu(t).constructor):e.apply(t,n))}function Z8(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Y8(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Tu(t){return Tu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tu(t)}function eV(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xs(t,e)}function tV(t,e){return e&&(nV(e)==="object"||typeof e=="function")?e:Q8(t)}function Xs(t,e){return Xs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xs(t,e)}function nV(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function n$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(n$=function(){return!!t})()}var o$=function(t){eV(e,t);function e(n){Z8(this,e);var o;o=J8(this,e,[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 e}(D);function oV(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rV(t,e,n){return e=Iu(e),lV(t,i$()?Reflect.construct(e,n||[],Iu(t).constructor):e.apply(t,n))}function iV(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function uV(t,e,n){return e&&r$(t.prototype,e),n&&r$(t,n),t}function Ru(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Iu(t){return Iu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Iu(t)}function cV(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Qs(t,e)}function lV(t,e){return e&&(aV(e)==="object"||typeof e=="function")?e:oV(t)}function Qs(t,e){return Qs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qs(t,e)}function aV(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function i$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(i$=function(){return!!t})()}var Bu=function(t){cV(e,t);function e(n){iV(this,e);var o;return o=rV(this,e,[n]),Ru(o,"props",void 0),o.props=new o$(n==null?void 0:n.props),o}return uV(e,null,[{key:"controlName",get:function(){return"\u81EA\u52A8\u7F16\u53F7"}},{key:"controlIcon",get:function(){return"iconnumber_new"}},{key:"controlType",get:function(){return"auto-number"}}]),e}(x);Ru(Bu,"controlEventKeys",["on_change"]),Ru(Bu,"controlFieldType",g.AUTO_NUMBER),Ru(Bu,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function fV(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _V(t,e,n){return e=Au(e),dV(t,l$()?Reflect.construct(e,n||[],Au(t).constructor):e.apply(t,n))}function yV(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function sV(t,e,n){return e&&u$(t.prototype,e),n&&u$(t,n),t}function c$(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Au(t){return Au=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Au(t)}function pV(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Js(t,e)}function dV(t,e){return e&&(vV(e)==="object"||typeof e=="function")?e:fV(t)}function Js(t,e){return Js=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Js(t,e)}function vV(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function l$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(l$=function(){return!!t})()}var hV=function(t){pV(e,t);function e(n){yV(this,e);var o;return o=_V(this,e,[n]),c$(o,"props",void 0),o.props=new o$(n==null?void 0:n.props),o}return sV(e,null,[{key:"controlType",get:function(){return"auto-number"}}]),e}(L);c$(hV,"controlFieldType",g.AUTO_NUMBER);function bV(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Zs(t,e,n){return e=ku(e),gV(t,a$()?Reflect.construct(e,n||[],ku(t).constructor):e.apply(t,n))}function Ys(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function He(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ku(t){return ku=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ku(t)}function ep(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&tp(t,e)}function gV(t,e){return e&&(mV(e)==="object"||typeof e=="function")?e:bV(t)}function tp(t,e){return tp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},tp(t,e)}function mV(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function a$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(a$=function(){return!!t})()}var OV=function(t){ep(e,t);function e(n){Ys(this,e);var o;return o=Zs(this,e,[n]),o.dataBind.fields.result.required=!1,o.dataBind.fields.result.fields.fieldCode.required=!1,o.dataBind.fields.result.fields.dataCode.required=!1,o.dataBind.fields.unit.required=!1,o.dataBind.fields.unit.fields.fieldCode.required=!1,o.dataBind.fields.unit.fields.dataCode.required=!1,o}return e}(J),wV=function(t){ep(e,t);function e(n){Ys(this,e);var o;return o=Zs(this,e,[n]),o[0]!==void 0&&(o[0].type="object"),o.push({type:"object",message:p.getMessage("isNotObject"),fields:{result:[{type:"number",message:p.getMessage("isNotNumber")}],unit:{type:"string",message:p.getMessage("isNotString")}}}),o}return e}(z),Du=function(t){ep(e,t);function e(n){Ys(this,e);var o;o=Zs(this,e,[n]),He(o,"precision",void 0),He(o,"micrometer",void 0),He(o,"showUpperCase",void 0),He(o,"scriptSrc",void 0),He(o,"scriptEcho",void 0),He(o,"dataBind",void 0),He(o,"defaultValue",void 0),He(o,"calcOnMounted",void 0);var r;o.precision=(r=n==null?void 0:n.precision)!==null&&r!==void 0?r:0;var i;o.micrometer=(i=n==null?void 0:n.micrometer)!==null&&i!==void 0?i:!1;var u;o.showUpperCase=(u=n==null?void 0:n.showUpperCase)!==null&&u!==void 0?u:!1,o.dataBind=new 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 e}(D);He(Du,"Rules",OV),He(Du,"RuntimeRules",wV);function $V(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function PV(t,e,n){return e=nn(e),RV(t,_$()?Reflect.construct(e,n||[],nn(t).constructor):e.apply(t,n))}function EV(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function SV(t,e,n){return e&&f$(t.prototype,e),n&&f$(t,n),t}function xu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Lu(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Lu=Reflect.get:Lu=function(r,i,u){var c=IV(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Lu(t,e,n||t)}function nn(t){return nn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nn(t)}function TV(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&np(t,e)}function RV(t,e){return e&&(BV(e)==="object"||typeof e=="function")?e:$V(t)}function np(t,e){return np=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},np(t,e)}function IV(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=nn(t),t!==null););return t}function BV(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_$=function(){return!!t})()}var Fu=function(t){TV(e,t);function e(n){EV(this,e);var o;return o=PV(this,e,[n]),xu(o,"props",void 0),o.props=new Du(n==null?void 0:n.props),o}return SV(e,[{key:"toDataBindModel",value:function(o){var r=Lu(nn(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.precision,c=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=c}return r}}],[{key:"controlName",get:function(){return"\u8BA1\u7B97\u516C\u5F0F"}},{key:"controlType",get:function(){return"calc"}},{key:"controlIcon",get:function(){return"iconcalculation_new"}}]),e}(x);xu(Fu,"controlEventKeys",["on_change"]),xu(Fu,"controlFieldType",g.CALC),xu(Fu,"setting",[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"calc-on-mounted",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[f.SHOW_UPPER_CASE,f.MICROMETER,f.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function AV(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kV(t,e,n){return e=ju(e),FV(t,p$()?Reflect.construct(e,n||[],ju(t).constructor):e.apply(t,n))}function DV(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function xV(t,e,n){return e&&y$(t.prototype,e),n&&y$(t,n),t}function s$(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ju(t){return ju=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ju(t)}function LV(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&op(t,e)}function FV(t,e){return e&&(jV(e)==="object"||typeof e=="function")?e:AV(t)}function op(t,e){return op=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},op(t,e)}function jV(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function p$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(p$=function(){return!!t})()}var MV=function(t){LV(e,t);function e(n){DV(this,e);var o;return o=kV(this,e,[n]),s$(o,"props",void 0),o.props=new Du(n==null?void 0:n.props),o}return xV(e,null,[{key:"controlType",get:function(){return"calc"}}]),e}(L);s$(MV,"controlFieldType",g.CALC);function NV(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function d$(t,e,n){return e=Mu(e),VV(t,b$()?Reflect.construct(e,n||[],Mu(t).constructor):e.apply(t,n))}function v$(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function on(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Mu(t){return Mu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mu(t)}function h$(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&rp(t,e)}function VV(t,e){return e&&(zV(e)==="object"||typeof e=="function")?e:NV(t)}function rp(t,e){return rp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rp(t,e)}function zV(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function b$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(b$=function(){return!!t})()}var CV=function(t){h$(e,t);function e(n){v$(this,e);var o;return o=d$(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o.push({validator:function(i,u){if(n.required){var c=u.every(function(a){return!a});return c?Promise.reject(p.getMessage("runtimeRequired",{caption:n.caption})):Promise.resolve()}else return Promise.resolve()}}),o}return e}(z),ip=function(t){h$(e,t);function e(n){v$(this,e);var o;o=d$(this,e,[n]),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 e}(D);on(ip,"RuntimeRules",CV);function HV(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qV(t,e,n){return e=Nu(e),GV(t,m$()?Reflect.construct(e,n||[],Nu(t).constructor):e.apply(t,n))}function UV(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function g$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function WV(t,e,n){return e&&g$(t.prototype,e),n&&g$(t,n),t}function up(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Nu(t){return Nu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nu(t)}function KV(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&cp(t,e)}function GV(t,e){return e&&(XV(e)==="object"||typeof e=="function")?e:HV(t)}function cp(t,e){return cp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cp(t,e)}function XV(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function m$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(m$=function(){return!!t})()}var lp=function(t){KV(e,t);function e(n){UV(this,e);var o;return o=qV(this,e,[n]),up(o,"props",void 0),o.props=new ip(n==null?void 0:n.props),o}return WV(e,null,[{key:"controlName",get:function(){return"\u6570\u5B57\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconshuziqujian"}},{key:"controlType",get:function(){return"search-number-range"}}]),e}(x);up(lp,"controlFieldType",g.DECIMAL_RANGE),up(lp,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function QV(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function JV(t,e,n){return e=Vu(e),tz(t,$$()?Reflect.construct(e,n||[],Vu(t).constructor):e.apply(t,n))}function ZV(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function O$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function YV(t,e,n){return e&&O$(t.prototype,e),n&&O$(t,n),t}function w$(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Vu(t){return Vu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vu(t)}function ez(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ap(t,e)}function tz(t,e){return e&&(nz(e)==="object"||typeof e=="function")?e:QV(t)}function ap(t,e){return ap=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ap(t,e)}function nz(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($$=function(){return!!t})()}var oz=function(t){ez(e,t);function e(n){ZV(this,e);var o;return o=JV(this,e,[n]),w$(o,"props",void 0),o.props=new ip(n==null?void 0:n.props),o}return YV(e,null,[{key:"controlType",get:function(){return"search-number-range"}}]),e}(L);w$(oz,"controlFieldType",g.DECIMAL_RANGE);function rz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function P$(t,e,n){return e=zu(e),iz(t,T$()?Reflect.construct(e,n||[],zu(t).constructor):e.apply(t,n))}function E$(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zu(t){return zu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zu(t)}function S$(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fp(t,e)}function iz(t,e){return e&&(uz(e)==="object"||typeof e=="function")?e:rz(t)}function fp(t,e){return fp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fp(t,e)}function uz(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function T$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(T$=function(){return!!t})()}var cz=function(t){S$(e,t);function e(n){E$(this,e);var o;return o=P$(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),n.required&&!n.isHide&&o.push({type:"array",fields:{0:{type:"string",required:n.required,message:o[0].message},1:{type:"string",required:n.required,message:o[0].message}}}),o}return e}(z),_p=function(t){S$(e,t);function e(n){E$(this,e);var o,r;o=P$(this,e,[n]),Fe(o,"rangeMin",void 0),Fe(o,"rangeMax",void 0),Fe(o,"placeholderStart",void 0),Fe(o,"placeholderEnd",void 0),Fe(o,"dateType",void 0),Fe(o,"dateFormat",void 0),Fe(o,"commonTimeSetting",void 0),Fe(o,"setValueType",void 0),Fe(o,"defaultValue",void 0),Fe(o,"limitDateList",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:["",""];var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:xt.DATE;var c;o.dateFormat=(c=n==null?void 0:n.dateFormat)!==null&&c!==void 0?c:"";var a;o.commonTimeSetting=(a=n==null?void 0:n.commonTimeSetting)!==null&&a!==void 0?a:[];var l;o.setValueType=(l=n==null?void 0:n.setValueType)!==null&&l!==void 0?l:"custom";var _;o.rangeMin=(_=n==null?void 0:n.rangeMin)!==null&&_!==void 0?_:"";var s;o.rangeMax=(s=n==null?void 0:n.rangeMax)!==null&&s!==void 0?s:"";var d;o.placeholderStart=(d=n==null?void 0:n.placeholderStart)!==null&&d!==void 0?d:"\u5F00\u59CB\u65E5\u671F";var b;o.placeholderEnd=(b=n==null?void 0:n.placeholderEnd)!==null&&b!==void 0?b:"\u7ED3\u675F\u65E5\u671F";var O;o.caption=(O=n==null?void 0:n.caption)!==null&&O!==void 0?O:pp.controlName;var m;return o.limitDateList=(m=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function(w){return new Zf(w)}))!==null&&m!==void 0?m:[],o}return e}(D);Fe(_p,"RuntimeRules",cz);function lz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function az(t,e,n){return e=Cu(e),sz(t,I$()?Reflect.construct(e,n||[],Cu(t).constructor):e.apply(t,n))}function fz(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function R$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function _z(t,e,n){return e&&R$(t.prototype,e),n&&R$(t,n),t}function yp(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Cu(t){return Cu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cu(t)}function yz(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&sp(t,e)}function sz(t,e){return e&&(pz(e)==="object"||typeof e=="function")?e:lz(t)}function sp(t,e){return sp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sp(t,e)}function pz(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function I$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(I$=function(){return!!t})()}var pp=function(t){yz(e,t);function e(n){fz(this,e);var o;return o=az(this,e,[n]),yp(o,"props",void 0),o.props=new _p(n==null?void 0:n.props),o}return _z(e,null,[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"search-date-range"}}]),e}(x);yp(pp,"controlFieldType",g.ARRAY),yp(pp,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function dz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vz(t,e,n){return e=Hu(e),mz(t,k$()?Reflect.construct(e,n||[],Hu(t).constructor):e.apply(t,n))}function hz(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function B$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function bz(t,e,n){return e&&B$(t.prototype,e),n&&B$(t,n),t}function A$(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Hu(t){return Hu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hu(t)}function gz(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&dp(t,e)}function mz(t,e){return e&&(Oz(e)==="object"||typeof e=="function")?e:dz(t)}function dp(t,e){return dp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dp(t,e)}function Oz(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function k$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(k$=function(){return!!t})()}var wz=function(t){gz(e,t);function e(n){hz(this,e);var o;return o=vz(this,e,[n]),A$(o,"props",void 0),o.props=new _p(n==null?void 0:n.props),o}return bz(e,null,[{key:"controlType",get:function(){return"search-date-range"}}]),e}(L);A$(wz,"controlFieldType",g.ARRAY);function $z(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vp(t,e,n){return e=qu(e),Pz(t,D$()?Reflect.construct(e,n||[],qu(t).constructor):e.apply(t,n))}function hp(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function qu(t){return qu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qu(t)}function bp(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&gp(t,e)}function Pz(t,e){return e&&(Ez(e)==="object"||typeof e=="function")?e:$z(t)}function gp(t,e){return gp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gp(t,e)}function Ez(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function D$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(D$=function(){return!!t})()}var Sz=function(t){bp(e,t);function e(n){hp(this,e);var o;return o=vp(this,e,[n]),o.dataBind={type:"any"},o}return e}(J),Tz=function(t){bp(e,t);function e(n){hp(this,e);var o;return o=vp(this,e,[n]),o[0]!==void 0&&(o[0].type="any"),o}return e}(z),Uu=function(t){bp(e,t);function e(n){hp(this,e);var o;o=vp(this,e,[n]),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 e}(D);rn(Uu,"Rules",Sz),rn(Uu,"RuntimeRules",Tz);function Rz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Iz(t,e,n){return e=Ku(e),Dz(t,L$()?Reflect.construct(e,n||[],Ku(t).constructor):e.apply(t,n))}function Bz(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function x$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Az(t,e,n){return e&&x$(t.prototype,e),n&&x$(t,n),t}function Wu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ku(t){return Ku=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ku(t)}function kz(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&mp(t,e)}function Dz(t,e){return e&&(xz(e)==="object"||typeof e=="function")?e:Rz(t)}function mp(t,e){return mp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},mp(t,e)}function xz(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function L$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(L$=function(){return!!t})()}var Gu=function(t){kz(e,t);function e(n){Bz(this,e);var o;return o=Iz(this,e,[n]),Wu(o,"props",void 0),o.props=new Uu(n==null?void 0:n.props),o}return Az(e,null,[{key:"controlName",get:function(){return"Vue\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return"vue-form-item"}}]),e}(x);Wu(Gu,"controlFieldType",g.ANY),Wu(Gu,"controlEventKeys",[]),Wu(Gu,"setting",[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE,f.IS_HIDE_CAPTION,f.REQUIRED,f.IS_SHOW_CAPTION_TIP,f.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}]);function Lz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Fz(t,e,n){return e=Xu(e),Vz(t,M$()?Reflect.construct(e,n||[],Xu(t).constructor):e.apply(t,n))}function jz(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function F$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Mz(t,e,n){return e&&F$(t.prototype,e),n&&F$(t,n),t}function j$(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xu(t){return Xu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xu(t)}function Nz(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Op(t,e)}function Vz(t,e){return e&&(zz(e)==="object"||typeof e=="function")?e:Lz(t)}function Op(t,e){return Op=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Op(t,e)}function zz(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function M$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(M$=function(){return!!t})()}var Cz=function(t){Nz(e,t);function e(n){jz(this,e);var o;return o=Fz(this,e,[n]),j$(o,"props",void 0),o.props=new Uu(n==null?void 0:n.props),o}return Mz(e,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),e}(L);j$(Cz,"controlFieldType",g.ANY);function Hz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function N$(t,e,n){return e=Qu(e),qz(t,C$()?Reflect.construct(e,n||[],Qu(t).constructor):e.apply(t,n))}function V$(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ye(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Qu(t){return Qu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qu(t)}function z$(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wp(t,e)}function qz(t,e){return e&&(Uz(e)==="object"||typeof e=="function")?e:Hz(t)}function wp(t,e){return wp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wp(t,e)}function Uz(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function C$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(C$=function(){return!!t})()}var Wz=function(t){z$(e,t);function e(n){V$(this,e);var o;return o=N$(this,e,[n]),ye(o,"listPageBind",[{type:"object",message:p.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:p.getMessage("isNotString")},{type:"string",required:!0,message:p.getMessage("pleaseEnterList")}]}}]),ye(o,"formBind",{type:"object",fields:{formKey:{type:"string",message:p.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return e}(Vt),$p=function(t){z$(e,t);function e(n){V$(this,e);var o;o=N$(this,e,[n]),ye(o,"options",void 0),ye(o,"optionConfig",void 0),ye(o,"defaultValue",void 0),ye(o,"listPageBind",void 0),ye(o,"datasourceBind",void 0),ye(o,"multistageFilling",void 0),ye(o,"viewFormModelType",void 0),ye(o,"canViewForm",void 0),ye(o,"formBind",void 0),ye(o,"openMultistageFilling",void 0),ye(o,"showSelectedDetail",void 0),ye(o,"selectedContentConfig",void 0);var r;o.options=Je((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 O;(O=o.multistageFilling)===null||O===void 0||O.push(new se(b))}));var s;o.canViewForm=(s=n==null?void 0:n.canViewForm)!==null&&s!==void 0?s:!1;var d;return o.viewFormModelType=(d=n==null?void 0:n.viewFormModelType)!==null&&d!==void 0?d:"window",o.formBind=new jt(n==null?void 0:n.formBind),o}return e}(D);ye($p,"Rules",Wz);function Kz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Gz(t,e,n){return e=Zu(e),Zz(t,q$()?Reflect.construct(e,n||[],Zu(t).constructor):e.apply(t,n))}function Xz(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function H$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Qz(t,e,n){return e&&H$(t.prototype,e),n&&H$(t,n),t}function Ju(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Zu(t){return Zu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zu(t)}function Jz(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Pp(t,e)}function Zz(t,e){return e&&(Yz(e)==="object"||typeof e=="function")?e:Kz(t)}function Pp(t,e){return Pp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Pp(t,e)}function Yz(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function q$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(q$=function(){return!!t})()}var Yu=function(t){Jz(e,t);function e(n){Xz(this,e);var o;return o=Gz(this,e,[n]),Ju(o,"props",void 0),o.props=new $p(n==null?void 0:n.props),o}return Qz(e,null,[{key:"controlName",get:function(){return"\u5173\u8054\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconguanliandanxuan"}},{key:"controlType",get:function(){return"select-relation"}}]),e}(x);Ju(Yu,"controlFieldType",g.VARCHAR),Ju(Yu,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0,showItems:[f.CAN_VIEW_FORM,f.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]),Ju(Yu,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);function eC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tC(t,e,n){return e=ec(e),iC(t,K$()?Reflect.construct(e,n||[],ec(t).constructor):e.apply(t,n))}function nC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function U$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function oC(t,e,n){return e&&U$(t.prototype,e),n&&U$(t,n),t}function W$(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ec(t){return ec=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ec(t)}function rC(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ep(t,e)}function iC(t,e){return e&&(uC(e)==="object"||typeof e=="function")?e:eC(t)}function Ep(t,e){return Ep=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ep(t,e)}function uC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function K$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(K$=function(){return!!t})()}var cC=function(t){rC(e,t);function e(n){nC(this,e);var o;return o=tC(this,e,[n]),W$(o,"props",void 0),o.props=new $p(n==null?void 0:n.props),o}return oC(e,null,[{key:"controlType",get:function(){return"select-relation"}}]),e}(L);W$(cC,"controlFieldType",g.VARCHAR);function lC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function aC(t,e,n){return e=tc(e),yC(t,G$()?Reflect.construct(e,n||[],tc(t).constructor):e.apply(t,n))}function fC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function tc(t){return tc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tc(t)}function _C(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Sp(t,e)}function yC(t,e){return e&&(sC(e)==="object"||typeof e=="function")?e:lC(t)}function Sp(t,e){return Sp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sp(t,e)}function sC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function G$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(G$=function(){return!!t})()}var X$=function(t){_C(e,t);function e(n){return fC(this,e),aC(this,e,[n])}return e}(co);function pC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function dC(t,e,n){return e=nc(e),gC(t,Z$()?Reflect.construct(e,n||[],nc(t).constructor):e.apply(t,n))}function vC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Q$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function hC(t,e,n){return e&&Q$(t.prototype,e),n&&Q$(t,n),t}function J$(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function nc(t){return nc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nc(t)}function bC(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Tp(t,e)}function gC(t,e){return e&&(mC(e)==="object"||typeof e=="function")?e:pC(t)}function Tp(t,e){return Tp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Tp(t,e)}function mC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Z$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Z$=function(){return!!t})()}var OC=function(t){bC(e,t);function e(n){vC(this,e);var o;return o=dC(this,e,[n]),J$(o,"props",void 0),o.props=new X$(n==null?void 0:n.props),o}return hC(e,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),e}(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(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $C(t,e,n){return e=oc(e),TC(t,tP()?Reflect.construct(e,n||[],oc(t).constructor):e.apply(t,n))}function PC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Y$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function EC(t,e,n){return e&&Y$(t.prototype,e),n&&Y$(t,n),t}function eP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function oc(t){return oc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oc(t)}function SC(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Rp(t,e)}function TC(t,e){return e&&(RC(e)==="object"||typeof e=="function")?e:wC(t)}function Rp(t,e){return Rp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rp(t,e)}function RC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tP=function(){return!!t})()}var IC=function(t){SC(e,t);function e(n){PC(this,e);var o;return o=$C(this,e,[n]),eP(o,"props",void 0),o.props=new X$(n==null?void 0:n.props),o}return EC(e,null,[{key:"controlType",get:function(){return"search-input"}}]),e}(L);eP(IC,"controlFieldType",g.VARCHAR);function BC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ip(t,e,n){return e=rc(e),AC(t,nP()?Reflect.construct(e,n||[],rc(t).constructor):e.apply(t,n))}function Bp(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function q(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function rc(t){return rc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rc(t)}function Ap(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&kp(t,e)}function AC(t,e){return e&&(kC(e)==="object"||typeof e=="function")?e:BC(t)}function kp(t,e){return kp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kp(t,e)}function kC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function nP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(nP=function(){return!!t})()}var DC=function(t){Ap(e,t);function e(n){Bp(this,e);var o;return o=Ip(this,e,[n]),q(o,"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),Lo.call(o,n,$t.controlCustomAttributes,!0),o.datasourceBind[1].fields&&(o.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:p.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:p.getMessage("rootNodeIsRequired")}}}]),o}return e}(J),xC=function(t){Ap(e,t);function e(n){Bp(this,e);var o;return o=Ip(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(z),ic=function(t){Ap(e,t);function e(n){Bp(this,e);var o,r;o=Ip(this,e,[n]),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:$t.controlName;var u;o.placeholder=(u=n==null?void 0:n.placeholder)!==null&&u!==void 0?u:"\u8BF7\u9009\u62E9";var c;o.multiple=(c=n==null?void 0:n.multiple)!==null&&c!==void 0?c:!1;var a;o.canSearch=(a=n==null?void 0:n.canSearch)!==null&&a!==void 0?a:!0;var l;o.levelType=(l=n==null?void 0:n.levelType)!==null&&l!==void 0?l:"all";var _;o.optionalLevel=(_=n==null?void 0:n.optionalLevel)!==null&&_!==void 0?_:1;var s;o.containsSubNode=(s=n==null?void 0:n.containsSubNode)!==null&&s!==void 0?s:!1;var d;o.isShowFilterItem=(d=n==null?void 0:n.isShowFilterItem)!==null&&d!==void 0?d:!1;var b;o.isShowIncludeSub=(b=n==null?void 0:n.isShowIncludeSub)!==null&&b!==void 0?b:!1;var O;o.isDefaultCheckSub=(O=n==null?void 0:n.isDefaultCheckSub)!==null&&O!==void 0?O:!1;var m;o.defaultCollapse=(m=n==null?void 0:n.defaultCollapse)!==null&&m!==void 0?m:"all";var w;o.defaultCollapseLevel=(w=n==null?void 0:n.defaultCollapseLevel)!==null&&w!==void 0?w:1;var h;o.datasourceBind=new j0((h=n==null?void 0:n.datasourceBind)!==null&&h!==void 0?h:{attributes:$t.controlCustomAttributes});var $;o.filterItemDatasourceBind=new j0(($=n==null?void 0:n.filterItemDatasourceBind)!==null&&$!==void 0?$:{attributes:$t.controlCustomAttributes});var P;o.openMultistageFilling=(P=n==null?void 0:n.openMultistageFilling)!==null&&P!==void 0?P:!1;var E;o.defaultDisplay=(E=n==null?void 0:n.defaultDisplay)!==null&&E!==void 0?E:!1;var T;o.multistageFilling=(T=n==null||(r=n.multistageFilling)===null||r===void 0?void 0:r.map(function(A){return new se(A)}))!==null&&T!==void 0?T:[];var F;return o.defaultValue=(F=n==null?void 0:n.defaultValue)!==null&&F!==void 0?F:[],o}return e}(D);q(ic,"Rules",DC),q(ic,"RuntimeRules",xC);function LC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function FC(t,e,n){return e=cc(e),VC(t,rP()?Reflect.construct(e,n||[],cc(t).constructor):e.apply(t,n))}function jC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function oP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function MC(t,e,n){return e&&oP(t.prototype,e),n&&oP(t,n),t}function uc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function cc(t){return cc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cc(t)}function NC(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Dp(t,e)}function VC(t,e){return e&&(zC(e)==="object"||typeof e=="function")?e:LC(t)}function Dp(t,e){return Dp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dp(t,e)}function zC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function rP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(rP=function(){return!!t})()}var $t=function(t){NC(e,t);function e(n){jC(this,e);var o;return o=FC(this,e,[n]),uc(o,"props",void 0),o.props=new ic(n==null?void 0:n.props),o}return MC(e,null,[{key:"controlName",get:function(){return"\u6811"}},{key:"controlIcon",get:function(){return"icontree"}},{key:"controlType",get:function(){return"tree"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}]),e}(x);uc($t,"controlEventKeys",["on_change","on_click"]),uc($t,"controlFieldType",g.ARRAY),uc($t,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.MULTIPLE,f.CAN_SEARCH,f.DEFAULT_DISPLAY,f.CONTAINS_SUB_NODE,f.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}]);function CC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function HC(t,e,n){return e=lc(e),KC(t,cP()?Reflect.construct(e,n||[],lc(t).constructor):e.apply(t,n))}function qC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function iP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function UC(t,e,n){return e&&iP(t.prototype,e),n&&iP(t,n),t}function uP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function lc(t){return lc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},lc(t)}function WC(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xp(t,e)}function KC(t,e){return e&&(GC(e)==="object"||typeof e=="function")?e:CC(t)}function xp(t,e){return xp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xp(t,e)}function GC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function cP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(cP=function(){return!!t})()}var XC=function(t){WC(e,t);function e(n){qC(this,e);var o;return o=HC(this,e,[n]),uP(o,"props",void 0),o.props=new ic(n==null?void 0:n.props),o}return UC(e,null,[{key:"controlType",get:function(){return"tree"}}]),e}(L);uP(XC,"controlFieldType",g.ARRAY);function QC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Lp(t,e,n){return e=ac(e),JC(t,lP()?Reflect.construct(e,n||[],ac(t).constructor):e.apply(t,n))}function Fp(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function re(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ac(t){return ac=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ac(t)}function jp(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Mp(t,e)}function JC(t,e){return e&&(ZC(e)==="object"||typeof e=="function")?e:QC(t)}function Mp(t,e){return Mp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Mp(t,e)}function ZC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function lP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(lP=function(){return!!t})()}var YC=function(t){jp(e,t);function e(n){Fp(this,e);var o;return o=Lp(this,e,[n]),re(o,"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),re(o,"externalScope",{type:"any"}),Lo.call(o,n,_o.controlCustomAttributes),n.externalType===Kt.ASSIGN&&(o.externalScope={type:"array",required:!0,message:p.getMessage("pleaseAssignExternal")}),o}return e}(J),eH=function(t){jp(e,t);function e(n){Fp(this,e);var o;return o=Lp(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(z),fc=function(t){jp(e,t);function e(n){Fp(this,e);var o;o=Lp(this,e,[n]),re(o,"showType",void 0),re(o,"range",void 0),re(o,"rangeOptions",void 0),re(o,"multiple",void 0),re(o,"defaultValueType",void 0),re(o,"defaultValue",void 0),re(o,"multistageFilling",void 0),re(o,"datasourceBind",void 0),re(o,"datasourceType",void 0),re(o,"insideType",void 0),re(o,"externalType",void 0),re(o,"externalScope",void 0),re(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.range=(i=n==null?void 0:n.range)!==null&&i!==void 0?i:"all";var u;o.rangeOptions=(u=n==null?void 0:n.rangeOptions)!==null&&u!==void 0?u:[];var c;o.multiple=(c=n==null?void 0:n.multiple)!==null&&c!==void 0?c:!1;var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:_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 d;o.datasourceBind=new Bo((d=n==null?void 0:n.datasourceBind)!==null&&d!==void 0?d:{attributes:_o.controlCustomAttributes});var b;o.datasourceType=(b=n==null?void 0:n.datasourceType)!==null&&b!==void 0?b:Qx.INTERNAL;var O;o.insideType=(O=n==null?void 0:n.insideType)!==null&&O!==void 0?O:Jx.ADMIN;var m;o.externalType=(m=n==null?void 0:n.externalType)!==null&&m!==void 0?m:Kt.ALL;var w;o.externalScope=(w=n==null?void 0:n.externalScope)!==null&&w!==void 0?w:[];var h;return o.openMultistageFilling=(h=n==null?void 0:n.openMultistageFilling)!==null&&h!==void 0?h:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function($){var P;(P=o.multistageFilling)===null||P===void 0||P.push(new se($))})),o}return e}(D);re(fc,"Rules",YC),re(fc,"RuntimeRules",eH);function tH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nH(t,e,n){return e=_c(e),uH(t,fP()?Reflect.construct(e,n||[],_c(t).constructor):e.apply(t,n))}function oH(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function aP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function rH(t,e,n){return e&&aP(t.prototype,e),n&&aP(t,n),t}function Np(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _c(t){return _c=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_c(t)}function iH(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vp(t,e)}function uH(t,e){return e&&(cH(e)==="object"||typeof e=="function")?e:tH(t)}function Vp(t,e){return Vp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vp(t,e)}function cH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(fP=function(){return!!t})()}var _o=function(t){iH(e,t);function e(n){oH(this,e);var o;return o=nH(this,e,[n]),Np(o,"props",void 0),o.props=new fc(n==null?void 0:n.props),o}return rH(e,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),e}(x);Np(_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(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function aH(t,e,n){return e=yc(e),sH(t,sP()?Reflect.construct(e,n||[],yc(t).constructor):e.apply(t,n))}function fH(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _P(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function _H(t,e,n){return e&&_P(t.prototype,e),n&&_P(t,n),t}function yP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yc(t){return yc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yc(t)}function yH(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&zp(t,e)}function sH(t,e){return e&&(pH(e)==="object"||typeof e=="function")?e:lH(t)}function zp(t,e){return zp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zp(t,e)}function pH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function sP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(sP=function(){return!!t})()}var dH=function(t){yH(e,t);function e(n){fH(this,e);var o;return o=aH(this,e,[n]),yP(o,"props",void 0),o.props=new fc(n==null?void 0:n.props),o}return _H(e,null,[{key:"controlType",get:function(){return"employee2"}}]),e}(L);yP(dH,"controlFieldType",g.EMPLOYEES);function vH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function pP(t,e,n){return e=sc(e),hH(t,hP()?Reflect.construct(e,n||[],sc(t).constructor):e.apply(t,n))}function dP(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function sc(t){return sc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sc(t)}function vP(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Cp(t,e)}function hH(t,e){return e&&(bH(e)==="object"||typeof e=="function")?e:vH(t)}function Cp(t,e){return Cp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cp(t,e)}function bH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function hP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(hP=function(){return!!t})()}var gH=function(t){vP(e,t);function e(n){dP(this,e);var o;return o=pP(this,e,[n]),qe(o,"signatureConfig",void 0),o.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fields:n.signatureConfig.undersignedList.reduce(function(r,i,u){return r[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator:function(a,l,_){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 e}(J),Hp=function(t){vP(e,t);function e(n){dP(this,e);var o;o=pP(this,e,[n]),qe(o,"buttonType",void 0),qe(o,"content",void 0),qe(o,"showType",void 0),qe(o,"color",void 0),qe(o,"icon",void 0),qe(o,"command",""),qe(o,"isLoading",!1),qe(o,"signatureConfig",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r: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 e}(D);qe(Hp,"Rules",gH);function mH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function OH(t,e,n){return e=dc(e),EH(t,gP()?Reflect.construct(e,n||[],dc(t).constructor):e.apply(t,n))}function wH(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function $H(t,e,n){return e&&bP(t.prototype,e),n&&bP(t,n),t}function pc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function dc(t){return dc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dc(t)}function PH(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&qp(t,e)}function EH(t,e){return e&&(SH(e)==="object"||typeof e=="function")?e:mH(t)}function qp(t,e){return qp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qp(t,e)}function SH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function gP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(gP=function(){return!!t})()}var vc=function(t){PH(e,t);function e(n){wH(this,e);var o;return o=OH(this,e,[n]),pc(o,"props",void 0),o.props=new Hp(n==null?void 0:n.props),o}return $H(e,null,[{key:"controlName",get:function(){return"\u7535\u5B50\u7B7E\u7AE0"}},{key:"controlIcon",get:function(){return"icondianziqianzhang"}},{key:"controlType",get:function(){return"electronic-signature"}}]),e}(x);pc(vc,"controlEventKeys",["on_click","on_click_finish"]),pc(vc,"controlFieldType",g.VARCHAR),pc(vc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}]);function TH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function RH(t,e,n){return e=hc(e),kH(t,wP()?Reflect.construct(e,n||[],hc(t).constructor):e.apply(t,n))}function IH(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function BH(t,e,n){return e&&mP(t.prototype,e),n&&mP(t,n),t}function OP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function hc(t){return hc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hc(t)}function AH(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Up(t,e)}function kH(t,e){return e&&(DH(e)==="object"||typeof e=="function")?e:TH(t)}function Up(t,e){return Up=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Up(t,e)}function DH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function wP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(wP=function(){return!!t})()}var xH=function(t){AH(e,t);function e(n){IH(this,e);var o;return o=RH(this,e,[n]),OP(o,"props",void 0),o.props=new Hp(n==null?void 0:n.props),o}return BH(e,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),e}(L);OP(xH,"controlFieldType",g.VARCHAR);function LH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Wp(t,e,n){return e=bc(e),FH(t,$P()?Reflect.construct(e,n||[],bc(t).constructor):e.apply(t,n))}function Kp(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ie(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function bc(t){return bc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bc(t)}function Gp(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xp(t,e)}function FH(t,e){return e&&(jH(e)==="object"||typeof e=="function")?e:LH(t)}function Xp(t,e){return Xp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xp(t,e)}function jH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $P(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($P=function(){return!!t})()}var MH=function(t){Gp(e,t);function e(n){Kp(this,e);var o;return o=Wp(this,e,[n]),ie(o,"content",{type:"string",required:!0,message:p.getMessage("pleaseEnterButtonContent")}),ie(o,"canAdd",void 0),ie(o,"wpsSetting",{type:"object",fields:{watermark:{type:"object",validator:function(i,u,c){if(u.active&&!u.text){c(p.getMessage("pleaseEnterWatermark"));return}c()}},autoRename:{type:"object",validator:function(i,u,c){if(u.active&&!u.text){c(p.getMessage("pleaseEnterFileName"));return}c()}}}}),o.canAdd={type:"boolean",validator:function(i,u,c){if(n.canAdd&&!n.addLocal&&!n.addOnline){c(p.getMessage("pleaseChooseAtLeastOne"));return}c()}},o}return e}(J),NH=function(t){Gp(e,t);function e(n){Kp(this,e);var o;return o=Wp(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(z),gc=function(t){Gp(e,t);function e(n){Kp(this,e);var o;o=Wp(this,e,[n]),ie(o,"content",void 0),ie(o,"canAdd",void 0),ie(o,"addLocal",void 0),ie(o,"addOnline",void 0),ie(o,"canDownload",void 0),ie(o,"canEdit",void 0),ie(o,"canExport",void 0),ie(o,"canDelete",void 0),ie(o,"wpsSetting",void 0),ie(o,"maxSize",void 0),ie(o,"defaultValue",void 0),ie(o,"revisionsMode",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:wc.controlName;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u65B0\u5EFA\u6587\u6863";var u;o.canAdd=(u=n==null?void 0:n.canAdd)!==null&&u!==void 0?u:!0;var c;o.addLocal=(c=n==null?void 0:n.addLocal)!==null&&c!==void 0?c:!0;var a;o.addOnline=(a=n==null?void 0:n.addOnline)!==null&&a!==void 0?a:!0;var l;o.canEdit=(l=n==null?void 0:n.canEdit)!==null&&l!==void 0?l:!0;var _;o.canDownload=(_=n==null?void 0:n.canDownload)!==null&&_!==void 0?_:!0;var s;o.canExport=(s=n==null?void 0:n.canExport)!==null&&s!==void 0?s:!0;var d;o.canDelete=(d=n==null?void 0:n.canDelete)!==null&&d!==void 0?d:!1;var b;o.maxSize=(b=n==null?void 0:n.maxSize)!==null&&b!==void 0?b:D7;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:[],o.wpsSetting=new Kx(n==null?void 0:n.wpsSetting);var m;return o.revisionsMode=(m=n==null?void 0:n.revisionsMode)!==null&&m!==void 0?m:!1,o}return e}(D);ie(gc,"Rules",MH),ie(gc,"RuntimeRules",NH);function VH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zH(t,e,n){return e=Oc(e),UH(t,EP()?Reflect.construct(e,n||[],Oc(t).constructor):e.apply(t,n))}function CH(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function PP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function HH(t,e,n){return e&&PP(t.prototype,e),n&&PP(t,n),t}function mc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Oc(t){return Oc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oc(t)}function qH(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Qp(t,e)}function UH(t,e){return e&&(WH(e)==="object"||typeof e=="function")?e:VH(t)}function Qp(t,e){return Qp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qp(t,e)}function WH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function EP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(EP=function(){return!!t})()}var wc=function(t){qH(e,t);function e(n){CH(this,e);var o;return o=zH(this,e,[n]),mc(o,"props",void 0),o.props=new gc(n==null?void 0:n.props),o}return HH(e,null,[{key:"controlName",get:function(){return"\u5728\u7EBF\u6587\u6863"}},{key:"controlIcon",get:function(){return"iconwps"}},{key:"controlType",get:function(){return"wps"}}]),e}(x);mc(wc,"controlEventKeys",["on_change","on_wps_open"]),mc(wc,"controlFieldType",g.FILE),mc(wc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_SHOW_CAPTION_TIP,f.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}]);function KH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function GH(t,e,n){return e=$c(e),ZH(t,RP()?Reflect.construct(e,n||[],$c(t).constructor):e.apply(t,n))}function XH(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function SP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function QH(t,e,n){return e&&SP(t.prototype,e),n&&SP(t,n),t}function TP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $c(t){return $c=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$c(t)}function JH(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Jp(t,e)}function ZH(t,e){return e&&(YH(e)==="object"||typeof e=="function")?e:KH(t)}function Jp(t,e){return Jp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jp(t,e)}function YH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function RP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(RP=function(){return!!t})()}var eq=function(t){JH(e,t);function e(n){XH(this,e);var o;return o=GH(this,e,[n]),TP(o,"props",void 0),o.props=new gc(n==null?void 0:n.props),o}return QH(e,null,[{key:"controlType",get:function(){return"wps"}}]),e}(L);TP(eq,"controlFieldType",g.FILE);function tq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Zp(t,e,n){return e=Pc(e),nq(t,IP()?Reflect.construct(e,n||[],Pc(t).constructor):e.apply(t,n))}function Yp(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Q(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Pc(t){return Pc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pc(t)}function ed(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&td(t,e)}function nq(t,e){return e&&(oq(e)==="object"||typeof e=="function")?e:tq(t)}function td(t,e){return td=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},td(t,e)}function oq(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function IP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(IP=function(){return!!t})()}var rq=function(t){ed(e,t);function e(n){Yp(this,e);var o;return o=Zp(this,e,[n]),Q(o,"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),Q(o,"businessScope",{type:"any"}),Lo.call(o,n,cn.controlCustomAttributes),n.businessType===Kt.ASSIGN&&(o.businessScope={type:"array",required:!0,message:p.getMessage("pleaseAssignBusiness")}),o}return e}(J),iq=function(t){ed(e,t);function e(n){Yp(this,e);var o;return o=Zp(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(z),Ec=function(t){ed(e,t);function e(n){Yp(this,e);var o;o=Zp(this,e,[n]),Q(o,"showType",void 0),Q(o,"range",void 0),Q(o,"defaultValueType",void 0),Q(o,"multiple",void 0),Q(o,"rangeOptions",void 0),Q(o,"defaultValue",void 0),Q(o,"displayLevel",void 0),Q(o,"showSubDept",void 0),Q(o,"multistageFilling",void 0),Q(o,"datasourceBind",void 0),Q(o,"datasourceType",void 0),Q(o,"businessType",void 0),Q(o,"businessScope",void 0),Q(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1;var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var c;o.defaultValueType=(c=n==null?void 0:n.defaultValueType)!==null&&c!==void 0?c:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var s;o.showSubDept=(s=n==null?void 0:n.showSubDept)!==null&&s!==void 0?s:!0;var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:cn.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u8BF7\u9009\u62E9\u90E8\u95E8";var O;o.datasourceBind=new Bo((O=n==null?void 0:n.datasourceBind)!==null&&O!==void 0?O:{attributes:cn.controlCustomAttributes});var m;o.datasourceType=(m=n==null?void 0:n.datasourceType)!==null&&m!==void 0?m: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:Kt.ALL;var $;return o.openMultistageFilling=($=n==null?void 0:n.openMultistageFilling)!==null&&$!==void 0?$:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(P){var E;(E=o.multistageFilling)===null||E===void 0||E.push(new se(P))})),o}return e}(D);Q(Ec,"Rules",rq),Q(Ec,"RuntimeRules",iq);function uq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cq(t,e,n){return e=un(e),_q(t,AP()?Reflect.construct(e,n||[],un(t).constructor):e.apply(t,n))}function lq(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function BP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function aq(t,e,n){return e&&BP(t.prototype,e),n&&BP(t,n),t}function Sc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Tc(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Tc=Reflect.get:Tc=function(r,i,u){var c=yq(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Tc(t,e,n||t)}function un(t){return un=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},un(t)}function fq(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&nd(t,e)}function _q(t,e){return e&&(sq(e)==="object"||typeof e=="function")?e:uq(t)}function nd(t,e){return nd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},nd(t,e)}function yq(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=un(t),t!==null););return t}function sq(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function AP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(AP=function(){return!!t})()}var cn=function(t){fq(e,t);function e(n){lq(this,e);var o;return o=cq(this,e,[n]),Sc(o,"props",void 0),o.props=new Ec(n==null?void 0:n.props),o}return aq(e,[{key:"toDataBindModel",value:function(o){var r=Tc(un(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.displayLevel,c=i.showSubDept;r.props.displayLevel=u,r.props.showSubDept=c}return r}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),e}(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(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function dq(t,e,n){return e=Rc(e),gq(t,xP()?Reflect.construct(e,n||[],Rc(t).constructor):e.apply(t,n))}function vq(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function kP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function hq(t,e,n){return e&&kP(t.prototype,e),n&&kP(t,n),t}function DP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Rc(t){return Rc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rc(t)}function bq(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&od(t,e)}function gq(t,e){return e&&(mq(e)==="object"||typeof e=="function")?e:pq(t)}function od(t,e){return od=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},od(t,e)}function mq(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xP=function(){return!!t})()}var Oq=function(t){bq(e,t);function e(n){vq(this,e);var o;return o=dq(this,e,[n]),DP(o,"props",void 0),o.props=new Ec(n==null?void 0:n.props),o}return hq(e,null,[{key:"controlType",get:function(){return"department2"}}]),e}(L);DP(Oq,"controlFieldType",g.DEPARTMENTS);function wq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rd(t,e,n){return e=Ic(e),$q(t,LP()?Reflect.construct(e,n||[],Ic(t).constructor):e.apply(t,n))}function id(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function C(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ic(t){return Ic=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ic(t)}function ud(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&cd(t,e)}function $q(t,e){return e&&(Pq(e)==="object"||typeof e=="function")?e:wq(t)}function cd(t,e){return cd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cd(t,e)}function Pq(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function LP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(LP=function(){return!!t})()}var Eq=function(t){ud(e,t);function e(n){id(this,e);var o;return o=rd(this,e,[n]),C(o,"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),C(o,"businessScope",{type:"any"}),Lo.call(o,n,an.controlCustomAttributes),n.businessType===Kt.ASSIGN&&(o.businessScope={type:"array",required:!0,message:p.getMessage("pleaseAssignBusiness")}),o}return e}(J),Sq=function(t){ud(e,t);function e(n){id(this,e);var o;return o=rd(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(z),Bc=function(t){ud(e,t);function e(n){id(this,e);var o;o=rd(this,e,[n]),C(o,"showType",void 0),C(o,"range",void 0),C(o,"defaultValueType",void 0),C(o,"multiple",void 0),C(o,"rangeOptions",void 0),C(o,"defaultValue",void 0),C(o,"displayLevel",void 0),C(o,"showSubDept",void 0),C(o,"multistageFilling",void 0),C(o,"datasourceBind",void 0),C(o,"listPageBind",void 0),C(o,"datasourceType",void 0),C(o,"businessType",void 0),C(o,"businessScope",void 0),C(o,"organizingFunction",void 0),C(o,"organizationView",void 0),C(o,"openMultistageFilling",void 0),C(o,"showSelectedDetail",void 0),C(o,"selectedContentConfig",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1;var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all",o.listPageBind=new 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 d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:an.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u8BF7\u9009\u62E9\u7EC4\u7EC7";var O;o.datasourceBind=new ik((O=n==null?void 0:n.datasourceBind)!==null&&O!==void 0?O:{attributes:an.controlCustomAttributes});var m;o.datasourceType=(m=n==null?void 0:n.datasourceType)!==null&&m!==void 0?m: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:Kt.ALL;var $;o.organizingFunction=($=n==null?void 0:n.organizingFunction)!==null&&$!==void 0?$:void 0;var P;o.organizationView=(P=n==null?void 0:n.organizationView)!==null&&P!==void 0?P:void 0;var E;o.showSelectedDetail=(E=n==null?void 0:n.showSelectedDetail)!==null&&E!==void 0?E:!1,o.selectedContentConfig=new cf(n==null?void 0:n.selectedContentConfig);var T;return o.openMultistageFilling=(T=n==null?void 0:n.openMultistageFilling)!==null&&T!==void 0?T:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(F){var A;(A=o.multistageFilling)===null||A===void 0||A.push(new se(F))})),o}return e}(D);C(Bc,"Rules",Eq),C(Bc,"RuntimeRules",Sq);function Tq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Rq(t,e,n){return e=ln(e),kq(t,jP()?Reflect.construct(e,n||[],ln(t).constructor):e.apply(t,n))}function Iq(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function FP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Bq(t,e,n){return e&&FP(t.prototype,e),n&&FP(t,n),t}function Ac(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function kc(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?kc=Reflect.get:kc=function(r,i,u){var c=Dq(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},kc(t,e,n||t)}function ln(t){return ln=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ln(t)}function Aq(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ld(t,e)}function kq(t,e){return e&&(xq(e)==="object"||typeof e=="function")?e:Tq(t)}function ld(t,e){return ld=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ld(t,e)}function Dq(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=ln(t),t!==null););return t}function xq(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function jP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(jP=function(){return!!t})()}var an=function(t){Aq(e,t);function e(n){Iq(this,e);var o;return o=Rq(this,e,[n]),Ac(o,"props",void 0),o.props=new Bc(n==null?void 0:n.props),o}return Bq(e,[{key:"toDataBindModel",value:function(o){var r=kc(ln(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.displayLevel,c=i.showSubDept;r.props.displayLevel=u,r.props.showSubDept=c}return r}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"organization-selection"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),e}(x);Ac(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(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Fq(t,e,n){return e=Dc(e),Vq(t,VP()?Reflect.construct(e,n||[],Dc(t).constructor):e.apply(t,n))}function jq(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function MP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Mq(t,e,n){return e&&MP(t.prototype,e),n&&MP(t,n),t}function NP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Dc(t){return Dc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dc(t)}function Nq(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ad(t,e)}function Vq(t,e){return e&&(zq(e)==="object"||typeof e=="function")?e:Lq(t)}function ad(t,e){return ad=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ad(t,e)}function zq(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function VP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(VP=function(){return!!t})()}var Cq=function(t){Nq(e,t);function e(n){jq(this,e);var o;return o=Fq(this,e,[n]),NP(o,"props",void 0),o.props=new Bc(n==null?void 0:n.props),o}return Mq(e,null,[{key:"controlType",get:function(){return"organization-selection"}}]),e}(L);NP(Cq,"controlFieldType",g.DEPARTMENTS);function Hq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fd(t,e,n){return e=xc(e),qq(t,zP()?Reflect.construct(e,n||[],xc(t).constructor):e.apply(t,n))}function _d(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function je(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function xc(t){return xc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xc(t)}function yd(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&sd(t,e)}function qq(t,e){return e&&(Uq(e)==="object"||typeof e=="function")?e:Hq(t)}function sd(t,e){return sd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sd(t,e)}function Uq(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function zP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zP=function(){return!!t})()}var Wq=function(t){yd(e,t);function e(n){_d(this,e);var o;return o=fd(this,e,[n]),je(o,"maxLength",{type:"number",min:0,message:p.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),je(o,"minLength",{type:"number",max:200,message:p.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),je(o,"defaultValue",[{type:"string",max:200,min:0,message:p.getMessage("stringRangeError")},{pattern:"",message:""}]),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue[0].max=n.maxLength,o.defaultValue[0].min=n.minLength,o.defaultValue[0].message=p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o.defaultValue[1].pattern=Wt(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return e}(J),Kq=function(t){yd(e,t);function e(n){_d(this,e);var o;return o=fd(this,e,[n]),o.push({type:"string",message:p.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:Wt(n.regularRules.expression),message:n.regularRules.errMessage}),o}return e}(z),Lc=function(t){yd(e,t);function e(n){_d(this,e);var o;o=fd(this,e,[n]),je(o,"maxLength",void 0),je(o,"minLength",void 0),je(o,"regularRules",void 0),je(o,"defaultValue",void 0),je(o,"encrypted",void 0),je(o,"encryptedMode",void 0);var r;o.maxLength=(r=n==null?void 0:n.maxLength)!==null&&r!==void 0?r:200;var i;o.minLength=(i=n==null?void 0:n.minLength)!==null&&i!==void 0?i:0,o.regularRules=new 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 e}(D);je(Lc,"Rules",Wq),je(Lc,"RuntimeRules",Kq);function Gq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Xq(t,e,n){return e=jc(e),Yq(t,HP()?Reflect.construct(e,n||[],jc(t).constructor):e.apply(t,n))}function Qq(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function CP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Jq(t,e,n){return e&&CP(t.prototype,e),n&&CP(t,n),t}function Fc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function jc(t){return jc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jc(t)}function Zq(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&pd(t,e)}function Yq(t,e){return e&&(eU(e)==="object"||typeof e=="function")?e:Gq(t)}function pd(t,e){return pd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},pd(t,e)}function eU(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function HP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(HP=function(){return!!t})()}var Mc=function(t){Zq(e,t);function e(n){Qq(this,e);var o;return o=Xq(this,e,[n]),Fc(o,"props",void 0),o.props=new Lc(n==null?void 0:n.props),o}return Jq(e,null,[{key:"controlName",get:function(){return"\u654F\u611F\u4FE1\u606F"}},{key:"controlIcon",get:function(){return"iconSingleline_new1"}},{key:"controlType",get:function(){return"sensitiven-information"}}]),e}(x);Fc(Mc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Fc(Mc,"controlFieldType",g.VARCHAR),Fc(Mc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP,f.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function tU(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nU(t,e,n){return e=Nc(e),uU(t,WP()?Reflect.construct(e,n||[],Nc(t).constructor):e.apply(t,n))}function oU(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function rU(t,e,n){return e&&qP(t.prototype,e),n&&qP(t,n),t}function UP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Nc(t){return Nc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nc(t)}function iU(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&dd(t,e)}function uU(t,e){return e&&(cU(e)==="object"||typeof e=="function")?e:tU(t)}function dd(t,e){return dd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dd(t,e)}function cU(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function WP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(WP=function(){return!!t})()}var lU=function(t){iU(e,t);function e(n){oU(this,e);var o;return o=nU(this,e,[n]),UP(o,"props",void 0),o.props=new Lc(n==null?void 0:n.props),o}return rU(e,null,[{key:"controlType",get:function(){return"sensitiven-information"}}]),e}(L);UP(lU,"controlFieldType",g.VARCHAR);function aU(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fU(t,e,n){return e=Vc(e),sU(t,KP()?Reflect.construct(e,n||[],Vc(t).constructor):e.apply(t,n))}function _U(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Vc(t){return Vc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vc(t)}function yU(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&hd(t,e)}function sU(t,e){return e&&(pU(e)==="object"||typeof e=="function")?e:aU(t)}function hd(t,e){return hd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hd(t,e)}function pU(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function KP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(KP=function(){return!!t})()}var dU=function(t){yU(e,t);function e(n){_U(this,e);var o;o=fU(this,e,[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 e}(D);function vU(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hU(t,e,n){return e=zc(e),OU(t,XP()?Reflect.construct(e,n||[],zc(t).constructor):e.apply(t,n))}function bU(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function GP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function gU(t,e,n){return e&&GP(t.prototype,e),n&&GP(t,n),t}function bd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zc(t){return zc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zc(t)}function mU(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&gd(t,e)}function OU(t,e){return e&&(wU(e)==="object"||typeof e=="function")?e:vU(t)}function gd(t,e){return gd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gd(t,e)}function wU(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function XP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(XP=function(){return!!t})()}var QP=function(t){mU(e,t);function e(n){bU(this,e);var o;return o=hU(this,e,[n]),bd(o,"props",void 0),o.props=new dU(n==null?void 0:n.props),o}return gU(e,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),e}(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(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function PU(t,e,n){return e=Cc(e),IU(t,ZP()?Reflect.construct(e,n||[],Cc(t).constructor):e.apply(t,n))}function EU(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function JP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function SU(t,e,n){return e&&JP(t.prototype,e),n&&JP(t,n),t}function TU(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Cc(t){return Cc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cc(t)}function RU(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&md(t,e)}function IU(t,e){return e&&(BU(e)==="object"||typeof e=="function")?e:$U(t)}function md(t,e){return md=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},md(t,e)}function BU(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ZP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ZP=function(){return!!t})()}var AU=function(t){RU(e,t);function e(n){return EU(this,e),PU(this,e,[n])}return SU(e,null,[{key:"controlName",get:function(){return"\u753B\u5E03"}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),e}(Y);TU(AU,"excludes",[y.GRID]);function kU(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function DU(t,e,n){return e=Hc(e),FU(t,eE()?Reflect.construct(e,n||[],Hc(t).constructor):e.apply(t,n))}function xU(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function YP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Hc(t){return Hc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hc(t)}function LU(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Od(t,e)}function FU(t,e){return e&&(jU(e)==="object"||typeof e=="function")?e:kU(t)}function Od(t,e){return Od=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Od(t,e)}function jU(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function eE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(eE=function(){return!!t})()}var MU=24,yo=function(t){LU(e,t);function e(n){xU(this,e);var o;o=DU(this,e,[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 e}(Z);function NU(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function VU(t,e,n){return e=qc(e),qU(t,nE()?Reflect.construct(e,n||[],qc(t).constructor):e.apply(t,n))}function zU(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function tE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function CU(t,e,n){return e&&tE(t.prototype,e),n&&tE(t,n),t}function wd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function qc(t){return qc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qc(t)}function HU(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$d(t,e)}function qU(t,e){return e&&(UU(e)==="object"||typeof e=="function")?e:NU(t)}function $d(t,e){return $d=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$d(t,e)}function UU(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function nE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(nE=function(){return!!t})()}var so=function(t){HU(e,t);function e(n){zU(this,e);var o;return o=VU(this,e,[n]),wd(o,"props",void 0),o.props=new yo(n==null?void 0:n.props),o}return CU(e,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),e}(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(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function KU(t,e,n){return e=Uc(e),ZU(t,rE()?Reflect.construct(e,n||[],Uc(t).constructor):e.apply(t,n))}function GU(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function oE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function XU(t,e,n){return e&&oE(t.prototype,e),n&&oE(t,n),t}function QU(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Uc(t){return Uc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Uc(t)}function JU(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Pd(t,e)}function ZU(t,e){return e&&(YU(e)==="object"||typeof e=="function")?e:WU(t)}function Pd(t,e){return Pd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Pd(t,e)}function YU(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function rE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(rE=function(){return!!t})()}var eW=function(t){JU(e,t);function e(n){GU(this,e);var o;return o=KU(this,e,[n]),QU(o,"props",void 0),o.props=new yo(n==null?void 0:n.props),o}return XU(e,null,[{key:"controlType",get:function(){return"col"}}]),e}(Ot),iE={Designer:so,Runtime:eW,Property:yo};function tW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nW(t,e,n){return e=Wc(e),iW(t,cE()?Reflect.construct(e,n||[],Wc(t).constructor):e.apply(t,n))}function oW(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function uE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wc(t){return Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wc(t)}function rW(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ed(t,e)}function iW(t,e){return e&&(uW(e)==="object"||typeof e=="function")?e:tW(t)}function Ed(t,e){return Ed=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ed(t,e)}function uW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function cE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(cE=function(){return!!t})()}var Sd=function(t){rW(e,t);function e(n){oW(this,e);var o;o=nW(this,e,[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 e}(Z);function cW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lW(t,e,n){return e=Kc(e),yW(t,aE()?Reflect.construct(e,n||[],Kc(t).constructor):e.apply(t,n))}function aW(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function lE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function fW(t,e,n){return e&&lE(t.prototype,e),n&&lE(t,n),t}function Td(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Kc(t){return Kc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kc(t)}function _W(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Rd(t,e)}function yW(t,e){return e&&(sW(e)==="object"||typeof e=="function")?e:cW(t)}function Rd(t,e){return Rd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rd(t,e)}function sW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function aE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(aE=function(){return!!t})()}var Id=function(t){_W(e,t);function e(n){aW(this,e);var o;return o=lW(this,e,[n]),Td(o,"props",void 0),o.props=new Sd(n==null?void 0:n.props),o}return fW(e,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),e}(Y);Td(Id,"excludes",[y.ROW]),Td(Id,"setting",[{key:"col-setting",visible:!0}]);function pW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function dW(t,e,n){return e=Gc(e),mW(t,_E()?Reflect.construct(e,n||[],Gc(t).constructor):e.apply(t,n))}function vW(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function hW(t,e,n){return e&&fE(t.prototype,e),n&&fE(t,n),t}function bW(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gc(t){return Gc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gc(t)}function gW(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Bd(t,e)}function mW(t,e){return e&&(OW(e)==="object"||typeof e=="function")?e:pW(t)}function Bd(t,e){return Bd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bd(t,e)}function OW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _E(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_E=function(){return!!t})()}var wW=function(t){gW(e,t);function e(n){vW(this,e);var o;return o=dW(this,e,[n]),bW(o,"props",void 0),o.props=new Sd(n==null?void 0:n.props),o}return hW(e,null,[{key:"controlType",get:function(){return"row"}}]),e}(Ot);function $W(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function PW(t,e,n){return e=Xc(e),RW(t,sE()?Reflect.construct(e,n||[],Xc(t).constructor):e.apply(t,n))}function EW(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function SW(t,e,n){return e&&yE(t.prototype,e),n&&yE(t,n),t}function Ad(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xc(t){return Xc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xc(t)}function TW(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&kd(t,e)}function RW(t,e){return e&&(IW(e)==="object"||typeof e=="function")?e:$W(t)}function kd(t,e){return kd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kd(t,e)}function IW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function sE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(sE=function(){return!!t})()}var BW=4,Qc=function(t){TW(e,t);function e(n){return EW(this,e),PW(this,e,[n])}return SW(e,null,[{key:"controlName",get:function(){return"\u6805\u683C\u7B49\u5206\u884C"}},{key:"controlType",get:function(){return"grid-row"}},{key:"controlIcon",get:function(){return"grid-row"}}]),e}(Id);Ad(Qc,"excludes",[y.GRID_ROW]),Ad(Qc,"setting",[]),Ad(Qc,"childrenMaxLength",BW);function AW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kW(t,e,n){return e=Jc(e),FW(t,dE()?Reflect.construct(e,n||[],Jc(t).constructor):e.apply(t,n))}function DW(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function xW(t,e,n){return e&&pE(t.prototype,e),n&&pE(t,n),t}function Jc(t){return Jc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jc(t)}function LW(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Dd(t,e)}function FW(t,e){return e&&(jW(e)==="object"||typeof e=="function")?e:AW(t)}function Dd(t,e){return Dd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dd(t,e)}function jW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function dE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(dE=function(){return!!t})()}var MW=function(t){LW(e,t);function e(n){return DW(this,e),kW(this,e,[n])}return xW(e,null,[{key:"controlType",get:function(){return"grid-row"}}]),e}(wW);function NW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function VW(t,e,n){return e=Zc(e),HW(t,vE()?Reflect.construct(e,n||[],Zc(t).constructor):e.apply(t,n))}function zW(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zc(t){return Zc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zc(t)}function CW(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xd(t,e)}function HW(t,e){return e&&(qW(e)==="object"||typeof e=="function")?e:NW(t)}function xd(t,e){return xd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xd(t,e)}function qW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function vE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(vE=function(){return!!t})()}var UW=function(t){CW(e,t);function e(n){return zW(this,e),VW(this,e,[n])}return e}(Sd),WW={Designer:Qc,Runtime:MW,Property:UW};function KW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hE(t,e,n){return e=el(e),GW(t,mE()?Reflect.construct(e,n||[],el(t).constructor):e.apply(t,n))}function bE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function el(t){return el=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},el(t)}function gE(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ld(t,e)}function GW(t,e){return e&&(XW(e)==="object"||typeof e=="function")?e:KW(t)}function Ld(t,e){return Ld=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ld(t,e)}function XW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(mE=function(){return!!t})()}var QW=function(t){gE(e,t);function e(){bE(this,e);var n;return n=hE(this,e,arguments),Yc(n,"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),n}return e}(Z.Rules),OE=function(t){gE(e,t);function e(n){bE(this,e);var o;o=hE(this,e,[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 e}(Z);Yc(OE,"Rules",QW);function JW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ZW(t,e,n){return e=tl(e),nK(t,$E()?Reflect.construct(e,n||[],tl(t).constructor):e.apply(t,n))}function YW(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function eK(t,e,n){return e&&wE(t.prototype,e),n&&wE(t,n),t}function Fd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function tl(t){return tl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tl(t)}function tK(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&jd(t,e)}function nK(t,e){return e&&(oK(e)==="object"||typeof e=="function")?e:JW(t)}function jd(t,e){return jd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jd(t,e)}function oK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $E(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($E=function(){return!!t})()}var PE=function(t){tK(e,t);function e(n){YW(this,e);var o;return o=ZW(this,e,[n]),Fd(o,"props",void 0),o.props=new OE(n==null?void 0:n.props),o}return eK(e,null,[{key:"controlName",get:function(){return"\u5206\u7EC4"}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),e}(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(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function EE(t,e,n){return e=nl(e),iK(t,RE()?Reflect.construct(e,n||[],nl(t).constructor):e.apply(t,n))}function SE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ue(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function nl(t){return nl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nl(t)}function TE(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Md(t,e)}function iK(t,e){return e&&(uK(e)==="object"||typeof e=="function")?e:rK(t)}function Md(t,e){return Md=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Md(t,e)}function uK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function RE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(RE=function(){return!!t})()}var cK=function(t){TE(e,t);function e(n){SE(this,e);var o;return o=EE(this,e,[n]),Ue(o,"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),Ue(o,"width",{type:"number",required:!1,message:p.getMessage("pleaseEnterColumnWidth")}),Ue(o,"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return e}(W),ol=function(t){TE(e,t);function e(n){SE(this,e);var o;o=EE(this,e,[n]),Ue(o,"metaAutoWidth",void 0),Ue(o,"caption",void 0),Ue(o,"fixed",void 0),Ue(o,"isShowCaptionTip",void 0),Ue(o,"captionTip",void 0),Ue(o,"isHideCaption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:"";var i;o.fixed=(i=n==null?void 0:n.fixed)!==null&&i!==void 0?i:!1;var u;o.isShowCaptionTip=(u=n==null?void 0:n.isShowCaptionTip)!==null&&u!==void 0?u:!1;var c;o.captionTip=(c=n==null?void 0:n.captionTip)!==null&&c!==void 0?c:"";var a;return o.isHideCaption=(a=n==null?void 0:n.isHideCaption)!==null&&a!==void 0?a:!1,o.metaAutoWidth=new x0(n==null?void 0:n.metaAutoWidth),o}return e}(Z);Ue(ol,"Rules",cK);function lK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function aK(t,e,n){return e=rl(e),yK(t,IE()?Reflect.construct(e,n||[],rl(t).constructor):e.apply(t,n))}function fK(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function rl(t){return rl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rl(t)}function _K(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Nd(t,e)}function yK(t,e){return e&&(sK(e)==="object"||typeof e=="function")?e:lK(t)}function Nd(t,e){return Nd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Nd(t,e)}function sK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function IE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(IE=function(){return!!t})()}var Me=function(t){_K(e,t);function e(n){fK(this,e);var o;return o=aK(this,e,[n]),Pt(o,"props",void 0),o.props=new ol(n==null?void 0:n.props),o}return e}(Y);Pt(Me,"controlName","\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),Pt(Me,"controlType","subtable-column"),Pt(Me,"controlIcon","subtable-column"),Pt(Me,"childrenMaxLength",1),Pt(Me,"excludes",[y.SUBTABLE,y.SUBTABLE_COLUMN,y.ROW,y.COL,y.CARD_GROUP,y.DIVIDER,y.TEXT]),Pt(Me,"setting",[{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"common-setting",showItems:[f.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}]);function pK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function dK(t,e,n){return e=il(e),bK(t,AE()?Reflect.construct(e,n||[],il(t).constructor):e.apply(t,n))}function vK(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function BE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function il(t){return il=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},il(t)}function hK(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vd(t,e)}function bK(t,e){return e&&(gK(e)==="object"||typeof e=="function")?e:pK(t)}function Vd(t,e){return Vd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vd(t,e)}function gK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function AE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(AE=function(){return!!t})()}var kE=function(t){hK(e,t);function e(n){vK(this,e);var o;return o=dK(this,e,[n]),BE(o,"props",void 0),o.props=new ol(n==null?void 0:n.props),o}return e}(Ot);BE(kE,"controlType","subtable-column");var mK={Designer:Me,Runtime:kE,Property:ol};function OK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wK(t,e,n){return e=ul(e),EK(t,DE()?Reflect.construct(e,n||[],ul(t).constructor):e.apply(t,n))}function $K(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ul(t){return ul=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ul(t)}function PK(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&zd(t,e)}function EK(t,e){return e&&(SK(e)==="object"||typeof e=="function")?e:OK(t)}function zd(t,e){return zd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zd(t,e)}function SK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function DE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(DE=function(){return!!t})()}var TK=function(t){PK(e,t);function e(n){return $K(this,e),wK(this,e,[n])}return e}(Z);function RK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function IK(t,e,n){return e=cl(e),kK(t,xE()?Reflect.construct(e,n||[],cl(t).constructor):e.apply(t,n))}function BK(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Et(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function cl(t){return cl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cl(t)}function AK(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Cd(t,e)}function kK(t,e){return e&&(DK(e)==="object"||typeof e=="function")?e:RK(t)}function Cd(t,e){return Cd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cd(t,e)}function DK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xE=function(){return!!t})()}var fn=function(t){AK(e,t);function e(n){BK(this,e);var o;return o=IK(this,e,[n]),Et(o,"props",void 0),o.props=new TK(n==null?void 0:n.props),o}return e}(Y);Et(fn,"controlName","\u660E\u7EC6\u5B50\u8868\u884C"),Et(fn,"controlType","subtable-row"),Et(fn,"controlIcon","subtable-row"),Et(fn,"childrenMaxLength",1),Et(fn,"excludes",[y.SUBTABLE,y.SUBTABLE_COLUMN,y.SUBTABLE_ROW,y.ROW,y.COL,y.CARD_GROUP,y.DIVIDER,y.TEXT]),Et(fn,"setting",[{key:"caption",showItems:[f.CAPTION],visible:!0}]);function xK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function LK(t,e,n){return e=ll(e),MK(t,LE()?Reflect.construct(e,n||[],ll(t).constructor):e.apply(t,n))}function FK(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Te(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ll(t){return ll=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ll(t)}function jK(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hd(t,e)}function MK(t,e){return e&&(NK(e)==="object"||typeof e=="function")?e:xK(t)}function Hd(t,e){return Hd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hd(t,e)}function NK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function LE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(LE=function(){return!!t})()}var FE=function(t){jK(e,t);function e(n){FK(this,e);var o;o=LK(this,e,[n]),Te(o,"widthType",void 0),Te(o,"width",void 0),Te(o,"caption",void 0),Te(o,"fieldCode",void 0),Te(o,"fieldType",void 0),Te(o,"fieldName",void 0),Te(o,"datasourceBind",void 0),Te(o,"fixed",void 0),Te(o,"textCleanFormart",void 0),Te(o,"decimalKeepPrecision",void 0),Te(o,"timestampDateType",void 0),Te(o,"departmentDisplayLevel",void 0);var r;o.width=(r=n==null?void 0:n.width)!==null&&r!==void 0?r:200,o.widthType=(n==null?void 0:n.widthType)||"auto";var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:!1;var c;o.fieldCode=(c=n==null?void 0:n.fieldCode)!==null&&c!==void 0?c:"";var a;o.fieldType=(a=n==null?void 0:n.fieldType)!==null&&a!==void 0?a:g.VARCHAR;var l;o.fieldName=(l=n==null?void 0:n.fieldName)!==null&&l!==void 0?l:"",o.datasourceBind=new G(n==null?void 0:n.datasourceBind);var _;o.textCleanFormart=(_=n==null?void 0:n.textCleanFormart)!==null&&_!==void 0?_:!1;var s;o.decimalKeepPrecision=(s=n==null?void 0:n.decimalKeepPrecision)!==null&&s!==void 0?s:0;var d;o.timestampDateType=(d=n==null?void 0:n.timestampDateType)!==null&&d!==void 0?d:xt.DATE;var b;return o.departmentDisplayLevel=(b=n==null?void 0:n.departmentDisplayLevel)!==null&&b!==void 0?b:1,o}return e}(Z);function VK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zK(t,e,n){return e=al(e),qK(t,jE()?Reflect.construct(e,n||[],al(t).constructor):e.apply(t,n))}function CK(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function St(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function al(t){return al=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},al(t)}function HK(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&qd(t,e)}function qK(t,e){return e&&(UK(e)==="object"||typeof e=="function")?e:VK(t)}function qd(t,e){return qd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qd(t,e)}function UK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function jE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(jE=function(){return!!t})()}var _n=function(t){HK(e,t);function e(n){CK(this,e);var o;return o=zK(this,e,[n]),St(o,"props",void 0),o.props=new FE(n==null?void 0:n.props),o}return e}(Y);St(_n,"controlName","\u5217\u8868\u5355\u5143\u683C"),St(_n,"controlType","gridtable-column"),St(_n,"controlIcon","gridtable-column"),St(_n,"childrenMaxLength",1),St(_n,"excludes",[y.GRID_TABLE,y.GRID_TABLE_COLUMN,y.ROW,y.COL,y.CARD_GROUP,y.DIVIDER,y.TEXT]),St(_n,"setting",[{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}]);function WK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function KK(t,e,n){return e=fl(e),QK(t,NE()?Reflect.construct(e,n||[],fl(t).constructor):e.apply(t,n))}function GK(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ME(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fl(t){return fl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fl(t)}function XK(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ud(t,e)}function QK(t,e){return e&&(JK(e)==="object"||typeof e=="function")?e:WK(t)}function Ud(t,e){return Ud=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ud(t,e)}function JK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function NE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(NE=function(){return!!t})()}var ZK=function(t){XK(e,t);function e(n){GK(this,e);var o;return o=KK(this,e,[n]),ME(o,"props",void 0),o.props=new FE(n==null?void 0:n.props),o}return e}(Ot);ME(ZK,"controlType","gridtable-column");function YK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function eG(t,e,n){return e=_l(e),oG(t,zE()?Reflect.construct(e,n||[],_l(t).constructor):e.apply(t,n))}function tG(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function VE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _l(t){return _l=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_l(t)}function nG(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Wd(t,e)}function oG(t,e){return e&&(rG(e)==="object"||typeof e=="function")?e:YK(t)}function Wd(t,e){return Wd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wd(t,e)}function rG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function zE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zE=function(){return!!t})()}var iG=function(t){nG(e,t);function e(n){tG(this,e);var o;o=eG(this,e,[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 e}(Z);function uG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cG(t,e,n){return e=yl(e),_G(t,HE()?Reflect.construct(e,n||[],yl(t).constructor):e.apply(t,n))}function lG(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function CE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function aG(t,e,n){return e&&CE(t.prototype,e),n&&CE(t,n),t}function Kd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yl(t){return yl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yl(t)}function fG(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Gd(t,e)}function _G(t,e){return e&&(yG(e)==="object"||typeof e=="function")?e:uG(t)}function Gd(t,e){return Gd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gd(t,e)}function yG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function HE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(HE=function(){return!!t})()}var qE=function(t){fG(e,t);function e(n){lG(this,e);var o;return o=cG(this,e,[n]),Kd(o,"props",void 0),o.props=new iG(n==null?void 0:n.props),o}return aG(e,null,[{key:"controlName",get:function(){return"\u6362\u884C\u5BB9\u5668"}},{key:"controlType",get:function(){return"grid-layout-container"}},{key:"controlIcon",get:function(){return"icona-huanhangrongqi1"}}]),e}(Y);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(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function pG(t,e,n){return e=sl(e),bG(t,UE()?Reflect.construct(e,n||[],sl(t).constructor):e.apply(t,n))}function dG(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vG(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function sl(t){return sl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sl(t)}function hG(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xd(t,e)}function bG(t,e){return e&&(gG(e)==="object"||typeof e=="function")?e:sG(t)}function Xd(t,e){return Xd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xd(t,e)}function gG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function UE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(UE=function(){return!!t})()}var mG=function(t){hG(e,t);function e(n){dG(this,e);var o;o=pG(this,e,[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 e}(Z);function OG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function WE(t,e,n){return e=pl(e),wG(t,XE()?Reflect.construct(e,n||[],pl(t).constructor):e.apply(t,n))}function KE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pl(t){return pl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pl(t)}function GE(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Jd(t,e)}function wG(t,e){return e&&($G(e)==="object"||typeof e=="function")?e:OG(t)}function Jd(t,e){return Jd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jd(t,e)}function $G(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function XE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(XE=function(){return!!t})()}var PG=function(t){GE(e,t);function e(n){KE(this,e);var o;return o=WE(this,e,[n]),Qd(o,"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),o}return e}(W),QE=function(t){GE(e,t);function e(n){KE(this,e);var o;o=WE(this,e,[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 e}(Z);Qd(QE,"Rules",PG);function EG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function SG(t,e,n){return e=dl(e),BG(t,ZE()?Reflect.construct(e,n||[],dl(t).constructor):e.apply(t,n))}function TG(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function JE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function RG(t,e,n){return e&&JE(t.prototype,e),n&&JE(t,n),t}function Zd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function dl(t){return dl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dl(t)}function IG(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Yd(t,e)}function BG(t,e){return e&&(AG(e)==="object"||typeof e=="function")?e:EG(t)}function Yd(t,e){return Yd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yd(t,e)}function AG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ZE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ZE=function(){return!!t})()}var vl=function(t){IG(e,t);function e(n){TG(this,e);var o;return o=SG(this,e,[n]),Zd(o,"props",void 0),o.props=new QE(n==null?void 0:n.props),o}return RG(e,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u5355\u5143"}},{key:"controlType",get:function(){return"tab-pane"}},{key:"controlIcon",get:function(){return"tab-pane"}}]),e}(Y);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(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function DG(t,e,n){return e=bl(e),jG(t,eS()?Reflect.construct(e,n||[],bl(t).constructor):e.apply(t,n))}function xG(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function YE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function LG(t,e,n){return e&&YE(t.prototype,e),n&&YE(t,n),t}function hl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function bl(t){return bl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bl(t)}function FG(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ev(t,e)}function jG(t,e){return e&&(MG(e)==="object"||typeof e=="function")?e:kG(t)}function ev(t,e){return ev=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ev(t,e)}function MG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function eS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(eS=function(){return!!t})()}var gl=function(t){FG(e,t);function e(n){xG(this,e);var o;o=DG(this,e,[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(e,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u9875"}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),e}(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(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function VG(t,e,n){return e=ml(e),HG(t,tS()?Reflect.construct(e,n||[],ml(t).constructor):e.apply(t,n))}function zG(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ml(t){return ml=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ml(t)}function CG(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&tv(t,e)}function HG(t,e){return e&&(qG(e)==="object"||typeof e=="function")?e:NG(t)}function tv(t,e){return tv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},tv(t,e)}function qG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tS=function(){return!!t})()}var UG=function(t){CG(e,t);function e(n){return zG(this,e),VG(this,e,[n])}return e}(Z);function WG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function KG(t,e,n){return e=Ol(e),JG(t,rS()?Reflect.construct(e,n||[],Ol(t).constructor):e.apply(t,n))}function GG(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function XG(t,e,n){return e&&nS(t.prototype,e),n&&nS(t,n),t}function oS(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ol(t){return Ol=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ol(t)}function QG(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&nv(t,e)}function JG(t,e){return e&&(ZG(e)==="object"||typeof e=="function")?e:WG(t)}function nv(t,e){return nv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},nv(t,e)}function ZG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function rS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(rS=function(){return!!t})()}var YG=function(t){QG(e,t);function e(n){GG(this,e);var o;return o=KG(this,e,[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(e,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),e}(Y);oS(YG,"excludes",[y.GRID_ROW,y.ROW,y.GRID,y.SUBTABLE,y.TAB,y.TOOLBOX]);function eX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ov(t,e,n){return e=wl(e),tX(t,iS()?Reflect.construct(e,n||[],wl(t).constructor):e.apply(t,n))}function rv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function N(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function wl(t){return wl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wl(t)}function iv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&uv(t,e)}function tX(t,e){return e&&(nX(e)==="object"||typeof e=="function")?e:eX(t)}function uv(t,e){return uv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},uv(t,e)}function nX(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function iS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(iS=function(){return!!t})()}var oX=function(t){iv(e,t);function e(n){rv(this,e);var o;return o=ov(this,e,[n]),o.push({type:"object",fields:{}}),o}return e}(mt),rX=function(t){iv(e,t);function e(n){rv(this,e);var o;if(o=ov(this,e,[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:p.getMessage("pleaseEnterFieldCode")}),n.isShowJoinRelation&&(o.joinRelation=[{type:"object",message:p.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:p.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:p.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:p.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:p.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:p.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),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 e}(W),po=function(t){iv(e,t);function e(n){rv(this,e);var o,r,i;o=ov(this,e,[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 tk(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 d;o.showFullScreen=(d=n==null?void 0:n.showFullScreen)!==null&&d!==void 0?d:!1;var b;o.selectionType=(b=n==null?void 0:n.selectionType)!==null&&b!==void 0?b:"multiple";var O;o.isFixedHeader=(O=n==null?void 0:n.isFixedHeader)!==null&&O!==void 0?O:!1;var m;o.isShowSelection=(m=n==null?void 0:n.isShowSelection)!==null&&m!==void 0?m:!1;var w;o.isAllLoaded=(w=n==null?void 0:n.isAllLoaded)!==null&&w!==void 0?w:!0,o.countType=n==null?void 0:n.countType;var h;o.countLimit=(h=n==null?void 0:n.countLimit)!==null&&h!==void 0?h:1e5;var $;o.rowStyleType=($=n==null?void 0:n.rowStyleType)!==null&&$!==void 0?$:"none";var P;o.rowStyleBgColor=(P=n==null?void 0:n.rowStyleBgColor)!==null&&P!==void 0?P:"theme";var E;o.rowStyleRules=(n==null?void 0:n.rowStyleRules)&&Array.isArray(n==null?void 0:n.rowStyleRules)?(E=n==null||(r=n.rowStyleRules)===null||r===void 0?void 0:r.map(function(F){return new gk(F)}))!==null&&E!==void 0?E:[]:[];var T;return o.rowStyleRulesScript=(n==null?void 0:n.rowStyleRulesScript)&&Array.isArray(n==null?void 0:n.rowStyleRulesScript)?(T=n==null||(i=n.rowStyleRulesScript)===null||i===void 0?void 0:i.map(function(F){return new mk(F)}))!==null&&T!==void 0?T:[]:[],o}return e}(Z);N(po,"Rules",rX),N(po,"RuntimeRules",oX);function iX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function uX(t,e,n){return e=Pl(e),fX(t,cS()?Reflect.construct(e,n||[],Pl(t).constructor):e.apply(t,n))}function cX(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function uS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function lX(t,e,n){return e&&uS(t.prototype,e),n&&uS(t,n),t}function $l(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Pl(t){return Pl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pl(t)}function aX(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&cv(t,e)}function fX(t,e){return e&&(_X(e)==="object"||typeof e=="function")?e:iX(t)}function cv(t,e){return cv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cv(t,e)}function _X(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function cS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(cS=function(){return!!t})()}var El=function(t){aX(e,t);function e(n){cX(this,e);var o;return o=uX(this,e,[n]),$l(o,"props",void 0),o.props=new po(n==null?void 0:n.props),o}return lX(e,null,[{key:"controlName",get:function(){return"\u5217\u8868\u5BB9\u5668"}},{key:"controlType",get:function(){return"list-view"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),e}(Y);$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(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function sX(t,e,n){return e=Sl(e),bX(t,aS()?Reflect.construct(e,n||[],Sl(t).constructor):e.apply(t,n))}function pX(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function lS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function dX(t,e,n){return e&&lS(t.prototype,e),n&&lS(t,n),t}function vX(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Sl(t){return Sl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sl(t)}function hX(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&lv(t,e)}function bX(t,e){return e&&(gX(e)==="object"||typeof e=="function")?e:yX(t)}function lv(t,e){return lv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},lv(t,e)}function gX(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function aS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(aS=function(){return!!t})()}var mX=function(t){hX(e,t);function e(n){pX(this,e);var o;return o=sX(this,e,[n]),vX(o,"props",void 0),o.props=new po(n==null?void 0:n.props),o}return dX(e,null,[{key:"controlType",get:function(){return"list-view"}}]),e}(Ot),OX={Designer:El,Runtime:mX,Property:po};function wX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fS(t,e,n){return e=Tl(e),$X(t,sS()?Reflect.construct(e,n||[],Tl(t).constructor):e.apply(t,n))}function _S(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ht(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Tl(t){return Tl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tl(t)}function yS(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&av(t,e)}function $X(t,e){return e&&(PX(e)==="object"||typeof e=="function")?e:wX(t)}function av(t,e){return av=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},av(t,e)}function PX(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function sS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(sS=function(){return!!t})()}var EX=function(t){yS(e,t);function e(n){_S(this,e);var o;return o=fS(this,e,[n]),o.push({type:"object",fields:{}}),o}return e}(mt),Rl=function(t){yS(e,t);function e(n){_S(this,e);var o;o=fS(this,e,[n]),ht(o,"save",void 0),ht(o,"cancel",void 0),ht(o,"saveAs",void 0),ht(o,"print",void 0),ht(o,"custom",void 0),ht(o,"isLoading",void 0),ht(o,"datasourceBind",void 0);var r;o.save=new it((r=n==null?void 0:n.save)!==null&&r!==void 0?r:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var i;o.cancel=new it((i=n==null?void 0:n.cancel)!==null&&i!==void 0?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var u;o.saveAs=new it((u=n==null?void 0:n.saveAs)!==null&&u!==void 0?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1});var c;o.print=new it((c=n==null?void 0:n.print)!==null&&c!==void 0?c:{content:"\u6253\u5370",type:"print",isShow:!1});var a;o.custom=((a=n==null?void 0:n.custom)!==null&&a!==void 0?a:[]).map(function(_){return new it(_)});var l;return o.isLoading=(l=n==null?void 0:n.isLoading)!==null&&l!==void 0?l:!1,o.datasourceBind=new G(n==null?void 0:n.datasourceBind),o}return e}(Z);ht(Rl,"RuntimeRules",EX);function SX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function TX(t,e,n){return e=Il(e),AX(t,vS()?Reflect.construct(e,n||[],Il(t).constructor):e.apply(t,n))}function RX(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function IX(t,e,n){return e&&pS(t.prototype,e),n&&pS(t,n),t}function dS(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Il(t){return Il=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Il(t)}function BX(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fv(t,e)}function AX(t,e){return e&&(kX(e)==="object"||typeof e=="function")?e:SX(t)}function fv(t,e){return fv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fv(t,e)}function kX(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function vS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(vS=function(){return!!t})()}var hS=function(t){BX(e,t);function e(n){RX(this,e);var o;return o=TX(this,e,[n]),dS(o,"props",void 0),o.props=new Rl(n==null?void 0:n.props),o}return IX(e,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),e}(Y);dS(hS,"excludes",[]);function DX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xX(t,e,n){return e=Bl(e),NX(t,gS()?Reflect.construct(e,n||[],Bl(t).constructor):e.apply(t,n))}function LX(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function FX(t,e,n){return e&&bS(t.prototype,e),n&&bS(t,n),t}function jX(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Bl(t){return Bl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bl(t)}function MX(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_v(t,e)}function NX(t,e){return e&&(VX(e)==="object"||typeof e=="function")?e:DX(t)}function _v(t,e){return _v=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_v(t,e)}function VX(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function gS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(gS=function(){return!!t})()}var zX=function(t){MX(e,t);function e(n){LX(this,e);var o;return o=xX(this,e,[n]),jX(o,"props",void 0),o.props=new Rl(n==null?void 0:n.props),o}return FX(e,null,[{key:"controlType",get:function(){return"data-view"}}]),e}(Ot),CX={Designer:hS,Runtime:zX,Property:Rl};function HX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qX(t,e,n){return e=Al(e),KX(t,mS()?Reflect.construct(e,n||[],Al(t).constructor):e.apply(t,n))}function UX(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Al(t){return Al=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Al(t)}function WX(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&sv(t,e)}function KX(t,e){return e&&(GX(e)==="object"||typeof e=="function")?e:HX(t)}function sv(t,e){return sv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sv(t,e)}function GX(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(mS=function(){return!!t})()}var XX=function(t){WX(e,t);function e(n){UX(this,e);var o;o=qX(this,e,[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 e}(Z);function QX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function JX(t,e,n){return e=kl(e),tQ(t,wS()?Reflect.construct(e,n||[],kl(t).constructor):e.apply(t,n))}function ZX(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function OS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function YX(t,e,n){return e&&OS(t.prototype,e),n&&OS(t,n),t}function pv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function kl(t){return kl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kl(t)}function eQ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&dv(t,e)}function tQ(t,e){return e&&(nQ(e)==="object"||typeof e=="function")?e:QX(t)}function dv(t,e){return dv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dv(t,e)}function nQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function wS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(wS=function(){return!!t})()}var $S=function(t){eQ(e,t);function e(n){ZX(this,e);var o;o=JX(this,e,[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(e,null,[{key:"controlName",get:function(){return"\u6309\u94AE\u64CD\u4F5C\u680F"}},{key:"controlType",get:function(){return"action-bar"}},{key:"controlIcon",get:function(){return"action-bar"}}]),e}(Y);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(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vv(t,e,n){return e=Dl(e),rQ(t,PS()?Reflect.construct(e,n||[],Dl(t).constructor):e.apply(t,n))}function hv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function R(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Dl(t){return Dl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dl(t)}function bv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&gv(t,e)}function rQ(t,e){return e&&(iQ(e)==="object"||typeof e=="function")?e:oQ(t)}function gv(t,e){return gv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gv(t,e)}function iQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function PS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(PS=function(){return!!t})()}var uQ=function(t){bv(e,t);function e(n){hv(this,e);var o;return o=vv(this,e,[n]),R(o,"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),R(o,"limitRows",[{type:"number",required:!0,message:p.getMessage("isNotNumber")},{type:"number",min:0,message:p.getMessage("limitRowsCannotBeLessThan0")}]),R(o,"formKey",{type:"string",required:!1,message:p.getMessage("pleaseEnterForm")}),R(o,"maxHeight",{type:"number",required:!0,message:p.getMessage("pleaseEnterMaxHeight")}),R(o,"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")}),R(o,"mobileRowCaption",{type:"string",required:!1,message:p.getMessage("pleaseEnterRowCaption")}),n.openType==="modal"&&(o.formKey.required=!0),n.isShowCaptionTip&&(o.captionTip.required=!0),n.mobileShowType==="tile"&&(o.mobileRowCaption.required=!0),o}return e}(W),cQ=function(t){bv(e,t);function e(n){hv(this,e);var o;return o=vv(this,e,[n]),n.isHide||o.push({type:"array",required:n.limitRows>0,message:p.getMessage("runtimeRequired",{caption:n.caption})},{type:"array",validator:function(i,u,c){u.length<n.limitRows&&c(p.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})),c()},message:p.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})}),o}return e}(mt),mv=function(t){bv(e,t);function e(n,o){hv(this,e);var r;r=vv(this,e,[n,o,e.mode]),R(r,"caption",void 0),R(r,"labelPosition",void 0),R(r,"isHideCaption",void 0),R(r,"isShowCaptionTip",void 0),R(r,"captionTip",void 0),R(r,"defaultState",void 0),R(r,"limitRows",void 0),R(r,"maxRows",void 0),R(r,"defaultRows",void 0),R(r,"datasourceBind",void 0),R(r,"printMode",void 0),R(r,"openType",void 0),R(r,"formKey",void 0),R(r,"useCustomHeight",void 0),R(r,"maxHeight",void 0),R(r,"canAdd",void 0),R(r,"canDelete",void 0),R(r,"canCheck",void 0),R(r,"canEdit",void 0),R(r,"canImport",void 0),R(r,"canExport",void 0),R(r,"canClear",void 0),R(r,"isPaste",void 0),R(r,"mobileShowType",void 0),R(r,"mobileDefaultNum",void 0),R(r,"dataStorageDoc",void 0),R(r,"serverPagination",void 0),R(r,"fixedColumn",void 0),R(r,"mobileRowCaption",void 0),R(r,"mobileIsTile",void 0);var i;r.caption=(i=o==null?void 0:o.caption)!==null&&i!==void 0?i:$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 d;r.maxHeight=(d=o==null?void 0:o.maxHeight)!==null&&d!==void 0?d:Gx;var b;r.printMode=(b=o==null?void 0:o.printMode)!==null&&b!==void 0?b:"row";var O;r.limitRows=(O=o==null?void 0:o.limitRows)!==null&&O!==void 0?O:1;var m;r.maxRows=(m=o==null?void 0:o.maxRows)!==null&&m!==void 0?m:null;var w;r.defaultRows=(w=o==null?void 0:o.defaultRows)!==null&&w!==void 0?w:1,r.datasourceBind=new 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 P;r.canCheck=(P=o==null?void 0:o.canCheck)!==null&&P!==void 0?P:!1;var E;r.canEdit=(E=o==null?void 0:o.canEdit)!==null&&E!==void 0?E:!1;var T;r.canImport=(T=o==null?void 0:o.canImport)!==null&&T!==void 0?T:!1;var F;r.canExport=(F=o==null?void 0:o.canExport)!==null&&F!==void 0?F:!1;var A;r.canClear=(A=o==null?void 0:o.canClear)!==null&&A!==void 0?A:!0;var ue;r.serverPagination=(ue=o==null?void 0:o.serverPagination)!==null&&ue!==void 0?ue:!1;var I;r.isShowCaptionTip=(I=o==null?void 0:o.isShowCaptionTip)!==null&&I!==void 0?I:!1;var Ke;r.captionTip=(Ke=o==null?void 0:o.captionTip)!==null&&Ke!==void 0?Ke:"";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 kt;r.dataStorageDoc=(kt=o==null?void 0:o.dataStorageDoc)!==null&&kt!==void 0?kt:new JA;var Ge;r.fixedColumn=(Ge=o==null?void 0:o.fixedColumn)!==null&&Ge!==void 0?Ge:[];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 e}(kf);R(mv,"Rules",uQ),R(mv,"RuntimeRules",cQ);function lQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function aQ(t,e,n){return e=xl(e),sQ(t,SS()?Reflect.construct(e,n||[],xl(t).constructor):e.apply(t,n))}function fQ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ES(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function _Q(t,e,n){return e&&ES(t.prototype,e),n&&ES(t,n),t}function Ov(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function xl(t){return xl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xl(t)}function yQ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wv(t,e)}function sQ(t,e){return e&&(pQ(e)==="object"||typeof e=="function")?e:lQ(t)}function wv(t,e){return wv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wv(t,e)}function pQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function SS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(SS=function(){return!!t})()}var $v=function(t){yQ(e,t);function e(n){fQ(this,e);var o,r,i;return o=aQ(this,e,[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 Me,new Me,new Me]),(n==null||(i=n.props)===null||i===void 0?void 0:i.footers)===void 0&&(o.props.footers=[]),o}return _Q(e,[{key:"addColumn",value:function(o,r){var i=o!==void 0&&typeof o!="number"?o:new Me,u=typeof o=="number"?o:r;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}],[{key:"controlName",get:function(){return"\u660E\u7EC6\u5B50\u8868"}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),e}(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(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vQ(t,e,n){return e=Ll(e),gQ(t,TS()?Reflect.construct(e,n||[],Ll(t).constructor):e.apply(t,n))}function hQ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ll(t){return Ll=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ll(t)}function bQ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Pv(t,e)}function gQ(t,e){return e&&(mQ(e)==="object"||typeof e=="function")?e:dQ(t)}function Pv(t,e){return Pv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Pv(t,e)}function mQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function TS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(TS=function(){return!!t})()}var OQ=function(t){bQ(e,t);function e(n,o){hQ(this,e);var r;r=vQ(this,e,[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 e}(kf);function wQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function RS(t,e,n){return e=Fl(e),PQ(t,AS()?Reflect.construct(e,n||[],Fl(t).constructor):e.apply(t,n))}function IS(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $Q(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Fl(t){return Fl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fl(t)}function BS(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ev(t,e)}function PQ(t,e){return e&&(EQ(e)==="object"||typeof e=="function")?e:wQ(t)}function Ev(t,e){return Ev=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ev(t,e)}function EQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function AS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(AS=function(){return!!t})()}var SQ=function(t){BS(e,t);function e(n){IS(this,e);var o;return o=RS(this,e,[n]),o.caption.required=!1,o}return e}(ze),Sv=function(t){BS(e,t);function e(n){IS(this,e);var o,r,i;o=RS(this,e,[n]);var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:"left";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c: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 e}(U);$Q(Sv,"Rules",SQ);function TQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function RQ(t,e,n){return e=jl(e),AQ(t,kS()?Reflect.construct(e,n||[],jl(t).constructor):e.apply(t,n))}function IQ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ho(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function jl(t){return jl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jl(t)}function BQ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Tv(t,e)}function AQ(t,e){return e&&(kQ(e)==="object"||typeof e=="function")?e:TQ(t)}function Tv(t,e){return Tv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Tv(t,e)}function kQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function kS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(kS=function(){return!!t})()}var yn=function(t){BQ(e,t);function e(n){IQ(this,e);var o;return o=RQ(this,e,[n]),ho(o,"props",void 0),o.props=new Sv(n==null?void 0:n.props),o}return e}(te);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(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xQ(t,e,n){return e=Ml(e),jQ(t,DS()?Reflect.construct(e,n||[],Ml(t).constructor):e.apply(t,n))}function LQ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ml(t){return Ml=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ml(t)}function FQ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Iv(t,e)}function jQ(t,e){return e&&(MQ(e)==="object"||typeof e=="function")?e:DQ(t)}function Iv(t,e){return Iv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Iv(t,e)}function MQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function DS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(DS=function(){return!!t})()}var xS=function(t){FQ(e,t);function e(n){LQ(this,e);var o;return o=xQ(this,e,[n]),Rv(o,"props",void 0),o.props=new Sv(n==null?void 0:n.props),o}return e}(ne);Rv(xS,"controlType","order-column"),Rv(xS,"controlFieldType",g.DECIMAL);function NQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function VQ(t,e,n){return e=Nl(e),HQ(t,FS()?Reflect.construct(e,n||[],Nl(t).constructor):e.apply(t,n))}function zQ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function LS(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Nl(t){return Nl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nl(t)}function CQ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Bv(t,e)}function HQ(t,e){return e&&(qQ(e)==="object"||typeof e=="function")?e:NQ(t)}function Bv(t,e){return Bv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bv(t,e)}function qQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function FS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(FS=function(){return!!t})()}var jS=function(t){CQ(e,t);function e(n){zQ(this,e);var o,r;o=VQ(this,e,[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 e}(U);function UQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function MS(t,e,n,o,r,i,u){try{var c=t[i](u),a=c.value}catch(l){n(l);return}c.done?e(a):Promise.resolve(a).then(o,r)}function WQ(t){return function(){var e=this,n=arguments;return new Promise(function(o,r){var i=t.apply(e,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(t,e,n){return e=Tt(e),JQ(t,VS()?Reflect.construct(e,n||[],Tt(t).constructor):e.apply(t,n))}function GQ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function NS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function XQ(t,e,n){return e&&NS(t.prototype,e),n&&NS(t,n),t}function bo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function go(t,e,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(t,e,n||t)}function Tt(t){return Tt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tt(t)}function QQ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Av(t,e)}function JQ(t,e){return e&&(YQ(e)==="object"||typeof e=="function")?e:UQ(t)}function Av(t,e){return Av=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Av(t,e)}function ZQ(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Tt(t),t!==null););return t}function YQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function VS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(VS=function(){return!!t})()}function eJ(t,e){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(_){return a([l,_])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,o=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){u.label=l[1];break}if(l[0]===6&&u.label<r[1]){u.label=r[1],r=l;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(l);break}r[2]&&u.ops.pop(),u.trys.pop();continue}l=e.call(t,u)}catch(_){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(t){QQ(e,t);function e(n){GQ(this,e);var o;return o=KQ(this,e,[n]),bo(o,"props",void 0),o.props=new jS(n==null?void 0:n.props),o}return XQ(e,[{key:"toDataBindModel",value:function(){var o=go(Tt(e.prototype),"toDataBindModel",this).call(this);return this.children.map(function(r){if(r.type===ei.controlType){var i=r;o.props[i.props.command]=i.props}}),o}},{key:"validate",value:function(o,r){var i=this,u=this,c=function(){return go(Tt(e.prototype),"validate",i)};return WQ(function(){return eJ(this,function(a){switch(a.label){case 0:return[4,c().call(u,o,r)];case 1:return a.sent(),[4,Promise.all(u.children.map(function(l){return l.validate(o,r)}))];case 2:return a.sent(),[2,!0]}})})()}}]),e}(te);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 tJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nJ(t,e,n){return e=Vl(e),iJ(t,zS()?Reflect.construct(e,n||[],Vl(t).constructor):e.apply(t,n))}function oJ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function kv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Vl(t){return Vl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vl(t)}function rJ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Dv(t,e)}function iJ(t,e){return e&&(uJ(e)==="object"||typeof e=="function")?e:tJ(t)}function Dv(t,e){return Dv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dv(t,e)}function uJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function zS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zS=function(){return!!t})()}var CS=function(t){rJ(e,t);function e(n){oJ(this,e);var o;return o=nJ(this,e,[n]),kv(o,"props",void 0),o.props=new jS(n==null?void 0:n.props),o}return e}(ne);kv(CS,"controlType","operation-column"),kv(CS,"controlFieldType",g.FILE);function cJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function HS(t,e,n,o,r,i,u){try{var c=t[i](u),a=c.value}catch(l){n(l);return}c.done?e(a):Promise.resolve(a).then(o,r)}function lJ(t){return function(){var e=this,n=arguments;return new Promise(function(o,r){var i=t.apply(e,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(t,e,n){return e=Rt(e),vJ(t,US()?Reflect.construct(e,n||[],Rt(t).constructor):e.apply(t,n))}function fJ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function _J(t,e,n){return e&&qS(t.prototype,e),n&&qS(t,n),t}function zl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function mo(t,e,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(t,e,n||t)}function Rt(t){return Rt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rt(t)}function yJ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xv(t,e)}function sJ(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){zl(t,r,n[r])})}return t}function pJ(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,o)}return n}function dJ(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):pJ(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function vJ(t,e){return e&&(bJ(e)==="object"||typeof e=="function")?e:cJ(t)}function xv(t,e){return xv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xv(t,e)}function hJ(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Rt(t),t!==null););return t}function bJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function US(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(US=function(){return!!t})()}function gJ(t,e){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(_){return a([l,_])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,o=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){u.label=l[1];break}if(l[0]===6&&u.label<r[1]){u.label=r[1],r=l;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(l);break}r[2]&&u.ops.pop(),u.trys.pop();continue}l=e.call(t,u)}catch(_){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(t){yJ(e,t);function e(n){fJ(this,e);var o,r;return o=aJ(this,e,[n]),zl(o,"props",void 0),zl(o,"children",void 0),o.props=new OQ(o,n==null?void 0:n.props),Xe(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(e,[{key:"toSchema",value:function(){var o=mo(Rt(e.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(Rt(e.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(u.children.map(function(l){return l.validate(o,r)}))];case 2:return a.sent(),[2,!0]}})})()}}],[{key:"controlName",get:function(){return"\u8868\u683C"}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),e}(Lf);zl(mJ,"setting",[{key:"list-fixed-header",visible:!0}]);function OJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function WS(t,e,n){return e=Cl(e),wJ(t,XS()?Reflect.construct(e,n||[],Cl(t).constructor):e.apply(t,n))}function KS(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Cl(t){return Cl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cl(t)}function GS(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Lv(t,e)}function wJ(t,e){return e&&($J(e)==="object"||typeof e=="function")?e:OJ(t)}function Lv(t,e){return Lv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Lv(t,e)}function $J(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function XS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(XS=function(){return!!t})()}var PJ=function(t){GS(e,t);function e(n){KS(this,e);var o;return o=WS(this,e,[n]),_t.call(o,n),o}return e}(Ob),Fv=function(t){GS(e,t);function e(n){KS(this,e);var o;o=WS(this,e,[n]),bt(o,"optionConfig",void 0),bt(o,"datasourceBind",void 0),bt(o,"showLinkOperation",void 0),bt(o,"linkOperationOption",void 0),bt(o,"options",void 0),bt(o,"lineEllipsis",void 0),bt(o,"displayPlaintext",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r: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=Je((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 Qe(n==null?void 0:n.linkOperationOption);var a;o.lineEllipsis=(a=n==null?void 0:n.lineEllipsis)!==null&&a!==void 0?a:1;var l;return o.displayPlaintext=(l=n==null?void 0:n.displayPlaintext)!==null&&l!==void 0?l:!1,o}return e}(U);bt(Fv,"Rules",PJ);function EJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function SJ(t,e,n){return e=Hl(e),IJ(t,QS()?Reflect.construct(e,n||[],Hl(t).constructor):e.apply(t,n))}function TJ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Hl(t){return Hl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hl(t)}function RJ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&jv(t,e)}function IJ(t,e){return e&&(BJ(e)==="object"||typeof e=="function")?e:EJ(t)}function jv(t,e){return jv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jv(t,e)}function BJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function QS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(QS=function(){return!!t})()}var dn=function(t){RJ(e,t);function e(n){TJ(this,e);var o;return o=SJ(this,e,[n]),pn(o,"props",void 0),o.props=new Fv(n==null?void 0:n.props),o}return e}(te);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(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kJ(t,e,n){return e=ql(e),LJ(t,JS()?Reflect.construct(e,n||[],ql(t).constructor):e.apply(t,n))}function DJ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ql(t){return ql=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ql(t)}function xJ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Nv(t,e)}function LJ(t,e){return e&&(FJ(e)==="object"||typeof e=="function")?e:AJ(t)}function Nv(t,e){return Nv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Nv(t,e)}function FJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function JS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(JS=function(){return!!t})()}var ZS=function(t){xJ(e,t);function e(n){DJ(this,e);var o;return o=kJ(this,e,[n]),Mv(o,"props",void 0),o.props=new Fv(n==null?void 0:n.props),o}return e}(ne);Mv(ZS,"controlType","varchar-column"),Mv(ZS,"controlFieldType",g.VARCHAR);function jJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function YS(t,e,n){return e=Ul(e),MJ(t,nT()?Reflect.construct(e,n||[],Ul(t).constructor):e.apply(t,n))}function eT(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Oo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ul(t){return Ul=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ul(t)}function tT(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vv(t,e)}function MJ(t,e){return e&&(NJ(e)==="object"||typeof e=="function")?e:jJ(t)}function Vv(t,e){return Vv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vv(t,e)}function NJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function nT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(nT=function(){return!!t})()}var VJ=function(t){tT(e,t);function e(n){eT(this,e);var o;return o=YS(this,e,[n]),_t.call(o,n),o}return e}(ze),zv=function(t){tT(e,t);function e(n){eT(this,e);var o;o=YS(this,e,[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 Qe(n==null?void 0:n.linkOperationOption),o}return e}(U);Oo(zv,"Rules",VJ);function zJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function CJ(t,e,n){return e=hn(e),WJ(t,rT()?Reflect.construct(e,n||[],hn(t).constructor):e.apply(t,n))}function HJ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function oT(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function qJ(t,e,n){return e&&oT(t.prototype,e),n&&oT(t,n),t}function vn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wl(t,e,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(t,e,n||t)}function hn(t){return hn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hn(t)}function UJ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Cv(t,e)}function WJ(t,e){return e&&(GJ(e)==="object"||typeof e=="function")?e:zJ(t)}function Cv(t,e){return Cv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cv(t,e)}function KJ(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=hn(t),t!==null););return t}function GJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function rT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(rT=function(){return!!t})()}var bn=function(t){UJ(e,t);function e(n){HJ(this,e);var o;return o=CJ(this,e,[n]),vn(o,"props",void 0),o.props=new zv(n==null?void 0:n.props),o}return qJ(e,[{key:"toDataBindModel",value:function(o){var r=Wl(hn(e.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.escapeHTML;r.props.escapeHTML=i}return r}}]),e}(te);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(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function QJ(t,e,n){return e=Kl(e),YJ(t,iT()?Reflect.construct(e,n||[],Kl(t).constructor):e.apply(t,n))}function JJ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Kl(t){return Kl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kl(t)}function ZJ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&qv(t,e)}function YJ(t,e){return e&&(eZ(e)==="object"||typeof e=="function")?e:XJ(t)}function qv(t,e){return qv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qv(t,e)}function eZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function iT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(iT=function(){return!!t})()}var uT=function(t){ZJ(e,t);function e(n){JJ(this,e);var o;return o=QJ(this,e,[n]),Hv(o,"props",void 0),o.props=new zv(n==null?void 0:n.props),o}return e}(ne);Hv(uT,"controlType","text-column"),Hv(uT,"controlFieldType",g.TEXT);function tZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cT(t,e,n){return e=Gl(e),nZ(t,fT()?Reflect.construct(e,n||[],Gl(t).constructor):e.apply(t,n))}function lT(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gl(t){return Gl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gl(t)}function aT(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Uv(t,e)}function nZ(t,e){return e&&(oZ(e)==="object"||typeof e=="function")?e:tZ(t)}function Uv(t,e){return Uv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Uv(t,e)}function oZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(fT=function(){return!!t})()}var rZ=function(t){aT(e,t);function e(n){lT(this,e);var o;return o=cT(this,e,[n]),_t.call(o,n),o}return e}(ze),Wv=function(t){aT(e,t);function e(n){lT(this,e);var o;o=cT(this,e,[n]),nt(o,"optionConfig",void 0),nt(o,"datasourceBind",void 0),nt(o,"showLinkOperation",void 0),nt(o,"linkOperationOption",void 0),nt(o,"options",void 0),nt(o,"precision",void 0),nt(o,"micrometer",void 0),nt(o,"percentageFormat",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r: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=Je((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 Qe(n==null?void 0:n.linkOperationOption),o}return e}(U);nt(Wv,"Rules",rZ);function iZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function uZ(t,e,n){return e=mn(e),fZ(t,yT()?Reflect.construct(e,n||[],mn(t).constructor):e.apply(t,n))}function cZ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _T(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function lZ(t,e,n){return e&&_T(t.prototype,e),n&&_T(t,n),t}function gn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xl(t,e,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(t,e,n||t)}function mn(t){return mn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mn(t)}function aZ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Kv(t,e)}function fZ(t,e){return e&&(yZ(e)==="object"||typeof e=="function")?e:iZ(t)}function Kv(t,e){return Kv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kv(t,e)}function _Z(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=mn(t),t!==null););return t}function yZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function yT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(yT=function(){return!!t})()}var On=function(t){aZ(e,t);function e(n){cZ(this,e);var o;return o=uZ(this,e,[n]),gn(o,"props",void 0),o.props=new Wv(n==null?void 0:n.props),o}return lZ(e,[{key:"toDataBindModel",value:function(o){var r=Xl(mn(e.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props,u=i.precision,c=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=c}return r}}]),e}(te);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(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function pZ(t,e,n){return e=Ql(e),hZ(t,sT()?Reflect.construct(e,n||[],Ql(t).constructor):e.apply(t,n))}function dZ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ql(t){return Ql=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ql(t)}function vZ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xv(t,e)}function hZ(t,e){return e&&(bZ(e)==="object"||typeof e=="function")?e:sZ(t)}function Xv(t,e){return Xv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xv(t,e)}function bZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function sT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(sT=function(){return!!t})()}var pT=function(t){vZ(e,t);function e(n){dZ(this,e);var o;return o=pZ(this,e,[n]),Gv(o,"props",void 0),o.props=new Wv(n==null?void 0:n.props),o}return e}(ne);Gv(pT,"controlType","decimal-column"),Gv(pT,"controlFieldType",g.DECIMAL);function gZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function dT(t,e,n){return e=Zl(e),mZ(t,bT()?Reflect.construct(e,n||[],Zl(t).constructor):e.apply(t,n))}function vT(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Zl(t){return Zl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zl(t)}function hT(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Qv(t,e)}function mZ(t,e){return e&&(OZ(e)==="object"||typeof e=="function")?e:gZ(t)}function Qv(t,e){return Qv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qv(t,e)}function OZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function bT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(bT=function(){return!!t})()}var wZ=function(t){hT(e,t);function e(n){vT(this,e);var o;return o=dT(this,e,[n]),_t.call(o,n),o}return e}(ze),Jv=function(t){hT(e,t);function e(n){vT(this,e);var o;o=dT(this,e,[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:xt.DATE;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Qe(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 e}(U);Jl(Jv,"Rules",wZ);function $Z(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function PZ(t,e,n){return e=$n(e),RZ(t,mT()?Reflect.construct(e,n||[],$n(t).constructor):e.apply(t,n))}function EZ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gT(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function SZ(t,e,n){return e&&gT(t.prototype,e),n&&gT(t,n),t}function wn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yl(t,e,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(t,e,n||t)}function $n(t){return $n=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$n(t)}function TZ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Zv(t,e)}function RZ(t,e){return e&&(BZ(e)==="object"||typeof e=="function")?e:$Z(t)}function Zv(t,e){return Zv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zv(t,e)}function IZ(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=$n(t),t!==null););return t}function BZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(mT=function(){return!!t})()}var Pn=function(t){TZ(e,t);function e(n){EZ(this,e);var o;return o=PZ(this,e,[n]),wn(o,"props",void 0),o.props=new Jv(n==null?void 0:n.props),o}return SZ(e,[{key:"toDataBindModel",value:function(o){var r=Yl($n(e.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.dateType;r.props.dateType=i}return r}}]),e}(te);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(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kZ(t,e,n){return e=ea(e),LZ(t,OT()?Reflect.construct(e,n||[],ea(t).constructor):e.apply(t,n))}function DZ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ea(t){return ea=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ea(t)}function xZ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&eh(t,e)}function LZ(t,e){return e&&(FZ(e)==="object"||typeof e=="function")?e:AZ(t)}function eh(t,e){return eh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},eh(t,e)}function FZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function OT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(OT=function(){return!!t})()}var wT=function(t){xZ(e,t);function e(n){DZ(this,e);var o;return o=kZ(this,e,[n]),Yv(o,"props",void 0),o.props=new Jv(n==null?void 0:n.props),o}return e}(ne);Yv(wT,"controlType","timescope-column"),Yv(wT,"controlFieldType",g.TIMESCOPE);function jZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $T(t,e,n){return e=na(e),MZ(t,ST()?Reflect.construct(e,n||[],na(t).constructor):e.apply(t,n))}function PT(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ta(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function na(t){return na=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},na(t)}function ET(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&th(t,e)}function MZ(t,e){return e&&(NZ(e)==="object"||typeof e=="function")?e:jZ(t)}function th(t,e){return th=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},th(t,e)}function NZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ST(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ST=function(){return!!t})()}var VZ=function(t){ET(e,t);function e(n){PT(this,e);var o;return o=$T(this,e,[n]),_t.call(o,n),o}return e}(ze),nh=function(t){ET(e,t);function e(n){PT(this,e);var o;o=$T(this,e,[n]),ta(o,"dateType",void 0),ta(o,"showLinkOperation",void 0),ta(o,"linkOperationOption",void 0);var r;o.dateType=(r=n==null?void 0:n.dateType)!==null&&r!==void 0?r:xt.DATE;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Qe(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 e}(U);ta(nh,"Rules",VZ);function zZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function CZ(t,e,n){return e=Sn(e),WZ(t,RT()?Reflect.construct(e,n||[],Sn(t).constructor):e.apply(t,n))}function HZ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function TT(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function qZ(t,e,n){return e&&TT(t.prototype,e),n&&TT(t,n),t}function En(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function oa(t,e,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(t,e,n||t)}function Sn(t){return Sn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sn(t)}function UZ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&oh(t,e)}function WZ(t,e){return e&&(GZ(e)==="object"||typeof e=="function")?e:zZ(t)}function oh(t,e){return oh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},oh(t,e)}function KZ(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Sn(t),t!==null););return t}function GZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function RT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(RT=function(){return!!t})()}var Tn=function(t){UZ(e,t);function e(n){HZ(this,e);var o;return o=CZ(this,e,[n]),En(o,"props",void 0),o.props=new nh(n==null?void 0:n.props),o}return qZ(e,[{key:"toDataBindModel",value:function(o){var r=oa(Sn(e.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.dateType;r.props.dateType=i}return r}}]),e}(te);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(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function QZ(t,e,n){return e=ra(e),YZ(t,IT()?Reflect.construct(e,n||[],ra(t).constructor):e.apply(t,n))}function JZ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ra(t){return ra=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ra(t)}function ZZ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ih(t,e)}function YZ(t,e){return e&&(eY(e)==="object"||typeof e=="function")?e:XZ(t)}function ih(t,e){return ih=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ih(t,e)}function eY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function IT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(IT=function(){return!!t})()}var BT=function(t){ZZ(e,t);function e(n){JZ(this,e);var o;return o=QZ(this,e,[n]),rh(o,"props",void 0),o.props=new nh(n==null?void 0:n.props),o}return e}(ne);rh(BT,"controlType","timestamp-column"),rh(BT,"controlFieldType",g.TIMESTAMP);function tY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function AT(t,e,n){return e=ia(e),nY(t,xT()?Reflect.construct(e,n||[],ia(t).constructor):e.apply(t,n))}function kT(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ia(t){return ia=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ia(t)}function DT(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&uh(t,e)}function nY(t,e){return e&&(oY(e)==="object"||typeof e=="function")?e:tY(t)}function uh(t,e){return uh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},uh(t,e)}function oY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xT=function(){return!!t})()}var rY=function(t){DT(e,t);function e(n){kT(this,e);var o;return o=AT(this,e,[n]),_t.call(o,n),o}return e}(Ob),ch=function(t){DT(e,t);function e(n){kT(this,e);var o;o=AT(this,e,[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 Qe(n==null?void 0:n.linkOperationOption);var c;return o.options=Je((c=n==null?void 0:n.options)!==null&&c!==void 0?c:[{}]),o}return e}(U);Rn(ch,"Rules",rY);function iY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function uY(t,e,n){return e=ua(e),aY(t,LT()?Reflect.construct(e,n||[],ua(t).constructor):e.apply(t,n))}function cY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function In(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ua(t){return ua=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ua(t)}function lY(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&lh(t,e)}function aY(t,e){return e&&(fY(e)==="object"||typeof e=="function")?e:iY(t)}function lh(t,e){return lh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},lh(t,e)}function fY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function LT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(LT=function(){return!!t})()}var Bn=function(t){lY(e,t);function e(n){cY(this,e);var o;return o=uY(this,e,[n]),In(o,"props",void 0),o.props=new ch(n==null?void 0:n.props),o}return e}(te);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(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yY(t,e,n){return e=ca(e),dY(t,FT()?Reflect.construct(e,n||[],ca(t).constructor):e.apply(t,n))}function sY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ah(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ca(t){return ca=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ca(t)}function pY(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fh(t,e)}function dY(t,e){return e&&(vY(e)==="object"||typeof e=="function")?e:_Y(t)}function fh(t,e){return fh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fh(t,e)}function vY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function FT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(FT=function(){return!!t})()}var jT=function(t){pY(e,t);function e(n){sY(this,e);var o;return o=yY(this,e,[n]),ah(o,"props",void 0),o.props=new ch(n==null?void 0:n.props),o}return e}(ne);ah(jT,"controlType","array-column"),ah(jT,"controlFieldType",g.ARRAY);function hY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bY(t,e,n){return e=la(e),wY(t,MT()?Reflect.construct(e,n||[],la(t).constructor):e.apply(t,n))}function gY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mY(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function la(t){return la=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},la(t)}function OY(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_h(t,e)}function wY(t,e){return e&&($Y(e)==="object"||typeof e=="function")?e:hY(t)}function _h(t,e){return _h=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_h(t,e)}function $Y(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function MT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(MT=function(){return!!t})()}var NT=function(t){OY(e,t);function e(n){gY(this,e);var o;o=bY(this,e,[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 e}(U);function PY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function EY(t,e,n){return e=kn(e),IY(t,zT()?Reflect.construct(e,n||[],kn(t).constructor):e.apply(t,n))}function SY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function VT(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function TY(t,e,n){return e&&VT(t.prototype,e),n&&VT(t,n),t}function An(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function aa(t,e,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(t,e,n||t)}function kn(t){return kn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kn(t)}function RY(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&yh(t,e)}function IY(t,e){return e&&(AY(e)==="object"||typeof e=="function")?e:PY(t)}function yh(t,e){return yh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yh(t,e)}function BY(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=kn(t),t!==null););return t}function AY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function zT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zT=function(){return!!t})()}var Dn=function(t){RY(e,t);function e(n){SY(this,e);var o;return o=EY(this,e,[n]),An(o,"props",void 0),o.props=new NT(n==null?void 0:n.props),o}return TY(e,[{key:"toDataBindModel",value:function(o){var r=aa(kn(e.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.displayLevel;r.props.displayLevel=i}return r}}]),e}(te);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(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function DY(t,e,n){return e=fa(e),FY(t,CT()?Reflect.construct(e,n||[],fa(t).constructor):e.apply(t,n))}function xY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fa(t){return fa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fa(t)}function LY(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ph(t,e)}function FY(t,e){return e&&(jY(e)==="object"||typeof e=="function")?e:kY(t)}function ph(t,e){return ph=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ph(t,e)}function jY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function CT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(CT=function(){return!!t})()}var HT=function(t){LY(e,t);function e(n){xY(this,e);var o;return o=DY(this,e,[n]),sh(o,"props",void 0),o.props=new NT(n==null?void 0:n.props),o}return e}(ne);sh(HT,"controlType","department-column"),sh(HT,"controlFieldType",g.DEPARTMENTS);function MY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qT(t,e,n){return e=_a(e),NY(t,KT()?Reflect.construct(e,n||[],_a(t).constructor):e.apply(t,n))}function UT(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _a(t){return _a=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_a(t)}function WT(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&vh(t,e)}function NY(t,e){return e&&(VY(e)==="object"||typeof e=="function")?e:MY(t)}function vh(t,e){return vh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vh(t,e)}function VY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function KT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(KT=function(){return!!t})()}var zY=function(t){WT(e,t);function e(n){UT(this,e);var o;return o=qT(this,e,[n]),_t.call(o,n),o}return e}(ze),hh=function(t){WT(e,t);function e(n){UT(this,e);var o;o=qT(this,e,[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 Qe(n==null?void 0:n.linkOperationOption),o}return e}(U);dh(hh,"Rules",zY);function CY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function HY(t,e,n){return e=ya(e),WY(t,GT()?Reflect.construct(e,n||[],ya(t).constructor):e.apply(t,n))}function qY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ya(t){return ya=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ya(t)}function UY(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&bh(t,e)}function WY(t,e){return e&&(KY(e)==="object"||typeof e=="function")?e:CY(t)}function bh(t,e){return bh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},bh(t,e)}function KY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function GT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(GT=function(){return!!t})()}var Ln=function(t){UY(e,t);function e(n){qY(this,e);var o;return o=HY(this,e,[n]),xn(o,"props",void 0),o.props=new hh(n==null?void 0:n.props),o}return e}(te);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(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function XY(t,e,n){return e=sa(e),ZY(t,XT()?Reflect.construct(e,n||[],sa(t).constructor):e.apply(t,n))}function QY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function sa(t){return sa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sa(t)}function JY(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&mh(t,e)}function ZY(t,e){return e&&(YY(e)==="object"||typeof e=="function")?e:GY(t)}function mh(t,e){return mh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},mh(t,e)}function YY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function XT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(XT=function(){return!!t})()}var QT=function(t){JY(e,t);function e(n){QY(this,e);var o;return o=XY(this,e,[n]),gh(o,"props",void 0),o.props=new hh(n==null?void 0:n.props),o}return e}(ne);gh(QT,"controlType","auto-number-column"),gh(QT,"controlFieldType",g.AUTO_NUMBER);function eee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tee(t,e,n){return e=pa(e),ree(t,JT()?Reflect.construct(e,n||[],pa(t).constructor):e.apply(t,n))}function nee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pa(t){return pa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pa(t)}function oee(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Oh(t,e)}function ree(t,e){return e&&(iee(e)==="object"||typeof e=="function")?e:eee(t)}function Oh(t,e){return Oh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Oh(t,e)}function iee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function JT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(JT=function(){return!!t})()}var ZT=function(t){oee(e,t);function e(n){nee(this,e);var o;o=tee(this,e,[n]);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:jn.controlName,o}return e}(U);function uee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cee(t,e,n){return e=da(e),fee(t,YT()?Reflect.construct(e,n||[],da(t).constructor):e.apply(t,n))}function lee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function da(t){return da=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},da(t)}function aee(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wh(t,e)}function fee(t,e){return e&&(_ee(e)==="object"||typeof e=="function")?e:uee(t)}function wh(t,e){return wh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wh(t,e)}function _ee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function YT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(YT=function(){return!!t})()}var jn=function(t){aee(e,t);function e(n){lee(this,e);var o;return o=cee(this,e,[n]),Fn(o,"props",void 0),o.props=new ZT(n==null?void 0:n.props),o}return e}(te);Fn(jn,"controlType","file-column"),Fn(jn,"controlName","\u9644\u4EF6"),Fn(jn,"controlIcon","file-column"),Fn(jn,"controlFieldType",g.FILE),Fn(jn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[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 yee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function see(t,e,n){return e=va(e),vee(t,eR()?Reflect.construct(e,n||[],va(t).constructor):e.apply(t,n))}function pee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function va(t){return va=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},va(t)}function dee(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ph(t,e)}function vee(t,e){return e&&(hee(e)==="object"||typeof e=="function")?e:yee(t)}function Ph(t,e){return Ph=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ph(t,e)}function hee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function eR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(eR=function(){return!!t})()}var tR=function(t){dee(e,t);function e(n){pee(this,e);var o;return o=see(this,e,[n]),$h(o,"props",void 0),o.props=new ZT(n==null?void 0:n.props),o}return e}(ne);$h(tR,"controlType","file-column"),$h(tR,"controlFieldType",g.FILE);function bee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function gee(t,e,n){return e=ha(e),wee(t,nR()?Reflect.construct(e,n||[],ha(t).constructor):e.apply(t,n))}function mee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ha(t){return ha=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ha(t)}function Oee(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Eh(t,e)}function wee(t,e){return e&&($ee(e)==="object"||typeof e=="function")?e:bee(t)}function Eh(t,e){return Eh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Eh(t,e)}function $ee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function nR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(nR=function(){return!!t})()}var oR=function(t){Oee(e,t);function e(n){mee(this,e);var o;o=gee(this,e,[n]);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Nn.controlName,o}return e}(U);function Pee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Eee(t,e,n){return e=ba(e),Ree(t,rR()?Reflect.construct(e,n||[],ba(t).constructor):e.apply(t,n))}function See(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ba(t){return ba=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ba(t)}function Tee(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Sh(t,e)}function Ree(t,e){return e&&(Iee(e)==="object"||typeof e=="function")?e:Pee(t)}function Sh(t,e){return Sh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sh(t,e)}function Iee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function rR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(rR=function(){return!!t})()}var Nn=function(t){Tee(e,t);function e(n){See(this,e);var o;return o=Eee(this,e,[n]),Mn(o,"props",void 0),o.props=new oR(n==null?void 0:n.props),o}return e}(te);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 Bee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Aee(t,e,n){return e=ga(e),xee(t,iR()?Reflect.construct(e,n||[],ga(t).constructor):e.apply(t,n))}function kee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Th(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ga(t){return ga=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ga(t)}function Dee(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Rh(t,e)}function xee(t,e){return e&&(Lee(e)==="object"||typeof e=="function")?e:Bee(t)}function Rh(t,e){return Rh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rh(t,e)}function Lee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function iR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(iR=function(){return!!t})()}var uR=function(t){Dee(e,t);function e(n){kee(this,e);var o;return o=Aee(this,e,[n]),Th(o,"props",void 0),o.props=new oR(n==null?void 0:n.props),o}return e}(ne);Th(uR,"controlType","image-column"),Th(uR,"controlFieldType",g.IMAGE);function Fee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jee(t,e,n){return e=ma(e),Vee(t,cR()?Reflect.construct(e,n||[],ma(t).constructor):e.apply(t,n))}function Mee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ma(t){return ma=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ma(t)}function Nee(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ih(t,e)}function Vee(t,e){return e&&(zee(e)==="object"||typeof e=="function")?e:Fee(t)}function Ih(t,e){return Ih=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ih(t,e)}function zee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function cR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(cR=function(){return!!t})()}var lR=function(t){Nee(e,t);function e(n){Mee(this,e);var o;o=jee(this,e,[n]);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:zn.controlName,o}return e}(U);function Cee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Hee(t,e,n){return e=Oa(e),Wee(t,aR()?Reflect.construct(e,n||[],Oa(t).constructor):e.apply(t,n))}function qee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Oa(t){return Oa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oa(t)}function Uee(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Bh(t,e)}function Wee(t,e){return e&&(Kee(e)==="object"||typeof e=="function")?e:Cee(t)}function Bh(t,e){return Bh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bh(t,e)}function Kee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function aR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(aR=function(){return!!t})()}var zn=function(t){Uee(e,t);function e(n){qee(this,e);var o;return o=Hee(this,e,[n]),Vn(o,"props",void 0),o.props=new lR(n==null?void 0:n.props),o}return e}(te);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 Gee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Xee(t,e,n){return e=wa(e),Zee(t,fR()?Reflect.construct(e,n||[],wa(t).constructor):e.apply(t,n))}function Qee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ah(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function wa(t){return wa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wa(t)}function Jee(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&kh(t,e)}function Zee(t,e){return e&&(Yee(e)==="object"||typeof e=="function")?e:Gee(t)}function kh(t,e){return kh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kh(t,e)}function Yee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(fR=function(){return!!t})()}var _R=function(t){Jee(e,t);function e(n){Qee(this,e);var o;return o=Xee(this,e,[n]),Ah(o,"props",void 0),o.props=new lR(n==null?void 0:n.props),o}return e}(ne);Ah(_R,"controlType","people-column"),Ah(_R,"controlFieldType",g.EMPLOYEES);function ete(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yR(t,e,n){return e=$a(e),tte(t,dR()?Reflect.construct(e,n||[],$a(t).constructor):e.apply(t,n))}function sR(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $a(t){return $a=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$a(t)}function pR(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xh(t,e)}function tte(t,e){return e&&(nte(e)==="object"||typeof e=="function")?e:ete(t)}function xh(t,e){return xh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xh(t,e)}function nte(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function dR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(dR=function(){return!!t})()}var ote=function(t){pR(e,t);function e(n){sR(this,e);var o;return o=yR(this,e,[n]),_t.call(o,n),o}return e}(ze),Lh=function(t){pR(e,t);function e(n){sR(this,e);var o;o=yR(this,e,[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 Qe(n==null?void 0:n.linkOperationOption),o}return e}(U);Dh(Lh,"Rules",ote);function rte(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ite(t,e,n){return e=Pa(e),lte(t,vR()?Reflect.construct(e,n||[],Pa(t).constructor):e.apply(t,n))}function ute(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Cn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Pa(t){return Pa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pa(t)}function cte(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Fh(t,e)}function lte(t,e){return e&&(ate(e)==="object"||typeof e=="function")?e:rte(t)}function Fh(t,e){return Fh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fh(t,e)}function ate(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function vR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(vR=function(){return!!t})()}var Hn=function(t){cte(e,t);function e(n){ute(this,e);var o;return o=ite(this,e,[n]),Cn(o,"props",void 0),o.props=new Lh(n==null?void 0:n.props),o}return e}(te);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 fte(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _te(t,e,n){return e=Ea(e),pte(t,hR()?Reflect.construct(e,n||[],Ea(t).constructor):e.apply(t,n))}function yte(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ea(t){return Ea=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ea(t)}function ste(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Mh(t,e)}function pte(t,e){return e&&(dte(e)==="object"||typeof e=="function")?e:fte(t)}function Mh(t,e){return Mh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Mh(t,e)}function dte(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function hR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(hR=function(){return!!t})()}var bR=function(t){ste(e,t);function e(n){yte(this,e);var o;return o=_te(this,e,[n]),jh(o,"props",void 0),o.props=new Lh(n==null?void 0:n.props),o}return e}(ne);jh(bR,"controlType","location-column"),jh(bR,"controlFieldType",g.ADDRESS);function vte(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function gR(t,e,n){return e=Ta(e),hte(t,wR()?Reflect.construct(e,n||[],Ta(t).constructor):e.apply(t,n))}function mR(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sa(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ta(t){return Ta=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ta(t)}function OR(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Nh(t,e)}function hte(t,e){return e&&(bte(e)==="object"||typeof e=="function")?e:vte(t)}function Nh(t,e){return Nh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Nh(t,e)}function bte(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function wR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(wR=function(){return!!t})()}var gte=function(t){OR(e,t);function e(n){mR(this,e);var o;return o=gR(this,e,[n]),Sa(o,"sortFieldCode",{type:"string",message:p.getMessage("pleaseSelectSortFieldCode")}),n.sort===!0&&(o.sortFieldCode.required=!0),o}return e}(ze),Vh=function(t){OR(e,t);function e(n){mR(this,e);var o;o=gR(this,e,[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:It.controlName;var i;o.fieldCodeList=(i=n==null?void 0:n.fieldCodeList)!==null&&i!==void 0?i:[];var u;return o.sortFieldCode=(u=n==null?void 0:n.sortFieldCode)!==null&&u!==void 0?u:"",o}return e}(U);Sa(Vh,"Rules",gte);function mte(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ote(t,e,n){return e=qn(e),Ste(t,PR()?Reflect.construct(e,n||[],qn(t).constructor):e.apply(t,n))}function wte(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $R(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function $te(t,e,n){return e&&$R(t.prototype,e),n&&$R(t,n),t}function We(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ra(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Ra=Reflect.get:Ra=function(r,i,u){var c=Tte(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Ra(t,e,n||t)}function qn(t){return qn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qn(t)}function Pte(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&zh(t,e)}function Ete(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Ste(t,e){return e&&(Rte(e)==="object"||typeof e=="function")?e:mte(t)}function zh(t,e){return zh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zh(t,e)}function Tte(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=qn(t),t!==null););return t}function Rte(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function PR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(PR=function(){return!!t})()}var Ite=1,It=function(e){Pte(n,e);function n(o){wte(this,n);var r;r=Ote(this,n,[o]),We(r,"excludes",void 0),We(r,"childrenMaxLength",void 0),We(r,"props",void 0),We(r,"children",void 0);var i=Ete(this,n)?this.constructor:void 0,u=i.excludes,c=i.childrenMaxLength;return r.props=new Vh(o==null?void 0:o.props),Xe(r,"children",o==null?void 0:o.children,void 0,"Designer"),r.excludes=ot(u),r.childrenMaxLength=c,r}return $te(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}(te);We(It,"controlType","custom-column"),We(It,"controlName","\u81EA\u5B9A\u4E49"),We(It,"controlIcon","custom-column"),We(It,"excludes",[]),We(It,"childrenMaxLength",Ite),We(It,"setting",[{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0}]);function Bte(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ate(t,e,n){return e=Ia(e),xte(t,ER()?Reflect.construct(e,n||[],Ia(t).constructor):e.apply(t,n))}function kte(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ch(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ia(t){return Ia=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ia(t)}function Dte(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hh(t,e)}function xte(t,e){return e&&(Lte(e)==="object"||typeof e=="function")?e:Bte(t)}function Hh(t,e){return Hh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hh(t,e)}function Lte(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ER(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ER=function(){return!!t})()}var Fte=function(t){Dte(e,t);function e(n){kte(this,e);var o;return o=Ate(this,e,[n]),Ch(o,"props",void 0),Ch(o,"children",void 0),o.props=new Vh(n==null?void 0:n.props),Xe(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return e}(ne);Ch(Fte,"controlType","custom-column");function jte(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Mte(t,e,n){return e=Ba(e),Cte(t,SR()?Reflect.construct(e,n||[],Ba(t).constructor):e.apply(t,n))}function Nte(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vte(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ba(t){return Ba=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ba(t)}function zte(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&qh(t,e)}function Cte(t,e){return e&&(Hte(e)==="object"||typeof e=="function")?e:jte(t)}function qh(t,e){return qh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qh(t,e)}function Hte(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function SR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(SR=function(){return!!t})()}var TR=function(t){zte(e,t);function e(n){Nte(this,e);var o;o=Mte(this,e,[n]),Vte(o,"datasourceBind",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Bt.controlName;var i;return o.datasourceBind=new Bo((i=n==null?void 0:n.datasourceBind)!==null&&i!==void 0?i:{attributes:Bt.controlCustomAttributes}),o}return e}(U);function qte(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ute(t,e,n){return e=Aa(e),Xte(t,IR()?Reflect.construct(e,n||[],Aa(t).constructor):e.apply(t,n))}function Wte(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function RR(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Kte(t,e,n){return e&&RR(t.prototype,e),n&&RR(t,n),t}function Un(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Aa(t){return Aa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Aa(t)}function Gte(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Uh(t,e)}function Xte(t,e){return e&&(Qte(e)==="object"||typeof e=="function")?e:qte(t)}function Uh(t,e){return Uh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Uh(t,e)}function Qte(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function IR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(IR=function(){return!!t})()}var Bt=function(t){Gte(e,t);function e(n){Wte(this,e);var o;return o=Ute(this,e,[n]),Un(o,"props",void 0),o.props=new TR(n==null?void 0:n.props),o}return Kte(e,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),e}(te);Un(Bt,"controlType","employee-column"),Un(Bt,"controlName","\u4EBA\u5458"),Un(Bt,"controlIcon","employee-column"),Un(Bt,"controlFieldType",g.EMPLOYEES),Un(Bt,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function Jte(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Zte(t,e,n){return e=ka(e),tne(t,BR()?Reflect.construct(e,n||[],ka(t).constructor):e.apply(t,n))}function Yte(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ka(t){return ka=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ka(t)}function ene(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Kh(t,e)}function tne(t,e){return e&&(nne(e)==="object"||typeof e=="function")?e:Jte(t)}function Kh(t,e){return Kh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kh(t,e)}function nne(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function BR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(BR=function(){return!!t})()}var AR=function(t){ene(e,t);function e(n){Yte(this,e);var o;return o=Zte(this,e,[n]),Wh(o,"props",void 0),o.props=new TR(n==null?void 0:n.props),o}return e}(ne);Wh(AR,"controlType","employee-column"),Wh(AR,"controlFieldType",g.EMPLOYEES);function one(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rne(t,e,n){return e=Da(e),cne(t,kR()?Reflect.construct(e,n||[],Da(t).constructor):e.apply(t,n))}function ine(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Da(t){return Da=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Da(t)}function une(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xh(t,e)}function cne(t,e){return e&&(lne(e)==="object"||typeof e=="function")?e:one(t)}function Xh(t,e){return Xh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xh(t,e)}function lne(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function kR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(kR=function(){return!!t})()}var DR=function(t){une(e,t);function e(n){ine(this,e);var o;o=rne(this,e,[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 Qe(n==null?void 0:n.linkOperationOption);var u;return o.lineEllipsis=(u=n==null?void 0:n.lineEllipsis)!==null&&u!==void 0?u:1,o}return e}(U);function ane(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fne(t,e,n){return e=xa(e),sne(t,xR()?Reflect.construct(e,n||[],xa(t).constructor):e.apply(t,n))}function _ne(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function At(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function xa(t){return xa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xa(t)}function yne(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Qh(t,e)}function sne(t,e){return e&&(pne(e)==="object"||typeof e=="function")?e:ane(t)}function Qh(t,e){return Qh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qh(t,e)}function pne(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xR=function(){return!!t})()}var Wn=function(t){yne(e,t);function e(n){_ne(this,e);var o;return o=fne(this,e,[n]),At(o,"props",void 0),At(o,"children",void 0),o.props=new DR(n==null?void 0:n.props),o}return e}(te);At(Wn,"controlType","approval-status-column"),At(Wn,"controlName","\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),At(Wn,"controlIcon","approval-status-column"),At(Wn,"excludes",[]),At(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 dne(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vne(t,e,n){return e=La(e),gne(t,LR()?Reflect.construct(e,n||[],La(t).constructor):e.apply(t,n))}function hne(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function La(t){return La=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},La(t)}function bne(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Zh(t,e)}function gne(t,e){return e&&(mne(e)==="object"||typeof e=="function")?e:dne(t)}function Zh(t,e){return Zh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zh(t,e)}function mne(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function LR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(LR=function(){return!!t})()}var One=function(t){bne(e,t);function e(n){hne(this,e);var o;return o=vne(this,e,[n]),Jh(o,"props",void 0),Jh(o,"children",void 0),o.props=new DR(n==null?void 0:n.props),o}return e}(ne);Jh(One,"controlType","approval-status-column");function wne(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function FR(t,e,n){return e=Fa(e),$ne(t,NR()?Reflect.construct(e,n||[],Fa(t).constructor):e.apply(t,n))}function jR(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ne(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Fa(t){return Fa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fa(t)}function MR(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Yh(t,e)}function $ne(t,e){return e&&(Pne(e)==="object"||typeof e=="function")?e:wne(t)}function Yh(t,e){return Yh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yh(t,e)}function Pne(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function NR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(NR=function(){return!!t})()}var Ene=function(t){MR(e,t);function e(n){jR(this,e);var o;return o=FR(this,e,[n]),o.push({type:"object",fields:{}}),o}return e}(mt),e0=function(t){MR(e,t);function e(n){jR(this,e);var o;o=FR(this,e,[n]),Ne(o,"search",void 0),Ne(o,"cancel",void 0),Ne(o,"searchType",void 0),Ne(o,"labelPosition",void 0),Ne(o,"viewType",void 0),Ne(o,"isLoading",void 0),Ne(o,"custom",void 0),Ne(o,"queryTypeMap",void 0),Ne(o,"childMinWidth",void 0),Ne(o,"colGap",void 0);var r;o.searchType=(r=n==null?void 0:n.searchType)!==null&&r!==void 0?r:"model";var i;o.labelPosition=(i=n==null?void 0:n.labelPosition)!==null&&i!==void 0?i:"top";var u;o.viewType=(u=n==null?void 0:n.viewType)!==null&&u!==void 0?u:"mini";var c;o.search=new it((c=n==null?void 0:n.search)!==null&&c!==void 0?c:{content:"\u67E5\u8BE2",isShow:!0});var a;o.cancel=new it((a=n==null?void 0:n.cancel)!==null&&a!==void 0?a:{content:"\u91CD\u7F6E",isShow:!0});var l;o.isLoading=(l=n==null?void 0:n.isLoading)!==null&&l!==void 0?l:!1;var _;o.custom=((_=n==null?void 0:n.custom)!==null&&_!==void 0?_:[]).map(function(O){return new it(O)});var s;o.queryTypeMap=(s=n==null?void 0:n.queryTypeMap)!==null&&s!==void 0?s:[];var d;o.childMinWidth=(d=n==null?void 0:n.childMinWidth)!==null&&d!==void 0?d:230;var b;return o.colGap=(b=n==null?void 0:n.colGap)!==null&&b!==void 0?b:24,o}return e}(qf);Ne(e0,"RuntimeRules",Ene);function Sne(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Tne(t,e,n){return e=ja(e),Bne(t,VR()?Reflect.construct(e,n||[],ja(t).constructor):e.apply(t,n))}function Rne(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function t0(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ja(t){return ja=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ja(t)}function Ine(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&n0(t,e)}function Bne(t,e){return e&&(Ane(e)==="object"||typeof e=="function")?e:Sne(t)}function n0(t,e){return n0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},n0(t,e)}function Ane(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function VR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(VR=function(){return!!t})()}var zR=function(t){Ine(e,t);function e(n){Rne(this,e);var o;return o=Tne(this,e,[n]),t0(o,"props",void 0),o.props=new e0(n==null?void 0:n.props),o}return e}(lx);t0(zR,"controlType","simple-search"),t0(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 kne(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Dne(t,e,n){return e=Ma(e),Fne(t,CR()?Reflect.construct(e,n||[],Ma(t).constructor):e.apply(t,n))}function xne(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o0(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ma(t){return Ma=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ma(t)}function Lne(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&r0(t,e)}function Fne(t,e){return e&&(jne(e)==="object"||typeof e=="function")?e:kne(t)}function r0(t,e){return r0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},r0(t,e)}function jne(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function CR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(CR=function(){return!!t})()}var Mne=function(t){Lne(e,t);function e(n){xne(this,e);var o;o=Dne(this,e,[n]),o0(o,"props",void 0),o0(o,"children",void 0),o.props=new e0(n==null?void 0:n.props);var r;return o.children=(r=n==null?void 0:n.children)!==null&&r!==void 0?r:[],o}return e}(dx);o0(Mne,"controlType","simple-search");const Nne=(t,e)=>{const n=Array.isArray(t),o=n?t:[t];Jne(e==null?void 0:e.events),Une(o),Wne(o);const r=qne(o),i=Kne(r,e);let u=Ft(H(i,c=>Hne(c,e)));return n?u:u[0]},Vne=[y.DIVIDER,y.TEXT,y.TITLE,y.LINK,y.BUTTON,"list-btn-export-list","list-btn-export-record"],zne=["subtable","grid-table"],Cne=["simple-search"];function Hne(t,e){var r,i,u,c,a,l;let n=t;if(n.controlType||(n.is_layout_control===!0?n.controlType="layout":Vne.includes(n.type)?n.controlType="base":n.controlType="form",zne.includes(n.type)&&(n.controlType="list"),Cne.includes(n.type)&&(n.controlType="search-view")),delete n.is_layout_control,t.props.lable_position&&(t.props.labelPosition=t.props.lable_position),t.props.select_mode&&(t.props.optionsFormat=t.props.select_mode),t.props.value&&(t.props.defaultValue=t.props.value),fe((r=t==null?void 0:t.props)==null?void 0:r.caption)&&(n.props.caption=t.props.caption.zh),fe((i=t==null?void 0:t.props)==null?void 0:i.placeholder)&&(n.props.placeholder=t.props.placeholder.zh),fe((u=t==null?void 0:t.props)==null?void 0:u.placeholder_end)&&(n.props.placeholder_end=t.props.placeholder_end.zh),t.type==="department-search"&&(n.type="department",t.props.value.length&&(n.props.default_value=t.props.value),n.props.showType=t.props.show_tree?"tree":"default",n.props.rangeOptions=t.props.department_list),t.type==="automatic-number"&&(n.type="auto-number",n.props.defaultValue=t.props.value),t.type==="file"&&(n.type="attachment",n.props.attachmentAccept=(c=t.attachment_format)==null?void 0:c.split(","),n.props.showType=t.props.show_type==="title"?"default":"table"),t.type==="image"&&(n.props.attachmentAccept=(a=t.attachment_format)==null?void 0:a.split(",")),t.type==="date-pick"&&(n.type="date-picker"),t.type==="rich-text"&&(fe(t.props.value)?n.props.defaultValue=t.props.value.zh:n.props.defaultValue=t.props.value),["link","text","button"].includes(t.type)&&(fe(t.props.value)?n.props.content=t.props.value.zh:n.props.content=t.props.value),t.type==="text"&&t.props.showState==="iconText"&&(n.props.showState="image"),t.type==="user-search"&&(n.type="employee",n.props.defaultValue=t.props.value),t.type==="address"&&(n.props.addressType=t.props.address_type_value),n.type==="subtable"){const _=n.props.entry_type||n.props.entryType;n.props.openType=_==="subpage"?"modal":"default",((l=n.children[0])==null?void 0:l.type)==="subtable-row"&&n.props.headers&&(n.props.headers=n.props.headers.map((s,d)=>{const b=new mK.Designer;b.props.caption=fe(s.field_name)?s.field_name.zh:s.field_name;const O=b.toSchema();O.id=s.header_id;const m=n.children[0].children[d].children[0];return m&&(O.children=[m]),O}),n.children=[])}if(n.type==="subtable-cell"&&(n.type="subtable-column"),["radio","checkbox","select","select-multiple"].includes(t.type)&&(t.props.options.map(_=>{_.label=fe(_.text)?_.text.zh:_.text,_.id=_.id||_.opt_id||_.optId||_.data_id}),n=t),t.type==="grid-row"){const _=24/n.children.length;n.children=n.children.map(s=>{const d=new iE.Designer;d.props.span=_;const b=d.toSchema();return b.children.push(s),b})}if(t.type==="grid-layout-row"&&(n.type="row"),t.type==="grid-layout-col"&&(n.type="col"),t.type==="group-panel"&&(n.type="card-group",n.props.collapse=n.props.flod==="no"?"none":n.props.flod),t.type==="tabs-pane"&&(n.type="tab-pane"),t.type==="calc"){const _=n==null?void 0:n.children[0],s=n==null?void 0:n.children[1],d={};_&&(HR(n,e),d.result=_.props.data_bind,n.id=_.id,n.props=_.props,n.props.script_src=_.props.script_src,n.props.script_echo=_.props.script_echo,n.props.precision=_.props.precision,n.props.micrometer=_.props.is_show_money,n.props.showUpperCase=_.props.is_show_chn),s&&(d.unit=s.props.data_bind,n.props.default_value={unit:s.props.value}),n.props.dataBind=d,delete n.children}if(t.type==="amount-currency"){n.type="amount",n.controlType="form";const _=n==null?void 0:n.children[0],s=n==null?void 0:n.children[1],d={},b={};_&&(HR(n,e),n.id=_.id,d.amount=_.props.data_bind,n.props.range_min=Lt(_.props.range_min),n.props.range_max=Lt(_.props.range_max),b.amount=Lt(_.props.value),n.props.required=_.props.required,n.props.is_hide=_.props.is_hide,n.props.default_state=_.props.default_state,n.props.caption=fe(_.props.caption)?_.props.caption.zh:_.props.caption,n.props.is_hide_caption=_.props.is_hide_caption,n.props.showUpperCase=_.props.is_show_chn),s&&(d.currency=s.props.data_bind,b.currency=s.props.value,n.props.datasourceBind=s.props.datasource_bind,n.props.options=s.props.options.map(O=>({label:O.text,value:O.value}))),n.props.dataBind=d,n.props.defaultValue=b,delete n.children}if(t.type==="date-range"){n.controlType="form";const _=n==null?void 0:n.children[0],s=n==null?void 0:n.children[1];n.props.placeholderStart=fe(t.props.placeholder)?t.props.placeholder.zh:t.props.placeholder,n.props.caption=fe(t.props.caption)?t.props.caption.zh:t.props.caption;const d={};_&&(d.min=_.props.data_bind),s&&(d.max=s.props.data_bind),n.props.dataBind=d,delete n.children}return t.type==="score"&&(n.props.defaultValue=n.props.value*1),["input","textarea"].includes(t.type)&&(n.props.defaultValue=fe(t.props.value)?t.props.value.zh:t.props.value),t.type==="number"&&(n.props.range_min=Lt(t.props.range_min),n.props.range_max=Lt(t.props.range_max),n.props.defaultValue=Lt(t.props.value)),t.type==="list-page-btn-custom-button"&&(t.type="button"),t.type==="button"&&t.props.button_type==="dashed"&&(n.props.buttonType="default"),Zne(n,e==null?void 0:e.control_events),n}function HR(t,e){if(!e)return;const{displayBoList:n=[],behaviors:o=[]}=e,r=t.id,i=t.children[0].id;n.forEach(u=>{u.id===r&&(u.id=i);const c=u.show_controls.findIndex(l=>l===r),a=u.hide_controls.findIndex(l=>l===r);c>-1&&u.show_controls.splice(c,1,i),a>-1&&u.hide_controls.splice(a,1,i)}),o.forEach(u=>{u.ctrl_id===r&&(u.id=i)})}function qne(t){if(!Array.isArray(t)||!t.find(r=>r.type==="grid"))return t;const o=new CX.Designer().toSchema();return o.children=t,[o]}function Une(t){t.forEach(e=>{e.children&&Qne(e.children)})}function Wne(t){t.forEach(e=>{var o,r;if(!(e&&e.children))return;const n=e.children;for(let i=0;i<n.length;i++){const u=n[i],c=(r=(o=n[i])==null?void 0:o.children)==null?void 0:r[0];u.type==="grid-row"&&c&&["group-panel","subtable","tab"].includes(c.type)&&n.splice(i,1,c)}})}function Kne(t,e){var b,O,m,w,h,$,P,E;if(!(Array.isArray(t)&&t.length===1))return t;const n=t[0];if(n.type!=="list-page")return t;const{props:o,children:r}=n,[i,u,c]=r;Gne(i),c.props.is_fixed_header=(b=o==null?void 0:o.source_config)==null?void 0:b.is_fixed_header,Xne(c,u);const a=(m=(O=o==null?void 0:o.source_config)==null?void 0:O.data_code)!=null?m:e==null?void 0:e.dataCode,l=((h=(w=o==null?void 0:o.source_config)==null?void 0:w.svc_code)!=null?h:a)?`${a}_selectMore`:void 0,_=(P=($=o==null?void 0:o.source_config)==null?void 0:$.orders)!=null?P:[],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,(E=o==null?void 0:o.sublist_page)==null||E.sublists.forEach(T=>{T.title=fe(T.title)?T.title.zh:T.title}),s.props.sublistPage=o.sublist_page;const d=s.toSchema();return d.children.push(i,c),[d]}function Gne(t){t.type="simple-search",t.control_type="search-view",t.children.forEach(e=>{var o,r;const n=fe(e.placeholder)?e.placeholder.zh:e.placeholder;e.type==="number-range"&&(e.type="search-number-range",e.placeholderStart=n,e.placeholderEnd=n),e.type==="date-pick"&&(e.type="search-date-range",e.placeholderStart=n,e.placeholderEnd=n,e.dateType=(r=(o=e.dateType)==null?void 0:o.replace)==null?void 0:r.call(o,/range$/)),(e.type==="automatic-number"||e.type==="auto-number")&&(e.type="search-input",e.props.defaultValue="")})}function Xne(t,e){t.children=e.children.filter(n=>n.type!=="list-page-btn-custom-head"),t.type="grid-table",t.props.sublist_page&&(t.props.sublist_page.form_bind={data_code:t.props.sublist_page.data_code,form_key:t.props.sublist_page.form_key}),Array.isArray(t.props.headers)&&(t.props.headers=t.props.headers.map(n=>{var r,i,u;let o={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:n.field_code,field_name:fe(n.field_name)?n.field_name.zh:n.field_name}};return o.props.caption=fe(n.field_name)?n.field_name.zh:n.field_name,o.props.filter_tags=n.is_filter_tags,o.props.fixed=n.fixed,o.props.display_bo_list=n.display_bo_list,o.props.date_type=n.date_type,o.props.optionConfig="none",n.header_width_config&&(o.props.widthType=n.header_width_config==="1"?"auto":"px"),o.props.widthType==="px"&&n.header_width&&(o.props.width=Number(n.header_width)),n.table_header_type==="order"?(o.type="order-column",o.props.fixed=!0):n.table_header_type==="operation"?(o.type="operation-column",o.props.check=(r=n.check)!=null?r:{},o.props.check.openType="window",o.props.delete=(i=n.delete)!=null?i:{},o.props.delete.openType="window",o.props.edit=(u=n.edit)!=null?u:{},o.props.edit.openType="window",o.props.fixed=!0):(o.type=n.field_type+"-column",n.field_type==="auto_number"&&(o.type="auto-number-column"),n.field_type==="relation"&&(o.type="varchar-column")),n.convert_switch&&(o.props.optionConfig=n.convert_type===1?"datasource":"custom"),o.props.optionConfig==="datasource"?o.props.datasource_bind=new G({svcCode:n.svc_code,displayBoList:n.display_bo_list,valueFieldCode:n.field_match,dataCode:n.field_source}):o.props.optionConfig==="custom"&&(o.props.options=n.custom_match_bo_list),o}))}function Qne(t){var n;let e=null;for(let o=0;o<t.length;o++){const r=t[o];if(!!r){if(r.children&&((n=r.children[0])==null?void 0:n.type)==="group-panel"){e=r.children[0];continue}e&&(e.children.push(r),t.splice(o,1),o--)}}}function Jne(t){!t||(t.did_mount=t.did_mount.map(e=>e.name),t.will_submit=t.will_submit.map(e=>e.name),t.did_submit=t.did_submit.map(e=>e.name))}function Zne(t,e){var o;if(!e||!t.props.events)return;const n=Object.keys(t.props.events);!n.length||(n.forEach(r=>{!t.props.events[r].length||(e[t.id]||(e[t.id]={}),e[t.id][r]||(e[t.id][r]=[]),e[t.id][r].push(...t.props.events[r].map(i=>i.name)))}),(o=e[t.id])!=null&&o.on_blur&&(e[t.id].on_change||(e[t.id].on_change=[]),e[t.id].on_change.push(...e[t.id].on_blur)))}const Yne=(t,e)=>{const n=Array.isArray(t);let r=Ft(H(n?t:[t],i=>eoe(i)));return n?r:r[0]};function eoe(t,e){return t.type===y.LIST_VIEW&&t.children.find(o=>o.type===y.GRID_TABLE).props.headers.forEach(o=>{!o.props.data_bind&&o.props.field_code&&(o.props.data_bind=new Ae({dataCode:t.props.datasource_bind.data_code,fieldCode:o.props.field_code}))}),t}const toe=(t,e)=>{const n=Array.isArray(t);let r=Ft(H(n?t:[t],i=>noe(i)));return n?r:r[0]};function noe(t,e){return[y.BUTTON,y.CREATE_FORM_LIST_BUTTON,y.BATCH_SUBMISSION_LIST_BUTTON,y.SUBMISSION_RECORD_LIST_BUTTON,y.IMPORT_RECORD_LIST_BUTTON,y.EXPORT_RECORD_LIST_BUTTON,y.EXPORT_LIST_BUTTON,y.FORM_SELECT_BUTTON,y.LIST_SELECT_BUTTON].includes(t.type)&&(t.props.button_type==="default"&&(t.props.button_type="secondary"),t.props.button_type==="danger"&&(t.props.button_type="secondary",t.props.color="danger"),t.props.icon||(t.props.icon="iconfenlei2")),t.type===y.IMPORT_RECORD_LIST_BUTTON&&(t.props.icon="iconshangchuan3"),t.type===y.EXPORT_LIST_BUTTON&&(t.props.icon="iconxiazai1"),t}const ooe=(t,e)=>{const n=Array.isArray(t);let r=Ft(H(n?t:[t],i=>roe(i)));return n?r:r[0]};function roe(t,e){if(t.props.icon){let n=t.props.icon;switch(n){case"icongeren":n="iconyyzy-renyuan";break;case"iconjine1":n="iconcaiwu";break;case"iconhuibao":n="iconyyzy-tianxie";break;case"iconwenjian":n="iconyyzy-wenjianjia1";break;case"iconyingpin":n="iconyyzy-gongzuo";break;case"iconpiliangtijiaojilu":n="iconyyzy-renwu";break}t.props.icon=n}return t}const ioe=(t,e)=>{const n=Array.isArray(t);let r=Ft(H(n?t:[t],i=>coe(i)));return n?r:r[0]},uoe=[y.ROW,y.TAB,y.SUBTABLE,y.GRID_ROW,y.CARD_GROUP];function coe(t,e){return t.type===y.TAB_PANE&&(t.children=t.children.map(n=>{if(uoe.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})),t}const loe=(t,e)=>{const n=Array.isArray(t);let r=Ft(H(n?t:[t],i=>aoe(i)));return n?r:r[0]};function aoe(t,e){return t.type===y.GRID_TABLE&&t.props.headers.forEach(n=>{n.type===y.OPERATION_COLUMN&&(n.props.check.priorityProcess=!0)}),t}const foe=(t,e)=>{const n=Array.isArray(t);let r=H(n?t:[t],i=>_oe(i));return n?r:r[0]};function _oe(t,e){return t.type===y.SUBTABLE&&(t.props.default_rows=t.props.limit_rows),t}const yoe=(t,e)=>{const n=Array.isArray(t);let r=H(n?t:[t],i=>soe(i));return n?r:r[0]};function gt(t,e){t.field_code&&(t.field_type=e)}function soe(t,e){var o;const n={[y.TITLE]:g.AUTO_NUMBER,[y.ADDRESS]:g.ADDRESS,[y.ATTACHMENT]:g.FILE,[y.AUTO_NUMBER]:g.AUTO_NUMBER,[y.CHECKBOX]:g.ARRAY,[y.DATE_PICKER]:g.TIMESTAMP,[y.DEPARTMENT]:g.DEPARTMENTS,[y.DEPARTMENT2]:g.DEPARTMENTS,[y.EMPLOYEE]:g.EMPLOYEES,[y.EMPLOYEE2]:g.EMPLOYEES,[y.IMAGE]:g.IMAGE,[y.INPUT]:g.VARCHAR,[y.NUMBER]:g.DECIMAL,[y.RADIO]:g.VARCHAR,[y.RICH_TEXT]:g.TEXT,[y.SCORE]:g.DECIMAL,[y.SELECT]:g.VARCHAR,[y.SELECT_MULTIPLE]:g.ARRAY,[y.SELECT_RELATION]:g.VARCHAR,[y.TEXTAREA]:g.TEXT,[y.TREE]:g.ARRAY,[y.SEARCH_DATE_RANGE]:g.ARRAY,[y.SEARCH_INPUT]:g.VARCHAR,[y.SEARCH_NUMBER_RANGE]:g.ARRAY};return n.hasOwnProperty(t.type)&&gt(t.props.data_bind,n[t.type]),t.type===y.AMOUNT&&(gt(t.props.data_bind.amount,g.DECIMAL),gt(t.props.data_bind.currency,g.VARCHAR)),t.type===y.CALC&&(gt(t.props.data_bind.result,g.DECIMAL),gt(t.props.data_bind.unit,g.VARCHAR)),t.type===y.DATE_RANGE&&(gt(t.props.data_bind.min,g.TIMESTAMP),gt(t.props.data_bind.max,g.TIMESTAMP)),t.type===y.VUE_FORM_ITEM&&gt(t.props.data_bind,(o=t.field_type)!=null?o:g.ANY),t}const poe=(t,e)=>{const n=Array.isArray(t);let r=H(n?t:[t],i=>doe(i));return n?r:r[0]};function doe(t,e){return t.type===y.GRID_TABLE&&t.props.headers.forEach(n=>{n.type.endsWith("-column")&&(n.props.fixed?(n.props.fixed="left",n.type===y.OPERATION_COLUMN&&(n.props.fixed="right")):n.props.fixed="none")}),t}const voe=(t,e)=>{const n=Array.isArray(t);let r=H(n?t:[t],i=>hoe(i));return n?r:r[0]};function hoe(t,e){return t.type===y.SIMPLE_SEARCH&&t.children.length&&(t.props.query_type_map||(t.props.query_type_map=[]),t.children.forEach(n=>{var o,r;[g.VARCHAR,g.TEXT,g.AUTO_NUMBER].includes((r=(o=n.props)==null?void 0:o.data_bind)==null?void 0:r.field_type)&&t.props.query_type_map.push({query_type:"LIKE",field_code:n.props.data_bind.field_code})})),t}const boe=(t,e)=>{const n=Array.isArray(t);let r=H(n?t:[t],i=>goe(i));return n?r:r[0]};function goe(t,e){return[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(t.type)&&t.props.open_multistage_filling===void 0&&(t.props.open_multistage_filling=!0),t.type===y.SUBTABLE&&t.props.headers.forEach(n=>{[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),t}const moe=(t,e)=>{const n=Array.isArray(t);let r=H(n?t:[t],i=>Ooe(i));return n?r:r[0]};function Ooe(t,e){return[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(t.type)&&t.props.open_multistage_filling===void 0&&(t.props.open_multistage_filling=!0),t.type===y.SUBTABLE&&t.props.headers.forEach(n=>{[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),t}const woe=(t,e)=>{const n=Array.isArray(t);let r=H(n?t:[t],i=>$oe(i));return n?r:r[0]};function $oe(t,e){return t.type===y.TITLE&&t.props.config.push(wt.ShowTitle),t.type===y.GRID_TABLE&&t.props.headers.map(n=>{var o,r,i,u,c,a,l,_,s,d,b,O,m,w,h,$,P,E,T,F,A,ue;if(n.type===y.OPERATION_COLUMN){if(n.props.width_type==="auto"?n.props.auto_width={min_width:120,max_width:120,flex:1}:n.props.width_type==="px"&&(n.props.auto_width={min_width:n.props.width,max_width:n.props.width,flex:1}),n.props.width_type="auto",n.children=(o=n==null?void 0:n.children)!=null?o:[],delete n.props.custom,((r=n.props)==null?void 0:r.check)!==void 0){const I=new 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=(d=n.props)==null?void 0:d.edit.content,I.props.priorityProcess=(b=n.props)==null?void 0:b.edit.priority_process,I.props.openType=(O=n.props)==null?void 0:O.edit.open_type,I.props.formKey=(m=n.props)==null?void 0:m.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=(P=n.props)==null?void 0:P.delete.content,I.props.priorityProcess=(E=n.props)==null?void 0:E.delete.priority_process,I.props.openType=(T=n.props)==null?void 0:T.delete.open_type,I.props.formKey=(F=n.props)==null?void 0:F.delete.form_key,I.props.needConfirm=!0,I.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",(A=n.props)!=null&&A.delete.is_show&&n.children.push(I.toSchema()),(ue=n.props)==null||delete ue.delete}}}),[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(t.type)&&t.props.open_multistage_filling===void 0&&(t.props.open_multistage_filling=!0),t.type===y.SUBTABLE&&t.props.headers.forEach(n=>{[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),t}const Poe=(t,e)=>{const n=Array.isArray(t);let r=H(n?t:[t],i=>Eoe(i,e));return n?r:r[0]};function Eoe(t,e){t.type===y.SUBTABLE&&t.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 t.type in n&&n[t.type].forEach(o=>{t.props[o.key]===void 0&&(t.props[o.key]=o.value)}),t.type===y.GRID_TABLE&&t.props.headers.forEach(o=>{o.type===y.OPERATION_COLUMN&&(o.props.limit===void 0&&(o.props.limit=3),o.props.show_type===void 0&&(o.props.show_type="icon")),o.props.flex===void 0&&(o.props.flex=1),o.props.auto_width===void 0&&(o.props.auto_width=new ef)}),t.type===y.CALC&&t.props.calc_on_mounted===void 0&&(t.props.calc_on_mounted=!0),Soe(e),t}function Soe(t){if(!(!t||!t.listeners)){if(Object.keys(t.listeners).forEach(e=>{let n,o,r;t.listeners[e].forEach((i,u)=>{switch(i.event_key||i.eventKey){case"on_click_finish":o=i,r=u;break;case"on_click":n=i;break}}),o&&(o.cases[0].handlers.unshift(i0()),n?(o.cases.forEach(i=>{n.cases[0].handlers.push(i)}),t.listeners[e].splice(r,1)):o.event_key="on_click")}),!t.listeners.form_submit)t.listeners.form_submit=[{event_key:"on_click",event_param:[],cases:[Toe()]}];else if(t.listeners.form_submit&&t.listeners.form_submit&&t.listeners.form_submit[0]&&t.listeners.form_submit[0].cases&&t.listeners.form_submit[0].cases[0]&&t.listeners.form_submit[0].cases[0].handlers){let e=!1;t.listeners.form_submit[0].cases[0].handlers.forEach(n=>{n.method==="actionOperate"&&(e=!0)}),e||t.listeners.form_submit[0].cases[0].handlers.push(i0())}}}function Toe(){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 Roe=(t,e)=>{const n=Array.isArray(t);let r=H(n?t:[t],i=>Ioe(i,e));return n?r:r[0]};function Ioe(t,e){if(t.type===y.LIST_VIEW){if(t.props.is_show_selection===!1){const n=[y.BATCH_SUBMISSION_LIST_BUTTON,y.LIST_PAGE_BTN_BATCH_PRINT,y.BATCH_DELETE_LIST_BUTTON];t.children.forEach(o=>{o.type===y.GRID_TABLE&&o.children.map(u=>u.type).some(u=>n.includes(u))===!0&&(t.props.is_show_selection=!0,o.props.is_show_selection=!0)})}t.props.caption===""&&(t.props.caption=e==null?void 0:e.formName),t.props.is_all_loaded===void 0&&(t.props.is_all_loaded=!0)}return t.type===y.TEXTAREA&&t.props.auto_size===void 0&&(t.props.auto_size=!1),t.type===y.SUBTABLE&&t.props.mobile_default_num===void 0&&(t.props.mobile_default_num=t.props.mobile_show_type==="tile"?5:10),t.type===y.TREE&&t.props.default_display===void 0&&(t.props.default_display=!1),t.type===y.GRID_TABLE&&t.props.is_show_toolbar===void 0&&(t.props.is_show_toolbar=!0),t.type===y.NUMBER&&t.props.regular_rules===void 0&&(t.props.regular_rules=new Ao),t}const Boe=(t,e)=>{const n=Array.isArray(t);let r=H(n?t:[t],i=>Aoe(i));return n?r:r[0]};function Aoe(t,e){return[y.LIST_PAGE_BTN_BATCH_PRINT_RECORD,y.EXPORT_LIST_BUTTON,y.EXPORT_RECORD_LIST_BUTTON,y.CREATE_FORM_LIST_BUTTON,y.IMPORT_RECORD_LIST_BUTTON,y.SUBMISSION_RECORD_LIST_BUTTON,y.BATCH_DELETE_LIST_BUTTON,y.BUTTON,y.SUBMISSION_RECORD_LIST_BUTTON,y.LIST_PAGE_BTN_BATCH_PRINT].includes(t.type)&&(t.control_type="base"),t.type===y.SUBTABLE&&t.props.mobile_default_num===void 0&&(t.props.mobile_default_num=t.props.mobile_show_type==="tile"?5:10),t}const koe=(t,e)=>{const n=Array.isArray(t),o=n?t:[t],r={};let i=H(o,u=>{const c=Doe(u);return r[u.id]=u,c});return xoe(r,e),n?i:i[0]};function Doe(t,e){if(t.type===y.ORGANIZATION_SELECTION){const n=t.props.selected_content_config,o=n==null?void 0:n.display_bo_list;o&&o.forEach(r=>{r.value==="org_type_code"&&(r.label="\u4E1A\u52A1\u7C7B\u578B"),r.value==="org_pattern_code"&&(r.label="\u7EC4\u7EC7\u5F62\u6001")})}return t.type===y.LIST_SELECT_BUTTON&&t.props.disable_filling===void 0&&(t.props.disable_filling=!1),t}function xoe(t,e){var n,o;if((e==null?void 0:e.formType)===1&&(e==null?void 0:e.events)!==void 0){const r=(o=(n=e==null?void 0:e.events)==null?void 0:n.did_mount)!=null?o:[];r.length>0&&(e.events.did_init=r,e.events.did_mount=[]),e.events.did_init===void 0&&(e.events.did_init=[])}}const Loe=(t,e)=>{const n=Array.isArray(t);let r=H(n?t:[t],i=>Foe(i));return n?r:r[0]};function Foe(t,e){return t.type===y.LINK&&(t.control_type="form",t.props.data_bind||(t.props.data_bind={data_code:"",field_code:"",field_type:""})),t}const joe=(t,e)=>{const n=Array.isArray(t);let r=H(n?t:[t],i=>Moe(i));return n?r:r[0]};function Moe(t,e){var n,o;if(t.control_type==="form")t.props.caption_size||(t.props.caption_size="14");else if(t.type===y.SUBTABLE){const r=(n=t.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 t}const Noe=(t,e)=>{const n=Array.isArray(t);let r=H(n?t:[t],i=>Voe(i));return n?r:r[0]};function Voe(t,e){var n,o;if(t.type===y.SUBTABLE){const r=(n=t.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 t}var qR={"v1.0":Nne,"v2.0":Yne,"v2.1":toe,"v2.2":ooe,"v2.3":ioe,"v2.4":loe,"v2.5":foe,"v2.6":yoe,"v2.7":poe,"v2.8":voe,"v2.9":boe,"v2.10":moe,"v3.0":woe,"v3.1":Poe,"v3.2":Roe,"v3.3":Boe,"v3.4":koe,"v3.5":Loe,"v3.6":joe,"v3.7":Noe,"v3.8":()=>{}};const UR=(t,e)=>{const n=WR(t),o=WR(e),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=(t,e,n)=>{qoe(n);const o=UR(t,e);return QR[n].includes(o)},zoe=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,WR=t=>{if(typeof t!="string")throw new TypeError("Invalid argument expected string");const e=t.match(zoe);if(!e)throw new Error(`Invalid argument not valid semver ('${t}' received)`);return e.shift(),e},KR=t=>t==="*"||t==="x"||t==="X",GR=t=>{const e=parseInt(t,10);return isNaN(e)?t:e},Coe=(t,e)=>typeof t!=typeof e?[String(t),String(e)]:[t,e],Hoe=(t,e)=>{if(KR(t)||KR(e))return 0;const[n,o]=Coe(GR(t),GR(e));return n>o?1:n<o?-1:0},XR=(t,e)=>{for(let n=0;n<Math.max(t.length,e.length);n++){const o=Hoe(t[n]||"0",e[n]||"0");if(o!==0)return o}return 0},QR={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},JR=Object.keys(QR),qoe=t=>{if(typeof t!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof t}`);if(JR.indexOf(t)===-1)throw new Error(`Invalid operator, expected one of ${JR.join("|")}`)};function u0(t){return t.replace(/^v/,"")}const Kn=Object.keys(qR).map(t=>u0(t)).sort(UR),wo=Kn[Kn.length-1];class Uoe{constructor(e,n=wo){this.schemaVersion=e,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(e)))&&Zn(`Version Builder: Please give me a valid version number, The valid version is: ${Kn.join(",")}, But give me a ${e}`)}dataCleaner(e,n){if(Na(this.toVersion,this.schemaVersion,"="))return e;const o=this.callDataCleanerKeys.reduce((r,i,u,c)=>{var s;const a=(s=c[u+1])!=null?s:this.toVersion;So(`Version Builder: current version: ${i}, nextVersion: ${a}`);const l=qR[i];let _=r;if(typeof l=="function"){const d=l(r,n);d&&(_=d)}return _},e);return So(`Version Builder: Version conversion completed, evolving from ${this.schemaVersion} to ${this.toVersion}`),o}get runDataCleanerKeys(){return Kn.filter(e=>Na(e,this.schemaVersion,">=")&&Na(e,this.toVersion,"<"))}get callDataCleanerKeys(){return this.runDataCleanerKeys.map(e=>"v"+e)}get version(){return wo}static get version(){return wo}}Dt.VersionBuilder=Uoe,Object.defineProperty(Dt,"__esModule",{value:!0})});
1
+ (function(Fe,Gn){typeof exports=="object"&&typeof module!="undefined"?Gn(exports):typeof define=="function"&&define.amd?define(["exports"],Gn):(Fe=typeof globalThis!="undefined"?globalThis:Fe||self,Gn(Fe.modelDrivenUpgrade={}))})(this,function(Fe){"use strict";var Gn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",$B="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",PB="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",EB="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",SB="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",TB="{caption}\u5FC5\u586B",RB="\u8BF7\u8F93\u5165\u6807\u9898",BB="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",DB="\u8BF7\u8F93\u5165\u884C\u6807\u9898",AB="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",IB="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",kB="\u8BF7\u7ED1\u5B9A\u8868\u5355",FB="\u8BF7\u7ED1\u5B9A\u5217\u8868",xB="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",MB="\u8BF7\u8F93\u5165\u663E\u793A\u503C",LB="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",CB="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",jB="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",NB="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",VB="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",zB="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",HB="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",qB="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",UB="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",WB="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",KB="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",GB="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",XB="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",QB="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",JB="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",ZB="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",YB="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",t3="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",e3="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",n3="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",o3="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",r3="\u8BF7\u7ED1\u5B9A\u670D\u52A1",i3="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",u3="\u8BF7\u9009\u62E9\u7701",l3="\u8BF7\u9009\u62E9\u5E02",c3="\u8BF7\u9009\u62E9\u533A",a3="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",f3="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",_3="\u8BF7\u8F93\u5165\u5217\u5BBD",s3="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",y3="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",p3="\u8BF7\u9009\u62E9\u63A7\u4EF6",d3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",v3="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",h3="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",b3="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",m3="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",g3="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",O3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",w3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",$3="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",P3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",E3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",S3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",T3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",R3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",B3="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",D3="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",A3="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",I3="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",k3="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",F3="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",x3="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",M3="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",L3="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",C3="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",j3="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",N3="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",V3="\u6279\u91CF\u5220\u9664",z3="\u6279\u91CF\u6253\u5370",H3="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",q3="\u6309\u94AE",U3="\u521B\u5EFA\u5355\u636E",W3="\u4EEA\u8868\u76D8",K3="\u5206\u5272\u7EBF",G3="\u5BFC\u51FA",X3="\u8868\u5355\u64CD\u4F5C",Q3="\u5BFC\u5165",J3="\u53D1\u7968\u8BC6\u522B",Z3="\u94FE\u63A5",Y3="\u5217\u8868\u9009\u62E9",t1="\u5217\u8868\u89C6\u56FE",e1="\u64CD\u4F5C\u6309\u94AE",n1="\u5206\u9875",o1="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",r1="\u8BF4\u660E\u6587\u5B57",i1="\u6587\u5B57\u8BC6\u522B",u1="\u6807\u9898\u7EC4\u4EF6",l1="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",c1="\u6570\u7EC4",a1="\u81EA\u52A8\u7F16\u53F7",f1="\u81EA\u5B9A\u4E49",_1="\u6570\u503C",s1="\u90E8\u95E8",y1="\u4EBA\u5458",p1="\u9644\u4EF6",d1="\u56FE\u7247",v1="\u5730\u5740",h1="\u64CD\u4F5C",b1="\u5E8F\u53F7",m1="\u4EBA\u5458",g1="\u957F\u6587\u672C",O1="\u65E5\u671F\u533A\u95F4",w1="\u65E5\u671F",$1="\u77ED\u6587\u672C",P1="\u6362\u884C\u5BB9\u5668Wrap",E1="\u8868\u683C",S1="\u660E\u7EC6\u5B50\u8868",T1="\u5730\u5740",R1="\u91D1\u989D",B1="\u8BA1\u7B97\u516C\u5F0F",D1="\u591A\u9009",A1="\u7535\u5B50\u7B7E\u7AE0",I1="\u5355\u884C\u6587\u672C",k1="\u6570\u5B57",F1="\u4E1A\u52A1\u7EC4\u7EC7",x1="\u5355\u9009",M1="\u5BCC\u6587\u672C",L1="\u8BC4\u5206",C1="\u6570\u5B57\u533A\u95F4",j1="\u4E0B\u62C9\u5355\u9009",N1="\u4E0B\u62C9\u591A\u9009",V1="\u5173\u8054\u5355\u9009",z1="\u591A\u884C\u6587\u672C",H1="\u6811",q1="Vue\u5BB9\u5668",U1="Vue\u9875\u9762",W1="\u5728\u7EBF\u6587\u6863",K1="\u6309\u94AE\u64CD\u4F5C\u680F",G1="\u9AD8\u7EA7\u5BB9\u5668",X1="\u5206\u7EC4",Q1="\u6805\u683C\u5217",J1="\u6570\u636E\u5BB9\u5668",Z1="\u753B\u5E03",Y1="\u6362\u884C\u5BB9\u5668",tD="\u6805\u683C\u7B49\u5206\u884C",eD="\u5217\u8868\u5BB9\u5668",nD="\u81EA\u7531\u9875\u9762",oD="\u5B9A\u4F4D\u5B50\u5BB9\u5668",rD="\u5B9A\u4F4D\u5BB9\u5668",iD="\u6805\u683C\u5E03\u5C40",uD="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",lD="\u660E\u7EC6\u5B50\u8868\u884C",cD="\u6807\u7B7E\u9875",aD="\u6807\u7B7E\u5355\u5143",fD="\u5DE5\u5177\u680F",_D="\u6279\u91CF\u63D0\u4EA4",sD="\u5BFC\u51FA\u8BB0\u5F55",yD="\u5217\u8868\u89C6\u56FE",pD="\u7ED3\u675F\u65F6\u95F4",dD="\u5F00\u59CB\u65F6\u95F4",vD="\u5355\u4F4D",hD="\u7ED3\u679C",bD="\u5E01\u79CD",mD="\u7ED3\u675F\u65E5\u671F",gD="\u5F00\u59CB\u65E5\u671F",OD="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",wD="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",$D="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",PD="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",ED="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",SD="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",TD="\u8BF7\u9009\u62E9",RD="\u8BF7\u9009\u62E9\u7EC4\u7EC7",BD="\u8BF7\u9009\u62E9\u90E8\u95E8",DD="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",AD="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",ID="\u8BF7\u9009\u62E9\u5730\u5740",kD="\u5F39\u7A97\u786E\u8BA4\u65F6",FD="\u6807\u7B7E\u9875\u5207\u6362\u65F6",xD="\u884C\u9009\u4E2D\u65F6",MD="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",LD="\u884C\u5220\u9664\u524D",CD="\u884C\u70B9\u51FB\u65F6",jD="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",ND="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",VD="\u91CD\u547D\u540D\u65F6",zD="\u4FDD\u5B58\u6587\u4EF6\u65F6",HD="\u6253\u5F00\u6587\u4EF6\u65F6",qD="\u83B7\u53D6\u7126\u70B9\u65F6",UD="\u5931\u53BB\u7126\u70B9\u65F6",WD="\u7528\u6237\u8F93\u5165\u65F6",KD="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",GD="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",XD="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",QD="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",JD="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",ZD="\u641C\u7D22\u65F6",YD="\u503C\u53D1\u751F\u53D8\u5316\u65F6",t2="\u6267\u884C\u5B8C\u6210\u65F6",e2="\u70B9\u51FB\u65F6",n2="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",o2="\u8BF7\u8F93\u5165\u65E5\u671F",r2="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",i2="\u8BF7\u8F93\u5165",u2="\u9ED8\u8BA4\u6A21\u7248",l2="\u5DE6\u53F3\u5E03\u5C40",c2="\u4E0A\u4E0B\u5E03\u5C40",a2="\u53EA\u8BFB",f2="\u5FC5\u586B",_2="\u63D0\u793A\u6587\u5B57",s2="\u9690\u85CF\u6807\u9898",y2="\u6807\u9898\u5FC5\u586B",p2="\u7EC4\u7EC7\u5F62\u6001",d2="\u4E1A\u52A1\u7C7B\u578B",v2="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",h2="\u9690\u85CF",b2="\u6D41\u7A0B\u72B6\u6001",m2="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",g2="\u5220\u9664",O2="\u7F16\u8F91",w2="\u67E5\u770B",$2="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",P2="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",E2="\u5145\u6EE1\u6574\u884C",S2="\u6700\u5C0F\u503C",T2="\u6700\u5927\u503C",R2="\u65B0\u5EFA\u6587\u6863",B2="\u91CD\u7F6E",D2="\u67E5\u8BE2",A2="\u660E\u7EC6",I2="\u6253\u5370",k2="\u4FDD\u5B58\u8349\u7A3F",F2="\u4FDD\u5B58",x2="\u53D6\u6D88",M2="\u4E0A\u4F20\u56FE\u7247",L2="\u53D1\u8D77\u7B7E\u7F72",C2="\u4E0A\u4F20\u9644\u4EF6",j2="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",N2="\u5F15\u7528\u5217\u8868",V2="\u9009\u9879\u4E00",z2="\u9009\u9879\u4E8C",H2="\u9009\u9879\u4E09",q2={isNotNumber:Gn,isNotString:$B,isNotObject:PB,isNotArray:EB,isNotBoolean:SB,runtimeRequired:TB,pleaseEnterCaption:RB,pleaseEnterCaptionTip:BB,pleaseEnterRowCaption:DB,pleaseEnterPlaceholder:AB,pleaseEnterFieldCode:IB,pleaseEnterForm:kB,pleaseEnterList:FB,pleaseEnterProcess:xB,pleaseEnterLabel:MB,pleaseEnterValue:LB,bizKeyNotBindFiled:CB,pleaseSelectOneField:jB,pleaseEnterNumberRange:NB,pleaseEnterAValueGreaterThanMin:VB,pleaseEnterAValueLessThanMax:zB,numberRangeSetError:HB,stringRangeError:qB,attachmentMaxSize:UB,pleaseEnterTotalScoreSetting:WB,theTotalScoreMustNotBeLessThan1:KB,scoreDefaultValueRange:GB,attachmentLimitError:XB,PleaseReselectTheOptionalQuantity:QB,TheMaximumLengthIsGreaterThanTheMinimumLength:JB,TheMinimumLengthIsGreaterThanTheMaximumLength:ZB,PleaseSelectTheCorrectOptionSettings:YB,optionIdIsRepeat:t3,optionIsRequired:e3,pleaseEnterDataCode:n3,pleaseEnterValueFieldCode:o3,pleaseEnterSvcCode:r3,pleaseBindAtLeastOneDisplayValue:i3,pleaseSelectProvince:u3,pleaseSelectCity:l3,pleaseSelectDistrict:c3,limitRowsCannotBeLessThan0:a3,TheNumberOfRowsCannotBeLessThanMinRows:f3,pleaseEnterColumnWidth:_3,pleaseSetTheLogicalRelationshipOfAllRuleConditions:s3,pleaseCompleteAllRulesAndConditions:y3,pleaseSelectControl:p3,pleaseSelectAtLeastOneColumn:d3,pleaseSelectFillBackMode:v3,pleaseSelectDashboard:h3,rootNodeIsRequired:b3,theViewNameCannotBeEmpty:m3,pleaseSelectOcrType:g3,pleaseSelectAtLeastOneFieldToFillIn:O3,pleaseChooseAtLeastOne:w3,pleaseEnterButtonContent:$3,pleaseEnterDataCodeInDataSetting:P3,pleaseEnterValueFieldCodeInDataSetting:E3,pleaseEnterSvcCodeInDataSetting:S3,pleaseBindAtLeastOneDisplayValueInDataSetting:T3,rootNodeIsRequiredInDataSetting:R3,pleaseEnterMaxHeight:B3,pleaseEnterWatermark:D3,pleaseEnterFileName:A3,pleaseUploadAtLeastOnePrintTemplate:I3,pleaseAssignBusiness:k3,pleaseAssignExternal:F3,pleaseEnterAliasCode:x3,pleaseSelectDataCode:M3,pleaseSelectSvcCode:L3,pleaseSelectJoinFieldCode:C3,pleaseSelectMainFieldCode:j3,pleaseSelectSortFieldCode:N3,batchDeleteButton:V3,batchPrintListButton:z3,batchPrintRecordList:H3,button:q3,createFormListButton:U3,dashboard:W3,divider:K3,exportListButton:G3,formSelectButton:X3,importRecordListButton:Q3,invoiceCheckButton:J3,link:Z3,listSelectButton:Y3,ListViewSelect:t1,operationButton:e1,pagination:n1,submissionRecordListButton:o1,text:r1,textOcrButton:i1,title:u1,approvalStatusColumn:l1,array:c1,autoNumber:a1,custom:f1,decimal:_1,department:s1,employee:y1,file:p1,image:d1,location:v1,operation:h1,order:b1,people:m1,long:g1,timescope:O1,timestamp:w1,varchar:$1,gridLayoutWrap:P1,gridTable:E1,subTable:S1,address:T1,amount:R1,calc:B1,checkBox:D1,electronicSignature:A1,input:I1,number:k1,organizationSelection:F1,radio:x1,richText:M1,score:L1,searchNumberRange:C1,select:j1,selectMultiple:N1,selectRelation:V1,textarea:z1,tree:H1,vueFormItem:q1,vuePage:U1,WPS:W1,actionBar:K1,advancedContainer:G1,cardGroup:X1,col:Q1,dataView:J1,grid:Z1,gridLayoutContainer:Y1,gridRow:tD,listView:eD,page:nD,position:oD,positioningContainer:rD,row:iD,subtableColumn:uD,subtableRow:lD,tab:cD,tabPane:aD,toolbox:fD,batchSubmissionListButton:_D,exportRecordListButton:sD,listViewSelect:yD,endTime:pD,startTime:dD,unit:vD,result:hD,currency:bD,endDate:mD,startDate:gD,pleaseSelectCompanyName:OD,pleaseSelectPhoneOrEmail:wD,pleaseSelectSignType:$D,pleaseSelectSigner:PD,pleaseSelectOnlyOne:ED,pleaseSelectSignFile:SD,pleaseSelect:TD,pleaseSelectOrg:RD,pleaseSelectDept:BD,pleaseSelectEndDate:DD,pleaseSelectStartDate:AD,pleaseChooseAddress:ID,modalConfirm:kD,tabChange:FD,rowSelected:xD,listDataImport:MD,rowDelete:LD,rowClick:CD,cellRender:jD,onClickBtn:ND,rename:VD,onSaveFile:zD,onOpenFile:HD,onFocus:qD,onBlur:UD,onInput:WD,listDataAdd:KD,listDataDelete:GD,listDataBack:XD,listDataCreate:QD,listDataChange:JD,search:ZD,valueChange:YD,finished:t2,click:e2,pleaseEnterNameorEmail:n2,pleaseEnterDate:o2,pleaseEnterAutonumber:r2,pleaseEnter:i2,defaultTemplate:u2,left:l2,top:c2,default:"\u666E\u901A",readonly:a2,required:f2,textTip:_2,hideCaption:s2,titleRequired:y2,organizationalForm:p2,businessType:d2,deleteConfirm:v2,hide:h2,processStatus:b2,approvedDocuments:m2,delete:g2,edit:O2,view:w2,loadCtrlErrorTip:$2,loadCtrlError:P2,fullLine:E2,min:S2,max:T2,createWPS:R2,reset:B2,query:D2,detailed:A2,print:I2,draft:k2,save:F2,cancel:x2,uploadImg:M2,signature:L2,uploadFile:C2,linkContent:j2,referenceList:N2,optionOne:V2,optionTwo:z2,optionThird:H2},U2="Please enter a number",W2="Please enter a string",K2="Please enter an object",G2="Please enter an array",X2="Please enter a boolean",Q2="{caption} Required",J2="Please enter the title",Z2="Please enter the bubble prompt",Y2="Please enter the row title",t5="Please enter the prompt text",e5="Please bind data items",n5="Please bind the form",o5="Please bind the list",r5="Please bind the process",i5="Please enter the displayed value",u5="Please enter the stored value",l5="The document number is not bound to the data item",c5="Please select at least one display field",a5="Please enter a value greater than or equal to {min} and less than or equal to {max}",f5="Please enter a value greater than or equal to {min}",_5="Please enter a value less than or equal to {max}",s5="The value range is set incorrectly",y5="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",p5="The attachment size must be between 0MB and 1000MB",d5="Please fill in the total score setting",v5="The total score cannot be less than 1",h5="The default value must be between {min} and {max}",b5="The number of attachment uploads exceeds the limit",m5="Please re-select the optional quantity",g5="The maximum length of the control must be greater than the minimum length",O5="The minimum length of the control must be less than the maximum length",w5="Please select the correct option setting",$5="Option ID cannot be repeated",P5="Please enter at least one option",E5="Please bind the data source",S5="Please bind the stored value",T5="Please bind the service",R5="At least one display value must be bound",B5="Please select a province",D5="Please select a city",A5="Please select a district",I5="The minimum number of lines to fill in cannot be less than 0",k5="The number of rows cannot be less than {min} rows",F5="Please enter the column width",x5="Please set the logical relationship of all rule conditions",M5="Please complete all rules and conditions",L5="please select control",C5="Please select the dashboard",j5="View name cannot be empty",N5="Please select recognition type",V5="Please select at least one field to fill in",z5="Please select at least one",H5="Please enter the button title",q5="Please bind the business model in the data settings",U5="Please bind storage values in data settings",W5="Please bind the service in the data settings",K5="Please bind at least one display value in the data settings",G5="Please select the root node in the data settings",X5="Please enter the maximum height",Q5="The input content cannot be empty",J5="Watermark cannot be empty",Z5="File name cannot be empty",Y5="Please upload at least one printing template!\uFF01",tA="Please select a specific business department",eA="Please select a specified external organization",nA="Please enter a sub table alias",oA="Please select the associated table to set the business model",rA="Please select the association table to set the binding service",iA="Select associated sub table fields",uA="Please select the associated main table field",lA="Please select the sort field",cA="\u6279\u91CF\u5220\u9664",aA="\u6279\u91CF\u6253\u5370",fA="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",_A="\u6309\u94AE",sA="\u521B\u5EFA\u5355\u636E",yA="\u4EEA\u8868\u76D8",pA="\u5206\u5272\u7EBF",dA="\u5BFC\u51FA",vA="\u8868\u5355\u64CD\u4F5C",hA="\u5BFC\u5165",bA="\u53D1\u7968\u8BC6\u522B",mA="\u94FE\u63A5",gA="\u5217\u8868\u9009\u62E9",OA="\u5217\u8868\u89C6\u56FE",wA="\u64CD\u4F5C\u6309\u94AE",$A="\u5206\u9875",PA="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",EA="\u8BF4\u660E\u6587\u5B57",SA="\u6587\u5B57\u8BC6\u522B",TA="\u6807\u9898\u7EC4\u4EF6",RA="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",BA="\u6570\u7EC4",DA="\u81EA\u52A8\u7F16\u53F7",AA="\u81EA\u5B9A\u4E49",IA="\u6570\u503C",kA="\u90E8\u95E8",FA="\u4EBA\u5458",xA="\u9644\u4EF6",MA="\u56FE\u7247",LA="\u5730\u5740",CA="\u64CD\u4F5C",jA="\u5E8F\u53F7",NA="\u4EBA\u5458",VA="\u957F\u6587\u672C",zA="\u65E5\u671F\u533A\u95F4",HA="\u65E5\u671F",qA="\u77ED\u6587\u672C",UA="\u6362\u884C\u5BB9\u5668Wrap",WA="\u8868\u683C",KA="\u660E\u7EC6\u5B50\u8868",GA="\u5730\u5740",XA="\u91D1\u989D",QA="\u8BA1\u7B97\u516C\u5F0F",JA="\u591A\u9009",ZA="\u7535\u5B50\u7B7E\u7AE0",YA="\u5355\u884C\u6587\u672C",tI="\u6570\u5B57",eI="\u4E1A\u52A1\u7EC4\u7EC7",nI="\u5355\u9009",oI="\u5BCC\u6587\u672C",rI="\u8BC4\u5206",iI="\u6570\u5B57\u533A\u95F4",uI="\u4E0B\u62C9\u5355\u9009",lI="\u4E0B\u62C9\u591A\u9009",cI="\u5173\u8054\u5355\u9009",aI="\u591A\u884C\u6587\u672C",fI="\u6811",_I="Vue\u5BB9\u5668",sI="Vue\u9875\u9762",yI="\u5728\u7EBF\u6587\u6863",pI="\u6309\u94AE\u64CD\u4F5C\u680F",dI="\u9AD8\u7EA7\u5BB9\u5668",vI="\u5206\u7EC4",hI="\u6805\u683C\u5217",bI="\u6570\u636E\u5BB9\u5668",mI="\u753B\u5E03",gI="\u6362\u884C\u5BB9\u5668",OI="\u6805\u683C\u7B49\u5206\u884C",wI="\u5217\u8868\u5BB9\u5668",$I="\u81EA\u7531\u9875\u9762",PI="\u5B9A\u4F4D\u5B50\u5BB9\u5668",EI="\u5B9A\u4F4D\u5BB9\u5668",SI="\u6805\u683C\u5E03\u5C40",TI="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",RI="\u660E\u7EC6\u5B50\u8868\u884C",BI="\u6807\u7B7E\u9875",DI="\u6807\u7B7E\u5355\u5143",AI="\u5DE5\u5177\u680F",II="\u6279\u91CF\u63D0\u4EA4",kI="\u5BFC\u51FA\u8BB0\u5F55",FI="\u5217\u8868\u89C6\u56FE",xI="\u5F15\u7528\u5217\u8868",MI="\u9009\u9879\u4E00",LI="\u9009\u9879\u4E8C",CI="\u9009\u9879\u4E09",jI={isNotNumber:U2,isNotString:W2,isNotObject:K2,isNotArray:G2,isNotBoolean:X2,runtimeRequired:Q2,pleaseEnterCaption:J2,pleaseEnterCaptionTip:Z2,pleaseEnterRowCaption:Y2,pleaseEnterPlaceholder:t5,pleaseEnterFieldCode:e5,pleaseEnterForm:n5,pleaseEnterList:o5,pleaseEnterProcess:r5,pleaseEnterLabel:i5,pleaseEnterValue:u5,bizKeyNotBindFiled:l5,pleaseSelectOneField:c5,pleaseEnterNumberRange:a5,pleaseEnterAValueGreaterThanMin:f5,pleaseEnterAValueLessThanMax:_5,numberRangeSetError:s5,stringRangeError:y5,attachmentMaxSize:p5,pleaseEnterTotalScoreSetting:d5,theTotalScoreMustNotBeLessThan1:v5,scoreDefaultValueRange:h5,attachmentLimitError:b5,PleaseReselectTheOptionalQuantity:m5,TheMaximumLengthIsGreaterThanTheMinimumLength:g5,TheMinimumLengthIsGreaterThanTheMaximumLength:O5,PleaseSelectTheCorrectOptionSettings:w5,optionIdIsRepeat:$5,optionIsRequired:P5,pleaseEnterDataCode:E5,pleaseEnterValueFieldCode:S5,pleaseEnterSvcCode:T5,pleaseBindAtLeastOneDisplayValue:R5,pleaseSelectProvince:B5,pleaseSelectCity:D5,pleaseSelectDistrict:A5,limitRowsCannotBeLessThan0:I5,TheNumberOfRowsCannotBeLessThanMinRows:k5,pleaseEnterColumnWidth:F5,pleaseSetTheLogicalRelationshipOfAllRuleConditions:x5,pleaseCompleteAllRulesAndConditions:M5,pleaseSelectControl:L5,pleaseSelectDashboard:C5,theViewNameCannotBeEmpty:j5,pleaseSelectOcrType:N5,pleaseSelectAtLeastOneFieldToFillIn:V5,pleaseChooseAtLeastOne:z5,pleaseEnterButtonContent:H5,pleaseEnterDataCodeInDataSetting:q5,pleaseEnterValueFieldCodeInDataSetting:U5,pleaseEnterSvcCodeInDataSetting:W5,pleaseBindAtLeastOneDisplayValueInDataSetting:K5,rootNodeIsRequiredInDataSetting:G5,pleaseEnterMaxHeight:X5,pleaseEnter:Q5,pleaseEnterWatermark:J5,pleaseEnterFileName:Z5,pleaseUploadAtLeastOnePrintTemplate:Y5,pleaseAssignBusiness:tA,pleaseAssignExternal:eA,pleaseEnterAliasCode:nA,pleaseSelectDataCode:oA,pleaseSelectSvcCode:rA,pleaseSelectJoinFieldCode:iA,pleaseSelectMainFieldCode:uA,pleaseSelectSortFieldCode:lA,batchDeleteButton:cA,batchPrintListButton:aA,batchPrintRecordList:fA,button:_A,createFormListButton:sA,dashboard:yA,divider:pA,exportListButton:dA,formSelectButton:vA,importRecordListButton:hA,invoiceCheckButton:bA,link:mA,listSelectButton:gA,ListViewSelect:OA,operationButton:wA,pagination:$A,submissionRecordListButton:PA,text:EA,textOcrButton:SA,title:TA,approvalStatusColumn:RA,array:BA,autoNumber:DA,custom:AA,decimal:IA,department:kA,employee:FA,file:xA,image:MA,location:LA,operation:CA,order:jA,people:NA,long:VA,timescope:zA,timestamp:HA,varchar:qA,gridLayoutWrap:UA,gridTable:WA,subTable:KA,address:GA,amount:XA,calc:QA,checkBox:JA,electronicSignature:ZA,input:YA,number:tI,organizationSelection:eI,radio:nI,richText:oI,score:rI,searchNumberRange:iI,select:uI,selectMultiple:lI,selectRelation:cI,textarea:aI,tree:fI,vueFormItem:_I,vuePage:sI,WPS:yI,actionBar:pI,advancedContainer:dI,cardGroup:vI,col:hI,dataView:bI,grid:mI,gridLayoutContainer:gI,gridRow:OI,listView:wI,page:$I,position:PI,positioningContainer:EI,row:SI,subtableColumn:TI,subtableRow:RI,tab:BI,tabPane:DI,toolbox:AI,batchSubmissionListButton:II,exportRecordListButton:kI,listViewSelect:FI,referenceList:xI,optionOne:MI,optionTwo:LI,optionThird:CI},NI="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",VI="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",zI="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",HI="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",qI="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",UI="{caption}\u5FC5\u9808",WI="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",KI="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",GI="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",XI="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",QI="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",JI="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ZI="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",YI="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",tk="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ek="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",nk="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",ok="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",rk="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ik="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",uk="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",lk="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",ck="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ak="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",fk="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",_k="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",sk="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",yk="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",pk="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",dk="\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",vk="\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",hk="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",bk="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",mk="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",gk="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ok="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",wk="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",$k="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Pk="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ek="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Sk="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Tk="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Rk="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Bk="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Dk="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ak="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Ik="please select control",kk="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Fk="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",xk="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Mk="\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",Lk="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ck="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",jk="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Nk="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Vk="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",zk="\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",Hk="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",qk="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Uk="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Wk="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Kk="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Gk="\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",Xk="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Qk="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Jk="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Zk="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",Yk="\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",t6="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",e6="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",n6="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",o6="\u6279\u91CF\u5220\u9664",r6="\u6279\u91CF\u6253\u5370",i6="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",u6="\u6309\u94AE",l6="\u521B\u5EFA\u5355\u636E",c6="\u4EEA\u8868\u76D8",a6="\u5206\u5272\u7EBF",f6="\u5BFC\u51FA",_6="\u8868\u5355\u64CD\u4F5C",s6="\u5BFC\u5165",y6="\u53D1\u7968\u8BC6\u522B",p6="\u94FE\u63A5",d6="\u5217\u8868\u9009\u62E9",v6="\u5217\u8868\u89C6\u56FE",h6="\u64CD\u4F5C\u6309\u94AE",b6="\u5206\u9875",m6="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",g6="\u8BF4\u660E\u6587\u5B57",O6="\u6587\u5B57\u8BC6\u522B",w6="\u6807\u9898\u7EC4\u4EF6",$6="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",P6="\u6570\u7EC4",E6="\u81EA\u52A8\u7F16\u53F7",S6="\u81EA\u5B9A\u4E49",T6="\u6570\u503C",R6="\u90E8\u95E8",B6="\u4EBA\u5458",D6="\u9644\u4EF6",A6="\u56FE\u7247",I6="\u5730\u5740",k6="\u64CD\u4F5C",F6="\u5E8F\u53F7",x6="\u4EBA\u5458",M6="\u957F\u6587\u672C",L6="\u65E5\u671F\u533A\u95F4",C6="\u65E5\u671F",j6="\u77ED\u6587\u672C",N6="\u6362\u884C\u5BB9\u5668Wrap",V6="\u8868\u683C",z6="\u660E\u7EC6\u5B50\u8868",H6="\u5730\u5740",q6="\u91D1\u989D",U6="\u8BA1\u7B97\u516C\u5F0F",W6="\u591A\u9009",K6="\u7535\u5B50\u7B7E\u7AE0",G6="\u5355\u884C\u6587\u672C",X6="\u6570\u5B57",Q6="\u4E1A\u52A1\u7EC4\u7EC7",J6="\u5355\u9009",Z6="\u5BCC\u6587\u672C",Y6="\u8BC4\u5206",tF="\u6570\u5B57\u533A\u95F4",eF="\u4E0B\u62C9\u5355\u9009",nF="\u4E0B\u62C9\u591A\u9009",oF="\u5173\u8054\u5355\u9009",rF="\u591A\u884C\u6587\u672C",iF="\u6811",uF="Vue\u5BB9\u5668",lF="Vue\u9875\u9762",cF="\u5728\u7EBF\u6587\u6863",aF="\u6309\u94AE\u64CD\u4F5C\u680F",fF="\u9AD8\u7EA7\u5BB9\u5668",_F="\u5206\u7EC4",sF="\u6805\u683C\u5217",yF="\u6570\u636E\u5BB9\u5668",pF="\u753B\u5E03",dF="\u6362\u884C\u5BB9\u5668",vF="\u6805\u683C\u7B49\u5206\u884C",hF="\u5217\u8868\u5BB9\u5668",bF="\u81EA\u7531\u9875\u9762",mF="\u5B9A\u4F4D\u5B50\u5BB9\u5668",gF="\u5B9A\u4F4D\u5BB9\u5668",OF="\u6805\u683C\u5E03\u5C40",wF="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",$F="\u660E\u7EC6\u5B50\u8868\u884C",PF="\u6807\u7B7E\u9875",EF="\u6807\u7B7E\u5355\u5143",SF="\u5DE5\u5177\u680F",TF="\u6279\u91CF\u63D0\u4EA4",RF="\u5BFC\u51FA\u8BB0\u5F55",BF="\u5217\u8868\u89C6\u56FE",DF="\u5F15\u7528\u5217\u8868",AF="\u9009\u9879\u4E00",IF="\u9009\u9879\u4E8C",kF="\u9009\u9879\u4E09",FF={isNotNumber:NI,isNotString:VI,isNotObject:zI,isNotArray:HI,isNotBoolean:qI,runtimeRequired:UI,pleaseEnterCaption:WI,pleaseEnterCaptionTip:KI,pleaseEnterRowCaption:GI,pleaseEnterPlaceholder:XI,pleaseEnterFieldCode:QI,pleaseEnterForm:JI,pleaseEnterList:ZI,pleaseEnterProcess:YI,pleaseEnterLabel:tk,pleaseEnterValue:ek,bizKeyNotBindFiled:nk,pleaseSelectOneField:ok,pleaseEnterNumberRange:rk,pleaseEnterAValueGreaterThanMin:ik,pleaseEnterAValueLessThanMax:uk,numberRangeSetError:lk,stringRangeError:ck,attachmentMaxSize:ak,pleaseEnterTotalScoreSetting:fk,theTotalScoreMustNotBeLessThan1:_k,scoreDefaultValueRange:sk,attachmentLimitError:yk,PleaseReselectTheOptionalQuantity:pk,TheMaximumLengthIsGreaterThanTheMinimumLength:dk,TheMinimumLengthIsGreaterThanTheMaximumLength:vk,PleaseSelectTheCorrectOptionSettings:hk,optionIdIsRepeat:bk,optionIsRequired:mk,pleaseEnterDataCode:gk,pleaseEnterValueFieldCode:Ok,pleaseEnterSvcCode:wk,pleaseBindAtLeastOneDisplayValue:$k,pleaseSelectProvince:Pk,pleaseSelectCity:Ek,pleaseSelectDistrict:Sk,limitRowsCannotBeLessThan0:Tk,TheNumberOfRowsCannotBeLessThanMinRows:Rk,pleaseEnterColumnWidth:Bk,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Dk,pleaseCompleteAllRulesAndConditions:Ak,pleaseSelectControl:Ik,pleaseSelectDashboard:kk,theViewNameCannotBeEmpty:Fk,pleaseSelectOcrType:xk,pleaseSelectAtLeastOneFieldToFillIn:Mk,pleaseChooseAtLeastOne:Lk,pleaseEnterButtonContent:Ck,pleaseEnterDataCodeInDataSetting:jk,pleaseEnterValueFieldCodeInDataSetting:Nk,pleaseEnterSvcCodeInDataSetting:Vk,pleaseBindAtLeastOneDisplayValueInDataSetting:zk,rootNodeIsRequiredInDataSetting:Hk,pleaseEnterMaxHeight:qk,pleaseEnter:Uk,pleaseEnterWatermark:Wk,pleaseEnterFileName:Kk,pleaseUploadAtLeastOnePrintTemplate:Gk,pleaseAssignBusiness:Xk,pleaseAssignExternal:Qk,pleaseEnterAliasCode:Jk,pleaseSelectDataCode:Zk,pleaseSelectSvcCode:Yk,pleaseSelectJoinFieldCode:t6,pleaseSelectMainFieldCode:e6,pleaseSelectSortFieldCode:n6,batchDeleteButton:o6,batchPrintListButton:r6,batchPrintRecordList:i6,button:u6,createFormListButton:l6,dashboard:c6,divider:a6,exportListButton:f6,formSelectButton:_6,importRecordListButton:s6,invoiceCheckButton:y6,link:p6,listSelectButton:d6,ListViewSelect:v6,operationButton:h6,pagination:b6,submissionRecordListButton:m6,text:g6,textOcrButton:O6,title:w6,approvalStatusColumn:$6,array:P6,autoNumber:E6,custom:S6,decimal:T6,department:R6,employee:B6,file:D6,image:A6,location:I6,operation:k6,order:F6,people:x6,long:M6,timescope:L6,timestamp:C6,varchar:j6,gridLayoutWrap:N6,gridTable:V6,subTable:z6,address:H6,amount:q6,calc:U6,checkBox:W6,electronicSignature:K6,input:G6,number:X6,organizationSelection:Q6,radio:J6,richText:Z6,score:Y6,searchNumberRange:tF,select:eF,selectMultiple:nF,selectRelation:oF,textarea:rF,tree:iF,vueFormItem:uF,vuePage:lF,WPS:cF,actionBar:aF,advancedContainer:fF,cardGroup:_F,col:sF,dataView:yF,grid:pF,gridLayoutContainer:dF,gridRow:vF,listView:hF,page:bF,position:mF,positioningContainer:gF,row:OF,subtableColumn:wF,subtableRow:$F,tab:PF,tabPane:EF,toolbox:SF,batchSubmissionListButton:TF,exportRecordListButton:RF,listViewSelect:BF,referenceList:DF,optionOne:AF,optionTwo:IF,optionThird:kF},uf={zhCN:q2,enUS:jI,jaJP:FF},lf,xF=(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}({}),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.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}({}),xe=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",MF=T0+"0123456789";function jt(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",n=0;n<e;n++){var o=n===0?T0:MF,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 LF(e){if(Array.isArray(e))return cf(e)}function CF(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),zF(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 Lo(e,t,n){return ff()?Lo=Reflect.construct:Lo=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},Lo.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 jF(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function NF(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function VF(){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 zF(e,t){return t&&(HF(t)==="object"||typeof t=="function")?t:CF(e)}function Qn(e,t){return Qn=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qn(e,t)}function A0(e){return LF(e)||NF(e)||qF(e)||VF()}function HF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qF(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||!jF(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 Lo(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 Co(){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 UF(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?UF(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)),WF=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 WF(e)}function KF(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 GF(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 XF(e,t,n){return t&&k0(e.prototype,t),n&&k0(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}var F0=function(){function e(){GF(this,e)}return XF(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[xF.split("-").join("")])===null||r===void 0?void 0:r[n])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(n,o){}}]),e}();QF(F0,"$i18n",F0.resetI18n());function JF(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 ZF=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(h,w,T){if(!c(w)||p(w)||d(w)||b(w)||a(w))return w;var E,R=0,z=0;if(_(w))for(E=[],z=w.length;R<z;R++)E.push(n(h,w[R],T));else{E={};for(var A in w)Object.prototype.hasOwnProperty.call(w,A)&&(E[h(A,T)]=n(h,w[A],T))}return E},o=function(h,w){w=w||{};var T=w.separator||"_",E=w.split||/(?=[A-Z])/;return h.split(E).join(T)},r=function(h){return g(h)?h:(h=h.replace(/[\-_\s]+(.)?/g,function(w,T){return T?T.toUpperCase():""}),h.substr(0,1).toLowerCase()+h.substr(1))},i=function(h){var w=r(h);return w.substr(0,1).toUpperCase()+w.substr(1)},u=function(h,w){return o(h,w).toLowerCase()},l=Object.prototype.toString,a=function(h){return typeof h=="function"},c=function(h){return h===Object(h)},_=function(h){return l.call(h)=="[object Array]"},p=function(h){return l.call(h)=="[object Date]"},d=function(h){return l.call(h)=="[object RegExp]"},b=function(h){return l.call(h)=="[object Boolean]"},g=function(h){return h=h-0,h===h},m=function(h,w){var T=w&&"process"in w?w.process:w;return typeof T!="function"?h:function(E,R){return T(E,h,R)}},$={camelize:r,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(h,w){return n(m(r,w),h)},decamelizeKeys:function(h,w){return n(m(u,w),h,w)},pascalizeKeys:function(h,w){return n(m(i,w),h)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=$:t.humps=$})(ZF)})(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 YF=x0.default=df;function tx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bt(e){if(e!==void 0)return(typeof e=="undefined"?"undefined":tx(e))==="object"?YF(e):e}function ft(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 Me(e){return isNaN(parseFloat(e))?"":Number(e)}function ex(e){return e.reduce(function(t,n){return t.includes(n)||t.push(n),t},[])}function C(e,t){var n=[];return Array.isArray(e)&&(n=e.map(function(o){var r=o;return Array.isArray(o==null?void 0:o.children)&&(r.children=C(o.children,t)),Array.isArray(o==null?void 0:o.footers)&&(r.footers=C(o.footers,t)),t(r)})),n}function nx(e){return pf.exports.camelizeKeys(e)}function re(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 ox(e){if(Array.isArray(e))return vf(e)}function L0(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 rx(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(a){L0(i,o,r,u,l,"next",a)}function l(a){L0(i,o,r,u,l,"throw",a)}u(void 0)})}}function ix(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C0(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function ux(e,t,n){return t&&C0(e.prototype,t),n&&C0(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 lx(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function cx(){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 ox(e)||lx(e)||ax(e)||cx()}function ax(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 fx(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 _x=function(){function e(){ix(this,e),j0(this,"_events",new Map),j0(this,"debug",!1)}return ux(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 rx(function(){var u,l,a,c,_,p,d,b,g,m,$,h;return fx(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,p=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=(b=d.next()).done)return[3,7];if(g=b.value,!u.includes(g))return[3,6];w.label=3;case 3:return w.trys.push([3,5,,6]),this.debug&&Co.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 m=w.sent(),this.debug&&Co.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),[m])),l.push(m),m===!1?[3,7]:[3,6];case 5:return $=w.sent(),KF(String($)+":"+String($.stack)),[3,6];case 6:return c=!0,[3,2];case 7:return[3,10];case 8:return h=w.sent(),_=!0,p=h,[3,10];case 9:try{!c&&d.return!=null&&d.return()}finally{if(_)throw p}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 sx(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 yx(e,t,n){return t&&N0(e.prototype,t),n&&N0(e,n),e}function px(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var dx=[{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"}],vx=function(){function e(){sx(this,e)}return yx(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}();px(vx,"events",dx);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 hx(e){if(Array.isArray(e))return bf(e)}function bx(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function mx(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function V0(e){return hx(e)||bx(e)||gx(e)||mx()}function gx(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 Ox(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 Ox(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 p=(_=Reflect).set.apply(_,[r,i,u].concat(V0(a)));return M0(u)&&z0(u,t,n),p}})}function Wt(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 wx(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 $x(e,t,n){return t&&W0(e.prototype,t),n&&W0(e,n),e}function ie(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var K0=[],No=function(){function e(t){wx(this,e),ie(this,"registeredControlTypes",new Set),ie(this,"controlConfigMap",new Map),ie(this,"_controls",[]),ie(this,"_type",void 0),this._type=t,this._initControls(t)}return $x(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(b){return b==n}),p=l[a]||[],d;return p.length!==c.length?d=p[0]:d=p[_],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}();ie(No,"staticControlsRuntimeRules",new Map),ie(No,"staticControls",K0),ie(No,"staticRegisteredTypes",new Set(K0.map(function(e){return e.Designer.controlType}))),ie(No,"staticRegisteredConfigs",new Map);function Px(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=Vo(t),Ex(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 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 Vo(e){return Vo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vo(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&&gf(e,t)}function Ex(e,t){return t&&(Sx(t)==="object"||typeof t=="function")?t:Px(e)}function gf(e,t){return gf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gf(e,t)}function Sx(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 It=function e(t){S(this,e),v(this,"dataCode",void 0),v(this,"fieldCode",void 0),v(this,"fieldType",void 0),v(this,"aliasCode",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.fieldCode=(o=t==null?void 0:t.fieldCode)!==null&&o!==void 0?o:"";var r;this.fieldType=(r=t==null?void 0:t.fieldType)!==null&&r!==void 0?r:"",this.aliasCode=t==null?void 0:t.aliasCode},Of=function e(t){S(this,e),v(this,"minWidth",void 0),v(this,"maxWidth",void 0),v(this,"flex",void 0);var n;this.minWidth=(n=t==null?void 0:t.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=t==null?void 0:t.maxWidth;var o;this.flex=(o=t==null?void 0:t.flex)!==null&&o!==void 0?o:1},X0=function e(t){S(this,e),v(this,"rowHeightType",void 0),v(this,"minRows",void 0),v(this,"maxRows",void 0),v(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),v(this,"pc",void 0),v(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){At(t,e);function t(n){S(this,t);var o;o=Dt(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}(Of),J0=function e(t){S(this,e),v(this,"pc",void 0),v(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})},Tx=function e(t){S(this,e),v(this,"type",void 0),v(this,"customOptions",void 0);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"firstThree";var o;this.customOptions=(o=t==null?void 0:t.customOptions)!==null&&o!==void 0?o:[]},Le=function e(t){S(this,e),v(this,"dataCode",void 0),v(this,"formKey",void 0),v(this,"appId",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var r;this.appId=(r=t==null?void 0:t.appId)!==null&&r!==void 0?r:""},Rx=function(e){At(t,e);function t(n){S(this,t);var o;o=Dt(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}(Le),Z0=function e(t){S(this,e),v(this,"fieldCode",void 0),v(this,"dataCode",void 0);var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.dataCode=(o=t==null?void 0:t.dataCode)!==null&&o!==void 0?o:""},$f=function e(t){S(this,e);var n;v(this,"appId",void 0),v(this,"formKey",void 0),v(this,"headers",void 0);var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var r;this.formKey=(r=t==null?void 0:t.formKey)!==null&&r!==void 0?r:"";var i;this.headers=(i=t==null||(n=t.headers)===null||n===void 0?void 0:n.map(function(u){return new Z0(u)}))!==null&&i!==void 0?i:[]},Bx=function e(t){S(this,e),v(this,"fieldName",void 0),v(this,"fieldCode",void 0),v(this,"fieldType",void 0);var n;this.fieldName=(n=t==null?void 0:t.fieldName)!==null&&n!==void 0?n:"";var o;this.fieldCode=(o=t==null?void 0:t.fieldCode)!==null&&o!==void 0?o:"";var r;this.fieldType=(r=t==null?void 0:t.fieldType)!==null&&r!==void 0?r:O.VARCHAR},Dx=function(e){At(t,e);function t(n){S(this,t);var o;o=Dt(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 l;return o.filters=(l=n==null?void 0:n.filters)!==null&&l!==void 0?l:[],o}return t}(Le),Ax=function e(t){S(this,e);var n,o;v(this,"type","sublist-page"),v(this,"formBind",void 0),v(this,"displayFields",void 0),v(this,"sublists",void 0),this.formBind=new 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 Bx(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 Dx(u)}))!==null&&i!==void 0?i:[]},Ix=function e(t){S(this,e),v(this,"type",void 0),v(this,"value",void 0),v(this,"dataCode",void 0),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value,this.dataCode=t==null?void 0:t.dataCode},ue=function e(t){S(this,e),v(this,"type",void 0),v(this,"value",void 0),v(this,"displayBos",void 0);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"custom";var o;this.value=(o=t==null?void 0:t.value)!==null&&o!==void 0?o:[];var r;this.displayBos=(r=t==null?void 0:t.displayBos)!==null&&r!==void 0?r:[]},Pf=function e(t){var n=this;S(this,e),v(this,"id",void 0),v(this,"ruleId",void 0),v(this,"type","conditions"),v(this,"level",void 0),v(this,"value",void 0),v(this,"children",void 0);var o;this.id=(o=t==null?void 0:t.id)!==null&&o!==void 0?o:jt();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 _,p=new zo(l);(_=n.children)===null||_===void 0||_.push(p)}}))},zo=function e(t){S(this,e),v(this,"id",void 0),v(this,"ruleId",void 0),v(this,"type","condition"),v(this,"symbol",void 0),v(this,"checked",void 0),v(this,"describe",void 0),v(this,"leftVariableBo",void 0),v(this,"rightVariableBo",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:jt();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 Ix(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new ue(t==null?void 0:t.rightVariableBo)},kx=function e(t){S(this,e),v(this,"aliasCode",void 0),v(this,"datasourceBind",void 0),v(this,"relationFields",void 0);var n;this.aliasCode=(n=t==null?void 0:t.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new X(t==null?void 0:t.datasourceBind);var o;this.relationFields=(o=t==null?void 0:t.relationFields)!==null&&o!==void 0?o:[]},yt=function e(t){S(this,e),v(this,"controlId",void 0),v(this,"fieldCode",void 0),v(this,"fieldType",void 0),v(this,"propName",void 0);var n;this.controlId=(n=t==null?void 0:t.controlId)!==null&&n!==void 0?n:"";var o;this.fieldCode=(o=t==null?void 0:t.fieldCode)!==null&&o!==void 0?o:"";var r;this.fieldType=(r=t==null?void 0:t.fieldType)!==null&&r!==void 0?r:"";var i;this.propName=(i=t==null?void 0:t.propName)!==null&&i!==void 0?i:""},Ef=function e(t){S(this,e),v(this,"type",void 0),v(this,"value",void 0),v(this,"fieldType",void 0);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"FIELD";var o;this.value=(o=t==null?void 0:t.value)!==null&&o!==void 0?o:"",this.fieldType=t==null?void 0:t.fieldType},Fx=function e(t){S(this,e),v(this,"columnName",void 0),v(this,"desc",void 0);var n;this.columnName=(n=t.columnName)!==null&&n!==void 0?n:"";var o;this.desc=(o=t.desc)!==null&&o!==void 0?o:!1};function 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 Fx(l)}))!==null&&u!==void 0?u:[]}var X=function e(t){var n=this;S(this,e),v(this,"dataCode",void 0),v(this,"valueFieldCode",void 0),v(this,"displayBoList",void 0),v(this,"keywordMapping",void 0),v(this,"svcCode",void 0),v(this,"appId",void 0),v(this,"filters",void 0),v(this,"viewFilters",void 0),v(this,"isOpenViewFilters",void 0),v(this,"orders",void 0),v(this,"showOrder",void 0),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(p){var d;(d=n.displayBoList)===null||d===void 0||d.push(new Ef(p))}));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 ue(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),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:[]},Kt=function e(t){S(this,e),v(this,"code",void 0),v(this,"color",void 0),v(this,"command",void 0),v(this,"confirmMessage",void 0),v(this,"defaultState",void 0),v(this,"formKey",void 0),v(this,"formType",void 0),v(this,"icon",void 0),v(this,"needConfirm",void 0),v(this,"openType",void 0),v(this,"priorityProcess",void 0);var n;this.code=(n=t==null?void 0:t.code)!==null&&n!==void 0?n:"view";var o;this.color=(o=t==null?void 0:t.color)!==null&&o!==void 0?o:"primary";var r;this.command=(r=t==null?void 0:t.command)!==null&&r!==void 0?r:"view";var i;this.confirmMessage=(i=t==null?void 0:t.confirmMessage)!==null&&i!==void 0?i:void 0;var u;this.defaultState=(u=t==null?void 0:t.defaultState)!==null&&u!==void 0?u:"default";var 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 p;this.priorityProcess=(p=t==null?void 0:t.priorityProcess)!==null&&p!==void 0?p:!0},Y0=function e(t){S(this,e);var n;v(this,"name",void 0),v(this,"key",void 0),v(this,"value",void 0);var o;this.name=(o=t==null?void 0:t.name)!==null&&o!==void 0?o:"";var r;this.key=(r=t==null?void 0:t.key)!==null&&r!==void 0?r:"";var i;this.value=(i=t==null||(n=t.value)===null||n===void 0?void 0:n.map(function(u){return new Ef(u)}))!==null&&i!==void 0?i:[]},Ho=function(e){At(t,e);function t(n){S(this,t);var o,r;o=Dt(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 Y0(u)}))!==null&&i!==void 0?i:[],o}return t}(X),xx=function(e){At(t,e);function t(n){S(this,t);var o,r;o=Dt(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(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){At(t,e);function t(n){S(this,t);var o;o=Dt(this,t,[n]),v(o,"rootNode",void 0),v(o,"filterCode",void 0),o.rootNode=new ue(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;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 yt(u)}))!==null&&i!==void 0?i:[]},nb=function(e){At(t,e);function t(n){S(this,t);var o;return o=Dt(this,t,[n]),v(o,"filters",void 0),v(o,"viewFilters",void 0),v(o,"orders",void 0),Sf.call(o,n),o}return t}(eb),ob=function(e){At(t,e);function t(n){S(this,t);var o;o=Dt(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}(eb),Rf=function e(t){S(this,e),v(this,"stencilName",void 0),v(this,"expression",void 0),v(this,"errMessage",void 0);var n;this.stencilName=(n=t==null?void 0:t.stencilName)!==null&&n!==void 0?n:"";var o;this.expression=(o=t==null?void 0:t.expression)!==null&&o!==void 0?o:"";var r;this.errMessage=(r=t==null?void 0:t.errMessage)!==null&&r!==void 0?r:""},Mx=function e(t){S(this,e),v(this,"id",void 0),v(this,"label",void 0),v(this,"value",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:jt(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 Gt(e){var t;return(t=e==null?void 0:e.map(function(n){return new Mx(n)}))!==null&&t!==void 0?t:[]}var Bf=function e(){S(this,e)},Lx=function(e){At(t,e);function t(n){S(this,t);var o;return o=Dt(this,t),v(o,"amount",void 0),v(o,"currency",void 0),o.amount=new It(n==null?void 0:n.amount),o.currency=new It(n==null?void 0:n.currency),o}return t}(Bf),Cx=function e(t){S(this,e),v(this,"amount",void 0),v(this,"currency",void 0);var n;this.amount=(n=t==null?void 0:t.amount)!==null&&n!==void 0?n:"";var o;this.currency=(o=t==null?void 0:t.currency)!==null&&o!==void 0?o:"CNY"},jx=function(e){At(t,e);function t(n){S(this,t);var o;return o=Dt(this,t),v(o,"min",void 0),v(o,"max",void 0),o.min=new It(n==null?void 0:n.min),o.max=new It(n==null?void 0:n.max),o}return t}(Bf),Nx=function e(t){S(this,e),v(this,"min",void 0),v(this,"max",void 0);var n;this.min=(n=t==null?void 0:t.min)!==null&&n!==void 0?n:"";var o;this.max=(o=t==null?void 0:t.max)!==null&&o!==void 0?o:""},Vx=function e(t){S(this,e),v(this,"city",void 0),v(this,"cityDisplay",void 0),v(this,"district",void 0),v(this,"districtDisplay",void 0),v(this,"province",void 0),v(this,"provinceDisplay",void 0);var n;this.city=(n=t==null?void 0:t.city)!==null&&n!==void 0?n:"";var o;this.cityDisplay=(o=t==null?void 0:t.cityDisplay)!==null&&o!==void 0?o:"";var r;this.district=(r=t==null?void 0:t.district)!==null&&r!==void 0?r:"";var i;this.districtDisplay=(i=t==null?void 0:t.districtDisplay)!==null&&i!==void 0?i:"";var u;this.province=(u=t==null?void 0:t.province)!==null&&u!==void 0?u:"";var l;this.provinceDisplay=(l=t==null?void 0:t.provinceDisplay)!==null&&l!==void 0?l:""},zx=function(e){At(t,e);function t(n){S(this,t);var o;return o=Dt(this,t),v(o,"result",void 0),v(o,"unit",void 0),o.result=new It(n==null?void 0:n.result),o.unit=new It(n==null?void 0:n.unit),o}return t}(Bf),Hx=function e(t){S(this,e),v(this,"result",void 0),v(this,"unit",void 0);var n;this.result=(n=t==null?void 0:t.result)!==null&&n!==void 0?n:0;var o;this.unit=(o=t==null?void 0:t.unit)!==null&&o!==void 0?o:""},qx=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}({}),Ux=function(e){return e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT",e}({}),le=function e(t){S(this,e),v(this,"isShow",void 0),v(this,"priorityProcess",void 0),v(this,"formKey",void 0),v(this,"content",void 0),v(this,"openType",void 0),v(this,"type",void 0);var n;this.isShow=(n=t==null?void 0:t.isShow)!==null&&n!==void 0?n:!0;var o;this.content=(o=t==null?void 0:t.content)!==null&&o!==void 0?o:"";var r;this.formKey=(r=t==null?void 0:t.formKey)!==null&&r!==void 0?r:"";var i;this.openType=(i=t==null?void 0:t.openType)!==null&&i!==void 0?i:"modal";var u;this.type=(u=t==null?void 0:t.type)!==null&&u!==void 0?u:"";var l;this.priorityProcess=(l=t==null?void 0:t.priorityProcess)!==null&&l!==void 0?l:!1},Wx=function e(t){S(this,e);var n;v(this,"id",void 0),v(this,"title",void 0),v(this,"filters",void 0),v(this,"viewFilters",void 0),v(this,"headers",void 0);var o;this.id=(o=t==null?void 0:t.id)!==null&&o!==void 0?o:jt(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)},Kx=function e(t){S(this,e),v(this,"width",void 0),v(this,"height",void 0),v(this,"widthConfig",void 0),v(this,"heightConfig",void 0);var n;this.width=(n=t==null?void 0:t.width)!==null&&n!==void 0?n:"";var o;this.height=(o=t==null?void 0:t.height)!==null&&o!==void 0?o:"";var r;this.widthConfig=(r=t==null?void 0:t.widthConfig)!==null&&r!==void 0?r:"fill";var i;this.heightConfig=(i=t==null?void 0:t.heightConfig)!==null&&i!==void 0?i:"fill"},Gx=function e(t){S(this,e),v(this,"optCode",void 0),v(this,"optType",void 0);var n;this.optCode=(n=t==null?void 0:t.optCode)!==null&&n!==void 0?n:"";var o;this.optType=(o=t==null?void 0:t.optType)!==null&&o!==void 0?o:""},Xx=function e(t){S(this,e);var n,o;v(this,"id",void 0),v(this,"name",void 0),v(this,"settings",void 0),v(this,"filters",void 0),v(this,"script",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:jt();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 Qx(a)}))!==null&&l!==void 0?l:[]:[],this.script=t==null?void 0:t.script},Qx=function e(t){S(this,e),v(this,"color",void 0),v(this,"fieldCodes",void 0),v(this,"type",void 0),v(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"},Jx=function e(t){S(this,e);var n;v(this,"type",void 0),v(this,"interval",void 0),v(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 Xx(u)}))!==null&&i!==void 0?i:[]:[]};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=Zn(t),nM(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 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 Zn(e){return Zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zn(e)}function tM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yn(e,t)}function eM(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function nM(e,t){return t&&(oM(t)==="object"||typeof t=="function")?t:Zx(e)}function Yn(e,t){return Yn=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yn(e,t)}function oM(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||!eM(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),Xt(this,"isHide",{type:"boolean"})},Oe=function(e){tM(t,e);function t(n){return Df(this,t),Yx(this,t)}return t}(Af(Array)),W=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Df(this,e),Xt(this,"isHide",void 0),Xt(this,"className",void 0),Xt(this,"style",void 0),Xt(this,"caption",void 0),Xt(this,"defaultState",void 0);var o;this.isHide=(o=t==null?void 0:t.isHide)!==null&&o!==void 0?o:!1,this.style=new Kx(t==null?void 0:t.style);var r;this.caption=(r=t==null?void 0:t.caption)!==null&&r!==void 0?r:n};Xt(W,"mode",void 0),Xt(W,"Rules",U),Xt(W,"RuntimeRules",Oe);function Nt(){return Nt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Nt.apply(this,arguments)}function rM(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 iM(){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 iM()?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 uM(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||!uM(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 lM=/%[sdj%]/g,rb=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(rb=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 vt(){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(lM,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 cM(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||cM(t)&&typeof e=="string"&&!e)}function aM(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 ib(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 fM(e){var t=[];return Object.keys(e).forEach(function(n){t.push.apply(t,e[n])}),t}var ub=function(e){rM(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 _M(e,t,n,o){if(t.first){var r=new Promise(function(p,d){var b=function($){return o($),$.length?d(new ub($,xf($))):p()},g=fM(e);ib(g,n,b)});return r.catch(function(p){return p}),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(p,d){var b=function(m){if(c.push.apply(c,m),a++,a===l)return o(c),c.length?d(new ub(c,xf(c))):p()};u.length||(o(c),p()),u.forEach(function(g){var m=e[g];i.indexOf(g)!==-1?ib(m,n,b):aM(m,n,b)})});return _.catch(function(p){return p}),_}function lb(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 cb(e,t){if(t){for(var n in t)if(t.hasOwnProperty(n)){var o=t[n];typeof o=="object"&&typeof e[n]=="object"?e[n]=Nt(Nt({},e[n]),o):e[n]=o}}return e}function ab(e,t,n,o,r,i){e.required&&(!n.hasOwnProperty(e.field)||G(t,i||e.type))&&o.push(vt(r.messages.required,e.fullField))}function sM(e,t,n,o,r){(/^\s+$/.test(t)||t==="")&&o.push(vt(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 yM(e,t,n,o,r){if(e.required&&t===void 0){ab(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(vt(r.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&o.push(vt(r.messages.types[u],e.fullField,e.type))}function pM(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,p=typeof t=="number",d=typeof t=="string",b=Array.isArray(t);if(p?_="number":d?_="string":b&&(_="array"),!_)return!1;b&&(c=t.length),d&&(c=t.replace(a,"_").length),i?c!==e.len&&o.push(vt(r.messages[_].len,e.fullField,e.len)):u&&!l&&c<e.min?o.push(vt(r.messages[_].min,e.fullField,e.min)):l&&!u&&c>e.max?o.push(vt(r.messages[_].max,e.fullField,e.max)):u&&l&&(c<e.min||c>e.max)&&o.push(vt(r.messages[_].range,e.fullField,e.min,e.max))}var Ce="enum";function dM(e,t,n,o,r){e[Ce]=Array.isArray(e[Ce])?e[Ce]:[],e[Ce].indexOf(t)===-1&&o.push(vt(r.messages[Ce],e.fullField,e[Ce].join(", ")))}function vM(e,t,n,o,r){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||o.push(vt(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(vt(r.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var I={required:ab,whitespace:sM,type:yM,range:pM,enum:dM,pattern:vM};function hM(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 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.type(e,t,o,i,r)}n(i)}function mM(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 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(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 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),I.range(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),t!==void 0&&(I.type(e,t,o,i,r),I.range(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(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 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)}n(i)}var SM="enum";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[SM](e,t,o,i,r)}n(i)}function RM(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 BM(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 DM(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 Lf(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 AM(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:hM,method:bM,number:mM,boolean:gM,regexp:OM,integer:wM,float:$M,array:PM,object:EM,enum:TM,pattern:RM,date:BM,url:Lf,hex:Lf,email:Lf,required:DM,any:AM};function Cf(){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=Cf();function ce(e){this.rules=null,this._messages=jf,this.define(e)}ce.prototype={messages:function(t){return t&&(this._messages=cb(Cf(),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(m){var $,h=[],w={};function T(E){if(Array.isArray(E)){var R;h=(R=h).concat.apply(R,E)}else h.push(E)}for($=0;$<m.length;$++)T(m[$]);h.length?w=xf(h):(h=null,w=null),l(h,w)}if(u.messages){var c=this.messages();c===jf&&(c=Cf()),cb(c,u.messages),u.messages=c}else u.messages=this.messages();var _,p,d={},b=u.keys||Object.keys(this.rules);b.forEach(function(m){_=r.rules[m],p=i[m],_.forEach(function($){var h=$;typeof h.transform=="function"&&(i===t&&(i=Nt({},i)),p=i[m]=h.transform(p)),typeof h=="function"?h={validator:h}:h=Nt({},h),h.validator=r.getValidationMethod(h),h.field=m,h.fullField=h.fullField||m,h.type=r.getType(h),h.validator&&(d[m]=d[m]||[],d[m].push({rule:h,value:p,source:i,field:m}))})});var g={};return _M(d,u,function(m,$){var h=m.rule,w=(h.type==="object"||h.type==="array")&&(typeof h.fields=="object"||typeof h.defaultField=="object");w=w&&(h.required||!h.required&&m.value),h.field=m.field;function T(z,A){return Nt(Nt({},A),{},{fullField:h.fullField+"."+z})}function E(z){z===void 0&&(z=[]);var A=z;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(lb(h)),u.first&&A.length)return g[h.field]=1,$(A);if(!w)$(A);else{if(h.required&&!m.value)return h.message!==void 0?A=[].concat(h.message).map(lb(h)):u.error&&(A=[u.error(h,vt(u.messages.required,h.field))]),$(A);var ct={};if(h.defaultField)for(var D in m.value)m.value.hasOwnProperty(D)&&(ct[D]=h.defaultField);ct=Nt(Nt({},ct),m.rule.fields);for(var qt in ct)if(ct.hasOwnProperty(qt)){var xo=Array.isArray(ct[qt])?ct[qt]:[ct[qt]];ct[qt]=xo.map(T.bind(null,qt))}var Kn=new ce(ct);Kn.messages(u.messages),m.rule.options&&(m.rule.options.messages=u.messages,m.rule.options.error=u.error),Kn.validate(m.value,m.rule.options||u,function(ke){var Ut=[];A&&A.length&&Ut.push.apply(Ut,A),ke&&ke.length&&Ut.push.apply(Ut,ke),$(Ut.length?Ut:null)})}}var R;h.asyncValidator?R=h.asyncValidator(h,m.value,E,m.source,u):h.validator&&(R=h.validator(h,m.value,E,m.source,u),R===!0?E():R===!1?E(h.message||h.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(m){a(m)})},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(vt("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}},ce.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},ce.warning=rb,ce.messages=jf,ce.validators=eo;var IM={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 kM(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new ce(e);return n.messages(Object.assign(IM,t)),n}var FM=new _x;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 xM(e){if(Array.isArray(e))return e}function MM(e){if(Array.isArray(e))return Nf(e)}function fb(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 _b(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(a){fb(i,o,r,u,l,"next",a)}function l(a){fb(i,o,r,u,l,"throw",a)}u(void 0)})}}function LM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sb(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function CM(e,t,n){return t&&sb(e.prototype,t),n&&sb(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 yb(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function pb(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function jM(){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 NM(){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 db(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 VM(e){return xM(e)||pb(e)||vb(e)||jM()}function Vf(e){return MM(e)||pb(e)||vb(e)||NM()}function zM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vb(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 hb(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 L=function(){function t(n){var o=this;LM(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",mb),M(this,"removeSetting",bb),this._callControlHooks("preInstance",n);var r=yb(this,t)?this.constructor:void 0,i=r.controlName,u=r.controlIcon,l=r.controlType,a=r.controlFieldType,c=r.controlEventKeys,_=r.controlCustomEvents,p=r.name,d=r.setting,b=r.slots,g=r.slotPosition;i&&u&&l||I0("The ".concat(p," controlName,controlIcon,controlType is not define"));var m;this.id=(m=n==null?void 0:n.id)!==null&&m!==void 0?m:jt(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,(yb(this,t)?this.constructor:void 0).controlName);var h;this.controlType=(h=n==null?void 0:n.controlType)!==null&&h!==void 0?h:"base",this.setting=Bt(d);var w;this.fieldType=(w=n==null?void 0:n.fieldType)!==null&&w!==void 0?w:a,this.eventKeys=Bt(c),this.customEvents=Bt(_),this.slots=Bt(b),this.slotPosition=Bt(g),Promise.resolve().then(function(){o._callControlHooks("postInstance",n)})}return CM(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=VM(r),a=l[0],c=l.slice(1);return(u=FM).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),JF(this.props,o,r),this.postUpdate(o,r)}},{key:"preValidate",value:function(){return _b(function(){var o,r,i;return hb(this,function(u){switch(u.label){case 0:return o=db({},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 _b(function(){var i,u,l,a;return hb(this,function(c){switch(c.label){case 0:return[4,this.preValidate()];case 1:i=c.sent(),u=i!==void 0?i:db({},this.rules),Array.isArray(r)&&r.forEach(function(_){u.hasOwnProperty(_)&&delete u[_]}),l=kM(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,p=l.caption,d=l.required,b=l.maxLength,g=l.options,m=l.encrypted,$=l.encryptedMode;if(!(!r&&!a&&!c)){var h={parentId:o,fieldType:r,controlId:i,caption:p,type:u,props:{}};switch(a&&(h.dataBind=a),_){case"datasource":case void 0:c&&(h.datasourceBind=c);break;case"custom":h.props.options=g;break}return d!==void 0&&(h.required=d),b!==void 0&&(h.maxLength=b),m!==void 0&&(h.encrypted=m),$!==void 0&&(h.encryptedMode=$),h}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Bt(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(L,"mode","Designer"),M(L,"slots",void 0),M(L,"slotPosition",void 0),M(L,"controlName",f("CMD.85531751967135654")),M(L,"controlIcon","icon"),M(L,"controlType","control"),M(L,"controlFieldType",void 0),M(L,"controlEventKeys",[]),M(L,"controlCustomEvents",[]),M(L,"setting",[]),M(L,"__is_control__",!0),M(L,"removeSettingItem",bb),M(L,"updateSettingItem",mb);function bb(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 mb(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":zM(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 HM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gb(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function qM(e,t,n){return t&&gb(e.prototype,t),n&&gb(e,n),e}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 UM(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var Vt=function(){function t(n){HM(this,t),ht(this,"id",void 0),ht(this,"type",void 0),ht(this,"controlType",void 0),ht(this,"props",void 0),ht(this,"fieldType",void 0),ht(this,"customEvents",[]),ht(this,"pageStatus",void 0),ht(this,"parent",null);var o=UM(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:jt(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 p;this.fieldType=(p=n==null?void 0:n.fieldType)!==null&&p!==void 0?p:i;var d;this.pageStatus=(d=n==null?void 0:n.pageStatus)!==null&&d!==void 0?d:Ux.UNKNOWN}return qM(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}();ht(Vt,"mode","Runtime"),ht(Vt,"controlType","control"),ht(Vt,"controlFieldType",void 0),ht(Vt,"__is_control__",!0),ht(Vt,"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=ex(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.42a81751967107601":"CMD.e9071751967116434"))},valueFieldCode:{type:"string",required:!0,message:f(n?"CMD.pleaseEnterValueFieldCodeInDataSetting":"CMD.pleaseEnterValueFieldCode",null,f(n?"CMD.7a991751967110145":"CMD.1a6d1751967120386"))},svcCode:{type:"string",required:!0,message:f(n?"CMD.pleaseEnterSvcCodeInDataSetting":"CMD.pleaseEnterSvcCode",null,f(n?"CMD.f3391751967112226":"CMD.23d61751967123740"))},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.93731751967100312":"CMD.726a1751967114349"))),u()},message:f(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,f(n?"CMD.93731751967100312":"CMD.726a1751967114349"))}]}}}],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 WM(e){return(e==null?void 0:e.dataCode)!==void 0&&(e==null?void 0:e.fieldCode)!==void 0}function KM(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),GM(e,Ob()?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 GM(e,t){return t&&(XM(t)==="object"||typeof t=="function")?t:KM(e)}function Hf(e,t){return Hf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hf(e,t)}function XM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ob(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ob=function(){return!!e})()}var Z=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(WM(n.dataBind))o.dataBind={type:"object",required:!0,fields:Bt(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:Bt(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 p;o.required=(p=n==null?void 0:n.required)!==null&&p!==void 0?p:!1;var d;o.requiredMessage=(d=n==null?void 0:n.requiredMessage)!==null&&d!==void 0?d:"",o.dataBind=new It(n==null?void 0:n.dataBind);var b;return o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:"",o}return t}(W);N(k,"Rules",Z),N(k,"RuntimeRules",j);var je=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}(Z);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=Yo(t),t7(e,wb()?Reflect.construct(t,n||[],Yo(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 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 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&&qf(e,t)}function t7(e,t){return t&&(e7(t)==="object"||typeof t=="function")?t:QM(e)}function qf(e,t){return qf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qf(e,t)}function e7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(wb=function(){return!!e})()}var F=function(e){YM(t,e);function t(n){ZM(this,t);var o;return o=JM(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}(L);Zo(F,"controlEventKeys",["on_change","on_focus","on_blur"]),Zo(F,"controlCustomAttributes",void 0);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=tr(t),u7(e,$b()?Reflect.construct(t,n||[],tr(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 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 i7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 u7(e,t){return t&&(l7(t)==="object"||typeof t=="function")?t:n7(e)}function Wf(e,t){return Wf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wf(e,t)}function l7(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 x=function(e){i7(t,e);function t(n){r7(this,t);var o;return o=o7(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}(Vt);function c7(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=er(t),s7(e,Pb()?Reflect.construct(t,n||[],er(e).constructor):t.apply(e,n))}function f7(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 _7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kf(e,t)}function s7(e,t){return t&&(y7(t)==="object"||typeof t=="function")?t:c7(e)}function Kf(e,t){return Kf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kf(e,t)}function y7(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 Y=function(e){_7(t,e);function t(n){return f7(this,t),a7(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 p7(e){if(Array.isArray(e))return Gf(e)}function d7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Eb(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 v7(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(a){Eb(i,o,r,u,l,"next",a)}function l(a){Eb(i,o,r,u,l,"throw",a)}u(void 0)})}}function h7(e,t,n){return t=fe(t),T7(e,Rb()?Reflect.construct(t,n||[],fe(e).constructor):t.apply(e,n))}function b7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sb(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function m7(e,t,n){return t&&Sb(e.prototype,t),n&&Sb(e,n),e}function ae(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ne(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Ne=Reflect.get:Ne=function(r,i,u){var l=R7(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},Ne(e,t,n||e)}function fe(e){return fe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fe(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&&Xf(e,t)}function O7(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function w7(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function $7(){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 P7(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){ae(e,r,n[r])})}return e}function E7(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 S7(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):E7(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function T7(e,t){return t&&(B7(t)==="object"||typeof t=="function")?t:d7(e)}function Xf(e,t){return Xf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xf(e,t)}function R7(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=fe(e),e!==null););return e}function Tb(e){return p7(e)||w7(e)||D7(e)||$7()}function B7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function D7(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 Rb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Rb=function(){return!!e})()}function A7(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 I7=1e4,tt=function(t){g7(n,t);function n(o){b7(this,n);var r;r=h7(this,n,[o]),ae(r,"controlType","layout"),ae(r,"children",void 0),ae(r,"excludes",void 0),ae(r,"childrenMaxLength",void 0),ae(r,"props",void 0);var i=O7(this,n)?this.constructor:void 0,u=i.excludes,l=i.childrenMaxLength;return r.props=new Y(o==null?void 0:o.props),Wt(r,"children",o==null?void 0:o.children,void 0,"Designer"),r.excludes=Bt(u),r.childrenMaxLength=l,r}return m7(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 Ne(fe(n.prototype),"validate",u)};return v7(function(){return A7(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=Ne(fe(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(p){return!!p});return Tb(l).concat(Tb(_))}return c&&l.push(c),l},u)}},{key:"toSchema",value:function(){var r=Ne(fe(n.prototype),"toSchema",this).call(this),i=this.children.map(function(u){var l=u.toSchema();return l});return S7(P7({},r),{children:i})}}]),n}(L);ae(tt,"excludes",!1),ae(tt,"childrenMaxLength",I7);function k7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F7(e,t,n){return t=nr(t),L7(e,Bb()?Reflect.construct(t,n||[],nr(e).constructor):t.apply(e,n))}function x7(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 M7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jf(e,t)}function L7(e,t){return t&&(C7(t)==="object"||typeof t=="function")?t:k7(e)}function Jf(e,t){return Jf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jf(e,t)}function C7(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 we=function(e){M7(t,e);function t(n){x7(this,t);var o;return o=F7(this,t,[n]),Qf(o,"controlType","layout"),Qf(o,"children",void 0),Qf(o,"props",void 0),o.props=new Y(n==null?void 0:n.props),Wt(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return t}(Vt);function j7(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=or(t),H7(e,Db()?Reflect.construct(t,n||[],or(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 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 or(e){return or=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},or(e)}function z7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zf(e,t)}function H7(e,t){return t&&(q7(t)==="object"||typeof t=="function")?t:j7(e)}function Zf(e,t){return Zf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zf(e,t)}function q7(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 Yf=function(e){z7(t,e);function t(n,o,r){V7(this,t);var i;i=N7(this,t,[o]),Ve(i,"headers",void 0),Ve(i,"footers",void 0),Ve(i,"pageIndex",void 0),Ve(i,"pageSize",void 0),Ve(i,"pageSizeOptions",void 0),Ve(i,"totalCount",void 0),Wt(i,"headers",o==null?void 0:o.headers,n,r),Wt(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 U7(e){if(Array.isArray(e))return t_(e)}function W7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ab(e,t,n,o,r,i,u){try{var l=e[i](u),a=l.value}catch(c){n(c);return}l.done?t(a):Promise.resolve(a).then(o,r)}function K7(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(a){Ab(i,o,r,u,l,"next",a)}function l(a){Ab(i,o,r,u,l,"throw",a)}u(void 0)})}}function G7(e,t,n){return t=_e(t),eL(e,Mb()?Reflect.construct(t,n||[],_e(e).constructor):t.apply(e,n))}function X7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ib(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Q7(e,t,n){return t&&Ib(e.prototype,t),n&&Ib(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 ze(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?ze=Reflect.get:ze=function(r,i,u){var l=nL(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},ze(e,t,n||e)}function _e(e){return _e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_e(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){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Y7(){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 kb(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 tL(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 Fb(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):tL(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function eL(e,t){return t&&(oL(t)==="object"||typeof t=="function")?t:W7(e)}function e_(e,t){return e_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},e_(e,t)}function nL(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=_e(e),e!==null););return e}function xb(e){return U7(e)||Z7(e)||rL(e)||Y7()}function oL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rL(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 Mb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Mb=function(){return!!e})()}function iL(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){J7(t,e);function t(n){X7(this,t);var o;return o=G7(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 Q7(t,[{key:"validate",value:function(o,r){var i=this,u=this,l=function(){return ze(_e(t.prototype),"validate",i)};return K7(function(){return iL(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=ze(_e(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 xb(u).concat(xb(c))}return a&&u.push(a),u},r)}},{key:"toSchema",value:function(){var o=ze(_e(t.prototype),"toSchema",this).call(this),r=this.props.headers.map(function(i){return i.toSchema()});return Fb(kb({},o),{props:Fb(kb({},this.props),{headers:r})})}}]),t}(L);rr(n_,"controlFieldType",O.LIST);function uL(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),lL(e,Lb()?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 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 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 lL(e,t){return t&&(cL(t)==="object"||typeof t=="function")?t:uL(e)}function u_(e,t){return u_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},u_(e,t)}function cL(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 Qt=function(e){i_(t,e);function t(n){r_(this,t);var o;return o=o_(this,t,[n]),et(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),et(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]),et(o,"widthType",void 0),et(o,"width",void 0),et(o,"caption",void 0),et(o,"dataBind",void 0),et(o,"autoWidth",void 0),et(o,"fixed",void 0),et(o,"sort",void 0),et(o,"align",void 0),et(o,"colSpan",void 0),et(o,"autoHeight",void 0),et(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 It(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);et(K,"Rules",Qt);var l_=function(e){i_(t,e);function t(n){r_(this,t);var o;return o=o_(this,t,[n]),et(o,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:f("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),et(o,"options",[{type:"array",message:f("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),et(o,"datasourceBind",[{type:"object",message:f("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),zf.call(o,n),o}return t}(Qt);function aL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fL(e,t,n){return t=He(t),hL(e,jb()?Reflect.construct(t,n||[],He(e).constructor):t.apply(e,n))}function _L(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cb(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function sL(e,t,n){return t&&Cb(e.prototype,t),n&&Cb(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=bL(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 He(e){return He=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},He(e)}function yL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 pL(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 dL(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 vL(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):dL(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function hL(e,t){return t&&(mL(t)==="object"||typeof t=="function")?t:aL(e)}function c_(e,t){return c_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},c_(e,t)}function bL(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=He(e),e!==null););return e}function mL(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 nt=function(e){yL(t,e);function t(n){_L(this,t);var o;return o=fL(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),Wt(o,"children",n==null?void 0:n.children,void 0,"Designer"),o}return sL(t,[{key:"toSchema",value:function(){var o=lr(He(t.prototype),"toSchema",this).call(this);return vL(pL({},o),{children:this.children?this.children.map(function(r){return r.toSchema()}):[]})}}]),t}(L);function gL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OL(e,t,n){return t=cr(t),PL(e,Nb()?Reflect.construct(t,n||[],cr(e).constructor):t.apply(e,n))}function wL(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 $L(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 PL(e,t){return t&&(EL(t)==="object"||typeof t=="function")?t:gL(e)}function f_(e,t){return f_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},f_(e,t)}function EL(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 ot=function(e){$L(t,e);function t(n){wL(this,t);var o;return o=OL(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),Wt(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return t}(Vt);function SL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TL(e,t,n){return t=ar(t),AL(e,Vb()?Reflect.construct(t,n||[],ar(e).constructor):t.apply(e,n))}function RL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BL(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 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&&__(e,t)}function AL(e,t){return t&&(IL(t)==="object"||typeof t=="function")?t:SL(e)}function __(e,t){return __=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},__(e,t)}function IL(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 s_=function(e){DL(t,e);function t(n){RL(this,t);var o;return o=TL(this,t,[n]),BL(o,"dataBind",void 0),o.dataBind=new It(n==null?void 0:n.dataBind),o}return t}(Y);function kL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FL(e,t,n){return t=fr(t),LL(e,Hb()?Reflect.construct(t,n||[],fr(e).constructor):t.apply(e,n))}function xL(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 fr(e){return fr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fr(e)}function ML(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 LL(e,t){return t&&(CL(t)==="object"||typeof t=="function")?t:kL(e)}function y_(e,t){return y_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},y_(e,t)}function CL(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 jL=function(e){ML(t,e);function t(n){xL(this,t);var o;return o=FL(this,t,[n]),zb(o,"controlType","search"),zb(o,"props",void 0),o.props=new s_(n==null?void 0:n.props),o}return t}(tt);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=_r(t),qL(e,Ub()?Reflect.construct(t,n||[],_r(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 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 _r(e){return _r=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_r(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&&p_(e,t)}function qL(e,t){return t&&(UL(t)==="object"||typeof t=="function")?t:NL(e)}function p_(e,t){return p_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},p_(e,t)}function UL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ub(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ub=function(){return!!e})()}var WL=function(e){HL(t,e);function t(n){zL(this,t);var o;return o=VL(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}(we);function se(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 KL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GL(e,t,n){return t=sr(t),JL(e,Wb()?Reflect.construct(t,n||[],sr(e).constructor):t.apply(e,n))}function XL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sr(e){return sr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sr(e)}function QL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d_(e,t)}function JL(e,t){return t&&(ZL(t)==="object"||typeof t=="function")?t:KL(e)}function d_(e,t){return d_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},d_(e,t)}function ZL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Wb=function(){return!!e})()}var YL=function(e){QL(t,e);function t(n){XL(this,t);var o;o=GL(this,t,[n]),qe(o,"content",void 0),qe(o,"fontSize",void 0),qe(o,"color",void 0),qe(o,"icon",void 0),qe(o,"align",void 0),qe(o,"showState",void 0);var r;o.fontSize=(r=n==null?void 0:n.fontSize)!==null&&r!==void 0?r:"14px";var i;o.color=(i=n==null?void 0:n.color)!==null&&i!==void 0?i:"#646A73";var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:"page-hint";var 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;return o.align=(c=n==null?void 0:n.align)!==null&&c!==void 0?c:"",o}return t}(W);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=yr(t),iC(e,Xb()?Reflect.construct(t,n||[],yr(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 Kb(e,t){for(var n=0;n<t.length;n++){var 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&&Kb(e.prototype,t),n&&Kb(e,n),e}function Gb(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 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&&v_(e,t)}function iC(e,t){return t&&(uC(t)==="object"||typeof t=="function")?t:tC(e)}function v_(e,t){return v_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},v_(e,t)}function uC(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 lC=function(e){rC(t,e);function t(n){nC(this,t);var o;return o=eC(this,t,[n]),Gb(o,"props",void 0),o.props=new YL(n==null?void 0:n.props),o}return oC(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}(L);Gb(lC,"setting",[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}]);function cC(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=pr(t),sC(e,Qb()?Reflect.construct(t,n||[],pr(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 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 _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&&b_(e,t)}function sC(e,t){return t&&(yC(t)==="object"||typeof t=="function")?t:cC(e)}function b_(e,t){return b_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},b_(e,t)}function yC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Qb=function(){return!!e})()}var pC=function(e){_C(t,e);function t(n){fC(this,t);var o;o=aC(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 dC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vC(e,t,n){return t=dr(t),gC(e,Zb()?Reflect.construct(t,n||[],dr(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 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 bC(e,t,n){return t&&Jb(e.prototype,t),n&&Jb(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 mC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g_(e,t)}function gC(e,t){return t&&(OC(t)==="object"||typeof t=="function")?t:dC(e)}function g_(e,t){return g_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},g_(e,t)}function OC(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 Yb=function(e){mC(t,e);function t(n){hC(this,t);var o;return o=vC(this,t,[n]),m_(o,"props",void 0),o.props=new pC(n==null?void 0:n.props),o}return bC(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}(L);m_(Yb,"controlEventKeys",["on_click"]),m_(Yb,"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 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=vr(t),SC(e,tm()?Reflect.construct(t,n||[],vr(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 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 vr(e){return vr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vr(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&&O_(e,t)}function SC(e,t){return t&&(TC(t)==="object"||typeof t=="function")?t:wC(e)}function O_(e,t){return O_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},O_(e,t)}function TC(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 bt=function(e){EC(t,e);function t(n){PC(this,t);var o;o=$C(this,t,[n]),Jt(o,"content",void 0),Jt(o,"buttonType",void 0),Jt(o,"showType",void 0),Jt(o,"color",void 0),Jt(o,"icon",void 0),Jt(o,"defaultState",void 0),Jt(o,"command",void 0),Jt(o,"isLoading",void 0),Jt(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 p;o.isLoading=(p=n==null?void 0:n.isLoading)!==null&&p!==void 0?p:!1;var d;return o.optObj=new Gx((d=n==null?void 0:n.optObj)!==null&&d!==void 0?d:{}),o}return t}(W);function RC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BC(e,t,n){return t=br(t),kC(e,nm()?Reflect.construct(t,n||[],br(e).constructor):t.apply(e,n))}function DC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function em(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function AC(e,t,n){return t&&em(e.prototype,t),n&&em(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 IC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w_(e,t)}function kC(e,t){return t&&(FC(t)==="object"||typeof t=="function")?t:RC(e)}function w_(e,t){return w_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},w_(e,t)}function FC(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 _t=function(e){IC(t,e);function t(n){DC(this,t);var o;return o=BC(this,t,[n]),hr(o,"props",void 0),o.props=new bt(n==null?void 0:n.props),o}return AC(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}(L);hr(_t,"slots",["grid-table-toolbar-slot","action-bar-slot",S0.DEFAULT]),hr(_t,"controlEventKeys",["on_click"]),hr(_t,"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 mt(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 $e=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:jt(8),value:["",""]};mt(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},xC=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){mt(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:jt();var o;this.text=(o=t==null?void 0:t.text)!==null&&o!==void 0?o:""},MC=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}({}),om=function e(t){mt(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 ue((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 ue((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 ue((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 ue((c=t==null?void 0:t.indexSignature)!==null&&c!==void 0?c:{type:"form"});var p;this.signaturePosition=(p=t==null?void 0:t.signaturePosition)!==null&&p!==void 0?p:"free";var d;this.seal=new ue((d=t==null?void 0:t.seal)!==null&&d!==void 0?d:{type:"form"});var b;this.platformAutoSign=(b=t==null?void 0:t.platformAutoSign)!==null&&b!==void 0?b:!1;var g;this.signDateBeanType=(g=t==null?void 0:t.signDateBeanType)!==null&&g!==void 0?g:0;var m;this.signDateFontSize=(m=t==null?void 0:t.signDateFontSize)!==null&&m!==void 0?m:12;var $;this.signOrder=($=t==null?void 0:t.signOrder)!==null&&$!==void 0?$:1,this.forceReadTime=t==null?void 0:t.forceReadTime;var h;this.posX=(h=t==null?void 0:t.posX)!==null&&h!==void 0?h: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:""},LC=function e(t){mt(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 om(a)}))!==null&&r!==void 0?r:[new om];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){mt(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:jt(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},rm=function e(t){mt(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:""},CC=function e(t){mt(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 rm(t==null?void 0:t.watermark),this.autoRename=new rm(t==null?void 0:t.autoRename)},im=function e(t){mt(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:""},um=function e(t){mt(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},jC=function e(t){mt(this,e),P(this,"dataCode",void 0),this.dataCode=t.dataCode},NC=function e(t){mt(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 jC(i)}))!==null&&r!==void 0?r:[]},VC=function e(t){mt(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})]},zC=480;function gr(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var HC=function e(t){mt(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:[]},qC=function(e){return e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",e}({}),lm=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}({}),UC=function(e){return e.ALL="all",e.ADMIN="admin",e}({});function WC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KC(e,t,n){return t=Or(t),QC(e,am()?Reflect.construct(t,n||[],Or(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 cm(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 XC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&E_(e,t)}function QC(e,t){return t&&(JC(t)==="object"||typeof t=="function")?t:WC(e)}function E_(e,t){return E_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},E_(e,t)}function JC(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 ZC=function(e){XC(t,e);function t(n){GC(this,t);var o;o=KC(this,t,[n]),cm(o,"color",void 0),cm(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:MC.SOLID,o}return t}(W);function YC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tj(e,t,n){return t=wr(t),rj(e,sm()?Reflect.construct(t,n||[],wr(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 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 nj(e,t,n){return t&&fm(e.prototype,t),n&&fm(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 wr(e){return wr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wr(e)}function oj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&S_(e,t)}function rj(e,t){return t&&(ij(t)==="object"||typeof t=="function")?t:YC(e)}function S_(e,t){return S_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},S_(e,t)}function ij(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 uj=function(e){oj(t,e);function t(n){ej(this,t);var o;return o=tj(this,t,[n]),_m(o,"props",void 0),o.props=new ZC(n==null?void 0:n.props),o}return nj(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}(L);_m(uj,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]}]);function lj(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=$r(t),cj(e,vm()?Reflect.construct(t,n||[],$r(e).constructor):t.apply(e,n))}function pm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ye(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $r(e){return $r=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$r(e)}function dm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&T_(e,t)}function cj(e,t){return t&&(aj(t)==="object"||typeof t=="function")?t:lj(e)}function T_(e,t){return T_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},T_(e,t)}function aj(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 fj=function(e){dm(t,e);function t(n){pm(this,t);var o;return o=ym(this,t,[n]),ye(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),ye(o,"dataBind",{type:"any"}),ye(o,"config",{type:"array"}),n.config.includes($e.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),hm=function(e){dm(t,e);function t(n){pm(this,t);var o;o=ym(this,t,[n]),ye(o,"dataBind",void 0),ye(o,"caption",void 0),ye(o,"config",void 0),ye(o,"position",void 0),o.dataBind=new It(n==null?void 0:n.dataBind);var r;o.config=(r=n==null?void 0:n.config)!==null&&r!==void 0?r:[$e.ShowSubmitUser,$e.ShowSubmitDept,$e.ShowSubmitTime,$e.ShowCurrentApprovar,$e.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);ye(hm,"Rules",fj);function _j(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=Pr(t),vj(e,mm()?Reflect.construct(t,n||[],Pr(e).constructor):t.apply(e,n))}function yj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bm(e,t){for(var n=0;n<t.length;n++){var 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&&bm(e.prototype,t),n&&bm(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 dj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&B_(e,t)}function vj(e,t){return t&&(hj(t)==="object"||typeof t=="function")?t:_j(e)}function B_(e,t){return B_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},B_(e,t)}function hj(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 no=function(e){dj(t,e);function t(n){yj(this,t);var o;return o=sj(this,t,[n]),R_(o,"props",void 0),o.props=new hm(n==null?void 0:n.props),o}return pj(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}(L);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 bj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gm(e,t,n){return t=Sr(t),mj(e,$m()?Reflect.construct(t,n||[],Sr(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 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 wm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&D_(e,t)}function mj(e,t){return t&&(gj(t)==="object"||typeof t=="function")?t:bj(e)}function D_(e,t){return D_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},D_(e,t)}function gj(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 Oj=function(e){wm(t,e);function t(n){Om(this,t);var o;return o=gm(this,t,[n]),Er(o,"formKey",{type:"string",required:!0,message:f("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}),o}return t}(U),Pm=function(e){wm(t,e);function t(n){Om(this,t);var o;o=gm(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}(bt);Er(Pm,"Rules",Oj);function wj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $j(e,t,n){return t=Rr(t),Tj(e,Sm()?Reflect.construct(t,n||[],Rr(e).constructor):t.apply(e,n))}function Pj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Em(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Ej(e,t,n){return t&&Em(e.prototype,t),n&&Em(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 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&&A_(e,t)}function Tj(e,t){return t&&(Rj(t)==="object"||typeof t=="function")?t:wj(e)}function A_(e,t){return A_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},A_(e,t)}function Rj(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 oo=function(e){Sj(t,e);function t(n){Pj(this,t);var o;return o=$j(this,t,[n]),Tr(o,"props",void 0),o.props=new Pm(n==null?void 0:n.props),o}return Ej(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}(_t);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 Bj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tm(e,t,n){return t=Br(t),Dj(e,Dm()?Reflect.construct(t,n||[],Br(e).constructor):t.apply(e,n))}function Rm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 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&&I_(e,t)}function Dj(e,t){return t&&(Aj(t)==="object"||typeof t=="function")?t:Bj(e)}function I_(e,t){return I_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},I_(e,t)}function Aj(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 Ij=function(e){Bm(t,e);function t(n){Rm(this,t);var o;return o=Tm(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),Am=function(e){Bm(t,e);function t(n){Rm(this,t);var o;o=Tm(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}(bt);We(Am,"Rules",Ij);function kj(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=Ar(t),Cj(e,km()?Reflect.construct(t,n||[],Ar(e).constructor):t.apply(e,n))}function xj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Mj(e,t,n){return t&&Im(e.prototype,t),n&&Im(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 Lj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k_(e,t)}function Cj(e,t){return t&&(jj(t)==="object"||typeof t=="function")?t:kj(e)}function k_(e,t){return k_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},k_(e,t)}function jj(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 ro=function(e){Lj(t,e);function t(n){xj(this,t);var o;return o=Fj(this,t,[n]),Dr(o,"props",void 0),o.props=new Am(n==null?void 0:n.props),o}return Mj(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}(_t);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 Nj(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=Ir(t),qj(e,Fm()?Reflect.construct(t,n||[],Ir(e).constructor):t.apply(e,n))}function zj(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 Hj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&F_(e,t)}function qj(e,t){return t&&(Uj(t)==="object"||typeof t=="function")?t:Nj(e)}function F_(e,t){return F_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},F_(e,t)}function Uj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Fm=function(){return!!e})()}var Wj=function(e){Hj(t,e);function t(n){zj(this,t);var o;o=Vj(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}(bt);function Kj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gj(e,t,n){return t=Fr(t),Zj(e,Mm()?Reflect.construct(t,n||[],Fr(e).constructor):t.apply(e,n))}function Xj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Qj(e,t,n){return t&&xm(e.prototype,t),n&&xm(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 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&&x_(e,t)}function Zj(e,t){return t&&(Yj(t)==="object"||typeof t=="function")?t:Kj(e)}function x_(e,t){return x_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},x_(e,t)}function Yj(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 io=function(e){Jj(t,e);function t(n){Xj(this,t);var o;return o=Gj(this,t,[n]),kr(o,"props",void 0),o.props=new Wj(n==null?void 0:n.props),o}return Qj(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}(_t);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 t8(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=xr(t),r8(e,Cm()?Reflect.construct(t,n||[],xr(e).constructor):t.apply(e,n))}function n8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 xr(e){return xr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xr(e)}function o8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&M_(e,t)}function r8(e,t){return t&&(i8(t)==="object"||typeof t=="function")?t:t8(e)}function M_(e,t){return M_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},M_(e,t)}function i8(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 u8=function(e){o8(t,e);function t(n){n8(this,t);var o,r;o=e8(this,t,[n]),Lm(o,"templateList",void 0),Lm(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}(bt);function l8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c8(e,t,n){return t=Lr(t),s8(e,Nm()?Reflect.construct(t,n||[],Lr(e).constructor):t.apply(e,n))}function a8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function f8(e,t,n){return t&&jm(e.prototype,t),n&&jm(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 Lr(e){return Lr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lr(e)}function _8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&L_(e,t)}function s8(e,t){return t&&(y8(t)==="object"||typeof t=="function")?t:l8(e)}function L_(e,t){return L_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},L_(e,t)}function y8(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 uo=function(e){_8(t,e);function t(n){a8(this,t);var o;return o=c8(this,t,[n]),Mr(o,"props",void 0),o.props=new u8(n==null?void 0:n.props),o}return f8(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}(_t);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 p8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d8(e,t,n){return t=Cr(t),b8(e,Vm()?Reflect.construct(t,n||[],Cr(e).constructor):t.apply(e,n))}function v8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cr(e){return Cr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cr(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&&C_(e,t)}function b8(e,t){return t&&(m8(t)==="object"||typeof t=="function")?t:p8(e)}function C_(e,t){return C_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},C_(e,t)}function m8(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 g8=function(e){h8(t,e);function t(n){v8(this,t);var o;o=d8(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}(bt);function O8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w8(e,t,n){return t=Nr(t),S8(e,Hm()?Reflect.construct(t,n||[],Nr(e).constructor):t.apply(e,n))}function $8(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 P8(e,t,n){return t&&zm(e.prototype,t),n&&zm(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 E8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&j_(e,t)}function S8(e,t){return t&&(T8(t)==="object"||typeof t=="function")?t:O8(e)}function j_(e,t){return j_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},j_(e,t)}function T8(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 lo=function(e){E8(t,e);function t(n){$8(this,t);var o;return o=w8(this,t,[n]),jr(o,"props",void 0),o.props=new g8(n==null?void 0:n.props),o}return P8(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}(_t);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 R8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B8(e,t,n){return t=Vr(t),A8(e,Um()?Reflect.construct(t,n||[],Vr(e).constructor):t.apply(e,n))}function qm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 D8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&V_(e,t)}function A8(e,t){return t&&(I8(t)==="object"||typeof t=="function")?t:R8(e)}function V_(e,t){return V_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},V_(e,t)}function I8(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 k8=function e(t){qm(this,e),N_(this,"dataCode",void 0),this.dataCode=t.dataCode},F8=function(e){D8(t,e);function t(n){qm(this,t);var o,r;o=B8(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 k8(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}(bt);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=Hr(t),N8(e,Km()?Reflect.construct(t,n||[],Hr(e).constructor):t.apply(e,n))}function L8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 C8(e,t,n){return t&&Wm(e.prototype,t),n&&Wm(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 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&&z_(e,t)}function N8(e,t){return t&&(V8(t)==="object"||typeof t=="function")?t:x8(e)}function z_(e,t){return z_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},z_(e,t)}function V8(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 co=function(e){j8(t,e);function t(n){L8(this,t);var o;return o=M8(this,t,[n]),zr(o,"props",void 0),o.props=new F8(n==null?void 0:n.props),o}return C8(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}(_t);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 z8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gm(e,t,n){return t=Ur(t),H8(e,Zm()?Reflect.construct(t,n||[],Ur(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 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 Ur(e){return Ur=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ur(e)}function Qm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&H_(e,t)}function Jm(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Zt(e,r,n[r])})}return e}function H8(e,t){return t&&(q8(t)==="object"||typeof t=="function")?t:z8(e)}function H_(e,t){return H_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},H_(e,t)}function q8(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 U8=function(e){Qm(t,e);function t(n){Xm(this,t);var o;return o=Gm(this,t,[n]),Zt(o,"fillPayload",{type:"object",fields:Jm({},qr())}),Zt(o,"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:f("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}}),Zt(o,"fillBack",{type:"object",fields:Jm({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),Ym=function(e){Qm(t,e);function t(n){Xm(this,t);var o;o=Gm(this,t,[n]),Zt(o,"fillPayload",void 0),Zt(o,"formBind",void 0),Zt(o,"fillBack",void 0),Zt(o,"command",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r: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 Rx(n==null?void 0:n.formBind),o.fillBack=new ob(n==null?void 0:n.fillBack),o}return t}(bt);Zt(Ym,"Rules",U8);function W8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function K8(e,t,n){return t=Wr(t),J8(e,eg()?Reflect.construct(t,n||[],Wr(e).constructor):t.apply(e,n))}function G8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function X8(e,t,n){return t&&tg(e.prototype,t),n&&tg(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 Q8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&U_(e,t)}function J8(e,t){return t&&(Z8(t)==="object"||typeof t=="function")?t:W8(e)}function U_(e,t){return U_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},U_(e,t)}function Z8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(eg=function(){return!!e})()}var Kr=function(e){Q8(t,e);function t(n){G8(this,t);var o;return o=K8(this,t,[n]),q_(o,"props",void 0),o.props=new Ym(n==null?void 0:n.props),o}return X8(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}(_t);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 Y8(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=Gr(t),t9(e,ug()?Reflect.construct(t,n||[],Gr(e).constructor):t.apply(e,n))}function og(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 Gr(e){return Gr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gr(e)}function rg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&W_(e,t)}function ig(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){Et(e,r,n[r])})}return e}function t9(e,t){return t&&(e9(t)==="object"||typeof t=="function")?t:Y8(e)}function W_(e,t){return W_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},W_(e,t)}function e9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ug(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ug=function(){return!!e})()}var n9=function(e){rg(t,e);function t(n){og(this,t);var o;return o=ng(this,t,[n]),Et(o,"fillPayload",{type:"object",fields:ig({},qr())}),Et(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")}}}),Et(o,"fillBack",{type:"object",fields:ig({mode:{type:"string",required:!0,message:f("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},qr())}),o}return t}(U),lg=function(e){rg(t,e);function t(n){og(this,t);var o;o=ng(this,t,[n]),Et(o,"fillPayload",void 0),Et(o,"listPageBind",void 0),Et(o,"disableFilling",void 0),Et(o,"fillBack",void 0),Et(o,"showSelectedDetail",void 0),Et(o,"isSelectedRowFill",void 0),Et(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}(bt);Et(lg,"Rules",n9);function o9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r9(e,t,n){return t=Xr(t),c9(e,ag()?Reflect.construct(t,n||[],Xr(e).constructor):t.apply(e,n))}function i9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function u9(e,t,n){return t&&cg(e.prototype,t),n&&cg(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 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&&G_(e,t)}function c9(e,t){return t&&(a9(t)==="object"||typeof t=="function")?t:o9(e)}function G_(e,t){return G_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},G_(e,t)}function a9(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 Qr=function(e){l9(t,e);function t(n){i9(this,t);var o;return o=r9(this,t,[n]),K_(o,"props",void 0),o.props=new lg(n==null?void 0:n.props),o}return u9(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}(_t);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 f9(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),_9(e,_g()?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 fg(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 _9(e,t){return t&&(s9(t)==="object"||typeof t=="function")?t:f9(e)}function Z_(e,t){return Z_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Z_(e,t)}function s9(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 y9=function(e){J_(t,e);function t(n){return Q_(this,t),X_(this,t,[n])}return t}(U),p9=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);fg(Y_,"Rules",y9),fg(Y_,"RuntimeRules",p9);function d9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v9(e,t,n){return t=Zr(t),g9(e,pg()?Reflect.construct(t,n||[],Zr(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 sg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function b9(e,t,n){return t&&sg(e.prototype,t),n&&sg(e,n),e}function yg(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 m9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ts(e,t)}function g9(e,t){return t&&(O9(t)==="object"||typeof t=="function")?t:d9(e)}function ts(e,t){return ts=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ts(e,t)}function O9(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 w9=function(e){m9(t,e);function t(n){h9(this,t);var o;return o=v9(this,t,[n]),yg(o,"props",void 0),o.props=new Y_(n==null?void 0:n.props),o}return b9(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}(L);yg(w9,"setting",[]);function $9(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=Yr(t),P9(e,bg()?Reflect.construct(t,n||[],Yr(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 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 Yr(e){return Yr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yr(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&&es(e,t)}function P9(e,t){return t&&(E9(t)==="object"||typeof t=="function")?t:$9(e)}function es(e,t){return es=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},es(e,t)}function E9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(bg=function(){return!!e})()}var S9=function(e){hg(t,e);function t(n){vg(this,t);var o;return o=dg(this,t,[n]),St(o,"dashboardKey",{type:"string",required:!0,message:f("CMD.pleaseSelectDashboard",null,"\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8")}),St(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),St(o,"isHideCaption",{type:"boolean"}),St(o,"labelPosition",{type:"enum",enum:["top","left"]}),St(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),mg=function(e){hg(t,e);function t(n){vg(this,t);var o;o=dg(this,t,[n]),St(o,"dashboardKey",void 0),St(o,"caption",void 0),St(o,"isHideCaption",void 0),St(o,"isShowCaptionTip",void 0),St(o,"captionTip",void 0),St(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);St(mg,"Rules",S9);function T9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R9(e,t,n){return t=ti(t),I9(e,wg()?Reflect.construct(t,n||[],ti(e).constructor):t.apply(e,n))}function B9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function D9(e,t,n){return t&&gg(e.prototype,t),n&&gg(e,n),e}function Og(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ti(e){return ti=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ti(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&&ns(e,t)}function I9(e,t){return t&&(k9(t)==="object"||typeof t=="function")?t:T9(e)}function ns(e,t){return ns=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ns(e,t)}function k9(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 F9=function(e){A9(t,e);function t(n){B9(this,t);var o;return o=R9(this,t,[n]),Og(o,"props",void 0),o.props=new mg(n==null?void 0:n.props),o}return D9(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}(L);Og(F9,"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 x9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $g(e,t,n){return t=ei(t),M9(e,Sg()?Reflect.construct(t,n||[],ei(e).constructor):t.apply(e,n))}function Pg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 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&&os(e,t)}function M9(e,t){return t&&(L9(t)==="object"||typeof t=="function")?t:x9(e)}function os(e,t){return os=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},os(e,t)}function L9(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 C9=function(e){Eg(t,e);function t(n){Pg(this,t);var o;return o=$g(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),Tg=function(e){Eg(t,e);function t(n){Pg(this,t);var o,r;o=$g(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 Wx(l)}))!==null&&u!==void 0?u:[],o}return t}(W);ao(Tg,"Rules",C9);function j9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N9(e,t,n){return t=ni(t),q9(e,Dg()?Reflect.construct(t,n||[],ni(e).constructor):t.apply(e,n))}function V9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 z9(e,t,n){return t&&Rg(e.prototype,t),n&&Rg(e,n),e}function Bg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ni(e){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ni(e)}function H9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rs(e,t)}function q9(e,t){return t&&(U9(t)==="object"||typeof t=="function")?t:j9(e)}function rs(e,t){return rs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rs(e,t)}function U9(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 W9=function(e){H9(t,e);function t(n){V9(this,t);var o;return o=N9(this,t,[n]),Bg(o,"props",void 0),o.props=new Tg(n==null?void 0:n.props),o}return z9(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}(L);Bg(W9,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}]);function K9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ag(e,t,n){return t=oi(t),G9(e,Fg()?Reflect.construct(t,n||[],oi(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 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 oi(e){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oi(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&&is(e,t)}function G9(e,t){return t&&(X9(t)==="object"||typeof t=="function")?t:K9(e)}function is(e,t){return is=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},is(e,t)}function X9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Fg=function(){return!!e})()}var Q9=function(e){kg(t,e);function t(n){Ig(this,t);var o;return o=Ag(this,t,[n]),pt(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),pt(o,"isHideCaption",{type:"boolean"}),pt(o,"labelPosition",{type:"enum",enum:["top","left"]}),pt(o,"ocrType",{type:"string",required:!0,message:f("CMD.pleaseSelectOcrType",null,"\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B")}),pt(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()}}),pt(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),xg=function(e){kg(t,e);function t(n){Ig(this,t);var o,r;o=Ag(this,t,[n]),pt(o,"caption",void 0),pt(o,"isHideCaption",void 0),pt(o,"isShowCaptionTip",void 0),pt(o,"captionTip",void 0),pt(o,"labelPosition",void 0),pt(o,"ocrType",void 0),pt(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 p;o.icon=(p=n==null?void 0:n.icon)!==null&&p!==void 0?p:fo.controlIcon;var d;o.ocrType=(d=n==null?void 0:n.ocrType)!==null&&d!==void 0?d:"";var b;return o.fillList=(b=n==null||(r=n.fillList)===null||r===void 0?void 0:r.map(function(g){return new yt(g)}))!==null&&b!==void 0?b:[],o}return t}(bt);pt(xg,"Rules",Q9);function J9(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=ri(t),n4(e,Lg()?Reflect.construct(t,n||[],ri(e).constructor):t.apply(e,n))}function Y9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function t4(e,t,n){return t&&Mg(e.prototype,t),n&&Mg(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 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&&ls(e,t)}function n4(e,t){return t&&(o4(t)==="object"||typeof t=="function")?t:J9(e)}function ls(e,t){return ls=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ls(e,t)}function o4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Lg=function(){return!!e})()}var fo=function(e){e4(t,e);function t(n){Y9(this,t);var o;return o=Z9(this,t,[n]),us(o,"props",void 0),o.props=new xg(n==null?void 0:n.props),o}return t4(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}(_t);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 r4(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=ii(t),i4(e,Vg()?Reflect.construct(t,n||[],ii(e).constructor):t.apply(e,n))}function jg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 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&&cs(e,t)}function i4(e,t){return t&&(u4(t)==="object"||typeof t=="function")?t:r4(e)}function cs(e,t){return cs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cs(e,t)}function u4(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 l4=function(e){Ng(t,e);function t(n){jg(this,t);var o;return o=Cg(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,"invoiceCheck",{type:"boolean"}),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),zg=function(e){Ng(t,e);function t(n){jg(this,t);var o,r;o=Cg(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,"invoiceCheck",void 0),dt(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 p;o.icon=(p=n==null?void 0:n.icon)!==null&&p!==void 0?p:_o.controlIcon;var d;o.invoiceCheck=(d=n==null?void 0:n.invoiceCheck)!==null&&d!==void 0?d:!0;var b;return o.fillList=(b=n==null||(r=n.fillList)===null||r===void 0?void 0:r.map(function(g){return new yt(g)}))!==null&&b!==void 0?b:[],o}return t}(bt);dt(zg,"Rules",l4);function c4(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),y4(e,qg()?Reflect.construct(t,n||[],ui(e).constructor):t.apply(e,n))}function f4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function _4(e,t,n){return t&&Hg(e.prototype,t),n&&Hg(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 s4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fs(e,t)}function y4(e,t){return t&&(p4(t)==="object"||typeof t=="function")?t:c4(e)}function fs(e,t){return fs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fs(e,t)}function p4(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 _o=function(e){s4(t,e);function t(n){f4(this,t);var o;return o=a4(this,t,[n]),as(o,"props",void 0),o.props=new zg(n==null?void 0:n.props),o}return _4(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}(_t);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 d4(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=ci(t),v4(e,Gg()?Reflect.construct(t,n||[],ci(e).constructor):t.apply(e,n))}function Wg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 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&&_s(e,t)}function v4(e,t){return t&&(h4(t)==="object"||typeof t=="function")?t:d4(e)}function _s(e,t){return _s=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_s(e,t)}function h4(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 b4=function(e){Kg(t,e);function t(){Wg(this,t);var n;return n=Ug(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),Xg=function(e){Kg(t,e);function t(n){Wg(this,t);var o,r;o=Ug(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 HC(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}(bt);li(Xg,"Rules",b4);function m4(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=fi(t),P4(e,Jg()?Reflect.construct(t,n||[],fi(e).constructor):t.apply(e,n))}function O4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function w4(e,t,n){return t&&Qg(e.prototype,t),n&&Qg(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 $4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 P4(e,t){return t&&(E4(t)==="object"||typeof t=="function")?t:m4(e)}function ss(e,t){return ss=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ss(e,t)}function E4(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 so=function(e){$4(t,e);function t(n){O4(this,t);var o;return o=g4(this,t,[n]),ai(o,"props",void 0),o.props=new Xg(n==null?void 0:n.props),o}return w4(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}(_t);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 S4(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=_i(t),D4(e,Zg()?Reflect.construct(t,n||[],_i(e).constructor):t.apply(e,n))}function R4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _i(e){return _i=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_i(e)}function B4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 D4(e,t){return t&&(A4(t)==="object"||typeof t=="function")?t:S4(e)}function ys(e,t){return ys=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ys(e,t)}function A4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Zg=function(){return!!e})()}var I4=function(e){B4(t,e);function t(n){R4(this,t);var o;o=T4(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}(bt);function k4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F4(e,t,n){return t=yi(t),C4(e,tO()?Reflect.construct(t,n||[],yi(e).constructor):t.apply(e,n))}function x4(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 M4(e,t,n){return t&&Yg(e.prototype,t),n&&Yg(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 L4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 C4(e,t){return t&&(j4(t)==="object"||typeof t=="function")?t:k4(e)}function ps(e,t){return ps=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ps(e,t)}function j4(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 yo=function(e){L4(t,e);function t(n){x4(this,t);var o;return o=F4(this,t,[n]),si(o,"props",void 0),o.props=new I4(n==null?void 0:n.props),o}return M4(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}(_t);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 N4(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=pi(t),V4(e,rO()?Reflect.construct(t,n||[],pi(e).constructor):t.apply(e,n))}function nO(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 pi(e){return pi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pi(e)}function oO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 V4(e,t){return t&&(z4(t)==="object"||typeof t=="function")?t:N4(e)}function ds(e,t){return ds=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ds(e,t)}function z4(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 H4=function(e){oO(t,e);function t(n){nO(this,t);var o;return o=eO(this,t,[n]),st(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){oO(t,e);function t(n){nO(this,t);var o;o=eO(this,t,[n]),st(o,"content",void 0),st(o,"code",void 0),st(o,"command",void 0),st(o,"color",void 0),st(o,"icon",void 0),st(o,"formKey",void 0),st(o,"openType",void 0),st(o,"needConfirm",void 0),st(o,"confirmMessage",void 0),st(o,"options",void 0),st(o,"defaultState",void 0),st(o,"priorityProcess",void 0),st(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);st(di,"Rules",H4);function q4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U4(e,t,n){return t=vi(t),X4(e,uO()?Reflect.construct(t,n||[],vi(e).constructor):t.apply(e,n))}function W4(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 K4(e,t,n){return t&&iO(e.prototype,t),n&&iO(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 G4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hs(e,t)}function X4(e,t){return t&&(Q4(t)==="object"||typeof t=="function")?t:q4(e)}function hs(e,t){return hs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hs(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 hi=function(e){G4(t,e);function t(n){W4(this,t);var o;return o=U4(this,t,[n]),vs(o,"props",void 0),o.props=new di(n==null?void 0:n.props),o}return K4(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}(L);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 J4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Z4(e,t,n){return t=bi(t),oN(e,cO()?Reflect.construct(t,n||[],bi(e).constructor):t.apply(e,n))}function Y4(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 tN(e,t,n){return t&&lO(e.prototype,t),n&&lO(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 bi(e){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bi(e)}function nN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bs(e,t)}function oN(e,t){return t&&(rN(t)==="object"||typeof t=="function")?t:J4(e)}function bs(e,t){return bs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},bs(e,t)}function rN(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 iN=function(e){nN(t,e);function t(n){Y4(this,t);var o;return o=Z4(this,t,[n]),eN(o,"props",void 0),o.props=new di(n==null?void 0:n.props),o}return tN(t,null,[{key:"controlType",get:function(){return"operation-button"}}]),t}(Vt),ms={Designer:hi,Runtime:iN,Property:di};function uN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lN(e,t,n){return t=mi(t),fN(e,aO()?Reflect.construct(t,n||[],mi(e).constructor):t.apply(e,n))}function cN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mi(e){return mi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mi(e)}function aN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gs(e,t)}function fN(e,t){return t&&(_N(t)==="object"||typeof t=="function")?t:uN(e)}function gs(e,t){return gs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gs(e,t)}function _N(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(aO=function(){return!!e})()}var sN=function(e){aN(t,e);function t(n){cN(this,t);var o;o=lN(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: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 p;o.command=(p=n==null?void 0:n.command)!==null&&p!==void 0?p:"custom";var d;return o.isLoading=(d=n==null?void 0:n.isLoading)!==null&&d!==void 0?d:!1,o}return t}(W);function yN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pN(e,t,n){return t=Oi(t),bN(e,_O()?Reflect.construct(t,n||[],Oi(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 fO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function vN(e,t,n){return t&&fO(e.prototype,t),n&&fO(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 hN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Os(e,t)}function bN(e,t){return t&&(mN(t)==="object"||typeof t=="function")?t:yN(e)}function Os(e,t){return Os=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Os(e,t)}function mN(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 po=function(e){hN(t,e);function t(n){dN(this,t);var o;return o=pN(this,t,[n]),gi(o,"props",void 0),o.props=new sN(n==null?void 0:n.props),o}return vN(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}(L);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 gN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sO(e,t,n){return t=wi(t),ON(e,dO()?Reflect.construct(t,n||[],wi(e).constructor):t.apply(e,n))}function yO(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 wi(e){return wi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wi(e)}function pO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ws(e,t)}function ON(e,t){return t&&(wN(t)==="object"||typeof t=="function")?t:gN(e)}function ws(e,t){return ws=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ws(e,t)}function wN(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 $N=function(e){pO(t,e);function t(n){yO(this,t);var o;return o=sO(this,t,[n]),Pe(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){pO(t,e);function t(n){yO(this,t);var o;o=sO(this,t,[n]),Pe(o,"isShowSimpleSearch",void 0),Pe(o,"isShowToolbar",void 0),Pe(o,"actionSetting",void 0),Pe(o,"listHeightSetting",void 0),Pe(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 im(n==null?void 0:n.actionSetting))!==null&&a!==void 0?a:new im;var c;return o.listHeightSetting=(c=new um(n==null?void 0:n.listHeightSetting))!==null&&c!==void 0?c:new um,o}return t}(W);Pe($i,"Rules",$N);function PN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EN(e,t,n){return t=Pi(t),BN(e,hO()?Reflect.construct(t,n||[],Pi(e).constructor):t.apply(e,n))}function SN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function TN(e,t,n){return t&&vO(e.prototype,t),n&&vO(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 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&&Ps(e,t)}function BN(e,t){return t&&(DN(t)==="object"||typeof t=="function")?t:PN(e)}function Ps(e,t){return Ps=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ps(e,t)}function DN(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 Ei=function(e){RN(t,e);function t(n){SN(this,t);var o;return o=EN(this,t,[n]),$s(o,"props",void 0),o.props=new $i(n==null?void 0:n.props),o}return TN(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}(L);$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 AN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IN(e,t,n){return t=Si(t),LN(e,mO()?Reflect.construct(t,n||[],Si(e).constructor):t.apply(e,n))}function kN(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 FN(e,t,n){return t&&bO(e.prototype,t),n&&bO(e,n),e}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 Si(e){return Si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Si(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&&Es(e,t)}function LN(e,t){return t&&(CN(t)==="object"||typeof t=="function")?t:AN(e)}function Es(e,t){return Es=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Es(e,t)}function CN(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 jN=function(e){MN(t,e);function t(n){kN(this,t);var o;return o=IN(this,t,[n]),xN(o,"props",void 0),o.props=new $i(n==null?void 0:n.props),o}return FN(t,null,[{key:"controlType",get:function(){return"reference-list"}}]),t}(Vt),NN={Designer:Ei,Runtime:jN,Property:$i};function VN(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),zN(e,gO()?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 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 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 zN(e,t){return t&&(HN(t)==="object"||typeof t=="function")?t:VN(e)}function Bs(e,t){return Bs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bs(e,t)}function HN(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 qN=function(e){Rs(t,e);function t(n){Ts(this,t);var o;return o=Ss(this,t,[n]),kt(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")}),kt(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")}),kt(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}(Z),UN=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]),kt(o,"maxLength",void 0),kt(o,"minLength",void 0),kt(o,"regularRules",void 0),kt(o,"defaultValue",void 0),kt(o,"encrypted",void 0),kt(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 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 _;return o.encryptedMode=(_=n==null?void 0:n.encryptedMode)!==null&&_!==void 0?_:"",o}return t}(k);kt(vo,"Rules",qN),kt(vo,"RuntimeRules",UN);function WN(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=Bi(t),JN(e,wO()?Reflect.construct(t,n||[],Bi(e).constructor):t.apply(e,n))}function GN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function XN(e,t,n){return t&&OO(e.prototype,t),n&&OO(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 QN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 JN(e,t){return t&&(ZN(t)==="object"||typeof t=="function")?t:WN(e)}function Ds(e,t){return Ds=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ds(e,t)}function ZN(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 ho=function(e){QN(t,e);function t(n){GN(this,t);var o;return o=KN(this,t,[n]),Ri(o,"props",void 0),o.props=new vo(n==null?void 0:n.props),o}return XN(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:"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 YN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tV(e,t,n){return t=Di(t),rV(e,EO()?Reflect.construct(t,n||[],Di(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 $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 nV(e,t,n){return t&&$O(e.prototype,t),n&&$O(e,n),e}function PO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Di(e){return Di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Di(e)}function oV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&As(e,t)}function rV(e,t){return t&&(iV(t)==="object"||typeof t=="function")?t:YN(e)}function As(e,t){return As=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},As(e,t)}function iV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function EO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(EO=function(){return!!e})()}var uV=function(e){oV(t,e);function t(n){eV(this,t);var o;return o=tV(this,t,[n]),PO(o,"props",void 0),o.props=new vo(n==null?void 0:n.props),o}return nV(t,null,[{key:"controlType",get:function(){return"input"}}]),t}(x);PO(uV,"controlFieldType",O.VARCHAR);function lV(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),cV(e,SO()?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 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 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 cV(e,t){return t&&(aV(t)==="object"||typeof t=="function")?t:lV(e)}function xs(e,t){return xs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xs(e,t)}function aV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(SO=function(){return!!e})()}var fV=function(e){Fs(t,e);function t(n){ks(this,t);var o;o=Is(this,t,[n]),rt(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}(je),_V=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]),rt(o,"checkboxMode",void 0),rt(o,"options",void 0),rt(o,"optionsOrder",void 0),rt(o,"limitMax",void 0),rt(o,"limitMin",void 0),rt(o,"otherOption",void 0),rt(o,"optionConfig",void 0),rt(o,"optionsFormat",void 0),rt(o,"defaultShowOptions",void 0),rt(o,"datasourceBind",void 0),rt(o,"multistageFilling",void 0),rt(o,"interreaction",void 0),rt(o,"defaultValue",void 0),rt(o,"openMultistageFilling",void 0);var r;o.options=Gt((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 p;o.interreaction=(p=n==null?void 0:n.interreaction)!==null&&p!==void 0?p:[];var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:xi.controlName;var b;o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:[];var g;o.optionsFormat=(g=n==null?void 0:n.optionsFormat)!==null&&g!==void 0?g:"horizontal";var m;o.defaultShowOptions=(m=n==null?void 0:n.defaultShowOptions)!==null&&m!==void 0?m:!0;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(h){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new yt(h))})),o}return t}(k);rt(Ii,"Rules",fV),rt(Ii,"RuntimeRules",_V);function sV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yV(e,t,n){return t=Fi(t),hV(e,RO()?Reflect.construct(t,n||[],Fi(e).constructor):t.apply(e,n))}function pV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 dV(e,t,n){return t&&TO(e.prototype,t),n&&TO(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 vV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ms(e,t)}function hV(e,t){return t&&(bV(t)==="object"||typeof t=="function")?t:sV(e)}function Ms(e,t){return Ms=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ms(e,t)}function bV(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 xi=function(e){vV(t,e);function t(n){pV(this,t);var o;return o=yV(this,t,[n]),ki(o,"props",void 0),o.props=new Ii(n==null?void 0:n.props),o}return dV(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:"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 mV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gV(e,t,n){return t=Mi(t),PV(e,AO()?Reflect.construct(t,n||[],Mi(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 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 wV(e,t,n){return t&&BO(e.prototype,t),n&&BO(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 Mi(e){return Mi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mi(e)}function $V(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ls(e,t)}function PV(e,t){return t&&(EV(t)==="object"||typeof t=="function")?t:mV(e)}function Ls(e,t){return Ls=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ls(e,t)}function EV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(AO=function(){return!!e})()}var SV=function(e){$V(t,e);function t(n){OV(this,t);var o;return o=gV(this,t,[n]),DO(o,"props",void 0),o.props=new Ii(n==null?void 0:n.props),o}return wV(t,null,[{key:"controlType",get:function(){return"checkbox"}}]),t}(x);DO(SV,"controlFieldType",O.ARRAY);function TV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IO(e,t,n){return t=Li(t),RV(e,xO()?Reflect.construct(t,n||[],Li(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 gt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Li(e){return Li=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Li(e)}function FO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cs(e,t)}function RV(e,t){return t&&(BV(t)==="object"||typeof t=="function")?t:TV(e)}function Cs(e,t){return Cs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cs(e,t)}function BV(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 DV=function(e){FO(t,e);function t(n){return kO(this,t),IO(this,t,[n])}return t}(je),js=function(e){FO(t,e);function t(n){kO(this,t);var o;o=IO(this,t,[n]),gt(o,"radioMode",void 0),gt(o,"options",void 0),gt(o,"optionConfig",void 0),gt(o,"optionsFormat",void 0),gt(o,"defaultShowOptions",void 0),gt(o,"otherOption",void 0),gt(o,"optionsOrder",void 0),gt(o,"datasourceBind",void 0),gt(o,"multistageFilling",void 0),gt(o,"interreaction",void 0),gt(o,"defaultValue",void 0),gt(o,"openMultistageFilling",void 0);var r;o.options=Gt((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 p;o.interreaction=(p=n==null?void 0:n.interreaction)!==null&&p!==void 0?p:[];var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:Ni.controlName;var b;o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:"";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(m){var $;($=o.multistageFilling)===null||$===void 0||$.push(new yt(m))})),o}return t}(k);gt(js,"Rules",DV);function AV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IV(e,t,n){return t=ji(t),MV(e,LO()?Reflect.construct(t,n||[],ji(e).constructor):t.apply(e,n))}function kV(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 FV(e,t,n){return t&&MO(e.prototype,t),n&&MO(e,n),e}function Ci(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 xV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 MV(e,t){return t&&(LV(t)==="object"||typeof t=="function")?t:AV(e)}function Ns(e,t){return Ns=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ns(e,t)}function LV(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 Ni=function(e){xV(t,e);function t(n){kV(this,t);var o;return o=IV(this,t,[n]),Ci(o,"props",void 0),o.props=new js(n==null?void 0:n.props),o}return FV(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);Ci(Ni,"controlEventKeys",["on_change","on_click"]),Ci(Ni,"controlFieldType",O.VARCHAR),Ci(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:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function CV(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=Vi(t),HV(e,NO()?Reflect.construct(t,n||[],Vi(e).constructor):t.apply(e,n))}function NV(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 VV(e,t,n){return t&&CO(e.prototype,t),n&&CO(e,n),e}function jO(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 zV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vs(e,t)}function HV(e,t){return t&&(qV(t)==="object"||typeof t=="function")?t:CV(e)}function Vs(e,t){return Vs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vs(e,t)}function qV(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 UV=function(e){zV(t,e);function t(n){NV(this,t);var o;return o=jV(this,t,[n]),jO(o,"props",void 0),o.props=new js(n==null?void 0:n.props),o}return VV(t,null,[{key:"controlType",get:function(){return"radio"}}]),t}(x);jO(UV,"controlFieldType",O.VARCHAR);function WV(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),KV(e,VO()?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 KV(e,t){return t&&(GV(t)==="object"||typeof t=="function")?t:WV(e)}function Us(e,t){return Us=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Us(e,t)}function GV(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 XV=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}(Z),QV=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.2e171751967102653":i===void 0?"CMD.827a1751967105045":"CMD.8ad11751967096874"))}),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 p;o.isShowUnit=(p=n==null?void 0:n.isShowUnit)!==null&&p!==void 0?p:!1;var d;o.unitPosition=(d=n==null?void 0:n.unitPosition)!==null&&d!==void 0?d:"right";var b;o.unit=(b=n==null?void 0:n.unit)!==null&&b!==void 0?b:"";var g;o.caption=(g=n==null?void 0:n.caption)!==null&&g!==void 0?g:Wi.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 $;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",XV),at(Hi,"RuntimeRules",QV);function JV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZV(e,t,n){return t=Ke(t),nz(e,HO()?Reflect.construct(t,n||[],Ke(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 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 tz(e,t,n){return t&&zO(e.prototype,t),n&&zO(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=oz(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 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&&Ws(e,t)}function nz(e,t){return t&&(rz(t)==="object"||typeof t=="function")?t:JV(e)}function Ws(e,t){return Ws=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ws(e,t)}function oz(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ke(e),e!==null););return e}function rz(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 Wi=function(e){ez(t,e);function t(n){YV(this,t);var o;return o=ZV(this,t,[n]),qi(o,"props",void 0),o.props=new Hi(n==null?void 0:n.props),o}return tz(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 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=Ki(t),fz(e,WO()?Reflect.construct(t,n||[],Ki(e).constructor):t.apply(e,n))}function lz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 cz(e,t,n){return t&&qO(e.prototype,t),n&&qO(e,n),e}function UO(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 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&&Ks(e,t)}function fz(e,t){return t&&(_z(t)==="object"||typeof t=="function")?t:iz(e)}function Ks(e,t){return Ks=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ks(e,t)}function _z(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 sz=function(e){az(t,e);function t(n){lz(this,t);var o;return o=uz(this,t,[n]),UO(o,"props",void 0),o.props=new Hi(n==null?void 0:n.props),o}return cz(t,null,[{key:"controlType",get:function(){return"number"}}]),t}(x);UO(sz,"controlFieldType",O.DECIMAL);function yz(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=Gi(t),hz(e,KO()?Reflect.construct(t,n||[],Gi(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 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 Gi(e){return Gi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gi(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&&Gs(e,t)}function hz(e,t){return t&&(bz(t)==="object"||typeof t=="function")?t:yz(e)}function Gs(e,t){return Gs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gs(e,t)}function bz(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 GO=function(e){vz(t,e);function t(n){dz(this,t);var o,r;o=pz(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 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 p;o.defaultValue=(p=n==null?void 0:n.defaultValue)!==null&&p!==void 0?p:"";var d;o.limitDateList=(d=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function(m){return new $_(m)}))!==null&&d!==void 0?d:[];var b;o.allowDateRange=(b=n==null?void 0:n.allowDateRange)!==null&&b!==void 0?b:["",""];var g;return o.filterWeekend=(g=n==null?void 0:n.filterWeekend)!==null&&g!==void 0?g:!1,o}return t}(k);function mz(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=Ge(t),Pz(e,QO()?Reflect.construct(t,n||[],Ge(e).constructor):t.apply(e,n))}function Oz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function wz(e,t,n){return t&&XO(e.prototype,t),n&&XO(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=Ez(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 $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&&Qs(e,t)}function Pz(e,t){return t&&(Sz(t)==="object"||typeof t=="function")?t:mz(e)}function Qs(e,t){return Qs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qs(e,t)}function Ez(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ge(e),e!==null););return e}function Sz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(QO=function(){return!!e})()}var Js=function(e){$z(t,e);function t(n){Oz(this,t);var o;return o=gz(this,t,[n]),Xs(o,"props",void 0),o.props=new GO(n==null?void 0:n.props),o}return wz(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 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=Qi(t),Iz(e,YO()?Reflect.construct(t,n||[],Qi(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 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 Dz(e,t,n){return t&&JO(e.prototype,t),n&&JO(e,n),e}function ZO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qi(e){return Qi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qi(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&&Zs(e,t)}function Iz(e,t){return t&&(kz(t)==="object"||typeof t=="function")?t:Tz(e)}function Zs(e,t){return Zs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zs(e,t)}function kz(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 Fz=function(e){Az(t,e);function t(n){Bz(this,t);var o;return o=Rz(this,t,[n]),ZO(o,"props",void 0),o.props=new GO(n==null?void 0:n.props),o}return Dz(t,null,[{key:"controlType",get:function(){return"date-picker"}}]),t}(x);ZO(Fz,"controlFieldType",O.TIMESTAMP);function xz(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=Ji(t),Mz(e,ow()?Reflect.construct(t,n||[],Ji(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 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 Ji(e){return Ji=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ji(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&&Ys(e,t)}function Mz(e,t){return t&&(Lz(t)==="object"||typeof t=="function")?t:xz(e)}function Ys(e,t){return Ys=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ys(e,t)}function Lz(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 Cz=function(e){nw(t,e);function t(n){ew(this,t);var o;return o=tw(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){nw(t,e);function t(n){ew(this,t);var o,r;o=tw(this,t,[n]),Tt(o,"dataBind",void 0),Tt(o,"rangeMin",void 0),Tt(o,"rangeMax",void 0),Tt(o,"placeholderStart",void 0),Tt(o,"placeholderEnd",void 0),Tt(o,"dateFormat",void 0),Tt(o,"commonTimeSetting",void 0),Tt(o,"dateType",void 0),Tt(o,"setValueType",void 0),Tt(o,"defaultValue",void 0),Tt(o,"limitDateList",void 0),o.dataBind=new jx(n==null?void 0:n.dataBind),o.defaultValue=new Nx(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 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 p;o.placeholderStart=(p=n==null?void 0:n.placeholderStart)!==null&&p!==void 0?p: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 b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:oy.controlName;var g;return o.limitDateList=(g=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function(m){return new $_(m)}))!==null&&g!==void 0?g:[],o}return t}(k);Tt(ty,"RuntimeRules",Cz);function jz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nz(e,t,n){return t=Xe(t),qz(e,iw()?Reflect.construct(t,n||[],Xe(e).constructor):t.apply(e,n))}function Vz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 zz(e,t,n){return t&&rw(e.prototype,t),n&&rw(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=Uz(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 Hz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ny(e,t)}function qz(e,t){return t&&(Wz(t)==="object"||typeof t=="function")?t:jz(e)}function ny(e,t){return ny=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ny(e,t)}function Uz(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Xe(e),e!==null););return e}function Wz(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 oy=function(e){Hz(t,e);function t(n){Vz(this,t);var o;return o=Nz(this,t,[n]),ey(o,"props",void 0),o.props=new ty(n==null?void 0:n.props),o}return zz(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 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=Yi(t),Zz(e,cw()?Reflect.construct(t,n||[],Yi(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 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 lw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yi(e){return Yi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yi(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&&ry(e,t)}function Zz(e,t){return t&&(Yz(t)==="object"||typeof t=="function")?t:Kz(e)}function ry(e,t){return ry=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ry(e,t)}function Yz(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 tH=function(e){Jz(t,e);function t(n){Xz(this,t);var o;return o=Gz(this,t,[n]),lw(o,"props",void 0),o.props=new ty(n==null?void 0:n.props),o}return Qz(t,null,[{key:"controlType",get:function(){return"date-range"}}]),t}(x);lw(tH,"controlFieldType",O.TIMESCOPE);function eH(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),nH(e,aw()?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 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 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 nH(e,t){return t&&(oH(t)==="object"||typeof t=="function")?t:eH(e)}function cy(e,t){return cy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cy(e,t)}function oH(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 rH=function(e){ly(t,e);function t(n){uy(this,t);var o;return o=iy(this,t,[n]),Yt(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")}),Yt(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")}),Yt(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}(Z),iH=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]),Yt(o,"maxLength",void 0),Yt(o,"minLength",void 0),Yt(o,"defaultValue",void 0),Yt(o,"rowHeightSetting",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;return 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),o}return t}(k);Yt(eu,"Rules",rH),Yt(eu,"RuntimeRules",iH);function uH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lH(e,t,n){return t=ou(t),_H(e,_w()?Reflect.construct(t,n||[],ou(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 fw(e,t){for(var n=0;n<t.length;n++){var 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&&fw(e.prototype,t),n&&fw(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 fH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _H(e,t){return t&&(sH(t)==="object"||typeof t=="function")?t:uH(e)}function ay(e,t){return ay=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ay(e,t)}function sH(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 ru=function(e){fH(t,e);function t(n){cH(this,t);var o;return o=lH(this,t,[n]),nu(o,"props",void 0),o.props=new eu(n==null?void 0:n.props),o}return aH(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:"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 yH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pH(e,t,n){return t=iu(t),bH(e,pw()?Reflect.construct(t,n||[],iu(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 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 vH(e,t,n){return t&&sw(e.prototype,t),n&&sw(e,n),e}function yw(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 hH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fy(e,t)}function bH(e,t){return t&&(mH(t)==="object"||typeof t=="function")?t:yH(e)}function fy(e,t){return fy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fy(e,t)}function mH(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 gH=function(e){hH(t,e);function t(n){dH(this,t);var o;return o=pH(this,t,[n]),yw(o,"props",void 0),o.props=new eu(n==null?void 0:n.props),o}return vH(t,null,[{key:"controlType",get:function(){return"textarea"}}]),t}(x);yw(gH,"controlFieldType",O.TEXT);function OH(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),wH(e,dw()?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 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 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 wH(e,t){return t&&($H(t)==="object"||typeof t=="function")?t:OH(e)}function py(e,t){return py=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},py(e,t)}function $H(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 PH=function(e){yy(t,e);function t(n){sy(this,t);var o;return o=_y(this,t,[n]),ve(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")}),ve(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")}),ve(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}(Z),EH=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]),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 l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:fu.controlName;var a;return o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:f("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),o}return t}(k);ve(lu,"Rules",PH),ve(lu,"RuntimeRules",EH);function SH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TH(e,t,n){return t=au(t),AH(e,hw()?Reflect.construct(t,n||[],au(e).constructor):t.apply(e,n))}function RH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function BH(e,t,n){return t&&vw(e.prototype,t),n&&vw(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 DH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dy(e,t)}function AH(e,t){return t&&(IH(t)==="object"||typeof t=="function")?t:SH(e)}function dy(e,t){return dy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dy(e,t)}function IH(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 fu=function(e){DH(t,e);function t(n){RH(this,t);var o;return o=TH(this,t,[n]),cu(o,"props",void 0),o.props=new lu(n==null?void 0:n.props),o}return BH(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:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",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 FH(e,t,n){return t=_u(t),CH(e,gw()?Reflect.construct(t,n||[],_u(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 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 MH(e,t,n){return t&&bw(e.prototype,t),n&&bw(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 _u(e){return _u=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_u(e)}function LH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vy(e,t)}function CH(e,t){return t&&(jH(t)==="object"||typeof t=="function")?t:kH(e)}function vy(e,t){return vy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vy(e,t)}function jH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(gw=function(){return!!e})()}var NH=function(e){LH(t,e);function t(n){xH(this,t);var o;return o=FH(this,t,[n]),mw(o,"props",void 0),o.props=new lu(n==null?void 0:n.props),o}return MH(t,null,[{key:"controlType",get:function(){return"rich-text"}}]),t}(x);mw(NH,"controlFieldType",O.TEXT);function VH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ow(e,t,n){return t=su(t),zH(e,Pw()?Reflect.construct(t,n||[],su(e).constructor):t.apply(e,n))}function ww(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 su(e){return su=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},su(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&&hy(e,t)}function zH(e,t){return t&&(HH(t)==="object"||typeof t=="function")?t:VH(e)}function hy(e,t){return hy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hy(e,t)}function HH(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 qH=function(e){$w(t,e);function t(n){ww(this,t);var o;return o=Ow(this,t,[n]),Ot(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}(je),by=function(e){$w(t,e);function t(n){ww(this,t);var o;o=Ow(this,t,[n]),Ot(o,"options",void 0),Ot(o,"defaultShowOptions",void 0),Ot(o,"optionConfig",void 0),Ot(o,"defaultValue",void 0),Ot(o,"datasourceBind",void 0),Ot(o,"multistageFilling",void 0),Ot(o,"allowCopyOptions",void 0),Ot(o,"openMultistageFilling",void 0),Ot(o,"viewFormModelType",void 0),Ot(o,"canViewForm",void 0),Ot(o,"formBind",void 0);var r;o.options=Gt((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 p;o.openMultistageFilling=(p=n==null?void 0:n.openMultistageFilling)!==null&&p!==void 0?p:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(g){var m;(m=o.multistageFilling)===null||m===void 0||m.push(new yt(g))}));var d;o.canViewForm=(d=n==null?void 0:n.canViewForm)!==null&&d!==void 0?d:!1;var b;return o.viewFormModelType=(b=n==null?void 0:n.viewFormModelType)!==null&&b!==void 0?b:"window",o.formBind=new Le(n==null?void 0:n.formBind),o}return t}(k);Ot(by,"Rules",qH);function UH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WH(e,t,n){return t=yu(t),QH(e,Sw()?Reflect.construct(t,n||[],yu(e).constructor):t.apply(e,n))}function KH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ew(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function GH(e,t,n){return t&&Ew(e.prototype,t),n&&Ew(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 XH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gy(e,t)}function QH(e,t){return t&&(JH(t)==="object"||typeof t=="function")?t:UH(e)}function gy(e,t){return gy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gy(e,t)}function JH(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 Oy=function(e){XH(t,e);function t(n){KH(this,t);var o;return o=WH(this,t,[n]),my(o,"props",void 0),o.props=new by(n==null?void 0:n.props),o}return GH(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:"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 ZH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YH(e,t,n){return t=pu(t),oq(e,Bw()?Reflect.construct(t,n||[],pu(e).constructor):t.apply(e,n))}function tq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 eq(e,t,n){return t&&Tw(e.prototype,t),n&&Tw(e,n),e}function Rw(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 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&&wy(e,t)}function oq(e,t){return t&&(rq(t)==="object"||typeof t=="function")?t:ZH(e)}function wy(e,t){return wy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wy(e,t)}function rq(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 iq=function(e){nq(t,e);function t(n){tq(this,t);var o;return o=YH(this,t,[n]),Rw(o,"props",void 0),o.props=new by(n==null?void 0:n.props),o}return eq(t,null,[{key:"controlType",get:function(){return"select"}}]),t}(x);Rw(iq,"controlFieldType",O.VARCHAR);function uq(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),lq(e,Dw()?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 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 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 lq(e,t){return t&&(cq(t)==="object"||typeof t=="function")?t:uq(e)}function Sy(e,t){return Sy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sy(e,t)}function cq(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 aq=function(e){Ey(t,e);function t(n){Py(this,t);var o;return o=$y(this,t,[n]),wt(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}(je),fq=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]),wt(o,"options",void 0),wt(o,"defaultShowOptions",void 0),wt(o,"optionConfig",void 0),wt(o,"defaultValue",void 0),wt(o,"datasourceBind",void 0),wt(o,"multistageFilling",void 0),wt(o,"openMultistageFilling",void 0),wt(o,"viewFormModelType",void 0),wt(o,"canViewForm",void 0),wt(o,"formBind",void 0);var r;o.options=Gt((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(b){var g;(g=o.multistageFilling)===null||g===void 0||g.push(new yt(b))}));var p;o.canViewForm=(p=n==null?void 0:n.canViewForm)!==null&&p!==void 0?p:!1;var d;return 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),o}return t}(k);wt(vu,"Rules",aq),wt(vu,"RuntimeRules",fq);function _q(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sq(e,t,n){return t=hu(t),vq(e,Iw()?Reflect.construct(t,n||[],hu(e).constructor):t.apply(e,n))}function yq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Aw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function pq(e,t,n){return t&&Aw(e.prototype,t),n&&Aw(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 dq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ry(e,t)}function vq(e,t){return t&&(hq(t)==="object"||typeof t=="function")?t:_q(e)}function Ry(e,t){return Ry=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ry(e,t)}function hq(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 By=function(e){dq(t,e);function t(n){yq(this,t);var o;return o=sq(this,t,[n]),Ty(o,"props",void 0),o.props=new vu(n==null?void 0:n.props),o}return pq(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:"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 bq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mq(e,t,n){return t=bu(t),$q(e,xw()?Reflect.construct(t,n||[],bu(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 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 Oq(e,t,n){return t&&kw(e.prototype,t),n&&kw(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 bu(e){return bu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bu(e)}function wq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dy(e,t)}function $q(e,t){return t&&(Pq(t)==="object"||typeof t=="function")?t:bq(e)}function Dy(e,t){return Dy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dy(e,t)}function Pq(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 Eq=function(e){wq(t,e);function t(n){gq(this,t);var o;return o=mq(this,t,[n]),Fw(o,"props",void 0),o.props=new vu(n==null?void 0:n.props),o}return Oq(t,null,[{key:"controlType",get:function(){return"select-multiple"}}]),t}(x);Fw(Eq,"controlFieldType",O.ARRAY);function Sq(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=mu(t),Tq(e,jw()?Reflect.construct(t,n||[],mu(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 mu(e){return mu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mu(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&&Ay(e,t)}function Tq(e,t){return t&&(Rq(t)==="object"||typeof t=="function")?t:Sq(e)}function Ay(e,t){return Ay=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ay(e,t)}function Rq(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 Bq=function(e){Cw(t,e);function t(n){Lw(this,t);var o;return o=Mw(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(j),Iy=function(e){Cw(t,e);function t(n){Lw(this,t);var o;o=Mw(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 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 p;o.placeholder=(p=n==null?void 0:n.placeholder)!==null&&p!==void 0?p: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(b){var g;(g=o.multistageFilling)===null||g===void 0||g.push(new yt(b))})),o}return t}(k);te(Iy,"RuntimeRules",Bq);function Dq(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=gu(t),xq(e,Vw()?Reflect.construct(t,n||[],gu(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 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 kq(e,t,n){return t&&Nw(e.prototype,t),n&&Nw(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 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&&Fy(e,t)}function xq(e,t){return t&&(Mq(t)==="object"||typeof t=="function")?t:Dq(e)}function Fy(e,t){return Fy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fy(e,t)}function Mq(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 xy=function(e){Fq(t,e);function t(n){Iq(this,t);var o;return o=Aq(this,t,[n]),ky(o,"props",void 0),o.props=new Iy(n==null?void 0:n.props),o}return kq(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 Lq(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=Ou(t),zq(e,qw()?Reflect.construct(t,n||[],Ou(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 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 Nq(e,t,n){return t&&zw(e.prototype,t),n&&zw(e,n),e}function Hw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ou(e){return Ou=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ou(e)}function Vq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&My(e,t)}function zq(e,t){return t&&(Hq(t)==="object"||typeof t=="function")?t:Lq(e)}function My(e,t){return My=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},My(e,t)}function Hq(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 qq=function(e){Vq(t,e);function t(n){jq(this,t);var o;return o=Cq(this,t,[n]),Hw(o,"props",void 0),o.props=new Iy(n==null?void 0:n.props),o}return Nq(t,null,[{key:"controlType",get:function(){return"employee"}}]),t}(x);Hw(qq,"controlFieldType",O.EMPLOYEES);function Uq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ly(e,t,n){return t=wu(t),Wq(e,Uw()?Reflect.construct(t,n||[],wu(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 $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 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 Wq(e,t){return t&&(Kq(t)==="object"||typeof t=="function")?t:Uq(e)}function Ny(e,t){return Ny=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ny(e,t)}function Kq(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 Gq=10485760,Xq=104857600,Qq=1048576e3,Jq=function(e){jy(t,e);function t(n){Cy(this,t);var o;return o=Ly(this,t,[n]),$t(o,"maxSize",{type:"number",min:0,max:Qq,message:f("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4")}),o}return t}(Z),Zq=function(e){jy(t,e);function t(n){Cy(this,t);var o;return o=Ly(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){Cy(this,t);var o;o=Ly(this,t,[n]),$t(o,"defaultValue",void 0),$t(o,"showType",void 0),$t(o,"resultShowType",void 0),$t(o,"attachmentAccept",void 0),$t(o,"maxLimit",void 0),$t(o,"minLimit",void 0),$t(o,"isShowWatermark",void 0),$t(o,"watermarkFx",void 0),$t(o,"maxSize",void 0),$t(o,"operation",void 0);var r;o.defaultValue=(r=n==null?void 0:n.defaultValue)!==null&&r!==void 0?r:[];var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.resultShowType=(u=n==null?void 0:n.resultShowType)!==null&&u!==void 0?u:"simple";var 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?_:Xq;var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p: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 b;o.isShowWatermark=(b=n==null?void 0:n.isShowWatermark)!==null&&b!==void 0?b:!1;var g;o.watermarkFx=(g=n==null?void 0:n.watermarkFx)!==null&&g!==void 0?g:{};var m;return o.operation=(m=n==null?void 0:n.operation)!==null&&m!==void 0?m:["info","preview","download"],o}return t}(k);$t($u,"Rules",Jq),$t($u,"RuntimeRules",Zq);function Yq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tU(e,t,n){return t=Eu(t),rU(e,Kw()?Reflect.construct(t,n||[],Eu(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 Ww(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function nU(e,t,n){return t&&Ww(e.prototype,t),n&&Ww(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 oU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vy(e,t)}function rU(e,t){return t&&(iU(t)==="object"||typeof t=="function")?t:Yq(e)}function Vy(e,t){return Vy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vy(e,t)}function iU(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 bo=function(e){oU(t,e);function t(n){eU(this,t);var o;return o=tU(this,t,[n]),Pu(o,"props",void 0),o.props=new $u(n==null?void 0:n.props),o}return nU(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:"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 uU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lU(e,t,n){return t=Su(t),_U(e,Qw()?Reflect.construct(t,n||[],Su(e).constructor):t.apply(e,n))}function cU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 aU(e,t,n){return t&&Gw(e.prototype,t),n&&Gw(e,n),e}function Xw(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 fU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zy(e,t)}function _U(e,t){return t&&(sU(t)==="object"||typeof t=="function")?t:uU(e)}function zy(e,t){return zy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zy(e,t)}function sU(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 yU=function(e){fU(t,e);function t(n){cU(this,t);var o;return o=lU(this,t,[n]),Xw(o,"props",void 0),o.props=new $u(n==null?void 0:n.props),o}return aU(t,null,[{key:"controlType",get:function(){return"attachment"}}]),t}(x);Xw(yU,"controlFieldType",O.FILE);function pU(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=Tu(t),mU(e,Yw()?Reflect.construct(t,n||[],Tu(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 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 hU(e,t,n){return t&&Jw(e.prototype,t),n&&Jw(e,n),e}function Zw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tu(e){return Tu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tu(e)}function bU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hy(e,t)}function mU(e,t){return t&&(gU(t)==="object"||typeof t=="function")?t:pU(e)}function Hy(e,t){return Hy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hy(e,t)}function gU(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 t$=function(e){bU(t,e);function t(n){vU(this,t);var o,r,i;o=dU(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 hU(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);Zw(t$,"controlFieldType",O.IMAGE),Zw(t$,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP,s.IS_SHOW_WATERMARK]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function OU(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),EU(e,e$()?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 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 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 wU(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){it(e,r,n[r])})}return e}function $U(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 PU(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):$U(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function EU(e,t){return t&&(SU(t)==="object"||typeof t=="function")?t:OU(e)}function Ky(e,t){return Ky=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ky(e,t)}function SU(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 TU=function(e){Wy(t,e);function t(n){Uy(this,t);var o;o=qy(this,t,[n]),it(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")}]}}),it(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}(je),RU=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:[PU(wU({},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.b19e1751967102651":i===void 0?"CMD.2ef91751967105043":"CMD.a1921751967096873"))}],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]),it(o,"rangeMin",void 0),it(o,"rangeMax",void 0),it(o,"showUpperCase",void 0),it(o,"submitSelectCurrency",void 0),it(o,"micrometer",void 0),it(o,"precision",void 0),it(o,"unitPosition",void 0),it(o,"optionConfig",void 0),it(o,"dataBind",void 0),it(o,"datasourceBind",void 0),it(o,"defaultValue",void 0),it(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 Lx(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 Cx((_=n==null?void 0:n.defaultValue)!==null&&_!==void 0?_:{amount:"",currency:qx.CNY});var p;o.unitPosition=(p=n==null?void 0:n.unitPosition)!==null&&p!==void 0?p:"right",o.options=Gt(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 b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b: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 m;return o.showUpperCase=(m=n==null?void 0:n.showUpperCase)!==null&&m!==void 0?m:!1,o}return t}(k);it(Bu,"Rules",TU),it(Bu,"RuntimeRules",RU);function BU(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=Qe(t),FU(e,o$()?Reflect.construct(t,n||[],Qe(e).constructor):t.apply(e,n))}function AU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function IU(e,t,n){return t&&n$(e.prototype,t),n&&n$(e,n),e}function Du(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Au(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Au=Reflect.get:Au=function(r,i,u){var l=xU(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 kU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 FU(e,t){return t&&(MU(t)==="object"||typeof t=="function")?t:BU(e)}function Gy(e,t){return Gy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gy(e,t)}function xU(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Qe(e),e!==null););return e}function MU(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 Iu=function(e){kU(t,e);function t(n){AU(this,t);var o;return o=DU(this,t,[n]),Du(o,"props",void 0),o.props=new Bu(n==null?void 0:n.props),o}return IU(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 LU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CU(e,t,n){return t=ku(t),zU(e,u$()?Reflect.construct(t,n||[],ku(e).constructor):t.apply(e,n))}function jU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 NU(e,t,n){return t&&r$(e.prototype,t),n&&r$(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 ku(e){return ku=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ku(e)}function VU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 zU(e,t){return t&&(HU(t)==="object"||typeof t=="function")?t:LU(e)}function Xy(e,t){return Xy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xy(e,t)}function HU(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 qU=function(e){VU(t,e);function t(n){jU(this,t);var o;return o=CU(this,t,[n]),i$(o,"props",void 0),o.props=new Bu(n==null?void 0:n.props),o}return NU(t,null,[{key:"controlType",get:function(){return"amount"}}]),t}(x);i$(qU,"controlFieldType",O.MONEY);function UU(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),WU(e,l$()?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 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 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 WU(e,t){return t&&(KU(t)==="object"||typeof t=="function")?t:UU(e)}function Yy(e,t){return Yy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yy(e,t)}function KU(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){Zy(t,e);function t(n){Jy(this,t);var o;return o=Qy(this,t,[n]),ee(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")}]),ee(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}(Z),XU=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]),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:xC.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(p){return new P_(p)}))!==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?_:Cu.controlName,o}return t}(k);ee(xu,"Rules",GU),ee(xu,"RuntimeRules",XU);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 QU(e){if(Array.isArray(e))return tp(e)}function JU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZU(e,t,n){return t=Je(t),rW(e,a$()?Reflect.construct(t,n||[],Je(e).constructor):t.apply(e,n))}function YU(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 tW(e,t,n){return t&&c$(e.prototype,t),n&&c$(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 Lu(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Lu=Reflect.get:Lu=function(r,i,u){var l=iW(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},Lu(e,t,n||e)}function Je(e){return Je=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Je(e)}function 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&&ep(e,t)}function nW(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function oW(){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 rW(e,t){return t&&(lW(t)==="object"||typeof t=="function")?t:JU(e)}function ep(e,t){return ep=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ep(e,t)}function iW(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Je(e),e!==null););return e}function uW(e){return QU(e)||nW(e)||cW(e)||oW()}function lW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cW(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 a$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(a$=function(){return!!e})()}var Cu=function(e){eW(t,e);function t(n){YU(this,t);var o;return o=ZU(this,t,[n]),Mu(o,"props",void 0),o.props=new xu(n==null?void 0:n.props),o}return tW(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,uW(l))}}Lu(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(Cu,"controlEventKeys",["on_change","on_click"]),Mu(Cu,"controlFieldType",O.DECIMAL),Mu(Cu,"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 aW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fW(e,t,n){return t=ju(t),pW(e,s$()?Reflect.construct(t,n||[],ju(e).constructor):t.apply(e,n))}function _W(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 sW(e,t,n){return t&&f$(e.prototype,t),n&&f$(e,n),e}function _$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ju(e){return ju=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ju(e)}function yW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&np(e,t)}function pW(e,t){return t&&(dW(t)==="object"||typeof t=="function")?t:aW(e)}function np(e,t){return np=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},np(e,t)}function dW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function s$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(s$=function(){return!!e})()}var vW=function(e){yW(t,e);function t(n){_W(this,t);var o;return o=fW(this,t,[n]),_$(o,"props",void 0),o.props=new xu(n==null?void 0:n.props),o}return sW(t,null,[{key:"controlType",get:function(){return"score"}}]),t}(x);_$(vW,"controlFieldType",O.DECIMAL);function hW(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=Vu(t),bW(e,v$()?Reflect.construct(t,n||[],Vu(e).constructor):t.apply(e,n))}function p$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 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&&op(e,t)}function bW(e,t){return t&&(mW(t)==="object"||typeof t=="function")?t:hW(e)}function op(e,t){return op=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},op(e,t)}function mW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function v$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(v$=function(){return!!e})()}var gW=function(e){d$(t,e);function t(n){p$(this,t);var o;if(o=y$(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){d$(t,e);function t(n){p$(this,t);var o;o=y$(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 Vx((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",gW);function OW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wW(e,t,n){return t=zu(t),SW(e,b$()?Reflect.construct(t,n||[],zu(e).constructor):t.apply(e,n))}function $W(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 PW(e,t,n){return t&&h$(e.prototype,t),n&&h$(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 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&&up(e,t)}function SW(e,t){return t&&(TW(t)==="object"||typeof t=="function")?t:OW(e)}function up(e,t){return up=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},up(e,t)}function TW(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 lp=function(e){EW(t,e);function t(n){$W(this,t);var o;return o=wW(this,t,[n]),ip(o,"props",void 0),o.props=new rp(n==null?void 0:n.props),o}return PW(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 RW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BW(e,t,n){return t=Hu(t),kW(e,O$()?Reflect.construct(t,n||[],Hu(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 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 AW(e,t,n){return t&&m$(e.prototype,t),n&&m$(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 Hu(e){return Hu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hu(e)}function IW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cp(e,t)}function kW(e,t){return t&&(FW(t)==="object"||typeof t=="function")?t:RW(e)}function cp(e,t){return cp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cp(e,t)}function FW(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 xW=function(e){IW(t,e);function t(n){DW(this,t);var o;return o=BW(this,t,[n]),g$(o,"props",void 0),o.props=new rp(n==null?void 0:n.props),o}return AW(t,null,[{key:"controlName",get:function(){return f("CMD.2f2b1751967130347")}},{key:"controlIcon",get:function(){return"iconicon_site_management11"}},{key:"controlType",get:function(){return"address"}}]),t}(x);g$(xW,"controlFieldType",O.ADDRESS);function MW(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=qu(t),LW(e,E$()?Reflect.construct(t,n||[],qu(e).constructor):t.apply(e,n))}function $$(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 qu(e){return qu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qu(e)}function P$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ap(e,t)}function LW(e,t){return t&&(CW(t)==="object"||typeof t=="function")?t:MW(e)}function ap(e,t){return ap=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ap(e,t)}function CW(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 jW=function(e){P$(t,e);function t(n){$$(this,t);var o;return o=w$(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(j),fp=function(e){P$(t,e);function t(n){$$(this,t);var o;o=w$(this,t,[n]),Ft(o,"showType",void 0),Ft(o,"range",void 0),Ft(o,"defaultValueType",void 0),Ft(o,"multiple",void 0),Ft(o,"rangeOptions",void 0),Ft(o,"defaultValue",void 0),Ft(o,"displayLevel",void 0),Ft(o,"showSubDept",void 0),Ft(o,"multistageFilling",void 0),Ft(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1;var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var 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 p;o.showSubDept=(p=n==null?void 0:n.showSubDept)!==null&&p!==void 0?p:!0;var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:Ku.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b: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(m){var $;($=o.multistageFilling)===null||$===void 0||$.push(new yt(m))})),o}return t}(k);Ft(fp,"RuntimeRules",jW);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=Ze(t),UW(e,T$()?Reflect.construct(t,n||[],Ze(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 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 HW(e,t,n){return t&&S$(e.prototype,t),n&&S$(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=WW(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 qW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_p(e,t)}function UW(e,t){return t&&(KW(t)==="object"||typeof t=="function")?t:NW(e)}function _p(e,t){return _p=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_p(e,t)}function WW(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ze(e),e!==null););return e}function KW(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 Ku=function(e){qW(t,e);function t(n){zW(this,t);var o;return o=VW(this,t,[n]),Uu(o,"props",void 0),o.props=new fp(n==null?void 0:n.props),o}return HW(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 GW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XW(e,t,n){return t=Gu(t),YW(e,D$()?Reflect.construct(t,n||[],Gu(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 JW(e,t,n){return t&&R$(e.prototype,t),n&&R$(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 Gu(e){return Gu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gu(e)}function ZW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sp(e,t)}function YW(e,t){return t&&(tK(t)==="object"||typeof t=="function")?t:GW(e)}function sp(e,t){return sp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sp(e,t)}function tK(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 eK=function(e){ZW(t,e);function t(n){QW(this,t);var o;return o=XW(this,t,[n]),B$(o,"props",void 0),o.props=new fp(n==null?void 0:n.props),o}return JW(t,null,[{key:"controlType",get:function(){return"department"}}]),t}(x);B$(eK,"controlFieldType",O.DEPARTMENTS);function nK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oK(e,t,n){return t=Xu(t),lK(e,A$()?Reflect.construct(t,n||[],Xu(e).constructor):t.apply(e,n))}function rK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iK(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 uK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yp(e,t)}function lK(e,t){return t&&(cK(t)==="object"||typeof t=="function")?t:nK(e)}function yp(e,t){return yp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yp(e,t)}function cK(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 I$=function(e){uK(t,e);function t(n){rK(this,t);var o;o=oK(this,t,[n]),iK(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 aK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fK(e,t,n){return t=Ju(t),pK(e,F$()?Reflect.construct(t,n||[],Ju(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 k$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function sK(e,t,n){return t&&k$(e.prototype,t),n&&k$(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 yK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pp(e,t)}function pK(e,t){return t&&(dK(t)==="object"||typeof t=="function")?t:aK(e)}function pp(e,t){return pp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},pp(e,t)}function dK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function F$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(F$=function(){return!!e})()}var Zu=function(e){yK(t,e);function t(n){_K(this,t);var o;return o=fK(this,t,[n]),Qu(o,"props",void 0),o.props=new I$(n==null?void 0:n.props),o}return sK(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 vK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hK(e,t,n){return t=Yu(t),OK(e,L$()?Reflect.construct(t,n||[],Yu(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 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 mK(e,t,n){return t&&x$(e.prototype,t),n&&x$(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 Yu(e){return Yu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yu(e)}function gK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dp(e,t)}function OK(e,t){return t&&(wK(t)==="object"||typeof t=="function")?t:vK(e)}function dp(e,t){return dp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dp(e,t)}function wK(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 $K=function(e){gK(t,e);function t(n){bK(this,t);var o;return o=hK(this,t,[n]),M$(o,"props",void 0),o.props=new I$(n==null?void 0:n.props),o}return mK(t,null,[{key:"controlType",get:function(){return"auto-number"}}]),t}(x);M$($K,"controlFieldType",O.AUTO_NUMBER);function PK(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),EK(e,C$()?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 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 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 EK(e,t){return t&&(SK(t)==="object"||typeof t=="function")?t:PK(e)}function mp(e,t){return mp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},mp(e,t)}function SK(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 TK=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}(Z),RK=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]),xt(o,"precision",void 0),xt(o,"micrometer",void 0),xt(o,"showUpperCase",void 0),xt(o,"scriptSrc",void 0),xt(o,"scriptEcho",void 0),xt(o,"dataBind",void 0),xt(o,"defaultValue",void 0),xt(o,"unitPosition",void 0),xt(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 zx(n==null?void 0:n.dataBind),o.defaultValue=new Hx(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 p;o.scriptSrc=(p=n==null?void 0:n.scriptSrc)!==null&&p!==void 0?p:"";var d;return o.calcOnMounted=(d=n==null?void 0:n.calcOnMounted)!==null&&d!==void 0?d:!1,o}return t}(k);xt(el,"Rules",TK),xt(el,"RuntimeRules",RK);function BK(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=Ye(t),FK(e,N$()?Reflect.construct(t,n||[],Ye(e).constructor):t.apply(e,n))}function AK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function j$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function IK(e,t,n){return t&&j$(e.prototype,t),n&&j$(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=xK(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 kK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gp(e,t)}function FK(e,t){return t&&(MK(t)==="object"||typeof t=="function")?t:BK(e)}function gp(e,t){return gp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gp(e,t)}function xK(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ye(e),e!==null););return e}function MK(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 rl=function(e){kK(t,e);function t(n){AK(this,t);var o;return o=DK(this,t,[n]),nl(o,"props",void 0),o.props=new el(n==null?void 0:n.props),o}return IK(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 LK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CK(e,t,n){return t=il(t),zK(e,H$()?Reflect.construct(t,n||[],il(e).constructor):t.apply(e,n))}function jK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 NK(e,t,n){return t&&V$(e.prototype,t),n&&V$(e,n),e}function z$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function il(e){return il=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},il(e)}function VK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Op(e,t)}function zK(e,t){return t&&(HK(t)==="object"||typeof t=="function")?t:LK(e)}function Op(e,t){return Op=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Op(e,t)}function HK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function H$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(H$=function(){return!!e})()}var qK=function(e){VK(t,e);function t(n){jK(this,t);var o;return o=CK(this,t,[n]),z$(o,"props",void 0),o.props=new el(n==null?void 0:n.props),o}return NK(t,null,[{key:"controlType",get:function(){return"calc"}}]),t}(x);z$(qK,"controlFieldType",O.CALC);function UK(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=ul(t),WK(e,K$()?Reflect.construct(t,n||[],ul(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 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 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&&wp(e,t)}function WK(e,t){return t&&(KK(t)==="object"||typeof t=="function")?t:UK(e)}function wp(e,t){return wp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wp(e,t)}function KK(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 GK=function(e){W$(t,e);function t(n){U$(this,t);var o;return o=q$(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){W$(t,e);function t(n){U$(this,t);var o;o=q$(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",GK);function XK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QK(e,t,n){return t=ll(t),tG(e,X$()?Reflect.construct(t,n||[],ll(e).constructor):t.apply(e,n))}function JK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ZK(e,t,n){return t&&G$(e.prototype,t),n&&G$(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 YK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ep(e,t)}function tG(e,t){return t&&(eG(t)==="object"||typeof t=="function")?t:XK(e)}function Ep(e,t){return Ep=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ep(e,t)}function eG(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 Sp=function(e){YK(t,e);function t(n){JK(this,t);var o;return o=QK(this,t,[n]),Pp(o,"props",void 0),o.props=new $p(n==null?void 0:n.props),o}return ZK(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 nG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oG(e,t,n){return t=cl(t),lG(e,Z$()?Reflect.construct(t,n||[],cl(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 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 iG(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 cl(e){return cl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cl(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&&Tp(e,t)}function lG(e,t){return t&&(cG(t)==="object"||typeof t=="function")?t:nG(e)}function Tp(e,t){return Tp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Tp(e,t)}function cG(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 aG=function(e){uG(t,e);function t(n){rG(this,t);var o;return o=oG(this,t,[n]),J$(o,"props",void 0),o.props=new $p(n==null?void 0:n.props),o}return iG(t,null,[{key:"controlType",get:function(){return"search-number-range"}}]),t}(x);J$(aG,"controlFieldType",O.DECIMAL_RANGE);function fG(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=al(t),_G(e,nP()?Reflect.construct(t,n||[],al(e).constructor):t.apply(e,n))}function tP(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 al(e){return al=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},al(e)}function eP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rp(e,t)}function _G(e,t){return t&&(sG(t)==="object"||typeof t=="function")?t:fG(e)}function Rp(e,t){return Rp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rp(e,t)}function sG(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 yG=function(e){eP(t,e);function t(n){tP(this,t);var o;return o=Y$(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){eP(t,e);function t(n){tP(this,t);var o,r;o=Y$(this,t,[n]),Mt(o,"rangeMin",void 0),Mt(o,"rangeMax",void 0),Mt(o,"placeholderStart",void 0),Mt(o,"placeholderEnd",void 0),Mt(o,"dateType",void 0),Mt(o,"dateFormat",void 0),Mt(o,"commonTimeSetting",void 0),Mt(o,"setValueType",void 0),Mt(o,"defaultValue",void 0),Mt(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 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 p;o.rangeMax=(p=n==null?void 0:n.rangeMax)!==null&&p!==void 0?p:"";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 b;o.placeholderEnd=(b=n==null?void 0:n.placeholderEnd)!==null&&b!==void 0?b: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 m;return o.limitDateList=(m=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function($){return new $_($)}))!==null&&m!==void 0?m:[],o}return t}(k);Mt(Bp,"RuntimeRules",yG);function pG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dG(e,t,n){return t=fl(t),mG(e,rP()?Reflect.construct(t,n||[],fl(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 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 hG(e,t,n){return t&&oP(e.prototype,t),n&&oP(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 bG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ap(e,t)}function mG(e,t){return t&&(gG(t)==="object"||typeof t=="function")?t:pG(e)}function Ap(e,t){return Ap=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ap(e,t)}function gG(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 Ip=function(e){bG(t,e);function t(n){vG(this,t);var o;return o=dG(this,t,[n]),Dp(o,"props",void 0),o.props=new Bp(n==null?void 0:n.props),o}return hG(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 OG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wG(e,t,n){return t=_l(t),SG(e,lP()?Reflect.construct(t,n||[],_l(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 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 PG(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 _l(e){return _l=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_l(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&&kp(e,t)}function SG(e,t){return t&&(TG(t)==="object"||typeof t=="function")?t:OG(e)}function kp(e,t){return kp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kp(e,t)}function TG(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 RG=function(e){EG(t,e);function t(n){$G(this,t);var o;return o=wG(this,t,[n]),uP(o,"props",void 0),o.props=new Bp(n==null?void 0:n.props),o}return PG(t,null,[{key:"controlType",get:function(){return"search-date-range"}}]),t}(x);uP(RG,"controlFieldType",O.ARRAY);function BG(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),DG(e,cP()?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&&Lp(e,t)}function DG(e,t){return t&&(AG(t)==="object"||typeof t=="function")?t:BG(e)}function Lp(e,t){return Lp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Lp(e,t)}function AG(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 IG=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}(Z),kG=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",IG),en(yl,"RuntimeRules",kG);function FG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xG(e,t,n){return t=pl(t),jG(e,fP()?Reflect.construct(t,n||[],pl(e).constructor):t.apply(e,n))}function MG(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 LG(e,t,n){return t&&aP(e.prototype,t),n&&aP(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 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&&Cp(e,t)}function jG(e,t){return t&&(NG(t)==="object"||typeof t=="function")?t:FG(e)}function Cp(e,t){return Cp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cp(e,t)}function NG(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 go=function(e){CG(t,e);function t(n){MG(this,t);var o;return o=xG(this,t,[n]),mo(o,"props",void 0),o.props=new yl(n==null?void 0:n.props),o}return LG(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 VG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zG(e,t,n){return t=dl(t),WG(e,yP()?Reflect.construct(t,n||[],dl(e).constructor):t.apply(e,n))}function HG(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 qG(e,t,n){return t&&_P(e.prototype,t),n&&_P(e,n),e}function sP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dl(e){return dl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dl(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&&jp(e,t)}function WG(e,t){return t&&(KG(t)==="object"||typeof t=="function")?t:VG(e)}function jp(e,t){return jp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jp(e,t)}function KG(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 GG=function(e){UG(t,e);function t(n){HG(this,t);var o;return o=zG(this,t,[n]),sP(o,"props",void 0),o.props=new yl(n==null?void 0:n.props),o}return qG(t,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),t}(x);sP(GG,"controlFieldType",O.ANY);function XG(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=vl(t),QG(e,hP()?Reflect.construct(t,n||[],vl(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 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 vl(e){return vl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vl(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&&Np(e,t)}function QG(e,t){return t&&(JG(t)==="object"||typeof t=="function")?t:XG(e)}function Np(e,t){return Np=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Np(e,t)}function JG(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 ZG=function(e){vP(t,e);function t(n){dP(this,t);var o;return o=pP(this,t,[n]),ut(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")}]}}]),ut(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}(je),Vp=function(e){vP(t,e);function t(n){dP(this,t);var o;o=pP(this,t,[n]),ut(o,"options",void 0),ut(o,"optionConfig",void 0),ut(o,"defaultValue",void 0),ut(o,"listPageBind",void 0),ut(o,"datasourceBind",void 0),ut(o,"multistageFilling",void 0),ut(o,"viewFormModelType",void 0),ut(o,"canViewForm",void 0),ut(o,"formBind",void 0),ut(o,"openMultistageFilling",void 0),ut(o,"showSelectedDetail",void 0),ut(o,"selectedContentConfig",void 0),ut(o,"optionDisplayConfig",void 0),ut(o,"canSearch",void 0);var r;o.options=Gt((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(m){var $;($=o.multistageFilling)===null||$===void 0||$.push(new yt(m))}));var p;o.canViewForm=(p=n==null?void 0:n.canViewForm)!==null&&p!==void 0?p:!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 b;o.optionDisplayConfig=(b=n==null?void 0:n.optionDisplayConfig)!==null&&b!==void 0?b:[];var g;return o.canSearch=(g=n==null?void 0:n.canSearch)!==null&&g!==void 0?g:!1,o}return t}(k);ut(Vp,"Rules",ZG);function YG(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=nn(t),rX(e,mP()?Reflect.construct(t,n||[],nn(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 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 nX(e,t,n){return t&&bP(e.prototype,t),n&&bP(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=iX(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 oX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zp(e,t)}function rX(e,t){return t&&(uX(t)==="object"||typeof t=="function")?t:YG(e)}function zp(e,t){return zp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zp(e,t)}function iX(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=nn(e),e!==null););return e}function uX(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 ml=function(e){oX(t,e);function t(n){eX(this,t);var o;return o=tX(this,t,[n]),hl(o,"props",void 0),o.props=new Vp(n==null?void 0:n.props),o}return nX(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:"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 lX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cX(e,t,n){return t=gl(t),sX(e,wP()?Reflect.construct(t,n||[],gl(e).constructor):t.apply(e,n))}function aX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 fX(e,t,n){return t&&gP(e.prototype,t),n&&gP(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 gl(e){return gl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gl(e)}function _X(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hp(e,t)}function sX(e,t){return t&&(yX(t)==="object"||typeof t=="function")?t:lX(e)}function Hp(e,t){return Hp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hp(e,t)}function yX(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 pX=function(e){_X(t,e);function t(n){aX(this,t);var o;return o=cX(this,t,[n]),OP(o,"props",void 0),o.props=new Vp(n==null?void 0:n.props),o}return fX(t,null,[{key:"controlType",get:function(){return"select-relation"}}]),t}(x);OP(pX,"controlFieldType",O.VARCHAR);function dX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vX(e,t,n){return t=Ol(t),mX(e,$P()?Reflect.construct(t,n||[],Ol(e).constructor):t.apply(e,n))}function hX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ol(e){return Ol=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ol(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&&qp(e,t)}function mX(e,t){return t&&(gX(t)==="object"||typeof t=="function")?t:dX(e)}function qp(e,t){return qp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qp(e,t)}function gX(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 PP=function(e){bX(t,e);function t(n){return hX(this,t),vX(this,t,[n])}return t}(vo);function OX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wX(e,t,n){return t=wl(t),SX(e,TP()?Reflect.construct(t,n||[],wl(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 EP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function PX(e,t,n){return t&&EP(e.prototype,t),n&&EP(e,n),e}function SP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wl(e){return wl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wl(e)}function EX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Up(e,t)}function SX(e,t){return t&&(TX(t)==="object"||typeof t=="function")?t:OX(e)}function Up(e,t){return Up=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Up(e,t)}function TX(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 RX=function(e){EX(t,e);function t(n){$X(this,t);var o;return o=wX(this,t,[n]),SP(o,"props",void 0),o.props=new PP(n==null?void 0:n.props),o}return PX(t,null,[{key:"controlName",get:function(){return f("CMD.input",null,"\u5355\u884C\u6587\u672C")}},{key:"controlType",get:function(){return"search-input"}}]),t}(ho);SP(RX,"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 BX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DX(e,t,n){return t=$l(t),FX(e,DP()?Reflect.construct(t,n||[],$l(e).constructor):t.apply(e,n))}function AX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function IX(e,t,n){return t&&RP(e.prototype,t),n&&RP(e,n),e}function BP(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 kX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wp(e,t)}function FX(e,t){return t&&(xX(t)==="object"||typeof t=="function")?t:BX(e)}function Wp(e,t){return Wp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wp(e,t)}function xX(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 MX=function(e){kX(t,e);function t(n){AX(this,t);var o;return o=DX(this,t,[n]),BP(o,"props",void 0),o.props=new PP(n==null?void 0:n.props),o}return IX(t,null,[{key:"controlType",get:function(){return"search-input"}}]),t}(x);BP(MX,"controlFieldType",O.VARCHAR);function LX(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),CX(e,AP()?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 CX(e,t){return t&&(jX(t)==="object"||typeof t=="function")?t:LX(e)}function Qp(e,t){return Qp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qp(e,t)}function jX(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 NX=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,Ee.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}(Z),VX=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:Ee.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 p;o.containsSubNode=(p=n==null?void 0:n.containsSubNode)!==null&&p!==void 0?p:!1;var d;o.isShowFilterItem=(d=n==null?void 0:n.isShowFilterItem)!==null&&d!==void 0?d:!1;var b;o.isShowIncludeSub=(b=n==null?void 0:n.isShowIncludeSub)!==null&&b!==void 0?b:!1;var g;o.isDefaultCheckSub=(g=n==null?void 0:n.isDefaultCheckSub)!==null&&g!==void 0?g:!1;var m;o.defaultCollapse=(m=n==null?void 0:n.defaultCollapse)!==null&&m!==void 0?m:"all";var $;o.defaultCollapseLevel=($=n==null?void 0:n.defaultCollapseLevel)!==null&&$!==void 0?$:1;var h;o.datasourceBind=new tb((h=n==null?void 0:n.datasourceBind)!==null&&h!==void 0?h:{attributes:Ee.controlCustomAttributes});var w;o.filterItemDatasourceBind=new tb((w=n==null?void 0:n.filterItemDatasourceBind)!==null&&w!==void 0?w:{attributes:Ee.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 yt(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",NX),q(El,"RuntimeRules",VX);function zX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HX(e,t,n){return t=Tl(t),KX(e,kP()?Reflect.construct(t,n||[],Tl(e).constructor):t.apply(e,n))}function qX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 UX(e,t,n){return t&&IP(e.prototype,t),n&&IP(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 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&&Jp(e,t)}function KX(e,t){return t&&(GX(t)==="object"||typeof t=="function")?t:zX(e)}function Jp(e,t){return Jp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jp(e,t)}function GX(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 Ee=function(e){WX(t,e);function t(n){qX(this,t);var o;return o=HX(this,t,[n]),Sl(o,"props",void 0),o.props=new El(n==null?void 0:n.props),o}return UX(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.07c21751967128276"),required:!0},{key:"parentField",name:f("CMD.3e751751967125288"),required:!0}]}}]),t}(F);Sl(Ee,"controlEventKeys",["on_change","on_click"]),Sl(Ee,"controlFieldType",O.ARRAY),Sl(Ee,"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 XX(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=Rl(t),tQ(e,MP()?Reflect.construct(t,n||[],Rl(e).constructor):t.apply(e,n))}function JX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ZX(e,t,n){return t&&FP(e.prototype,t),n&&FP(e,n),e}function xP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rl(e){return Rl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rl(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&&Zp(e,t)}function tQ(e,t){return t&&(eQ(t)==="object"||typeof t=="function")?t:XX(e)}function Zp(e,t){return Zp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zp(e,t)}function eQ(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 nQ=function(e){YX(t,e);function t(n){JX(this,t);var o;return o=QX(this,t,[n]),xP(o,"props",void 0),o.props=new El(n==null?void 0:n.props),o}return ZX(t,null,[{key:"controlType",get:function(){return"tree"}}]),t}(x);xP(nQ,"controlFieldType",O.ARRAY);function oQ(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),rQ(e,LP()?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 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 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 rQ(e,t){return t&&(iQ(t)==="object"||typeof t=="function")?t:oQ(e)}function nd(e,t){return nd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},nd(e,t)}function iQ(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 uQ=function(e){ed(t,e);function t(n){td(this,t);var o;return o=Yp(this,t,[n]),Q(o,"datasourceBind",[{type:"object",message:f("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),Q(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}(Z),lQ=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]),Q(o,"showType",void 0),Q(o,"range",void 0),Q(o,"rangeOptions",void 0),Q(o,"multiple",void 0),Q(o,"defaultValueType",void 0),Q(o,"defaultValue",void 0),Q(o,"multistageFilling",void 0),Q(o,"datasourceBind",void 0),Q(o,"datasourceType",void 0),Q(o,"insideType",void 0),Q(o,"externalType",void 0),Q(o,"externalScope",void 0),Q(o,"openMultistageFilling",void 0),Q(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 p;o.placeholder=(p=n==null?void 0:n.placeholder)!==null&&p!==void 0?p: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 b;o.datasourceType=(b=n==null?void 0:n.datasourceType)!==null&&b!==void 0?b:qC.INTERNAL;var g;o.insideType=(g=n==null?void 0:n.insideType)!==null&&g!==void 0?g:UC.ADMIN;var m;o.externalType=(m=n==null?void 0:n.externalType)!==null&&m!==void 0?m:Ue.ALL;var $;o.externalScope=($=n==null?void 0:n.externalScope)!==null&&$!==void 0?$:[];var h;o.openMultistageFilling=(h=n==null?void 0:n.openMultistageFilling)!==null&&h!==void 0?h:!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 yt(T))})),o}return t}(k);Q(Dl,"Rules",uQ),Q(Dl,"RuntimeRules",lQ);function cQ(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=Il(t),yQ(e,jP()?Reflect.construct(t,n||[],Il(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 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 _Q(e,t,n){return t&&CP(e.prototype,t),n&&CP(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 sQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&od(e,t)}function yQ(e,t){return t&&(pQ(t)==="object"||typeof t=="function")?t:cQ(e)}function od(e,t){return od=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},od(e,t)}function pQ(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 on=function(e){sQ(t,e);function t(n){fQ(this,t);var o;return o=aQ(this,t,[n]),Al(o,"props",void 0),o.props=new Dl(n==null?void 0:n.props),o}return _Q(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.17131751967128275"),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 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=kl(t),gQ(e,zP()?Reflect.construct(t,n||[],kl(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 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 bQ(e,t,n){return t&&NP(e.prototype,t),n&&NP(e,n),e}function VP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kl(e){return kl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kl(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&&rd(e,t)}function gQ(e,t){return t&&(OQ(t)==="object"||typeof t=="function")?t:dQ(e)}function rd(e,t){return rd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rd(e,t)}function OQ(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){mQ(t,e);function t(n){hQ(this,t);var o;return o=vQ(this,t,[n]),VP(o,"props",void 0),o.props=new Dl(n==null?void 0:n.props),o}return bQ(t,null,[{key:"controlType",get:function(){return"employee2"}}]),t}(x);VP(wQ,"controlFieldType",O.EMPLOYEES);function $Q(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HP(e,t,n){return t=Fl(t),PQ(e,WP()?Reflect.construct(t,n||[],Fl(e).constructor):t.apply(e,n))}function qP(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 Fl(e){return Fl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fl(e)}function UP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 PQ(e,t){return t&&(EQ(t)==="object"||typeof t=="function")?t:$Q(e)}function id(e,t){return id=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},id(e,t)}function EQ(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 SQ=function(e){UP(t,e);function t(n){qP(this,t);var o;return o=HP(this,t,[n]),zt(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}(Z),ud=function(e){UP(t,e);function t(n){qP(this,t);var o;o=HP(this,t,[n]),zt(o,"buttonType",void 0),zt(o,"content",void 0),zt(o,"showType",void 0),zt(o,"color",void 0),zt(o,"icon",void 0),zt(o,"command",""),zt(o,"isLoading",!1),zt(o,"signatureConfig",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Ll.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 LC(n==null?void 0:n.signatureConfig),o}return t}(k);zt(ud,"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=Ml(t),IQ(e,GP()?Reflect.construct(t,n||[],Ml(e).constructor):t.apply(e,n))}function BQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 DQ(e,t,n){return t&&KP(e.prototype,t),n&&KP(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 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 IQ(e,t){return t&&(kQ(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 kQ(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 Ll=function(e){AQ(t,e);function t(n){BQ(this,t);var o;return o=RQ(this,t,[n]),xl(o,"props",void 0),o.props=new ud(n==null?void 0:n.props),o}return DQ(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(Ll,"controlEventKeys",["on_click","on_click_finish"]),xl(Ll,"controlFieldType",O.VARCHAR),xl(Ll,"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 FQ(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=Cl(t),jQ(e,JP()?Reflect.construct(t,n||[],Cl(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 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 LQ(e,t,n){return t&&XP(e.prototype,t),n&&XP(e,n),e}function QP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cl(e){return Cl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cl(e)}function CQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cd(e,t)}function jQ(e,t){return t&&(NQ(t)==="object"||typeof t=="function")?t:FQ(e)}function cd(e,t){return cd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cd(e,t)}function NQ(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 VQ=function(e){CQ(t,e);function t(n){MQ(this,t);var o;return o=xQ(this,t,[n]),QP(o,"props",void 0),o.props=new ud(n==null?void 0:n.props),o}return LQ(t,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),t}(x);QP(VQ,"controlFieldType",O.VARCHAR);function zQ(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),HQ(e,ZP()?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 HQ(e,t){return t&&(qQ(t)==="object"||typeof t=="function")?t:zQ(e)}function sd(e,t){return sd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sd(e,t)}function qQ(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 UQ=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}(Z),WQ=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 p;o.canExport=(p=n==null?void 0:n.canExport)!==null&&p!==void 0?p:!0;var d;o.canDelete=(d=n==null?void 0:n.canDelete)!==null&&d!==void 0?d:!1;var b;o.maxSize=(b=n==null?void 0:n.maxSize)!==null&&b!==void 0?b:Gq;var g;o.defaultValue=(g=n==null?void 0:n.defaultValue)!==null&&g!==void 0?g:[],o.wpsSetting=new CC(n==null?void 0:n.wpsSetting);var m;return o.revisionsMode=(m=n==null?void 0:n.revisionsMode)!==null&&m!==void 0?m:!1,o}return t}(k);lt(Nl,"Rules",UQ),lt(Nl,"RuntimeRules",WQ);function KQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GQ(e,t,n){return t=zl(t),ZQ(e,tE()?Reflect.construct(t,n||[],zl(e).constructor):t.apply(e,n))}function XQ(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 QQ(e,t,n){return t&&YP(e.prototype,t),n&&YP(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 JQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yd(e,t)}function ZQ(e,t){return t&&(YQ(t)==="object"||typeof t=="function")?t:KQ(e)}function yd(e,t){return yd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yd(e,t)}function YQ(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 Hl=function(e){JQ(t,e);function t(n){XQ(this,t);var o;return o=GQ(this,t,[n]),Vl(o,"props",void 0),o.props=new Nl(n==null?void 0:n.props),o}return QQ(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 tJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eJ(e,t,n){return t=ql(t),iJ(e,oE()?Reflect.construct(t,n||[],ql(e).constructor):t.apply(e,n))}function nJ(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 oJ(e,t,n){return t&&eE(e.prototype,t),n&&eE(e,n),e}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 ql(e){return ql=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ql(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&&pd(e,t)}function iJ(e,t){return t&&(uJ(t)==="object"||typeof t=="function")?t:tJ(e)}function pd(e,t){return pd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},pd(e,t)}function uJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(oE=function(){return!!e})()}var lJ=function(e){rJ(t,e);function t(n){nJ(this,t);var o;return o=eJ(this,t,[n]),nE(o,"props",void 0),o.props=new Nl(n==null?void 0:n.props),o}return oJ(t,null,[{key:"controlType",get:function(){return"wps"}}]),t}(x);nE(lJ,"controlFieldType",O.FILE);function cJ(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),aJ(e,rE()?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 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 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 aJ(e,t){return t&&(fJ(t)==="object"||typeof t=="function")?t:cJ(e)}function bd(e,t){return bd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},bd(e,t)}function fJ(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 _J=function(e){hd(t,e);function t(n){vd(this,t);var o;return o=dd(this,t,[n]),J(o,"datasourceBind",[{type:"object",message:f("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),J(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}(Z),sJ=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]),J(o,"showType",void 0),J(o,"range",void 0),J(o,"defaultValueType",void 0),J(o,"multiple",void 0),J(o,"rangeOptions",void 0),J(o,"defaultValue",void 0),J(o,"displayLevel",void 0),J(o,"showSubDept",void 0),J(o,"multistageFilling",void 0),J(o,"datasourceBind",void 0),J(o,"datasourceType",void 0),J(o,"businessType",void 0),J(o,"businessScope",void 0),J(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1;var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var 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 p;o.showSubDept=(p=n==null?void 0:n.showSubDept)!==null&&p!==void 0?p:!0;var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:un.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b: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 m;o.datasourceType=(m=n==null?void 0:n.datasourceType)!==null&&m!==void 0?m:lm.INTERNAL;var $;o.businessScope=($=n==null?void 0:n.businessScope)!==null&&$!==void 0?$:[];var h;o.businessType=(h=n==null?void 0:n.businessType)!==null&&h!==void 0?h: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 yt(T))})),o}return t}(k);J(Wl,"Rules",_J),J(Wl,"RuntimeRules",sJ);function yJ(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=rn(t),bJ(e,uE()?Reflect.construct(t,n||[],rn(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 iE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function vJ(e,t,n){return t&&iE(e.prototype,t),n&&iE(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=mJ(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 hJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&md(e,t)}function bJ(e,t){return t&&(gJ(t)==="object"||typeof t=="function")?t:yJ(e)}function md(e,t){return md=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},md(e,t)}function mJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=rn(e),e!==null););return e}function gJ(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 un=function(e){hJ(t,e);function t(n){dJ(this,t);var o;return o=pJ(this,t,[n]),Kl(o,"props",void 0),o.props=new Wl(n==null?void 0:n.props),o}return vJ(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.cf901751967128274"),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 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=Xl(t),SJ(e,aE()?Reflect.construct(t,n||[],Xl(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 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 PJ(e,t,n){return t&&lE(e.prototype,t),n&&lE(e,n),e}function cE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xl(e){return Xl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xl(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&&gd(e,t)}function SJ(e,t){return t&&(TJ(t)==="object"||typeof t=="function")?t:OJ(e)}function gd(e,t){return gd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gd(e,t)}function TJ(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 RJ=function(e){EJ(t,e);function t(n){$J(this,t);var o;return o=wJ(this,t,[n]),cE(o,"props",void 0),o.props=new Wl(n==null?void 0:n.props),o}return PJ(t,null,[{key:"controlType",get:function(){return"department2"}}]),t}(x);cE(RJ,"controlFieldType",O.DEPARTMENTS);function BJ(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),DJ(e,fE()?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 DJ(e,t){return t&&(AJ(t)==="object"||typeof t=="function")?t:BJ(e)}function Pd(e,t){return Pd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Pd(e,t)}function AJ(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 IJ=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}(Z),kJ=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 p;o.showSubDept=(p=n==null?void 0:n.showSubDept)!==null&&p!==void 0?p:!0;var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:Oo.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:f("CMD.pleaseSelectOrg",null,"\u8BF7\u9009\u62E9\u7EC4\u7EC7");var g;o.datasourceBind=new xx((g=n==null?void 0:n.datasourceBind)!==null&&g!==void 0?g:{attributes:Oo.controlCustomAttributes});var m;o.datasourceType=(m=n==null?void 0:n.datasourceType)!==null&&m!==void 0?m:lm.INTERNAL;var $;o.businessScope=($=n==null?void 0:n.businessScope)!==null&&$!==void 0?$:[];var h;o.businessType=(h=n==null?void 0:n.businessType)!==null&&h!==void 0?h: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 yt(z))})),o}return t}(k);V(Jl,"Rules",IJ),V(Jl,"RuntimeRules",kJ);function FJ(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=ln(t),jJ(e,sE()?Reflect.construct(t,n||[],ln(e).constructor):t.apply(e,n))}function MJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _E(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function LJ(e,t,n){return t&&_E(e.prototype,t),n&&_E(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=NJ(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 CJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sd(e,t)}function jJ(e,t){return t&&(VJ(t)==="object"||typeof t=="function")?t:FJ(e)}function Sd(e,t){return Sd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sd(e,t)}function NJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ln(e),e!==null););return e}function VJ(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 Oo=function(e){CJ(t,e);function t(n){MJ(this,t);var o;return o=xJ(this,t,[n]),Ed(o,"props",void 0),o.props=new Jl(n==null?void 0:n.props),o}return LJ(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.90fc1751967128275"),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 zJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HJ(e,t,n){return t=Yl(t),KJ(e,dE()?Reflect.construct(t,n||[],Yl(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 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 UJ(e,t,n){return t&&yE(e.prototype,t),n&&yE(e,n),e}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 Yl(e){return Yl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yl(e)}function WJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Td(e,t)}function KJ(e,t){return t&&(GJ(t)==="object"||typeof t=="function")?t:zJ(e)}function Td(e,t){return Td=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Td(e,t)}function GJ(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 XJ=function(e){WJ(t,e);function t(n){qJ(this,t);var o;return o=HJ(this,t,[n]),pE(o,"props",void 0),o.props=new Jl(n==null?void 0:n.props),o}return UJ(t,null,[{key:"controlType",get:function(){return"organization-selection"}}]),t}(x);pE(XJ,"controlFieldType",O.DEPARTMENTS);function QJ(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),JJ(e,vE()?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 JJ(e,t){return t&&(ZJ(t)==="object"||typeof t=="function")?t:QJ(e)}function Ad(e,t){return Ad=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ad(e,t)}function ZJ(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 YJ=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}(Z),tZ=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",YJ),cn(ec,"RuntimeRules",tZ);function eZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nZ(e,t,n){return t=oc(t),uZ(e,bE()?Reflect.construct(t,n||[],oc(e).constructor):t.apply(e,n))}function oZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function rZ(e,t,n){return t&&hE(e.prototype,t),n&&hE(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 iZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Id(e,t)}function uZ(e,t){return t&&(lZ(t)==="object"||typeof t=="function")?t:eZ(e)}function Id(e,t){return Id=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Id(e,t)}function lZ(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 rc=function(e){iZ(t,e);function t(n){oZ(this,t);var o;return o=nZ(this,t,[n]),nc(o,"props",void 0),o.props=new ec(n==null?void 0:n.props),o}return rZ(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 y.VUE_PAGE}}]),t}(F);nc(rc,"controlFieldType",O.ANY),nc(rc,"controlEventKeys",[]),nc(rc,"setting",[]);function cZ(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=ic(t),yZ(e,OE()?Reflect.construct(t,n||[],ic(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 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 _Z(e,t,n){return t&&mE(e.prototype,t),n&&mE(e,n),e}function gE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ic(e){return ic=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ic(e)}function sZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kd(e,t)}function yZ(e,t){return t&&(pZ(t)==="object"||typeof t=="function")?t:cZ(e)}function kd(e,t){return kd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kd(e,t)}function pZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(OE=function(){return!!e})()}var dZ=function(e){sZ(t,e);function t(n){fZ(this,t);var o;return o=aZ(this,t,[n]),gE(o,"props",void 0),o.props=new ec(n==null?void 0:n.props),o}return _Z(t,null,[{key:"controlType",get:function(){return y.VUE_PAGE}}]),t}(x);gE(dZ,"controlFieldType",O.ANY);function vZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hZ(e,t,n){return t=uc(t),wZ(e,$E()?Reflect.construct(t,n||[],uc(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 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 mZ(e,t,n){return t&&wE(e.prototype,t),n&&wE(e,n),e}function gZ(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 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&&Fd(e,t)}function wZ(e,t){return t&&($Z(t)==="object"||typeof t=="function")?t:vZ(e)}function Fd(e,t){return Fd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fd(e,t)}function $Z(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $E(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return($E=function(){return!!e})()}var PZ=function(e){OZ(t,e);function t(n){return bZ(this,t),hZ(this,t,[n])}return mZ(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}(tt);gZ(PZ,"excludes",[y.GRID]);function EZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SZ(e,t,n){return t=lc(t),BZ(e,EE()?Reflect.construct(t,n||[],lc(e).constructor):t.apply(e,n))}function TZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 lc(e){return lc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},lc(e)}function RZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xd(e,t)}function BZ(e,t){return t&&(DZ(t)==="object"||typeof t=="function")?t:EZ(e)}function xd(e,t){return xd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xd(e,t)}function DZ(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 AZ=24,wo=function(e){RZ(t,e);function t(n){TZ(this,t);var o;o=SZ(this,t,[n]),PE(o,"span",void 0),PE(o,"offset",void 0);var r;o.span=(r=n==null?void 0:n.span)!==null&&r!==void 0?r:AZ;var i;return o.offset=(i=n==null?void 0:n.offset)!==null&&i!==void 0?i:0,o}return t}(Y);function IZ(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=cc(t),LZ(e,TE()?Reflect.construct(t,n||[],cc(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 SE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function xZ(e,t,n){return t&&SE(e.prototype,t),n&&SE(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 MZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ld(e,t)}function LZ(e,t){return t&&(CZ(t)==="object"||typeof t=="function")?t:IZ(e)}function Ld(e,t){return Ld=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ld(e,t)}function CZ(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 $o=function(e){MZ(t,e);function t(n){FZ(this,t);var o;return o=kZ(this,t,[n]),Md(o,"props",void 0),o.props=new wo(n==null?void 0:n.props),o}return xZ(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}(tt);Md($o,"excludes",[y.COL,y.SUBTABLE,y.SUBTABLE_COLUMN,y.GRID_LAYOUT_CONTAINER,y.DIVIDER]),Md($o,"childrenMaxLength",1);function jZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NZ(e,t,n){return t=ac(t),UZ(e,BE()?Reflect.construct(t,n||[],ac(e).constructor):t.apply(e,n))}function VZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 zZ(e,t,n){return t&&RE(e.prototype,t),n&&RE(e,n),e}function HZ(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 qZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 UZ(e,t){return t&&(WZ(t)==="object"||typeof t=="function")?t:jZ(e)}function Cd(e,t){return Cd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cd(e,t)}function WZ(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 KZ=function(e){qZ(t,e);function t(n){VZ(this,t);var o;return o=NZ(this,t,[n]),HZ(o,"props",void 0),o.props=new wo(n==null?void 0:n.props),o}return zZ(t,null,[{key:"controlType",get:function(){return"col"}}]),t}(we),DE={Designer:$o,Runtime:KZ,Property:wo};function GZ(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=fc(t),ZZ(e,IE()?Reflect.construct(t,n||[],fc(e).constructor):t.apply(e,n))}function QZ(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 fc(e){return fc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fc(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&&jd(e,t)}function ZZ(e,t){return t&&(YZ(t)==="object"||typeof t=="function")?t:GZ(e)}function jd(e,t){return jd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jd(e,t)}function YZ(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 Nd=function(e){JZ(t,e);function t(n){QZ(this,t);var o;o=XZ(this,t,[n]),AE(o,"layoutMode",void 0),AE(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}(Y);function tY(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=_c(t),iY(e,FE()?Reflect.construct(t,n||[],_c(e).constructor):t.apply(e,n))}function nY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function oY(e,t,n){return t&&kE(e.prototype,t),n&&kE(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 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&&zd(e,t)}function iY(e,t){return t&&(uY(t)==="object"||typeof t=="function")?t:tY(e)}function zd(e,t){return zd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zd(e,t)}function uY(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 Hd=function(e){rY(t,e);function t(n){nY(this,t);var o;return o=eY(this,t,[n]),Vd(o,"props",void 0),o.props=new Nd(n==null?void 0:n.props),o}return oY(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}(tt);Vd(Hd,"excludes",[y.ROW]),Vd(Hd,"setting",[{key:"col-setting",visible:!0}]);function lY(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=sc(t),yY(e,ME()?Reflect.construct(t,n||[],sc(e).constructor):t.apply(e,n))}function aY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 fY(e,t,n){return t&&xE(e.prototype,t),n&&xE(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 sc(e){return sc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sc(e)}function sY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qd(e,t)}function yY(e,t){return t&&(pY(t)==="object"||typeof t=="function")?t:lY(e)}function qd(e,t){return qd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qd(e,t)}function pY(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 dY=function(e){sY(t,e);function t(n){aY(this,t);var o;return o=cY(this,t,[n]),_Y(o,"props",void 0),o.props=new Nd(n==null?void 0:n.props),o}return fY(t,null,[{key:"controlType",get:function(){return"row"}}]),t}(we);function vY(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=yc(t),OY(e,CE()?Reflect.construct(t,n||[],yc(e).constructor):t.apply(e,n))}function bY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 mY(e,t,n){return t&&LE(e.prototype,t),n&&LE(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 gY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wd(e,t)}function OY(e,t){return t&&(wY(t)==="object"||typeof t=="function")?t:vY(e)}function Wd(e,t){return Wd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wd(e,t)}function wY(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 $Y=4,pc=function(e){gY(t,e);function t(n){return bY(this,t),hY(this,t,[n])}return mY(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",[y.GRID_ROW]),Ud(pc,"setting",[]),Ud(pc,"childrenMaxLength",$Y);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=dc(t),BY(e,NE()?Reflect.construct(t,n||[],dc(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 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 TY(e,t,n){return t&&jE(e.prototype,t),n&&jE(e,n),e}function dc(e){return dc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dc(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&&Kd(e,t)}function BY(e,t){return t&&(DY(t)==="object"||typeof t=="function")?t:PY(e)}function Kd(e,t){return Kd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kd(e,t)}function DY(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 AY=function(e){RY(t,e);function t(n){return SY(this,t),EY(this,t,[n])}return TY(t,null,[{key:"controlType",get:function(){return"grid-row"}}]),t}(dY);function IY(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=vc(t),MY(e,VE()?Reflect.construct(t,n||[],vc(e).constructor):t.apply(e,n))}function FY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vc(e){return vc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vc(e)}function xY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gd(e,t)}function MY(e,t){return t&&(LY(t)==="object"||typeof t=="function")?t:IY(e)}function Gd(e,t){return Gd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gd(e,t)}function LY(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 CY=function(e){xY(t,e);function t(n){return FY(this,t),kY(this,t,[n])}return t}(Nd),jY={Designer:pc,Runtime:AY,Property:CY};function NY(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=hc(t),VY(e,UE()?Reflect.construct(t,n||[],hc(e).constructor):t.apply(e,n))}function HE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 qE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xd(e,t)}function VY(e,t){return t&&(zY(t)==="object"||typeof t=="function")?t:NY(e)}function Xd(e,t){return Xd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xd(e,t)}function zY(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 HY=function(e){qE(t,e);function t(){HE(this,t);var n;return n=zE(this,t,arguments),Po(n,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),n}return t}(Y.Rules),WE=function(e){qE(t,e);function t(n){HE(this,t);var o;o=zE(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}(Y);Po(WE,"Rules",HY);function qY(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=bc(t),XY(e,GE()?Reflect.construct(t,n||[],bc(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 KE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function KY(e,t,n){return t&&KE(e.prototype,t),n&&KE(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 GY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jd(e,t)}function XY(e,t){return t&&(QY(t)==="object"||typeof t=="function")?t:qY(e)}function Jd(e,t){return Jd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jd(e,t)}function QY(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 XE=function(e){GY(t,e);function t(n){WY(this,t);var o;return o=UY(this,t,[n]),Qd(o,"props",void 0),o.props=new WE(n==null?void 0:n.props),o}return KY(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}(tt);Qd(XE,"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(XE,"excludes",[y.CARD_GROUP]);function JY(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=mc(t),ZY(e,YE()?Reflect.construct(t,n||[],mc(e).constructor):t.apply(e,n))}function JE(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 mc(e){return mc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mc(e)}function ZE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zd(e,t)}function ZY(e,t){return t&&(YY(t)==="object"||typeof t=="function")?t:JY(e)}function Zd(e,t){return Zd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zd(e,t)}function YY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(YE=function(){return!!e})()}var ttt=function(e){ZE(t,e);function t(n){JE(this,t);var o;return o=QE(this,t,[n]),Ht(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),Ht(o,"width",{type:"number",required:!1,message:f("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")}),Ht(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){ZE(t,e);function t(n){JE(this,t);var o;o=QE(this,t,[n]),Ht(o,"metaAutoWidth",void 0),Ht(o,"caption",void 0),Ht(o,"fixed",void 0),Ht(o,"isShowCaptionTip",void 0),Ht(o,"captionTip",void 0),Ht(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}(Y);Ht(gc,"Rules",ttt);function ett(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ntt(e,t,n){return t=Oc(t),itt(e,tS()?Reflect.construct(t,n||[],Oc(e).constructor):t.apply(e,n))}function ott(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 Oc(e){return Oc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oc(e)}function rtt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 itt(e,t){return t&&(utt(t)==="object"||typeof t=="function")?t:ett(e)}function Yd(e,t){return Yd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yd(e,t)}function utt(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 Lt=function(e){rtt(t,e);function t(n){ott(this,t);var o;return o=ntt(this,t,[n]),Se(o,"props",void 0),o.props=new gc(n==null?void 0:n.props),o}return t}(tt);Se(Lt,"controlName",f("CMD.subtableColumn",null,"\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C")),Se(Lt,"controlType","subtable-column"),Se(Lt,"controlIcon","subtable-column"),Se(Lt,"childrenMaxLength",1),Se(Lt,"excludes",[y.SUBTABLE,y.SUBTABLE_COLUMN,y.ROW,y.COL,y.CARD_GROUP,y.DIVIDER,y.TEXT,y.GRID_LAYOUT_CONTAINER]),Se(Lt,"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 ltt(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=wc(t),_tt(e,nS()?Reflect.construct(t,n||[],wc(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 eS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wc(e){return wc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wc(e)}function ftt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tv(e,t)}function _tt(e,t){return t&&(stt(t)==="object"||typeof t=="function")?t:ltt(e)}function tv(e,t){return tv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},tv(e,t)}function stt(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 oS=function(e){ftt(t,e);function t(n){att(this,t);var o;return o=ctt(this,t,[n]),eS(o,"props",void 0),o.props=new gc(n==null?void 0:n.props),o}return t}(we);eS(oS,"controlType","subtable-column");var ytt={Designer:Lt,Runtime:oS,Property:gc};function ptt(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=$c(t),btt(e,rS()?Reflect.construct(t,n||[],$c(e).constructor):t.apply(e,n))}function vtt(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 htt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 btt(e,t){return t&&(mtt(t)==="object"||typeof t=="function")?t:ptt(e)}function ev(e,t){return ev=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ev(e,t)}function mtt(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 gtt=function(e){htt(t,e);function t(n){return vtt(this,t),dtt(this,t,[n])}return t}(Y);function Ott(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wtt(e,t,n){return t=Pc(t),Ett(e,iS()?Reflect.construct(t,n||[],Pc(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 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 Pc(e){return Pc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pc(e)}function Ptt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ett(e,t){return t&&(Stt(t)==="object"||typeof t=="function")?t:Ott(e)}function nv(e,t){return nv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},nv(e,t)}function Stt(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 an=function(e){Ptt(t,e);function t(n){$tt(this,t);var o;return o=wtt(this,t,[n]),Te(o,"props",void 0),o.props=new gtt(n==null?void 0:n.props),o}return t}(tt);Te(an,"controlName",f("CMD.subtableRow",null,"\u660E\u7EC6\u5B50\u8868\u884C")),Te(an,"controlType","subtable-row"),Te(an,"controlIcon","subtable-row"),Te(an,"childrenMaxLength",1),Te(an,"excludes",[y.SUBTABLE,y.SUBTABLE_COLUMN,y.SUBTABLE_ROW,y.ROW,y.COL,y.CARD_GROUP,y.DIVIDER,y.TEXT]),Te(an,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0}]);function Ttt(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=Ec(t),Att(e,uS()?Reflect.construct(t,n||[],Ec(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 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 Ec(e){return Ec=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ec(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&&ov(e,t)}function Att(e,t){return t&&(Itt(t)==="object"||typeof t=="function")?t:Ttt(e)}function ov(e,t){return ov=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ov(e,t)}function Itt(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 lS=function(e){Dtt(t,e);function t(n){Btt(this,t);var o;o=Rtt(this,t,[n]),Rt(o,"widthType",void 0),Rt(o,"width",void 0),Rt(o,"caption",void 0),Rt(o,"fieldCode",void 0),Rt(o,"fieldType",void 0),Rt(o,"fieldName",void 0),Rt(o,"datasourceBind",void 0),Rt(o,"fixed",void 0),Rt(o,"textCleanFormart",void 0),Rt(o,"decimalKeepPrecision",void 0),Rt(o,"timestampDateType",void 0),Rt(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 p;o.decimalKeepPrecision=(p=n==null?void 0:n.decimalKeepPrecision)!==null&&p!==void 0?p:0;var d;o.timestampDateType=(d=n==null?void 0:n.timestampDateType)!==null&&d!==void 0?d:xe.DATE;var b;return o.departmentDisplayLevel=(b=n==null?void 0:n.departmentDisplayLevel)!==null&&b!==void 0?b:1,o}return t}(Y);function ktt(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=Sc(t),Ltt(e,cS()?Reflect.construct(t,n||[],Sc(e).constructor):t.apply(e,n))}function xtt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Sc(e){return Sc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sc(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&&rv(e,t)}function Ltt(e,t){return t&&(Ctt(t)==="object"||typeof t=="function")?t:ktt(e)}function rv(e,t){return rv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rv(e,t)}function Ctt(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 fn=function(e){Mtt(t,e);function t(n){xtt(this,t);var o;return o=Ftt(this,t,[n]),Re(o,"props",void 0),o.props=new lS(n==null?void 0:n.props),o}return t}(tt);Re(fn,"controlName",f("CMD.b6d81751967121984")),Re(fn,"controlType","gridtable-column"),Re(fn,"controlIcon","gridtable-column"),Re(fn,"childrenMaxLength",1),Re(fn,"excludes",[y.GRID_TABLE,y.GRID_TABLE_COLUMN,y.ROW,y.COL,y.CARD_GROUP,y.DIVIDER,y.TEXT]),Re(fn,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}]);function jtt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ntt(e,t,n){return t=Tc(t),Htt(e,fS()?Reflect.construct(t,n||[],Tc(e).constructor):t.apply(e,n))}function Vtt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Tc(e){return Tc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tc(e)}function ztt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Htt(e,t){return t&&(qtt(t)==="object"||typeof t=="function")?t:jtt(e)}function iv(e,t){return iv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},iv(e,t)}function qtt(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 Utt=function(e){ztt(t,e);function t(n){Vtt(this,t);var o;return o=Ntt(this,t,[n]),aS(o,"props",void 0),o.props=new lS(n==null?void 0:n.props),o}return t}(we);aS(Utt,"controlType","gridtable-column");function Wtt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ktt(e,t,n){return t=Rc(t),Qtt(e,sS()?Reflect.construct(t,n||[],Rc(e).constructor):t.apply(e,n))}function Gtt(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 Rc(e){return Rc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rc(e)}function Xtt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Qtt(e,t){return t&&(Jtt(t)==="object"||typeof t=="function")?t:Wtt(e)}function uv(e,t){return uv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},uv(e,t)}function Jtt(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 Ztt=function(e){Xtt(t,e);function t(n){Gtt(this,t);var o;o=Ktt(this,t,[n]),_S(o,"childMinWidth",void 0),_S(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}(Y);function Ytt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tet(e,t,n){return t=Bc(t),ret(e,pS()?Reflect.construct(t,n||[],Bc(e).constructor):t.apply(e,n))}function eet(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function net(e,t,n){return t&&yS(e.prototype,t),n&&yS(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 oet(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cv(e,t)}function ret(e,t){return t&&(iet(t)==="object"||typeof t=="function")?t:Ytt(e)}function cv(e,t){return cv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cv(e,t)}function iet(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(pS=function(){return!!e})()}var dS=function(e){oet(t,e);function t(n){eet(this,t);var o;return o=tet(this,t,[n]),lv(o,"props",void 0),o.props=new Ztt(n==null?void 0:n.props),o}return net(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}(tt);lv(dS,"excludes",[y.GRID_LAYOUT_CONTAINER,y.CARD_GROUP,y.TAB]),lv(dS,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}]);function uet(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cet(e,t,n){return t=Dc(t),set(e,vS()?Reflect.construct(t,n||[],Dc(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 fet(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 _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&&av(e,t)}function set(e,t){return t&&(yet(t)==="object"||typeof t=="function")?t:uet(e)}function av(e,t){return av=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},av(e,t)}function yet(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 pet=function(e){_et(t,e);function t(n){aet(this,t);var o;o=cet(this,t,[n]),fet(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}(Y);function det(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=Ac(t),vet(e,gS()?Reflect.construct(t,n||[],Ac(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 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 mS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 vet(e,t){return t&&(het(t)==="object"||typeof t=="function")?t:det(e)}function _v(e,t){return _v=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_v(e,t)}function het(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 bet=function(e){mS(t,e);function t(n){bS(this,t);var o;return o=hS(this,t,[n]),fv(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),o}return t}(U),OS=function(e){mS(t,e);function t(n){bS(this,t);var o;o=hS(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}(Y);fv(OS,"Rules",bet);function met(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function get(e,t,n){return t=Ic(t),Pet(e,$S()?Reflect.construct(t,n||[],Ic(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 wS(e,t){for(var n=0;n<t.length;n++){var 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&&wS(e.prototype,t),n&&wS(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 $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&&yv(e,t)}function Pet(e,t){return t&&(Eet(t)==="object"||typeof t=="function")?t:met(e)}function yv(e,t){return yv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yv(e,t)}function Eet(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $S(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return($S=function(){return!!e})()}var kc=function(e){$et(t,e);function t(n){Oet(this,t);var o;return o=get(this,t,[n]),sv(o,"props",void 0),o.props=new OS(n==null?void 0:n.props),o}return wet(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}(tt);sv(kc,"excludes",[y.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 Tet(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ret(e,t,n){return t=xc(t),Iet(e,ES()?Reflect.construct(t,n||[],xc(e).constructor):t.apply(e,n))}function Bet(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Det(e,t,n){return t&&PS(e.prototype,t),n&&PS(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 Aet(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Iet(e,t){return t&&(ket(t)==="object"||typeof t=="function")?t:Tet(e)}function pv(e,t){return pv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},pv(e,t)}function ket(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 Mc=function(e){Aet(t,e);function t(n){Bet(this,t);var o;o=Ret(this,t,[n]),Fc(o,"props",void 0),o.props=new pet(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 Det(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}(tt);Fc(Mc,"excludes",[y.TAB]),Fc(Mc,"controlEventKeys",["on_change_tab"]),Fc(Mc,"setting",[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}]);function Fet(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xet(e,t,n){return t=Lc(t),Cet(e,SS()?Reflect.construct(t,n||[],Lc(e).constructor):t.apply(e,n))}function Met(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lc(e){return Lc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lc(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&&dv(e,t)}function Cet(e,t){return t&&(jet(t)==="object"||typeof t=="function")?t:Fet(e)}function dv(e,t){return dv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dv(e,t)}function jet(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 Net=function(e){Let(t,e);function t(n){return Met(this,t),xet(this,t,[n])}return t}(Y);function Vet(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zet(e,t,n){return t=Cc(t),Wet(e,BS()?Reflect.construct(t,n||[],Cc(e).constructor):t.apply(e,n))}function Het(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function qet(e,t,n){return t&&TS(e.prototype,t),n&&TS(e,n),e}function RS(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 Uet(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vv(e,t)}function Wet(e,t){return t&&(Ket(t)==="object"||typeof t=="function")?t:Vet(e)}function vv(e,t){return vv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vv(e,t)}function Ket(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 Get=function(e){Uet(t,e);function t(n){Het(this,t);var o;return o=zet(this,t,[n]),RS(o,"props",void 0),o.props=new Net({}),o.children=(n==null?void 0:n.children)||[new $o({props:new wo({span:12})}),new $o({props:new wo({span:12})})],o}return qet(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}(tt);RS(Get,"excludes",[y.GRID_ROW,y.ROW,y.GRID,y.SUBTABLE,y.TAB,y.TOOLBOX]);function Xet(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),Qet(e,DS()?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 Qet(e,t){return t&&(Jet(t)==="object"||typeof t=="function")?t:Xet(e)}function gv(e,t){return gv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gv(e,t)}function Jet(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 Zet=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),Yet=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 Ax(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 kx(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 p;o.selectionType=(p=n==null?void 0:n.selectionType)!==null&&p!==void 0?p:"multiple";var d;o.isFixedHeader=(d=n==null?void 0:n.isFixedHeader)!==null&&d!==void 0?d:!1;var b;o.isShowSelection=(b=n==null?void 0:n.isShowSelection)!==null&&b!==void 0?b:!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 m;return o.countLimit=(m=n==null?void 0:n.countLimit)!==null&&m!==void 0?m:1e5,o.rowStyle=new Jx(n==null?void 0:n.rowStyle),o}return t}(Y);H(Eo,"Rules",Yet),H(Eo,"RuntimeRules",Zet);function tnt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ent(e,t,n){return t=Nc(t),int(e,IS()?Reflect.construct(t,n||[],Nc(e).constructor):t.apply(e,n))}function nnt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function ont(e,t,n){return t&&AS(e.prototype,t),n&&AS(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 rnt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 int(e,t){return t&&(unt(t)==="object"||typeof t=="function")?t:tnt(e)}function Ov(e,t){return Ov=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ov(e,t)}function unt(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 To=function(e){rnt(t,e);function t(n){nnt(this,t);var o;return o=ent(this,t,[n]),So(o,"props",void 0),o.props=new Eo(n==null?void 0:n.props),o}return ont(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}(tt);So(To,"slotPosition",{left:"list-view-left-slot"}),So(To,"excludes",[y.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 lnt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cnt(e,t,n){return t=Vc(t),ynt(e,FS()?Reflect.construct(t,n||[],Vc(e).constructor):t.apply(e,n))}function ant(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 fnt(e,t,n){return t&&kS(e.prototype,t),n&&kS(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 Vc(e){return Vc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vc(e)}function snt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ynt(e,t){return t&&(pnt(t)==="object"||typeof t=="function")?t:lnt(e)}function wv(e,t){return wv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wv(e,t)}function pnt(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 dnt=function(e){snt(t,e);function t(n){ant(this,t);var o;return o=cnt(this,t,[n]),_nt(o,"props",void 0),o.props=new Eo(n==null?void 0:n.props),o}return fnt(t,null,[{key:"controlType",get:function(){return"list-view"}}]),t}(we),vnt={Designer:To,Runtime:dnt,Property:Eo};function hnt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xS(e,t,n){return t=zc(t),bnt(e,CS()?Reflect.construct(t,n||[],zc(e).constructor):t.apply(e,n))}function MS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 LS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$v(e,t)}function bnt(e,t){return t&&(mnt(t)==="object"||typeof t=="function")?t:hnt(e)}function $v(e,t){return $v=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$v(e,t)}function mnt(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 gnt=function(e){LS(t,e);function t(n){MS(this,t);var o;return o=xS(this,t,[n]),o.push({type:"object",fields:{}}),o}return t}(Oe),Hc=function(e){LS(t,e);function t(n){MS(this,t);var o;o=xS(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 le((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 le((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 le((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 le((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 le(_)});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}(Y);he(Hc,"RuntimeRules",gnt);function Ont(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wnt(e,t,n){return t=qc(t),Snt(e,VS()?Reflect.construct(t,n||[],qc(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 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 Pnt(e,t,n){return t&&jS(e.prototype,t),n&&jS(e,n),e}function NS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qc(e){return qc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qc(e)}function Ent(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Snt(e,t){return t&&(Tnt(t)==="object"||typeof t=="function")?t:Ont(e)}function Pv(e,t){return Pv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Pv(e,t)}function Tnt(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 zS=function(e){Ent(t,e);function t(n){$nt(this,t);var o;return o=wnt(this,t,[n]),NS(o,"props",void 0),o.props=new Hc(n==null?void 0:n.props),o}return Pnt(t,null,[{key:"controlName",get:function(){return f("CMD.dataView",null,"\u6570\u636E\u5BB9\u5668")}},{key:"controlType",get:function(){return"data-view"}}]),t}(tt);NS(zS,"excludes",[]);function Rnt(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=Uc(t),Fnt(e,qS()?Reflect.construct(t,n||[],Uc(e).constructor):t.apply(e,n))}function Dnt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Ant(e,t,n){return t&&HS(e.prototype,t),n&&HS(e,n),e}function Int(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 knt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Fnt(e,t){return t&&(xnt(t)==="object"||typeof t=="function")?t:Rnt(e)}function Ev(e,t){return Ev=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ev(e,t)}function xnt(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 Mnt=function(e){knt(t,e);function t(n){Dnt(this,t);var o;return o=Bnt(this,t,[n]),Int(o,"props",void 0),o.props=new Hc(n==null?void 0:n.props),o}return Ant(t,null,[{key:"controlType",get:function(){return"data-view"}}]),t}(we),Lnt={Designer:zS,Runtime:Mnt,Property:Hc};function Cnt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jnt(e,t,n){return t=Wc(t),znt(e,US()?Reflect.construct(t,n||[],Wc(e).constructor):t.apply(e,n))}function Nnt(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 Vnt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 znt(e,t){return t&&(Hnt(t)==="object"||typeof t=="function")?t:Cnt(e)}function Tv(e,t){return Tv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Tv(e,t)}function Hnt(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 qnt=function(e){Vnt(t,e);function t(n){Nnt(this,t);var o;o=jnt(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}(Y);function Unt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wnt(e,t,n){return t=Gc(t),Qnt(e,KS()?Reflect.construct(t,n||[],Gc(e).constructor):t.apply(e,n))}function Knt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Gnt(e,t,n){return t&&WS(e.prototype,t),n&&WS(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 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&&Rv(e,t)}function Qnt(e,t){return t&&(Jnt(t)==="object"||typeof t=="function")?t:Unt(e)}function Rv(e,t){return Rv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rv(e,t)}function Jnt(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 Bv=function(e){Xnt(t,e);function t(n){Knt(this,t);var o;o=Wnt(this,t,[n]),Kc(o,"props",void 0);var r;return o.props=new qnt((r=n==null?void 0:n.props)!==null&&r!==void 0?r:{}),o}return Gnt(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}(tt);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 Znt(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),Ynt(e,GS()?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 Ynt(e,t){return t&&(tot(t)==="object"||typeof t=="function")?t:Znt(e)}function kv(e,t){return kv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kv(e,t)}function tot(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 eot=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),not=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 p;r.useCustomHeight=(p=o==null?void 0:o.useCustomHeight)!==null&&p!==void 0?p:!1;var d;r.maxHeight=(d=o==null?void 0:o.maxHeight)!==null&&d!==void 0?d:zC;var b;r.printMode=(b=o==null?void 0:o.printMode)!==null&&b!==void 0?b:"row";var g;r.limitRows=(g=o==null?void 0:o.limitRows)!==null&&g!==void 0?g:1;var m;r.maxRows=(m=o==null?void 0:o.maxRows)!==null&&m!==void 0?m: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 h;r.canAdd=(h=o==null?void 0:o.canAdd)!==null&&h!==void 0?h:!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 qt;r.captionTip=(qt=o==null?void 0:o.captionTip)!==null&&qt!==void 0?qt:"";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 ke;r.dataStorageDoc=(ke=o==null?void 0:o.dataStorageDoc)!==null&&ke!==void 0?ke:new Tx;var Ut;r.fixedColumn=(Ut=o==null?void 0:o.fixedColumn)!==null&&Ut!==void 0?Ut:[];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 NC(o==null?void 0:o.importConfig),r.exportConfig=new VC(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",eot),B(Fv,"RuntimeRules",not);function oot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rot(e,t,n){return t=Jc(t),cot(e,QS()?Reflect.construct(t,n||[],Jc(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 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 uot(e,t,n){return t&&XS(e.prototype,t),n&&XS(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 lot(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 cot(e,t){return t&&(aot(t)==="object"||typeof t=="function")?t:oot(e)}function xv(e,t){return xv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xv(e,t)}function aot(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 Zc=function(e){lot(t,e);function t(n){iot(this,t);var o,r;return o=rot(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 Lt,new Lt,new Lt]),o}return uot(t,[{key:"addColumn",value:function(o,r){var i=o!==void 0&&typeof o!="number"?o:new Lt,u=typeof o=="number"?o:r;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}],[{key:"controlName",get:function(){return 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 fot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _ot(e,t,n){return t=Yc(t),pot(e,JS()?Reflect.construct(t,n||[],Yc(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 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 yot(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 pot(e,t){return t&&(dot(t)==="object"||typeof t=="function")?t:fot(e)}function Mv(e,t){return Mv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Mv(e,t)}function dot(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 vot=function(e){yot(t,e);function t(n,o){sot(this,t);var r;r=_ot(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 hot(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=ta(t),mot(e,eT()?Reflect.construct(t,n||[],ta(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 bot(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 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&&Lv(e,t)}function mot(e,t){return t&&(got(t)==="object"||typeof t=="function")?t:hot(e)}function Lv(e,t){return Lv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Lv(e,t)}function got(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(eT=function(){return!!e})()}var Oot=function(e){tT(t,e);function t(n){YS(this,t);var o;return o=ZS(this,t,[n]),o.caption.required=!1,o}return t}(Qt),Cv=function(e){tT(t,e);function t(n){YS(this,t);var o,r,i;o=ZS(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 p;return o.widthType=(p=n==null?void 0:n.widthType)!==null&&p!==void 0?p:"px",o}return t}(K);bot(Cv,"Rules",Oot);function wot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $ot(e,t,n){return t=ea(t),Sot(e,nT()?Reflect.construct(t,n||[],ea(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 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 Eot(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Sot(e,t){return t&&(Tot(t)==="object"||typeof t=="function")?t:wot(e)}function jv(e,t){return jv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jv(e,t)}function Tot(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 _n=function(e){Eot(t,e);function t(n){Pot(this,t);var o;return o=$ot(this,t,[n]),Bo(o,"props",void 0),o.props=new Cv(n==null?void 0:n.props),o}return t}(nt);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 Rot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bot(e,t,n){return t=na(t),Iot(e,oT()?Reflect.construct(t,n||[],na(e).constructor):t.apply(e,n))}function Dot(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 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&&Vv(e,t)}function Iot(e,t){return t&&(kot(t)==="object"||typeof t=="function")?t:Rot(e)}function Vv(e,t){return Vv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vv(e,t)}function kot(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 rT=function(e){Aot(t,e);function t(n){Dot(this,t);var o;return o=Bot(this,t,[n]),Nv(o,"props",void 0),o.props=new Cv(n==null?void 0:n.props),o}return t}(ot);Nv(rT,"controlType","order-column"),Nv(rT,"controlFieldType",O.DECIMAL);function Fot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xot(e,t,n){return t=oa(t),Cot(e,uT()?Reflect.construct(t,n||[],oa(e).constructor):t.apply(e,n))}function Mot(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 oa(e){return oa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oa(e)}function Lot(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Cot(e,t){return t&&(jot(t)==="object"||typeof t=="function")?t:Fot(e)}function zv(e,t){return zv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zv(e,t)}function jot(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(uT=function(){return!!e})()}var lT=function(e){Lot(t,e);function t(n){Mot(this,t);var o,r;o=xot(this,t,[n]),iT(o,"showType",void 0),iT(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 Not(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,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 Vot(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(a){cT(i,o,r,u,l,"next",a)}function l(a){cT(i,o,r,u,l,"throw",a)}u(void 0)})}}function zot(e,t,n){return t=Be(t),Wot(e,fT()?Reflect.construct(t,n||[],Be(e).constructor):t.apply(e,n))}function Hot(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aT(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function qot(e,t,n){return t&&aT(e.prototype,t),n&&aT(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=Kot(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 Be(e){return Be=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Be(e)}function Uot(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Wot(e,t){return t&&(Got(t)==="object"||typeof t=="function")?t:Not(e)}function Hv(e,t){return Hv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hv(e,t)}function Kot(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Be(e),e!==null););return e}function Got(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})()}function Xot(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){Uot(t,e);function t(n){Hot(this,t);var o;return o=zot(this,t,[n]),Do(o,"props",void 0),o.props=new lT(n==null?void 0:n.props),o}return qot(t,[{key:"toDataBindModel",value:function(){var o=Ao(Be(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(Be(t.prototype),"validate",i)};return Vot(function(){return Xot(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}(nt);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 Qot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jot(e,t,n){return t=ra(t),trt(e,_T()?Reflect.construct(t,n||[],ra(e).constructor):t.apply(e,n))}function Zot(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 Yot(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 trt(e,t){return t&&(ert(t)==="object"||typeof t=="function")?t:Qot(e)}function Uv(e,t){return Uv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Uv(e,t)}function ert(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 sT=function(e){Yot(t,e);function t(n){Zot(this,t);var o;return o=Jot(this,t,[n]),qv(o,"props",void 0),o.props=new lT(n==null?void 0:n.props),o}return t}(ot);qv(sT,"controlType","operation-column"),qv(sT,"controlFieldType",O.FILE);function nrt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yT(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 ort(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(a){yT(i,o,r,u,l,"next",a)}function l(a){yT(i,o,r,u,l,"throw",a)}u(void 0)})}}function rrt(e,t,n){return t=De(t),srt(e,dT()?Reflect.construct(t,n||[],De(e).constructor):t.apply(e,n))}function irt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pT(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function urt(e,t,n){return t&&pT(e.prototype,t),n&&pT(e,n),e}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 Io(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Io=Reflect.get:Io=function(r,i,u){var l=yrt(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 De(e){return De=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},De(e)}function lrt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 crt(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function art(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){ne(e,r,n[r])})}return e}function frt(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 _rt(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):frt(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function srt(e,t){return t&&(prt(t)==="object"||typeof t=="function")?t:nrt(e)}function Wv(e,t){return Wv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wv(e,t)}function yrt(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=De(e),e!==null););return e}function prt(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})()}function drt(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 vrt=1e4,ia=function(t){lrt(n,t);function n(o){irt(this,n);var r;r=rrt(this,n,[o]),ne(r,"props",void 0),ne(r,"children",void 0),ne(r,"excludes",void 0),ne(r,"childrenMaxLength",void 0);var i=crt(this,n)?this.constructor:void 0,u=i.excludes,l=i.childrenMaxLength;return r.props=new vot(r,o==null?void 0:o.props),Wt(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=Bt(u),r.childrenMaxLength=l,r}return urt(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(De(n.prototype),"toSchema",this).call(this),i=this.children.map(function(u){return u.toSchema()});return _rt(art({},r),{children:i})}},{key:"validate",value:function(r,i){var u=this,l=this,a=function(){return Io(De(n.prototype),"validate",u)};return ort(function(){return drt(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_);ne(ia,"slotPosition",{toolbar:"grid-table-toolbar-slot"}),ne(ia,"setting",[{key:"list-fixed-header",visible:!0}]),ne(ia,"excludes",[]),ne(ia,"childrenMaxLength",vrt);function hrt(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=ua(t),brt(e,mT()?Reflect.construct(t,n||[],ua(e).constructor):t.apply(e,n))}function hT(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 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&&Kv(e,t)}function brt(e,t){return t&&(mrt(t)==="object"||typeof t=="function")?t:hrt(e)}function Kv(e,t){return Kv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kv(e,t)}function mrt(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 grt=function(e){bT(t,e);function t(n){hT(this,t);var o;return o=vT(this,t,[n]),se.call(o,n),o}return t}(l_),Gv=function(e){bT(t,e);function t(n){hT(this,t);var o;o=vT(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=Gt((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 Kt(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",grt);function Ort(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wrt(e,t,n){return t=la(t),Ert(e,gT()?Reflect.construct(t,n||[],la(e).constructor):t.apply(e,n))}function $rt(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 Prt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ert(e,t){return t&&(Srt(t)==="object"||typeof t=="function")?t:Ort(e)}function Xv(e,t){return Xv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xv(e,t)}function Srt(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 pn=function(e){Prt(t,e);function t(n){$rt(this,t);var o;return o=wrt(this,t,[n]),yn(o,"props",void 0),o.props=new Gv(n==null?void 0:n.props),o}return t}(nt);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 Trt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rrt(e,t,n){return t=ca(t),Art(e,OT()?Reflect.construct(t,n||[],ca(e).constructor):t.apply(e,n))}function Brt(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 Drt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Art(e,t){return t&&(Irt(t)==="object"||typeof t=="function")?t:Trt(e)}function Jv(e,t){return Jv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jv(e,t)}function Irt(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){Drt(t,e);function t(n){Brt(this,t);var o;return o=Rrt(this,t,[n]),Qv(o,"props",void 0),o.props=new Gv(n==null?void 0:n.props),o}return t}(ot);Qv(wT,"controlType","varchar-column"),Qv(wT,"controlFieldType",O.VARCHAR);function krt(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=aa(t),Frt(e,ST()?Reflect.construct(t,n||[],aa(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 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 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&&Zv(e,t)}function Frt(e,t){return t&&(xrt(t)==="object"||typeof t=="function")?t:krt(e)}function Zv(e,t){return Zv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zv(e,t)}function xrt(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 Mrt=function(e){ET(t,e);function t(n){PT(this,t);var o;return o=$T(this,t,[n]),se.call(o,n),o}return t}(Qt),Yv=function(e){ET(t,e);function t(n){PT(this,t);var o;o=$T(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 Kt(n==null?void 0:n.linkOperationOption),o}return t}(K);ko(Yv,"Rules",Mrt);function Lrt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Crt(e,t,n){return t=vn(t),zrt(e,RT()?Reflect.construct(t,n||[],vn(e).constructor):t.apply(e,n))}function jrt(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 Nrt(e,t,n){return t&&TT(e.prototype,t),n&&TT(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=Hrt(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 Vrt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 zrt(e,t){return t&&(qrt(t)==="object"||typeof t=="function")?t:Lrt(e)}function th(e,t){return th=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},th(e,t)}function Hrt(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=vn(e),e!==null););return e}function qrt(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 hn=function(e){Vrt(t,e);function t(n){jrt(this,t);var o;return o=Crt(this,t,[n]),dn(o,"props",void 0),o.props=new Yv(n==null?void 0:n.props),o}return Nrt(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}(nt);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 Urt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wrt(e,t,n){return t=_a(t),Xrt(e,BT()?Reflect.construct(t,n||[],_a(e).constructor):t.apply(e,n))}function Krt(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 Grt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Xrt(e,t){return t&&(Qrt(t)==="object"||typeof t=="function")?t:Urt(e)}function nh(e,t){return nh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},nh(e,t)}function Qrt(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 DT=function(e){Grt(t,e);function t(n){Krt(this,t);var o;return o=Wrt(this,t,[n]),eh(o,"props",void 0),o.props=new Yv(n==null?void 0:n.props),o}return t}(ot);eh(DT,"controlType","text-column"),eh(DT,"controlFieldType",O.TEXT);function Jrt(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=sa(t),Zrt(e,FT()?Reflect.construct(t,n||[],sa(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 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 sa(e){return sa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sa(e)}function kT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Zrt(e,t){return t&&(Yrt(t)==="object"||typeof t=="function")?t:Jrt(e)}function oh(e,t){return oh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},oh(e,t)}function Yrt(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 tit=function(e){kT(t,e);function t(n){IT(this,t);var o;return o=AT(this,t,[n]),se.call(o,n),o}return t}(l_),rh=function(e){kT(t,e);function t(n){IT(this,t);var o;o=AT(this,t,[n]),oe(o,"optionConfig",void 0),oe(o,"datasourceBind",void 0),oe(o,"showLinkOperation",void 0),oe(o,"linkOperationOption",void 0),oe(o,"options",void 0),oe(o,"precision",void 0),oe(o,"micrometer",void 0),oe(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=Gt((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 Kt(n==null?void 0:n.linkOperationOption),o}return t}(K);oe(rh,"Rules",tit);function eit(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=mn(t),uit(e,MT()?Reflect.construct(t,n||[],mn(e).constructor):t.apply(e,n))}function oit(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xT(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function rit(e,t,n){return t&&xT(e.prototype,t),n&&xT(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=lit(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 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&&ih(e,t)}function uit(e,t){return t&&(cit(t)==="object"||typeof t=="function")?t:eit(e)}function ih(e,t){return ih=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ih(e,t)}function lit(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=mn(e),e!==null););return e}function cit(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 gn=function(e){iit(t,e);function t(n){oit(this,t);var o;return o=nit(this,t,[n]),bn(o,"props",void 0),o.props=new rh(n==null?void 0:n.props),o}return rit(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}(nt);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 ait(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fit(e,t,n){return t=pa(t),yit(e,LT()?Reflect.construct(t,n||[],pa(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 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 sit(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 yit(e,t){return t&&(pit(t)==="object"||typeof t=="function")?t:ait(e)}function lh(e,t){return lh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},lh(e,t)}function pit(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 CT=function(e){sit(t,e);function t(n){_it(this,t);var o;return o=fit(this,t,[n]),uh(o,"props",void 0),o.props=new rh(n==null?void 0:n.props),o}return t}(ot);uh(CT,"controlType","decimal-column"),uh(CT,"controlFieldType",O.DECIMAL);function dit(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jT(e,t,n){return t=va(t),vit(e,zT()?Reflect.construct(t,n||[],va(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 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 VT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ch(e,t)}function vit(e,t){return t&&(hit(t)==="object"||typeof t=="function")?t:dit(e)}function ch(e,t){return ch=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ch(e,t)}function hit(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 bit=function(e){VT(t,e);function t(n){NT(this,t);var o;return o=jT(this,t,[n]),se.call(o,n),o}return t}(Qt),ah=function(e){VT(t,e);function t(n){NT(this,t);var o;o=jT(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:xe.DATE;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Kt(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",bit);function mit(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=wn(t),Pit(e,qT()?Reflect.construct(t,n||[],wn(e).constructor):t.apply(e,n))}function Oit(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HT(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function wit(e,t,n){return t&&HT(e.prototype,t),n&&HT(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=Eit(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 $it(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fh(e,t)}function Pit(e,t){return t&&(Sit(t)==="object"||typeof t=="function")?t:mit(e)}function fh(e,t){return fh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fh(e,t)}function Eit(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=wn(e),e!==null););return e}function Sit(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 $n=function(e){$it(t,e);function t(n){Oit(this,t);var o;return o=git(this,t,[n]),On(o,"props",void 0),o.props=new ah(n==null?void 0:n.props),o}return wit(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}(nt);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 Tit(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=ba(t),Ait(e,UT()?Reflect.construct(t,n||[],ba(e).constructor):t.apply(e,n))}function Bit(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 Dit(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ait(e,t){return t&&(Iit(t)==="object"||typeof t=="function")?t:Tit(e)}function sh(e,t){return sh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sh(e,t)}function Iit(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function UT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(UT=function(){return!!e})()}var WT=function(e){Dit(t,e);function t(n){Bit(this,t);var o;return o=Rit(this,t,[n]),_h(o,"props",void 0),o.props=new ah(n==null?void 0:n.props),o}return t}(ot);_h(WT,"controlType","timescope-column"),_h(WT,"controlFieldType",O.TIMESCOPE);function kit(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=ga(t),Fit(e,QT()?Reflect.construct(t,n||[],ga(e).constructor):t.apply(e,n))}function GT(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 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&&yh(e,t)}function Fit(e,t){return t&&(xit(t)==="object"||typeof t=="function")?t:kit(e)}function yh(e,t){return yh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yh(e,t)}function xit(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 Mit=function(e){XT(t,e);function t(n){GT(this,t);var o;return o=KT(this,t,[n]),se.call(o,n),o}return t}(Qt),ph=function(e){XT(t,e);function t(n){GT(this,t);var o;o=KT(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:xe.DATE;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Kt(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",Mit);function Lit(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cit(e,t,n){return t=En(t),zit(e,ZT()?Reflect.construct(t,n||[],En(e).constructor):t.apply(e,n))}function jit(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JT(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Nit(e,t,n){return t&&JT(e.prototype,t),n&&JT(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=Hit(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 Vit(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 zit(e,t){return t&&(qit(t)==="object"||typeof t=="function")?t:Lit(e)}function dh(e,t){return dh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dh(e,t)}function Hit(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=En(e),e!==null););return e}function qit(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 Sn=function(e){Vit(t,e);function t(n){jit(this,t);var o;return o=Cit(this,t,[n]),Pn(o,"props",void 0),o.props=new ph(n==null?void 0:n.props),o}return Nit(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}(nt);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 Uit(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=wa(t),Xit(e,YT()?Reflect.construct(t,n||[],wa(e).constructor):t.apply(e,n))}function Kit(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 Git(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Xit(e,t){return t&&(Qit(t)==="object"||typeof t=="function")?t:Uit(e)}function hh(e,t){return hh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hh(e,t)}function Qit(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(YT=function(){return!!e})()}var tR=function(e){Git(t,e);function t(n){Kit(this,t);var o;return o=Wit(this,t,[n]),vh(o,"props",void 0),o.props=new ph(n==null?void 0:n.props),o}return t}(ot);vh(tR,"controlType","timestamp-column"),vh(tR,"controlFieldType",O.TIMESTAMP);function Jit(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eR(e,t,n){return t=$a(t),Zit(e,rR()?Reflect.construct(t,n||[],$a(e).constructor):t.apply(e,n))}function nR(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 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&&bh(e,t)}function Zit(e,t){return t&&(Yit(t)==="object"||typeof t=="function")?t:Jit(e)}function bh(e,t){return bh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},bh(e,t)}function Yit(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 tut=function(e){oR(t,e);function t(n){nR(this,t);var o;return o=eR(this,t,[n]),se.call(o,n),o}return t}(l_),mh=function(e){oR(t,e);function t(n){nR(this,t);var o;o=eR(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 Kt(n==null?void 0:n.linkOperationOption);var l;return o.options=Gt((l=n==null?void 0:n.options)!==null&&l!==void 0?l:[{}]),o}return t}(K);Tn(mh,"Rules",tut);function eut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nut(e,t,n){return t=Pa(t),iut(e,iR()?Reflect.construct(t,n||[],Pa(e).constructor):t.apply(e,n))}function out(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 rut(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 iut(e,t){return t&&(uut(t)==="object"||typeof t=="function")?t:eut(e)}function gh(e,t){return gh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gh(e,t)}function uut(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 Bn=function(e){rut(t,e);function t(n){out(this,t);var o;return o=nut(this,t,[n]),Rn(o,"props",void 0),o.props=new mh(n==null?void 0:n.props),o}return t}(nt);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 lut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cut(e,t,n){return t=Ea(t),_ut(e,uR()?Reflect.construct(t,n||[],Ea(e).constructor):t.apply(e,n))}function aut(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 fut(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _ut(e,t){return t&&(sut(t)==="object"||typeof t=="function")?t:lut(e)}function wh(e,t){return wh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wh(e,t)}function sut(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 lR=function(e){fut(t,e);function t(n){aut(this,t);var o;return o=cut(this,t,[n]),Oh(o,"props",void 0),o.props=new mh(n==null?void 0:n.props),o}return t}(ot);Oh(lR,"controlType","array-column"),Oh(lR,"controlFieldType",O.ARRAY);function yut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function put(e,t,n){return t=Sa(t),but(e,cR()?Reflect.construct(t,n||[],Sa(e).constructor):t.apply(e,n))}function dut(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vut(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 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&&$h(e,t)}function but(e,t){return t&&(mut(t)==="object"||typeof t=="function")?t:yut(e)}function $h(e,t){return $h=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$h(e,t)}function mut(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){hut(t,e);function t(n){dut(this,t);var o;o=put(this,t,[n]),vut(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 gut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Out(e,t,n){return t=An(t),Eut(e,_R()?Reflect.construct(t,n||[],An(e).constructor):t.apply(e,n))}function wut(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fR(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function $ut(e,t,n){return t&&fR(e.prototype,t),n&&fR(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=Sut(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 Put(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Eut(e,t){return t&&(Tut(t)==="object"||typeof t=="function")?t:gut(e)}function Ph(e,t){return Ph=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ph(e,t)}function Sut(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=An(e),e!==null););return e}function Tut(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 In=function(e){Put(t,e);function t(n){wut(this,t);var o;return o=Out(this,t,[n]),Dn(o,"props",void 0),o.props=new aR(n==null?void 0:n.props),o}return $ut(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}(nt);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 Rut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function But(e,t,n){return t=Ra(t),Iut(e,sR()?Reflect.construct(t,n||[],Ra(e).constructor):t.apply(e,n))}function Dut(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 Aut(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Iut(e,t){return t&&(kut(t)==="object"||typeof t=="function")?t:Rut(e)}function Sh(e,t){return Sh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sh(e,t)}function kut(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 yR=function(e){Aut(t,e);function t(n){Dut(this,t);var o;return o=But(this,t,[n]),Eh(o,"props",void 0),o.props=new aR(n==null?void 0:n.props),o}return t}(ot);Eh(yR,"controlType","department-column"),Eh(yR,"controlFieldType",O.DEPARTMENTS);function Fut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pR(e,t,n){return t=Ba(t),xut(e,hR()?Reflect.construct(t,n||[],Ba(e).constructor):t.apply(e,n))}function dR(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 vR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 xut(e,t){return t&&(Mut(t)==="object"||typeof t=="function")?t:Fut(e)}function Rh(e,t){return Rh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rh(e,t)}function Mut(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 Lut=function(e){vR(t,e);function t(n){dR(this,t);var o;return o=pR(this,t,[n]),se.call(o,n),o}return t}(Qt),Bh=function(e){vR(t,e);function t(n){dR(this,t);var o;o=pR(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 Kt(n==null?void 0:n.linkOperationOption),o}return t}(K);Th(Bh,"Rules",Lut);function Cut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jut(e,t,n){return t=Da(t),zut(e,bR()?Reflect.construct(t,n||[],Da(e).constructor):t.apply(e,n))}function Nut(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 Vut(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 zut(e,t){return t&&(Hut(t)==="object"||typeof t=="function")?t:Cut(e)}function Dh(e,t){return Dh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dh(e,t)}function Hut(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 Fn=function(e){Vut(t,e);function t(n){Nut(this,t);var o;return o=jut(this,t,[n]),kn(o,"props",void 0),o.props=new Bh(n==null?void 0:n.props),o}return t}(nt);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 qut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uut(e,t,n){return t=Aa(t),Gut(e,mR()?Reflect.construct(t,n||[],Aa(e).constructor):t.apply(e,n))}function Wut(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 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&&Ih(e,t)}function Gut(e,t){return t&&(Xut(t)==="object"||typeof t=="function")?t:qut(e)}function Ih(e,t){return Ih=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ih(e,t)}function Xut(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 gR=function(e){Kut(t,e);function t(n){Wut(this,t);var o;return o=Uut(this,t,[n]),Ah(o,"props",void 0),o.props=new Bh(n==null?void 0:n.props),o}return t}(ot);Ah(gR,"controlType","auto-number-column"),Ah(gR,"controlFieldType",O.AUTO_NUMBER);function Qut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jut(e,t,n){return t=Ia(t),elt(e,OR()?Reflect.construct(t,n||[],Ia(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 Yut(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 tlt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 elt(e,t){return t&&(nlt(t)==="object"||typeof t=="function")?t:Qut(e)}function kh(e,t){return kh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kh(e,t)}function nlt(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){tlt(t,e);function t(n){Zut(this,t);var o;o=Jut(this,t,[n]),Yut(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 olt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rlt(e,t,n){return t=ka(t),llt(e,$R()?Reflect.construct(t,n||[],ka(e).constructor):t.apply(e,n))}function ilt(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 ult(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 llt(e,t){return t&&(clt(t)==="object"||typeof t=="function")?t:olt(e)}function Fh(e,t){return Fh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fh(e,t)}function clt(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 Mn=function(e){ult(t,e);function t(n){ilt(this,t);var o;return o=rlt(this,t,[n]),xn(o,"props",void 0),o.props=new wR(n==null?void 0:n.props),o}return t}(nt);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 alt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function flt(e,t,n){return t=Fa(t),ylt(e,PR()?Reflect.construct(t,n||[],Fa(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 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 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&&Mh(e,t)}function ylt(e,t){return t&&(plt(t)==="object"||typeof t=="function")?t:alt(e)}function Mh(e,t){return Mh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Mh(e,t)}function plt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(PR=function(){return!!e})()}var ER=function(e){slt(t,e);function t(n){_lt(this,t);var o;return o=flt(this,t,[n]),xh(o,"props",void 0),o.props=new wR(n==null?void 0:n.props),o}return t}(ot);xh(ER,"controlType","file-column"),xh(ER,"controlFieldType",O.FILE);function dlt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vlt(e,t,n){return t=xa(t),mlt(e,SR()?Reflect.construct(t,n||[],xa(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 xa(e){return xa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xa(e)}function blt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 mlt(e,t){return t&&(glt(t)==="object"||typeof t=="function")?t:dlt(e)}function Lh(e,t){return Lh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Lh(e,t)}function glt(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){blt(t,e);function t(n){hlt(this,t);var o;o=vlt(this,t,[n]);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Cn.controlName,o}return t}(K);function Olt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wlt(e,t,n){return t=Ma(t),Elt(e,RR()?Reflect.construct(t,n||[],Ma(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 Ln(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ma(e){return Ma=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ma(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&&Ch(e,t)}function Elt(e,t){return t&&(Slt(t)==="object"||typeof t=="function")?t:Olt(e)}function Ch(e,t){return Ch=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ch(e,t)}function Slt(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 Cn=function(e){Plt(t,e);function t(n){$lt(this,t);var o;return o=wlt(this,t,[n]),Ln(o,"props",void 0),o.props=new TR(n==null?void 0:n.props),o}return t}(nt);Ln(Cn,"controlType","image-column"),Ln(Cn,"controlName",f("CMD.image",null,"\u56FE\u7247")),Ln(Cn,"controlIcon","image-column"),Ln(Cn,"controlFieldType",O.IMAGE),Ln(Cn,"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 Tlt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rlt(e,t,n){return t=La(t),Alt(e,BR()?Reflect.construct(t,n||[],La(e).constructor):t.apply(e,n))}function Blt(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 Dlt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Alt(e,t){return t&&(Ilt(t)==="object"||typeof t=="function")?t:Tlt(e)}function Nh(e,t){return Nh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Nh(e,t)}function Ilt(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 DR=function(e){Dlt(t,e);function t(n){Blt(this,t);var o;return o=Rlt(this,t,[n]),jh(o,"props",void 0),o.props=new TR(n==null?void 0:n.props),o}return t}(ot);jh(DR,"controlType","image-column"),jh(DR,"controlFieldType",O.IMAGE);function klt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Flt(e,t,n){return t=Ca(t),Llt(e,AR()?Reflect.construct(t,n||[],Ca(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 Ca(e){return Ca=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ca(e)}function Mlt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Llt(e,t){return t&&(Clt(t)==="object"||typeof t=="function")?t:klt(e)}function Vh(e,t){return Vh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vh(e,t)}function Clt(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){Mlt(t,e);function t(n){xlt(this,t);var o;o=Flt(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 jlt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nlt(e,t,n){return t=ja(t),Hlt(e,kR()?Reflect.construct(t,n||[],ja(e).constructor):t.apply(e,n))}function Vlt(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 zlt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Hlt(e,t){return t&&(qlt(t)==="object"||typeof t=="function")?t:jlt(e)}function zh(e,t){return zh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zh(e,t)}function qlt(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 Nn=function(e){zlt(t,e);function t(n){Vlt(this,t);var o;return o=Nlt(this,t,[n]),jn(o,"props",void 0),o.props=new IR(n==null?void 0:n.props),o}return t}(nt);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 Ult(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wlt(e,t,n){return t=Na(t),Xlt(e,FR()?Reflect.construct(t,n||[],Na(e).constructor):t.apply(e,n))}function Klt(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 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&&qh(e,t)}function Xlt(e,t){return t&&(Qlt(t)==="object"||typeof t=="function")?t:Ult(e)}function qh(e,t){return qh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qh(e,t)}function Qlt(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 xR=function(e){Glt(t,e);function t(n){Klt(this,t);var o;return o=Wlt(this,t,[n]),Hh(o,"props",void 0),o.props=new IR(n==null?void 0:n.props),o}return t}(ot);Hh(xR,"controlType","people-column"),Hh(xR,"controlFieldType",O.EMPLOYEES);function Jlt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MR(e,t,n){return t=Va(t),Zlt(e,jR()?Reflect.construct(t,n||[],Va(e).constructor):t.apply(e,n))}function LR(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 CR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Zlt(e,t){return t&&(Ylt(t)==="object"||typeof t=="function")?t:Jlt(e)}function Wh(e,t){return Wh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wh(e,t)}function Ylt(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 tct=function(e){CR(t,e);function t(n){LR(this,t);var o;return o=MR(this,t,[n]),se.call(o,n),o}return t}(Qt),Kh=function(e){CR(t,e);function t(n){LR(this,t);var o;o=MR(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 Kt(n==null?void 0:n.linkOperationOption),o}return t}(K);Uh(Kh,"Rules",tct);function ect(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nct(e,t,n){return t=za(t),ict(e,NR()?Reflect.construct(t,n||[],za(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 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 rct(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ict(e,t){return t&&(uct(t)==="object"||typeof t=="function")?t:ect(e)}function Gh(e,t){return Gh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gh(e,t)}function uct(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 zn=function(e){rct(t,e);function t(n){oct(this,t);var o;return o=nct(this,t,[n]),Vn(o,"props",void 0),o.props=new Kh(n==null?void 0:n.props),o}return t}(nt);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 lct(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=Ha(t),_ct(e,VR()?Reflect.construct(t,n||[],Ha(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 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 fct(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _ct(e,t){return t&&(sct(t)==="object"||typeof t=="function")?t:lct(e)}function Qh(e,t){return Qh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qh(e,t)}function sct(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){fct(t,e);function t(n){act(this,t);var o;return o=cct(this,t,[n]),Xh(o,"props",void 0),o.props=new Kh(n==null?void 0:n.props),o}return t}(ot);Xh(zR,"controlType","location-column"),Xh(zR,"controlFieldType",O.ADDRESS);function yct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HR(e,t,n){return t=Ua(t),pct(e,WR()?Reflect.construct(t,n||[],Ua(e).constructor):t.apply(e,n))}function qR(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 UR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jh(e,t)}function pct(e,t){return t&&(dct(t)==="object"||typeof t=="function")?t:yct(e)}function Jh(e,t){return Jh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jh(e,t)}function dct(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 vct=function(e){UR(t,e);function t(n){qR(this,t);var o;return o=HR(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}(Qt),Zh=function(e){UR(t,e);function t(n){qR(this,t);var o;o=HR(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",vct);function hct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bct(e,t,n){return t=Hn(t),$ct(e,GR()?Reflect.construct(t,n||[],Hn(e).constructor):t.apply(e,n))}function mct(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KR(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function gct(e,t,n){return t&&KR(e.prototype,t),n&&KR(e,n),e}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 Wa(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Wa=Reflect.get:Wa=function(r,i,u){var l=Pct(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 Oct(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 wct(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function $ct(e,t){return t&&(Ect(t)==="object"||typeof t=="function")?t:hct(e)}function Yh(e,t){return Yh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yh(e,t)}function Pct(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Hn(e),e!==null););return e}function Ect(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 Sct=1,me=function(t){Oct(n,t);function n(o){mct(this,n);var r;r=bct(this,n,[o]),Ct(r,"excludes",void 0),Ct(r,"childrenMaxLength",void 0),Ct(r,"props",void 0),Ct(r,"children",void 0);var i=wct(this,n)?this.constructor:void 0,u=i.excludes,l=i.childrenMaxLength;return r.props=new Zh(o==null?void 0:o.props),Wt(r,"children",o==null?void 0:o.children,void 0,"Designer"),r.excludes=Bt(u),r.childrenMaxLength=l,r}return gct(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}(nt);Ct(me,"controlType","custom-column"),Ct(me,"controlName",f("CMD.custom",null,"\u81EA\u5B9A\u4E49")),Ct(me,"controlIcon","custom-column"),Ct(me,"slots",["column-column-slot"]),Ct(me,"excludes",[]),Ct(me,"childrenMaxLength",Sct),Ct(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 Tct(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=Ka(t),Act(e,XR()?Reflect.construct(t,n||[],Ka(e).constructor):t.apply(e,n))}function Bct(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 Dct(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Act(e,t){return t&&(Ict(t)==="object"||typeof t=="function")?t:Tct(e)}function e0(e,t){return e0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},e0(e,t)}function Ict(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 kct=function(e){Dct(t,e);function t(n){Bct(this,t);var o;return o=Rct(this,t,[n]),t0(o,"props",void 0),t0(o,"children",void 0),o.props=new Zh(n==null?void 0:n.props),Wt(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return t}(ot);t0(kct,"controlType","custom-column");function Fct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xct(e,t,n){return t=Ga(t),jct(e,QR()?Reflect.construct(t,n||[],Ga(e).constructor):t.apply(e,n))}function Mct(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lct(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 Cct(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 jct(e,t){return t&&(Nct(t)==="object"||typeof t=="function")?t:Fct(e)}function n0(e,t){return n0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},n0(e,t)}function Nct(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 JR=function(e){Cct(t,e);function t(n){Mct(this,t);var o;o=xct(this,t,[n]),Lct(o,"datasourceBind",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Ae.controlName;var i;return o.datasourceBind=new Ho((i=n==null?void 0:n.datasourceBind)!==null&&i!==void 0?i:{attributes:Ae.controlCustomAttributes}),o}return t}(K);function Vct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zct(e,t,n){return t=Xa(t),Wct(e,YR()?Reflect.construct(t,n||[],Xa(e).constructor):t.apply(e,n))}function Hct(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZR(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function qct(e,t,n){return t&&ZR(e.prototype,t),n&&ZR(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 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&&o0(e,t)}function Wct(e,t){return t&&(Kct(t)==="object"||typeof t=="function")?t:Vct(e)}function o0(e,t){return o0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},o0(e,t)}function Kct(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 Ae=function(e){Uct(t,e);function t(n){Hct(this,t);var o;return o=zct(this,t,[n]),qn(o,"props",void 0),o.props=new JR(n==null?void 0:n.props),o}return qct(t,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:f("CMD.d9ec1751967128273"),required:!0}]}}]),t}(nt);qn(Ae,"controlType","employee-column"),qn(Ae,"controlName",f("CMD.employee",null,"\u4EBA\u5458")),qn(Ae,"controlIcon","employee-column"),qn(Ae,"controlFieldType",O.EMPLOYEES),qn(Ae,"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 Gct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xct(e,t,n){return t=Qa(t),Zct(e,tB()?Reflect.construct(t,n||[],Qa(e).constructor):t.apply(e,n))}function Qct(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 Jct(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Zct(e,t){return t&&(Yct(t)==="object"||typeof t=="function")?t:Gct(e)}function i0(e,t){return i0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},i0(e,t)}function Yct(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 eB=function(e){Jct(t,e);function t(n){Qct(this,t);var o;return o=Xct(this,t,[n]),r0(o,"props",void 0),o.props=new JR(n==null?void 0:n.props),o}return t}(ot);r0(eB,"controlType","employee-column"),r0(eB,"controlFieldType",O.EMPLOYEES);function tat(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eat(e,t,n){return t=Ja(t),rat(e,nB()?Reflect.construct(t,n||[],Ja(e).constructor):t.apply(e,n))}function nat(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 oat(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 rat(e,t){return t&&(iat(t)==="object"||typeof t=="function")?t:tat(e)}function l0(e,t){return l0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},l0(e,t)}function iat(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){oat(t,e);function t(n){nat(this,t);var o;o=eat(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 Kt(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 uat(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lat(e,t,n){return t=Za(t),fat(e,rB()?Reflect.construct(t,n||[],Za(e).constructor):t.apply(e,n))}function cat(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ie(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Za(e){return Za=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Za(e)}function aat(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 fat(e,t){return t&&(_at(t)==="object"||typeof t=="function")?t:uat(e)}function c0(e,t){return c0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},c0(e,t)}function _at(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 Un=function(e){aat(t,e);function t(n){cat(this,t);var o;return o=lat(this,t,[n]),Ie(o,"props",void 0),Ie(o,"children",void 0),o.props=new oB(n==null?void 0:n.props),o}return t}(nt);Ie(Un,"controlType","approval-status-column"),Ie(Un,"controlName",f("CMD.approvalStatusColumn",null,"\u5F53\u524D\u5BA1\u6279\u72B6\u6001")),Ie(Un,"controlIcon","approval-status-column"),Ie(Un,"excludes",[]),Ie(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 sat(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yat(e,t,n){return t=Ya(t),vat(e,iB()?Reflect.construct(t,n||[],Ya(e).constructor):t.apply(e,n))}function pat(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 dat(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 vat(e,t){return t&&(hat(t)==="object"||typeof t=="function")?t:sat(e)}function f0(e,t){return f0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},f0(e,t)}function hat(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 bat=function(e){dat(t,e);function t(n){pat(this,t);var o;return o=yat(this,t,[n]),a0(o,"props",void 0),a0(o,"children",void 0),o.props=new oB(n==null?void 0:n.props),o}return t}(ot);a0(bat,"controlType","approval-status-column");function mat(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uB(e,t,n){return t=tf(t),gat(e,aB()?Reflect.construct(t,n||[],tf(e).constructor):t.apply(e,n))}function lB(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 cB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 gat(e,t){return t&&(Oat(t)==="object"||typeof t=="function")?t:mat(e)}function _0(e,t){return _0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_0(e,t)}function Oat(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 wat=function(e){cB(t,e);function t(n){lB(this,t);var o;return o=uB(this,t,[n]),o.push({type:"object",fields:{}}),o}return t}(Oe),s0=function(e){cB(t,e);function t(n){lB(this,t);var o;o=uB(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 le((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 le((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 le($)});var p;o.queryTypeMap=(p=n==null?void 0:n.queryTypeMap)!==null&&p!==void 0?p:[];var d;o.childMinWidth=(d=n==null?void 0:n.childMinWidth)!==null&&d!==void 0?d:230;var b;o.colGap=(b=n==null?void 0:n.colGap)!==null&&b!==void 0?b:24;var g;o.viewConfig=(g=n==null?void 0:n.viewConfig)!==null&&g!==void 0?g:[];var m;return o.simpleConfig=(m=n==null?void 0:n.simpleConfig)!==null&&m!==void 0?m:[],o}return t}(s_);Pt(s0,"RuntimeRules",wat);function $at(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pat(e,t,n){return t=nf(t),Tat(e,fB()?Reflect.construct(t,n||[],nf(e).constructor):t.apply(e,n))}function Eat(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 Sat(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Tat(e,t){return t&&(Rat(t)==="object"||typeof t=="function")?t:$at(e)}function y0(e,t){return y0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},y0(e,t)}function Rat(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 p0=function(e){Sat(t,e);function t(n){Eat(this,t);var o;return o=Pat(this,t,[n]),ef(o,"props",void 0),o.props=new s0(n==null?void 0:n.props),o}return t}(jL);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 Bat(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=of(t),kat(e,_B()?Reflect.construct(t,n||[],of(e).constructor):t.apply(e,n))}function Aat(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 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&&v0(e,t)}function kat(e,t){return t&&(Fat(t)==="object"||typeof t=="function")?t:Bat(e)}function v0(e,t){return v0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},v0(e,t)}function Fat(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 xat=function(e){Iat(t,e);function t(n){Aat(this,t);var o;o=Dat(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}(WL);d0(xat,"controlType","simple-search");function l_t(e){return e}f("CMD.fullLine",null,"\u5145\u6EE1\u6574\u884C");const Mat=(e,t)=>{const n=Array.isArray(e),o=n?e:[e];Gat(t==null?void 0:t.events),zat(o),Hat(o);const r=Vat(o),i=qat(r,t);let u=re(C(i,l=>Nat(l,t)));return n?u:u[0]},Lat=[y.DIVIDER,y.TEXT,y.TITLE,y.LINK,y.BUTTON,"list-btn-export-list","list-btn-export-record"],Cat=["subtable","grid-table"],jat=["simple-search"];function Nat(e,t){var r,i,u,l,a,c;let n=e;if(n.controlType||(n.is_layout_control===!0?n.controlType="layout":Lat.includes(n.type)?n.controlType="base":n.controlType="form",Cat.includes(n.type)&&(n.controlType="list"),jat.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=(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"&&(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",((c=n.children[0])==null?void 0:c.type)==="subtable-row"&&n.props.headers&&(n.props.headers=n.props.headers.map((p,d)=>{const b=new ytt.Designer;b.props.caption=ft(p.field_name)?p.field_name.zh:p.field_name;const g=b.toSchema();g.id=p.header_id;const m=n.children[0].children[d].children[0];return m&&(g.children=[m]),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=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(p=>{const d=new DE.Designer;d.props.span=_;const b=d.toSchema();return b.children.push(p),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],p=n==null?void 0:n.children[1],d={};_&&(sB(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),p&&(d.unit=p.props.data_bind,n.props.default_value={unit:p.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],p=n==null?void 0:n.children[1],d={},b={};_&&(sB(n,t),n.id=_.id,d.amount=_.props.data_bind,n.props.range_min=Me(_.props.range_min),n.props.range_max=Me(_.props.range_max),b.amount=Me(_.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),p&&(d.currency=p.props.data_bind,b.currency=p.props.value,n.props.datasourceBind=p.props.datasource_bind,n.props.options=p.props.options.map(g=>({label:g.text,value:g.value}))),n.props.dataBind=d,n.props.defaultValue=b,delete n.children}if(e.type==="date-range"){n.controlType="form";const _=n==null?void 0:n.children[0],p=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 d={};_&&(d.min=_.props.data_bind),p&&(d.max=p.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=ft(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(n.props.range_min=Me(e.props.range_min),n.props.range_max=Me(e.props.range_max),n.props.defaultValue=Me(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"),Xat(n,t==null?void 0:t.control_events),n}function sB(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 Vat(e){if(!Array.isArray(e)||!e.find(r=>r.type==="grid"))return e;const o=new Lnt.Designer().toSchema();return o.children=e,[o]}function zat(e){e.forEach(t=>{t.children&&Kat(t.children)})}function Hat(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 qat(e,t){var b,g,m,$,h,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;Uat(i),l.props.is_fixed_header=(b=o==null?void 0:o.source_config)==null?void 0:b.is_fixed_header,Wat(l,u);const a=(m=(g=o==null?void 0:o.source_config)==null?void 0:g.data_code)!=null?m:t==null?void 0:t.dataCode,c=((h=($=o==null?void 0:o.source_config)==null?void 0:$.svc_code)!=null?h:a)?`${a}_selectMore`:void 0,_=(T=(w=o==null?void 0:o.source_config)==null?void 0:w.orders)!=null?T:[],p=new vnt.Designer;p.props.datasourceBind=new X({dataCode:a,svcCode:c,orders:nx(_)}),p.props.isShowSubList=o.is_show_sublist,p.props.triggerType=o.timing_type,p.props.triggerFieldCode=o.ctrl_field_code,(E=o==null?void 0:o.sublist_page)==null||E.sublists.forEach(R=>{R.title=ft(R.title)?R.title.zh:R.title}),p.props.sublistPage=o.sublist_page;const d=p.toSchema();return d.children.push(i,l),[d]}function Uat(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 Wat(e,t){e.children=t.children.filter(n=>n.type!=="list-page-btn-custom-head"),e.type="grid-table",e.props.sublist_page&&(e.props.sublist_page.form_bind={data_code:e.props.sublist_page.data_code,form_key:e.props.sublist_page.form_key}),Array.isArray(e.props.headers)&&(e.props.headers=e.props.headers.map(n=>{var r,i,u;let o={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:n.field_code,field_name:ft(n.field_name)?n.field_name.zh:n.field_name}};return o.props.caption=ft(n.field_name)?n.field_name.zh:n.field_name,o.props.filter_tags=n.is_filter_tags,o.props.fixed=n.fixed,o.props.display_bo_list=n.display_bo_list,o.props.date_type=n.date_type,o.props.optionConfig="none",n.header_width_config&&(o.props.widthType=n.header_width_config==="1"?"auto":"px"),o.props.widthType==="px"&&n.header_width&&(o.props.width=Number(n.header_width)),n.table_header_type==="order"?(o.type="order-column",o.props.fixed=!0):n.table_header_type==="operation"?(o.type="operation-column",o.props.check=(r=n.check)!=null?r:{},o.props.check.openType="window",o.props.delete=(i=n.delete)!=null?i:{},o.props.delete.openType="window",o.props.edit=(u=n.edit)!=null?u:{},o.props.edit.openType="window",o.props.fixed=!0):(o.type=n.field_type+"-column",n.field_type==="auto_number"&&(o.type="auto-number-column"),n.field_type==="relation"&&(o.type="varchar-column")),n.convert_switch&&(o.props.optionConfig=n.convert_type===1?"datasource":"custom"),o.props.optionConfig==="datasource"?o.props.datasource_bind=new X({svcCode:n.svc_code,displayBoList:n.display_bo_list,valueFieldCode:n.field_match,dataCode:n.field_source}):o.props.optionConfig==="custom"&&(o.props.options=n.custom_match_bo_list),o}))}function Kat(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 Gat(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 Xat(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 Qat=(e,t)=>{const n=Array.isArray(e);let r=re(C(n?e:[e],i=>Jat(i)));return n?r:r[0]};function Jat(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 It({dataCode:e.props.datasource_bind.data_code,fieldCode:o.props.field_code}))}),e}const Zat=(e,t)=>{const n=Array.isArray(e);let r=re(C(n?e:[e],i=>Yat(i)));return n?r:r[0]};function Yat(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 tft=(e,t)=>{const n=Array.isArray(e);let r=re(C(n?e:[e],i=>eft(i)));return n?r:r[0]};function eft(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 nft=(e,t)=>{const n=Array.isArray(e);let r=re(C(n?e:[e],i=>rft(i)));return n?r:r[0]},oft=[y.ROW,y.TAB,y.SUBTABLE,y.GRID_ROW,y.CARD_GROUP];function rft(e,t){return e.type===y.TAB_PANE&&(e.children=e.children.map(n=>{if(oft.includes(n.type))return n;const o=new jY.Designer,r=new DE.Designer;o.children.push(r);const i=o.toSchema();return i.children[0].children.push(n),i})),e}const ift=(e,t)=>{const n=Array.isArray(e);let r=re(C(n?e:[e],i=>uft(i)));return n?r:r[0]};function uft(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 lft=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>cft(i));return n?r:r[0]};function cft(e,t){return e.type===y.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}const aft=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>fft(i));return n?r:r[0]};function ge(e,t){e.field_code&&(e.field_type=t)}function fft(e,t){var o;const n={[y.TITLE]:O.AUTO_NUMBER,[y.ADDRESS]:O.ADDRESS,[y.ATTACHMENT]:O.FILE,[y.AUTO_NUMBER]:O.AUTO_NUMBER,[y.CHECKBOX]:O.ARRAY,[y.DATE_PICKER]:O.TIMESTAMP,[y.DEPARTMENT]:O.DEPARTMENTS,[y.DEPARTMENT2]:O.DEPARTMENTS,[y.EMPLOYEE]:O.EMPLOYEES,[y.EMPLOYEE2]:O.EMPLOYEES,[y.IMAGE]:O.IMAGE,[y.INPUT]:O.VARCHAR,[y.NUMBER]:O.DECIMAL,[y.RADIO]:O.VARCHAR,[y.RICH_TEXT]:O.TEXT,[y.SCORE]:O.DECIMAL,[y.SELECT]:O.VARCHAR,[y.SELECT_MULTIPLE]:O.ARRAY,[y.SELECT_RELATION]:O.VARCHAR,[y.TEXTAREA]:O.TEXT,[y.TREE]:O.ARRAY,[y.SEARCH_DATE_RANGE]:O.ARRAY,[y.SEARCH_INPUT]:O.VARCHAR,[y.SEARCH_NUMBER_RANGE]:O.ARRAY};return n.hasOwnProperty(e.type)&&ge(e.props.data_bind,n[e.type]),e.type===y.AMOUNT&&(ge(e.props.data_bind.amount,O.DECIMAL),ge(e.props.data_bind.currency,O.VARCHAR)),e.type===y.CALC&&(ge(e.props.data_bind.result,O.DECIMAL),ge(e.props.data_bind.unit,O.VARCHAR)),e.type===y.DATE_RANGE&&(ge(e.props.data_bind.min,O.TIMESTAMP),ge(e.props.data_bind.max,O.TIMESTAMP)),e.type===y.VUE_FORM_ITEM&&ge(e.props.data_bind,(o=e.field_type)!=null?o:O.ANY),e}const _ft=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>sft(i));return n?r:r[0]};function sft(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 yft=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>pft(i));return n?r:r[0]};function pft(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;[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 dft=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>vft(i));return n?r:r[0]};function vft(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 hft=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>bft(i));return n?r:r[0]};function bft(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 mft=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>gft(i));return n?r:r[0]};function gft(e,t){return e.type===y.TITLE&&e.props.config.push($e.ShowTitle),e.type===y.GRID_TABLE&&e.props.headers.map(n=>{var o,r,i,u,l,a,c,_,p,d,b,g,m,$,h,w,T,E,R,z,A,ct;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 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(((p=n.props)==null?void 0:p.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=(b=n.props)==null?void 0:b.edit.priority_process,D.props.openType=(g=n.props)==null?void 0:g.edit.open_type,D.props.formKey=(m=n.props)==null?void 0:m.edit.form_key,($=n.props)!=null&&$.edit.is_show&&n.children.push(D.toSchema()),(h=n.props)==null||delete h.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}}}),[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 Oft=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>wft(i,t));return n?r:r[0]};function wft(e,t){e.type===y.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===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 Of)}),e.type===y.CALC&&e.props.calc_on_mounted===void 0&&(e.props.calc_on_mounted=!0),$ft(t),e}function $ft(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:[Pft()]}];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 Pft(){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 Eft=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>Sft(i,t));return n?r:r[0]};function Sft(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 Rf),e}const Tft=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>Rft(i));return n?r:r[0]};function Rft(e,t){const n={[y.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),[y.LIST_PAGE_BTN_BATCH_PRINT_RECORD,y.EXPORT_LIST_BUTTON,y.EXPORT_RECORD_LIST_BUTTON,y.CREATE_FORM_LIST_BUTTON,y.IMPORT_RECORD_LIST_BUTTON,y.SUBMISSION_RECORD_LIST_BUTTON,y.BATCH_DELETE_LIST_BUTTON,y.BUTTON,y.SUBMISSION_RECORD_LIST_BUTTON,y.LIST_PAGE_BTN_BATCH_PRINT].includes(e.type)&&(e.control_type="base"),e.type===y.SUBTABLE&&e.props.mobile_default_num===void 0&&(e.props.mobile_default_num=e.props.mobile_show_type==="tile"?5:10),e}function Bft(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 Dft=(e,t)=>{const n=Array.isArray(e),o=n?e:[e],r={};let i=C(o,u=>{const l=Aft(u);return r[u.id]=u,l});return Bft(r,t),n?i:i[0]};function Aft(e,t){var n,o,r;if(e.type===y.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=re(new Q0({pc:i,mobile:i})),e.type===y.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===y.LIST_SELECT_BUTTON&&e.props.disable_filling===void 0&&(e.props.disable_filling=!1)}return e}const Ift=(e,t)=>{const n=Array.isArray(e),o=n?e:[e],r={};let i=C(o,u=>{const l=kft(u);return r[u.id]=u,l});return Fft(r,t),n?i:i[0]};function kft(e,t){return e}function Fft(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)===y.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 p,d,b,g;(p=_==null?void 0:_.cases)==null||p.map(m=>{var $;($=m==null?void 0:m.handlers)==null||$.map(h=>{var w,T,E,R;(h==null?void 0:h.method)==="optPage"&&h.params.operation==="refresh"&&(h.params.operation="close"),(h==null?void 0:h.method)==="openPage"&&((R=(E=(T=(w=h.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'})"&&(h.id="optPage",h.method="optPage",h.params={operation:"close"})})}),((g=(b=(d=_==null?void 0:_.cases)==null?void 0:d[0])==null?void 0:b.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(p=>{(p==null?void 0:p.method)==="optPage"&&p.params.operation==="close"&&(p.params.operation="edit")})})))})}const xft=(e,t)=>{const n=Array.isArray(e),o=n?e:[e],r={};let i=C(o,u=>{const l=Mft(u);return r[u.id]=u,l});return Lft(r,t),n?i:i[0]};function Mft(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=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 Lft(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 Cft=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>jft(i));return n?r:r[0]};function jft(e,t){var n,o;if(e.type===y.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===y.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 Nft=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>Vft(i));return Wft(r),zft(r),n?r:r[0]};function Vft(e,t){return e.type===y.SIMPLE_SEARCH&&e.children.forEach(n=>{if(n.type===y.SELECT||n.type===y.SELECT_MULTIPLE){const o=n;o.props.option_config==="datasource"&&(o.props.default_show_options=!1)}}),e}function zft(e){var t,n;if(e[0].type===y.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=Uft(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 yB(e,t){return t||(t={}),e.forEach(n=>{if(n.children)yB(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 Hft(e){return e=e.replace(/\(|\)/g,"").replace(/(\|\|)|(&&)/g,"__split__"),e.split("__split__").map(n=>n.replace(/^\s+|\s+$/gm,""))}function qft(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 Uft(e,t){const n=yB(e);return Hft(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:_}=qft(r);let p=`SpecialMatch(data, sys, '${i}', '${a}', '${c}', ${_||"''"})`;t=t.replace(r,p)}})}),t=t.replace(/params.data.data_value_map/g,"data"),t}function Wft(e){if(e[0].type===y.LIST_VIEW){const t=e[0].children.find(n=>n.type===y.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!==y.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 Kft=(e,t)=>{const n=Array.isArray(e);let r=Gft(n?e:[e],t);return n?r:r[0]};function Gft(e,t){const n=Qft(t);return n.length>0&&(Xft(n,t),pB(n,e)),e}function pB(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):pB(e,r.children)}}}function Xft(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 Qft(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 Jft=(e,t)=>{console.log(t,"payload");const n=Array.isArray(e);let r=C(n?e:[e],i=>Yft(i));return n?r:r[0]},Zft=e=>["yylb_kujg9i5r","btdev_listin_n","yylb_gd_ryneloyh","byteluck_list_"].some(t=>t.includes(e)||e.includes(t));function Yft(e,t){if(Zft(e.type)){const n=re(new NN.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 t_t=(e,t)=>{console.log(t,"payload");const n=Array.isArray(e);let r=C(n?e:[e],i=>e_t(i));return n?r:r[0]};function e_t(e,t){if(e.type===y.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 dB={"v1.0":Mat,"v2.0":Qat,"v2.1":Zat,"v2.2":tft,"v2.3":nft,"v2.4":ift,"v2.5":lft,"v2.6":aft,"v2.7":_ft,"v2.8":yft,"v2.9":dft,"v2.10":hft,"v3.0":mft,"v3.1":Oft,"v3.2":Eft,"v3.3":Tft,"v3.4":Dft,"v3.5":Ift,"v3.6":xft,"v3.7":Cft,"v3.8":Nft,"v3.10":Kft,"v3.11":Jft,"v3.12":t_t,"v3.13":()=>{}};const vB=(e,t)=>{const n=hB(e),o=hB(t),r=n.pop(),i=o.pop(),u=gB(n,o);return u!==0?u:r&&i?gB(r.split("."),i.split(".")):r||i?r?-1:1:0},rf=(e,t,n)=>{i_t(n);const o=vB(e,t);return OB[n].includes(o)},n_t=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,hB=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(n_t);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},bB=e=>e==="*"||e==="x"||e==="X",mB=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},o_t=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],r_t=(e,t)=>{if(bB(e)||bB(t))return 0;const[n,o]=o_t(mB(e),mB(t));return n>o?1:n<o?-1:0},gB=(e,t)=>{for(let n=0;n<Math.max(e.length,t.length);n++){const o=r_t(e[n]||"0",t[n]||"0");if(o!==0)return o}return 0},OB={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},wB=Object.keys(OB),i_t=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(wB.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${wB.join("|")}`)};function b0(e){return e.replace(/^v/,"")}const Wn=Object.keys(dB).map(e=>b0(e)).sort(vB),Fo=Wn[Wn.length-1];class u_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 p;const a=(p=l[u+1])!=null?p:this.toVersion;Co(`Version Builder: current version: ${i}, nextVersion: ${a}`);const c=dB[i];let _=r;if(typeof c=="function"){const d=c(r,n);d&&(_=d)}return _},t);return Co(`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}}Fe.VersionBuilder=u_t,Object.defineProperty(Fe,"__esModule",{value:!0})});