@byteluck-fe/model-driven-upgrade 2.8.1-alpha.8 → 2.8.1-beta.9

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(An,Wr){typeof exports=="object"&&typeof module!="undefined"?Wr(exports):typeof define=="function"&&define.amd?define(["exports"],Wr):(An=typeof globalThis!="undefined"?globalThis:An||self,Wr(An.modelDrivenUpgrade={}))})(this,function(An){"use strict";var Wr="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",$T="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",PT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",RT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",ST="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",ET="{caption}\u5FC5\u586B",TT="\u8BF7\u8F93\u5165\u6807\u9898",IT="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",BT="\u8BF7\u8F93\u5165\u884C\u6807\u9898",AT="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",xT="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",kT="\u8BF7\u7ED1\u5B9A\u8868\u5355",DT="\u8BF7\u7ED1\u5B9A\u5217\u8868",FT="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",NT="\u8BF7\u8F93\u5165\u663E\u793A\u503C",jT="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",MT="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",LT="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",CT="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",VT="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",zT="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",HT="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",qT="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",UT="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",WT="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",KT="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",GT="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",XT="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",JT="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",QT="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",ZT="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",YT="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",e3="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",t3="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",n3="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",r3="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",o3="\u8BF7\u7ED1\u5B9A\u670D\u52A1",i3="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",u3="\u8BF7\u9009\u62E9\u7701",c3="\u8BF7\u9009\u62E9\u5E02",l3="\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",s3="\u8BF7\u8F93\u5165\u5217\u5BBD",_3="\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",g3="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",m3="\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",R3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",S3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",E3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",T3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",I3="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",B3="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",A3="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",x3="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",k3="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",D3="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",F3="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",N3="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",j3="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",M3="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",L3="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",C3="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",V3="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",z3={isNotNumber:Wr,isNotString:$T,isNotObject:PT,isNotArray:RT,isNotBoolean:ST,runtimeRequired:ET,pleaseEnterCaption:TT,pleaseEnterCaptionTip:IT,pleaseEnterRowCaption:BT,pleaseEnterPlaceholder:AT,pleaseEnterFieldCode:xT,pleaseEnterForm:kT,pleaseEnterList:DT,pleaseEnterProcess:FT,pleaseEnterLabel:NT,pleaseEnterValue:jT,bizKeyNotBindFiled:MT,pleaseSelectOneField:LT,pleaseEnterNumberRange:CT,pleaseEnterAValueGreaterThanMin:VT,pleaseEnterAValueLessThanMax:zT,numberRangeSetError:HT,stringRangeError:qT,attachmentMaxSize:UT,pleaseEnterTotalScoreSetting:WT,theTotalScoreMustNotBeLessThan1:KT,scoreDefaultValueRange:GT,attachmentLimitError:XT,PleaseReselectTheOptionalQuantity:JT,TheMaximumLengthIsGreaterThanTheMinimumLength:QT,TheMinimumLengthIsGreaterThanTheMaximumLength:ZT,PleaseSelectTheCorrectOptionSettings:YT,optionIdIsRepeat:e3,optionIsRequired:t3,pleaseEnterDataCode:n3,pleaseEnterValueFieldCode:r3,pleaseEnterSvcCode:o3,pleaseBindAtLeastOneDisplayValue:i3,pleaseSelectProvince:u3,pleaseSelectCity:c3,pleaseSelectDistrict:l3,limitRowsCannotBeLessThan0:a3,TheNumberOfRowsCannotBeLessThanMinRows:f3,pleaseEnterColumnWidth:s3,pleaseSetTheLogicalRelationshipOfAllRuleConditions:_3,pleaseCompleteAllRulesAndConditions:y3,pleaseSelectControl:p3,pleaseSelectAtLeastOneColumn:d3,pleaseSelectFillBackMode:v3,pleaseSelectDashboard:h3,rootNodeIsRequired:b3,theViewNameCannotBeEmpty:g3,pleaseSelectOcrType:m3,pleaseSelectAtLeastOneFieldToFillIn:O3,pleaseChooseAtLeastOne:w3,pleaseEnterButtonContent:$3,pleaseEnterDataCodeInDataSetting:P3,pleaseEnterValueFieldCodeInDataSetting:R3,pleaseEnterSvcCodeInDataSetting:S3,pleaseBindAtLeastOneDisplayValueInDataSetting:E3,rootNodeIsRequiredInDataSetting:T3,pleaseEnterMaxHeight:I3,pleaseEnter:B3,pleaseEnterWatermark:A3,pleaseEnterFileName:x3,pleaseUploadAtLeastOnePrintTemplate:k3,pleaseAssignBusiness:D3,pleaseAssignExternal:F3,pleaseEnterAliasCode:N3,pleaseSelectDataCode:j3,pleaseSelectSvcCode:M3,pleaseSelectJoinFieldCode:L3,pleaseSelectMainFieldCode:C3,pleaseSelectSortFieldCode:V3},H3="Please enter a number",q3="Please enter a string",U3="Please enter an object",W3="Please enter an array",K3="Please enter a boolean",G3="{caption} Required",X3="Please enter the title",J3="Please enter the bubble prompt",Q3="Please enter the row title",Z3="Please enter the prompt text",Y3="Please bind data items",eI="Please bind the form",tI="Please bind the list",nI="Please bind the process",rI="Please enter the displayed value",oI="Please enter the stored value",iI="The document number is not bound to the data item",uI="Please select at least one display field",cI="Please enter a value greater than or equal to {min} and less than or equal to {max}",lI="Please enter a value greater than or equal to {min}",aI="Please enter a value less than or equal to {max}",fI="The value range is set incorrectly",sI="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",_I="The attachment size must be between 0MB and 1000MB",yI="Please fill in the total score setting",pI="The total score cannot be less than 1",dI="The default value must be between {min} and {max}",vI="The number of attachments uploaded must be between {min} and {max}",hI="Please re-select the optional quantity",bI="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",mI="Please select the correct option setting",OI="Option ID cannot be repeated",wI="Please enter at least one option",$I="Please bind the data source",PI="Please bind the stored value",RI="Please bind the service",SI="At least one display value must be bound",EI="Please select a province",TI="Please select a city",II="Please select a district",BI="The minimum number of lines to fill in cannot be less than 0",AI="The number of rows cannot be less than {min} rows",xI="Please enter the column width",kI="Please set the logical relationship of all rule conditions",DI="Please complete all rules and conditions",FI="please select control",NI="Please select the dashboard",jI="View name cannot be empty",MI="Please select recognition type",LI="Please select at least one field to fill in",CI="Please select at least one",VI="Please enter the button title",zI="Please bind the business model in the data settings",HI="Please bind storage values in data settings",qI="Please bind the service in the data settings",UI="Please bind at least one display value in the data settings",WI="Please select the root node in the data settings",KI="Please enter the maximum height",GI="The input content cannot be empty",XI="Watermark cannot be empty",JI="File name cannot be empty",QI="Please upload at least one printing template!\uFF01",ZI="Please select a specific business department",YI="Please select a specified external organization",eB="Please enter a sub table alias",tB="Please select the associated table to set the business model",nB="Please select the association table to set the binding service",rB="Select associated sub table fields",oB="Please select the associated main table field",iB="Please select the sort field",uB={isNotNumber:H3,isNotString:q3,isNotObject:U3,isNotArray:W3,isNotBoolean:K3,runtimeRequired:G3,pleaseEnterCaption:X3,pleaseEnterCaptionTip:J3,pleaseEnterRowCaption:Q3,pleaseEnterPlaceholder:Z3,pleaseEnterFieldCode:Y3,pleaseEnterForm:eI,pleaseEnterList:tI,pleaseEnterProcess:nI,pleaseEnterLabel:rI,pleaseEnterValue:oI,bizKeyNotBindFiled:iI,pleaseSelectOneField:uI,pleaseEnterNumberRange:cI,pleaseEnterAValueGreaterThanMin:lI,pleaseEnterAValueLessThanMax:aI,numberRangeSetError:fI,stringRangeError:sI,attachmentMaxSize:_I,pleaseEnterTotalScoreSetting:yI,theTotalScoreMustNotBeLessThan1:pI,scoreDefaultValueRange:dI,attachmentLimitError:vI,PleaseReselectTheOptionalQuantity:hI,TheMaximumLengthIsGreaterThanTheMinimumLength:bI,TheMinimumLengthIsGreaterThanTheMaximumLength:gI,PleaseSelectTheCorrectOptionSettings:mI,optionIdIsRepeat:OI,optionIsRequired:wI,pleaseEnterDataCode:$I,pleaseEnterValueFieldCode:PI,pleaseEnterSvcCode:RI,pleaseBindAtLeastOneDisplayValue:SI,pleaseSelectProvince:EI,pleaseSelectCity:TI,pleaseSelectDistrict:II,limitRowsCannotBeLessThan0:BI,TheNumberOfRowsCannotBeLessThanMinRows:AI,pleaseEnterColumnWidth:xI,pleaseSetTheLogicalRelationshipOfAllRuleConditions:kI,pleaseCompleteAllRulesAndConditions:DI,pleaseSelectControl:FI,pleaseSelectDashboard:NI,theViewNameCannotBeEmpty:jI,pleaseSelectOcrType:MI,pleaseSelectAtLeastOneFieldToFillIn:LI,pleaseChooseAtLeastOne:CI,pleaseEnterButtonContent:VI,pleaseEnterDataCodeInDataSetting:zI,pleaseEnterValueFieldCodeInDataSetting:HI,pleaseEnterSvcCodeInDataSetting:qI,pleaseBindAtLeastOneDisplayValueInDataSetting:UI,rootNodeIsRequiredInDataSetting:WI,pleaseEnterMaxHeight:KI,pleaseEnter:GI,pleaseEnterWatermark:XI,pleaseEnterFileName:JI,pleaseUploadAtLeastOnePrintTemplate:QI,pleaseAssignBusiness:ZI,pleaseAssignExternal:YI,pleaseEnterAliasCode:eB,pleaseSelectDataCode:tB,pleaseSelectSvcCode:nB,pleaseSelectJoinFieldCode:rB,pleaseSelectMainFieldCode:oB,pleaseSelectSortFieldCode:iB},cB="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",lB="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",aB="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",fB="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",sB="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",_B="{caption}\u5FC5\u9808",yB="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",pB="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",dB="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",vB="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",hB="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",bB="\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",mB="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",OB="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",wB="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$B="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",PB="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",RB="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",SB="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",EB="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",TB="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",IB="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",BB="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",AB="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",xB="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",kB="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",DB="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",FB="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",NB="\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",jB="\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",MB="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",LB="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",CB="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",VB="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",zB="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",HB="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",qB="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",UB="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",WB="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",KB="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",GB="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",XB="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",JB="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",QB="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ZB="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",YB="please select control",e1="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",t1="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",n1="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",r1="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",o1="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",i1="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",u1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",c1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",l1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",a1="\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",f1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",s1="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",_1="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",y1="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",p1="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",d1="\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",v1="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",h1="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",b1="\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",m1="\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",O1="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",w1="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",$1="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",P1={isNotNumber:cB,isNotString:lB,isNotObject:aB,isNotArray:fB,isNotBoolean:sB,runtimeRequired:_B,pleaseEnterCaption:yB,pleaseEnterCaptionTip:pB,pleaseEnterRowCaption:dB,pleaseEnterPlaceholder:vB,pleaseEnterFieldCode:hB,pleaseEnterForm:bB,pleaseEnterList:gB,pleaseEnterProcess:mB,pleaseEnterLabel:OB,pleaseEnterValue:wB,bizKeyNotBindFiled:$B,pleaseSelectOneField:PB,pleaseEnterNumberRange:RB,pleaseEnterAValueGreaterThanMin:SB,pleaseEnterAValueLessThanMax:EB,numberRangeSetError:TB,stringRangeError:IB,attachmentMaxSize:BB,pleaseEnterTotalScoreSetting:AB,theTotalScoreMustNotBeLessThan1:xB,scoreDefaultValueRange:kB,attachmentLimitError:DB,PleaseReselectTheOptionalQuantity:FB,TheMaximumLengthIsGreaterThanTheMinimumLength:NB,TheMinimumLengthIsGreaterThanTheMaximumLength:jB,PleaseSelectTheCorrectOptionSettings:MB,optionIdIsRepeat:LB,optionIsRequired:CB,pleaseEnterDataCode:VB,pleaseEnterValueFieldCode:zB,pleaseEnterSvcCode:HB,pleaseBindAtLeastOneDisplayValue:qB,pleaseSelectProvince:UB,pleaseSelectCity:WB,pleaseSelectDistrict:KB,limitRowsCannotBeLessThan0:GB,TheNumberOfRowsCannotBeLessThanMinRows:XB,pleaseEnterColumnWidth:JB,pleaseSetTheLogicalRelationshipOfAllRuleConditions:QB,pleaseCompleteAllRulesAndConditions:ZB,pleaseSelectControl:YB,pleaseSelectDashboard:e1,theViewNameCannotBeEmpty:t1,pleaseSelectOcrType:n1,pleaseSelectAtLeastOneFieldToFillIn:r1,pleaseChooseAtLeastOne:o1,pleaseEnterButtonContent:i1,pleaseEnterDataCodeInDataSetting:u1,pleaseEnterValueFieldCodeInDataSetting:c1,pleaseEnterSvcCodeInDataSetting:l1,pleaseBindAtLeastOneDisplayValueInDataSetting:a1,rootNodeIsRequiredInDataSetting:f1,pleaseEnterMaxHeight:s1,pleaseEnter:_1,pleaseEnterWatermark:y1,pleaseEnterFileName:p1,pleaseUploadAtLeastOnePrintTemplate:d1,pleaseAssignBusiness:v1,pleaseAssignExternal:h1,pleaseEnterAliasCode:b1,pleaseSelectDataCode:g1,pleaseSelectSvcCode:m1,pleaseSelectJoinFieldCode:O1,pleaseSelectMainFieldCode:w1,pleaseSelectSortFieldCode:$1},R1={zhCN:z3,enUS:uB,jaJP:P1},kb;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(kb||(kb={}));var Db;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(Db||(Db={}));var S1="zh-CN";function De(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var xn;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(xn||(xn={}));var y;(function(e){e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",e.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.ORGANIZATION_SELECTION="organization-selection",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.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"})(y||(y={}));var m;(function(e){e.VARCHAR="varchar",e.TEXT="text",e.ARRAY="array",e.ADDRESS="location",e.DECIMAL="decimal",e.DECIMAL_RANGE="decimal_range",e.TIMESTAMP="timestamp",e.EMPLOYEES="people",e.DEPARTMENTS="department",e.MONEY="money",e.TIMESCOPE="timescope",e.FILE="file",e.IMAGE="image",e.AUTO_NUMBER="auto_number",e.CALC="calc",e.RELATION="relation",e.LIST="list",e.RELATION_FIELD="relation-field",e.REFERENCE_FIELD="reference-field",e.CALC_FIELD="calc",e.JSON="json",e.BIGINT="bigint",e.ANY="ANY",e.ENCRYPTED_FIELD="encrypted_field"})(m||(m={}));var me;me={},De(me,"array","array-column"),De(me,"auto_number","auto-number-column"),De(me,"decimal","decimal-column"),De(me,"department","department-column"),De(me,"file","file-column"),De(me,"image","image-column"),De(me,"location","location-column"),De(me,"people","employee-column"),De(me,"text","text-column"),De(me,"timescope","timescope-column"),De(me,"timestamp","timestamp-column"),De(me,"varchar","varchar-column"),De(me,"relation","varchar-column");var Vt;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"})(Vt||(Vt={}));var Fb="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",E1=Fb+"0123456789";function Je(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",r=0;r<e;r++){var n=r===0?Fb:E1,o=Math.random()*n.length;t+=n[parseInt(String(o),10)]}return t}function Qf(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function T1(e){if(Array.isArray(e))return Qf(e)}function I1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function So(e,t,r){return Lb()?So=Reflect.construct:So=function(o,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(o,c),l=new a;return u&&Gr(l,u.prototype),l},So.apply(null,arguments)}function Kr(e){return Kr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kr(e)}function jb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gr(e,t)}function B1(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function A1(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function x1(){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 k1(e,t){return t&&(D1(t)==="object"||typeof t=="function")?t:I1(e)}function Gr(e,t){return Gr=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gr(e,t)}function Mb(e){return T1(e)||A1(e)||F1(e)||x1()}function D1(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function F1(e,t){if(!!e){if(typeof e=="string")return Qf(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Qf(e,t)}}function Zf(e){var t=typeof Map=="function"?new Map:void 0;return Zf=function(n){if(n===null||!B1(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return So(n,arguments,Kr(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Gr(o,n)},Zf(e)}function Lb(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Cb(e){var t=Lb();return function(){var n=Kr(e),o;if(t){var i=Kr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return k1(this,o)}}var Yf=console;function es(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o=t.slice(1);(n=Yf).warn.apply(n,["\u{1F9D0} Driven Warning:"+t[0]].concat(Mb(o)))}function Eo(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o=t.slice(1);(n=Yf).log.apply(n,["\u{1F680} Driven Log:"+t[0]].concat(Mb(o)))}function N1(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var ts=function(e){jb(r,e);var t=Cb(r);function r(n){Nb(this,r);var o;return o=t.call(this,n),o.name="\u{1F4A5} Driven Error",o.message=n?N1(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return r}(Zf(Error)),j1=function(e){jb(r,e);var t=Cb(r);function r(n){Nb(this,r);var o;return o=t.call(this,n),o.name="\u{1F6A8} Driven Reference Error",o}return r}(ts);function Xr(e){throw new ts(e)}function Vb(e){throw new j1(e)}function M1(e){Yf.error(new ts(e))}var L1=Object.prototype.toString;function zb(e,t){return L1.call(e)==="[object "+t+"]"}function C1(e){return zb(e,"String")}function V1(e){return zb(e,"Promise")}var z1=function(){function e(t){var r,n;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((n=(r=t.messages)!==null&&r!==void 0?r:this.getPreImport(t.locale))!==null&&n!==void 0?n:{}),t.variableRegExp&&(this.variableRegExp=t.variableRegExp),this.setLocale(t.locale)}return e.prototype.setLocale=function(t){var r=this;this.locale=t,this._messageCache.clear();var n=this.getMessageData();V1(n)?n.then(function(o){r._messageCache.clear(),r.messages[r.localeInMessageKey]=o}):this.messages[this.localeInMessageKey]=n},e.prototype.getMessageData=function(){var t=this._messages[this.localeInMessageKey];return typeof t=="function"?t():t},e.prototype.translate=function(t,r,n){var o=this.getMessage(t);return o?this.formatMessage(o,n):this.formatMessage(r,n)},e.prototype.getMessage=function(t){if(this._messageCache.has(t))return this._messageCache.get(t);var r=this.getPathArray(t),n=r.reduce(function(o,i,u,c){if(o!==void 0){var a=o[i];if(!(u===c.length-1&&!C1(a)))return a}},this.message);return this._messageCache.set(t,n),n},e.prototype.formatMessage=function(t,r){return r?t.replace(this.variableRegExp,function(n,o){var i=r[o];return i!==void 0?String(i):n}):t},e.prototype.getPreImport=function(t){var r;if(window.okI18nPreImport){var n=this.getLocaleInMessageKey(t);return window.okI18nPreImport.hasOwnProperty(n)?window.okI18nPreImport:(r={},r[n]=window.okI18nPreImport,r)}},e.prototype.getPathArray=function(t){return t.split(".")},e.prototype.getLocaleInMessageKey=function(t){return t.replace(/-/g,"")},Object.defineProperty(e.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"message",{get:function(){var t;return(t=this.messages[this.localeInMessageKey])!==null&&t!==void 0?t:{}},enumerable:!1,configurable:!0}),e}();function H1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function q1(e,t,r){return t&&Hb(e.prototype,t),r&&Hb(e,r),e}function U1(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var d=function(){function e(){H1(this,e)}return q1(e,null,[{key:"getMessage",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(r,"",n)}},{key:"resetI18n",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:S1;return new z1({locale:r,messages:R1})}},{key:"setLocale",value:function(r){return this.$i18n.setLocale(r)}}]),e}();U1(d,"$i18n",d.resetI18n());function W1(e,t,r){var n=t.replace(/\[(\d)]/g,function(i,u){return"."+u}).split("."),o=!1;return n.reduce(function(i,u,c,a){var l=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,u)){es("Can not set ".concat(t,"'s ").concat(u," property in current %o, Because there is no ").concat(u," property on the %o"),i,i);return}return c===a.length-1&&!Object.is(l[u],r)&&(l[u]=r,o=!0),l[u]}},e),o}var K1=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ns={exports:{}};(function(e){(function(t){var r=function(v,$,P){if(!l($)||_($)||p($)||b($)||a($))return $;var R,S=0,j=0;if(f($))for(R=[],j=$.length;S<j;S++)R.push(r(v,$[S],P));else{R={};for(var T in $)Object.prototype.hasOwnProperty.call($,T)&&(R[v(T,P)]=r(v,$[T],P))}return R},n=function(v,$){$=$||{};var P=$.separator||"_",R=$.split||/(?=[A-Z])/;return v.split(R).join(P)},o=function(v){return O(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function($,P){return P?P.toUpperCase():""}),v.substr(0,1).toLowerCase()+v.substr(1))},i=function(v){var $=o(v);return $.substr(0,1).toUpperCase()+$.substr(1)},u=function(v,$){return n(v,$).toLowerCase()},c=Object.prototype.toString,a=function(v){return typeof v=="function"},l=function(v){return v===Object(v)},f=function(v){return c.call(v)=="[object Array]"},_=function(v){return c.call(v)=="[object Date]"},p=function(v){return c.call(v)=="[object RegExp]"},b=function(v){return c.call(v)=="[object Boolean]"},O=function(v){return v=v-0,v===v},g=function(v,$){var P=$&&"process"in $?$.process:$;return typeof P!="function"?v:function(R,S){return P(R,v,S)}},w={camelize:o,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(v,$){return r(g(o,$),v)},decamelizeKeys:function(v,$){return r(g(u,$),v,$)},pascalizeKeys:function(v,$){return r(g(i,$),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=w:t.humps=w})(K1)})(ns);var qb={};Object.defineProperty(qb,"__esModule",{value:!0});function rs(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:rs(t));{const t={};for(const r in e){const n=e[r];t[r]=typeof n!="object"||n===null?n:rs(n)}return t}}var G1=qb.default=rs;function zt(e){if(e!==void 0)return typeof e=="object"?G1(e):e}function Oe(e){return Ub(e)&&"zh"in e}function Ub(e){return Object.prototype.toString.call(e)==="[object Object]"}function os(e){return Array.isArray(e)}function kn(e){return isNaN(parseFloat(e))?"":Number(e)}function X1(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function oe(e,t){var r=[];return Array.isArray(e)&&(r=e.map(function(n){var o=n;return Array.isArray(n==null?void 0:n.children)&&(o.children=oe(n.children,t)),Array.isArray(n==null?void 0:n.footers)&&(o.footers=oe(n.footers,t)),t(o)})),r}function J1(e){return ns.exports.camelizeKeys(e)}function Dn(e){return ns.exports.decamelizeKeys(e)}function is(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Q1(e){if(Array.isArray(e))return is(e)}function Wb(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(l){r(l);return}c.done?t(a):Promise.resolve(a).then(n,o)}function Z1(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){Wb(i,n,o,u,c,"next",a)}function c(a){Wb(i,n,o,u,c,"throw",a)}u(void 0)})}}function Y1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function eA(e,t,r){return t&&Kb(e.prototype,t),r&&Kb(e,r),e}function Gb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tA(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function nA(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function us(e){return Q1(e)||tA(e)||rA(e)||nA()}function rA(e,t){if(!!e){if(typeof e=="string")return is(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return is(e,t)}}function oA(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(f){l=[6,f],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var iA=function(){function e(){Y1(this,e),Gb(this,"_events",new Map),Gb(this,"debug",!1)}return eA(e,[{key:"emit",value:function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];var u=this;return Z1(function(){var c,a,l,f,_,p,b,O,g,w,v,$;return oA(this,function(P){switch(P.label){case 0:if(c=u._events.get(r),a=[],!c)return[3,10];l=c.slice(),f=!0,_=!1,p=void 0,P.label=1;case 1:P.trys.push([1,8,9,10]),b=l[Symbol.iterator](),P.label=2;case 2:if(f=(O=b.next()).done)return[3,7];if(g=O.value,!c.includes(g))return[3,6];P.label=3;case 3:return P.trys.push([3,5,,6]),u.debug&&Eo.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \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(o.map(function(){return"%o"}).join(","),"\u3002")].concat(us(o))),[4,g.apply(null,us(o))];case 4:return w=P.sent(),u.debug&&Eo.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \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(o.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(us(o),[w])),a.push(w),w===!1?[3,7]:[3,6];case 5:return v=P.sent(),M1(String(v)+":"+String(v.stack)),[3,6];case 6:return f=!0,[3,2];case 7:return[3,10];case 8:return $=P.sent(),_=!0,p=$,[3,10];case 9:try{!f&&b.return!=null&&b.return()}finally{if(_)throw p}return[7];case 10:return[2,a]}})})()}},{key:"on",value:function(r,n){if(this._events.has(r)){var o;(o=this._events.get(r))===null||o===void 0||o.push(n)}else this._events.set(r,[n])}},{key:"off",value:function(r,n){if(this._events.has(r)){var o=this._events.get(r),i=o==null?void 0:o.indexOf(n);o==null||o.splice(i,1)}}},{key:"delete",value:function(r){this._events.has(r)&&this._events.delete(r)}},{key:"clear",value:function(){this._events=new Map}}]),e}();function uA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cA(e,t,r){return t&&Xb(e.prototype,t),r&&Xb(e,r),e}function lA(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var aA=[{key:"on_click",name:"\u70B9\u51FB\u65F6",code:"click"},{key:"on_click_finish",name:"\u6267\u884C\u5B8C\u6210\u65F6",code:"click-finish"},{key:"on_change",name:"\u503C\u53D1\u751F\u53D8\u5316\u65F6",code:"change"},{key:"on_search",name:"\u641C\u7D22\u65F6",code:"search"},{key:"on_list_change",name:"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",code:"list-change"},{key:"on_list_search",name:"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",code:"list-search"},{key:"on_list_mounted",name:"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",code:"list-mounted"},{key:"on_list_delete",name:"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",code:"list-delete"},{key:"on_list_before_insert",name:"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",code:"list-before-insert"},{key:"on_input",name:"\u7528\u6237\u8F93\u5165\u65F6",code:"input"},{key:"on_blur",name:"\u5931\u53BB\u7126\u70B9\u65F6",code:"blur"},{key:"on_focus",name:"\u83B7\u53D6\u7126\u70B9\u65F6",code:"focus"},{key:"on_wps_open",name:"\u6253\u5F00\u6587\u4EF6\u65F6",code:"wps-open"},{key:"on_wps_save",name:"\u4FDD\u5B58\u6587\u4EF6\u65F6",code:"wps-save"},{key:"on_wps_rename",name:"\u91CD\u547D\u540D\u65F6",code:"wps-rename"},{key:"on_list_actions",name:"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",code:"list-actions"},{key:"on_list_render_operation",name:"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",code:"list-render-operation"},{key:"on_list_rowclick",name:"\u884C\u70B9\u51FB\u65F6",code:"list-rowclick"},{key:"on_list_before_rowdelete",name:"\u884C\u5220\u9664\u524D",code:"list-before-rowdelete"},{key:"on_list_before_import",name:"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",code:"list-before-import"},{key:"on_list_rows_checked",name:"\u884C\u9009\u4E2D\u65F6",code:"list-rows-checked"},{key:"on_change_tab",name:"\u6807\u7B7E\u9875\u5207\u6362\u65F6",code:"change-tab"},{key:"on_modal_ok",name:"\u5F39\u7A97\u786E\u8BA4\u65F6",code:"modal-ok"}],fA=function(){function e(){uA(this,e)}return cA(e,[{key:"getEventsFromKeys",value:function(r){var n=typeof r=="string"?[r]:r;return e.events.filter(function(o){return n.includes(o.key)})}}]),e}();lA(fA,"events",aA);function cs(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function sA(e){if(Array.isArray(e))return cs(e)}function _A(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function yA(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Jb(e){return sA(e)||_A(e)||pA(e)||yA()}function pA(e,t){if(!!e){if(typeof e=="string")return cs(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return cs(e,t)}}function ls(e,t){var r;!((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0)&&r.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function Qb(e,t,r){r==="Designer"&&(e.parent=t,ls(e,"parent"))}function dA(e,t,r){e.forEach(function(n){Qb(n,t,r)})}var Zb=Symbol("targetKey");function Yb(e){var t;return(t=e[Zb])!==null&&t!==void 0?t:e}function eg(e,t,r){return dA(e,t,r),new Proxy(e,{get:function(o,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===Zb?o:(l=Reflect).get.apply(l,[o,i].concat(Jb(c)))},set:function(o,i,u){for(var c=arguments.length,a=new Array(c>3?c-3:0),l=3;l<c;l++)a[l-3]=arguments[l];var f;if(os(e)&&i==="length"&&u===e.length)return!0;var _=(f=Reflect).set.apply(f,[o,i,u].concat(Jb(a)));return Ub(u)&&Qb(u,t,r),_}})}function Pt(e,t,r,n,o){var i=n!=null?n:e,u=eg(Yb(r!=null?r:[]),i,o);Object.defineProperty(e,t,{get:function(){return u},set:function(a){u=eg(Yb(a),i,o)},enumerable:!0})}function vA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hA(e,t,r){return t&&tg(e.prototype,t),r&&tg(e,r),e}function Ht(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ng=[],To=function(){function e(t){vA(this,e),Ht(this,"registeredControlTypes",new Set),Ht(this,"controlConfigMap",new Map),Ht(this,"_controls",[]),Ht(this,"_type",void 0),this._type=t,this._initControls(t)}return hA(e,[{key:"registerControlConfig",value:function(r,n){return this.controlConfigMap.set(r,n),this}},{key:"getControlConfig",value:function(r){return this.controlConfigMap.get(r)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(r){r.__is_control__||Xr("".concat(r.name," is not a Control"));var n=this._controls.findIndex(function(o){return o.controlType===r.controlType});return n>-1&&(es("The ".concat(r.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(n,1)),this.registeredControlTypes.add(r.controlType),this._controls.push(r),this}},{key:"isLayoutControl",value:function(r){return r.controlType===xn.LAYOUT}},{key:"isFormControl",value:function(r){return r.controlType===xn.FORM}},{key:"isListControl",value:function(r){return r.controlType===xn.LIST}},{key:"isColumnControl",value:function(r){return r.controlType===xn.COLUMN}},{key:"createControl",value:function(r,n){var o=this;if(Array.isArray(r))return r.map(function(f){return o.createControl(f,n)});if(r.children&&(r.children=r.children.map(function(f){return o.createControl(f,n)})),this.isListControl(r)){var i=r.props;i.headers&&(i.headers=i.headers.map(function(f){return o.createControl(f,n)})),i.footers&&(i.footers=i.footers.map(function(f){var _;return f&&(_=o.createControl(f,n)),_}))}var u=this.getControlFormType(r.type);if(u){var c=r;if(typeof n=="function"){var a=n(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 Xr("The constructor of ".concat(r.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(r,n){delete r.parent,Object.defineProperty(r,"parent",{configurable:!0,get:function(){return n}}),ls(r,"parent")}},{key:"_setParentPrototypeToSchema",value:function(r,n){n._type==="Runtime"&&(Object.defineProperty(r,"parent",{configurable:!0,get:function(){var i=r.id,u=n._controlParentIdMap,c=n.instanceMap;if(!(!u||!c)){var a=u[i],l=c[i];if(!(!a&&!l)){var f=l.findIndex(function(b){return b==r}),_=c[a]||[],p;return _.length!==l.length?p=_[0]:p=_[f],p}}}}),ls(r,"parent"))}},{key:"createControlInstance",value:function(r,n){var o=this.getControlFormType(r);if(o)return new o(n)}},{key:"getControlFormType",value:function(r){return this._controls.find(function(n){return n.controlType===r})}},{key:"_initControls",value:function(r){var n=this;this.constructor.staticControls.forEach(function(o){n.register(o[r]),e.staticControlsRuntimeRules.set(o.Runtime.controlType,o.Property.RuntimeRules),o.Property.mode=r})}}],[{key:"staticGetRules",value:function(r,n){var o=e.staticControlsRuntimeRules.get(r),i=[];if(o){var u=new o(n);i=Array.from(u)}return i}},{key:"register",value:function(r,n){var o=r.Designer,i=r.Runtime,u=r.Property;(!o||!i||!o.__is_control__||!i.__is_control__)&&Xr("".concat(r," is can't register as a Control"));var c=this.staticControls.findIndex(function(a){return a.Designer.controlType===o.controlType});return c>-1&&(es("The ".concat(o.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(c,1)),this.staticRegisteredTypes.add(o.controlType),this.staticControls.push(r),u.mode=n,this}}]),e}();Ht(To,"staticControlsRuntimeRules",new Map),Ht(To,"staticControls",ng),Ht(To,"staticRegisteredTypes",new Set(ng.map(function(e){return e.Designer.controlType}))),Ht(To,"staticRegisteredConfigs",new Map);function M(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Io(e){return Io=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Io(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&&as(e,t)}function bA(e,t){return t&&(gA(t)==="object"||typeof t=="function")?t:M(e)}function as(e,t){return as=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},as(e,t)}function gA(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ze(e){var t=mA();return function(){var n=Io(e),o;if(t){var i=Io(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bA(this,o)}}var Ye=function e(t){E(this,e),h(this,"dataCode",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(this,"aliasCode",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:"",this.aliasCode=t==null?void 0:t.aliasCode},rg=function e(t){E(this,e),h(this,"minWidth",void 0),h(this,"maxWidth",void 0),h(this,"flex",void 0);var r;this.minWidth=(r=t==null?void 0:t.minWidth)!==null&&r!==void 0?r:150,this.maxWidth=t==null?void 0:t.maxWidth;var n;this.flex=(n=t==null?void 0:t.flex)!==null&&n!==void 0?n:1},fs=function(e){Qe(r,e);var t=Ze(r);function r(n){E(this,r);var o;o=t.call(this,n),h(M(o),"width",void 0),h(M(o),"widthType",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:240;var u;return o.widthType=(u=n==null?void 0:n.widthType)!==null&&u!==void 0?u:"auto",o}return r}(rg),og=function e(t){E(this,e),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new fs(t==null?void 0:t.pc),this.mobile=t!=null&&t.mobile?new fs(t==null?void 0:t.mobile):new fs({width:130,minWidth:180})},OA=function e(t){E(this,e),h(this,"type",void 0),h(this,"customOptions",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"firstThree";var n;this.customOptions=(n=t==null?void 0:t.customOptions)!==null&&n!==void 0?n:[]},Fn=function e(t){E(this,e),h(this,"dataCode",void 0),h(this,"formKey",void 0),h(this,"appId",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.formKey=(n=t==null?void 0:t.formKey)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:""},wA=function(e){Qe(r,e);var t=Ze(r);function r(n){E(this,r);var o;o=t.call(this,n),h(M(o),"primaryControlId",void 0);var i;return o.primaryControlId=(i=n==null?void 0:n.primaryControlId)!==null&&i!==void 0?i:"",o}return r}(Fn),ig=function e(t){E(this,e),h(this,"fieldCode",void 0);var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:""},ss=function e(t){E(this,e);var r;h(this,"appId",void 0),h(this,"formKey",void 0),h(this,"headers",void 0);var n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var i;this.headers=(i=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(u){return new ig(u)}))!==null&&i!==void 0?i:[]},$A=function e(t){E(this,e),h(this,"fieldName",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0);var r;this.fieldName=(r=t==null?void 0:t.fieldName)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:m.VARCHAR},PA=function(e){Qe(r,e);var t=Ze(r);function r(n){E(this,r);var o;o=t.call(this,n),h(M(o),"title",void 0),h(M(o),"svcCode",void 0),h(M(o),"isOpenFilter",void 0),h(M(o),"filters",void 0);var i;o.title=(i=n==null?void 0:n.title)!==null&&i!==void 0?i:"";var u;o.svcCode=(u=n==null?void 0:n.svcCode)!==null&&u!==void 0?u:"";var c;o.isOpenFilter=(c=n==null?void 0:n.isOpenFilter)!==null&&c!==void 0?c:!1;var a;return o.filters=(a=n==null?void 0:n.filters)!==null&&a!==void 0?a:[],o}return r}(Fn),RA=function e(t){E(this,e);var r,n;h(this,"type","sublist-page"),h(this,"formBind",void 0),h(this,"displayFields",void 0),h(this,"sublists",void 0),this.formBind=new Fn(t==null?void 0:t.formBind);var o;this.displayFields=(o=t==null||(r=t.displayFields)===null||r===void 0?void 0:r.map(function(u){return new $A(u)}))!==null&&o!==void 0?o:[];var i;this.sublists=(i=t==null||(n=t.sublists)===null||n===void 0?void 0:n.map(function(u){return new PA(u)}))!==null&&i!==void 0?i:[]},SA=function e(t){E(this,e),h(this,"type",void 0),h(this,"value",void 0),h(this,"dataCode",void 0),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value,this.dataCode=t==null?void 0:t.dataCode},Jr=function e(t){E(this,e),h(this,"type",void 0),h(this,"value",void 0),h(this,"displayBos",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"custom";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:[];var o;this.displayBos=(o=t==null?void 0:t.displayBos)!==null&&o!==void 0?o:[]},_s=function e(t){var r=this;E(this,e),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","conditions"),h(this,"level",void 0),h(this,"value",void 0),h(this,"children",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Je();var o;this.ruleId=(o=t==null?void 0:t.ruleId)!==null&&o!==void 0?o:new Date().valueOf();var i;this.level=(i=t==null?void 0:t.level)!==null&&i!==void 0?i:0;var u;this.value=(u=t==null?void 0:t.value)!==null&&u!==void 0?u:"and",this.children=[],Array.isArray(t==null?void 0:t.children)&&(t==null||t.children.map(function(c){if(c.children!==void 0){var a,l=new e(c);(a=r.children)===null||a===void 0||a.push(l)}else{var f,_=new Bo(c);(f=r.children)===null||f===void 0||f.push(_)}}))},Bo=function e(t){E(this,e),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","condition"),h(this,"symbol",void 0),h(this,"checked",void 0),h(this,"describe",void 0),h(this,"leftVariableBo",void 0),h(this,"rightVariableBo",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:Je();var n;this.ruleId=(n=t==null?void 0:t.ruleId)!==null&&n!==void 0?n:new Date().valueOf();var o;this.symbol=(o=t==null?void 0:t.symbol)!==null&&o!==void 0?o:"";var i;this.checked=(i=t==null?void 0:t.checked)!==null&&i!==void 0?i:!1;var u;this.describe=(u=t==null?void 0:t.describe)!==null&&u!==void 0?u:"",this.leftVariableBo=new SA(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new Jr(t==null?void 0:t.rightVariableBo)},EA=function e(t){E(this,e),h(this,"aliasCode",void 0),h(this,"datasourceBind",void 0),h(this,"relationFields",void 0);var r;this.aliasCode=(r=t==null?void 0:t.aliasCode)!==null&&r!==void 0?r:"",this.datasourceBind=new te(t==null?void 0:t.datasourceBind);var n;this.relationFields=(n=t==null?void 0:t.relationFields)!==null&&n!==void 0?n:[]},Ee=function e(t){E(this,e),h(this,"controlId",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(this,"propName",void 0);var r;this.controlId=(r=t==null?void 0:t.controlId)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:"";var i;this.propName=(i=t==null?void 0:t.propName)!==null&&i!==void 0?i:""},ys=function e(t){E(this,e),h(this,"type",void 0),h(this,"value",void 0),h(this,"fieldType",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"FIELD";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:"",this.fieldType=t==null?void 0:t.fieldType},TA=function e(t){E(this,e),h(this,"columnName",void 0),h(this,"desc",void 0);var r;this.columnName=(r=t.columnName)!==null&&r!==void 0?r:"";var n;this.desc=(n=t.desc)!==null&&n!==void 0?n:!1};function ps(e){var t,r,n,o;this.filters=(o=e==null||(t=e.filters)===null||t===void 0?void 0:t.map(function(c){return c.children!==void 0?new _s(c):new Bo(c)}))!==null&&o!==void 0?o:[];var i;this.viewFilters=(i=e==null||(r=e.viewFilters)===null||r===void 0?void 0:r.map(function(c){return c.children!==void 0?new _s(c):new Bo(c)}))!==null&&i!==void 0?i:[];var u;this.orders=(u=e==null||(n=e.orders)===null||n===void 0?void 0:n.map(function(c){return new TA(c)}))!==null&&u!==void 0?u:[]}var te=function e(t){var r=this;E(this,e),h(this,"dataCode",void 0),h(this,"valueFieldCode",void 0),h(this,"displayBoList",void 0),h(this,"keywordMapping",void 0),h(this,"svcCode",void 0),h(this,"appId",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"isOpenViewFilters",void 0),h(this,"orders",void 0),h(this,"showOrder",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.valueFieldCode=(i=t==null?void 0:t.valueFieldCode)!==null&&i!==void 0?i:"",this.displayBoList=[];var u;this.isOpenViewFilters=(u=t==null?void 0:t.isOpenViewFilters)!==null&&u!==void 0?u:0,Array.isArray(t==null?void 0:t.displayBoList)&&(t==null||t.displayBoList.map(function(f){var _;(_=r.displayBoList)===null||_===void 0||_.push(new ys(f))}));var c;this.keywordMapping=(c=t==null?void 0:t.keywordMapping)!==null&&c!==void 0?c:"";var a;this.showOrder=(a=t==null?void 0:t.showOrder)!==null&&a!==void 0?a:!0;var l;this.svcCode=(l=t==null?void 0:t.svcCode)!==null&&l!==void 0?l:"",ps.call(this,t)},ds=function e(t){E(this,e),h(this,"dataCode",void 0),h(this,"displayBoList",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.displayBoList=(n=t==null?void 0:t.displayBoList)!==null&&n!==void 0?n:[]},Rt=function e(t){E(this,e),h(this,"code",void 0),h(this,"color",void 0),h(this,"command",void 0),h(this,"confirmMessage",void 0),h(this,"defaultState",void 0),h(this,"formKey",void 0),h(this,"formType",void 0),h(this,"icon",void 0),h(this,"needConfirm",void 0),h(this,"openType",void 0),h(this,"priorityProcess",void 0);var r;this.code=(r=t==null?void 0:t.code)!==null&&r!==void 0?r:"view";var n;this.color=(n=t==null?void 0:t.color)!==null&&n!==void 0?n:"primary";var o;this.command=(o=t==null?void 0:t.command)!==null&&o!==void 0?o:"view";var i;this.confirmMessage=(i=t==null?void 0:t.confirmMessage)!==null&&i!==void 0?i:void 0;var u;this.defaultState=(u=t==null?void 0:t.defaultState)!==null&&u!==void 0?u:"default";var c;this.formKey=(c=t==null?void 0:t.formKey)!==null&&c!==void 0?c:void 0,this.formType=t==null?void 0:t.formType;var a;this.icon=(a=t==null?void 0:t.icon)!==null&&a!==void 0?a:"iconliulan1";var l;this.needConfirm=(l=t==null?void 0:t.needConfirm)!==null&&l!==void 0?l:!1;var f;this.openType=(f=t==null?void 0:t.openType)!==null&&f!==void 0?f:"modal";var _;this.priorityProcess=(_=t==null?void 0:t.priorityProcess)!==null&&_!==void 0?_:!0},ug=function e(t){E(this,e);var r;h(this,"name",void 0),h(this,"key",void 0),h(this,"value",void 0);var n;this.name=(n=t==null?void 0:t.name)!==null&&n!==void 0?n:"";var o;this.key=(o=t==null?void 0:t.key)!==null&&o!==void 0?o:"";var i;this.value=(i=t==null||(r=t.value)===null||r===void 0?void 0:r.map(function(u){return new ys(u)}))!==null&&i!==void 0?i:[]},Ao=function(e){Qe(r,e);var t=Ze(r);function r(n){E(this,r);var o,i;o=t.call(this,n),h(M(o),"attributes",void 0);var u;return o.attributes=(u=n==null||(i=n.attributes)===null||i===void 0?void 0:i.map(function(c){return new ug(c)}))!==null&&u!==void 0?u:[],o}return r}(te),IA=function(e){Qe(r,e);var t=Ze(r);function r(n){E(this,r);var o,i;o=t.call(this,n),h(M(o),"attributes",void 0),h(M(o),"formCode",void 0);var u;o.attributes=(u=n==null||(i=n.attributes)===null||i===void 0?void 0:i.map(function(a){return new ug(a)}))!==null&&u!==void 0?u:[];var c;return o.formCode=(c=n==null?void 0:n.formCode)!==null&&c!==void 0?c:"",o}return r}(te),cg=function(e){Qe(r,e);var t=Ze(r);function r(n){E(this,r);var o;o=t.call(this,n),h(M(o),"rootNode",void 0),h(M(o),"filterCode",void 0),o.rootNode=new Jr(n==null?void 0:n.rootNode);var i;return o.filterCode=(i=n==null?void 0:n.filterCode)!==null&&i!==void 0?i:"",o}return r}(Ao),lg=function e(t){E(this,e);var r;h(this,"dataCode",void 0),h(this,"appId",void 0),h(this,"fillList",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.fillList=(i=t==null||(r=t.fillList)===null||r===void 0?void 0:r.map(function(u){return new Ee(u)}))!==null&&i!==void 0?i:[]},ag=function(e){Qe(r,e);var t=Ze(r);function r(n){E(this,r);var o;return o=t.call(this,n),h(M(o),"filters",void 0),h(M(o),"viewFilters",void 0),h(M(o),"orders",void 0),ps.call(M(o),n),o}return r}(lg),fg=function(e){Qe(r,e);var t=Ze(r);function r(n){E(this,r);var o;o=t.call(this,n),h(M(o),"mode",void 0),h(M(o),"multiple",void 0);var i;o.mode=(i=n==null?void 0:n.mode)!==null&&i!==void 0?i:"current";var u;return o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1,o}return r}(lg),sg=function e(t){E(this,e),h(this,"stencilName",void 0),h(this,"expression",void 0),h(this,"errMessage",void 0);var r;this.stencilName=(r=t==null?void 0:t.stencilName)!==null&&r!==void 0?r:"";var n;this.expression=(n=t==null?void 0:t.expression)!==null&&n!==void 0?n:"";var o;this.errMessage=(o=t==null?void 0:t.errMessage)!==null&&o!==void 0?o:""},BA=function e(t){E(this,e),h(this,"id",void 0),h(this,"label",void 0),h(this,"value",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:Je(8);var n;this.label=(n=t==null?void 0:t.label)!==null&&n!==void 0?n:"";var o;this.value=(o=t==null?void 0:t.value)!==null&&o!==void 0?o:this.label};function St(e){var t;return(t=e==null?void 0:e.map(function(r){return new BA(r)}))!==null&&t!==void 0?t:[]}var vs=function e(){E(this,e)},AA=function(e){Qe(r,e);var t=Ze(r);function r(n){E(this,r);var o;return o=t.call(this),h(M(o),"amount",void 0),h(M(o),"currency",void 0),o.amount=new Ye(n==null?void 0:n.amount),o.currency=new Ye(n==null?void 0:n.currency),o}return r}(vs),xA=function e(t){E(this,e),h(this,"amount",void 0),h(this,"currency",void 0);var r;this.amount=(r=t==null?void 0:t.amount)!==null&&r!==void 0?r:"";var n;this.currency=(n=t==null?void 0:t.currency)!==null&&n!==void 0?n:"CNY"},kA=function(e){Qe(r,e);var t=Ze(r);function r(n){E(this,r);var o;return o=t.call(this),h(M(o),"min",void 0),h(M(o),"max",void 0),o.min=new Ye(n==null?void 0:n.min),o.max=new Ye(n==null?void 0:n.max),o}return r}(vs),DA=function e(t){E(this,e),h(this,"min",void 0),h(this,"max",void 0);var r;this.min=(r=t==null?void 0:t.min)!==null&&r!==void 0?r:"";var n;this.max=(n=t==null?void 0:t.max)!==null&&n!==void 0?n:""},FA=function e(t){E(this,e),h(this,"city",void 0),h(this,"cityDisplay",void 0),h(this,"district",void 0),h(this,"districtDisplay",void 0),h(this,"province",void 0),h(this,"provinceDisplay",void 0);var r;this.city=(r=t==null?void 0:t.city)!==null&&r!==void 0?r:"";var n;this.cityDisplay=(n=t==null?void 0:t.cityDisplay)!==null&&n!==void 0?n:"";var o;this.district=(o=t==null?void 0:t.district)!==null&&o!==void 0?o:"";var i;this.districtDisplay=(i=t==null?void 0:t.districtDisplay)!==null&&i!==void 0?i:"";var u;this.province=(u=t==null?void 0:t.province)!==null&&u!==void 0?u:"";var c;this.provinceDisplay=(c=t==null?void 0:t.provinceDisplay)!==null&&c!==void 0?c:""},NA=function(e){Qe(r,e);var t=Ze(r);function r(n){E(this,r);var o;return o=t.call(this),h(M(o),"result",void 0),h(M(o),"unit",void 0),o.result=new Ye(n==null?void 0:n.result),o.unit=new Ye(n==null?void 0:n.unit),o}return r}(vs),jA=function e(t){E(this,e),h(this,"result",void 0),h(this,"unit",void 0);var r;this.result=(r=t==null?void 0:t.result)!==null&&r!==void 0?r:0;var n;this.unit=(n=t==null?void 0:t.unit)!==null&&n!==void 0?n:""},hs;(function(e){e.CNY="CNY",e.USD="USD",e.JPY="JPY",e.EUR="EUR",e.INR="INR",e.IDR="IDR",e.BRL="BRL",e.AED="AED",e.AUD="AUD",e.CAD="CAD",e.EGP="EGP",e.GBP="GBP",e.ZAR="ZAR",e.KRW="KRW",e.MAD="MAD",e.MXN="MXN",e.MYR="MYR",e.PHP="PHP",e.PLN="PLN",e.RUB="RUB",e.SGD="SGD",e.THB="THB",e.TRY="TRY",e.TWD="TWD",e.VND="VND",e.HKD="HKD",e.IEP="IEP"})(hs||(hs={}));var s;(function(e){e.DEFAULT_DISPLAY="defaultDisplay",e.REQUIRED="required",e.IS_HIDE="isHide",e.IS_SHOW_UNIT="isShowUnit",e.IMD_SEARCH="immediatelySearch",e.MULTIPLE="multiple",e.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",e.CAPTION="caption",e.IS_HIDE_CAPTION="isHideCaption",e.DEFAULT_SHOW_OPTIONS="defaultShowOptions",e.CAN_SEARCH="canSearch",e.CAN_CHECK="canCheck",e.CAN_EDIT="canEdit",e.CAN_DELETE="canDelete",e.SHOW_UPPER_CASE="showUpperCase",e.MICROMETER="micrometer",e.PRECISION="precision",e.PERCENTAGE="percentage",e.OPTIONAL_LEVEL="optionalLevel",e.CONTAINS_SUB_NODE="containsSubNode",e.DEFAULT_COLLAPSE="defaultCollapse",e.CAN_VIEW_FORM="canViewForm",e.VIEW_FORM_MODEL_TYPE="viewFormModelType",e.SERVER_PAGINATION="serverPagination",e.IS_SHOW_CAPTION_TIP="isShowCaptionTip",e.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions",e.IS_PASTE="isPaste"})(s||(s={}));var bs;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"})(bs||(bs={}));var qt=function e(t){E(this,e),h(this,"isShow",void 0),h(this,"priorityProcess",void 0),h(this,"formKey",void 0),h(this,"content",void 0),h(this,"openType",void 0),h(this,"type",void 0);var r;this.isShow=(r=t==null?void 0:t.isShow)!==null&&r!==void 0?r:!0;var n;this.content=(n=t==null?void 0:t.content)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var i;this.openType=(i=t==null?void 0:t.openType)!==null&&i!==void 0?i:"modal";var u;this.type=(u=t==null?void 0:t.type)!==null&&u!==void 0?u:"";var c;this.priorityProcess=(c=t==null?void 0:t.priorityProcess)!==null&&c!==void 0?c:!1},MA=function e(t){E(this,e);var r;h(this,"id",void 0),h(this,"title",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"headers",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Je(8);var o;this.title=(o=t==null?void 0:t.title)!==null&&o!==void 0?o:"";var i;this.headers=(i=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(u){return new ig(u)}))!==null&&i!==void 0?i:[],ps.call(this,t)},LA=function e(t){E(this,e),h(this,"width",void 0),h(this,"height",void 0),h(this,"widthConfig",void 0),h(this,"heightConfig",void 0);var r;this.width=(r=t==null?void 0:t.width)!==null&&r!==void 0?r:"";var n;this.height=(n=t==null?void 0:t.height)!==null&&n!==void 0?n:"";var o;this.widthConfig=(o=t==null?void 0:t.widthConfig)!==null&&o!==void 0?o:"fill";var i;this.heightConfig=(i=t==null?void 0:t.heightConfig)!==null&&i!==void 0?i:"fill"},CA=function e(t){E(this,e),h(this,"optCode",void 0),h(this,"optType",void 0);var r;this.optCode=(r=t==null?void 0:t.optCode)!==null&&r!==void 0?r:"";var n;this.optType=(n=t==null?void 0:t.optType)!==null&&n!==void 0?n:""},VA=function e(t){E(this,e);var r;h(this,"id",void 0),h(this,"name",void 0),h(this,"color",void 0),h(this,"filters",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Je();var o;this.name=(o=t==null?void 0:t.name)!==null&&o!==void 0?o:"";var i;this.color=(i=t==null?void 0:t.color)!==null&&i!==void 0?i:"theme";var u;this.filters=(u=t==null||(r=t.filters)===null||r===void 0?void 0:r.map(function(c){return c.children!==void 0?new _s(c):new Bo(c)}))!==null&&u!==void 0?u:[]},zA=function e(t){E(this,e),h(this,"id",void 0),h(this,"script",void 0),h(this,"color",void 0);var r;this.id=(r=t.id)!==null&&r!==void 0?r:Je();var n;this.script=(n=t.script)!==null&&n!==void 0?n:"";var o;this.color=(o=t.color)!==null&&o!==void 0?o:"theme"};function HA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xo(e,t,r){return _g()?xo=Reflect.construct:xo=function(o,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(o,c),l=new a;return u&&Zr(l,u.prototype),l},xo.apply(null,arguments)}function Ut(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qr(e){return Qr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qr(e)}function qA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zr(e,t)}function UA(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function WA(e,t){return t&&(KA(t)==="object"||typeof t=="function")?t:HA(e)}function Zr(e,t){return Zr=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zr(e,t)}function KA(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ms(e){var t=typeof Map=="function"?new Map:void 0;return ms=function(n){if(n===null||!UA(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return xo(n,arguments,Qr(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Zr(o,n)},ms(e)}function _g(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GA(e){var t=_g();return function(){var n=Qr(e),o;if(t){var i=Qr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WA(this,o)}}var Z=function e(t){gs(this,e),Ut(this,"isHide",{type:"boolean"})},yn=function(e){qA(r,e);var t=GA(r);function r(n){return gs(this,r),t.call(this)}return r}(ms(Array)),Y=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";gs(this,e),Ut(this,"isHide",void 0),Ut(this,"className",void 0),Ut(this,"style",void 0),Ut(this,"caption",void 0);var n;this.isHide=(n=t==null?void 0:t.isHide)!==null&&n!==void 0?n:!1,this.style=new LA(t==null?void 0:t.style);var o;this.caption=(o=t==null?void 0:t.caption)!==null&&o!==void 0?o:r};Ut(Y,"mode",void 0),Ut(Y,"Rules",Z),Ut(Y,"RuntimeRules",yn);function ft(){return ft=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ft.apply(this,arguments)}function XA(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Os(e){return Os=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Os(e)}function ko(e,t){return ko=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ko(e,t)}function JA(){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 Do(e,t,r){return JA()?Do=Reflect.construct:Do=function(o,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(o,c),l=new a;return u&&ko(l,u.prototype),l},Do.apply(null,arguments)}function QA(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function ws(e){var t=typeof Map=="function"?new Map:void 0;return ws=function(n){if(n===null||!QA(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return Do(n,arguments,Os(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),ko(o,n)},ws(e)}var ZA=/%[sdj%]/g,yg=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(yg=function(t,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function $s(e){if(!e||!e.length)return null;var t={};return e.forEach(function(r){var n=r.field;t[n]=t[n]||[],t[n].push(r)}),t}function Fe(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=1,o=t[0],i=t.length;if(typeof o=="function")return o.apply(null,t.slice(1));if(typeof o=="string"){var u=String(o).replace(ZA,function(c){if(c==="%%")return"%";if(n>=i)return c;switch(c){case"%s":return String(t[n++]);case"%d":return Number(t[n++]);case"%j":try{return JSON.stringify(t[n++])}catch(a){return"[Circular]"}break;default:return c}});return u}return o}function YA(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function ee(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||YA(t)&&typeof e=="string"&&!e)}function ex(e,t,r){var n=[],o=0,i=e.length;function u(c){n.push.apply(n,c),o++,o===i&&r(n)}e.forEach(function(c){t(c,u)})}function pg(e,t,r){var n=0,o=e.length;function i(u){if(u&&u.length){r(u);return}var c=n;n=n+1,c<o?t(e[c],i):r([])}i([])}function tx(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var dg=function(e){XA(t,e);function t(r,n){var o;return o=e.call(this,"Async Validation Error")||this,o.errors=r,o.fields=n,o}return t}(ws(Error));function nx(e,t,r,n){if(t.first){var o=new Promise(function(_,p){var b=function(w){return n(w),w.length?p(new dg(w,$s(w))):_()},O=tx(e);pg(O,r,b)});return o.catch(function(_){return _}),o}var i=t.firstFields||[];i===!0&&(i=Object.keys(e));var u=Object.keys(e),c=u.length,a=0,l=[],f=new Promise(function(_,p){var b=function(g){if(l.push.apply(l,g),a++,a===c)return n(l),l.length?p(new dg(l,$s(l))):_()};u.length||(n(l),_()),u.forEach(function(O){var g=e[O];i.indexOf(O)!==-1?pg(g,r,b):ex(g,r,b)})});return f.catch(function(_){return _}),f}function vg(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 hg(e,t){if(t){for(var r in t)if(t.hasOwnProperty(r)){var n=t[r];typeof n=="object"&&typeof e[r]=="object"?e[r]=ft(ft({},e[r]),n):e[r]=n}}return e}function bg(e,t,r,n,o,i){e.required&&(!r.hasOwnProperty(e.field)||ee(t,i||e.type))&&n.push(Fe(o.messages.required,e.fullField))}function rx(e,t,r,n,o){(/^\s+$/.test(t)||t==="")&&n.push(Fe(o.messages.whitespace,e.fullField))}var Ps={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Yr={integer:function(t){return Yr.number(t)&&parseInt(t,10)===t},float:function(t){return Yr.number(t)&&!Yr.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(r){return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!Yr.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(Ps.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(Ps.url)},hex:function(t){return typeof t=="string"&&!!t.match(Ps.hex)}};function ox(e,t,r,n,o){if(e.required&&t===void 0){bg(e,t,r,n,o);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],u=e.type;i.indexOf(u)>-1?Yr[u](t)||n.push(Fe(o.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&n.push(Fe(o.messages.types[u],e.fullField,e.type))}function ix(e,t,r,n,o){var i=typeof e.len=="number",u=typeof e.min=="number",c=typeof e.max=="number",a=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l=t,f=null,_=typeof t=="number",p=typeof t=="string",b=Array.isArray(t);if(_?f="number":p?f="string":b&&(f="array"),!f)return!1;b&&(l=t.length),p&&(l=t.replace(a,"_").length),i?l!==e.len&&n.push(Fe(o.messages[f].len,e.fullField,e.len)):u&&!c&&l<e.min?n.push(Fe(o.messages[f].min,e.fullField,e.min)):c&&!u&&l>e.max?n.push(Fe(o.messages[f].max,e.fullField,e.max)):u&&c&&(l<e.min||l>e.max)&&n.push(Fe(o.messages[f].range,e.fullField,e.min,e.max))}var Nn="enum";function ux(e,t,r,n,o){e[Nn]=Array.isArray(e[Nn])?e[Nn]:[],e[Nn].indexOf(t)===-1&&n.push(Fe(o.messages[Nn],e.fullField,e[Nn].join(", ")))}function cx(e,t,r,n,o){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(Fe(o.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var i=new RegExp(e.pattern);i.test(t)||n.push(Fe(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var k={required:bg,whitespace:rx,type:ox,range:ix,enum:ux,pattern:cx};function lx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ee(t,"string")&&!e.required)return r();k.required(e,t,n,i,o,"string"),ee(t,"string")||(k.type(e,t,n,i,o),k.range(e,t,n,i,o),k.pattern(e,t,n,i,o),e.whitespace===!0&&k.whitespace(e,t,n,i,o))}r(i)}function ax(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ee(t)&&!e.required)return r();k.required(e,t,n,i,o),t!==void 0&&k.type(e,t,n,i,o)}r(i)}function fx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t===""&&(t=void 0),ee(t)&&!e.required)return r();k.required(e,t,n,i,o),t!==void 0&&(k.type(e,t,n,i,o),k.range(e,t,n,i,o))}r(i)}function sx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ee(t)&&!e.required)return r();k.required(e,t,n,i,o),t!==void 0&&k.type(e,t,n,i,o)}r(i)}function _x(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ee(t)&&!e.required)return r();k.required(e,t,n,i,o),ee(t)||k.type(e,t,n,i,o)}r(i)}function yx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ee(t)&&!e.required)return r();k.required(e,t,n,i,o),t!==void 0&&(k.type(e,t,n,i,o),k.range(e,t,n,i,o))}r(i)}function px(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ee(t)&&!e.required)return r();k.required(e,t,n,i,o),t!==void 0&&(k.type(e,t,n,i,o),k.range(e,t,n,i,o))}r(i)}function dx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t==null&&!e.required)return r();k.required(e,t,n,i,o,"array"),t!=null&&(k.type(e,t,n,i,o),k.range(e,t,n,i,o))}r(i)}function vx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ee(t)&&!e.required)return r();k.required(e,t,n,i,o),t!==void 0&&k.type(e,t,n,i,o)}r(i)}var hx="enum";function bx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ee(t)&&!e.required)return r();k.required(e,t,n,i,o),t!==void 0&&k[hx](e,t,n,i,o)}r(i)}function gx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ee(t,"string")&&!e.required)return r();k.required(e,t,n,i,o),ee(t,"string")||k.pattern(e,t,n,i,o)}r(i)}function mx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ee(t,"date")&&!e.required)return r();if(k.required(e,t,n,i,o),!ee(t,"date")){var c;t instanceof Date?c=t:c=new Date(t),k.type(e,c,n,i,o),c&&k.range(e,c.getTime(),n,i,o)}}r(i)}function Ox(e,t,r,n,o){var i=[],u=Array.isArray(t)?"array":typeof t;k.required(e,t,n,i,o,u),r(i)}function Rs(e,t,r,n,o){var i=e.type,u=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(ee(t,i)&&!e.required)return r();k.required(e,t,n,u,o,i),ee(t,i)||k.type(e,t,n,u,o)}r(u)}function wx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ee(t)&&!e.required)return r();k.required(e,t,n,i,o)}r(i)}var eo={string:lx,method:ax,number:fx,boolean:sx,regexp:_x,integer:yx,float:px,array:dx,object:vx,enum:bx,pattern:gx,date:mx,url:Rs,hex:Rs,email:Rs,required:Ox,any:wx};function Ss(){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 Es=Ss();function Wt(e){this.rules=null,this._messages=Es,this.define(e)}Wt.prototype={messages:function(t){return t&&(this._messages=hg(Ss(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if(typeof t!="object"||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var r,n;for(r in t)t.hasOwnProperty(r)&&(n=t[r],this.rules[r]=Array.isArray(n)?n:[n])},validate:function(t,r,n){var o=this;r===void 0&&(r={}),n===void 0&&(n=function(){});var i=t,u=r,c=n;if(typeof u=="function"&&(c=u,u={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(),Promise.resolve();function a(g){var w,v=[],$={};function P(R){if(Array.isArray(R)){var S;v=(S=v).concat.apply(S,R)}else v.push(R)}for(w=0;w<g.length;w++)P(g[w]);v.length?$=$s(v):(v=null,$=null),c(v,$)}if(u.messages){var l=this.messages();l===Es&&(l=Ss()),hg(l,u.messages),u.messages=l}else u.messages=this.messages();var f,_,p={},b=u.keys||Object.keys(this.rules);b.forEach(function(g){f=o.rules[g],_=i[g],f.forEach(function(w){var v=w;typeof v.transform=="function"&&(i===t&&(i=ft({},i)),_=i[g]=v.transform(_)),typeof v=="function"?v={validator:v}:v=ft({},v),v.validator=o.getValidationMethod(v),v.field=g,v.fullField=v.fullField||g,v.type=o.getType(v),v.validator&&(p[g]=p[g]||[],p[g].push({rule:v,value:_,source:i,field:g}))})});var O={};return nx(p,u,function(g,w){var v=g.rule,$=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");$=$&&(v.required||!v.required&&g.value),v.field=g.field;function P(j,T){return ft(ft({},T),{},{fullField:v.fullField+"."+j})}function R(j){j===void 0&&(j=[]);var T=j;if(Array.isArray(T)||(T=[T]),!u.suppressWarning&&T.length&&Wt.warning("async-validator:",T),T.length&&v.message!==void 0&&(T=[].concat(v.message)),T=T.map(vg(v)),u.first&&T.length)return O[v.field]=1,w(T);if(!$)w(T);else{if(v.required&&!g.value)return v.message!==void 0?T=[].concat(v.message).map(vg(v)):u.error&&(T=[u.error(v,Fe(u.messages.required,v.field))]),w(T);var G={};if(v.defaultField)for(var B in g.value)g.value.hasOwnProperty(B)&&(G[B]=v.defaultField);G=ft(ft({},G),g.rule.fields);for(var wt in G)if(G.hasOwnProperty(wt)){var Ro=Array.isArray(G[wt])?G[wt]:[G[wt]];G[wt]=Ro.map(P.bind(null,wt))}var Ur=new Wt(G);Ur.messages(u.messages),g.rule.options&&(g.rule.options.messages=u.messages,g.rule.options.error=u.error),Ur.validate(g.value,g.rule.options||u,function(Bn){var $t=[];T&&T.length&&$t.push.apply($t,T),Bn&&Bn.length&&$t.push.apply($t,Bn),w($t.length?$t:null)})}}var S;v.asyncValidator?S=v.asyncValidator(v,g.value,R,g.source,u):v.validator&&(S=v.validator(v,g.value,R,g.source,u),S===!0?R():S===!1?R(v.message||v.field+" fails"):S instanceof Array?R(S):S instanceof Error&&R(S.message)),S&&S.then&&S.then(function(){return R()},function(j){return R(j)})},function(g){a(g)})},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(Fe("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if(typeof t.validator=="function")return t.validator;var r=Object.keys(t),n=r.indexOf("message");return n!==-1&&r.splice(n,1),r.length===1&&r[0]==="required"?eo.required:eo[this.getType(t)]||!1}},Wt.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");eo[t]=r},Wt.warning=yg,Wt.messages=Es,Wt.validators=eo;var $x={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 Px(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Wt(e);return r.messages(Object.assign($x,t)),r}var Rx=new iA;function Ts(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Sx(e){if(Array.isArray(e))return e}function Ex(e){if(Array.isArray(e))return Ts(e)}function gg(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(l){r(l);return}c.done?t(a):Promise.resolve(a).then(n,o)}function mg(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){gg(i,n,o,u,c,"next",a)}function c(a){gg(i,n,o,u,c,"throw",a)}u(void 0)})}}function Tx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Og(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ix(e,t,r){return t&&Og(e.prototype,t),r&&Og(e,r),e}function L(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wg(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function $g(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Bx(){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 Ax(){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 Pg(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){L(e,o,r[o])})}return e}function xx(e){return Sx(e)||$g(e)||Rg(e)||Bx()}function Is(e){return Ex(e)||$g(e)||Rg(e)||Ax()}function Rg(e,t){if(!!e){if(typeof e=="string")return Ts(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ts(e,t)}}function Sg(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(f){l=[6,f],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var C=function(){function t(r){var n=this;Tx(this,t),L(this,"id",void 0),L(this,"name",void 0),L(this,"icon",void 0),L(this,"type",void 0),L(this,"controlType",void 0),L(this,"props",void 0),L(this,"setting",[]),L(this,"fieldType",void 0),L(this,"eventKeys",[]),L(this,"customEvents",[]),L(this,"parent",null),L(this,"updateSetting",Tg),L(this,"removeSetting",Eg),this._callControlHooks("preInstance",r);var o=wg(this,t)?this.constructor:void 0,i=o.controlName,u=o.controlIcon,c=o.controlType,a=o.controlFieldType,l=o.controlEventKeys,f=o.controlCustomEvents,_=o.name,p=o.setting;i&&u&&c||Vb("The ".concat(_," controlName,controlIcon,controlType is not define"));var b;this.id=(b=r==null?void 0:r.id)!==null&&b!==void 0?b:Je(10),this.name=i,this.icon=u;var O;this.type=(O=r==null?void 0:r.type)!==null&&O!==void 0?O:c,this.props=new Y(r==null?void 0:r.props,(wg(this,t)?this.constructor:void 0).controlName);var g;this.controlType=(g=r==null?void 0:r.controlType)!==null&&g!==void 0?g:"base",this.setting=zt(p);var w;this.fieldType=(w=r==null?void 0:r.fieldType)!==null&&w!==void 0?w:a,this.eventKeys=zt(l),this.customEvents=zt(f),Promise.resolve().then(function(){n._callControlHooks("postInstance",r)})}return Ix(t,[{key:"rules",get:function(){var n=this.props.constructor.Rules;return n?new n(this.props):{}}},{key:"_callControlHooks",value:function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];var u,c=xx(o),a=c[0],l=c.slice(1);return(u=Rx).emit.apply(u,[a,this].concat(Is(l)))}},{key:"preUpdate",value:function(n,o){this._callControlHooks("preUpdateProps",n,o)}},{key:"postUpdate",value:function(n,o){this._callControlHooks("postUpdateProps",n,o)}},{key:"updateProps",value:function(n,o){this.preUpdate(n,o),W1(this.props,n,o),this.postUpdate(n,o)}},{key:"preValidate",value:function(){var n=this;return mg(function(){var o,i,u;return Sg(this,function(c){switch(c.label){case 0:return o=Pg({},n.rules),[4,n._callControlHooks("preValidate",o)];case 1:return i=c.sent(),u=i[i.length-1],[2,u===!1?void 0:u]}})})()}},{key:"validate",value:function(n,o){var i=this;return mg(function(){var u,c,a,l;return Sg(this,function(f){switch(f.label){case 0:return[4,i.preValidate()];case 1:u=f.sent(),c=u!==void 0?u:Pg({},i.rules),Array.isArray(o)&&o.forEach(function(_){c.hasOwnProperty(_)&&delete c[_]}),a=Px(c,n),f.label=2;case 2:return f.trys.push([2,4,,5]),[4,a.validate(i.props)];case 3:return f.sent(),[2,!0];case 4:throw l=f.sent(),l.control||(l.control=i),l;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,o=this.fieldType,i=this.id,u=this.type,c=this.props,a=c.dataBind,l=c.datasourceBind,f=c.optionConfig,_=c.caption,p=c.required,b=c.maxLength,O=c.options,g=c.encrypted,w=c.encryptedMode;if(!(!o&&!a&&!l)){var v={parentId:n,fieldType:o,controlId:i,caption:_,type:u,props:{}};switch(a&&(v.dataBind=a),f){case"datasource":case void 0:l&&(v.datasourceBind=l);break;case"custom":v.props.options=O;break}return p!==void 0&&(v.required=p),b!==void 0&&(v.maxLength=b),g!==void 0&&(v.encrypted=g),w!==void 0&&(v.encryptedMode=w),v}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:zt(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(n,o){if(n==="setting"){if(o.add){var i;(i=this.setting).push.apply(i,Is(o.add))}o.remove&&this.removeSettingItem(o.remove),o.update}}}]),t}();L(C,"mode","Designer"),L(C,"controlName","\u63A7\u4EF6"),L(C,"controlIcon","icon"),L(C,"controlType","control"),L(C,"controlFieldType",void 0),L(C,"controlEventKeys",[]),L(C,"controlCustomEvents",[]),L(C,"setting",[]),L(C,"__is_control__",!0),L(C,"removeSettingItem",Eg),L(C,"updateSettingItem",Tg);function Eg(e){var t=this,r=Array.isArray(e)?e:[e];r.forEach(function(n){var o,i=typeof n!="string",u=(o=t.setting)===null||o===void 0?void 0:o.findIndex(function(l){return l.key===(i?n.key:n)});if(u!==-1){var c,a;i?t.setting[u].showItems=(c=t.setting[u].showItems)===null||c===void 0?void 0:c.filter(function(l){return!n.hideItems.includes(l)}):t.setting.splice(u,1),i&&!(!((a=t.setting[u].showItems)===null||a===void 0)&&a.length)&&t.setting.splice(u,1)}})}function Tg(e,t){var r=this,n=typeof e=="string"?[e]:e;n.forEach(function(o){var i=r.setting.find(function(l){return l.key===o});if(i){if(typeof t=="boolean")i.visible=t;else if(typeof t=="object"){var u,c=(u=t.type)!==null&&u!==void 0?u:"replace";if(c==="replace")i.showItems=t.showItems;else{var a;(a=i.showItems).push.apply(a,Is(t.showItems))}}}})}function kx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ig(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Dx(e,t,r){return t&&Ig(e.prototype,t),r&&Ig(e,r),e}function Ne(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fx(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var Et=function(){function t(r){kx(this,t),Ne(this,"id",void 0),Ne(this,"type",void 0),Ne(this,"controlType",void 0),Ne(this,"props",void 0),Ne(this,"fieldType",void 0),Ne(this,"customEvents",[]),Ne(this,"pageStatus",void 0),Ne(this,"parent",null);var n=Fx(this,t)?this.constructor:void 0,o=n.controlType,i=n.controlFieldType,u=n.name,c=n.controlCustomEvents;o||Vb("The ".concat(u," controlType is not define"));var a;this.id=(a=r==null?void 0:r.id)!==null&&a!==void 0?a:Je(10);var l;this.type=(l=r==null?void 0:r.type)!==null&&l!==void 0?l:o,this.props=new Y(r==null?void 0:r.props),this.customEvents=c;var f;this.controlType=(f=r==null?void 0:r.controlType)!==null&&f!==void 0?f:"base";var _;this.fieldType=(_=r==null?void 0:r.fieldType)!==null&&_!==void 0?_:i;var p;this.pageStatus=(p=r==null?void 0:r.pageStatus)!==null&&p!==void 0?p:bs.UNKNOWN}return Dx(t,[{key:"rules",get:function(){var n=this.props.constructor.RuntimeRules;if(n){var o=new n(this.props);return Array.from(o)}return[]}}]),t}();Ne(Et,"mode","Runtime"),Ne(Et,"controlType","control"),Ne(Et,"controlFieldType",void 0),Ne(Et,"__is_control__",!0),Ne(Et,"controlCustomEvents",[]);function Bs(e){e.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),e.hasOwnProperty("options")||(this.options={type:"any"}),e.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),e.hasOwnProperty("options")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="custom")?this.options=[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:d.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:d.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(r,n,o){n.length===0&&o(d.getMessage("optionIsRequired")),o()}},{type:"array",validator:function(r,n,o){var i=n.map(function(c){return c.value}),u=X1(i);i.length!==u.length?o(d.getMessage("optionIdIsRepeat")):o()},message:d.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(r,n,o){n.length===0&&o(d.getMessage("pleaseBindAtLeastOneDisplayValue")),o()},message:d.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}])}function Fo(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage(r?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage(r?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage(r?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:d.getMessage("isNotString")},key:{type:"string",required:!0,message:d.getMessage("isNotString")},value:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(o,i,u){i.length===0&&u(d.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),u()},message:d.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}]}function Nx(e){return(e==null?void 0:e.dataCode)!==void 0&&(e==null?void 0:e.fieldCode)!==void 0}function H(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function No(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jo(e){return jo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jo(e)}function Mo(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&As(e,t)}function jx(e,t){return t&&(Mx(t)==="object"||typeof t=="function")?t:H(e)}function As(e,t){return As=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},As(e,t)}function Mx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Lo(e){var t=Lx();return function(){var n=jo(e),o;if(t){var i=jo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jx(this,o)}}var pe=function(e){Mo(r,e);var t=Lo(r);function r(n){No(this,r);var o;o=t.call(this,n),q(H(o),"dataBind",{}),q(H(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),q(H(o),"isHideCaption",{type:"boolean"}),q(H(o),"labelPosition",{type:"enum",enum:["top","left"]}),q(H(o),"defaultState",{type:"enum",enum:["default","readonly"]}),q(H(o),"required",{type:"boolean"}),q(H(o),"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")});var i={fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")}};if(Nx(n.dataBind))o.dataBind={type:"object",required:!0,fields:zt(i),message:d.getMessage("pleaseEnterFieldCode")};else{var u={type:"object",required:!0,fields:{},message:d.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(c){u.fields[c]={type:"object",required:!0,fields:zt(i),message:d.getMessage("pleaseEnterFieldCode")}}),o.dataBind=u}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Z),U=function(e){Mo(r,e);var t=Lo(r);function r(n){No(this,r);var o;o=t.call(this,n);var i=n.isHide?!1:n.required;return i&&o.push({type:"string",required:i,message:n.requiredMessage!==""?n.requiredMessage:d.getMessage("runtimeRequired",{caption:n.caption})}),o}return r}(yn),D=function(e){Mo(r,e);var t=Lo(r);function r(n){No(this,r);var o;o=t.call(this,n),q(H(o),"caption",void 0),q(H(o),"isHideCaption",void 0),q(H(o),"isShowCaptionTip",void 0),q(H(o),"captionTip",void 0),q(H(o),"labelPosition",void 0),q(H(o),"dataBind",void 0),q(H(o),"defaultValue",void 0),q(H(o),"placeholder",void 0),q(H(o),"defaultState",void 0),q(H(o),"required",void 0),q(H(o),"requiredMessage",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var c;o.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var l;o.defaultState=(l=n==null?void 0:n.defaultState)!==null&&l!==void 0?l:"default";var f;o.labelPosition=(f=n==null?void 0:n.labelPosition)!==null&&f!==void 0?f:"top";var _;o.placeholder=(_=n==null?void 0:n.placeholder)!==null&&_!==void 0?_:"";var p;o.required=(p=n==null?void 0:n.required)!==null&&p!==void 0?p:!1;var b;o.requiredMessage=(b=n==null?void 0:n.requiredMessage)!==null&&b!==void 0?b:"",o.dataBind=new Ye(n==null?void 0:n.dataBind);var O;return o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:"",o}return r}(Y);q(D,"Rules",pe),q(D,"RuntimeRules",U);var jn=function(e){Mo(r,e);var t=Lo(r);function r(n){No(this,r);var o;return o=t.call(this,n),q(H(o),"optionConfig",{type:"enum",enum:["custom","datasource"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")}),q(H(o),"options",[{type:"array",message:d.getMessage("isNotArray")}]),q(H(o),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),Bs.call(H(o),n),o}return r}(pe);function xs(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Co(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vo(e){return Vo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vo(e)}function Vx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 zx(e,t){return t&&(Hx(t)==="object"||typeof t=="function")?t:xs(e)}function ks(e,t){return ks=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ks(e,t)}function Hx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ux(e){var t=qx();return function(){var n=Vo(e),o;if(t){var i=Vo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zx(this,o)}}var F=function(e){Vx(r,e);var t=Ux(r);function r(n){Cx(this,r);var o;return o=t.call(this,n),Co(xs(o),"controlType","form"),Co(xs(o),"props",void 0),o.props=new D(n==null?void 0:n.props),o}return r}(C);Co(F,"controlEventKeys",["on_change","on_focus","on_blur"]),Co(F,"controlCustomAttributes",void 0);function zo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ds(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ho(e){return Ho=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ho(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&&Fs(e,t)}function Gx(e,t){return t&&(Xx(t)==="object"||typeof t=="function")?t:zo(e)}function Fs(e,t){return Fs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fs(e,t)}function Xx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qx(e){var t=Jx();return function(){var n=Ho(e),o;if(t){var i=Ho(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Gx(this,o)}}var N=function(e){Kx(r,e);var t=Qx(r);function r(n){Wx(this,r);var o;return o=t.call(this,n),Ds(zo(o),"controlType","form"),Ds(zo(o),"props",void 0),Ds(zo(o),"value",void 0),o.props=new D(n==null?void 0:n.props),o}return r}(Et);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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qo(e){return qo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qo(e)}function e2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 t2(e,t){return t&&(n2(t)==="object"||typeof t=="function")?t:Zx(e)}function Ns(e,t){return Ns=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ns(e,t)}function n2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function r2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function o2(e){var t=r2();return function(){var n=qo(e),o;if(t){var i=qo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return t2(this,o)}}var ie=function(e){e2(r,e);var t=o2(r);function r(n){return Yx(this,r),t.call(this,n)}return r}(Y);function js(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function i2(e){if(Array.isArray(e))return js(e)}function pn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bg(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(l){r(l);return}c.done?t(a):Promise.resolve(a).then(n,o)}function u2(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){Bg(i,n,o,u,c,"next",a)}function c(a){Bg(i,n,o,u,c,"throw",a)}u(void 0)})}}function c2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ag(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l2(e,t,r){return t&&Ag(e.prototype,t),r&&Ag(e,r),e}function Kt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mn(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Mn=Reflect.get:Mn=function(o,i,u){var c=h2(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Mn(e,t,r||e)}function Gt(e){return Gt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gt(e)}function a2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ms(e,t)}function f2(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function s2(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function _2(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function y2(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Kt(e,o,r[o])})}return e}function p2(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function d2(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):p2(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function v2(e,t){return t&&(b2(t)==="object"||typeof t=="function")?t:pn(e)}function Ms(e,t){return Ms=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ms(e,t)}function h2(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Gt(e),e!==null););return e}function xg(e){return i2(e)||s2(e)||g2(e)||_2()}function b2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function g2(e,t){if(!!e){if(typeof e=="string")return js(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return js(e,t)}}function m2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function O2(e){var t=m2();return function(){var n=Gt(e),o;if(t){var i=Gt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return v2(this,o)}}function w2(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(f){l=[6,f],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var $2=1e4,ue=function(t){a2(n,t);var r=O2(n);function n(o){c2(this,n);var i;i=r.call(this,o),Kt(pn(i),"controlType","layout"),Kt(pn(i),"children",void 0),Kt(pn(i),"excludes",void 0),Kt(pn(i),"childrenMaxLength",void 0),Kt(pn(i),"props",void 0);var u=f2(this,n)?this.constructor:void 0,c=u.excludes,a=u.childrenMaxLength;return i.props=new ie(o==null?void 0:o.props),Pt(pn(i),"children",o==null?void 0:o.children,void 0,"Designer"),i.excludes=zt(c),i.childrenMaxLength=a,i}return l2(n,[{key:"judgeExcludesChildren",value:function(i){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i)}},{key:"judgeJoinChildren",value:function(i){var u=this.judgeExcludesChildren(i);return u&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(i,u){var c=this,a=this,l=function(){return Mn(Gt(n.prototype),"validate",c)};return u2(function(){return w2(this,function(f){switch(f.label){case 0:return[4,l().call(a,i,u)];case 1:return f.sent(),[4,Promise.all(a.children.map(function(_){return _.validate(i,u)}))];case 2:return f.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=Mn(Gt(n.prototype),"toDataBindModel",this).call(this),c=u?[u]:[];return this.children.reduce(function(a,l){var f=l.toDataBindModel(i);if(Array.isArray(f)){var _=f.filter(function(p){return!!p});return xg(a).concat(xg(_))}return f&&a.push(f),a},c)}},{key:"toSchema",value:function(){var i=Mn(Gt(n.prototype),"toSchema",this).call(this),u=this.children.map(function(c){var a=c.toSchema();return a});return d2(y2({},i),{children:u})}}]),n}(C);Kt(ue,"excludes",!1),Kt(ue,"childrenMaxLength",$2);function to(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ls(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Uo(e){return Uo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uo(e)}function R2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cs(e,t)}function S2(e,t){return t&&(E2(t)==="object"||typeof t=="function")?t:to(e)}function Cs(e,t){return Cs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cs(e,t)}function E2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function T2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function I2(e){var t=T2();return function(){var n=Uo(e),o;if(t){var i=Uo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return S2(this,o)}}var dn=function(e){R2(r,e);var t=I2(r);function r(n){P2(this,r);var o;return o=t.call(this,n),Ls(to(o),"controlType","layout"),Ls(to(o),"children",void 0),Ls(to(o),"props",void 0),o.props=new ie(n==null?void 0:n.props),Pt(to(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(Et);function Tt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ln(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wo(e){return Wo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wo(e)}function A2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vs(e,t)}function x2(e,t){return t&&(k2(t)==="object"||typeof t=="function")?t:Tt(e)}function Vs(e,t){return Vs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vs(e,t)}function k2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function D2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function F2(e){var t=D2();return function(){var n=Wo(e),o;if(t){var i=Wo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return x2(this,o)}}var zs=function(e){A2(r,e);var t=F2(r);function r(n,o,i){B2(this,r);var u;u=t.call(this,o),Ln(Tt(u),"headers",void 0),Ln(Tt(u),"footers",void 0),Ln(Tt(u),"pageIndex",void 0),Ln(Tt(u),"pageSize",void 0),Ln(Tt(u),"pageSizeOptions",void 0),Ln(Tt(u),"totalCount",void 0),Pt(Tt(u),"headers",o==null?void 0:o.headers,n,i),Pt(Tt(u),"footers",o==null?void 0:o.footers,n);var c;u.pageIndex=(c=o==null?void 0:o.pageIndex)!==null&&c!==void 0?c:1;var a;u.pageSize=(a=o==null?void 0:o.pageSize)!==null&&a!==void 0?a:20;var l;u.pageSizeOptions=(l=o==null?void 0:o.pageSizeOptions)!==null&&l!==void 0?l:[20];var f;return u.totalCount=(f=o==null?void 0:o.totalCount)!==null&&f!==void 0?f:0,u}return r}(Y);function Hs(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function N2(e){if(Array.isArray(e))return Hs(e)}function Ko(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kg(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(l){r(l);return}c.done?t(a):Promise.resolve(a).then(n,o)}function j2(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){kg(i,n,o,u,c,"next",a)}function c(a){kg(i,n,o,u,c,"throw",a)}u(void 0)})}}function M2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function L2(e,t,r){return t&&Dg(e.prototype,t),r&&Dg(e,r),e}function Go(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cn(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Cn=Reflect.get:Cn=function(o,i,u){var c=U2(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Cn(e,t,r||e)}function Xt(e){return Xt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xt(e)}function C2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qs(e,t)}function V2(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function z2(){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 Fg(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Go(e,o,r[o])})}return e}function H2(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Ng(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):H2(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function q2(e,t){return t&&(W2(t)==="object"||typeof t=="function")?t:Ko(e)}function qs(e,t){return qs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qs(e,t)}function U2(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Xt(e),e!==null););return e}function jg(e){return N2(e)||V2(e)||K2(e)||z2()}function W2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function K2(e,t){if(!!e){if(typeof e=="string")return Hs(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Hs(e,t)}}function G2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function X2(e){var t=G2();return function(){var n=Xt(e),o;if(t){var i=Xt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return q2(this,o)}}function J2(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(f){l=[6,f],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var Us=function(e){C2(r,e);var t=X2(r);function r(n){M2(this,r);var o;return o=t.call(this,n),Go(Ko(o),"controlType","list"),Go(Ko(o),"props",void 0),o.props=new zs(Ko(o),n==null?void 0:n.props,"Designer"),o}return L2(r,[{key:"validate",value:function(o,i){var u=this,c=this,a=function(){return Cn(Xt(r.prototype),"validate",u)};return j2(function(){return J2(this,function(l){switch(l.label){case 0:return[4,a().call(c,o)];case 1:return l.sent(),[4,Promise.all(c.props.headers.map(function(f){return f.validate(o,i)}))];case 2:return l.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var o=Cn(Xt(r.prototype),"toDataBindModel",this).call(this),i=o?[o]:[],u=this.id;return this.props.headers.reduce(function(c,a){var l=a.toDataBindModel(u);if(Array.isArray(l)){var f=l.filter(function(_){return!!_});return jg(c).concat(jg(f))}return l&&c.push(l),c},i)}},{key:"toSchema",value:function(){var o,i,u=Cn(Xt(r.prototype),"toSchema",this).call(this),c=this.props.headers.map(function(l){return l.toSchema()}),a=(i=this.props)===null||i===void 0||(o=i.footers)===null||o===void 0?void 0:o.map(function(l){if(l)return l.toSchema()});return Ng(Fg({},u),{props:Ng(Fg({},this.props),{headers:c,footers:a})})}}]),r}(C);Go(Us,"controlFieldType",m.LIST);function ce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ws(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function de(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xo(e){return Xo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xo(e)}function Ks(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gs(e,t)}function Q2(e,t){return t&&(Z2(t)==="object"||typeof t=="function")?t:ce(e)}function Gs(e,t){return Gs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gs(e,t)}function Z2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Y2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xs(e){var t=Y2();return function(){var n=Xo(e),o;if(t){var i=Xo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Q2(this,o)}}var st=function(e){Ks(r,e);var t=Xs(r);function r(n){Ws(this,r);var o;return o=t.call(this,n),de(ce(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),de(ce(o),"width",{type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")}),o.width.required=n.widthType==="px",o}return r}(Z),Q=function(e){Ks(r,e);var t=Xs(r);function r(n){Ws(this,r);var o;o=t.call(this,n),de(ce(o),"widthType",void 0),de(ce(o),"width",void 0),de(ce(o),"caption",void 0),de(ce(o),"dataBind",void 0),de(ce(o),"autoWidth",void 0),de(ce(o),"fixed",void 0),de(ce(o),"sort",void 0),de(ce(o),"align",void 0),de(ce(o),"colSpan",void 0),de(ce(o),"autoHeight",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:150,o.widthType=(n==null?void 0:n.widthType)||"auto";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var c;o.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:"none",o.autoWidth=new rg(n==null?void 0:n.autoWidth),o.dataBind=new Ye(n==null?void 0:n.dataBind);var a;o.sort=(a=n==null?void 0:n.sort)!==null&&a!==void 0?a:!0,o.align=n==null?void 0:n.align,o.colSpan=n==null?void 0:n.colSpan;var l;return o.autoHeight=(l=n==null?void 0:n.autoHeight)!==null&&l!==void 0?l:!1,o}return r}(Y);de(Q,"Rules",st);var Mg=function(e){Ks(r,e);var t=Xs(r);function r(n){Ws(this,r);var o;return o=t.call(this,n),de(ce(o),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")}),de(ce(o),"options",[{type:"array",message:d.getMessage("isNotArray")}]),de(ce(o),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),Bs.call(ce(o),n),o}return r}(st);function Js(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ek(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jo(e){return Jo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jo(e)}function tk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qs(e,t)}function nk(e,t){return t&&(rk(t)==="object"||typeof t=="function")?t:Js(e)}function Qs(e,t){return Qs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qs(e,t)}function rk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ok(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ik(e){var t=ok();return function(){var n=Jo(e),o;if(t){var i=Jo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nk(this,o)}}var le=function(e){tk(r,e);var t=ik(r);function r(n){ek(this,r);var o;return o=t.call(this,n),Lg(Js(o),"controlType","column"),Lg(Js(o),"props",void 0),o.props=new Q(n==null?void 0:n.props),o}return r}(C);function Zs(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qo(e){return Qo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qo(e)}function ck(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ys(e,t)}function lk(e,t){return t&&(ak(t)==="object"||typeof t=="function")?t:Zs(e)}function Ys(e,t){return Ys=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ys(e,t)}function ak(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sk(e){var t=fk();return function(){var n=Qo(e),o;if(t){var i=Qo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lk(this,o)}}var ae=function(e){ck(r,e);var t=sk(r);function r(n){uk(this,r);var o;return o=t.call(this,n),Cg(Zs(o),"controlType","column"),Cg(Zs(o),"props",void 0),o.props=new Q(n==null?void 0:n.props),o}return r}(Et);function Vg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _k(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yk(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zo(e){return Zo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zo(e)}function pk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&e_(e,t)}function dk(e,t){return t&&(vk(t)==="object"||typeof t=="function")?t:Vg(e)}function e_(e,t){return e_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},e_(e,t)}function vk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bk(e){var t=hk();return function(){var n=Zo(e),o;if(t){var i=Zo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dk(this,o)}}var t_=function(e){pk(r,e);var t=bk(r);function r(n){_k(this,r);var o;return o=t.call(this,n),yk(Vg(o),"dataBind",void 0),o.dataBind=new Ye(n==null?void 0:n.dataBind),o}return r}(ie);function n_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yo(e){return Yo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yo(e)}function mk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r_(e,t)}function Ok(e,t){return t&&(wk(t)==="object"||typeof t=="function")?t:n_(e)}function r_(e,t){return r_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},r_(e,t)}function wk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $k(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pk(e){var t=$k();return function(){var n=Yo(e),o;if(t){var i=Yo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ok(this,o)}}var Rk=function(e){mk(r,e);var t=Pk(r);function r(n){gk(this,r);var o;return o=t.call(this,n),zg(n_(o),"controlType","search"),zg(n_(o),"props",void 0),o.props=new t_(n==null?void 0:n.props),o}return r}(ue);function o_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ei(e){return ei=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ei(e)}function Ek(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i_(e,t)}function Tk(e,t){return t&&(Ik(t)==="object"||typeof t=="function")?t:o_(e)}function i_(e,t){return i_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},i_(e,t)}function Ik(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ak(e){var t=Bk();return function(){var n=ei(e),o;if(t){var i=ei(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Tk(this,o)}}var xk=function(e){Ek(r,e);var t=Ak(r);function r(n){Sk(this,r);var o;return o=t.call(this,n),Hg(o_(o),"controlType","search"),Hg(o_(o),"props",void 0),o.props=new t_(n==null?void 0:n.props),o}return r}(dn);function Jt(e){e.hasOwnProperty("linkOperationOption")&&e.hasOwnProperty("showLinkOperation")&&e.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}}}])}function vn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ti(e){return ti=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ti(e)}function Dk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u_(e,t)}function Fk(e,t){return t&&(Nk(t)==="object"||typeof t=="function")?t:vn(e)}function u_(e,t){return u_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},u_(e,t)}function Nk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mk(e){var t=jk();return function(){var n=ti(e),o;if(t){var i=ti(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Fk(this,o)}}var Lk=function(e){Dk(r,e);var t=Mk(r);function r(n){kk(this,r);var o;o=t.call(this,n),Vn(vn(o),"content",void 0),Vn(vn(o),"fontSize",void 0),Vn(vn(o),"color",void 0),Vn(vn(o),"icon",void 0),Vn(vn(o),"align",void 0),Vn(vn(o),"showState",void 0);var i;o.fontSize=(i=n==null?void 0:n.fontSize)!==null&&i!==void 0?i:"14px";var u;o.color=(u=n==null?void 0:n.color)!==null&&u!==void 0?u:"#646A73";var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:"page-hint";var a;o.showState=(a=n==null?void 0:n.showState)!==null&&a!==void 0?a:"text";var l;o.content=(l=n==null?void 0:n.content)!==null&&l!==void 0?l:"\u8BF4\u660E\u6587\u5B57";var f;return o.align=(f=n==null?void 0:n.align)!==null&&f!==void 0?f:"",o}return r}(Y);function qg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ug(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Vk(e,t,r){return t&&Ug(e.prototype,t),r&&Ug(e,r),e}function Wg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ni(e){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ni(e)}function zk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c_(e,t)}function Hk(e,t){return t&&(qk(t)==="object"||typeof t=="function")?t:qg(e)}function c_(e,t){return c_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},c_(e,t)}function qk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Uk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wk(e){var t=Uk();return function(){var n=ni(e),o;if(t){var i=ni(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Hk(this,o)}}var Kk=function(e){zk(r,e);var t=Wk(r);function r(n){Ck(this,r);var o;return o=t.call(this,n),Wg(qg(o),"props",void 0),o.props=new Lk(n==null?void 0:n.props),o}return Vk(r,null,[{key:"controlName",get:function(){return"\u8BF4\u660E\u6587\u5B57"}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),r}(C);Wg(Kk,"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 ri(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oi(e){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oi(e)}function Xk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a_(e,t)}function Jk(e,t){return t&&(Qk(t)==="object"||typeof t=="function")?t:ri(e)}function a_(e,t){return a_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},a_(e,t)}function Qk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yk(e){var t=Zk();return function(){var n=oi(e),o;if(t){var i=oi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Jk(this,o)}}var eD=function(e){Xk(r,e);var t=Yk(r);function r(n){Gk(this,r);var o;o=t.call(this,n),l_(ri(o),"content",void 0),l_(ri(o),"url",void 0),l_(ri(o),"openMode",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5";var u;o.url=(u=n==null?void 0:n.url)!==null&&u!==void 0?u:"";var c;return o.openMode=(c=n==null?void 0:n.openMode)!==null&&c!==void 0?c:"new",o}return r}(Y);function Kg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function nD(e,t,r){return t&&Gg(e.prototype,t),r&&Gg(e,r),e}function f_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ii(e){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ii(e)}function rD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s_(e,t)}function oD(e,t){return t&&(iD(t)==="object"||typeof t=="function")?t:Kg(e)}function s_(e,t){return s_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},s_(e,t)}function iD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cD(e){var t=uD();return function(){var n=ii(e),o;if(t){var i=ii(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oD(this,o)}}var Xg=function(e){rD(r,e);var t=cD(r);function r(n){tD(this,r);var o;return o=t.call(this,n),f_(Kg(o),"props",void 0),o.props=new eD(n==null?void 0:n.props),o}return nD(r,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),r}(C);f_(Xg,"controlEventKeys",["on_click"]),f_(Xg,"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 _t(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function It(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ui(e){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ui(e)}function aD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&__(e,t)}function fD(e,t){return t&&(sD(t)==="object"||typeof t=="function")?t:_t(e)}function __(e,t){return __=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},__(e,t)}function sD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _D(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yD(e){var t=_D();return function(){var n=ui(e),o;if(t){var i=ui(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fD(this,o)}}var je=function(e){aD(r,e);var t=yD(r);function r(n){lD(this,r);var o;o=t.call(this,n),It(_t(o),"content",void 0),It(_t(o),"buttonType",void 0),It(_t(o),"showType",void 0),It(_t(o),"color",void 0),It(_t(o),"icon",void 0),It(_t(o),"defaultState",void 0),It(_t(o),"command",void 0),It(_t(o),"isLoading",void 0),It(_t(o),"optObj",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6309\u94AE";var u;o.buttonType=(u=n==null?void 0:n.buttonType)!==null&&u!==void 0?u:"primary";var c;o.showType=(c=n==null?void 0:n.showType)!==null&&c!==void 0?c:"text";var a;o.color=(a=n==null?void 0:n.color)!==null&&a!==void 0?a:"primary";var l;o.icon=(l=n==null?void 0:n.icon)!==null&&l!==void 0?l:"iconfenlei2";var f;o.defaultState=(f=n==null?void 0:n.defaultState)!==null&&f!==void 0?f:"default";var _;o.command=(_=n==null?void 0:n.command)!==null&&_!==void 0?_:"custom";var p;o.isLoading=(p=n==null?void 0:n.isLoading)!==null&&p!==void 0?p:!1;var b;return o.optObj=new CA((b=n==null?void 0:n.optObj)!==null&&b!==void 0?b:{}),o}return r}(Y);function Jg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dD(e,t,r){return t&&Qg(e.prototype,t),r&&Qg(e,r),e}function y_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ci(e){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ci(e)}function vD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 hD(e,t){return t&&(bD(t)==="object"||typeof t=="function")?t:Jg(e)}function p_(e,t){return p_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},p_(e,t)}function bD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mD(e){var t=gD();return function(){var n=ci(e),o;if(t){var i=ci(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hD(this,o)}}var Te=function(e){vD(r,e);var t=mD(r);function r(n){pD(this,r);var o;return o=t.call(this,n),y_(Jg(o),"props",void 0),o.props=new je(n==null?void 0:n.props),o}return dD(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}(C);y_(Te,"controlEventKeys",["on_click"]),y_(Te,"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 Qt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function A(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Bt;(function(e){e.ShowBizKey="is_show_biz_key",e.ShowSubmitUser="is_show_submit_user",e.ShowSubmitTime="is_show_submit_time",e.ShowSubmitDept="is_show_submit_dept",e.ShowCurrentApprovar="is_show_current_approvar",e.ShowTitle="is_show_title"})(Bt||(Bt={}));var Zg;(function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"})(Zg||(Zg={}));var Yg;(function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"})(Yg||(Yg={}));var d_=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:Je(8),value:["",""]};Qt(this,e),A(this,"dateConfigType",void 0),A(this,"dateLimitType",void 0),A(this,"id",void 0),A(this,"value",void 0),this.id=t.id,this.dateConfigType=t.dateConfigType,this.dateLimitType=t.dateLimitType,this.value=t.value},v_;(function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"})(v_||(v_={}));var h_=function e(t){Qt(this,e),A(this,"id",void 0),A(this,"text",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:Je();var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""},b_;(function(e){e.SOLID="solid-line",e.DASHED="dashed-line",e.BOLD_SOLID="bold-solid-line",e.BOLD_DASHED="bold-dashed-line",e.DOUBLE_SOLID="double-solid-line",e.DOUBLE_DASHED="double-dashed-line"})(b_||(b_={}));var em=function e(t){Qt(this,e),A(this,"type",void 0),A(this,"person",void 0),A(this,"signatureType",void 0),A(this,"telephone",void 0),A(this,"company",void 0),A(this,"remark",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"private";var n;this.person=new Jr((n=t==null?void 0:t.person)!==null&&n!==void 0?n:{type:"form"});var o;this.signatureType=(o=t==null?void 0:t.signatureType)!==null&&o!==void 0?o:[];var i,u;this.telephone=(u=t==null?void 0:t.telephone)!==null&&u!==void 0?u:new Jr((i=t==null?void 0:t.telephone)!==null&&i!==void 0?i:{type:"form"});var c,a;this.company=(a=t==null?void 0:t.company)!==null&&a!==void 0?a:new Jr((c=t==null?void 0:t.company)!==null&&c!==void 0?c:{type:"form"});var l;this.remark=(l=t==null?void 0:t.remark)!==null&&l!==void 0?l:""},OD=function e(t){Qt(this,e);var r;A(this,"fileControl",void 0),A(this,"undersignedList",void 0),A(this,"statusControl",void 0),A(this,"completeControl",void 0),A(this,"completeTimeControl",void 0);var n;this.fileControl=(n=t==null?void 0:t.fileControl)!==null&&n!==void 0?n:"";var o;this.undersignedList=(o=t==null||(r=t.undersignedList)===null||r===void 0?void 0:r.map(function(a){return new em(a)}))!==null&&o!==void 0?o:[new em];var i;this.statusControl=(i=t==null?void 0:t.statusControl)!==null&&i!==void 0?i:"";var u;this.completeControl=(u=t==null?void 0:t.completeControl)!==null&&u!==void 0?u:"";var c;this.completeTimeControl=(c=t==null?void 0:t.completeTimeControl)!==null&&c!==void 0?c:""},tm=function e(t){Qt(this,e),A(this,"id",void 0),A(this,"appId",void 0),A(this,"dataCode",void 0),A(this,"svcCode",void 0),A(this,"name",void 0),A(this,"fieldList",void 0),A(this,"active",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:Je(8);var n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.dataCode=(o=t==null?void 0:t.dataCode)!==null&&o!==void 0?o:"";var i;this.svcCode=(i=t==null?void 0:t.svcCode)!==null&&i!==void 0?i:"";var u;this.name=(u=t==null?void 0:t.name)!==null&&u!==void 0?u:"";var c;this.fieldList=(c=t==null?void 0:t.fieldList)!==null&&c!==void 0?c:[];var a;this.active=(a=t==null?void 0:t.active)!==null&&a!==void 0?a:!1},nm=function e(t){Qt(this,e),A(this,"active",void 0),A(this,"text",void 0);var r;this.active=(r=t==null?void 0:t.active)!==null&&r!==void 0?r:!1;var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""},wD=function e(t){Qt(this,e),A(this,"types",void 0),A(this,"history",void 0),A(this,"collaborativeRecord",void 0),A(this,"logicToDelete",void 0),A(this,"watermark",void 0),A(this,"autoRename",void 0);var r;this.types=(r=t==null?void 0:t.types)!==null&&r!==void 0?r:["word","ppt","excel"];var n;this.history=(n=t==null?void 0:t.history)!==null&&n!==void 0?n:!1;var o;this.collaborativeRecord=(o=t==null?void 0:t.collaborativeRecord)!==null&&o!==void 0?o:!1;var i;this.logicToDelete=(i=t==null?void 0:t.logicToDelete)!==null&&i!==void 0?i:!0,this.watermark=new nm(t==null?void 0:t.watermark),this.autoRename=new nm(t==null?void 0:t.autoRename)},$D=480;function li(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var PD=function e(t){Qt(this,e),A(this,"fileId",void 0),A(this,"fileName",void 0),A(this,"ruleName",void 0),A(this,"isDefault",void 0),A(this,"rules",void 0);var r;this.fileId=(r=t==null?void 0:t.fileId)!==null&&r!==void 0?r:"";var n;this.fileName=(n=t==null?void 0:t.fileName)!==null&&n!==void 0?n:"";var o;this.ruleName=(o=t==null?void 0:t.ruleName)!==null&&o!==void 0?o:"";var i;this.isDefault=(i=t.isDefault)!==null&&i!==void 0?i:!1;var u;this.rules=(u=t.rules)!==null&&u!==void 0?u:[]},rm;(function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"})(rm||(rm={}));var g_;(function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"})(g_||(g_={}));var ai;(function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"})(ai||(ai={}));var Zt;(function(e){e.ALL="all",e.ASSIGN="assign"})(Zt||(Zt={}));var m_;(function(e){e.ALL="all",e.ADMIN="admin"})(m_||(m_={}));function O_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function om(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fi(e){return fi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fi(e)}function SD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w_(e,t)}function ED(e,t){return t&&(TD(t)==="object"||typeof t=="function")?t:O_(e)}function w_(e,t){return w_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},w_(e,t)}function TD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ID(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BD(e){var t=ID();return function(){var n=fi(e),o;if(t){var i=fi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ED(this,o)}}var AD=function(e){SD(r,e);var t=BD(r);function r(n){RD(this,r);var o;o=t.call(this,n),om(O_(o),"color",void 0),om(O_(o),"lineStyle",void 0);var i;o.color=(i=n==null?void 0:n.color)!==null&&i!==void 0?i:"#000";var u;return o.lineStyle=(u=n==null?void 0:n.lineStyle)!==null&&u!==void 0?u:b_.SOLID,o}return r}(Y);function im(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function um(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function kD(e,t,r){return t&&um(e.prototype,t),r&&um(e,r),e}function cm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function si(e){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},si(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&&$_(e,t)}function FD(e,t){return t&&(ND(t)==="object"||typeof t=="function")?t:im(e)}function $_(e,t){return $_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$_(e,t)}function ND(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MD(e){var t=jD();return function(){var n=si(e),o;if(t){var i=si(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FD(this,o)}}var LD=function(e){DD(r,e);var t=MD(r);function r(n){xD(this,r);var o;return o=t.call(this,n),cm(im(o),"props",void 0),o.props=new AD(n==null?void 0:n.props),o}return kD(r,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),r}(C);cm(LD,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]}]);function Yt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function en(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _i(e){return _i=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_i(e)}function am(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&P_(e,t)}function CD(e,t){return t&&(VD(t)==="object"||typeof t=="function")?t:Yt(e)}function P_(e,t){return P_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},P_(e,t)}function VD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fm(e){var t=zD();return function(){var n=_i(e),o;if(t){var i=_i(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return CD(this,o)}}var HD=function(e){am(r,e);var t=fm(r);function r(n){lm(this,r);var o;return o=t.call(this,n),en(Yt(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),en(Yt(o),"dataBind",{type:"any"}),en(Yt(o),"config",{type:"array"}),n.config.includes(Bt.ShowBizKey)&&(o.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")}},message:d.getMessage("bizKeyNotBindFiled")}),!n.isHide&&n.config.length===0&&(o.config={type:"array",min:1,required:!0,message:d.getMessage("pleaseSelectOneField")}),o}return r}(Z),sm=function(e){am(r,e);var t=fm(r);function r(n){lm(this,r);var o;o=t.call(this,n),en(Yt(o),"dataBind",void 0),en(Yt(o),"caption",void 0),en(Yt(o),"config",void 0),en(Yt(o),"position",void 0),o.dataBind=new Ye(n==null?void 0:n.dataBind);var i;o.config=(i=n==null?void 0:n.config)!==null&&i!==void 0?i:[Bt.ShowSubmitUser,Bt.ShowSubmitDept,Bt.ShowSubmitTime,Bt.ShowCurrentApprovar,Bt.ShowTitle];var u,c;o.caption=(c=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:no==null?void 0:no.controlName)!==null&&c!==void 0?c:"";var a;return o.position=(a=n==null?void 0:n.position)!==null&&a!==void 0?a:"top",o}return r}(Y);en(sm,"Rules",HD);function _m(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ym(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function UD(e,t,r){return t&&ym(e.prototype,t),r&&ym(e,r),e}function R_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yi(e){return yi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yi(e)}function WD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&S_(e,t)}function KD(e,t){return t&&(GD(t)==="object"||typeof t=="function")?t:_m(e)}function S_(e,t){return S_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},S_(e,t)}function GD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JD(e){var t=XD();return function(){var n=yi(e),o;if(t){var i=yi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KD(this,o)}}var no=function(e){WD(r,e);var t=JD(r);function r(n){qD(this,r);var o;return o=t.call(this,n),R_(_m(o),"props",void 0),o.props=new sm(n==null?void 0:n.props),o}return UD(r,null,[{key:"controlName",get:function(){return"\u6807\u9898\u7EC4\u4EF6"}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),r}(C);R_(no,"controlFieldType",m.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 pi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function di(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vi(e){return vi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vi(e)}function 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&&E_(e,t)}function QD(e,t){return t&&(ZD(t)==="object"||typeof t=="function")?t:pi(e)}function E_(e,t){return E_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},E_(e,t)}function ZD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vm(e){var t=YD();return function(){var n=vi(e),o;if(t){var i=vi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QD(this,o)}}var eF=function(e){dm(r,e);var t=vm(r);function r(n){pm(this,r);var o;return o=t.call(this,n),di(pi(o),"formKey",{type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}),o}return r}(Z),hm=function(e){dm(r,e);var t=vm(r);function r(n){pm(this,r);var o;o=t.call(this,n),di(pi(o),"formKey",void 0),di(pi(o),"openType",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:bi.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:bi.controlName;var c;o.formKey=(c=n==null?void 0:n.formKey)!==null&&c!==void 0?c:"";var a;return o.openType=(a=n==null?void 0:n.openType)!==null&&a!==void 0?a:"modal",o}return r}(je);di(hm,"Rules",eF);function bm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function nF(e,t,r){return t&&gm(e.prototype,t),r&&gm(e,r),e}function T_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hi(e){return hi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hi(e)}function rF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 oF(e,t){return t&&(iF(t)==="object"||typeof t=="function")?t:bm(e)}function I_(e,t){return I_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},I_(e,t)}function iF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cF(e){var t=uF();return function(){var n=hi(e),o;if(t){var i=hi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oF(this,o)}}var bi=function(e){rF(r,e);var t=cF(r);function r(n){tF(this,r);var o;return o=t.call(this,n),T_(bm(o),"props",void 0),o.props=new hm(n==null?void 0:n.props),o}return nF(r,null,[{key:"controlName",get:function(){return"\u521B\u5EFA\u5355\u636E"}},{key:"controlIcon",get:function(){return"iconchuangjiandanju"}},{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),r}(Te);T_(bi,"controlEventKeys",["on_click","on_click_finish"]),T_(bi,"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 zn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gi(e){return gi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gi(e)}function Om(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&B_(e,t)}function lF(e,t){return t&&(aF(t)==="object"||typeof t=="function")?t:zn(e)}function B_(e,t){return B_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},B_(e,t)}function aF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wm(e){var t=fF();return function(){var n=gi(e),o;if(t){var i=gi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lF(this,o)}}var sF=function(e){Om(r,e);var t=wm(r);function r(n){mm(this,r);var o;return o=t.call(this,n),Hn(zn(o),"processKey",[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterProcess")}]),o}return r}(Z),$m=function(e){Om(r,e);var t=wm(r);function r(n){mm(this,r);var o;o=t.call(this,n),Hn(zn(o),"processKey",void 0),Hn(zn(o),"initiatorMode",void 0),Hn(zn(o),"fieldCode",void 0),Hn(zn(o),"employeeId",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Oi.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:Oi.controlName;var c;o.initiatorMode=(c=n==null?void 0:n.initiatorMode)!==null&&c!==void 0?c:"currentInitiator";var a;o.processKey=(a=n==null?void 0:n.processKey)!==null&&a!==void 0?a:"";var l;o.fieldCode=(l=n==null?void 0:n.fieldCode)!==null&&l!==void 0?l:"";var f;return o.employeeId=(f=n==null?void 0:n.employeeId)!==null&&f!==void 0?f:"",o}return r}(je);Hn($m,"Rules",sF);function Pm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _F(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yF(e,t,r){return t&&Rm(e.prototype,t),r&&Rm(e,r),e}function A_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mi(e){return mi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mi(e)}function pF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 dF(e,t){return t&&(vF(t)==="object"||typeof t=="function")?t:Pm(e)}function x_(e,t){return x_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},x_(e,t)}function vF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bF(e){var t=hF();return function(){var n=mi(e),o;if(t){var i=mi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dF(this,o)}}var Oi=function(e){pF(r,e);var t=bF(r);function r(n){_F(this,r);var o;return o=t.call(this,n),A_(Pm(o),"props",void 0),o.props=new $m(n==null?void 0:n.props),o}return yF(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u63D0\u4EA4"}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),r}(Te);A_(Oi,"controlEventKeys",["on_click","on_click_finish"]),A_(Oi,"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 gF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wi(e){return wi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wi(e)}function OF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k_(e,t)}function wF(e,t){return t&&($F(t)==="object"||typeof t=="function")?t:gF(e)}function k_(e,t){return k_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},k_(e,t)}function $F(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RF(e){var t=PF();return function(){var n=wi(e),o;if(t){var i=wi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wF(this,o)}}var SF=function(e){OF(r,e);var t=RF(r);function r(n){mF(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Pi.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Pi.controlIcon,o}return r}(je);function Sm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Em(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function TF(e,t,r){return t&&Em(e.prototype,t),r&&Em(e,r),e}function D_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $i(e){return $i=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$i(e)}function IF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&F_(e,t)}function BF(e,t){return t&&(AF(t)==="object"||typeof t=="function")?t:Sm(e)}function F_(e,t){return F_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},F_(e,t)}function AF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kF(e){var t=xF();return function(){var n=$i(e),o;if(t){var i=$i(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BF(this,o)}}var Pi=function(e){IF(r,e);var t=kF(r);function r(n){EF(this,r);var o;return o=t.call(this,n),D_(Sm(o),"props",void 0),o.props=new SF(n==null?void 0:n.props),o}return TF(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),r}(Te);D_(Pi,"controlEventKeys",["on_click"]),D_(Pi,"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 N_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ri(e){return Ri=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ri(e)}function FF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&j_(e,t)}function NF(e,t){return t&&(jF(t)==="object"||typeof t=="function")?t:N_(e)}function j_(e,t){return j_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},j_(e,t)}function jF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LF(e){var t=MF();return function(){var n=Ri(e),o;if(t){var i=Ri(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return NF(this,o)}}var CF=function(e){FF(r,e);var t=LF(r);function r(n){DF(this,r);var o,i;o=t.call(this,n),Tm(N_(o),"templateList",void 0),Tm(N_(o),"templateType",void 0);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Ei.controlIcon;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:Ei.controlName;var a;o.templateType=(a=n==null?void 0:n.templateType)!==null&&a!==void 0?a:"system";var l;return o.templateList=(l=n==null||(i=n.templateList)===null||i===void 0?void 0:i.map(function(f){return new tm(f)}))!==null&&l!==void 0?l:[new tm({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return r}(je);function Im(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zF(e,t,r){return t&&Bm(e.prototype,t),r&&Bm(e,r),e}function M_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Si(e){return Si=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Si(e)}function HF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&L_(e,t)}function qF(e,t){return t&&(UF(t)==="object"||typeof t=="function")?t:Im(e)}function L_(e,t){return L_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},L_(e,t)}function UF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KF(e){var t=WF();return function(){var n=Si(e),o;if(t){var i=Si(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qF(this,o)}}var Ei=function(e){HF(r,e);var t=KF(r);function r(n){VF(this,r);var o;return o=t.call(this,n),M_(Im(o),"props",void 0),o.props=new CF(n==null?void 0:n.props),o}return zF(r,null,[{key:"controlName",get:function(){return"\u5BFC\u51FA"}},{key:"controlIcon",get:function(){return"iconxiazai1"}},{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),r}(Te);M_(Ei,"controlEventKeys",["on_click","on_click_finish"]),M_(Ei,"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 GF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ti(e){return Ti=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ti(e)}function JF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 QF(e,t){return t&&(ZF(t)==="object"||typeof t=="function")?t:GF(e)}function C_(e,t){return C_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},C_(e,t)}function ZF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eN(e){var t=YF();return function(){var n=Ti(e),o;if(t){var i=Ti(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QF(this,o)}}var tN=function(e){JF(r,e);var t=eN(r);function r(n){XF(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Bi.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Bi.controlIcon,o}return r}(je);function Am(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rN(e,t,r){return t&&xm(e.prototype,t),r&&xm(e,r),e}function V_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ii(e){return Ii=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ii(e)}function oN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 iN(e,t){return t&&(uN(t)==="object"||typeof t=="function")?t:Am(e)}function z_(e,t){return z_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},z_(e,t)}function uN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lN(e){var t=cN();return function(){var n=Ii(e),o;if(t){var i=Ii(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iN(this,o)}}var Bi=function(e){oN(r,e);var t=lN(r);function r(n){nN(this,r);var o;return o=t.call(this,n),V_(Am(o),"props",void 0),o.props=new tN(n==null?void 0:n.props),o}return rN(r,null,[{key:"controlName",get:function(){return"\u5BFC\u51FA\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"icondaochujilu"}},{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),r}(Te);V_(Bi,"controlEventKeys",["on_click"]),V_(Bi,"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 H_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function km(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ai(e){return Ai=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ai(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&&U_(e,t)}function fN(e,t){return t&&(sN(t)==="object"||typeof t=="function")?t:H_(e)}function U_(e,t){return U_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},U_(e,t)}function sN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _N(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yN(e){var t=_N();return function(){var n=Ai(e),o;if(t){var i=Ai(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fN(this,o)}}var pN=function e(t){km(this,e),q_(this,"dataCode",void 0),this.dataCode=t.dataCode},dN=function(e){aN(r,e);var t=yN(r);function r(n){km(this,r);var o,i;o=t.call(this,n),q_(H_(o),"canImportList",void 0),q_(H_(o),"templateType",void 0);var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:ki.controlName;var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:ki.controlIcon;var a;o.canImportList=(a=n==null||(i=n.canImportList)===null||i===void 0?void 0:i.map(function(f){return new pN(f)}))!==null&&a!==void 0?a:[];var l;return o.templateType=(l=n==null?void 0:n.templateType)!==null&&l!==void 0?l:"system",o}return r}(je);function Dm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hN(e,t,r){return t&&Fm(e.prototype,t),r&&Fm(e,r),e}function W_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xi(e){return xi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xi(e)}function bN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&K_(e,t)}function gN(e,t){return t&&(mN(t)==="object"||typeof t=="function")?t:Dm(e)}function K_(e,t){return K_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},K_(e,t)}function mN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ON(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wN(e){var t=ON();return function(){var n=xi(e),o;if(t){var i=xi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gN(this,o)}}var ki=function(e){bN(r,e);var t=wN(r);function r(n){vN(this,r);var o;return o=t.call(this,n),W_(Dm(o),"props",void 0),o.props=new dN(n==null?void 0:n.props),o}return hN(r,null,[{key:"controlName",get:function(){return"\u5BFC\u5165"}},{key:"controlIcon",get:function(){return"iconshangchuan3"}},{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),r}(Te);W_(ki,"controlEventKeys",["on_click","on_click_finish"]),W_(ki,"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 Di(){return{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:d.getMessage("pleaseSelectControl")}}}}}}function tn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function At(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fi(e){return Fi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fi(e)}function jm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&G_(e,t)}function Mm(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){At(e,o,r[o])})}return e}function $N(e,t){return t&&(PN(t)==="object"||typeof t=="function")?t:tn(e)}function G_(e,t){return G_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},G_(e,t)}function PN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Lm(e){var t=RN();return function(){var n=Fi(e),o;if(t){var i=Fi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $N(this,o)}}var SN=function(e){jm(r,e);var t=Lm(r);function r(n){Nm(this,r);var o;return o=t.call(this,n),At(tn(o),"fillPayload",{type:"object",fields:Mm({},Di())}),At(tn(o),"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}}}),At(tn(o),"fillBack",{type:"object",fields:Mm({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},Di())}),(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:d.getMessage("pleaseSelectControl")}),o}return r}(Z),Cm=function(e){jm(r,e);var t=Lm(r);function r(n){Nm(this,r);var o;o=t.call(this,n),At(tn(o),"fillPayload",void 0),At(tn(o),"formBind",void 0),At(tn(o),"fillBack",void 0),At(tn(o),"command",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:ji.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:ji.controlIcon;var c;return o.command=(c=n==null?void 0:n.command)!==null&&c!==void 0?c:"create",o.fillPayload=new ag(n==null?void 0:n.fillPayload),o.formBind=new wA(n==null?void 0:n.formBind),o.fillBack=new fg(n==null?void 0:n.fillBack),o}return r}(je);At(Cm,"Rules",SN);function Vm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function TN(e,t,r){return t&&zm(e.prototype,t),r&&zm(e,r),e}function X_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ni(e){return Ni=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ni(e)}function IN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 BN(e,t){return t&&(AN(t)==="object"||typeof t=="function")?t:Vm(e)}function J_(e,t){return J_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},J_(e,t)}function AN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kN(e){var t=xN();return function(){var n=Ni(e),o;if(t){var i=Ni(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BN(this,o)}}var ji=function(e){IN(r,e);var t=kN(r);function r(n){EN(this,r);var o;return o=t.call(this,n),X_(Vm(o),"props",void 0),o.props=new Cm(n==null?void 0:n.props),o}return TN(r,null,[{key:"controlName",get:function(){return"\u8868\u5355\u64CD\u4F5C"}},{key:"controlIcon",get:function(){return"iconbiaodancaozuo"}},{key:"controlType",get:function(){return"form-select-button"}}]),r}(Te);X_(ji,"controlEventKeys",["on_click","on_click_finish"]),X_(ji,"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 xt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mi(e){return Mi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mi(e)}function 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&&Q_(e,t)}function Um(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){yt(e,o,r[o])})}return e}function DN(e,t){return t&&(FN(t)==="object"||typeof t=="function")?t:xt(e)}function Q_(e,t){return Q_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Q_(e,t)}function FN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wm(e){var t=NN();return function(){var n=Mi(e),o;if(t){var i=Mi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DN(this,o)}}var jN=function(e){qm(r,e);var t=Wm(r);function r(n){Hm(this,r);var o;return o=t.call(this,n),yt(xt(o),"fillPayload",{type:"object",fields:Um({},Di())}),yt(xt(o),"listPageBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}}),yt(xt(o),"fillBack",{type:"object",fields:Um({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},Di())}),o}return r}(Z),Km=function(e){qm(r,e);var t=Wm(r);function r(n){Hm(this,r);var o;o=t.call(this,n),yt(xt(o),"fillPayload",void 0),yt(xt(o),"listPageBind",void 0),yt(xt(o),"fillBack",void 0),yt(xt(o),"showSelectedDetail",void 0),yt(xt(o),"selectedContentConfig",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Ci.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Ci.controlIcon,o.fillPayload=new ag(n==null?void 0:n.fillPayload),o.listPageBind=new ss(n==null?void 0:n.listPageBind),o.fillBack=new fg(n==null?void 0:n.fillBack);var c;return o.showSelectedDetail=(c=n==null?void 0:n.showSelectedDetail)!==null&&c!==void 0?c:!1,o.selectedContentConfig=new ds(n==null?void 0:n.selectedContentConfig),o}return r}(je);yt(Km,"Rules",jN);function Gm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function LN(e,t,r){return t&&Xm(e.prototype,t),r&&Xm(e,r),e}function Z_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Li(e){return Li=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Li(e)}function CN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Y_(e,t)}function VN(e,t){return t&&(zN(t)==="object"||typeof t=="function")?t:Gm(e)}function Y_(e,t){return Y_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Y_(e,t)}function zN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qN(e){var t=HN();return function(){var n=Li(e),o;if(t){var i=Li(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VN(this,o)}}var Ci=function(e){CN(r,e);var t=qN(r);function r(n){MN(this,r);var o;return o=t.call(this,n),Z_(Gm(o),"props",void 0),o.props=new Km(n==null?void 0:n.props),o}return LN(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u9009\u62E9"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-select-button"}}]),r}(Te);Z_(Ci,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),Z_(Ci,"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 UN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ey(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vi(e){return Vi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vi(e)}function ty(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ny(e,t)}function WN(e,t){return t&&(KN(t)==="object"||typeof t=="function")?t:UN(e)}function ny(e,t){return ny=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ny(e,t)}function KN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ry(e){var t=GN();return function(){var n=Vi(e),o;if(t){var i=Vi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WN(this,o)}}var XN=function(e){ty(r,e);var t=ry(r);function r(n){return ey(this,r),t.call(this,n)}return r}(Z),JN=function(e){ty(r,e);var t=ry(r);function r(n){return ey(this,r),t.call(this,n)}return r}(yn),oy=function(e){ty(r,e);var t=ry(r);function r(n){return ey(this,r),t.call(this,n)}return r}(Y);Jm(oy,"Rules",XN),Jm(oy,"RuntimeRules",JN);function Qm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ZN(e,t,r){return t&&Zm(e.prototype,t),r&&Zm(e,r),e}function Ym(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zi(e){return zi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zi(e)}function YN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&iy(e,t)}function ej(e,t){return t&&(tj(t)==="object"||typeof t=="function")?t:Qm(e)}function iy(e,t){return iy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iy(e,t)}function tj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rj(e){var t=nj();return function(){var n=zi(e),o;if(t){var i=zi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ej(this,o)}}var oj=function(e){YN(r,e);var t=rj(r);function r(n){QN(this,r);var o;return o=t.call(this,n),Ym(Qm(o),"props",void 0),o.props=new oy(n==null?void 0:n.props),o}return ZN(r,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),r}(C);Ym(oj,"setting",[]);function qe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ue(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hi(e){return Hi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hi(e)}function tO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uy(e,t)}function ij(e,t){return t&&(uj(t)==="object"||typeof t=="function")?t:qe(e)}function uy(e,t){return uy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uy(e,t)}function uj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nO(e){var t=cj();return function(){var n=Hi(e),o;if(t){var i=Hi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ij(this,o)}}var lj=function(e){tO(r,e);var t=nO(r);function r(n){eO(this,r);var o;return o=t.call(this,n),Ue(qe(o),"dashboardKey",{type:"string",required:!0,message:d.getMessage("pleaseSelectDashboard")}),Ue(qe(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),Ue(qe(o),"isHideCaption",{type:"boolean"}),Ue(qe(o),"labelPosition",{type:"enum",enum:["top","left"]}),Ue(qe(o),"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Z),rO=function(e){tO(r,e);var t=nO(r);function r(n){eO(this,r);var o;o=t.call(this,n),Ue(qe(o),"dashboardKey",void 0),Ue(qe(o),"caption",void 0),Ue(qe(o),"isHideCaption",void 0),Ue(qe(o),"isShowCaptionTip",void 0),Ue(qe(o),"captionTip",void 0),Ue(qe(o),"labelPosition",void 0);var i;o.dashboardKey=(i=n==null?void 0:n.dashboardKey)!==null&&i!==void 0?i:"";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var c;o.isHideCaption=(c=n==null?void 0:n.isHideCaption)!==null&&c!==void 0?c:!1;var a;o.isShowCaptionTip=(a=n==null?void 0:n.isShowCaptionTip)!==null&&a!==void 0?a:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var f;return o.labelPosition=(f=n==null?void 0:n.labelPosition)!==null&&f!==void 0?f:"top",o}return r}(Y);Ue(rO,"Rules",lj);function oO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fj(e,t,r){return t&&iO(e.prototype,t),r&&iO(e,r),e}function uO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qi(e){return qi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qi(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&&cy(e,t)}function _j(e,t){return t&&(yj(t)==="object"||typeof t=="function")?t:oO(e)}function cy(e,t){return cy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cy(e,t)}function yj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dj(e){var t=pj();return function(){var n=qi(e),o;if(t){var i=qi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _j(this,o)}}var vj=function(e){sj(r,e);var t=dj(r);function r(n){aj(this,r);var o;return o=t.call(this,n),uO(oO(o),"props",void 0),o.props=new rO(n==null?void 0:n.props),o}return fj(r,null,[{key:"controlName",get:function(){return"\u4EEA\u8868\u76D8"}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),r}(C);uO(vj,"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 ro(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ui(e){return Ui=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ui(e)}function lO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ly(e,t)}function hj(e,t){return t&&(bj(t)==="object"||typeof t=="function")?t:ro(e)}function ly(e,t){return ly=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ly(e,t)}function bj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aO(e){var t=gj();return function(){var n=Ui(e),o;if(t){var i=Ui(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hj(this,o)}}var mj=function(e){lO(r,e);var t=aO(r);function r(n){cO(this,r);var o;return o=t.call(this,n),oo(ro(o),"showType",{type:"enum",enum:["select","tabs"]}),oo(ro(o),"viewList",{type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:d.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}}}),o}return r}(Z),fO=function(e){lO(r,e);var t=aO(r);function r(n){cO(this,r);var o,i;o=t.call(this,n),oo(ro(o),"showType",void 0),oo(ro(o),"viewList",void 0);var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"select";var c;return o.viewList=(c=n==null||(i=n.viewList)===null||i===void 0?void 0:i.map(function(a){return new MA(a)}))!==null&&c!==void 0?c:[],o}return r}(Y);oo(fO,"Rules",mj);function sO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _O(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function wj(e,t,r){return t&&_O(e.prototype,t),r&&_O(e,r),e}function yO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wi(e){return Wi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wi(e)}function $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&&ay(e,t)}function Pj(e,t){return t&&(Rj(t)==="object"||typeof t=="function")?t:sO(e)}function ay(e,t){return ay=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ay(e,t)}function Rj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Sj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ej(e){var t=Sj();return function(){var n=Wi(e),o;if(t){var i=Wi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Pj(this,o)}}var Tj=function(e){$j(r,e);var t=Ej(r);function r(n){Oj(this,r);var o;return o=t.call(this,n),yO(sO(o),"props",void 0),o.props=new fO(n==null?void 0:n.props),o}return wj(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u89C6\u56FE"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-view-select"}}]),r}(C);yO(Tj,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}]);function Ie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Be(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ki(e){return Ki=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ki(e)}function dO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fy(e,t)}function Ij(e,t){return t&&(Bj(t)==="object"||typeof t=="function")?t:Ie(e)}function fy(e,t){return fy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fy(e,t)}function Bj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Aj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vO(e){var t=Aj();return function(){var n=Ki(e),o;if(t){var i=Ki(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ij(this,o)}}var xj=function(e){dO(r,e);var t=vO(r);function r(n){pO(this,r);var o;return o=t.call(this,n),Be(Ie(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),Be(Ie(o),"isHideCaption",{type:"boolean"}),Be(Ie(o),"labelPosition",{type:"enum",enum:["top","left"]}),Be(Ie(o),"ocrType",{type:"string",required:!0,message:d.getMessage("pleaseSelectOcrType")}),Be(Ie(o),"fillList",{type:"array",validator:function(u,c,a){var l=c.every(function(f){return!f.controlId});if(l){a(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}}),Be(Ie(o),"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Z),hO=function(e){dO(r,e);var t=vO(r);function r(n){pO(this,r);var o,i;o=t.call(this,n),Be(Ie(o),"caption",void 0),Be(Ie(o),"isHideCaption",void 0),Be(Ie(o),"isShowCaptionTip",void 0),Be(Ie(o),"captionTip",void 0),Be(Ie(o),"labelPosition",void 0),Be(Ie(o),"ocrType",void 0),Be(Ie(o),"fillList",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:io.controlName;var c;o.isHideCaption=(c=n==null?void 0:n.isHideCaption)!==null&&c!==void 0?c:!1;var a;o.isShowCaptionTip=(a=n==null?void 0:n.isShowCaptionTip)!==null&&a!==void 0?a:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var f;o.labelPosition=(f=n==null?void 0:n.labelPosition)!==null&&f!==void 0?f:"top";var _;o.content=(_=n==null?void 0:n.content)!==null&&_!==void 0?_:io.controlName;var p;o.icon=(p=n==null?void 0:n.icon)!==null&&p!==void 0?p:io.controlIcon;var b;o.ocrType=(b=n==null?void 0:n.ocrType)!==null&&b!==void 0?b:"";var O;return o.fillList=(O=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(g){return new Ee(g)}))!==null&&O!==void 0?O:[],o}return r}(je);Be(hO,"Rules",xj);function bO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Dj(e,t,r){return t&&gO(e.prototype,t),r&&gO(e,r),e}function sy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gi(e){return Gi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gi(e)}function Fj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_y(e,t)}function Nj(e,t){return t&&(jj(t)==="object"||typeof t=="function")?t:bO(e)}function _y(e,t){return _y=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_y(e,t)}function jj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Mj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Lj(e){var t=Mj();return function(){var n=Gi(e),o;if(t){var i=Gi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Nj(this,o)}}var io=function(e){Fj(r,e);var t=Lj(r);function r(n){kj(this,r);var o;return o=t.call(this,n),sy(bO(o),"props",void 0),o.props=new hO(n==null?void 0:n.props),o}return Dj(r,null,[{key:"controlName",get:function(){return"\u6587\u5B57\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconwenzishibie"}},{key:"controlType",get:function(){return"text-ocr-button"}}]),r}(Te);sy(io,"controlEventKeys",["on_click","on_click_finish"]),sy(io,"setting",[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function Ae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xi(e){return Xi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xi(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&&yy(e,t)}function Cj(e,t){return t&&(Vj(t)==="object"||typeof t=="function")?t:Ae(e)}function yy(e,t){return yy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yy(e,t)}function Vj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wO(e){var t=zj();return function(){var n=Xi(e),o;if(t){var i=Xi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Cj(this,o)}}var Hj=function(e){OO(r,e);var t=wO(r);function r(n){mO(this,r);var o;return o=t.call(this,n),xe(Ae(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),xe(Ae(o),"isHideCaption",{type:"boolean"}),xe(Ae(o),"labelPosition",{type:"enum",enum:["top","left"]}),xe(Ae(o),"invoiceCheck",{type:"boolean"}),xe(Ae(o),"fillList",{type:"array",validator:function(u,c,a){var l=c.every(function(f){return!f.controlId});if(l){a(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}}),xe(Ae(o),"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Z),$O=function(e){OO(r,e);var t=wO(r);function r(n){mO(this,r);var o,i;o=t.call(this,n),xe(Ae(o),"caption",void 0),xe(Ae(o),"isHideCaption",void 0),xe(Ae(o),"isShowCaptionTip",void 0),xe(Ae(o),"captionTip",void 0),xe(Ae(o),"labelPosition",void 0),xe(Ae(o),"invoiceCheck",void 0),xe(Ae(o),"fillList",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:uo.controlName;var c;o.isHideCaption=(c=n==null?void 0:n.isHideCaption)!==null&&c!==void 0?c:!1;var a;o.isShowCaptionTip=(a=n==null?void 0:n.isShowCaptionTip)!==null&&a!==void 0?a:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var f;o.labelPosition=(f=n==null?void 0:n.labelPosition)!==null&&f!==void 0?f:"top";var _;o.content=(_=n==null?void 0:n.content)!==null&&_!==void 0?_:uo.controlName;var p;o.icon=(p=n==null?void 0:n.icon)!==null&&p!==void 0?p:uo.controlIcon;var b;o.invoiceCheck=(b=n==null?void 0:n.invoiceCheck)!==null&&b!==void 0?b:!0;var O;return o.fillList=(O=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(g){return new Ee(g)}))!==null&&O!==void 0?O:[],o}return r}(je);xe($O,"Rules",Hj);function PO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Uj(e,t,r){return t&&RO(e.prototype,t),r&&RO(e,r),e}function py(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ji(e){return Ji=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ji(e)}function 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&&dy(e,t)}function Kj(e,t){return t&&(Gj(t)==="object"||typeof t=="function")?t:PO(e)}function dy(e,t){return dy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dy(e,t)}function Gj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jj(e){var t=Xj();return function(){var n=Ji(e),o;if(t){var i=Ji(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kj(this,o)}}var uo=function(e){Wj(r,e);var t=Jj(r);function r(n){qj(this,r);var o;return o=t.call(this,n),py(PO(o),"props",void 0),o.props=new $O(n==null?void 0:n.props),o}return Uj(r,null,[{key:"controlName",get:function(){return"\u53D1\u7968\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconfabiaoshibie1"}},{key:"controlType",get:function(){return"invoice-check-button"}}]),r}(Te);py(uo,"controlEventKeys",["on_click","on_click_finish"]),py(uo,"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 Qi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yi(e){return Yi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yi(e)}function EO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Qj(e,t){return t&&(Zj(t)==="object"||typeof t=="function")?t:Qi(e)}function vy(e,t){return vy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vy(e,t)}function Zj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TO(e){var t=Yj();return function(){var n=Yi(e),o;if(t){var i=Yi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Qj(this,o)}}var eM=function(e){EO(r,e);var t=TO(r);function r(){SO(this,r);var n;return n=t.apply(this,arguments),Zi(Qi(n),"printTemplates",{type:"array",min:1,required:!0,message:d.getMessage("pleaseUploadAtLeastOnePrintTemplate")}),n}return r}(Z),IO=function(e){EO(r,e);var t=TO(r);function r(n){SO(this,r);var o,i;o=t.call(this,n),Zi(Qi(o),"printTemplates",void 0),Zi(Qi(o),"autoSelectTemplate",void 0);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:tu.controlIcon;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:tu.controlName;var a;o.printTemplates=(a=n==null||(i=n.printTemplates)===null||i===void 0?void 0:i.map(function(f){return new PD(f)}))!==null&&a!==void 0?a:[];var l;return o.autoSelectTemplate=(l=n==null?void 0:n.autoSelectTemplate)!==null&&l!==void 0?l:!1,o}return r}(je);Zi(IO,"Rules",eM);function BO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function nM(e,t,r){return t&&AO(e.prototype,t),r&&AO(e,r),e}function hy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function eu(e){return eu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},eu(e)}function rM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&by(e,t)}function oM(e,t){return t&&(iM(t)==="object"||typeof t=="function")?t:BO(e)}function by(e,t){return by=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},by(e,t)}function iM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cM(e){var t=uM();return function(){var n=eu(e),o;if(t){var i=eu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oM(this,o)}}var tu=function(e){rM(r,e);var t=cM(r);function r(n){tM(this,r);var o;return o=t.call(this,n),hy(BO(o),"props",void 0),o.props=new IO(n==null?void 0:n.props),o}return nM(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u6253\u5370"}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),r}(Te);hy(tu,"controlEventKeys",["on_click","on_click_finish"]),hy(tu,"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 lM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nu(e){return nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nu(e)}function fM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gy(e,t)}function sM(e,t){return t&&(_M(t)==="object"||typeof t=="function")?t:lM(e)}function gy(e,t){return gy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gy(e,t)}function _M(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pM(e){var t=yM();return function(){var n=nu(e),o;if(t){var i=nu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sM(this,o)}}var dM=function(e){fM(r,e);var t=pM(r);function r(n){aM(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:ou.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:ou.controlIcon,o}return r}(je);function xO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hM(e,t,r){return t&&kO(e.prototype,t),r&&kO(e,r),e}function my(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ru(e){return ru=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ru(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&&Oy(e,t)}function gM(e,t){return t&&(mM(t)==="object"||typeof t=="function")?t:xO(e)}function Oy(e,t){return Oy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Oy(e,t)}function mM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wM(e){var t=OM();return function(){var n=ru(e),o;if(t){var i=ru(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gM(this,o)}}var ou=function(e){bM(r,e);var t=wM(r);function r(n){vM(this,r);var o;return o=t.call(this,n),my(xO(o),"props",void 0),o.props=new dM(n==null?void 0:n.props),o}return hM(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u6253\u5370\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),r}(Te);my(ou,"controlEventKeys",["on_click"]),my(ou,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function we(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function iu(e){return iu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},iu(e)}function FO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wy(e,t)}function $M(e,t){return t&&(PM(t)==="object"||typeof t=="function")?t:we(e)}function wy(e,t){return wy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wy(e,t)}function PM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NO(e){var t=RM();return function(){var n=iu(e),o;if(t){var i=iu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $M(this,o)}}var SM=function(e){FO(r,e);var t=NO(r);function r(n){DO(this,r);var o;return o=t.call(this,n),$e(we(o),"formKey",{type:"string",required:!1}),(n.command==="edit"||n.command==="view")&&(o.formKey={type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}),o}return r}(Z),uu=function(e){FO(r,e);var t=NO(r);function r(n){DO(this,r);var o;o=t.call(this,n),$e(we(o),"content",void 0),$e(we(o),"code",void 0),$e(we(o),"command",void 0),$e(we(o),"color",void 0),$e(we(o),"icon",void 0),$e(we(o),"formKey",void 0),$e(we(o),"openType",void 0),$e(we(o),"needConfirm",void 0),$e(we(o),"confirmMessage",void 0),$e(we(o),"options",void 0),$e(we(o),"defaultState",void 0),$e(we(o),"priorityProcess",void 0),$e(we(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6309\u94AE",o.code=n==null?void 0:n.code;var u;o.command=(u=n==null?void 0:n.command)!==null&&u!==void 0?u:"custom";var c;o.color=(c=n==null?void 0:n.color)!==null&&c!==void 0?c:"primary",o.icon=n==null?void 0:n.icon,o.formKey=n==null?void 0:n.formKey,o.openType=n==null?void 0:n.openType,o.needConfirm=n==null?void 0:n.needConfirm,o.confirmMessage=n==null?void 0:n.confirmMessage,o.options=n==null?void 0:n.options;var a;o.defaultState=(a=n==null?void 0:n.defaultState)!==null&&a!==void 0?a:"default",o.priorityProcess=n==null?void 0:n.priorityProcess;var l;return o.isLoading=(l=n==null?void 0:n.isLoading)!==null&&l!==void 0?l:!1,o}return r}(Y);$e(uu,"Rules",SM);function jO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function TM(e,t,r){return t&&MO(e.prototype,t),r&&MO(e,r),e}function $y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cu(e){return cu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cu(e)}function IM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Py(e,t)}function BM(e,t){return t&&(AM(t)==="object"||typeof t=="function")?t:jO(e)}function Py(e,t){return Py=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Py(e,t)}function AM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kM(e){var t=xM();return function(){var n=cu(e),o;if(t){var i=cu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BM(this,o)}}var lu=function(e){IM(r,e);var t=kM(r);function r(n){EM(this,r);var o;return o=t.call(this,n),$y(jO(o),"props",void 0),o.props=new uu(n==null?void 0:n.props),o}return TM(r,null,[{key:"controlName",get:function(){return"\u64CD\u4F5C\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"operation-button"}}]),r}(C);$y(lu,"controlEventKeys",["on_click"]),$y(lu,"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 LO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function FM(e,t,r){return t&&CO(e.prototype,t),r&&CO(e,r),e}function NM(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function au(e){return au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},au(e)}function jM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ry(e,t)}function MM(e,t){return t&&(LM(t)==="object"||typeof t=="function")?t:LO(e)}function Ry(e,t){return Ry=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ry(e,t)}function LM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VM(e){var t=CM();return function(){var n=au(e),o;if(t){var i=au(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return MM(this,o)}}var zM=function(e){jM(r,e);var t=VM(r);function r(n){DM(this,r);var o;return o=t.call(this,n),NM(LO(o),"props",void 0),o.props=new uu(n==null?void 0:n.props),o}return FM(r,null,[{key:"controlType",get:function(){return"operation-button"}}]),r}(Et),Sy={Designer:lu,Runtime:zM,Property:uu};function kt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fu(e){return fu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fu(e)}function qM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ey(e,t)}function UM(e,t){return t&&(WM(t)==="object"||typeof t=="function")?t:kt(e)}function Ey(e,t){return Ey=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ey(e,t)}function WM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GM(e){var t=KM();return function(){var n=fu(e),o;if(t){var i=fu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return UM(this,o)}}var XM=function(e){qM(r,e);var t=GM(r);function r(n){HM(this,r);var o;o=t.call(this,n),nn(kt(o),"content",void 0),nn(kt(o),"buttonType",void 0),nn(kt(o),"showType",void 0),nn(kt(o),"color",void 0),nn(kt(o),"icon",void 0),nn(kt(o),"defaultState",void 0),nn(kt(o),"command",void 0),nn(kt(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:_u.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:_u.controlIcon;var c;o.buttonType=(c=n==null?void 0:n.buttonType)!==null&&c!==void 0?c:"primary";var a;o.showType=(a=n==null?void 0:n.showType)!==null&&a!==void 0?a:"iconText";var l;o.color=(l=n==null?void 0:n.color)!==null&&l!==void 0?l:"danger";var f;o.isHide=(f=n==null?void 0:n.isHide)!==null&&f!==void 0?f:!1;var _;o.defaultState=(_=n==null?void 0:n.defaultState)!==null&&_!==void 0?_:"default";var p;o.command=(p=n==null?void 0:n.command)!==null&&p!==void 0?p:"custom";var b;return o.isLoading=(b=n==null?void 0:n.isLoading)!==null&&b!==void 0?b:!1,o}return r}(Y);function VO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function QM(e,t,r){return t&&zO(e.prototype,t),r&&zO(e,r),e}function Ty(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function su(e){return su=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},su(e)}function ZM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Iy(e,t)}function YM(e,t){return t&&(eL(t)==="object"||typeof t=="function")?t:VO(e)}function Iy(e,t){return Iy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Iy(e,t)}function eL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nL(e){var t=tL();return function(){var n=su(e),o;if(t){var i=su(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YM(this,o)}}var _u=function(e){ZM(r,e);var t=nL(r);function r(n){JM(this,r);var o;return o=t.call(this,n),Ty(VO(o),"props",void 0),o.props=new XM(n==null?void 0:n.props),o}return QM(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u5220\u9664"}},{key:"controlIcon",get:function(){return"iconlajitong"}},{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),r}(C);Ty(_u,"controlEventKeys",["on_click"]),Ty(_u,"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 pt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function By(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function et(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yu(e){return yu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yu(e)}function Ay(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xy(e,t)}function rL(e,t){return t&&(oL(t)==="object"||typeof t=="function")?t:pt(e)}function xy(e,t){return xy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xy(e,t)}function oL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ky(e){var t=iL();return function(){var n=yu(e),o;if(t){var i=yu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rL(this,o)}}var uL=function(e){Ay(r,e);var t=ky(r);function r(n){By(this,r);var o;return o=t.call(this,n),et(pt(o),"maxLength",{type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),et(pt(o),"minLength",{type:"number",max:200,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),et(pt(o),"defaultValue",[{type:"string",max:200,min:0,message:d.getMessage("stringRangeError")},{pattern:"",message:""}]),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue[0].max=n.maxLength,o.defaultValue[0].min=n.minLength,o.defaultValue[0].message=d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o.defaultValue[1].pattern=li(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(pe),cL=function(e){Ay(r,e);var t=ky(r);function r(n){By(this,r);var o;return o=t.call(this,n),o.push({type:"string",message:d.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:li(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(U),co=function(e){Ay(r,e);var t=ky(r);function r(n){By(this,r);var o;o=t.call(this,n),et(pt(o),"maxLength",void 0),et(pt(o),"minLength",void 0),et(pt(o),"regularRules",void 0),et(pt(o),"defaultValue",void 0),et(pt(o),"encrypted",void 0),et(pt(o),"encryptedMode",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:200;var u;o.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0,o.regularRules=new sg(n==null?void 0:n.regularRules);var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:"";var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:lo.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165";var f;o.encrypted=(f=n==null?void 0:n.encrypted)!==null&&f!==void 0?f:!1;var _;return o.encryptedMode=(_=n==null?void 0:n.encryptedMode)!==null&&_!==void 0?_:"",o}return r}(D);et(co,"Rules",uL),et(co,"RuntimeRules",cL);function HO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function aL(e,t,r){return t&&qO(e.prototype,t),r&&qO(e,r),e}function pu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function du(e){return du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},du(e)}function fL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 sL(e,t){return t&&(_L(t)==="object"||typeof t=="function")?t:HO(e)}function Dy(e,t){return Dy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dy(e,t)}function _L(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pL(e){var t=yL();return function(){var n=du(e),o;if(t){var i=du(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sL(this,o)}}var lo=function(e){fL(r,e);var t=pL(r);function r(n){lL(this,r);var o;return o=t.call(this,n),pu(HO(o),"props",void 0),o.props=new co(n==null?void 0:n.props),o}return aL(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconSingleline_new1"}},{key:"controlType",get:function(){return"input"}}]),r}(F);pu(lo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),pu(lo,"controlFieldType",m.VARCHAR),pu(lo,"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 UO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vL(e,t,r){return t&&WO(e.prototype,t),r&&WO(e,r),e}function KO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vu(e){return vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vu(e)}function 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&&Fy(e,t)}function bL(e,t){return t&&(gL(t)==="object"||typeof t=="function")?t:UO(e)}function Fy(e,t){return Fy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fy(e,t)}function gL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OL(e){var t=mL();return function(){var n=vu(e),o;if(t){var i=vu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bL(this,o)}}var wL=function(e){hL(r,e);var t=OL(r);function r(n){dL(this,r);var o;return o=t.call(this,n),KO(UO(o),"props",void 0),o.props=new co(n==null?void 0:n.props),o}return vL(r,null,[{key:"controlType",get:function(){return"input"}}]),r}(N);KO(wL,"controlFieldType",m.VARCHAR);function ve(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ny(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hu(e){return hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hu(e)}function 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&&My(e,t)}function $L(e,t){return t&&(PL(t)==="object"||typeof t=="function")?t:ve(e)}function My(e,t){return My=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},My(e,t)}function PL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ly(e){var t=RL();return function(){var n=hu(e),o;if(t){var i=hu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $L(this,o)}}var SL=function(e){jy(r,e);var t=Ly(r);function r(n){Ny(this,r);var o;o=t.call(this,n),fe(ve(o),"limitMax",{type:"number",min:void 0,message:d.getMessage("PleaseReselectTheOptionalQuantity")});var i=n.limitMax==="unlimited";i&&(o.limitMax.type="string");var u=function(c){return c==="unlimited"?void 0:c};return o.limitMax.min=u(n.limitMin),o}return r}(jn),EL=function(e){jy(r,e);var t=Ly(r);function r(n){Ny(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o.push({type:"array",max:typeof n.limitMax=="number"?n.limitMax:void 0,min:typeof n.limitMin=="number"?n.limitMin:void 0}),o}return r}(U),bu=function(e){jy(r,e);var t=Ly(r);function r(n){Ny(this,r);var o;o=t.call(this,n),fe(ve(o),"checkboxMode",void 0),fe(ve(o),"options",void 0),fe(ve(o),"optionsOrder",void 0),fe(ve(o),"limitMax",void 0),fe(ve(o),"limitMin",void 0),fe(ve(o),"otherOption",void 0),fe(ve(o),"optionConfig",void 0),fe(ve(o),"optionsFormat",void 0),fe(ve(o),"defaultShowOptions",void 0),fe(ve(o),"datasourceBind",void 0),fe(ve(o),"multistageFilling",void 0),fe(ve(o),"interreaction",void 0),fe(ve(o),"defaultValue",void 0),fe(ve(o),"openMultistageFilling",void 0);var i;o.options=St((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.checkboxMode=(u=n==null?void 0:n.checkboxMode)!==null&&u!==void 0?u:"horizontal";var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"custom";var a;o.optionsOrder=(a=n==null?void 0:n.optionsOrder)!==null&&a!==void 0?a:!1;var l;o.otherOption=(l=n==null?void 0:n.otherOption)!==null&&l!==void 0?l:!1;var f;o.limitMin=(f=n==null?void 0:n.limitMin)!==null&&f!==void 0?f:"unlimited";var _;o.limitMax=(_=n==null?void 0:n.limitMax)!==null&&_!==void 0?_:"unlimited",o.datasourceBind=new te(n==null?void 0:n.datasourceBind);var p;o.interreaction=(p=n==null?void 0:n.interreaction)!==null&&p!==void 0?p:[];var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:Ou.controlName;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:[];var g;o.optionsFormat=(g=n==null?void 0:n.optionsFormat)!==null&&g!==void 0?g:"horizontal";var w;o.defaultShowOptions=(w=n==null?void 0:n.defaultShowOptions)!==null&&w!==void 0?w:!0;var v;return o.openMultistageFilling=(v=n==null?void 0:n.openMultistageFilling)!==null&&v!==void 0?v:!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 Ee($))})),o}return r}(D);fe(bu,"Rules",SL),fe(bu,"RuntimeRules",EL);function GO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function IL(e,t,r){return t&&XO(e.prototype,t),r&&XO(e,r),e}function gu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mu(e){return mu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mu(e)}function BL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cy(e,t)}function AL(e,t){return t&&(xL(t)==="object"||typeof t=="function")?t:GO(e)}function Cy(e,t){return Cy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cy(e,t)}function xL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DL(e){var t=kL();return function(){var n=mu(e),o;if(t){var i=mu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AL(this,o)}}var Ou=function(e){BL(r,e);var t=DL(r);function r(n){TL(this,r);var o;return o=t.call(this,n),gu(GO(o),"props",void 0),o.props=new bu(n==null?void 0:n.props),o}return IL(r,null,[{key:"controlName",get:function(){return"\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),r}(F);gu(Ou,"controlEventKeys",["on_change","on_click"]),gu(Ou,"controlFieldType",m.ARRAY),gu(Ou,"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:"super-setting",visible:!0}]);function JO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function NL(e,t,r){return t&&QO(e.prototype,t),r&&QO(e,r),e}function ZO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wu(e){return wu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wu(e)}function jL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ML(e,t){return t&&(LL(t)==="object"||typeof t=="function")?t:JO(e)}function Vy(e,t){return Vy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vy(e,t)}function LL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VL(e){var t=CL();return function(){var n=wu(e),o;if(t){var i=wu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ML(this,o)}}var zL=function(e){jL(r,e);var t=VL(r);function r(n){FL(this,r);var o;return o=t.call(this,n),ZO(JO(o),"props",void 0),o.props=new bu(n==null?void 0:n.props),o}return NL(r,null,[{key:"controlType",get:function(){return"checkbox"}}]),r}(N);ZO(zL,"controlFieldType",m.ARRAY);function Me(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Le(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $u(e){return $u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$u(e)}function 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&&zy(e,t)}function HL(e,t){return t&&(qL(t)==="object"||typeof t=="function")?t:Me(e)}function zy(e,t){return zy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zy(e,t)}function qL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function UL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tw(e){var t=UL();return function(){var n=$u(e),o;if(t){var i=$u(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return HL(this,o)}}var WL=function(e){ew(r,e);var t=tw(r);function r(n){return YO(this,r),t.call(this,n)}return r}(jn),Hy=function(e){ew(r,e);var t=tw(r);function r(n){YO(this,r);var o;o=t.call(this,n),Le(Me(o),"radioMode",void 0),Le(Me(o),"options",void 0),Le(Me(o),"optionConfig",void 0),Le(Me(o),"optionsFormat",void 0),Le(Me(o),"defaultShowOptions",void 0),Le(Me(o),"otherOption",void 0),Le(Me(o),"optionsOrder",void 0),Le(Me(o),"datasourceBind",void 0),Le(Me(o),"multistageFilling",void 0),Le(Me(o),"interreaction",void 0),Le(Me(o),"defaultValue",void 0),Le(Me(o),"openMultistageFilling",void 0);var i;o.options=St((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.radioMode=(u=n==null?void 0:n.radioMode)!==null&&u!==void 0?u:"horizontal";var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"custom";var a;o.otherOption=(a=n==null?void 0:n.otherOption)!==null&&a!==void 0?a:!1;var l;o.optionsOrder=(l=n==null?void 0:n.optionsOrder)!==null&&l!==void 0?l:!1;var f;o.defaultShowOptions=(f=n==null?void 0:n.defaultShowOptions)!==null&&f!==void 0?f:!0;var _;o.optionsFormat=(_=n==null?void 0:n.optionsFormat)!==null&&_!==void 0?_:"horizontal",o.datasourceBind=new te(n==null?void 0:n.datasourceBind);var p;o.interreaction=(p=n==null?void 0:n.interreaction)!==null&&p!==void 0?p:[];var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:Su.controlName;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:"";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(w){var v;(v=o.multistageFilling)===null||v===void 0||v.push(new Ee(w))})),o}return r}(D);Le(Hy,"Rules",WL);function nw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function GL(e,t,r){return t&&rw(e.prototype,t),r&&rw(e,r),e}function Pu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ru(e){return Ru=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ru(e)}function XL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qy(e,t)}function JL(e,t){return t&&(QL(t)==="object"||typeof t=="function")?t:nw(e)}function qy(e,t){return qy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qy(e,t)}function QL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YL(e){var t=ZL();return function(){var n=Ru(e),o;if(t){var i=Ru(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JL(this,o)}}var Su=function(e){XL(r,e);var t=YL(r);function r(n){KL(this,r);var o;return o=t.call(this,n),Pu(nw(o),"props",void 0),o.props=new Hy(n==null?void 0:n.props),o}return GL(r,null,[{key:"controlName",get:function(){return"\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),r}(F);Pu(Su,"controlEventKeys",["on_change","on_click"]),Pu(Su,"controlFieldType",m.VARCHAR),Pu(Su,"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:"super-setting",visible:!0}]);function ow(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function t5(e,t,r){return t&&iw(e.prototype,t),r&&iw(e,r),e}function uw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Eu(e){return Eu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Eu(e)}function n5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uy(e,t)}function r5(e,t){return t&&(o5(t)==="object"||typeof t=="function")?t:ow(e)}function Uy(e,t){return Uy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uy(e,t)}function o5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function i5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function u5(e){var t=i5();return function(){var n=Eu(e),o;if(t){var i=Eu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return r5(this,o)}}var c5=function(e){n5(r,e);var t=u5(r);function r(n){e5(this,r);var o;return o=t.call(this,n),uw(ow(o),"props",void 0),o.props=new Hy(n==null?void 0:n.props),o}return t5(r,null,[{key:"controlType",get:function(){return"radio"}}]),r}(N);uw(c5,"controlFieldType",m.VARCHAR);function Pe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function he(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tu(e){return Tu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tu(e)}function Ky(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gy(e,t)}function l5(e,t){return t&&(a5(t)==="object"||typeof t=="function")?t:Pe(e)}function Gy(e,t){return Gy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gy(e,t)}function a5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function f5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xy(e){var t=f5();return function(){var n=Tu(e),o;if(t){var i=Tu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return l5(this,o)}}var s5=function(e){Ky(r,e);var t=Xy(r);function r(n){Wy(this,r);var o;o=t.call(this,n),he(Pe(o),"defaultValue",[{type:"number",min:0,max:200,message:d.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}]),he(Pe(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue[0].max=i,o.defaultValue[0].min=u,o.defaultValue[0].message=d.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:d.getMessage("numberRangeSetError")}),o.defaultValue[1].pattern=li(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(pe),_5=function(e){Ky(r,e);var t=Xy(r);function r(n){Wy(this,r);var o;o=t.call(this,n),o[0]!==void 0&&(o[0].type="number");var i=n.rangeMax!==""?n.rangeMax:void 0,u=n.rangeMin!==""?n.rangeMin:void 0;return o.push({type:"number",max:i,min:u,message:d.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:li(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(U),Iu=function(e){Ky(r,e);var t=Xy(r);function r(n){Wy(this,r);var o;o=t.call(this,n),he(Pe(o),"rangeMin",void 0),he(Pe(o),"rangeMax",void 0),he(Pe(o),"numberType",void 0),he(Pe(o),"percentageFormat",void 0),he(Pe(o),"micrometer",void 0),he(Pe(o),"precision",void 0),he(Pe(o),"showUpperCase",void 0),he(Pe(o),"isShowUnit",void 0),he(Pe(o),"unitPosition",void 0),he(Pe(o),"unit",void 0),he(Pe(o),"defaultValue",void 0),he(Pe(o),"regularRules",void 0);var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var u;o.rangeMax=(u=n==null?void 0:n.rangeMax)!==null&&u!==void 0?u:"";var c;o.numberType=(c=n==null?void 0:n.numberType)!==null&&c!==void 0?c:"number";var a;o.percentageFormat=(a=n==null?void 0:n.percentageFormat)!==null&&a!==void 0?a:!1;var l;o.micrometer=(l=n==null?void 0:n.micrometer)!==null&&l!==void 0?l:!1;var f;o.precision=(f=n==null?void 0:n.precision)!==null&&f!==void 0?f:0;var _;o.showUpperCase=(_=n==null?void 0:n.showUpperCase)!==null&&_!==void 0?_:!1;var p;o.isShowUnit=(p=n==null?void 0:n.isShowUnit)!==null&&p!==void 0?p:!1;var b;o.unitPosition=(b=n==null?void 0:n.unitPosition)!==null&&b!==void 0?b:"right";var O;o.unit=(O=n==null?void 0:n.unit)!==null&&O!==void 0?O:"";var g;o.caption=(g=n==null?void 0:n.caption)!==null&&g!==void 0?g:xu.controlName;var w;o.placeholder=(w=n==null?void 0:n.placeholder)!==null&&w!==void 0?w:"\u8BF7\u8F93\u5165";var v;return o.defaultValue=(v=n==null?void 0:n.defaultValue)!==null&&v!==void 0?v:"",o.regularRules=new sg(n==null?void 0:n.regularRules),o}return r}(D);he(Iu,"Rules",s5),he(Iu,"RuntimeRules",_5);function cw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p5(e,t,r){return t&&lw(e.prototype,t),r&&lw(e,r),e}function Bu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Au(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Au=Reflect.get:Au=function(o,i,u){var c=h5(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Au(e,t,r||e)}function qn(e){return qn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qn(e)}function d5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jy(e,t)}function v5(e,t){return t&&(b5(t)==="object"||typeof t=="function")?t:cw(e)}function Jy(e,t){return Jy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jy(e,t)}function h5(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=qn(e),e!==null););return e}function b5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function g5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function m5(e){var t=g5();return function(){var n=qn(e),o;if(t){var i=qn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return v5(this,o)}}var xu=function(e){d5(r,e);var t=m5(r);function r(n){y5(this,r);var o;return o=t.call(this,n),Bu(cw(o),"props",void 0),o.props=new Iu(n==null?void 0:n.props),o}return p5(r,[{key:"toDataBindModel",value:function(o){var i=Au(qn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,a=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=a}return i}}],[{key:"controlName",get:function(){return"\u6570\u5B57"}},{key:"controlIcon",get:function(){return"iconnuminput_new"}},{key:"controlType",get:function(){return"number"}}]),r}(F);Bu(xu,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Bu(xu,"controlFieldType",m.DECIMAL),Bu(xu,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_UNIT,s.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function aw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function w5(e,t,r){return t&&fw(e.prototype,t),r&&fw(e,r),e}function sw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ku(e){return ku=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ku(e)}function $5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qy(e,t)}function P5(e,t){return t&&(R5(t)==="object"||typeof t=="function")?t:aw(e)}function Qy(e,t){return Qy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qy(e,t)}function R5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function S5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function E5(e){var t=S5();return function(){var n=ku(e),o;if(t){var i=ku(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return P5(this,o)}}var T5=function(e){$5(r,e);var t=E5(r);function r(n){O5(this,r);var o;return o=t.call(this,n),sw(aw(o),"props",void 0),o.props=new Iu(n==null?void 0:n.props),o}return w5(r,null,[{key:"controlType",get:function(){return"number"}}]),r}(N);sw(T5,"controlFieldType",m.DECIMAL);function Dt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Du(e){return Du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Du(e)}function B5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zy(e,t)}function A5(e,t){return t&&(x5(t)==="object"||typeof t=="function")?t:Dt(e)}function Zy(e,t){return Zy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zy(e,t)}function x5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function k5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function D5(e){var t=k5();return function(){var n=Du(e),o;if(t){var i=Du(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return A5(this,o)}}var _w=function(e){B5(r,e);var t=D5(r);function r(n){I5(this,r);var o,i;o=t.call(this,n),rn(Dt(o),"dateType",void 0),rn(Dt(o),"dateFormat",void 0),rn(Dt(o),"commonTimeSetting",void 0),rn(Dt(o),"setValueType",void 0),rn(Dt(o),"defaultValue",void 0),rn(Dt(o),"limitDateList",void 0),rn(Dt(o),"allowDateRange",void 0),rn(Dt(o),"filterWeekend",void 0);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:Vt.DATE;var c;o.dateFormat=(c=n==null?void 0:n.dateFormat)!==null&&c!==void 0?c:"";var a;o.commonTimeSetting=(a=n==null?void 0:n.commonTimeSetting)!==null&&a!==void 0?a:[];var l;o.setValueType=(l=n==null?void 0:n.setValueType)!==null&&l!==void 0?l:"custom";var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:tp.controlName;var _;o.placeholder=(_=n==null?void 0:n.placeholder)!==null&&_!==void 0?_:"\u8BF7\u8F93\u5165\u65E5\u671F";var p;o.defaultValue=(p=n==null?void 0:n.defaultValue)!==null&&p!==void 0?p:"";var b;o.limitDateList=(b=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(w){return new d_(w)}))!==null&&b!==void 0?b:[];var O;o.allowDateRange=(O=n==null?void 0:n.allowDateRange)!==null&&O!==void 0?O:["",""];var g;return o.filterWeekend=(g=n==null?void 0:n.filterWeekend)!==null&&g!==void 0?g:!1,o}return r}(D);function yw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function N5(e,t,r){return t&&pw(e.prototype,t),r&&pw(e,r),e}function Yy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fu(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Fu=Reflect.get:Fu=function(o,i,u){var c=L5(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Fu(e,t,r||e)}function Un(e){return Un=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Un(e)}function j5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 M5(e,t){return t&&(C5(t)==="object"||typeof t=="function")?t:yw(e)}function ep(e,t){return ep=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ep(e,t)}function L5(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Un(e),e!==null););return e}function C5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function V5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function z5(e){var t=V5();return function(){var n=Un(e),o;if(t){var i=Un(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return M5(this,o)}}var tp=function(e){j5(r,e);var t=z5(r);function r(n){F5(this,r);var o;return o=t.call(this,n),Yy(yw(o),"props",void 0),o.props=new _w(n==null?void 0:n.props),o}return N5(r,[{key:"toDataBindModel",value:function(o){var i=Fu(Un(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props.dateType;i.props.dateType=u}return i}}],[{key:"controlName",get:function(){return"\u65E5\u671F"}},{key:"controlIcon",get:function(){return"iconriqi1"}},{key:"controlType",get:function(){return"date-picker"}}]),r}(F);Yy(tp,"controlFieldType",m.TIMESTAMP),Yy(tp,"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 dw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function H5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function q5(e,t,r){return t&&vw(e.prototype,t),r&&vw(e,r),e}function hw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nu(e){return Nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nu(e)}function U5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&np(e,t)}function W5(e,t){return t&&(K5(t)==="object"||typeof t=="function")?t:dw(e)}function np(e,t){return np=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},np(e,t)}function K5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function G5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function X5(e){var t=G5();return function(){var n=Nu(e),o;if(t){var i=Nu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return W5(this,o)}}var J5=function(e){U5(r,e);var t=X5(r);function r(n){H5(this,r);var o;return o=t.call(this,n),hw(dw(o),"props",void 0),o.props=new _w(n==null?void 0:n.props),o}return q5(r,null,[{key:"controlType",get:function(){return"date-picker"}}]),r}(N);hw(J5,"controlFieldType",m.TIMESTAMP);function We(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ke(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ju(e){return ju=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ju(e)}function gw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rp(e,t)}function Q5(e,t){return t&&(Z5(t)==="object"||typeof t=="function")?t:We(e)}function rp(e,t){return rp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rp(e,t)}function Z5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Y5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mw(e){var t=Y5();return function(){var n=ju(e),o;if(t){var i=ju(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Q5(this,o)}}var e6=function(e){gw(r,e);var t=mw(r);function r(n){bw(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="object"),n.required&&!n.isHide&&o.push({type:"object",fields:{max:{type:"string",required:n.required,message:o[0].message},min:{type:"string",required:n.required,message:o[0].message}}}),o}return r}(U),op=function(e){gw(r,e);var t=mw(r);function r(n){bw(this,r);var o,i;o=t.call(this,n),Ke(We(o),"dataBind",void 0),Ke(We(o),"rangeMin",void 0),Ke(We(o),"rangeMax",void 0),Ke(We(o),"placeholderStart",void 0),Ke(We(o),"placeholderEnd",void 0),Ke(We(o),"dateFormat",void 0),Ke(We(o),"commonTimeSetting",void 0),Ke(We(o),"dateType",void 0),Ke(We(o),"setValueType",void 0),Ke(We(o),"defaultValue",void 0),Ke(We(o),"limitDateList",void 0),o.dataBind=new kA(n==null?void 0:n.dataBind),o.defaultValue=new DA(n==null?void 0:n.defaultValue);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:Vt.DATE;var c;o.dateFormat=(c=n==null?void 0:n.dateFormat)!==null&&c!==void 0?c:"";var a;o.commonTimeSetting=(a=n==null?void 0:n.commonTimeSetting)!==null&&a!==void 0?a:[];var l;o.setValueType=(l=n==null?void 0:n.setValueType)!==null&&l!==void 0?l:"custom";var f;o.rangeMin=(f=n==null?void 0:n.rangeMin)!==null&&f!==void 0?f:"";var _;o.rangeMax=(_=n==null?void 0:n.rangeMax)!==null&&_!==void 0?_:"";var p;o.placeholderStart=(p=n==null?void 0:n.placeholderStart)!==null&&p!==void 0?p:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F";var b;o.placeholderEnd=(b=n==null?void 0:n.placeholderEnd)!==null&&b!==void 0?b:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F";var O;o.caption=(O=n==null?void 0:n.caption)!==null&&O!==void 0?O:cp.controlName;var g;return o.limitDateList=(g=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(w){return new d_(w)}))!==null&&g!==void 0?g:[],o}return r}(D);Ke(op,"RuntimeRules",e6);function Ow(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function t6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ww(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function n6(e,t,r){return t&&ww(e.prototype,t),r&&ww(e,r),e}function ip(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mu(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Mu=Reflect.get:Mu=function(o,i,u){var c=i6(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Mu(e,t,r||e)}function Wn(e){return Wn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wn(e)}function r6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&up(e,t)}function o6(e,t){return t&&(u6(t)==="object"||typeof t=="function")?t:Ow(e)}function up(e,t){return up=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},up(e,t)}function i6(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Wn(e),e!==null););return e}function u6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function c6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function l6(e){var t=c6();return function(){var n=Wn(e),o;if(t){var i=Wn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return o6(this,o)}}var cp=function(e){r6(r,e);var t=l6(r);function r(n){t6(this,r);var o;return o=t.call(this,n),ip(Ow(o),"props",void 0),o.props=new op(n==null?void 0:n.props),o}return n6(r,[{key:"toDataBindModel",value:function(o){var i=Mu(Wn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props.dateType;i.props.dateType=u}return i}}],[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"date-range"}}]),r}(F);ip(cp,"controlFieldType",m.TIMESCOPE),ip(cp,"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 $w(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f6(e,t,r){return t&&Pw(e.prototype,t),r&&Pw(e,r),e}function Rw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lu(e){return Lu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lu(e)}function s6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _6(e,t){return t&&(y6(t)==="object"||typeof t=="function")?t:$w(e)}function lp(e,t){return lp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lp(e,t)}function y6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function p6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function d6(e){var t=p6();return function(){var n=Lu(e),o;if(t){var i=Lu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _6(this,o)}}var v6=function(e){s6(r,e);var t=d6(r);function r(n){a6(this,r);var o;return o=t.call(this,n),Rw($w(o),"props",void 0),o.props=new op(n==null?void 0:n.props),o}return f6(r,null,[{key:"controlType",get:function(){return"date-range"}}]),r}(N);Rw(v6,"controlFieldType",m.TIMESCOPE);function dt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ap(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cu(e){return Cu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cu(e)}function fp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 h6(e,t){return t&&(b6(t)==="object"||typeof t=="function")?t:dt(e)}function sp(e,t){return sp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sp(e,t)}function b6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function g6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _p(e){var t=g6();return function(){var n=Cu(e),o;if(t){var i=Cu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return h6(this,o)}}var m6=function(e){fp(r,e);var t=_p(r);function r(n){ap(this,r);var o;return o=t.call(this,n),tt(dt(o),"maxLength",{type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),tt(dt(o),"minLength",{type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),tt(dt(o),"defaultValue",{type:"string",max:200,min:0,message:d.getMessage("stringRangeError")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(pe),O6=function(e){fp(r,e);var t=_p(r);function r(n){ap(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(U),Vu=function(e){fp(r,e);var t=_p(r);function r(n){ap(this,r);var o;o=t.call(this,n),tt(dt(o),"maxLength",void 0),tt(dt(o),"minLength",void 0),tt(dt(o),"defaultValue",void 0),tt(dt(o),"lineEllipsis",void 0),tt(dt(o),"autoSize",void 0),tt(dt(o),"maxRows",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:5e4;var u;o.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0;var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:"";var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:qu.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165";var f;o.lineEllipsis=(f=n==null?void 0:n.lineEllipsis)!==null&&f!==void 0?f: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 r}(D);tt(Vu,"Rules",m6),tt(Vu,"RuntimeRules",O6);function Sw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ew(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $6(e,t,r){return t&&Ew(e.prototype,t),r&&Ew(e,r),e}function zu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hu(e){return Hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hu(e)}function P6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yp(e,t)}function R6(e,t){return t&&(S6(t)==="object"||typeof t=="function")?t:Sw(e)}function yp(e,t){return yp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yp(e,t)}function S6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function E6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function T6(e){var t=E6();return function(){var n=Hu(e),o;if(t){var i=Hu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return R6(this,o)}}var qu=function(e){P6(r,e);var t=T6(r);function r(n){w6(this,r);var o;return o=t.call(this,n),zu(Sw(o),"props",void 0),o.props=new Vu(n==null?void 0:n.props),o}return $6(r,null,[{key:"controlName",get:function(){return"\u591A\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconMultilineline_new1"}},{key:"controlType",get:function(){return"textarea"}}]),r}(F);zu(qu,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),zu(qu,"controlFieldType",m.TEXT),zu(qu,"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:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}]);function Tw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Iw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function B6(e,t,r){return t&&Iw(e.prototype,t),r&&Iw(e,r),e}function Bw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Uu(e){return Uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uu(e)}function A6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pp(e,t)}function x6(e,t){return t&&(k6(t)==="object"||typeof t=="function")?t:Tw(e)}function pp(e,t){return pp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pp(e,t)}function k6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function D6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function F6(e){var t=D6();return function(){var n=Uu(e),o;if(t){var i=Uu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return x6(this,o)}}var N6=function(e){A6(r,e);var t=F6(r);function r(n){I6(this,r);var o;return o=t.call(this,n),Bw(Tw(o),"props",void 0),o.props=new Vu(n==null?void 0:n.props),o}return B6(r,null,[{key:"controlType",get:function(){return"textarea"}}]),r}(N);Bw(N6,"controlFieldType",m.TEXT);function hn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function on(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wu(e){return Wu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wu(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&&hp(e,t)}function j6(e,t){return t&&(M6(t)==="object"||typeof t=="function")?t:hn(e)}function hp(e,t){return hp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hp(e,t)}function M6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function L6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bp(e){var t=L6();return function(){var n=Wu(e),o;if(t){var i=Wu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return j6(this,o)}}var C6=function(e){vp(r,e);var t=bp(r);function r(n){dp(this,r);var o;return o=t.call(this,n),on(hn(o),"maxLength",{type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),on(hn(o),"minLength",{type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),on(hn(o),"defaultValue",{type:"string",max:200,min:0,message:d.getMessage("stringRangeError")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(pe),V6=function(e){vp(r,e);var t=bp(r);function r(n){dp(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(U),Ku=function(e){vp(r,e);var t=bp(r);function r(n){dp(this,r);var o;o=t.call(this,n),on(hn(o),"maxLength",void 0),on(hn(o),"minLength",void 0),on(hn(o),"defaultValue",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:5e4;var u;o.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0;var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:"";var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Ju.controlName;var l;return o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165",o}return r}(D);on(Ku,"Rules",C6),on(Ku,"RuntimeRules",V6);function Aw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function z6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function H6(e,t,r){return t&&xw(e.prototype,t),r&&xw(e,r),e}function Gu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xu(e){return Xu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xu(e)}function q6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 U6(e,t){return t&&(W6(t)==="object"||typeof t=="function")?t:Aw(e)}function gp(e,t){return gp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gp(e,t)}function W6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function K6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function G6(e){var t=K6();return function(){var n=Xu(e),o;if(t){var i=Xu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return U6(this,o)}}var Ju=function(e){q6(r,e);var t=G6(r);function r(n){z6(this,r);var o;return o=t.call(this,n),Gu(Aw(o),"props",void 0),o.props=new Ku(n==null?void 0:n.props),o}return H6(r,null,[{key:"controlName",get:function(){return"\u5BCC\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconRichtextbox_new"}},{key:"controlType",get:function(){return"rich-text"}}]),r}(F);Gu(Ju,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Gu(Ju,"controlFieldType",m.TEXT),Gu(Ju,"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 kw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function J6(e,t,r){return t&&Dw(e.prototype,t),r&&Dw(e,r),e}function Fw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qu(e){return Qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qu(e)}function Q6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mp(e,t)}function Z6(e,t){return t&&(Y6(t)==="object"||typeof t=="function")?t:kw(e)}function mp(e,t){return mp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mp(e,t)}function Y6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function e4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function t4(e){var t=e4();return function(){var n=Qu(e),o;if(t){var i=Qu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Z6(this,o)}}var n4=function(e){Q6(r,e);var t=t4(r);function r(n){X6(this,r);var o;return o=t.call(this,n),Fw(kw(o),"props",void 0),o.props=new Ku(n==null?void 0:n.props),o}return J6(r,null,[{key:"controlType",get:function(){return"rich-text"}}]),r}(N);Fw(n4,"controlFieldType",m.TEXT);function Ce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ve(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zu(e){return Zu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zu(e)}function jw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Op(e,t)}function r4(e,t){return t&&(o4(t)==="object"||typeof t=="function")?t:Ce(e)}function Op(e,t){return Op=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Op(e,t)}function o4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function i4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mw(e){var t=i4();return function(){var n=Zu(e),o;if(t){var i=Zu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return r4(this,o)}}var u4=function(e){jw(r,e);var t=Mw(r);function r(n){Nw(this,r);var o;return o=t.call(this,n),Ve(Ce(o),"formBind",{type:"object",fields:{formKey:{type:"string",message:d.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return r}(jn),wp=function(e){jw(r,e);var t=Mw(r);function r(n){Nw(this,r);var o;o=t.call(this,n),Ve(Ce(o),"options",void 0),Ve(Ce(o),"defaultShowOptions",void 0),Ve(Ce(o),"optionConfig",void 0),Ve(Ce(o),"defaultValue",void 0),Ve(Ce(o),"datasourceBind",void 0),Ve(Ce(o),"multistageFilling",void 0),Ve(Ce(o),"allowCopyOptions",void 0),Ve(Ce(o),"openMultistageFilling",void 0),Ve(Ce(o),"viewFormModelType",void 0),Ve(Ce(o),"canViewForm",void 0),Ve(Ce(o),"formBind",void 0);var i;o.options=St((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.defaultShowOptions=(u=n==null?void 0:n.defaultShowOptions)!==null&&u!==void 0?u:!0;var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"custom",o.datasourceBind=new te(n==null?void 0:n.datasourceBind);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Rp.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u9009\u62E9";var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:"";var _;o.allowCopyOptions=(_=n==null?void 0:n.allowCopyOptions)!==null&&_!==void 0?_:!1;var p;o.openMultistageFilling=(p=n==null?void 0:n.openMultistageFilling)!==null&&p!==void 0?p:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(g){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new Ee(g))}));var b;o.canViewForm=(b=n==null?void 0:n.canViewForm)!==null&&b!==void 0?b:!1;var O;return o.viewFormModelType=(O=n==null?void 0:n.viewFormModelType)!==null&&O!==void 0?O:"window",o.formBind=new Fn(n==null?void 0:n.formBind),o}return r}(D);Ve(wp,"Rules",u4);function Lw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l4(e,t,r){return t&&Cw(e.prototype,t),r&&Cw(e,r),e}function $p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yu(e){return Yu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yu(e)}function a4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pp(e,t)}function f4(e,t){return t&&(s4(t)==="object"||typeof t=="function")?t:Lw(e)}function Pp(e,t){return Pp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pp(e,t)}function s4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function y4(e){var t=_4();return function(){var n=Yu(e),o;if(t){var i=Yu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return f4(this,o)}}var Rp=function(e){a4(r,e);var t=y4(r);function r(n){c4(this,r);var o;return o=t.call(this,n),$p(Lw(o),"props",void 0),o.props=new wp(n==null?void 0:n.props),o}return l4(r,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconxiala1"}},{key:"controlType",get:function(){return"select"}}]),r}(F);$p(Rp,"controlFieldType",m.VARCHAR),$p(Rp,"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:"super-setting",visible:!0}]);function Vw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d4(e,t,r){return t&&zw(e.prototype,t),r&&zw(e,r),e}function Hw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ec(e){return ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ec(e)}function v4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sp(e,t)}function h4(e,t){return t&&(b4(t)==="object"||typeof t=="function")?t:Vw(e)}function Sp(e,t){return Sp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sp(e,t)}function b4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function g4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function m4(e){var t=g4();return function(){var n=ec(e),o;if(t){var i=ec(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return h4(this,o)}}var O4=function(e){v4(r,e);var t=m4(r);function r(n){p4(this,r);var o;return o=t.call(this,n),Hw(Vw(o),"props",void 0),o.props=new wp(n==null?void 0:n.props),o}return d4(r,null,[{key:"controlType",get:function(){return"select"}}]),r}(N);Hw(O4,"controlFieldType",m.VARCHAR);function Ge(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ep(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ze(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tc(e){return tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tc(e)}function Tp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ip(e,t)}function w4(e,t){return t&&($4(t)==="object"||typeof t=="function")?t:Ge(e)}function Ip(e,t){return Ip=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ip(e,t)}function $4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function P4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bp(e){var t=P4();return function(){var n=tc(e),o;if(t){var i=tc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return w4(this,o)}}var R4=function(e){Tp(r,e);var t=Bp(r);function r(n){Ep(this,r);var o;return o=t.call(this,n),ze(Ge(o),"formBind",{type:"object",fields:{formKey:{type:"string",message:d.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return r}(jn),S4=function(e){Tp(r,e);var t=Bp(r);function r(n){Ep(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(U),nc=function(e){Tp(r,e);var t=Bp(r);function r(n){Ep(this,r);var o;o=t.call(this,n),ze(Ge(o),"options",void 0),ze(Ge(o),"defaultShowOptions",void 0),ze(Ge(o),"optionConfig",void 0),ze(Ge(o),"defaultValue",void 0),ze(Ge(o),"datasourceBind",void 0),ze(Ge(o),"multistageFilling",void 0),ze(Ge(o),"openMultistageFilling",void 0),ze(Ge(o),"viewFormModelType",void 0),ze(Ge(o),"canViewForm",void 0),ze(Ge(o),"formBind",void 0);var i;o.options=St((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.defaultShowOptions=(u=n==null?void 0:n.defaultShowOptions)!==null&&u!==void 0?u:!0;var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"custom",o.datasourceBind=new te(n==null?void 0:n.datasourceBind);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:kp.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u9009\u62E9";var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var _;o.openMultistageFilling=(_=n==null?void 0:n.openMultistageFilling)!==null&&_!==void 0?_:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var g;(g=o.multistageFilling)===null||g===void 0||g.push(new Ee(O))}));var p;o.canViewForm=(p=n==null?void 0:n.canViewForm)!==null&&p!==void 0?p:!1;var b;return o.viewFormModelType=(b=n==null?void 0:n.viewFormModelType)!==null&&b!==void 0?b:"window",o.formBind=new Fn(n==null?void 0:n.formBind),o}return r}(D);ze(nc,"Rules",R4),ze(nc,"RuntimeRules",S4);function qw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Uw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function T4(e,t,r){return t&&Uw(e.prototype,t),r&&Uw(e,r),e}function Ap(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rc(e){return rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rc(e)}function I4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xp(e,t)}function B4(e,t){return t&&(A4(t)==="object"||typeof t=="function")?t:qw(e)}function xp(e,t){return xp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xp(e,t)}function A4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function x4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function k4(e){var t=x4();return function(){var n=rc(e),o;if(t){var i=rc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return B4(this,o)}}var kp=function(e){I4(r,e);var t=k4(r);function r(n){E4(this,r);var o;return o=t.call(this,n),Ap(qw(o),"props",void 0),o.props=new nc(n==null?void 0:n.props),o}return T4(r,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconxialaduoxuan"}},{key:"controlType",get:function(){return"select-multiple"}}]),r}(F);Ap(kp,"controlFieldType",m.ARRAY),Ap(kp,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]);function Ww(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function F4(e,t,r){return t&&Kw(e.prototype,t),r&&Kw(e,r),e}function Gw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oc(e){return oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oc(e)}function N4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dp(e,t)}function j4(e,t){return t&&(M4(t)==="object"||typeof t=="function")?t:Ww(e)}function Dp(e,t){return Dp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dp(e,t)}function M4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function L4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function C4(e){var t=L4();return function(){var n=oc(e),o;if(t){var i=oc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return j4(this,o)}}var V4=function(e){N4(r,e);var t=C4(r);function r(n){D4(this,r);var o;return o=t.call(this,n),Gw(Ww(o),"props",void 0),o.props=new nc(n==null?void 0:n.props),o}return F4(r,null,[{key:"controlType",get:function(){return"select-multiple"}}]),r}(N);Gw(V4,"controlFieldType",m.ARRAY);function Ft(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ic(e){return ic=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ic(e)}function Jw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fp(e,t)}function z4(e,t){return t&&(H4(t)==="object"||typeof t=="function")?t:Ft(e)}function Fp(e,t){return Fp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fp(e,t)}function H4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function q4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qw(e){var t=q4();return function(){var n=ic(e),o;if(t){var i=ic(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return z4(this,o)}}var U4=function(e){Jw(r,e);var t=Qw(r);function r(n){Xw(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(U),Np=function(e){Jw(r,e);var t=Qw(r);function r(n){Xw(this,r);var o;o=t.call(this,n),Nt(Ft(o),"showType",void 0),Nt(Ft(o),"range",void 0),Nt(Ft(o),"rangeOptions",void 0),Nt(Ft(o),"multiple",void 0),Nt(Ft(o),"defaultValueType",void 0),Nt(Ft(o),"defaultValue",void 0),Nt(Ft(o),"multistageFilling",void 0),Nt(Ft(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var c;o.rangeOptions=(c=n==null?void 0:n.rangeOptions)!==null&&c!==void 0?c:[];var a;o.multiple=(a=n==null?void 0:n.multiple)!==null&&a!==void 0?a:!1;var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:Lp.controlName;var p;o.placeholder=(p=n==null?void 0:n.placeholder)!==null&&p!==void 0?p:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var b;return o.openMultistageFilling=(b=n==null?void 0:n.openMultistageFilling)!==null&&b!==void 0?b:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var g;(g=o.multistageFilling)===null||g===void 0||g.push(new Ee(O))})),o}return r}(D);Nt(Np,"RuntimeRules",U4);function Zw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function K4(e,t,r){return t&&Yw(e.prototype,t),r&&Yw(e,r),e}function jp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uc(e){return uc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uc(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&&Mp(e,t)}function X4(e,t){return t&&(J4(t)==="object"||typeof t=="function")?t:Zw(e)}function Mp(e,t){return Mp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mp(e,t)}function J4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Q4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Z4(e){var t=Q4();return function(){var n=uc(e),o;if(t){var i=uc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return X4(this,o)}}var Lp=function(e){G4(r,e);var t=Z4(r);function r(n){W4(this,r);var o;return o=t.call(this,n),jp(Zw(o),"props",void 0),o.props=new Np(n==null?void 0:n.props),o}return K4(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),r}(F);jp(Lp,"controlFieldType",m.EMPLOYEES),jp(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.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 e$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function e8(e,t,r){return t&&t$(e.prototype,t),r&&t$(e,r),e}function n$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cc(e){return cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cc(e)}function t8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 n8(e,t){return t&&(r8(t)==="object"||typeof t=="function")?t:e$(e)}function Cp(e,t){return Cp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cp(e,t)}function r8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function o8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function i8(e){var t=o8();return function(){var n=cc(e),o;if(t){var i=cc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return n8(this,o)}}var u8=function(e){t8(r,e);var t=i8(r);function r(n){Y4(this,r);var o;return o=t.call(this,n),n$(e$(o),"props",void 0),o.props=new Np(n==null?void 0:n.props),o}return e8(r,null,[{key:"controlType",get:function(){return"employee"}}]),r}(N);n$(u8,"controlFieldType",m.EMPLOYEES);function jt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lc(e){return lc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lc(e)}function zp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hp(e,t)}function c8(e,t){return t&&(l8(t)==="object"||typeof t=="function")?t:jt(e)}function Hp(e,t){return Hp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hp(e,t)}function l8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function a8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qp(e){var t=a8();return function(){var n=lc(e),o;if(t){var i=lc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return c8(this,o)}}var f8=10485760,s8=104857600,_8=1048576e3,y8=function(e){zp(r,e);var t=qp(r);function r(n){Vp(this,r);var o;return o=t.call(this,n),vt(jt(o),"maxSize",{type:"number",min:0,max:_8,message:d.getMessage("attachmentMaxSize")}),o}return r}(pe),p8=function(e){zp(r,e);var t=qp(r);function r(n){Vp(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o.push({type:"array",max:n.maxLimit,min:n.minLimit,message:d.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),o}return r}(U),ac=function(e){zp(r,e);var t=qp(r);function r(n){Vp(this,r);var o;o=t.call(this,n),vt(jt(o),"defaultValue",void 0),vt(jt(o),"showType",void 0),vt(jt(o),"resultShowType",void 0),vt(jt(o),"attachmentAccept",void 0),vt(jt(o),"maxLimit",void 0),vt(jt(o),"minLimit",void 0),vt(jt(o),"maxSize",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:[];var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"default";var c;o.resultShowType=(c=n==null?void 0:n.resultShowType)!==null&&c!==void 0?c:"simple";var a;o.attachmentAccept=(a=n==null?void 0:n.attachmentAccept)!==null&&a!==void 0?a:[];var l;o.maxLimit=(l=n==null?void 0:n.maxLimit)!==null&&l!==void 0?l:10;var f;o.minLimit=(f=n==null?void 0:n.minLimit)!==null&&f!==void 0?f:0;var _;o.maxSize=(_=n==null?void 0:n.maxSize)!==null&&_!==void 0?_:s8;var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:ao.controlName;var b;return o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u4E0A\u4F20\u9644\u4EF6",o}return r}(D);vt(ac,"Rules",y8),vt(ac,"RuntimeRules",p8);function r$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function v8(e,t,r){return t&&o$(e.prototype,t),r&&o$(e,r),e}function fc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sc(e){return sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sc(e)}function 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&&Up(e,t)}function b8(e,t){return t&&(g8(t)==="object"||typeof t=="function")?t:r$(e)}function Up(e,t){return Up=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Up(e,t)}function g8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function m8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function O8(e){var t=m8();return function(){var n=sc(e),o;if(t){var i=sc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return b8(this,o)}}var ao=function(e){h8(r,e);var t=O8(r);function r(n){d8(this,r);var o;return o=t.call(this,n),fc(r$(o),"props",void 0),o.props=new ac(n==null?void 0:n.props),o}return v8(r,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(F);fc(ao,"controlEventKeys",["on_change"]),fc(ao,"controlFieldType",m.FILE),fc(ao,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function i$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $8(e,t,r){return t&&u$(e.prototype,t),r&&u$(e,r),e}function c$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _c(e){return _c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_c(e)}function P8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wp(e,t)}function R8(e,t){return t&&(S8(t)==="object"||typeof t=="function")?t:i$(e)}function Wp(e,t){return Wp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wp(e,t)}function S8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function E8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function T8(e){var t=E8();return function(){var n=_c(e),o;if(t){var i=_c(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return R8(this,o)}}var I8=function(e){P8(r,e);var t=T8(r);function r(n){w8(this,r);var o;return o=t.call(this,n),c$(i$(o),"props",void 0),o.props=new ac(n==null?void 0:n.props),o}return $8(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(N);c$(I8,"controlFieldType",m.FILE);function B8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function x8(e,t,r){return t&&l$(e.prototype,t),r&&l$(e,r),e}function a$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yc(e){return yc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yc(e)}function k8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 D8(e,t){return t&&(F8(t)==="object"||typeof t=="function")?t:B8(e)}function Kp(e,t){return Kp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kp(e,t)}function F8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function N8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function j8(e){var t=N8();return function(){var n=yc(e),o;if(t){var i=yc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return D8(this,o)}}var f$=function(e){k8(r,e);var t=j8(r);function r(n){A8(this,r);var o,i,u;o=t.call(this,n),o.props.showType="image";var c;o.props.caption=(c=n==null||(i=n.props)===null||i===void 0?void 0:i.caption)!==null&&c!==void 0?c:r.controlName;var a;return o.props.placeholder=(a=n==null||(u=n.props)===null||u===void 0?void 0:u.placeholder)!==null&&a!==void 0?a:"\u4E0A\u4F20\u56FE\u7247",o}return x8(r,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),r}(ao);a$(f$,"controlFieldType",m.IMAGE),a$(f$,"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-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function ke(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function be(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pc(e){return pc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pc(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&&Jp(e,t)}function M8(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){be(e,o,r[o])})}return e}function L8(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function C8(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):L8(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function V8(e,t){return t&&(z8(t)==="object"||typeof t=="function")?t:ke(e)}function Jp(e,t){return Jp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jp(e,t)}function z8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function H8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qp(e){var t=H8();return function(){var n=pc(e),o;if(t){var i=pc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return V8(this,o)}}var q8=function(e){Xp(r,e);var t=Qp(r);function r(n){Gp(this,r);var o;o=t.call(this,n),be(ke(o),"defaultValue",{type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:d.getMessage("pleaseEnterNumberRange")}]}}),be(ke(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue.fields.amount[0].max=i,o.defaultValue.fields.amount[0].min=u,o.defaultValue.fields.amount[0].message=d.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:d.getMessage("numberRangeSetError")}),o}return r}(jn),U8=function(e){Xp(r,e);var t=Qp(r);function r(n){Gp(this,r);var o;o=t.call(this,n),o[0]!==void 0&&(o[0].type="object");var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.push({type:"object",fields:{amount:[C8(M8({},o[0]),{type:"number"}),{type:"number",min:u,max:i,message:d.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}],currency:{type:"string"}}}),o}return r}(U),dc=function(e){Xp(r,e);var t=Qp(r);function r(n){Gp(this,r);var o;o=t.call(this,n),be(ke(o),"rangeMin",void 0),be(ke(o),"rangeMax",void 0),be(ke(o),"showUpperCase",void 0),be(ke(o),"submitSelectCurrency",void 0),be(ke(o),"micrometer",void 0),be(ke(o),"precision",void 0),be(ke(o),"optionConfig",void 0),be(ke(o),"dataBind",void 0),be(ke(o),"datasourceBind",void 0),be(ke(o),"defaultValue",void 0),be(ke(o),"options",void 0);var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var u;o.rangeMax=(u=n==null?void 0:n.rangeMax)!==null&&u!==void 0?u:"";var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"datasource";var 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:2,o.dataBind=new AA(n==null?void 0:n.dataBind);var f;o.datasourceBind=new te((f=n==null?void 0:n.datasourceBind)!==null&&f!==void 0?f:{displayBoList:[new ys({value:"name"})]});var _;o.defaultValue=new xA((_=n==null?void 0:n.defaultValue)!==null&&_!==void 0?_:{amount:"",currency:hs.CNY}),o.options=St(n==null?void 0:n.options);var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:bc.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u8BF7\u8F93\u5165";var O;o.submitSelectCurrency=(O=n==null?void 0:n.submitSelectCurrency)!==null&&O!==void 0?O:!1;var g;return o.showUpperCase=(g=n==null?void 0:n.showUpperCase)!==null&&g!==void 0?g:!1,o}return r}(D);be(dc,"Rules",q8),be(dc,"RuntimeRules",U8);function s$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function K8(e,t,r){return t&&_$(e.prototype,t),r&&_$(e,r),e}function vc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?hc=Reflect.get:hc=function(o,i,u){var c=J8(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},hc(e,t,r||e)}function Kn(e){return Kn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kn(e)}function G8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zp(e,t)}function X8(e,t){return t&&(Q8(t)==="object"||typeof t=="function")?t:s$(e)}function Zp(e,t){return Zp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zp(e,t)}function J8(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Kn(e),e!==null););return e}function Q8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Z8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Y8(e){var t=Z8();return function(){var n=Kn(e),o;if(t){var i=Kn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return X8(this,o)}}var bc=function(e){G8(r,e);var t=Y8(r);function r(n){W8(this,r);var o;return o=t.call(this,n),vc(s$(o),"props",void 0),o.props=new dc(n==null?void 0:n.props),o}return K8(r,[{key:"toDataBindModel",value:function(o){var i=hc(Kn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,a=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=a}return i}}],[{key:"controlName",get:function(){return"\u91D1\u989D"}},{key:"controlType",get:function(){return"amount"}},{key:"controlIcon",get:function(){return"iconjine"}}]),r}(F);vc(bc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),vc(bc,"controlFieldType",m.MONEY),vc(bc,"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:"currency-type",visible:!0},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function y$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function t7(e,t,r){return t&&p$(e.prototype,t),r&&p$(e,r),e}function d$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gc(e){return gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gc(e)}function n7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 r7(e,t){return t&&(o7(t)==="object"||typeof t=="function")?t:y$(e)}function Yp(e,t){return Yp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yp(e,t)}function o7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function i7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function u7(e){var t=i7();return function(){var n=gc(e),o;if(t){var i=gc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return r7(this,o)}}var c7=function(e){n7(r,e);var t=u7(r);function r(n){e7(this,r);var o;return o=t.call(this,n),d$(y$(o),"props",void 0),o.props=new dc(n==null?void 0:n.props),o}return t7(r,null,[{key:"controlType",get:function(){return"amount"}}]),r}(N);d$(c7,"controlFieldType",m.MONEY);function un(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ed(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mc(e){return mc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mc(e)}function td(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nd(e,t)}function l7(e,t){return t&&(a7(t)==="object"||typeof t=="function")?t:un(e)}function nd(e,t){return nd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nd(e,t)}function a7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function f7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rd(e){var t=f7();return function(){var n=mc(e),o;if(t){var i=mc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return l7(this,o)}}var s7=function(e){td(r,e);var t=rd(r);function r(n){ed(this,r);var o;return o=t.call(this,n),Mt(un(o),"totalScore",[{type:"number",required:!0,message:d.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:d.getMessage("theTotalScoreMustNotBeLessThan1")}]),Mt(un(o),"defaultValue",{type:"number",min:0,max:5,message:d.getMessage("scoreDefaultValueRange")}),o.defaultValue.max=n.totalScore,o.defaultValue.message=d.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:0}),o}return r}(pe),_7=function(e){td(r,e);var t=rd(r);function r(n){ed(this,r);var o;o=t.call(this,n),o[0]!==void 0&&(o[0].type="number");var i=n.required?1:0;return o.push({type:"number",min:i,max:n.totalScore,message:d.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:i})}),o}return r}(U),Oc=function(e){td(r,e);var t=rd(r);function r(n){ed(this,r);var o,i;o=t.call(this,n),Mt(un(o),"totalScore",void 0),Mt(un(o),"scoreType",void 0),Mt(un(o),"isShowExplain",void 0),Mt(un(o),"explain",void 0),Mt(un(o),"defaultValue",void 0);var u;o.totalScore=(u=n==null?void 0:n.totalScore)!==null&&u!==void 0?u:5;var c;o.scoreType=(c=n==null?void 0:n.scoreType)!==null&&c!==void 0?c:v_.STAR;var a;o.isShowExplain=(a=n==null?void 0:n.isShowExplain)!==null&&a!==void 0?a:!0;var l;o.explain=(l=n==null||(i=n.explain)===null||i===void 0?void 0:i.map(function(p){return new h_(p)}))!==null&&l!==void 0?l:Array(o.totalScore).fill(void 0).map(function(){return new h_});var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:0;var _;return o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:Pc.controlName,o}return r}(D);Mt(Oc,"Rules",s7),Mt(Oc,"RuntimeRules",_7);function od(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function y7(e){if(Array.isArray(e))return od(e)}function v$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d7(e,t,r){return t&&h$(e.prototype,t),r&&h$(e,r),e}function wc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $c(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?$c=Reflect.get:$c=function(o,i,u){var c=m7(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},$c(e,t,r||e)}function Gn(e){return Gn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gn(e)}function v7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&id(e,t)}function h7(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function b7(){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 g7(e,t){return t&&(w7(t)==="object"||typeof t=="function")?t:v$(e)}function id(e,t){return id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},id(e,t)}function m7(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Gn(e),e!==null););return e}function O7(e){return y7(e)||h7(e)||$7(e)||b7()}function w7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $7(e,t){if(!!e){if(typeof e=="string")return od(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return od(e,t)}}function P7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function R7(e){var t=P7();return function(){var n=Gn(e),o;if(t){var i=Gn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return g7(this,o)}}var Pc=function(e){v7(r,e);var t=R7(r);function r(n){p7(this,r);var o;return o=t.call(this,n),wc(v$(o),"props",void 0),o.props=new Oc(n==null?void 0:n.props),o}return d7(r,[{key:"postUpdate",value:function(o,i){if(o==="totalScore"){if(i===this.props.explain.length)return;if(this.props.explain.length>i)this.props.explain=this.props.explain.slice(0,i);else{var u,c=i-this.props.explain.length,a=Array(c).fill(void 0).map(function(){return new h_});(u=this.props.explain).push.apply(u,O7(a))}}$c(Gn(r.prototype),"postUpdate",this).call(this,o,i)}}],[{key:"controlName",get:function(){return"\u8BC4\u5206"}},{key:"controlIcon",get:function(){return"iconpingfen"}},{key:"controlType",get:function(){return"score"}}]),r}(F);wc(Pc,"controlEventKeys",["on_change","on_click"]),wc(Pc,"controlFieldType",m.DECIMAL),wc(Pc,"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 b$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function E7(e,t,r){return t&&g$(e.prototype,t),r&&g$(e,r),e}function m$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rc(e){return Rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rc(e)}function T7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ud(e,t)}function I7(e,t){return t&&(B7(t)==="object"||typeof t=="function")?t:b$(e)}function ud(e,t){return ud=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ud(e,t)}function B7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function A7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function x7(e){var t=A7();return function(){var n=Rc(e),o;if(t){var i=Rc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return I7(this,o)}}var k7=function(e){T7(r,e);var t=x7(r);function r(n){S7(this,r);var o;return o=t.call(this,n),m$(b$(o),"props",void 0),o.props=new Oc(n==null?void 0:n.props),o}return E7(r,null,[{key:"controlType",get:function(){return"score"}}]),r}(N);m$(k7,"controlFieldType",m.DECIMAL);function Sc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ec(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tc(e){return Tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tc(e)}function 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&&cd(e,t)}function D7(e,t){return t&&(F7(t)==="object"||typeof t=="function")?t:Sc(e)}function cd(e,t){return cd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cd(e,t)}function F7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function N7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $$(e){var t=N7();return function(){var n=Tc(e),o;if(t){var i=Tc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return D7(this,o)}}var j7=function(e){w$(r,e);var t=$$(r);function r(n){O$(this,r);var o;if(o=t.call(this,n),o[0]!==void 0&&(o[0].type="object"),n.required&&!n.isHide){var i={type:"object",fields:{province:{type:"string",required:n.required,message:d.getMessage("pleaseSelectProvince")}}};n.addressType.includes("city")&&(i.fields.city={type:"string",required:n.required,message:d.getMessage("pleaseSelectCity")}),n.addressType.includes("district")&&(i.fields.district={type:"string",required:n.required,message:d.getMessage("pleaseSelectDistrict")}),o.push(i)}return o}return r}(U),ld=function(e){w$(r,e);var t=$$(r);function r(n){O$(this,r);var o;o=t.call(this,n),Ec(Sc(o),"defaultValueType",void 0),Ec(Sc(o),"defaultValue",void 0),Ec(Sc(o),"addressType",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:sd.controlName;var u;o.defaultValueType=(u=n==null?void 0:n.defaultValueType)!==null&&u!==void 0?u:"default";var c;o.addressType=(c=n==null?void 0:n.addressType)!==null&&c!==void 0?c:["province","city","district"];var a;o.defaultValue=new FA((a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:{});var l;return o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u9009\u62E9\u5730\u5740",o}return r}(D);Ec(ld,"RuntimeRules",j7);function P$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function L7(e,t,r){return t&&R$(e.prototype,t),r&&R$(e,r),e}function ad(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ic(e){return Ic=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ic(e)}function C7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fd(e,t)}function V7(e,t){return t&&(z7(t)==="object"||typeof t=="function")?t:P$(e)}function fd(e,t){return fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fd(e,t)}function z7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function H7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function q7(e){var t=H7();return function(){var n=Ic(e),o;if(t){var i=Ic(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return V7(this,o)}}var sd=function(e){C7(r,e);var t=q7(r);function r(n){M7(this,r);var o;return o=t.call(this,n),ad(P$(o),"props",void 0),o.props=new ld(n==null?void 0:n.props),o}return L7(r,null,[{key:"controlName",get:function(){return"\u5730\u5740"}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),r}(F);ad(sd,"controlFieldType",m.ADDRESS),ad(sd,"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 S$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function E$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function W7(e,t,r){return t&&E$(e.prototype,t),r&&E$(e,r),e}function T$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bc(e){return Bc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bc(e)}function K7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 G7(e,t){return t&&(X7(t)==="object"||typeof t=="function")?t:S$(e)}function _d(e,t){return _d=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_d(e,t)}function X7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function J7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Q7(e){var t=J7();return function(){var n=Bc(e),o;if(t){var i=Bc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return G7(this,o)}}var Z7=function(e){K7(r,e);var t=Q7(r);function r(n){U7(this,r);var o;return o=t.call(this,n),T$(S$(o),"props",void 0),o.props=new ld(n==null?void 0:n.props),o}return W7(r,null,[{key:"controlName",get:function(){return"\u7701\u5E02\u533A"}},{key:"controlIcon",get:function(){return"iconicon_site_management11"}},{key:"controlType",get:function(){return"address"}}]),r}(N);T$(Z7,"controlFieldType",m.ADDRESS);function nt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ac(e){return Ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ac(e)}function B$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yd(e,t)}function Y7(e,t){return t&&(e9(t)==="object"||typeof t=="function")?t:nt(e)}function yd(e,t){return yd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yd(e,t)}function e9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function t9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function A$(e){var t=t9();return function(){var n=Ac(e),o;if(t){var i=Ac(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Y7(this,o)}}var n9=function(e){B$(r,e);var t=A$(r);function r(n){I$(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(U),pd=function(e){B$(r,e);var t=A$(r);function r(n){I$(this,r);var o;o=t.call(this,n),rt(nt(o),"showType",void 0),rt(nt(o),"range",void 0),rt(nt(o),"defaultValueType",void 0),rt(nt(o),"multiple",void 0),rt(nt(o),"rangeOptions",void 0),rt(nt(o),"defaultValue",void 0),rt(nt(o),"displayLevel",void 0),rt(nt(o),"showSubDept",void 0),rt(nt(o),"multistageFilling",void 0),rt(nt(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1;var c;o.range=(c=n==null?void 0:n.range)!==null&&c!==void 0?c:"all";var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var l;o.rangeOptions=(l=n==null?void 0:n.rangeOptions)!==null&&l!==void 0?l:[];var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var p;o.showSubDept=(p=n==null?void 0:n.showSubDept)!==null&&p!==void 0?p:!0;var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:Dc.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\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(w){var v;(v=o.multistageFilling)===null||v===void 0||v.push(new Ee(w))})),o}return r}(D);rt(pd,"RuntimeRules",n9);function x$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o9(e,t,r){return t&&k$(e.prototype,t),r&&k$(e,r),e}function xc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?kc=Reflect.get:kc=function(o,i,u){var c=c9(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},kc(e,t,r||e)}function Xn(e){return Xn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xn(e)}function i9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dd(e,t)}function u9(e,t){return t&&(l9(t)==="object"||typeof t=="function")?t:x$(e)}function dd(e,t){return dd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dd(e,t)}function c9(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Xn(e),e!==null););return e}function l9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function a9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function f9(e){var t=a9();return function(){var n=Xn(e),o;if(t){var i=Xn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return u9(this,o)}}var Dc=function(e){i9(r,e);var t=f9(r);function r(n){r9(this,r);var o;return o=t.call(this,n),xc(x$(o),"props",void 0),o.props=new pd(n==null?void 0:n.props),o}return o9(r,[{key:"toDataBindModel",value:function(o){var i=kc(Xn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,a=u.showSubDept;i.props.displayLevel=c,i.props.showSubDept=a}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),r}(F);xc(Dc,"controlName","\u90E8\u95E8"),xc(Dc,"controlFieldType",m.DEPARTMENTS),xc(Dc,"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 D$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function F$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _9(e,t,r){return t&&F$(e.prototype,t),r&&F$(e,r),e}function N$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fc(e){return Fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fc(e)}function y9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vd(e,t)}function p9(e,t){return t&&(d9(t)==="object"||typeof t=="function")?t:D$(e)}function vd(e,t){return vd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vd(e,t)}function d9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function v9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function h9(e){var t=v9();return function(){var n=Fc(e),o;if(t){var i=Fc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return p9(this,o)}}var b9=function(e){y9(r,e);var t=h9(r);function r(n){s9(this,r);var o;return o=t.call(this,n),N$(D$(o),"props",void 0),o.props=new pd(n==null?void 0:n.props),o}return _9(r,null,[{key:"controlType",get:function(){return"department"}}]),r}(N);N$(b9,"controlFieldType",m.DEPARTMENTS);function j$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m9(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nc(e){return Nc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nc(e)}function O9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hd(e,t)}function w9(e,t){return t&&($9(t)==="object"||typeof t=="function")?t:j$(e)}function hd(e,t){return hd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hd(e,t)}function $9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function P9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function R9(e){var t=P9();return function(){var n=Nc(e),o;if(t){var i=Nc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return w9(this,o)}}var M$=function(e){O9(r,e);var t=R9(r);function r(n){g9(this,r);var o;o=t.call(this,n),m9(j$(o),"defaultValue",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:"";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Lc.controlName;var c;return o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",o}return r}(D);function L$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function E9(e,t,r){return t&&C$(e.prototype,t),r&&C$(e,r),e}function jc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mc(e){return Mc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mc(e)}function T9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bd(e,t)}function I9(e,t){return t&&(B9(t)==="object"||typeof t=="function")?t:L$(e)}function bd(e,t){return bd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bd(e,t)}function B9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function A9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function x9(e){var t=A9();return function(){var n=Mc(e),o;if(t){var i=Mc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return I9(this,o)}}var Lc=function(e){T9(r,e);var t=x9(r);function r(n){S9(this,r);var o;return o=t.call(this,n),jc(L$(o),"props",void 0),o.props=new M$(n==null?void 0:n.props),o}return E9(r,null,[{key:"controlName",get:function(){return"\u81EA\u52A8\u7F16\u53F7"}},{key:"controlIcon",get:function(){return"iconnumber_new"}},{key:"controlType",get:function(){return"auto-number"}}]),r}(F);jc(Lc,"controlEventKeys",["on_change"]),jc(Lc,"controlFieldType",m.AUTO_NUMBER),jc(Lc,"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 V$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function z$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function D9(e,t,r){return t&&z$(e.prototype,t),r&&z$(e,r),e}function H$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cc(e){return Cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cc(e)}function F9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 N9(e,t){return t&&(j9(t)==="object"||typeof t=="function")?t:V$(e)}function gd(e,t){return gd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gd(e,t)}function j9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function M9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function L9(e){var t=M9();return function(){var n=Cc(e),o;if(t){var i=Cc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return N9(this,o)}}var C9=function(e){F9(r,e);var t=L9(r);function r(n){k9(this,r);var o;return o=t.call(this,n),H$(V$(o),"props",void 0),o.props=new M$(n==null?void 0:n.props),o}return D9(r,null,[{key:"controlType",get:function(){return"auto-number"}}]),r}(N);H$(C9,"controlFieldType",m.AUTO_NUMBER);function cn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function md(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vc(e){return Vc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vc(e)}function Od(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 V9(e,t){return t&&(z9(t)==="object"||typeof t=="function")?t:cn(e)}function wd(e,t){return wd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wd(e,t)}function z9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function H9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $d(e){var t=H9();return function(){var n=Vc(e),o;if(t){var i=Vc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return V9(this,o)}}var q9=function(e){Od(r,e);var t=$d(r);function r(n){md(this,r);var o;return o=t.call(this,n),o.dataBind.fields.result.required=!1,o.dataBind.fields.result.fields.fieldCode.required=!1,o.dataBind.fields.result.fields.dataCode.required=!1,o.dataBind.fields.unit.required=!1,o.dataBind.fields.unit.fields.fieldCode.required=!1,o.dataBind.fields.unit.fields.dataCode.required=!1,o}return r}(pe),U9=function(e){Od(r,e);var t=$d(r);function r(n){md(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="object"),o.push({type:"object",message:d.getMessage("isNotObject"),fields:{result:[{type:"number",message:d.getMessage("isNotNumber")}],unit:{type:"string",message:d.getMessage("isNotString")}}}),o}return r}(U),zc=function(e){Od(r,e);var t=$d(r);function r(n){md(this,r);var o;o=t.call(this,n),Lt(cn(o),"precision",void 0),Lt(cn(o),"micrometer",void 0),Lt(cn(o),"showUpperCase",void 0),Lt(cn(o),"scriptSrc",void 0),Lt(cn(o),"scriptEcho",void 0),Lt(cn(o),"dataBind",void 0),Lt(cn(o),"defaultValue",void 0);var i;o.precision=(i=n==null?void 0:n.precision)!==null&&i!==void 0?i:0;var u;o.micrometer=(u=n==null?void 0:n.micrometer)!==null&&u!==void 0?u:!1;var c;o.showUpperCase=(c=n==null?void 0:n.showUpperCase)!==null&&c!==void 0?c:!1,o.dataBind=new NA(n==null?void 0:n.dataBind),o.defaultValue=new jA(n==null?void 0:n.defaultValue);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Uc.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165";var f;o.scriptEcho=(f=n==null?void 0:n.scriptEcho)!==null&&f!==void 0?f:[];var _;return o.scriptSrc=(_=n==null?void 0:n.scriptSrc)!==null&&_!==void 0?_:"",o}return r}(D);Lt(zc,"Rules",q9),Lt(zc,"RuntimeRules",U9);function q$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function U$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function K9(e,t,r){return t&&U$(e.prototype,t),r&&U$(e,r),e}function Hc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?qc=Reflect.get:qc=function(o,i,u){var c=J9(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},qc(e,t,r||e)}function Jn(e){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jn(e)}function G9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pd(e,t)}function X9(e,t){return t&&(Q9(t)==="object"||typeof t=="function")?t:q$(e)}function Pd(e,t){return Pd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pd(e,t)}function J9(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Jn(e),e!==null););return e}function Q9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Z9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Y9(e){var t=Z9();return function(){var n=Jn(e),o;if(t){var i=Jn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return X9(this,o)}}var Uc=function(e){G9(r,e);var t=Y9(r);function r(n){W9(this,r);var o;return o=t.call(this,n),Hc(q$(o),"props",void 0),o.props=new zc(n==null?void 0:n.props),o}return K9(r,[{key:"toDataBindModel",value:function(o){var i=qc(Jn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,a=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=a}return i}}],[{key:"controlName",get:function(){return"\u8BA1\u7B97\u516C\u5F0F"}},{key:"controlType",get:function(){return"calc"}},{key:"controlIcon",get:function(){return"iconcalculation_new"}}]),r}(F);Hc(Uc,"controlEventKeys",["on_change"]),Hc(Uc,"controlFieldType",m.CALC),Hc(Uc,"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:"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:"default-value",visible:!1},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function W$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function K$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function tC(e,t,r){return t&&K$(e.prototype,t),r&&K$(e,r),e}function G$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wc(e){return Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wc(e)}function nC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rd(e,t)}function rC(e,t){return t&&(oC(t)==="object"||typeof t=="function")?t:W$(e)}function Rd(e,t){return Rd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rd(e,t)}function oC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uC(e){var t=iC();return function(){var n=Wc(e),o;if(t){var i=Wc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rC(this,o)}}var cC=function(e){nC(r,e);var t=uC(r);function r(n){eC(this,r);var o;return o=t.call(this,n),G$(W$(o),"props",void 0),o.props=new zc(n==null?void 0:n.props),o}return tC(r,null,[{key:"controlType",get:function(){return"calc"}}]),r}(N);G$(cC,"controlFieldType",m.CALC);function Qn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kc(e){return Kc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kc(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&&Sd(e,t)}function lC(e,t){return t&&(aC(t)==="object"||typeof t=="function")?t:Qn(e)}function Sd(e,t){return Sd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sd(e,t)}function aC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Q$(e){var t=fC();return function(){var n=Kc(e),o;if(t){var i=Kc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lC(this,o)}}var sC=function(e){J$(r,e);var t=Q$(r);function r(n){X$(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o.push({validator:function(u,c){if(n.required){var a=c.every(function(l){return!l});return a?Promise.reject(d.getMessage("runtimeRequired",{caption:n.caption})):Promise.resolve()}else return Promise.resolve()}}),o}return r}(U),Ed=function(e){J$(r,e);var t=Q$(r);function r(n){X$(this,r);var o;o=t.call(this,n),Zn(Qn(o),"rangeMin",void 0),Zn(Qn(o),"rangeMax",void 0),Zn(Qn(o),"placeholderStart",void 0),Zn(Qn(o),"placeholderEnd",void 0),Zn(Qn(o),"defaultValue",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:["",""];var u;o.rangeMin=(u=n==null?void 0:n.rangeMin)!==null&&u!==void 0?u:"";var c;o.rangeMax=(c=n==null?void 0:n.rangeMax)!==null&&c!==void 0?c:"";var a;o.placeholderStart=(a=n==null?void 0:n.placeholderStart)!==null&&a!==void 0?a:"\u6700\u5C0F\u503C";var l;o.placeholderEnd=(l=n==null?void 0:n.placeholderEnd)!==null&&l!==void 0?l:"\u6700\u5927\u503C";var f;return o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:Bd.controlName,o}return r}(D);Zn(Ed,"RuntimeRules",sC);function Z$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Y$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yC(e,t,r){return t&&Y$(e.prototype,t),r&&Y$(e,r),e}function Td(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gc(e){return Gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gc(e)}function pC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 dC(e,t){return t&&(vC(t)==="object"||typeof t=="function")?t:Z$(e)}function Id(e,t){return Id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Id(e,t)}function vC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bC(e){var t=hC();return function(){var n=Gc(e),o;if(t){var i=Gc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dC(this,o)}}var Bd=function(e){pC(r,e);var t=bC(r);function r(n){_C(this,r);var o;return o=t.call(this,n),Td(Z$(o),"props",void 0),o.props=new Ed(n==null?void 0:n.props),o}return yC(r,null,[{key:"controlName",get:function(){return"\u6570\u5B57\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconshuziqujian"}},{key:"controlType",get:function(){return"search-number-range"}}]),r}(F);Td(Bd,"controlFieldType",m.DECIMAL_RANGE),Td(Bd,"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 eP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mC(e,t,r){return t&&tP(e.prototype,t),r&&tP(e,r),e}function nP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xc(e){return Xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xc(e)}function OC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ad(e,t)}function wC(e,t){return t&&($C(t)==="object"||typeof t=="function")?t:eP(e)}function Ad(e,t){return Ad=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ad(e,t)}function $C(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RC(e){var t=PC();return function(){var n=Xc(e),o;if(t){var i=Xc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wC(this,o)}}var SC=function(e){OC(r,e);var t=RC(r);function r(n){gC(this,r);var o;return o=t.call(this,n),nP(eP(o),"props",void 0),o.props=new Ed(n==null?void 0:n.props),o}return mC(r,null,[{key:"controlType",get:function(){return"search-number-range"}}]),r}(N);nP(SC,"controlFieldType",m.DECIMAL_RANGE);function ot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function it(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jc(e){return Jc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jc(e)}function oP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xd(e,t)}function EC(e,t){return t&&(TC(t)==="object"||typeof t=="function")?t:ot(e)}function xd(e,t){return xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xd(e,t)}function TC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iP(e){var t=IC();return function(){var n=Jc(e),o;if(t){var i=Jc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return EC(this,o)}}var BC=function(e){oP(r,e);var t=iP(r);function r(n){rP(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),n.required&&!n.isHide&&o.push({type:"array",fields:{0:{type:"string",required:n.required,message:o[0].message},1:{type:"string",required:n.required,message:o[0].message}}}),o}return r}(U),kd=function(e){oP(r,e);var t=iP(r);function r(n){rP(this,r);var o,i;o=t.call(this,n),it(ot(o),"rangeMin",void 0),it(ot(o),"rangeMax",void 0),it(ot(o),"placeholderStart",void 0),it(ot(o),"placeholderEnd",void 0),it(ot(o),"dateType",void 0),it(ot(o),"dateFormat",void 0),it(ot(o),"commonTimeSetting",void 0),it(ot(o),"setValueType",void 0),it(ot(o),"defaultValue",void 0),it(ot(o),"limitDateList",void 0);var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:["",""];var c;o.dateType=(c=n==null?void 0:n.dateType)!==null&&c!==void 0?c:Vt.DATE;var a;o.dateFormat=(a=n==null?void 0:n.dateFormat)!==null&&a!==void 0?a:"";var l;o.commonTimeSetting=(l=n==null?void 0:n.commonTimeSetting)!==null&&l!==void 0?l:[];var f;o.setValueType=(f=n==null?void 0:n.setValueType)!==null&&f!==void 0?f:"custom";var _;o.rangeMin=(_=n==null?void 0:n.rangeMin)!==null&&_!==void 0?_:"";var p;o.rangeMax=(p=n==null?void 0:n.rangeMax)!==null&&p!==void 0?p:"";var b;o.placeholderStart=(b=n==null?void 0:n.placeholderStart)!==null&&b!==void 0?b:"\u5F00\u59CB\u65E5\u671F";var O;o.placeholderEnd=(O=n==null?void 0:n.placeholderEnd)!==null&&O!==void 0?O:"\u7ED3\u675F\u65E5\u671F";var g;o.caption=(g=n==null?void 0:n.caption)!==null&&g!==void 0?g:Nd.controlName;var w;return o.limitDateList=(w=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(v){return new d_(v)}))!==null&&w!==void 0?w:[],o}return r}(D);it(kd,"RuntimeRules",BC);function uP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xC(e,t,r){return t&&cP(e.prototype,t),r&&cP(e,r),e}function Dd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qc(e){return Qc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qc(e)}function kC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fd(e,t)}function DC(e,t){return t&&(FC(t)==="object"||typeof t=="function")?t:uP(e)}function Fd(e,t){return Fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fd(e,t)}function FC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jC(e){var t=NC();return function(){var n=Qc(e),o;if(t){var i=Qc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DC(this,o)}}var Nd=function(e){kC(r,e);var t=jC(r);function r(n){AC(this,r);var o;return o=t.call(this,n),Dd(uP(o),"props",void 0),o.props=new kd(n==null?void 0:n.props),o}return xC(r,null,[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"search-date-range"}}]),r}(F);Dd(Nd,"controlFieldType",m.ARRAY),Dd(Nd,"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 lP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function LC(e,t,r){return t&&aP(e.prototype,t),r&&aP(e,r),e}function fP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zc(e){return Zc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zc(e)}function CC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 VC(e,t){return t&&(zC(t)==="object"||typeof t=="function")?t:lP(e)}function jd(e,t){return jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jd(e,t)}function zC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qC(e){var t=HC();return function(){var n=Zc(e),o;if(t){var i=Zc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VC(this,o)}}var UC=function(e){CC(r,e);var t=qC(r);function r(n){MC(this,r);var o;return o=t.call(this,n),fP(lP(o),"props",void 0),o.props=new kd(n==null?void 0:n.props),o}return LC(r,null,[{key:"controlType",get:function(){return"search-date-range"}}]),r}(N);fP(UC,"controlFieldType",m.ARRAY);function fo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Md(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yc(e){return Yc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yc(e)}function Ld(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cd(e,t)}function WC(e,t){return t&&(KC(t)==="object"||typeof t=="function")?t:fo(e)}function Cd(e,t){return Cd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cd(e,t)}function KC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vd(e){var t=GC();return function(){var n=Yc(e),o;if(t){var i=Yc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WC(this,o)}}var XC=function(e){Ld(r,e);var t=Vd(r);function r(n){Md(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(pe),JC=function(e){Ld(r,e);var t=Vd(r);function r(n){Md(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="any"),o}return r}(U),el=function(e){Ld(r,e);var t=Vd(r);function r(n){Md(this,r);var o;o=t.call(this,n),Yn(fo(o),"controlExportName",void 0),Yn(fo(o),"permissions",void 0),Yn(fo(o),"defaultValue",void 0),Yn(fo(o),"isInlineEdit",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:rl.controlName;var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:void 0;var c;o.controlExportName=(c=n==null?void 0:n.controlExportName)!==null&&c!==void 0?c:"";var a;o.permissions=(a=n==null?void 0:n.permissions)!==null&&a!==void 0?a:[];var l;return o.isInlineEdit=(l=n==null?void 0:n.isInlineEdit)!==null&&l!==void 0?l:!1,o}return r}(D);Yn(el,"Rules",XC),Yn(el,"RuntimeRules",JC);function sP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _P(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ZC(e,t,r){return t&&_P(e.prototype,t),r&&_P(e,r),e}function tl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nl(e){return nl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nl(e)}function YC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zd(e,t)}function eV(e,t){return t&&(tV(t)==="object"||typeof t=="function")?t:sP(e)}function zd(e,t){return zd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zd(e,t)}function tV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rV(e){var t=nV();return function(){var n=nl(e),o;if(t){var i=nl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eV(this,o)}}var rl=function(e){YC(r,e);var t=rV(r);function r(n){QC(this,r);var o;return o=t.call(this,n),tl(sP(o),"props",void 0),o.props=new el(n==null?void 0:n.props),o}return ZC(r,null,[{key:"controlName",get:function(){return"Vue\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return"vue-form-item"}}]),r}(F);tl(rl,"controlFieldType",m.ANY),tl(rl,"controlEventKeys",[]),tl(rl,"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 yP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function iV(e,t,r){return t&&pP(e.prototype,t),r&&pP(e,r),e}function dP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ol(e){return ol=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ol(e)}function uV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hd(e,t)}function cV(e,t){return t&&(lV(t)==="object"||typeof t=="function")?t:yP(e)}function Hd(e,t){return Hd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hd(e,t)}function lV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fV(e){var t=aV();return function(){var n=ol(e),o;if(t){var i=ol(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cV(this,o)}}var sV=function(e){uV(r,e);var t=fV(r);function r(n){oV(this,r);var o;return o=t.call(this,n),dP(yP(o),"props",void 0),o.props=new el(n==null?void 0:n.props),o}return iV(r,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),r}(N);dP(sV,"controlFieldType",m.ANY);function Re(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Se(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function il(e){return il=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},il(e)}function hP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qd(e,t)}function _V(e,t){return t&&(yV(t)==="object"||typeof t=="function")?t:Re(e)}function qd(e,t){return qd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qd(e,t)}function yV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bP(e){var t=pV();return function(){var n=il(e),o;if(t){var i=il(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _V(this,o)}}var dV=function(e){hP(r,e);var t=bP(r);function r(n){vP(this,r);var o;return o=t.call(this,n),Se(Re(o),"listPageBind",[{type:"object",message:d.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}]}}]),Se(Re(o),"formBind",{type:"object",fields:{formKey:{type:"string",message:d.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return r}(jn),Ud=function(e){hP(r,e);var t=bP(r);function r(n){vP(this,r);var o;o=t.call(this,n),Se(Re(o),"options",void 0),Se(Re(o),"optionConfig",void 0),Se(Re(o),"defaultValue",void 0),Se(Re(o),"listPageBind",void 0),Se(Re(o),"datasourceBind",void 0),Se(Re(o),"multistageFilling",void 0),Se(Re(o),"viewFormModelType",void 0),Se(Re(o),"canViewForm",void 0),Se(Re(o),"formBind",void 0),Se(Re(o),"openMultistageFilling",void 0),Se(Re(o),"showSelectedDetail",void 0),Se(Re(o),"selectedContentConfig",void 0);var i;o.options=St((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[]);var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"datasource",o.listPageBind=new ss(n==null?void 0:n.listPageBind),o.datasourceBind=new te(n==null?void 0:n.datasourceBind);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:ll.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9";var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:"";var f;o.openMultistageFilling=(f=n==null?void 0:n.openMultistageFilling)!==null&&f!==void 0?f:!1;var _;o.showSelectedDetail=(_=n==null?void 0:n.showSelectedDetail)!==null&&_!==void 0?_:!1,o.selectedContentConfig=new ds(n==null?void 0:n.selectedContentConfig),o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var g;(g=o.multistageFilling)===null||g===void 0||g.push(new Ee(O))}));var p;o.canViewForm=(p=n==null?void 0:n.canViewForm)!==null&&p!==void 0?p:!1;var b;return o.viewFormModelType=(b=n==null?void 0:n.viewFormModelType)!==null&&b!==void 0?b:"window",o.formBind=new Fn(n==null?void 0:n.formBind),o}return r}(D);Se(Ud,"Rules",dV);function gP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hV(e,t,r){return t&&mP(e.prototype,t),r&&mP(e,r),e}function ul(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cl(e){return cl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cl(e)}function bV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wd(e,t)}function gV(e,t){return t&&(mV(t)==="object"||typeof t=="function")?t:gP(e)}function Wd(e,t){return Wd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wd(e,t)}function mV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wV(e){var t=OV();return function(){var n=cl(e),o;if(t){var i=cl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gV(this,o)}}var ll=function(e){bV(r,e);var t=wV(r);function r(n){vV(this,r);var o;return o=t.call(this,n),ul(gP(o),"props",void 0),o.props=new Ud(n==null?void 0:n.props),o}return hV(r,null,[{key:"controlName",get:function(){return"\u5173\u8054\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconguanliandanxuan"}},{key:"controlType",get:function(){return"select-relation"}}]),r}(F);ul(ll,"controlFieldType",m.VARCHAR),ul(ll,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]),ul(ll,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);function OP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $V(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function PV(e,t,r){return t&&wP(e.prototype,t),r&&wP(e,r),e}function $P(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function al(e){return al=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},al(e)}function RV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 SV(e,t){return t&&(EV(t)==="object"||typeof t=="function")?t:OP(e)}function Kd(e,t){return Kd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kd(e,t)}function EV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IV(e){var t=TV();return function(){var n=al(e),o;if(t){var i=al(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SV(this,o)}}var BV=function(e){RV(r,e);var t=IV(r);function r(n){$V(this,r);var o;return o=t.call(this,n),$P(OP(o),"props",void 0),o.props=new Ud(n==null?void 0:n.props),o}return PV(r,null,[{key:"controlType",get:function(){return"select-relation"}}]),r}(N);$P(BV,"controlFieldType",m.VARCHAR);function AV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fl(e){return fl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fl(e)}function kV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gd(e,t)}function DV(e,t){return t&&(FV(t)==="object"||typeof t=="function")?t:AV(e)}function Gd(e,t){return Gd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gd(e,t)}function FV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jV(e){var t=NV();return function(){var n=fl(e),o;if(t){var i=fl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DV(this,o)}}var PP=function(e){kV(r,e);var t=jV(r);function r(n){return xV(this,r),t.call(this,n)}return r}(co);function RP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function LV(e,t,r){return t&&SP(e.prototype,t),r&&SP(e,r),e}function EP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sl(e){return sl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sl(e)}function CV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xd(e,t)}function VV(e,t){return t&&(zV(t)==="object"||typeof t=="function")?t:RP(e)}function Xd(e,t){return Xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xd(e,t)}function zV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qV(e){var t=HV();return function(){var n=sl(e),o;if(t){var i=sl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VV(this,o)}}var UV=function(e){CV(r,e);var t=qV(r);function r(n){MV(this,r);var o;return o=t.call(this,n),EP(RP(o),"props",void 0),o.props=new PP(n==null?void 0:n.props),o}return LV(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),r}(lo);EP(UV,"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 TP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function KV(e,t,r){return t&&IP(e.prototype,t),r&&IP(e,r),e}function BP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _l(e){return _l=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_l(e)}function GV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jd(e,t)}function XV(e,t){return t&&(JV(t)==="object"||typeof t=="function")?t:TP(e)}function Jd(e,t){return Jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jd(e,t)}function JV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZV(e){var t=QV();return function(){var n=_l(e),o;if(t){var i=_l(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XV(this,o)}}var YV=function(e){GV(r,e);var t=ZV(r);function r(n){WV(this,r);var o;return o=t.call(this,n),BP(TP(o),"props",void 0),o.props=new PP(n==null?void 0:n.props),o}return KV(r,null,[{key:"controlType",get:function(){return"search-input"}}]),r}(N);BP(YV,"controlFieldType",m.VARCHAR);function X(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yl(e){return yl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yl(e)}function Zd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ez(e,t){return t&&(tz(t)==="object"||typeof t=="function")?t:X(e)}function Yd(e,t){return Yd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yd(e,t)}function tz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ev(e){var t=nz();return function(){var n=yl(e),o;if(t){var i=yl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ez(this,o)}}var rz=function(e){Zd(r,e);var t=ev(r);function r(n){Qd(this,r);var o;return o=t.call(this,n),J(X(o),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),Fo.call(X(o),n,bn.controlCustomAttributes,!0),o.datasourceBind[1].fields&&(o.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:d.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:d.getMessage("rootNodeIsRequired")}}}]),o}return r}(pe),oz=function(e){Zd(r,e);var t=ev(r);function r(n){Qd(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(U),pl=function(e){Zd(r,e);var t=ev(r);function r(n){Qd(this,r);var o,i;o=t.call(this,n),J(X(o),"placeholder",void 0),J(X(o),"multiple",void 0),J(X(o),"canSearch",void 0),J(X(o),"levelType",void 0),J(X(o),"optionalLevel",void 0),J(X(o),"containsSubNode",void 0),J(X(o),"defaultDisplay",void 0),J(X(o),"isShowIncludeSub",void 0),J(X(o),"isDefaultCheckSub",void 0),J(X(o),"isShowFilterItem",void 0),J(X(o),"defaultCollapse",void 0),J(X(o),"defaultCollapseLevel",void 0),J(X(o),"optionConfig","datasource"),J(X(o),"datasourceBind",void 0),J(X(o),"filterItemDatasourceBind",void 0),J(X(o),"multistageFilling",void 0),J(X(o),"defaultValue",void 0),J(X(o),"openMultistageFilling",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:bn.controlName;var c;o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:"\u8BF7\u9009\u62E9";var a;o.multiple=(a=n==null?void 0:n.multiple)!==null&&a!==void 0?a:!1;var l;o.canSearch=(l=n==null?void 0:n.canSearch)!==null&&l!==void 0?l:!0;var f;o.levelType=(f=n==null?void 0:n.levelType)!==null&&f!==void 0?f:"all";var _;o.optionalLevel=(_=n==null?void 0:n.optionalLevel)!==null&&_!==void 0?_:1;var p;o.containsSubNode=(p=n==null?void 0:n.containsSubNode)!==null&&p!==void 0?p:!1;var b;o.isShowFilterItem=(b=n==null?void 0:n.isShowFilterItem)!==null&&b!==void 0?b:!1;var O;o.isShowIncludeSub=(O=n==null?void 0:n.isShowIncludeSub)!==null&&O!==void 0?O:!1;var g;o.isDefaultCheckSub=(g=n==null?void 0:n.isDefaultCheckSub)!==null&&g!==void 0?g:!1;var w;o.defaultCollapse=(w=n==null?void 0:n.defaultCollapse)!==null&&w!==void 0?w:"all";var v;o.defaultCollapseLevel=(v=n==null?void 0:n.defaultCollapseLevel)!==null&&v!==void 0?v:1;var $;o.datasourceBind=new cg(($=n==null?void 0:n.datasourceBind)!==null&&$!==void 0?$:{attributes:bn.controlCustomAttributes});var P;o.filterItemDatasourceBind=new cg((P=n==null?void 0:n.filterItemDatasourceBind)!==null&&P!==void 0?P:{attributes:bn.controlCustomAttributes});var R;o.openMultistageFilling=(R=n==null?void 0:n.openMultistageFilling)!==null&&R!==void 0?R:!1;var S;o.defaultDisplay=(S=n==null?void 0:n.defaultDisplay)!==null&&S!==void 0?S:!1;var j;o.multistageFilling=(j=n==null||(i=n.multistageFilling)===null||i===void 0?void 0:i.map(function(G){return new Ee(G)}))!==null&&j!==void 0?j:[];var T;return o.defaultValue=(T=n==null?void 0:n.defaultValue)!==null&&T!==void 0?T:[],o}return r}(D);J(pl,"Rules",rz),J(pl,"RuntimeRules",oz);function AP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uz(e,t,r){return t&&xP(e.prototype,t),r&&xP(e,r),e}function dl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vl(e){return vl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vl(e)}function cz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 lz(e,t){return t&&(az(t)==="object"||typeof t=="function")?t:AP(e)}function tv(e,t){return tv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tv(e,t)}function az(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sz(e){var t=fz();return function(){var n=vl(e),o;if(t){var i=vl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lz(this,o)}}var bn=function(e){cz(r,e);var t=sz(r);function r(n){iz(this,r);var o;return o=t.call(this,n),dl(AP(o),"props",void 0),o.props=new pl(n==null?void 0:n.props),o}return uz(r,null,[{key:"controlName",get:function(){return"\u6811"}},{key:"controlIcon",get:function(){return"icontree"}},{key:"controlType",get:function(){return"tree"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}]),r}(F);dl(bn,"controlEventKeys",["on_change","on_click"]),dl(bn,"controlFieldType",m.ARRAY),dl(bn,"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:"super-setting",visible:!0}]);function kP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _z(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yz(e,t,r){return t&&DP(e.prototype,t),r&&DP(e,r),e}function FP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hl(e){return hl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hl(e)}function pz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nv(e,t)}function dz(e,t){return t&&(vz(t)==="object"||typeof t=="function")?t:kP(e)}function nv(e,t){return nv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nv(e,t)}function vz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bz(e){var t=hz();return function(){var n=hl(e),o;if(t){var i=hl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dz(this,o)}}var gz=function(e){pz(r,e);var t=bz(r);function r(n){_z(this,r);var o;return o=t.call(this,n),FP(kP(o),"props",void 0),o.props=new pl(n==null?void 0:n.props),o}return yz(r,null,[{key:"controlType",get:function(){return"tree"}}]),r}(N);FP(gz,"controlFieldType",m.ARRAY);function se(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bl(e){return bl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bl(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&&iv(e,t)}function mz(e,t){return t&&(Oz(t)==="object"||typeof t=="function")?t:se(e)}function iv(e,t){return iv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iv(e,t)}function Oz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uv(e){var t=wz();return function(){var n=bl(e),o;if(t){var i=bl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mz(this,o)}}var $z=function(e){ov(r,e);var t=uv(r);function r(n){rv(this,r);var o;return o=t.call(this,n),_e(se(o),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),_e(se(o),"externalScope",{type:"any"}),Fo.call(se(o),n,so.controlCustomAttributes),n.externalType===Zt.ASSIGN&&(o.externalScope={type:"array",required:!0,message:d.getMessage("pleaseAssignExternal")}),o}return r}(pe),Pz=function(e){ov(r,e);var t=uv(r);function r(n){rv(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(U),gl=function(e){ov(r,e);var t=uv(r);function r(n){rv(this,r);var o;o=t.call(this,n),_e(se(o),"showType",void 0),_e(se(o),"range",void 0),_e(se(o),"rangeOptions",void 0),_e(se(o),"multiple",void 0),_e(se(o),"defaultValueType",void 0),_e(se(o),"defaultValue",void 0),_e(se(o),"multistageFilling",void 0),_e(se(o),"datasourceBind",void 0),_e(se(o),"datasourceType",void 0),_e(se(o),"insideType",void 0),_e(se(o),"externalType",void 0),_e(se(o),"externalScope",void 0),_e(se(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var c;o.rangeOptions=(c=n==null?void 0:n.rangeOptions)!==null&&c!==void 0?c:[];var a;o.multiple=(a=n==null?void 0:n.multiple)!==null&&a!==void 0?a:!1;var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:so.controlName;var p;o.placeholder=(p=n==null?void 0:n.placeholder)!==null&&p!==void 0?p:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var b;o.datasourceBind=new Ao((b=n==null?void 0:n.datasourceBind)!==null&&b!==void 0?b:{attributes:so.controlCustomAttributes});var O;o.datasourceType=(O=n==null?void 0:n.datasourceType)!==null&&O!==void 0?O:g_.INTERNAL;var g;o.insideType=(g=n==null?void 0:n.insideType)!==null&&g!==void 0?g:m_.ADMIN;var w;o.externalType=(w=n==null?void 0:n.externalType)!==null&&w!==void 0?w:Zt.ALL;var v;o.externalScope=(v=n==null?void 0:n.externalScope)!==null&&v!==void 0?v:[];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 R;(R=o.multistageFilling)===null||R===void 0||R.push(new Ee(P))})),o}return r}(D);_e(gl,"Rules",$z),_e(gl,"RuntimeRules",Pz);function NP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Sz(e,t,r){return t&&jP(e.prototype,t),r&&jP(e,r),e}function cv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ml(e){return ml=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ml(e)}function 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&&lv(e,t)}function Tz(e,t){return t&&(Iz(t)==="object"||typeof t=="function")?t:NP(e)}function lv(e,t){return lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lv(e,t)}function Iz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Az(e){var t=Bz();return function(){var n=ml(e),o;if(t){var i=ml(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Tz(this,o)}}var so=function(e){Ez(r,e);var t=Az(r);function r(n){Rz(this,r);var o;return o=t.call(this,n),cv(NP(o),"props",void 0),o.props=new gl(n==null?void 0:n.props),o}return Sz(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(F);cv(so,"controlFieldType",m.EMPLOYEES),cv(so,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}]);function MP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function kz(e,t,r){return t&&LP(e.prototype,t),r&&LP(e,r),e}function CP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ol(e){return Ol=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ol(e)}function Dz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&av(e,t)}function Fz(e,t){return t&&(Nz(t)==="object"||typeof t=="function")?t:MP(e)}function av(e,t){return av=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},av(e,t)}function Nz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mz(e){var t=jz();return function(){var n=Ol(e),o;if(t){var i=Ol(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Fz(this,o)}}var Lz=function(e){Dz(r,e);var t=Mz(r);function r(n){xz(this,r);var o;return o=t.call(this,n),CP(MP(o),"props",void 0),o.props=new gl(n==null?void 0:n.props),o}return kz(r,null,[{key:"controlType",get:function(){return"employee2"}}]),r}(N);CP(Lz,"controlFieldType",m.EMPLOYEES);function ht(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wl(e){return wl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wl(e)}function zP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fv(e,t)}function Cz(e,t){return t&&(Vz(t)==="object"||typeof t=="function")?t:ht(e)}function fv(e,t){return fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fv(e,t)}function Vz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HP(e){var t=zz();return function(){var n=wl(e),o;if(t){var i=wl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Cz(this,o)}}var Hz=function(e){zP(r,e);var t=HP(r);function r(n){VP(this,r);var o;return o=t.call(this,n),bt(ht(o),"signatureConfig",void 0),o.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fields:n.signatureConfig.undersignedList.reduce(function(i,u,c){return i[c]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator:function(l,f,_){if(u.type==="public"&&os(f.value)&&f.value.length===0){_("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}_()}},company:{type:"object",required:!0,validator:function(l,f,_){if(u.type==="public"&&u.signatureType.includes("company")&&os(f.value)&&f.value.length===0){_("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}_()}}}},i},{})}}},o}return r}(pe),sv=function(e){zP(r,e);var t=HP(r);function r(n){VP(this,r);var o;o=t.call(this,n),bt(ht(o),"buttonType",void 0),bt(ht(o),"content",void 0),bt(ht(o),"showType",void 0),bt(ht(o),"color",void 0),bt(ht(o),"icon",void 0),bt(ht(o),"command",""),bt(ht(o),"isLoading",!1),bt(ht(o),"signatureConfig",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Rl.controlName;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:"\u53D1\u8D77\u7B7E\u7F72";var c;o.buttonType=(c=n==null?void 0:n.buttonType)!==null&&c!==void 0?c:"primary";var a;o.showType=(a=n==null?void 0:n.showType)!==null&&a!==void 0?a:"text";var l;o.color=(l=n==null?void 0:n.color)!==null&&l!==void 0?l:"primary";var f;return o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:"iconfenlei2",o.signatureConfig=new OD(n==null?void 0:n.signatureConfig),o}return r}(D);bt(sv,"Rules",Hz);function qP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Uz(e,t,r){return t&&UP(e.prototype,t),r&&UP(e,r),e}function $l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pl(e){return Pl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pl(e)}function Wz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_v(e,t)}function Kz(e,t){return t&&(Gz(t)==="object"||typeof t=="function")?t:qP(e)}function _v(e,t){return _v=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_v(e,t)}function Gz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jz(e){var t=Xz();return function(){var n=Pl(e),o;if(t){var i=Pl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kz(this,o)}}var Rl=function(e){Wz(r,e);var t=Jz(r);function r(n){qz(this,r);var o;return o=t.call(this,n),$l(qP(o),"props",void 0),o.props=new sv(n==null?void 0:n.props),o}return Uz(r,null,[{key:"controlName",get:function(){return"\u7535\u5B50\u7B7E\u7AE0"}},{key:"controlIcon",get:function(){return"icondianziqianzhang"}},{key:"controlType",get:function(){return"electronic-signature"}}]),r}(F);$l(Rl,"controlEventKeys",["on_click","on_click_finish"]),$l(Rl,"controlFieldType",m.VARCHAR),$l(Rl,"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 WP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Zz(e,t,r){return t&&KP(e.prototype,t),r&&KP(e,r),e}function GP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sl(e){return Sl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sl(e)}function Yz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yv(e,t)}function eH(e,t){return t&&(tH(t)==="object"||typeof t=="function")?t:WP(e)}function yv(e,t){return yv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yv(e,t)}function tH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rH(e){var t=nH();return function(){var n=Sl(e),o;if(t){var i=Sl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eH(this,o)}}var oH=function(e){Yz(r,e);var t=rH(r);function r(n){Qz(this,r);var o;return o=t.call(this,n),GP(WP(o),"props",void 0),o.props=new sv(n==null?void 0:n.props),o}return Zz(r,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),r}(N);GP(oH,"controlFieldType",m.VARCHAR);function ge(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ye(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function El(e){return El=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},El(e)}function dv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 iH(e,t){return t&&(uH(t)==="object"||typeof t=="function")?t:ge(e)}function vv(e,t){return vv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vv(e,t)}function uH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hv(e){var t=cH();return function(){var n=El(e),o;if(t){var i=El(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iH(this,o)}}var lH=function(e){dv(r,e);var t=hv(r);function r(n){pv(this,r);var o;return o=t.call(this,n),ye(ge(o),"content",{type:"string",required:!0,message:d.getMessage("pleaseEnterButtonContent")}),ye(ge(o),"canAdd",void 0),ye(ge(o),"wpsSetting",{type:"object",fields:{watermark:{type:"object",validator:function(u,c,a){if(c.active&&!c.text){a(d.getMessage("pleaseEnterWatermark"));return}a()}},autoRename:{type:"object",validator:function(u,c,a){if(c.active&&!c.text){a(d.getMessage("pleaseEnterFileName"));return}a()}}}}),o.canAdd={type:"boolean",validator:function(u,c,a){if(n.canAdd&&!n.addLocal&&!n.addOnline){a(d.getMessage("pleaseChooseAtLeastOne"));return}a()}},o}return r}(pe),aH=function(e){dv(r,e);var t=hv(r);function r(n){pv(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(U),Tl=function(e){dv(r,e);var t=hv(r);function r(n){pv(this,r);var o;o=t.call(this,n),ye(ge(o),"content",void 0),ye(ge(o),"canAdd",void 0),ye(ge(o),"addLocal",void 0),ye(ge(o),"addOnline",void 0),ye(ge(o),"canDownload",void 0),ye(ge(o),"canEdit",void 0),ye(ge(o),"canExport",void 0),ye(ge(o),"canDelete",void 0),ye(ge(o),"wpsSetting",void 0),ye(ge(o),"maxSize",void 0),ye(ge(o),"defaultValue",void 0),ye(ge(o),"revisionsMode",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Al.controlName;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:"\u65B0\u5EFA\u6587\u6863";var c;o.canAdd=(c=n==null?void 0:n.canAdd)!==null&&c!==void 0?c:!0;var a;o.addLocal=(a=n==null?void 0:n.addLocal)!==null&&a!==void 0?a:!0;var l;o.addOnline=(l=n==null?void 0:n.addOnline)!==null&&l!==void 0?l:!0;var f;o.canEdit=(f=n==null?void 0:n.canEdit)!==null&&f!==void 0?f:!0;var _;o.canDownload=(_=n==null?void 0:n.canDownload)!==null&&_!==void 0?_:!0;var p;o.canExport=(p=n==null?void 0:n.canExport)!==null&&p!==void 0?p:!0;var b;o.canDelete=(b=n==null?void 0:n.canDelete)!==null&&b!==void 0?b:!1;var O;o.maxSize=(O=n==null?void 0:n.maxSize)!==null&&O!==void 0?O:f8;var g;o.defaultValue=(g=n==null?void 0:n.defaultValue)!==null&&g!==void 0?g:[],o.wpsSetting=new wD(n==null?void 0:n.wpsSetting);var w;return o.revisionsMode=(w=n==null?void 0:n.revisionsMode)!==null&&w!==void 0?w:!1,o}return r}(D);ye(Tl,"Rules",lH),ye(Tl,"RuntimeRules",aH);function XP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function sH(e,t,r){return t&&JP(e.prototype,t),r&&JP(e,r),e}function Il(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bl(e){return Bl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bl(e)}function _H(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bv(e,t)}function yH(e,t){return t&&(pH(t)==="object"||typeof t=="function")?t:XP(e)}function bv(e,t){return bv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bv(e,t)}function pH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vH(e){var t=dH();return function(){var n=Bl(e),o;if(t){var i=Bl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yH(this,o)}}var Al=function(e){_H(r,e);var t=vH(r);function r(n){fH(this,r);var o;return o=t.call(this,n),Il(XP(o),"props",void 0),o.props=new Tl(n==null?void 0:n.props),o}return sH(r,null,[{key:"controlName",get:function(){return"\u5728\u7EBF\u6587\u6863"}},{key:"controlIcon",get:function(){return"iconwps"}},{key:"controlType",get:function(){return"wps"}}]),r}(F);Il(Al,"controlEventKeys",["on_change","on_wps_open"]),Il(Al,"controlFieldType",m.FILE),Il(Al,"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 QP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bH(e,t,r){return t&&ZP(e.prototype,t),r&&ZP(e,r),e}function YP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xl(e){return xl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xl(e)}function gH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gv(e,t)}function mH(e,t){return t&&(OH(t)==="object"||typeof t=="function")?t:QP(e)}function gv(e,t){return gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gv(e,t)}function OH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $H(e){var t=wH();return function(){var n=xl(e),o;if(t){var i=xl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mH(this,o)}}var PH=function(e){gH(r,e);var t=$H(r);function r(n){hH(this,r);var o;return o=t.call(this,n),YP(QP(o),"props",void 0),o.props=new Tl(n==null?void 0:n.props),o}return bH(r,null,[{key:"controlType",get:function(){return"wps"}}]),r}(N);YP(PH,"controlFieldType",m.FILE);function ne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function re(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kl(e){return kl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kl(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&&wv(e,t)}function RH(e,t){return t&&(SH(t)==="object"||typeof t=="function")?t:ne(e)}function wv(e,t){return wv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wv(e,t)}function SH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function EH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $v(e){var t=EH();return function(){var n=kl(e),o;if(t){var i=kl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return RH(this,o)}}var TH=function(e){Ov(r,e);var t=$v(r);function r(n){mv(this,r);var o;return o=t.call(this,n),re(ne(o),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),re(ne(o),"businessScope",{type:"any"}),Fo.call(ne(o),n,tr.controlCustomAttributes),n.businessType===Zt.ASSIGN&&(o.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")}),o}return r}(pe),IH=function(e){Ov(r,e);var t=$v(r);function r(n){mv(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(U),Dl=function(e){Ov(r,e);var t=$v(r);function r(n){mv(this,r);var o;o=t.call(this,n),re(ne(o),"showType",void 0),re(ne(o),"range",void 0),re(ne(o),"defaultValueType",void 0),re(ne(o),"multiple",void 0),re(ne(o),"rangeOptions",void 0),re(ne(o),"defaultValue",void 0),re(ne(o),"displayLevel",void 0),re(ne(o),"showSubDept",void 0),re(ne(o),"multistageFilling",void 0),re(ne(o),"datasourceBind",void 0),re(ne(o),"datasourceType",void 0),re(ne(o),"businessType",void 0),re(ne(o),"businessScope",void 0),re(ne(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1;var c;o.range=(c=n==null?void 0:n.range)!==null&&c!==void 0?c:"all";var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var l;o.rangeOptions=(l=n==null?void 0:n.rangeOptions)!==null&&l!==void 0?l:[];var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var p;o.showSubDept=(p=n==null?void 0:n.showSubDept)!==null&&p!==void 0?p:!0;var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:tr.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u90E8\u95E8";var g;o.datasourceBind=new Ao((g=n==null?void 0:n.datasourceBind)!==null&&g!==void 0?g:{attributes:tr.controlCustomAttributes});var w;o.datasourceType=(w=n==null?void 0:n.datasourceType)!==null&&w!==void 0?w:ai.INTERNAL;var v;o.businessScope=(v=n==null?void 0:n.businessScope)!==null&&v!==void 0?v:[];var $;o.businessType=($=n==null?void 0:n.businessType)!==null&&$!==void 0?$:Zt.ALL;var P;return o.openMultistageFilling=(P=n==null?void 0:n.openMultistageFilling)!==null&&P!==void 0?P:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(R){var S;(S=o.multistageFilling)===null||S===void 0||S.push(new Ee(R))})),o}return r}(D);re(Dl,"Rules",TH),re(Dl,"RuntimeRules",IH);function eR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function AH(e,t,r){return t&&tR(e.prototype,t),r&&tR(e,r),e}function Fl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nl(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Nl=Reflect.get:Nl=function(o,i,u){var c=DH(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Nl(e,t,r||e)}function er(e){return er=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},er(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&&Pv(e,t)}function kH(e,t){return t&&(FH(t)==="object"||typeof t=="function")?t:eR(e)}function Pv(e,t){return Pv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pv(e,t)}function DH(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=er(e),e!==null););return e}function FH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jH(e){var t=NH();return function(){var n=er(e),o;if(t){var i=er(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kH(this,o)}}var tr=function(e){xH(r,e);var t=jH(r);function r(n){BH(this,r);var o;return o=t.call(this,n),Fl(eR(o),"props",void 0),o.props=new Dl(n==null?void 0:n.props),o}return AH(r,[{key:"toDataBindModel",value:function(o){var i=Nl(er(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,a=u.showSubDept;i.props.displayLevel=c,i.props.showSubDept=a}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(F);Fl(tr,"controlName","\u90E8\u95E8"),Fl(tr,"controlFieldType",m.DEPARTMENTS),Fl(tr,"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 nR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function LH(e,t,r){return t&&rR(e.prototype,t),r&&rR(e,r),e}function oR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jl(e){return jl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jl(e)}function CH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rv(e,t)}function VH(e,t){return t&&(zH(t)==="object"||typeof t=="function")?t:nR(e)}function Rv(e,t){return Rv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rv(e,t)}function zH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qH(e){var t=HH();return function(){var n=jl(e),o;if(t){var i=jl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VH(this,o)}}var UH=function(e){CH(r,e);var t=qH(r);function r(n){MH(this,r);var o;return o=t.call(this,n),oR(nR(o),"props",void 0),o.props=new Dl(n==null?void 0:n.props),o}return LH(r,null,[{key:"controlType",get:function(){return"department2"}}]),r}(N);oR(UH,"controlFieldType",m.DEPARTMENTS);function W(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function K(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ml(e){return Ml=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ml(e)}function Ev(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tv(e,t)}function WH(e,t){return t&&(KH(t)==="object"||typeof t=="function")?t:W(e)}function Tv(e,t){return Tv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tv(e,t)}function KH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Iv(e){var t=GH();return function(){var n=Ml(e),o;if(t){var i=Ml(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WH(this,o)}}var XH=function(e){Ev(r,e);var t=Iv(r);function r(n){Sv(this,r);var o;return o=t.call(this,n),K(W(o),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),K(W(o),"businessScope",{type:"any"}),Fo.call(W(o),n,rr.controlCustomAttributes),n.businessType===Zt.ASSIGN&&(o.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")}),o}return r}(pe),JH=function(e){Ev(r,e);var t=Iv(r);function r(n){Sv(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(U),Ll=function(e){Ev(r,e);var t=Iv(r);function r(n){Sv(this,r);var o;o=t.call(this,n),K(W(o),"showType",void 0),K(W(o),"range",void 0),K(W(o),"defaultValueType",void 0),K(W(o),"multiple",void 0),K(W(o),"rangeOptions",void 0),K(W(o),"defaultValue",void 0),K(W(o),"displayLevel",void 0),K(W(o),"showSubDept",void 0),K(W(o),"multistageFilling",void 0),K(W(o),"datasourceBind",void 0),K(W(o),"listPageBind",void 0),K(W(o),"datasourceType",void 0),K(W(o),"businessType",void 0),K(W(o),"businessScope",void 0),K(W(o),"organizingFunction",void 0),K(W(o),"organizationView",void 0),K(W(o),"openMultistageFilling",void 0),K(W(o),"showSelectedDetail",void 0),K(W(o),"selectedContentConfig",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1;var c;o.range=(c=n==null?void 0:n.range)!==null&&c!==void 0?c:"all",o.listPageBind=new ss(n==null?void 0:n.listPageBind);var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var l;o.rangeOptions=(l=n==null?void 0:n.rangeOptions)!==null&&l!==void 0?l:[];var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var p;o.showSubDept=(p=n==null?void 0:n.showSubDept)!==null&&p!==void 0?p:!0;var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:rr.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u7EC4\u7EC7";var g;o.datasourceBind=new IA((g=n==null?void 0:n.datasourceBind)!==null&&g!==void 0?g:{attributes:rr.controlCustomAttributes});var w;o.datasourceType=(w=n==null?void 0:n.datasourceType)!==null&&w!==void 0?w:ai.INTERNAL;var v;o.businessScope=(v=n==null?void 0:n.businessScope)!==null&&v!==void 0?v:[];var $;o.businessType=($=n==null?void 0:n.businessType)!==null&&$!==void 0?$:Zt.ALL;var P;o.organizingFunction=(P=n==null?void 0:n.organizingFunction)!==null&&P!==void 0?P:void 0;var R;o.organizationView=(R=n==null?void 0:n.organizationView)!==null&&R!==void 0?R:void 0;var S;o.showSelectedDetail=(S=n==null?void 0:n.showSelectedDetail)!==null&&S!==void 0?S:!1,o.selectedContentConfig=new ds(n==null?void 0:n.selectedContentConfig);var j;return o.openMultistageFilling=(j=n==null?void 0:n.openMultistageFilling)!==null&&j!==void 0?j:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(T){var G;(G=o.multistageFilling)===null||G===void 0||G.push(new Ee(T))})),o}return r}(D);K(Ll,"Rules",XH),K(Ll,"RuntimeRules",JH);function iR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ZH(e,t,r){return t&&uR(e.prototype,t),r&&uR(e,r),e}function Cl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vl(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Vl=Reflect.get:Vl=function(o,i,u){var c=tq(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Vl(e,t,r||e)}function nr(e){return nr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nr(e)}function YH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bv(e,t)}function eq(e,t){return t&&(nq(t)==="object"||typeof t=="function")?t:iR(e)}function Bv(e,t){return Bv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bv(e,t)}function tq(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=nr(e),e!==null););return e}function nq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oq(e){var t=rq();return function(){var n=nr(e),o;if(t){var i=nr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eq(this,o)}}var rr=function(e){YH(r,e);var t=oq(r);function r(n){QH(this,r);var o;return o=t.call(this,n),Cl(iR(o),"props",void 0),o.props=new Ll(n==null?void 0:n.props),o}return ZH(r,[{key:"toDataBindModel",value:function(o){var i=Vl(nr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,a=u.showSubDept;i.props.displayLevel=c,i.props.showSubDept=a}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"organization-selection"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(F);Cl(rr,"controlName","\u4E1A\u52A1\u7EC4\u7EC7"),Cl(rr,"controlFieldType",m.DEPARTMENTS),Cl(rr,"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 cR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uq(e,t,r){return t&&lR(e.prototype,t),r&&lR(e,r),e}function aR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zl(e){return zl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zl(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&&Av(e,t)}function lq(e,t){return t&&(aq(t)==="object"||typeof t=="function")?t:cR(e)}function Av(e,t){return Av=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Av(e,t)}function aq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sq(e){var t=fq();return function(){var n=zl(e),o;if(t){var i=zl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lq(this,o)}}var _q=function(e){cq(r,e);var t=sq(r);function r(n){iq(this,r);var o;return o=t.call(this,n),aR(cR(o),"props",void 0),o.props=new Ll(n==null?void 0:n.props),o}return uq(r,null,[{key:"controlType",get:function(){return"organization-selection"}}]),r}(N);aR(_q,"controlFieldType",m.DEPARTMENTS);function yq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dq(e,t,r){return t&&fR(e.prototype,t),r&&fR(e,r),e}function vq(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hl(e){return Hl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hl(e)}function hq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xv(e,t)}function bq(e,t){return t&&(gq(t)==="object"||typeof t=="function")?t:yq(e)}function xv(e,t){return xv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xv(e,t)}function gq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Oq(e){var t=mq();return function(){var n=Hl(e),o;if(t){var i=Hl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bq(this,o)}}var wq=function(e){hq(r,e);var t=Oq(r);function r(n){return pq(this,r),t.call(this,n)}return dq(r,null,[{key:"controlName",get:function(){return"\u753B\u5E03"}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),r}(ue);vq(wq,"excludes",[y.GRID]);function kv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $q(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ql(e){return ql=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ql(e)}function Pq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dv(e,t)}function Rq(e,t){return t&&(Sq(t)==="object"||typeof t=="function")?t:kv(e)}function Dv(e,t){return Dv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dv(e,t)}function Sq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Eq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tq(e){var t=Eq();return function(){var n=ql(e),o;if(t){var i=ql(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Rq(this,o)}}var Iq=24,_o=function(e){Pq(r,e);var t=Tq(r);function r(n){$q(this,r);var o;o=t.call(this,n),sR(kv(o),"span",void 0),sR(kv(o),"offset",void 0);var i;o.span=(i=n==null?void 0:n.span)!==null&&i!==void 0?i:Iq;var u;return o.offset=(u=n==null?void 0:n.offset)!==null&&u!==void 0?u:0,o}return r}(ie);function _R(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Aq(e,t,r){return t&&yR(e.prototype,t),r&&yR(e,r),e}function Fv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ul(e){return Ul=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ul(e)}function xq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nv(e,t)}function kq(e,t){return t&&(Dq(t)==="object"||typeof t=="function")?t:_R(e)}function Nv(e,t){return Nv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nv(e,t)}function Dq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nq(e){var t=Fq();return function(){var n=Ul(e),o;if(t){var i=Ul(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kq(this,o)}}var yo=function(e){xq(r,e);var t=Nq(r);function r(n){Bq(this,r);var o;return o=t.call(this,n),Fv(_R(o),"props",void 0),o.props=new _o(n==null?void 0:n.props),o}return Aq(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(ue);Fv(yo,"excludes",[y.COL,y.CARD_GROUP,y.SUBTABLE,y.SUBTABLE_COLUMN,y.GRID_LAYOUT_CONTAINER,y.DIVIDER]),Fv(yo,"childrenMaxLength",1);function pR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Mq(e,t,r){return t&&dR(e.prototype,t),r&&dR(e,r),e}function Lq(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wl(e){return Wl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wl(e)}function 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&&jv(e,t)}function Vq(e,t){return t&&(zq(t)==="object"||typeof t=="function")?t:pR(e)}function jv(e,t){return jv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jv(e,t)}function zq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qq(e){var t=Hq();return function(){var n=Wl(e),o;if(t){var i=Wl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vq(this,o)}}var Uq=function(e){Cq(r,e);var t=qq(r);function r(n){jq(this,r);var o;return o=t.call(this,n),Lq(pR(o),"props",void 0),o.props=new _o(n==null?void 0:n.props),o}return Mq(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(dn),vR={Designer:yo,Runtime:Uq,Property:_o};function Mv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kl(e){return Kl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kl(e)}function Kq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lv(e,t)}function Gq(e,t){return t&&(Xq(t)==="object"||typeof t=="function")?t:Mv(e)}function Lv(e,t){return Lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lv(e,t)}function Xq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qq(e){var t=Jq();return function(){var n=Kl(e),o;if(t){var i=Kl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Gq(this,o)}}var Cv=function(e){Kq(r,e);var t=Qq(r);function r(n){Wq(this,r);var o;o=t.call(this,n),hR(Mv(o),"layoutMode",void 0),hR(Mv(o),"gutter",void 0);var i;o.layoutMode=(i=n==null?void 0:n.layoutMode)!==null&&i!==void 0?i:"select";var u;return o.gutter=(u=n==null?void 0:n.gutter)!==null&&u!==void 0?u:0,o}return r}(ie);function bR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Yq(e,t,r){return t&&gR(e.prototype,t),r&&gR(e,r),e}function Vv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gl(e){return Gl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gl(e)}function eU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zv(e,t)}function tU(e,t){return t&&(nU(t)==="object"||typeof t=="function")?t:bR(e)}function zv(e,t){return zv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zv(e,t)}function nU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oU(e){var t=rU();return function(){var n=Gl(e),o;if(t){var i=Gl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tU(this,o)}}var Hv=function(e){eU(r,e);var t=oU(r);function r(n){Zq(this,r);var o;return o=t.call(this,n),Vv(bR(o),"props",void 0),o.props=new Cv(n==null?void 0:n.props),o}return Yq(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(ue);Vv(Hv,"excludes",[y.ROW]),Vv(Hv,"setting",[{key:"col-setting",visible:!0}]);function mR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uU(e,t,r){return t&&OR(e.prototype,t),r&&OR(e,r),e}function cU(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xl(e){return Xl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xl(e)}function lU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qv(e,t)}function aU(e,t){return t&&(fU(t)==="object"||typeof t=="function")?t:mR(e)}function qv(e,t){return qv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qv(e,t)}function fU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _U(e){var t=sU();return function(){var n=Xl(e),o;if(t){var i=Xl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aU(this,o)}}var yU=function(e){lU(r,e);var t=_U(r);function r(n){iU(this,r);var o;return o=t.call(this,n),cU(mR(o),"props",void 0),o.props=new Cv(n==null?void 0:n.props),o}return uU(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(dn);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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vU(e,t,r){return t&&wR(e.prototype,t),r&&wR(e,r),e}function Uv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jl(e){return Jl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jl(e)}function hU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wv(e,t)}function bU(e,t){return t&&(gU(t)==="object"||typeof t=="function")?t:pU(e)}function Wv(e,t){return Wv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wv(e,t)}function gU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OU(e){var t=mU();return function(){var n=Jl(e),o;if(t){var i=Jl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bU(this,o)}}var wU=4,Ql=function(e){hU(r,e);var t=OU(r);function r(n){return dU(this,r),t.call(this,n)}return vU(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u7B49\u5206\u884C"}},{key:"controlType",get:function(){return"grid-row"}},{key:"controlIcon",get:function(){return"grid-row"}}]),r}(Hv);Uv(Ql,"excludes",[y.GRID_ROW]),Uv(Ql,"setting",[]),Uv(Ql,"childrenMaxLength",wU);function $U(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $R(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function RU(e,t,r){return t&&$R(e.prototype,t),r&&$R(e,r),e}function Zl(e){return Zl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zl(e)}function SU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kv(e,t)}function EU(e,t){return t&&(TU(t)==="object"||typeof t=="function")?t:$U(e)}function Kv(e,t){return Kv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kv(e,t)}function TU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BU(e){var t=IU();return function(){var n=Zl(e),o;if(t){var i=Zl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return EU(this,o)}}var AU=function(e){SU(r,e);var t=BU(r);function r(n){return PU(this,r),t.call(this,n)}return RU(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(yU);function xU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yl(e){return Yl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yl(e)}function DU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 FU(e,t){return t&&(NU(t)==="object"||typeof t=="function")?t:xU(e)}function Gv(e,t){return Gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gv(e,t)}function NU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MU(e){var t=jU();return function(){var n=Yl(e),o;if(t){var i=Yl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FU(this,o)}}var LU=function(e){DU(r,e);var t=MU(r);function r(n){return kU(this,r),t.call(this,n)}return r}(Cv),CU={Designer:Ql,Runtime:AU,Property:LU};function ea(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ta(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function na(e){return na=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},na(e)}function RR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 VU(e,t){return t&&(zU(t)==="object"||typeof t=="function")?t:ea(e)}function Xv(e,t){return Xv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xv(e,t)}function zU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SR(e){var t=HU();return function(){var n=na(e),o;if(t){var i=na(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VU(this,o)}}var qU=function(e){RR(r,e);var t=SR(r);function r(){PR(this,r);var n;return n=t.apply(this,arguments),ta(ea(n),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),n}return r}(ie.Rules),ER=function(e){RR(r,e);var t=SR(r);function r(n){PR(this,r);var o;o=t.call(this,n),ta(ea(o),"caption",void 0),ta(ea(o),"collapse",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"\u5206\u7EC4";var u;return o.collapse=(u=n==null?void 0:n.collapse)!==null&&u!==void 0?u:"none",o}return r}(ie);ta(ER,"Rules",qU);function TR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function WU(e,t,r){return t&&IR(e.prototype,t),r&&IR(e,r),e}function Jv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ra(e){return ra=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ra(e)}function 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&&Qv(e,t)}function GU(e,t){return t&&(XU(t)==="object"||typeof t=="function")?t:TR(e)}function Qv(e,t){return Qv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qv(e,t)}function XU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QU(e){var t=JU();return function(){var n=ra(e),o;if(t){var i=ra(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GU(this,o)}}var BR=function(e){KU(r,e);var t=QU(r);function r(n){UU(this,r);var o;return o=t.call(this,n),Jv(TR(o),"props",void 0),o.props=new ER(n==null?void 0:n.props),o}return WU(r,null,[{key:"controlName",get:function(){return"\u5206\u7EC4"}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),r}(ue);Jv(BR,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}]),Jv(BR,"excludes",[y.CARD_GROUP]);function gt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oa(e){return oa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oa(e)}function xR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ZU(e,t){return t&&(YU(t)==="object"||typeof t=="function")?t:gt(e)}function Zv(e,t){return Zv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zv(e,t)}function YU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kR(e){var t=eW();return function(){var n=oa(e),o;if(t){var i=oa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZU(this,o)}}var tW=function(e){xR(r,e);var t=kR(r);function r(n){AR(this,r);var o;return o=t.call(this,n),mt(gt(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),mt(gt(o),"width",{type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")}),mt(gt(o),"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Z),ia=function(e){xR(r,e);var t=kR(r);function r(n){AR(this,r);var o;o=t.call(this,n),mt(gt(o),"metaAutoWidth",void 0),mt(gt(o),"caption",void 0),mt(gt(o),"fixed",void 0),mt(gt(o),"isShowCaptionTip",void 0),mt(gt(o),"captionTip",void 0),mt(gt(o),"isHideCaption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:!1;var c;o.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var l;return o.isHideCaption=(l=n==null?void 0:n.isHideCaption)!==null&&l!==void 0?l:!1,o.metaAutoWidth=new og(n==null?void 0:n.metaAutoWidth),o}return r}(ie);mt(ia,"Rules",tW);function DR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ua(e){return ua=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ua(e)}function rW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yv(e,t)}function oW(e,t){return t&&(iW(t)==="object"||typeof t=="function")?t:DR(e)}function Yv(e,t){return Yv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yv(e,t)}function iW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cW(e){var t=uW();return function(){var n=ua(e),o;if(t){var i=ua(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oW(this,o)}}var ut=function(e){rW(r,e);var t=cW(r);function r(n){nW(this,r);var o;return o=t.call(this,n),gn(DR(o),"props",void 0),o.props=new ia(n==null?void 0:n.props),o}return r}(ue);gn(ut,"controlName","\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),gn(ut,"controlType","subtable-column"),gn(ut,"controlIcon","subtable-column"),gn(ut,"childrenMaxLength",1),gn(ut,"excludes",[y.SUBTABLE,y.SUBTABLE_COLUMN,y.ROW,y.COL,y.CARD_GROUP,y.DIVIDER,y.TEXT]),gn(ut,"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 FR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ca(e){return ca=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ca(e)}function aW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eh(e,t)}function fW(e,t){return t&&(sW(t)==="object"||typeof t=="function")?t:FR(e)}function eh(e,t){return eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eh(e,t)}function sW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _W(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yW(e){var t=_W();return function(){var n=ca(e),o;if(t){var i=ca(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fW(this,o)}}var jR=function(e){aW(r,e);var t=yW(r);function r(n){lW(this,r);var o;return o=t.call(this,n),NR(FR(o),"props",void 0),o.props=new ia(n==null?void 0:n.props),o}return r}(dn);NR(jR,"controlType","subtable-column");var pW={Designer:ut,Runtime:jR,Property:ia};function dW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function la(e){return la=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},la(e)}function hW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&th(e,t)}function bW(e,t){return t&&(gW(t)==="object"||typeof t=="function")?t:dW(e)}function th(e,t){return th=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},th(e,t)}function gW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OW(e){var t=mW();return function(){var n=la(e),o;if(t){var i=la(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bW(this,o)}}var wW=function(e){hW(r,e);var t=OW(r);function r(n){return vW(this,r),t.call(this,n)}return r}(ie);function MR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $W(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function aa(e){return aa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},aa(e)}function PW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nh(e,t)}function RW(e,t){return t&&(SW(t)==="object"||typeof t=="function")?t:MR(e)}function nh(e,t){return nh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nh(e,t)}function SW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function EW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TW(e){var t=EW();return function(){var n=aa(e),o;if(t){var i=aa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return RW(this,o)}}var or=function(e){PW(r,e);var t=TW(r);function r(n){$W(this,r);var o;return o=t.call(this,n),mn(MR(o),"props",void 0),o.props=new wW(n==null?void 0:n.props),o}return r}(ue);mn(or,"controlName","\u660E\u7EC6\u5B50\u8868\u884C"),mn(or,"controlType","subtable-row"),mn(or,"controlIcon","subtable-row"),mn(or,"childrenMaxLength",1),mn(or,"excludes",[y.SUBTABLE,y.SUBTABLE_COLUMN,y.SUBTABLE_ROW,y.ROW,y.COL,y.CARD_GROUP,y.DIVIDER,y.TEXT]),mn(or,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0}]);function He(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fa(e){return fa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fa(e)}function BW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rh(e,t)}function AW(e,t){return t&&(xW(t)==="object"||typeof t=="function")?t:He(e)}function rh(e,t){return rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rh(e,t)}function xW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DW(e){var t=kW();return function(){var n=fa(e),o;if(t){var i=fa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AW(this,o)}}var LR=function(e){BW(r,e);var t=DW(r);function r(n){IW(this,r);var o;o=t.call(this,n),Xe(He(o),"widthType",void 0),Xe(He(o),"width",void 0),Xe(He(o),"caption",void 0),Xe(He(o),"fieldCode",void 0),Xe(He(o),"fieldType",void 0),Xe(He(o),"fieldName",void 0),Xe(He(o),"datasourceBind",void 0),Xe(He(o),"fixed",void 0),Xe(He(o),"textCleanFormart",void 0),Xe(He(o),"decimalKeepPrecision",void 0),Xe(He(o),"timestampDateType",void 0),Xe(He(o),"departmentDisplayLevel",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:200,o.widthType=(n==null?void 0:n.widthType)||"auto";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var c;o.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:!1;var a;o.fieldCode=(a=n==null?void 0:n.fieldCode)!==null&&a!==void 0?a:"";var l;o.fieldType=(l=n==null?void 0:n.fieldType)!==null&&l!==void 0?l:m.VARCHAR;var f;o.fieldName=(f=n==null?void 0:n.fieldName)!==null&&f!==void 0?f:"",o.datasourceBind=new te(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 b;o.timestampDateType=(b=n==null?void 0:n.timestampDateType)!==null&&b!==void 0?b:Vt.DATE;var O;return o.departmentDisplayLevel=(O=n==null?void 0:n.departmentDisplayLevel)!==null&&O!==void 0?O:1,o}return r}(ie);function CR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function On(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sa(e){return sa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sa(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&&oh(e,t)}function jW(e,t){return t&&(MW(t)==="object"||typeof t=="function")?t:CR(e)}function oh(e,t){return oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oh(e,t)}function MW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CW(e){var t=LW();return function(){var n=sa(e),o;if(t){var i=sa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jW(this,o)}}var ir=function(e){NW(r,e);var t=CW(r);function r(n){FW(this,r);var o;return o=t.call(this,n),On(CR(o),"props",void 0),o.props=new LR(n==null?void 0:n.props),o}return r}(ue);On(ir,"controlName","\u5217\u8868\u5355\u5143\u683C"),On(ir,"controlType","gridtable-column"),On(ir,"controlIcon","gridtable-column"),On(ir,"childrenMaxLength",1),On(ir,"excludes",[y.GRID_TABLE,y.GRID_TABLE_COLUMN,y.ROW,y.COL,y.CARD_GROUP,y.DIVIDER,y.TEXT]),On(ir,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}]);function VR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _a(e){return _a=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_a(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&&ih(e,t)}function HW(e,t){return t&&(qW(t)==="object"||typeof t=="function")?t:VR(e)}function ih(e,t){return ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ih(e,t)}function qW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function UW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WW(e){var t=UW();return function(){var n=_a(e),o;if(t){var i=_a(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return HW(this,o)}}var KW=function(e){zW(r,e);var t=WW(r);function r(n){VW(this,r);var o;return o=t.call(this,n),zR(VR(o),"props",void 0),o.props=new LR(n==null?void 0:n.props),o}return r}(dn);zR(KW,"controlType","gridtable-column");function uh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ya(e){return ya=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ya(e)}function XW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ch(e,t)}function JW(e,t){return t&&(QW(t)==="object"||typeof t=="function")?t:uh(e)}function ch(e,t){return ch=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ch(e,t)}function QW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YW(e){var t=ZW();return function(){var n=ya(e),o;if(t){var i=ya(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JW(this,o)}}var eK=function(e){XW(r,e);var t=YW(r);function r(n){GW(this,r);var o;o=t.call(this,n),HR(uh(o),"childMinWidth",void 0),HR(uh(o),"colGap",void 0);var i;o.childMinWidth=(i=n==null?void 0:n.childMinWidth)!==null&&i!==void 0?i:230;var u;return o.colGap=(u=n==null?void 0:n.colGap)!==null&&u!==void 0?u:24,o}return r}(ie);function qR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function nK(e,t,r){return t&&UR(e.prototype,t),r&&UR(e,r),e}function lh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pa(e){return pa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pa(e)}function rK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ah(e,t)}function oK(e,t){return t&&(iK(t)==="object"||typeof t=="function")?t:qR(e)}function ah(e,t){return ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ah(e,t)}function iK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cK(e){var t=uK();return function(){var n=pa(e),o;if(t){var i=pa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oK(this,o)}}var WR=function(e){rK(r,e);var t=cK(r);function r(n){tK(this,r);var o;return o=t.call(this,n),lh(qR(o),"props",void 0),o.props=new eK(n==null?void 0:n.props),o}return nK(r,null,[{key:"controlName",get:function(){return"\u6362\u884C\u5BB9\u5668"}},{key:"controlType",get:function(){return"grid-layout-container"}},{key:"controlIcon",get:function(){return"icona-huanhangrongqi1"}}]),r}(ue);lh(WR,"excludes",[y.GRID_LAYOUT_CONTAINER,y.CARD_GROUP,y.TAB]),lh(WR,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}]);function KR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aK(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function da(e){return da=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},da(e)}function fK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fh(e,t)}function sK(e,t){return t&&(_K(t)==="object"||typeof t=="function")?t:KR(e)}function fh(e,t){return fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fh(e,t)}function _K(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pK(e){var t=yK();return function(){var n=da(e),o;if(t){var i=da(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sK(this,o)}}var dK=function(e){fK(r,e);var t=pK(r);function r(n){lK(this,r);var o;o=t.call(this,n),aK(KR(o),"mobileShowType",void 0);var i;return o.mobileShowType=(i=n==null?void 0:n.mobileShowType)!==null&&i!==void 0?i:"vertical",o}return r}(ie);function sh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function va(e){return va=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},va(e)}function XR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 vK(e,t){return t&&(hK(t)==="object"||typeof t=="function")?t:sh(e)}function yh(e,t){return yh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yh(e,t)}function hK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JR(e){var t=bK();return function(){var n=va(e),o;if(t){var i=va(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vK(this,o)}}var gK=function(e){XR(r,e);var t=JR(r);function r(n){GR(this,r);var o;return o=t.call(this,n),_h(sh(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),o}return r}(Z),QR=function(e){XR(r,e);var t=JR(r);function r(n){GR(this,r);var o;o=t.call(this,n),_h(sh(o),"caption",void 0);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Oa.controlName,o}return r}(ie);_h(QR,"Rules",gK);function ZR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function OK(e,t,r){return t&&YR(e.prototype,t),r&&YR(e,r),e}function ph(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ha(e){return ha=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ha(e)}function wK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dh(e,t)}function $K(e,t){return t&&(PK(t)==="object"||typeof t=="function")?t:ZR(e)}function dh(e,t){return dh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dh(e,t)}function PK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SK(e){var t=RK();return function(){var n=ha(e),o;if(t){var i=ha(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $K(this,o)}}var ba=function(e){wK(r,e);var t=SK(r);function r(n){mK(this,r);var o;return o=t.call(this,n),ph(ZR(o),"props",void 0),o.props=new QR(n==null?void 0:n.props),o}return OK(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u5355\u5143"}},{key:"controlType",get:function(){return"tab-pane"}},{key:"controlIcon",get:function(){return"tab-pane"}}]),r}(ue);ph(ba,"excludes",[y.TAB]),ph(ba,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}]);function eS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function TK(e,t,r){return t&&tS(e.prototype,t),r&&tS(e,r),e}function ga(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ma(e){return ma=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ma(e)}function IK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 BK(e,t){return t&&(AK(t)==="object"||typeof t=="function")?t:eS(e)}function vh(e,t){return vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vh(e,t)}function AK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kK(e){var t=xK();return function(){var n=ma(e),o;if(t){var i=ma(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BK(this,o)}}var Oa=function(e){IK(r,e);var t=kK(r);function r(n){EK(this,r);var o;o=t.call(this,n),ga(eS(o),"props",void 0),o.props=new dK(n==null?void 0:n.props);var i;return o.children=(i=n==null?void 0:n.children)!==null&&i!==void 0?i:[new ba,new ba],o}return TK(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u9875"}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),r}(ue);ga(Oa,"excludes",[y.TAB]),ga(Oa,"controlEventKeys",["on_change_tab"]),ga(Oa,"setting",[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}]);function DK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wa(e){return wa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wa(e)}function NK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 jK(e,t){return t&&(MK(t)==="object"||typeof t=="function")?t:DK(e)}function hh(e,t){return hh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hh(e,t)}function MK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CK(e){var t=LK();return function(){var n=wa(e),o;if(t){var i=wa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jK(this,o)}}var VK=function(e){NK(r,e);var t=CK(r);function r(n){return FK(this,r),t.call(this,n)}return r}(ie);function nS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function HK(e,t,r){return t&&rS(e.prototype,t),r&&rS(e,r),e}function oS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $a(e){return $a=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$a(e)}function qK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 UK(e,t){return t&&(WK(t)==="object"||typeof t=="function")?t:nS(e)}function bh(e,t){return bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bh(e,t)}function WK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GK(e){var t=KK();return function(){var n=$a(e),o;if(t){var i=$a(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return UK(this,o)}}var XK=function(e){qK(r,e);var t=GK(r);function r(n){zK(this,r);var o;return o=t.call(this,n),oS(nS(o),"props",void 0),o.props=new VK({}),o.children=(n==null?void 0:n.children)||[new yo({props:new _o({span:12})}),new yo({props:new _o({span:12})})],o}return HK(r,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),r}(ue);oS(XK,"excludes",[y.GRID_ROW,y.ROW,y.GRID,y.SUBTABLE,y.TAB,y.TOOLBOX]);function V(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function z(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pa(e){return Pa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pa(e)}function mh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Oh(e,t)}function JK(e,t){return t&&(QK(t)==="object"||typeof t=="function")?t:V(e)}function Oh(e,t){return Oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Oh(e,t)}function QK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wh(e){var t=ZK();return function(){var n=Pa(e),o;if(t){var i=Pa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JK(this,o)}}var iS;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(iS||(iS={}));var YK=function(e){mh(r,e);var t=wh(r);function r(n){gh(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(yn),eG=function(e){mh(r,e);var t=wh(r);function r(n){gh(this,r);var o;if(o=t.call(this,n),z(V(o),"triggerFieldCode",{type:"any"}),z(V(o),"datasourceBind",{type:"any"}),z(V(o),"joinRelation",[{type:"any"}]),console.log("--ListViewControlPropertyRules--"),n.triggerType===2&&n.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")}),n.isShowJoinRelation&&(o.joinRelation=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),Bs.call(V(o),{optionConfig:"datasource",datasourceBind:n.datasourceBind,options:[]}),Array.isArray(o.datasourceBind)&&o.datasourceBind.length>1){var i=o.datasourceBind.find(function(u){return u.type==="object"&&u.fields});i&&(delete i.fields.valueFieldCode,delete i.fields.displayBoList)}return o}return r}(Z),po=function(e){mh(r,e);var t=wh(r);function r(n){gh(this,r);var o,i,u;o=t.call(this,n),z(V(o),"datasourceBind",void 0),z(V(o),"isLoading",void 0),z(V(o),"isShowSubList",void 0),z(V(o),"triggerType",void 0),z(V(o),"triggerFieldCode",void 0),z(V(o),"sublistPage",void 0),z(V(o),"isShowJoinRelation",void 0),z(V(o),"joinRelation",void 0),z(V(o),"showType",void 0),z(V(o),"showFullScreen",void 0),z(V(o),"isFixedHeader",void 0),z(V(o),"selectionType",void 0),z(V(o),"isShowSelection",void 0),z(V(o),"isAllLoaded",void 0),z(V(o),"countType",void 0),z(V(o),"countLimit",void 0),z(V(o),"rowStyleType",void 0),z(V(o),"rowStyleBgColor",void 0),z(V(o),"rowStyleRules",void 0),z(V(o),"rowStyleRulesScript",void 0),o.datasourceBind=new te(n==null?void 0:n.datasourceBind);var c;o.isLoading=(c=n==null?void 0:n.isLoading)!==null&&c!==void 0?c:!1;var a;o.isShowSubList=(a=n==null?void 0:n.isShowSubList)!==null&&a!==void 0?a:!1;var l;o.triggerType=(l=n==null?void 0:n.triggerType)!==null&&l!==void 0?l:1;var f;o.triggerFieldCode=(f=n==null?void 0:n.triggerFieldCode)!==null&&f!==void 0?f:"",o.sublistPage=new RA(n==null?void 0:n.sublistPage);var _;o.isShowJoinRelation=(_=n==null?void 0:n.isShowJoinRelation)!==null&&_!==void 0?_:!1,o.joinRelation=new EA(n==null?void 0:n.joinRelation);var p;o.showType=(p=n==null?void 0:n.showType)!==null&&p!==void 0?p:"stretch";var b;o.showFullScreen=(b=n==null?void 0:n.showFullScreen)!==null&&b!==void 0?b:!1;var O;o.selectionType=(O=n==null?void 0:n.selectionType)!==null&&O!==void 0?O:"multiple";var g;o.isFixedHeader=(g=n==null?void 0:n.isFixedHeader)!==null&&g!==void 0?g:!1;var w;o.isShowSelection=(w=n==null?void 0:n.isShowSelection)!==null&&w!==void 0?w:!1;var v;o.isAllLoaded=(v=n==null?void 0:n.isAllLoaded)!==null&&v!==void 0?v:!0,o.countType=n==null?void 0:n.countType;var $;o.countLimit=($=n==null?void 0:n.countLimit)!==null&&$!==void 0?$:1e5;var P;o.rowStyleType=(P=n==null?void 0:n.rowStyleType)!==null&&P!==void 0?P:"none";var R;o.rowStyleBgColor=(R=n==null?void 0:n.rowStyleBgColor)!==null&&R!==void 0?R:"theme";var S;o.rowStyleRules=(n==null?void 0:n.rowStyleRules)&&Array.isArray(n==null?void 0:n.rowStyleRules)?(S=n==null||(i=n.rowStyleRules)===null||i===void 0?void 0:i.map(function(T){return new VA(T)}))!==null&&S!==void 0?S:[]:[];var j;return o.rowStyleRulesScript=(n==null?void 0:n.rowStyleRulesScript)&&Array.isArray(n==null?void 0:n.rowStyleRulesScript)?(j=n==null||(u=n.rowStyleRulesScript)===null||u===void 0?void 0:u.map(function(T){return new zA(T)}))!==null&&j!==void 0?j:[]:[],o}return r}(ie);z(po,"Rules",eG),z(po,"RuntimeRules",YK);function uS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function nG(e,t,r){return t&&cS(e.prototype,t),r&&cS(e,r),e}function Ra(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sa(e){return Sa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sa(e)}function 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&&$h(e,t)}function oG(e,t){return t&&(iG(t)==="object"||typeof t=="function")?t:uS(e)}function $h(e,t){return $h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$h(e,t)}function iG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cG(e){var t=uG();return function(){var n=Sa(e),o;if(t){var i=Sa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oG(this,o)}}var Ea=function(e){rG(r,e);var t=cG(r);function r(n){tG(this,r);var o;return o=t.call(this,n),Ra(uS(o),"props",void 0),o.props=new po(n==null?void 0:n.props),o}return nG(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u5BB9\u5668"}},{key:"controlType",get:function(){return"list-view"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(ue);Ra(Ea,"excludes",[y.ROW]),Ra(Ea,"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"]),Ra(Ea,"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 lS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function aG(e,t,r){return t&&aS(e.prototype,t),r&&aS(e,r),e}function fG(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ta(e){return Ta=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ta(e)}function sG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ph(e,t)}function _G(e,t){return t&&(yG(t)==="object"||typeof t=="function")?t:lS(e)}function Ph(e,t){return Ph=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ph(e,t)}function yG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dG(e){var t=pG();return function(){var n=Ta(e),o;if(t){var i=Ta(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _G(this,o)}}var vG=function(e){sG(r,e);var t=dG(r);function r(n){lG(this,r);var o;return o=t.call(this,n),fG(lS(o),"props",void 0),o.props=new po(n==null?void 0:n.props),o}return aG(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(dn),hG={Designer:Ea,Runtime:vG,Property:po};function ln(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function an(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ia(e){return Ia=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ia(e)}function sS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 bG(e,t){return t&&(gG(t)==="object"||typeof t=="function")?t:ln(e)}function Rh(e,t){return Rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rh(e,t)}function gG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _S(e){var t=mG();return function(){var n=Ia(e),o;if(t){var i=Ia(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bG(this,o)}}var OG=function(e){sS(r,e);var t=_S(r);function r(n){fS(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(yn),Ba=function(e){sS(r,e);var t=_S(r);function r(n){fS(this,r);var o;o=t.call(this,n),an(ln(o),"save",void 0),an(ln(o),"cancel",void 0),an(ln(o),"saveAs",void 0),an(ln(o),"print",void 0),an(ln(o),"custom",void 0),an(ln(o),"isLoading",void 0),an(ln(o),"datasourceBind",void 0);var i;o.save=new qt((i=n==null?void 0:n.save)!==null&&i!==void 0?i:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var u;o.cancel=new qt((u=n==null?void 0:n.cancel)!==null&&u!==void 0?u:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var c;o.saveAs=new qt((c=n==null?void 0:n.saveAs)!==null&&c!==void 0?c:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1});var a;o.print=new qt((a=n==null?void 0:n.print)!==null&&a!==void 0?a:{content:"\u6253\u5370",type:"print",isShow:!1});var l;o.custom=((l=n==null?void 0:n.custom)!==null&&l!==void 0?l:[]).map(function(_){return new qt(_)});var f;return o.isLoading=(f=n==null?void 0:n.isLoading)!==null&&f!==void 0?f:!1,o.datasourceBind=new te(n==null?void 0:n.datasourceBind),o}return r}(ie);an(Ba,"RuntimeRules",OG);function yS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $G(e,t,r){return t&&pS(e.prototype,t),r&&pS(e,r),e}function dS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Aa(e){return Aa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Aa(e)}function PG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sh(e,t)}function RG(e,t){return t&&(SG(t)==="object"||typeof t=="function")?t:yS(e)}function Sh(e,t){return Sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sh(e,t)}function SG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function EG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TG(e){var t=EG();return function(){var n=Aa(e),o;if(t){var i=Aa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return RG(this,o)}}var vS=function(e){PG(r,e);var t=TG(r);function r(n){wG(this,r);var o;return o=t.call(this,n),dS(yS(o),"props",void 0),o.props=new Ba(n==null?void 0:n.props),o}return $G(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(ue);dS(vS,"excludes",[]);function hS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function BG(e,t,r){return t&&bS(e.prototype,t),r&&bS(e,r),e}function AG(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xa(e){return xa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xa(e)}function xG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Eh(e,t)}function kG(e,t){return t&&(DG(t)==="object"||typeof t=="function")?t:hS(e)}function Eh(e,t){return Eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eh(e,t)}function DG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NG(e){var t=FG();return function(){var n=xa(e),o;if(t){var i=xa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kG(this,o)}}var jG=function(e){xG(r,e);var t=NG(r);function r(n){IG(this,r);var o;return o=t.call(this,n),AG(hS(o),"props",void 0),o.props=new Ba(n==null?void 0:n.props),o}return BG(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(dn),MG={Designer:vS,Runtime:jG,Property:Ba};function ka(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Th(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Da(e){return Da=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Da(e)}function CG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ih(e,t)}function VG(e,t){return t&&(zG(t)==="object"||typeof t=="function")?t:ka(e)}function Ih(e,t){return Ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ih(e,t)}function zG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qG(e){var t=HG();return function(){var n=Da(e),o;if(t){var i=Da(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VG(this,o)}}var UG=function(e){CG(r,e);var t=qG(r);function r(n){LG(this,r);var o;o=t.call(this,n),Th(ka(o),"position",void 0),Th(ka(o),"opacity",void 0),Th(ka(o),"align",void 0);var i;o.position=(i=n==null?void 0:n.position)!==null&&i!==void 0?i:"bottom";var u;o.opacity=(u=n==null?void 0:n.opacity)!==null&&u!==void 0?u:!0;var c;return o.align=(c=n==null?void 0:n.align)!==null&&c!==void 0?c:"right",o}return r}(ie);function gS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function KG(e,t,r){return t&&mS(e.prototype,t),r&&mS(e,r),e}function Bh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fa(e){return Fa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fa(e)}function GG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ah(e,t)}function XG(e,t){return t&&(JG(t)==="object"||typeof t=="function")?t:gS(e)}function Ah(e,t){return Ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ah(e,t)}function JG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZG(e){var t=QG();return function(){var n=Fa(e),o;if(t){var i=Fa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XG(this,o)}}var OS=function(e){GG(r,e);var t=ZG(r);function r(n){WG(this,r);var o;o=t.call(this,n),Bh(gS(o),"props",void 0);var i;return o.props=new UG((i=n==null?void 0:n.props)!==null&&i!==void 0?i:{}),o}return KG(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE\u64CD\u4F5C\u680F"}},{key:"controlType",get:function(){return"action-bar"}},{key:"controlIcon",get:function(){return"action-bar"}}]),r}(ue);Bh(OS,"excludes",[]),Bh(OS,"setting",[{key:"action-buttons",visible:!0},{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0}]);function x(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Na(e){return Na=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Na(e)}function kh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 YG(e,t){return t&&(eX(t)==="object"||typeof t=="function")?t:x(e)}function Dh(e,t){return Dh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dh(e,t)}function eX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fh(e){var t=tX();return function(){var n=Na(e),o;if(t){var i=Na(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YG(this,o)}}var nX=function(e){kh(r,e);var t=Fh(r);function r(n){xh(this,r);var o;return o=t.call(this,n),I(x(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),I(x(o),"limitRows",[{type:"number",required:!0,message:d.getMessage("isNotNumber")},{type:"number",min:0,message:d.getMessage("limitRowsCannotBeLessThan0")}]),I(x(o),"formKey",{type:"string",required:!1,message:d.getMessage("pleaseEnterForm")}),I(x(o),"maxHeight",{type:"number",required:!0,message:d.getMessage("pleaseEnterMaxHeight")}),I(x(o),"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),I(x(o),"mobileRowCaption",{type:"string",required:!1,message:d.getMessage("pleaseEnterRowCaption")}),n.openType==="modal"&&(o.formKey.required=!0),n.isShowCaptionTip&&(o.captionTip.required=!0),n.mobileShowType==="tile"&&(o.mobileRowCaption.required=!0),o}return r}(Z),rX=function(e){kh(r,e);var t=Fh(r);function r(n){xh(this,r);var o;return o=t.call(this,n),n.isHide||o.push({type:"array",required:n.limitRows>0,message:d.getMessage("runtimeRequired",{caption:n.caption})},{type:"array",validator:function(u,c,a){c.length<n.limitRows&&a(d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})),a()},message:d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})}),o}return r}(yn),Nh=function(e){kh(r,e);var t=Fh(r);function r(n,o){xh(this,r);var i;i=t.call(this,n,o,r.mode),I(x(i),"caption",void 0),I(x(i),"labelPosition",void 0),I(x(i),"isHideCaption",void 0),I(x(i),"isShowCaptionTip",void 0),I(x(i),"captionTip",void 0),I(x(i),"defaultState",void 0),I(x(i),"limitRows",void 0),I(x(i),"maxRows",void 0),I(x(i),"defaultRows",void 0),I(x(i),"datasourceBind",void 0),I(x(i),"printMode",void 0),I(x(i),"openType",void 0),I(x(i),"formKey",void 0),I(x(i),"useCustomHeight",void 0),I(x(i),"maxHeight",void 0),I(x(i),"canAdd",void 0),I(x(i),"canDelete",void 0),I(x(i),"canCheck",void 0),I(x(i),"canEdit",void 0),I(x(i),"canImport",void 0),I(x(i),"canExport",void 0),I(x(i),"canClear",void 0),I(x(i),"isPaste",void 0),I(x(i),"mobileShowType",void 0),I(x(i),"mobileDefaultNum",void 0),I(x(i),"dataStorageDoc",void 0),I(x(i),"serverPagination",void 0),I(x(i),"fixedColumn",void 0),I(x(i),"mobileRowCaption",void 0),I(x(i),"mobileIsTile",void 0);var u;i.caption=(u=o==null?void 0:o.caption)!==null&&u!==void 0?u:Ch.controlName;var c;i.isHideCaption=(c=o==null?void 0:o.isHideCaption)!==null&&c!==void 0?c:!1;var a;i.defaultState=(a=o==null?void 0:o.defaultState)!==null&&a!==void 0?a:"default";var l;i.labelPosition=(l=o==null?void 0:o.labelPosition)!==null&&l!==void 0?l:"top";var f;i.openType=(f=o==null?void 0:o.openType)!==null&&f!==void 0?f:"default";var _;i.formKey=(_=o==null?void 0:o.formKey)!==null&&_!==void 0?_:"";var p;i.useCustomHeight=(p=o==null?void 0:o.useCustomHeight)!==null&&p!==void 0?p:!1;var b;i.maxHeight=(b=o==null?void 0:o.maxHeight)!==null&&b!==void 0?b:$D;var O;i.printMode=(O=o==null?void 0:o.printMode)!==null&&O!==void 0?O:"row";var g;i.limitRows=(g=o==null?void 0:o.limitRows)!==null&&g!==void 0?g:1;var w;i.maxRows=(w=o==null?void 0:o.maxRows)!==null&&w!==void 0?w:null;var v;i.defaultRows=(v=o==null?void 0:o.defaultRows)!==null&&v!==void 0?v:1,i.datasourceBind=new te(o==null?void 0:o.datasourceBind);var $;i.canAdd=($=o==null?void 0:o.canAdd)!==null&&$!==void 0?$:!0;var P;i.canDelete=(P=o==null?void 0:o.canDelete)!==null&&P!==void 0?P:!0;var R;i.canCheck=(R=o==null?void 0:o.canCheck)!==null&&R!==void 0?R:!1;var S;i.canEdit=(S=o==null?void 0:o.canEdit)!==null&&S!==void 0?S:!1;var j;i.canImport=(j=o==null?void 0:o.canImport)!==null&&j!==void 0?j:!1;var T;i.canExport=(T=o==null?void 0:o.canExport)!==null&&T!==void 0?T:!1;var G;i.canClear=(G=o==null?void 0:o.canClear)!==null&&G!==void 0?G:!0;var B;i.serverPagination=(B=o==null?void 0:o.serverPagination)!==null&&B!==void 0?B:!1;var wt;i.isShowCaptionTip=(wt=o==null?void 0:o.isShowCaptionTip)!==null&&wt!==void 0?wt:!1;var Ro;i.captionTip=(Ro=o==null?void 0:o.captionTip)!==null&&Ro!==void 0?Ro:"";var Ur;i.mobileShowType=(Ur=o==null?void 0:o.mobileShowType)!==null&&Ur!==void 0?Ur:"list";var Bn;i.mobileDefaultNum=(Bn=o==null?void 0:o.mobileDefaultNum)!==null&&Bn!==void 0?Bn:10;var $t;i.dataStorageDoc=($t=o==null?void 0:o.dataStorageDoc)!==null&&$t!==void 0?$t:new OA;var Eb;i.fixedColumn=(Eb=o==null?void 0:o.fixedColumn)!==null&&Eb!==void 0?Eb:[];var Tb;i.mobileRowCaption=(Tb=o==null?void 0:o.mobileRowCaption)!==null&&Tb!==void 0?Tb:"\u660E\u7EC6";var Ib;i.mobileIsTile=(Ib=o==null?void 0:o.mobileIsTile)!==null&&Ib!==void 0?Ib:!1;var Bb;i.isPaste=(Bb=o==null?void 0:o.isPaste)!==null&&Bb!==void 0?Bb:!1;var Ab;i.pageSize=(Ab=o==null?void 0:o.pageSize)!==null&&Ab!==void 0?Ab:10;var xb;return i.pageSizeOptions=(xb=o==null?void 0:o.pageSizeOptions)!==null&&xb!==void 0?xb:[10,20,50,100],i}return r}(zs);I(Nh,"Rules",nX),I(Nh,"RuntimeRules",rX);function jh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function iX(e,t,r){return t&&wS(e.prototype,t),r&&wS(e,r),e}function Mh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ja(e){return ja=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ja(e)}function uX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lh(e,t)}function cX(e,t){return t&&(lX(t)==="object"||typeof t=="function")?t:jh(e)}function Lh(e,t){return Lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lh(e,t)}function lX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fX(e){var t=aX();return function(){var n=ja(e),o;if(t){var i=ja(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cX(this,o)}}var Ch=function(e){uX(r,e);var t=fX(r);function r(n){oX(this,r);var o,i,u;return o=t.call(this,n),Mh(jh(o),"props",void 0),o.props=new Nh(jh(o),n==null?void 0:n.props),(n==null||(i=n.props)===null||i===void 0?void 0:i.headers)===void 0&&(o.props.headers=[new ut,new ut,new ut]),(n==null||(u=n.props)===null||u===void 0?void 0:u.footers)===void 0&&(o.props.footers=[]),o}return iX(r,[{key:"addColumn",value:function(o,i){var u=o!==void 0&&typeof o!="number"?o:new ut,c=typeof o=="number"?o:i;return c===void 0?this.props.headers.push(u):this.props.headers.splice(c,0,u),u}}],[{key:"controlName",get:function(){return"\u660E\u7EC6\u5B50\u8868"}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),r}(Us);Mh(Ch,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),Mh(Ch,"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]},{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:"list-pager",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}]);function ur(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ma(e){return Ma=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ma(e)}function _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&&Vh(e,t)}function yX(e,t){return t&&(pX(t)==="object"||typeof t=="function")?t:ur(e)}function Vh(e,t){return Vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vh(e,t)}function pX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vX(e){var t=dX();return function(){var n=Ma(e),o;if(t){var i=Ma(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yX(this,o)}}var hX=function(e){_X(r,e);var t=vX(r);function r(n,o){sX(this,r);var i;i=t.call(this,n,o),vo(ur(i),"isFixedHeader",void 0),vo(ur(i),"selectionType",void 0),vo(ur(i),"isShowToolbar",void 0),vo(ur(i),"isShowSelection",void 0),vo(ur(i),"isShowCustomColumns",void 0);var u;i.isFixedHeader=(u=o==null?void 0:o.isFixedHeader)!==null&&u!==void 0?u:!1,i.selectionType=o==null?void 0:o.selectionType;var c;i.isShowToolbar=(c=o==null?void 0:o.isShowToolbar)!==null&&c!==void 0?c:!0;var a;i.isShowSelection=(a=o==null?void 0:o.isShowSelection)!==null&&a!==void 0?a:!1;var l;i.isShowCustomColumns=(l=o==null?void 0:o.isShowCustomColumns)!==null&&l!==void 0?l:!0;var f;return i.pageSizeOptions=(f=o==null?void 0:o.pageSizeOptions)!==null&&f!==void 0?f:[10,20,50,100,500],i}return r}(zs);function bX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $S(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gX(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function La(e){return La=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},La(e)}function PS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zh(e,t)}function mX(e,t){return t&&(OX(t)==="object"||typeof t=="function")?t:bX(e)}function zh(e,t){return zh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zh(e,t)}function OX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RS(e){var t=wX();return function(){var n=La(e),o;if(t){var i=La(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mX(this,o)}}var $X=function(e){PS(r,e);var t=RS(r);function r(n){$S(this,r);var o;return o=t.call(this,n),o.caption.required=!1,o}return r}(st),Hh=function(e){PS(r,e);var t=RS(r);function r(n){$S(this,r);var o,i,u;o=t.call(this,n);var c;o.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:"left";var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:cr.controlName;var l;o.width=(l=n==null?void 0:n.width)!==null&&l!==void 0?l:60;var f;o.autoWidth.minWidth=(f=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.minWidth)!==null&&f!==void 0?f:60;var _;o.autoWidth.flex=(_=n==null||(u=n.autoWidth)===null||u===void 0?void 0:u.flex)!==null&&_!==void 0?_:.4;var p;return o.widthType=(p=n==null?void 0:n.widthType)!==null&&p!==void 0?p:"px",o}return r}(Q);gX(Hh,"Rules",$X);function SS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ho(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ca(e){return Ca=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ca(e)}function RX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qh(e,t)}function SX(e,t){return t&&(EX(t)==="object"||typeof t=="function")?t:SS(e)}function qh(e,t){return qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qh(e,t)}function EX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IX(e){var t=TX();return function(){var n=Ca(e),o;if(t){var i=Ca(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SX(this,o)}}var cr=function(e){RX(r,e);var t=IX(r);function r(n){PX(this,r);var o;return o=t.call(this,n),ho(SS(o),"props",void 0),o.props=new Hh(n==null?void 0:n.props),o}return r}(le);ho(cr,"controlType","order-column"),ho(cr,"controlName","\u5E8F\u53F7"),ho(cr,"controlIcon","order-column"),ho(cr,"setting",[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}]);function ES(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Uh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Va(e){return Va=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Va(e)}function AX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wh(e,t)}function xX(e,t){return t&&(kX(t)==="object"||typeof t=="function")?t:ES(e)}function Wh(e,t){return Wh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wh(e,t)}function kX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FX(e){var t=DX();return function(){var n=Va(e),o;if(t){var i=Va(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xX(this,o)}}var TS=function(e){AX(r,e);var t=FX(r);function r(n){BX(this,r);var o;return o=t.call(this,n),Uh(ES(o),"props",void 0),o.props=new Hh(n==null?void 0:n.props),o}return r}(ae);Uh(TS,"controlType","order-column"),Uh(TS,"controlFieldType",m.DECIMAL);function Kh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function za(e){return za=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},za(e)}function jX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 MX(e,t){return t&&(LX(t)==="object"||typeof t=="function")?t:Kh(e)}function Gh(e,t){return Gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gh(e,t)}function LX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VX(e){var t=CX();return function(){var n=za(e),o;if(t){var i=za(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return MX(this,o)}}var BS=function(e){jX(r,e);var t=VX(r);function r(n){NX(this,r);var o,i;o=t.call(this,n),IS(Kh(o),"showType",void 0),IS(Kh(o),"limit",void 0);var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:"right",o.widthType="auto";var c;o.autoWidth.minWidth=(c=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.minWidth)!==null&&c!==void 0?c:84;var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:ar.controlName;var l;o.showType=(l=n==null?void 0:n.showType)!==null&&l!==void 0?l:"icon";var f;return o.limit=(f=n==null?void 0:n.limit)!==null&&f!==void 0?f:3,o}return r}(Q);function Ha(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AS(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(l){r(l);return}c.done?t(a):Promise.resolve(a).then(n,o)}function zX(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){AS(i,n,o,u,c,"next",a)}function c(a){AS(i,n,o,u,c,"throw",a)}u(void 0)})}}function HX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qX(e,t,r){return t&&xS(e.prototype,t),r&&xS(e,r),e}function wn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lr(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?lr=Reflect.get:lr=function(o,i,u){var c=JX(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},lr(e,t,r||e)}function fn(e){return fn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fn(e)}function UX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xh(e,t)}function WX(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){wn(e,o,r[o])})}return e}function KX(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function GX(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):KX(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function XX(e,t){return t&&(QX(t)==="object"||typeof t=="function")?t:Ha(e)}function Xh(e,t){return Xh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xh(e,t)}function JX(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=fn(e),e!==null););return e}function QX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YX(e){var t=ZX();return function(){var n=fn(e),o;if(t){var i=fn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XX(this,o)}}function eJ(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(f){l=[6,f],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var ar=function(e){UX(r,e);var t=YX(r);function r(n){HX(this,r);var o;return o=t.call(this,n),wn(Ha(o),"props",void 0),wn(Ha(o),"children",void 0),o.props=new BS(n==null?void 0:n.props),Pt(Ha(o),"children",n==null?void 0:n.children,void 0,"Designer"),o}return qX(r,[{key:"toDataBindModel",value:function(){var o=lr(fn(r.prototype),"toDataBindModel",this).call(this);return this.children.map(function(i){if(i.type===lu.controlType){var u=i;o.props[u.props.command]=u.props}}),o}},{key:"toSchema",value:function(){var o=lr(fn(r.prototype),"toSchema",this).call(this);return GX(WX({},o),{children:this.children.map(function(i){return i.toSchema()})})}},{key:"validate",value:function(o,i){var u=this,c=this,a=function(){return lr(fn(r.prototype),"validate",u)};return zX(function(){return eJ(this,function(l){switch(l.label){case 0:return[4,a().call(c,o,i)];case 1:return l.sent(),[4,Promise.all(c.children.map(function(f){return f.validate(o,i)}))];case 2:return l.sent(),[2,!0]}})})()}}]),r}(le);wn(ar,"controlType","operation-column"),wn(ar,"controlName","\u64CD\u4F5C"),wn(ar,"controlIcon","operation-column"),wn(ar,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}]);function qa(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ua(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wa(e){return Wa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wa(e)}function nJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jh(e,t)}function rJ(e,t){return t&&(oJ(t)==="object"||typeof t=="function")?t:qa(e)}function Jh(e,t){return Jh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jh(e,t)}function oJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uJ(e){var t=iJ();return function(){var n=Wa(e),o;if(t){var i=Wa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rJ(this,o)}}var kS=function(e){nJ(r,e);var t=uJ(r);function r(n){tJ(this,r);var o;return o=t.call(this,n),Ua(qa(o),"props",void 0),Ua(qa(o),"children",void 0),o.props=new BS(n==null?void 0:n.props),Pt(qa(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(ae);Ua(kS,"controlType","operation-column"),Ua(kS,"controlFieldType",m.FILE);function bo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DS(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(l){r(l);return}c.done?t(a):Promise.resolve(a).then(n,o)}function cJ(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){DS(i,n,o,u,c,"next",a)}function c(a){DS(i,n,o,u,c,"throw",a)}u(void 0)})}}function lJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function aJ(e,t,r){return t&&FS(e.prototype,t),r&&FS(e,r),e}function Ka(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function go(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?go=Reflect.get:go=function(o,i,u){var c=dJ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},go(e,t,r||e)}function $n(e){return $n=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$n(e)}function fJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qh(e,t)}function sJ(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Ka(e,o,r[o])})}return e}function _J(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function yJ(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):_J(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function pJ(e,t){return t&&(vJ(t)==="object"||typeof t=="function")?t:bo(e)}function Qh(e,t){return Qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qh(e,t)}function dJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=$n(e),e!==null););return e}function vJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bJ(e){var t=hJ();return function(){var n=$n(e),o;if(t){var i=$n(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pJ(this,o)}}function gJ(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(f){l=[6,f],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var mJ=function(e){fJ(r,e);var t=bJ(r);function r(n){lJ(this,r);var o,i;return o=t.call(this,n),Ka(bo(o),"props",void 0),Ka(bo(o),"children",void 0),o.props=new hX(bo(o),n==null?void 0:n.props),Pt(bo(o),"children",n==null?void 0:n.children,void 0,"Designer"),(n==null?void 0:n.props.headers)===void 0&&(o.props.headers=[new cr,new ar]),(n==null||(i=n.props)===null||i===void 0?void 0:i.footers)===void 0&&(o.props.footers=[]),o}return aJ(r,[{key:"toSchema",value:function(){var o=go($n(r.prototype),"toSchema",this).call(this),i=this.children.map(function(u){return u.toSchema()});return yJ(sJ({},o),{children:i})}},{key:"validate",value:function(o,i){var u=this,c=this,a=function(){return go($n(r.prototype),"validate",u)};return cJ(function(){return gJ(this,function(l){switch(l.label){case 0:return[4,a().call(c,o,i)];case 1:return l.sent(),[4,Promise.all(c.children.map(function(f){return f.validate(o,i)}))];case 2:return l.sent(),[2,!0]}})})()}}],[{key:"controlName",get:function(){return"\u8868\u683C"}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),r}(Us);Ka(mJ,"setting",[{key:"list-fixed-header",visible:!0}]);function sn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ga(e){return Ga=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ga(e)}function jS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zh(e,t)}function OJ(e,t){return t&&(wJ(t)==="object"||typeof t=="function")?t:sn(e)}function Zh(e,t){return Zh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zh(e,t)}function wJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $J(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MS(e){var t=$J();return function(){var n=Ga(e),o;if(t){var i=Ga(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return OJ(this,o)}}var PJ=function(e){jS(r,e);var t=MS(r);function r(n){NS(this,r);var o;return o=t.call(this,n),Jt.call(sn(o),n),o}return r}(Mg),Yh=function(e){jS(r,e);var t=MS(r);function r(n){NS(this,r);var o;o=t.call(this,n),Pn(sn(o),"optionConfig",void 0),Pn(sn(o),"datasourceBind",void 0),Pn(sn(o),"showLinkOperation",void 0),Pn(sn(o),"linkOperationOption",void 0),Pn(sn(o),"options",void 0),Pn(sn(o),"lineEllipsis",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:sr.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new te(n==null?void 0:n.datasourceBind);var c;o.options=St((c=n==null?void 0:n.options)!==null&&c!==void 0?c:[{}]);var a;o.showLinkOperation=(a=n==null?void 0:n.showLinkOperation)!==null&&a!==void 0?a:!1,o.linkOperationOption=new Rt(n==null?void 0:n.linkOperationOption);var l;return o.lineEllipsis=(l=n==null?void 0:n.lineEllipsis)!==null&&l!==void 0?l:1,o}return r}(Q);Pn(Yh,"Rules",PJ);function LS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xa(e){return Xa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xa(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&&e0(e,t)}function EJ(e,t){return t&&(TJ(t)==="object"||typeof t=="function")?t:LS(e)}function e0(e,t){return e0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},e0(e,t)}function TJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BJ(e){var t=IJ();return function(){var n=Xa(e),o;if(t){var i=Xa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return EJ(this,o)}}var sr=function(e){SJ(r,e);var t=BJ(r);function r(n){RJ(this,r);var o;return o=t.call(this,n),fr(LS(o),"props",void 0),o.props=new Yh(n==null?void 0:n.props),o}return r}(le);fr(sr,"controlType","varchar-column"),fr(sr,"controlName","\u77ED\u6587\u672C"),fr(sr,"controlIcon","varchar-column"),fr(sr,"controlFieldType",m.VARCHAR),fr(sr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function CS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ja(e){return Ja=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ja(e)}function xJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n0(e,t)}function kJ(e,t){return t&&(DJ(t)==="object"||typeof t=="function")?t:CS(e)}function n0(e,t){return n0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},n0(e,t)}function DJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NJ(e){var t=FJ();return function(){var n=Ja(e),o;if(t){var i=Ja(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kJ(this,o)}}var VS=function(e){xJ(r,e);var t=NJ(r);function r(n){AJ(this,r);var o;return o=t.call(this,n),t0(CS(o),"props",void 0),o.props=new Yh(n==null?void 0:n.props),o}return r}(ae);t0(VS,"controlType","varchar-column"),t0(VS,"controlFieldType",m.VARCHAR);function _r(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qa(e){return Qa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qa(e)}function HS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r0(e,t)}function jJ(e,t){return t&&(MJ(t)==="object"||typeof t=="function")?t:_r(e)}function r0(e,t){return r0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},r0(e,t)}function MJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qS(e){var t=LJ();return function(){var n=Qa(e),o;if(t){var i=Qa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jJ(this,o)}}var CJ=function(e){HS(r,e);var t=qS(r);function r(n){zS(this,r);var o;return o=t.call(this,n),Jt.call(_r(o),n),o}return r}(st),o0=function(e){HS(r,e);var t=qS(r);function r(n){zS(this,r);var o;o=t.call(this,n),mo(_r(o),"escapeHTML",void 0),mo(_r(o),"showLinkOperation",void 0),mo(_r(o),"linkOperationOption",void 0),mo(_r(o),"lineEllipsis",void 0);var i;o.escapeHTML=(i=n==null?void 0:n.escapeHTML)!==null&&i!==void 0?i:!0;var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:dr.controlName;var c;o.lineEllipsis=(c=n==null?void 0:n.lineEllipsis)!==null&&c!==void 0?c:1;var a;return o.showLinkOperation=(a=n==null?void 0:n.showLinkOperation)!==null&&a!==void 0?a:!1,o.linkOperationOption=new Rt(n==null?void 0:n.linkOperationOption),o}return r}(Q);mo(o0,"Rules",CJ);function US(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zJ(e,t,r){return t&&WS(e.prototype,t),r&&WS(e,r),e}function yr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Za(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Za=Reflect.get:Za=function(o,i,u){var c=UJ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Za(e,t,r||e)}function pr(e){return pr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pr(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&&i0(e,t)}function qJ(e,t){return t&&(WJ(t)==="object"||typeof t=="function")?t:US(e)}function i0(e,t){return i0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},i0(e,t)}function UJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=pr(e),e!==null););return e}function WJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GJ(e){var t=KJ();return function(){var n=pr(e),o;if(t){var i=pr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qJ(this,o)}}var dr=function(e){HJ(r,e);var t=GJ(r);function r(n){VJ(this,r);var o;return o=t.call(this,n),yr(US(o),"props",void 0),o.props=new o0(n==null?void 0:n.props),o}return zJ(r,[{key:"toDataBindModel",value:function(o){var i=Za(pr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.escapeHTML;i.props.escapeHTML=u}return i}}]),r}(le);yr(dr,"controlType","text-column"),yr(dr,"controlName","\u957F\u6587\u672C"),yr(dr,"controlIcon","text-column"),yr(dr,"controlFieldType",m.TEXT),yr(dr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function KS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ya(e){return Ya=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ya(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&&c0(e,t)}function QJ(e,t){return t&&(ZJ(t)==="object"||typeof t=="function")?t:KS(e)}function c0(e,t){return c0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},c0(e,t)}function ZJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eQ(e){var t=YJ();return function(){var n=Ya(e),o;if(t){var i=Ya(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QJ(this,o)}}var GS=function(e){JJ(r,e);var t=eQ(r);function r(n){XJ(this,r);var o;return o=t.call(this,n),u0(KS(o),"props",void 0),o.props=new o0(n==null?void 0:n.props),o}return r}(ae);u0(GS,"controlType","text-column"),u0(GS,"controlFieldType",m.TEXT);function Ot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ct(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ef(e){return ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ef(e)}function JS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l0(e,t)}function tQ(e,t){return t&&(nQ(t)==="object"||typeof t=="function")?t:Ot(e)}function l0(e,t){return l0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},l0(e,t)}function nQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QS(e){var t=rQ();return function(){var n=ef(e),o;if(t){var i=ef(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tQ(this,o)}}var oQ=function(e){JS(r,e);var t=QS(r);function r(n){XS(this,r);var o;return o=t.call(this,n),Jt.call(Ot(o),n),o}return r}(st),a0=function(e){JS(r,e);var t=QS(r);function r(n){XS(this,r);var o;o=t.call(this,n),Ct(Ot(o),"optionConfig",void 0),Ct(Ot(o),"datasourceBind",void 0),Ct(Ot(o),"showLinkOperation",void 0),Ct(Ot(o),"linkOperationOption",void 0),Ct(Ot(o),"options",void 0),Ct(Ot(o),"precision",void 0),Ct(Ot(o),"micrometer",void 0),Ct(Ot(o),"percentageFormat",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:br.controlName;var u;o.precision=(u=n==null?void 0:n.precision)!==null&&u!==void 0?u:0;var c;o.micrometer=(c=n==null?void 0:n.micrometer)!==null&&c!==void 0?c:!1;var a;o.percentageFormat=(a=n==null?void 0:n.percentageFormat)!==null&&a!==void 0?a:!1;var l;o.optionConfig=(l=n==null?void 0:n.optionConfig)!==null&&l!==void 0?l:"none",o.datasourceBind=new te(n==null?void 0:n.datasourceBind);var f;o.options=St((f=n==null?void 0:n.options)!==null&&f!==void 0?f:[{}]);var _;return o.showLinkOperation=(_=n==null?void 0:n.showLinkOperation)!==null&&_!==void 0?_:!1,o.linkOperationOption=new Rt(n==null?void 0:n.linkOperationOption),o}return r}(Q);Ct(a0,"Rules",oQ);function ZS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uQ(e,t,r){return t&&YS(e.prototype,t),r&&YS(e,r),e}function vr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?tf=Reflect.get:tf=function(o,i,u){var c=aQ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},tf(e,t,r||e)}function hr(e){return hr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hr(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&&f0(e,t)}function lQ(e,t){return t&&(fQ(t)==="object"||typeof t=="function")?t:ZS(e)}function f0(e,t){return f0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},f0(e,t)}function aQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=hr(e),e!==null););return e}function fQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _Q(e){var t=sQ();return function(){var n=hr(e),o;if(t){var i=hr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lQ(this,o)}}var br=function(e){cQ(r,e);var t=_Q(r);function r(n){iQ(this,r);var o;return o=t.call(this,n),vr(ZS(o),"props",void 0),o.props=new a0(n==null?void 0:n.props),o}return uQ(r,[{key:"toDataBindModel",value:function(o){var i=tf(hr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props,c=u.precision,a=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=a}return i}}]),r}(le);vr(br,"controlType","decimal-column"),vr(br,"controlName","\u6570\u503C"),vr(br,"controlIcon","decimal-column"),vr(br,"controlFieldType",m.DECIMAL),vr(br,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[s.MICROMETER,s.PRECISION,s.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function eE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nf(e){return nf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nf(e)}function pQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_0(e,t)}function dQ(e,t){return t&&(vQ(t)==="object"||typeof t=="function")?t:eE(e)}function _0(e,t){return _0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_0(e,t)}function vQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bQ(e){var t=hQ();return function(){var n=nf(e),o;if(t){var i=nf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dQ(this,o)}}var tE=function(e){pQ(r,e);var t=bQ(r);function r(n){yQ(this,r);var o;return o=t.call(this,n),s0(eE(o),"props",void 0),o.props=new a0(n==null?void 0:n.props),o}return r}(ae);s0(tE,"controlType","decimal-column"),s0(tE,"controlFieldType",m.DECIMAL);function Oo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function of(e){return of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},of(e)}function rE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y0(e,t)}function gQ(e,t){return t&&(mQ(t)==="object"||typeof t=="function")?t:Oo(e)}function y0(e,t){return y0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},y0(e,t)}function mQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oE(e){var t=OQ();return function(){var n=of(e),o;if(t){var i=of(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gQ(this,o)}}var wQ=function(e){rE(r,e);var t=oE(r);function r(n){nE(this,r);var o;return o=t.call(this,n),Jt.call(Oo(o),n),o}return r}(st),p0=function(e){rE(r,e);var t=oE(r);function r(n){nE(this,r);var o;o=t.call(this,n),rf(Oo(o),"dateType",void 0),rf(Oo(o),"showLinkOperation",void 0),rf(Oo(o),"linkOperationOption",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:Vt.DATE;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Rt(n==null?void 0:n.linkOperationOption);var c;return o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Or.controlName,o}return r}(Q);rf(p0,"Rules",wQ);function iE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $Q(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function PQ(e,t,r){return t&&uE(e.prototype,t),r&&uE(e,r),e}function gr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?uf=Reflect.get:uf=function(o,i,u){var c=EQ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},uf(e,t,r||e)}function mr(e){return mr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mr(e)}function RQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d0(e,t)}function SQ(e,t){return t&&(TQ(t)==="object"||typeof t=="function")?t:iE(e)}function d0(e,t){return d0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},d0(e,t)}function EQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=mr(e),e!==null););return e}function TQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BQ(e){var t=IQ();return function(){var n=mr(e),o;if(t){var i=mr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SQ(this,o)}}var Or=function(e){RQ(r,e);var t=BQ(r);function r(n){$Q(this,r);var o;return o=t.call(this,n),gr(iE(o),"props",void 0),o.props=new p0(n==null?void 0:n.props),o}return PQ(r,[{key:"toDataBindModel",value:function(o){var i=uf(mr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(le);gr(Or,"controlType","timescope-column"),gr(Or,"controlName","\u65E5\u671F\u533A\u95F4"),gr(Or,"controlIcon","timescope-column"),gr(Or,"controlFieldType",m.TIMESCOPE),gr(Or,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}]);function cE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cf(e){return cf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cf(e)}function xQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h0(e,t)}function kQ(e,t){return t&&(DQ(t)==="object"||typeof t=="function")?t:cE(e)}function h0(e,t){return h0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},h0(e,t)}function DQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NQ(e){var t=FQ();return function(){var n=cf(e),o;if(t){var i=cf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kQ(this,o)}}var lE=function(e){xQ(r,e);var t=NQ(r);function r(n){AQ(this,r);var o;return o=t.call(this,n),v0(cE(o),"props",void 0),o.props=new p0(n==null?void 0:n.props),o}return r}(ae);v0(lE,"controlType","timescope-column"),v0(lE,"controlFieldType",m.TIMESCOPE);function wo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function af(e){return af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},af(e)}function fE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b0(e,t)}function jQ(e,t){return t&&(MQ(t)==="object"||typeof t=="function")?t:wo(e)}function b0(e,t){return b0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},b0(e,t)}function MQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sE(e){var t=LQ();return function(){var n=af(e),o;if(t){var i=af(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jQ(this,o)}}var CQ=function(e){fE(r,e);var t=sE(r);function r(n){aE(this,r);var o;return o=t.call(this,n),Jt.call(wo(o),n),o}return r}(st),g0=function(e){fE(r,e);var t=sE(r);function r(n){aE(this,r);var o;o=t.call(this,n),lf(wo(o),"dateType",void 0),lf(wo(o),"showLinkOperation",void 0),lf(wo(o),"linkOperationOption",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:Vt.DATE;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Rt(n==null?void 0:n.linkOperationOption);var c;return o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Pr.controlName,o}return r}(Q);lf(g0,"Rules",CQ);function _E(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zQ(e,t,r){return t&&yE(e.prototype,t),r&&yE(e,r),e}function wr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ff(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ff=Reflect.get:ff=function(o,i,u){var c=UQ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},ff(e,t,r||e)}function $r(e){return $r=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$r(e)}function HQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m0(e,t)}function qQ(e,t){return t&&(WQ(t)==="object"||typeof t=="function")?t:_E(e)}function m0(e,t){return m0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},m0(e,t)}function UQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=$r(e),e!==null););return e}function WQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GQ(e){var t=KQ();return function(){var n=$r(e),o;if(t){var i=$r(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qQ(this,o)}}var Pr=function(e){HQ(r,e);var t=GQ(r);function r(n){VQ(this,r);var o;return o=t.call(this,n),wr(_E(o),"props",void 0),o.props=new g0(n==null?void 0:n.props),o}return zQ(r,[{key:"toDataBindModel",value:function(o){var i=ff($r(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(le);wr(Pr,"controlType","timestamp-column"),wr(Pr,"controlName","\u65E5\u671F"),wr(Pr,"controlIcon","timestamp-column"),wr(Pr,"controlFieldType",m.TIMESTAMP),wr(Pr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}]);function pE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function O0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sf(e){return sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sf(e)}function 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&&w0(e,t)}function QQ(e,t){return t&&(ZQ(t)==="object"||typeof t=="function")?t:pE(e)}function w0(e,t){return w0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},w0(e,t)}function ZQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eZ(e){var t=YQ();return function(){var n=sf(e),o;if(t){var i=sf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QQ(this,o)}}var dE=function(e){JQ(r,e);var t=eZ(r);function r(n){XQ(this,r);var o;return o=t.call(this,n),O0(pE(o),"props",void 0),o.props=new g0(n==null?void 0:n.props),o}return r}(ae);O0(dE,"controlType","timestamp-column"),O0(dE,"controlFieldType",m.TIMESTAMP);function Rn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _f(e){return _f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_f(e)}function hE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$0(e,t)}function tZ(e,t){return t&&(nZ(t)==="object"||typeof t=="function")?t:Rn(e)}function $0(e,t){return $0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$0(e,t)}function nZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bE(e){var t=rZ();return function(){var n=_f(e),o;if(t){var i=_f(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tZ(this,o)}}var oZ=function(e){hE(r,e);var t=bE(r);function r(n){vE(this,r);var o;return o=t.call(this,n),Jt.call(Rn(o),n),o}return r}(Mg),P0=function(e){hE(r,e);var t=bE(r);function r(n){vE(this,r);var o;o=t.call(this,n),Rr(Rn(o),"optionConfig",void 0),Rr(Rn(o),"datasourceBind",void 0),Rr(Rn(o),"showLinkOperation",void 0),Rr(Rn(o),"linkOperationOption",void 0),Rr(Rn(o),"options",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Er.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new te(n==null?void 0:n.datasourceBind);var c;o.showLinkOperation=(c=n==null?void 0:n.showLinkOperation)!==null&&c!==void 0?c:!1,o.linkOperationOption=new Rt(n==null?void 0:n.linkOperationOption);var a;return o.options=St((a=n==null?void 0:n.options)!==null&&a!==void 0?a:[{}]),o}return r}(Q);Rr(P0,"Rules",oZ);function gE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yf(e){return yf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yf(e)}function uZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&R0(e,t)}function cZ(e,t){return t&&(lZ(t)==="object"||typeof t=="function")?t:gE(e)}function R0(e,t){return R0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},R0(e,t)}function lZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fZ(e){var t=aZ();return function(){var n=yf(e),o;if(t){var i=yf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cZ(this,o)}}var Er=function(e){uZ(r,e);var t=fZ(r);function r(n){iZ(this,r);var o;return o=t.call(this,n),Sr(gE(o),"props",void 0),o.props=new P0(n==null?void 0:n.props),o}return r}(le);Sr(Er,"controlType","array-column"),Sr(Er,"controlName","\u6570\u7EC4"),Sr(Er,"controlIcon","array-column"),Sr(Er,"controlFieldType",m.ARRAY),Sr(Er,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}]);function mE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function S0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pf(e){return pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pf(e)}function _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&&E0(e,t)}function yZ(e,t){return t&&(pZ(t)==="object"||typeof t=="function")?t:mE(e)}function E0(e,t){return E0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},E0(e,t)}function pZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vZ(e){var t=dZ();return function(){var n=pf(e),o;if(t){var i=pf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yZ(this,o)}}var OE=function(e){_Z(r,e);var t=vZ(r);function r(n){sZ(this,r);var o;return o=t.call(this,n),S0(mE(o),"props",void 0),o.props=new P0(n==null?void 0:n.props),o}return r}(ae);S0(OE,"controlType","array-column"),S0(OE,"controlFieldType",m.ARRAY);function wE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bZ(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function df(e){return df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},df(e)}function gZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&T0(e,t)}function mZ(e,t){return t&&(OZ(t)==="object"||typeof t=="function")?t:wE(e)}function T0(e,t){return T0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},T0(e,t)}function OZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $Z(e){var t=wZ();return function(){var n=df(e),o;if(t){var i=df(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mZ(this,o)}}var $E=function(e){gZ(r,e);var t=$Z(r);function r(n){hZ(this,r);var o;o=t.call(this,n),bZ(wE(o),"displayLevel",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Br.controlName;var u;return o.displayLevel=(u=n==null?void 0:n.displayLevel)!==null&&u!==void 0?u:1,o}return r}(Q);function PE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function RZ(e,t,r){return t&&RE(e.prototype,t),r&&RE(e,r),e}function Tr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?vf=Reflect.get:vf=function(o,i,u){var c=TZ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},vf(e,t,r||e)}function Ir(e){return Ir=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ir(e)}function SZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&I0(e,t)}function EZ(e,t){return t&&(IZ(t)==="object"||typeof t=="function")?t:PE(e)}function I0(e,t){return I0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},I0(e,t)}function TZ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ir(e),e!==null););return e}function IZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AZ(e){var t=BZ();return function(){var n=Ir(e),o;if(t){var i=Ir(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return EZ(this,o)}}var Br=function(e){SZ(r,e);var t=AZ(r);function r(n){PZ(this,r);var o;return o=t.call(this,n),Tr(PE(o),"props",void 0),o.props=new $E(n==null?void 0:n.props),o}return RZ(r,[{key:"toDataBindModel",value:function(o){var i=vf(Ir(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.displayLevel;i.props.displayLevel=u}return i}}]),r}(le);Tr(Br,"controlType","department-column"),Tr(Br,"controlName","\u90E8\u95E8"),Tr(Br,"controlIcon","department-column"),Tr(Br,"controlFieldType",m.DEPARTMENTS),Tr(Br,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}]);function SE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function B0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hf(e){return hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hf(e)}function kZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&A0(e,t)}function DZ(e,t){return t&&(FZ(t)==="object"||typeof t=="function")?t:SE(e)}function A0(e,t){return A0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},A0(e,t)}function FZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jZ(e){var t=NZ();return function(){var n=hf(e),o;if(t){var i=hf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DZ(this,o)}}var EE=function(e){kZ(r,e);var t=jZ(r);function r(n){xZ(this,r);var o;return o=t.call(this,n),B0(SE(o),"props",void 0),o.props=new $E(n==null?void 0:n.props),o}return r}(ae);B0(EE,"controlType","department-column"),B0(EE,"controlFieldType",m.DEPARTMENTS);function bf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gf(e){return gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gf(e)}function IE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k0(e,t)}function MZ(e,t){return t&&(LZ(t)==="object"||typeof t=="function")?t:bf(e)}function k0(e,t){return k0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},k0(e,t)}function LZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BE(e){var t=CZ();return function(){var n=gf(e),o;if(t){var i=gf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return MZ(this,o)}}var VZ=function(e){IE(r,e);var t=BE(r);function r(n){TE(this,r);var o;return o=t.call(this,n),Jt.call(bf(o),n),o}return r}(st),D0=function(e){IE(r,e);var t=BE(r);function r(n){TE(this,r);var o;o=t.call(this,n),x0(bf(o),"showLinkOperation",void 0),x0(bf(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:xr.controlName;var u;return o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Rt(n==null?void 0:n.linkOperationOption),o}return r}(Q);x0(D0,"Rules",VZ);function AE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ar(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mf(e){return mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mf(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&&F0(e,t)}function qZ(e,t){return t&&(UZ(t)==="object"||typeof t=="function")?t:AE(e)}function F0(e,t){return F0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},F0(e,t)}function UZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KZ(e){var t=WZ();return function(){var n=mf(e),o;if(t){var i=mf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qZ(this,o)}}var xr=function(e){HZ(r,e);var t=KZ(r);function r(n){zZ(this,r);var o;return o=t.call(this,n),Ar(AE(o),"props",void 0),o.props=new D0(n==null?void 0:n.props),o}return r}(le);Ar(xr,"controlType","auto-number-column"),Ar(xr,"controlName","\u81EA\u52A8\u7F16\u53F7"),Ar(xr,"controlIcon","auto-number-column"),Ar(xr,"controlFieldType",m.AUTO_NUMBER),Ar(xr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}]);function xE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function N0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Of(e){return Of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Of(e)}function XZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&j0(e,t)}function JZ(e,t){return t&&(QZ(t)==="object"||typeof t=="function")?t:xE(e)}function j0(e,t){return j0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},j0(e,t)}function QZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YZ(e){var t=ZZ();return function(){var n=Of(e),o;if(t){var i=Of(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JZ(this,o)}}var kE=function(e){XZ(r,e);var t=YZ(r);function r(n){GZ(this,r);var o;return o=t.call(this,n),N0(xE(o),"props",void 0),o.props=new D0(n==null?void 0:n.props),o}return r}(ae);N0(kE,"controlType","auto-number-column"),N0(kE,"controlFieldType",m.AUTO_NUMBER);function eY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wf(e){return wf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wf(e)}function nY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&M0(e,t)}function rY(e,t){return t&&(oY(t)==="object"||typeof t=="function")?t:eY(e)}function M0(e,t){return M0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},M0(e,t)}function oY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uY(e){var t=iY();return function(){var n=wf(e),o;if(t){var i=wf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rY(this,o)}}var DE=function(e){nY(r,e);var t=uY(r);function r(n){tY(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Dr.controlName,o}return r}(Q);function FE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $f(e){return $f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$f(e)}function 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&&L0(e,t)}function aY(e,t){return t&&(fY(t)==="object"||typeof t=="function")?t:FE(e)}function L0(e,t){return L0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},L0(e,t)}function fY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _Y(e){var t=sY();return function(){var n=$f(e),o;if(t){var i=$f(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aY(this,o)}}var Dr=function(e){lY(r,e);var t=_Y(r);function r(n){cY(this,r);var o;return o=t.call(this,n),kr(FE(o),"props",void 0),o.props=new DE(n==null?void 0:n.props),o}return r}(le);kr(Dr,"controlType","file-column"),kr(Dr,"controlName","\u9644\u4EF6"),kr(Dr,"controlIcon","file-column"),kr(Dr,"controlFieldType",m.FILE),kr(Dr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function NE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pf(e){return Pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pf(e)}function pY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&V0(e,t)}function dY(e,t){return t&&(vY(t)==="object"||typeof t=="function")?t:NE(e)}function V0(e,t){return V0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},V0(e,t)}function vY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bY(e){var t=hY();return function(){var n=Pf(e),o;if(t){var i=Pf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dY(this,o)}}var jE=function(e){pY(r,e);var t=bY(r);function r(n){yY(this,r);var o;return o=t.call(this,n),C0(NE(o),"props",void 0),o.props=new DE(n==null?void 0:n.props),o}return r}(ae);C0(jE,"controlType","file-column"),C0(jE,"controlFieldType",m.FILE);function gY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rf(e){return Rf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rf(e)}function OY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&z0(e,t)}function wY(e,t){return t&&($Y(t)==="object"||typeof t=="function")?t:gY(e)}function z0(e,t){return z0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},z0(e,t)}function $Y(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RY(e){var t=PY();return function(){var n=Rf(e),o;if(t){var i=Rf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wY(this,o)}}var ME=function(e){OY(r,e);var t=RY(r);function r(n){mY(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Nr.controlName,o}return r}(Q);function LE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sf(e){return Sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sf(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&&H0(e,t)}function TY(e,t){return t&&(IY(t)==="object"||typeof t=="function")?t:LE(e)}function H0(e,t){return H0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},H0(e,t)}function IY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AY(e){var t=BY();return function(){var n=Sf(e),o;if(t){var i=Sf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TY(this,o)}}var Nr=function(e){EY(r,e);var t=AY(r);function r(n){SY(this,r);var o;return o=t.call(this,n),Fr(LE(o),"props",void 0),o.props=new ME(n==null?void 0:n.props),o}return r}(le);Fr(Nr,"controlType","image-column"),Fr(Nr,"controlName","\u56FE\u7247"),Fr(Nr,"controlIcon","image-column"),Fr(Nr,"controlFieldType",m.IMAGE),Fr(Nr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function CE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ef(e){return Ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ef(e)}function kY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&U0(e,t)}function DY(e,t){return t&&(FY(t)==="object"||typeof t=="function")?t:CE(e)}function U0(e,t){return U0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},U0(e,t)}function FY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jY(e){var t=NY();return function(){var n=Ef(e),o;if(t){var i=Ef(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DY(this,o)}}var VE=function(e){kY(r,e);var t=jY(r);function r(n){xY(this,r);var o;return o=t.call(this,n),q0(CE(o),"props",void 0),o.props=new ME(n==null?void 0:n.props),o}return r}(ae);q0(VE,"controlType","image-column"),q0(VE,"controlFieldType",m.IMAGE);function MY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tf(e){return Tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tf(e)}function CY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&W0(e,t)}function VY(e,t){return t&&(zY(t)==="object"||typeof t=="function")?t:MY(e)}function W0(e,t){return W0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},W0(e,t)}function zY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qY(e){var t=HY();return function(){var n=Tf(e),o;if(t){var i=Tf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VY(this,o)}}var zE=function(e){CY(r,e);var t=qY(r);function r(n){LY(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Mr.controlName,o}return r}(Q);function HE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function If(e){return If=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},If(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&&K0(e,t)}function KY(e,t){return t&&(GY(t)==="object"||typeof t=="function")?t:HE(e)}function K0(e,t){return K0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},K0(e,t)}function GY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JY(e){var t=XY();return function(){var n=If(e),o;if(t){var i=If(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KY(this,o)}}var Mr=function(e){WY(r,e);var t=JY(r);function r(n){UY(this,r);var o;return o=t.call(this,n),jr(HE(o),"props",void 0),o.props=new zE(n==null?void 0:n.props),o}return r}(le);jr(Mr,"controlType","people-column"),jr(Mr,"controlName","\u4EBA\u5458"),jr(Mr,"controlIcon","people-column"),jr(Mr,"controlFieldType",m.EMPLOYEES),jr(Mr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function qE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function G0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bf(e){return Bf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bf(e)}function 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&&X0(e,t)}function YY(e,t){return t&&(eee(t)==="object"||typeof t=="function")?t:qE(e)}function X0(e,t){return X0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},X0(e,t)}function eee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nee(e){var t=tee();return function(){var n=Bf(e),o;if(t){var i=Bf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YY(this,o)}}var UE=function(e){ZY(r,e);var t=nee(r);function r(n){QY(this,r);var o;return o=t.call(this,n),G0(qE(o),"props",void 0),o.props=new zE(n==null?void 0:n.props),o}return r}(ae);G0(UE,"controlType","people-column"),G0(UE,"controlFieldType",m.EMPLOYEES);function Af(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xf(e){return xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xf(e)}function KE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Q0(e,t)}function ree(e,t){return t&&(oee(t)==="object"||typeof t=="function")?t:Af(e)}function Q0(e,t){return Q0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Q0(e,t)}function oee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GE(e){var t=iee();return function(){var n=xf(e),o;if(t){var i=xf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ree(this,o)}}var uee=function(e){KE(r,e);var t=GE(r);function r(n){WE(this,r);var o;return o=t.call(this,n),Jt.call(Af(o),n),o}return r}(st),Z0=function(e){KE(r,e);var t=GE(r);function r(n){WE(this,r);var o;o=t.call(this,n),J0(Af(o),"showLinkOperation",void 0),J0(Af(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Cr.controlName;var u;return o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Rt(n==null?void 0:n.linkOperationOption),o}return r}(Q);J0(Z0,"Rules",uee);function XE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kf(e){return kf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kf(e)}function lee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 aee(e,t){return t&&(fee(t)==="object"||typeof t=="function")?t:XE(e)}function Y0(e,t){return Y0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Y0(e,t)}function fee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function see(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _ee(e){var t=see();return function(){var n=kf(e),o;if(t){var i=kf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aee(this,o)}}var Cr=function(e){lee(r,e);var t=_ee(r);function r(n){cee(this,r);var o;return o=t.call(this,n),Lr(XE(o),"props",void 0),o.props=new Z0(n==null?void 0:n.props),o}return r}(le);Lr(Cr,"controlType","location-column"),Lr(Cr,"controlName","\u5730\u5740"),Lr(Cr,"controlIcon","location-column"),Lr(Cr,"controlFieldType",m.ADDRESS),Lr(Cr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}]);function JE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Df(e){return Df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Df(e)}function pee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tb(e,t)}function dee(e,t){return t&&(vee(t)==="object"||typeof t=="function")?t:JE(e)}function tb(e,t){return tb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tb(e,t)}function vee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bee(e){var t=hee();return function(){var n=Df(e),o;if(t){var i=Df(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dee(this,o)}}var QE=function(e){pee(r,e);var t=bee(r);function r(n){yee(this,r);var o;return o=t.call(this,n),eb(JE(o),"props",void 0),o.props=new Z0(n==null?void 0:n.props),o}return r}(ae);eb(QE,"controlType","location-column"),eb(QE,"controlFieldType",m.ADDRESS);function Ff(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jf(e){return jf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jf(e)}function YE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nb(e,t)}function gee(e,t){return t&&(mee(t)==="object"||typeof t=="function")?t:Ff(e)}function nb(e,t){return nb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nb(e,t)}function mee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Oee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eT(e){var t=Oee();return function(){var n=jf(e),o;if(t){var i=jf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gee(this,o)}}var wee=function(e){YE(r,e);var t=eT(r);function r(n){ZE(this,r);var o;return o=t.call(this,n),Nf(Ff(o),"sortFieldCode",{type:"string",message:d.getMessage("pleaseSelectSortFieldCode")}),n.sort===!0&&(o.sortFieldCode.required=!0),o}return r}(st),rb=function(e){YE(r,e);var t=eT(r);function r(n){ZE(this,r);var o;o=t.call(this,n),Nf(Ff(o),"fieldCodeList",void 0),Nf(Ff(o),"sortFieldCode",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:En.controlName;var u;o.fieldCodeList=(u=n==null?void 0:n.fieldCodeList)!==null&&u!==void 0?u:[];var c;return o.sortFieldCode=(c=n==null?void 0:n.sortFieldCode)!==null&&c!==void 0?c:"",o}return r}(Q);Nf(rb,"Rules",wee);function Vr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $ee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Pee(e,t,r){return t&&tT(e.prototype,t),r&&tT(e,r),e}function ct(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $o(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?$o=Reflect.get:$o=function(o,i,u){var c=Aee(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},$o(e,t,r||e)}function Sn(e){return Sn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sn(e)}function Ree(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ob(e,t)}function See(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Eee(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){ct(e,o,r[o])})}return e}function Tee(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Iee(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Tee(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Bee(e,t){return t&&(xee(t)==="object"||typeof t=="function")?t:Vr(e)}function ob(e,t){return ob=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ob(e,t)}function Aee(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Sn(e),e!==null););return e}function xee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dee(e){var t=kee();return function(){var n=Sn(e),o;if(t){var i=Sn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Bee(this,o)}}var Fee=1,En=function(t){Ree(n,t);var r=Dee(n);function n(o){$ee(this,n);var i;i=r.call(this,o),ct(Vr(i),"excludes",void 0),ct(Vr(i),"childrenMaxLength",void 0),ct(Vr(i),"props",void 0),ct(Vr(i),"children",void 0);var u=See(this,n)?this.constructor:void 0,c=u.excludes,a=u.childrenMaxLength;return i.props=new rb(o==null?void 0:o.props),Pt(Vr(i),"children",o==null?void 0:o.children,void 0,"Designer"),i.excludes=zt(c),i.childrenMaxLength=a,i}return Pee(n,[{key:"judgeJoinChildren",value:function(i){var u=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i);return u&&this.childrenMaxLength>this.children.length}},{key:"toDataBindModel",value:function(i){var u=$o(Sn(n.prototype),"toDataBindModel",this).call(this,i);if(u){var c=this.props.fieldCodeList;u.props.fieldCodeList=c}return u}},{key:"toSchema",value:function(){var i=$o(Sn(n.prototype),"toSchema",this).call(this);return Iee(Eee({},i),{children:this.children.map(function(u){return u.toSchema()})})}}]),n}(le);ct(En,"controlType","custom-column"),ct(En,"controlName","\u81EA\u5B9A\u4E49"),ct(En,"controlIcon","custom-column"),ct(En,"excludes",[]),ct(En,"childrenMaxLength",Fee),ct(En,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0}]);function Mf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ib(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lf(e){return Lf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lf(e)}function jee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ub(e,t)}function Mee(e,t){return t&&(Lee(t)==="object"||typeof t=="function")?t:Mf(e)}function ub(e,t){return ub=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ub(e,t)}function Lee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Cee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vee(e){var t=Cee();return function(){var n=Lf(e),o;if(t){var i=Lf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Mee(this,o)}}var zee=function(e){jee(r,e);var t=Vee(r);function r(n){Nee(this,r);var o;return o=t.call(this,n),ib(Mf(o),"props",void 0),ib(Mf(o),"children",void 0),o.props=new rb(n==null?void 0:n.props),Pt(Mf(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(ae);ib(zee,"controlType","custom-column");function nT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qee(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cf(e){return Cf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cf(e)}function Uee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cb(e,t)}function Wee(e,t){return t&&(Kee(t)==="object"||typeof t=="function")?t:nT(e)}function cb(e,t){return cb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cb(e,t)}function Kee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Gee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xee(e){var t=Gee();return function(){var n=Cf(e),o;if(t){var i=Cf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Wee(this,o)}}var rT=function(e){Uee(r,e);var t=Xee(r);function r(n){Hee(this,r);var o;o=t.call(this,n),qee(nT(o),"datasourceBind",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Tn.controlName;var u;return o.datasourceBind=new Ao((u=n==null?void 0:n.datasourceBind)!==null&&u!==void 0?u:{attributes:Tn.controlCustomAttributes}),o}return r}(Q);function oT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Qee(e,t,r){return t&&iT(e.prototype,t),r&&iT(e,r),e}function zr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vf(e){return Vf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vf(e)}function Zee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lb(e,t)}function Yee(e,t){return t&&(ete(t)==="object"||typeof t=="function")?t:oT(e)}function lb(e,t){return lb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lb(e,t)}function ete(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nte(e){var t=tte();return function(){var n=Vf(e),o;if(t){var i=Vf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Yee(this,o)}}var Tn=function(e){Zee(r,e);var t=nte(r);function r(n){Jee(this,r);var o;return o=t.call(this,n),zr(oT(o),"props",void 0),o.props=new rT(n==null?void 0:n.props),o}return Qee(r,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(le);zr(Tn,"controlType","employee-column"),zr(Tn,"controlName","\u4EBA\u5458"),zr(Tn,"controlIcon","employee-column"),zr(Tn,"controlFieldType",m.EMPLOYEES),zr(Tn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function uT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ab(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zf(e){return zf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zf(e)}function ote(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fb(e,t)}function ite(e,t){return t&&(ute(t)==="object"||typeof t=="function")?t:uT(e)}function fb(e,t){return fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fb(e,t)}function ute(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lte(e){var t=cte();return function(){var n=zf(e),o;if(t){var i=zf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ite(this,o)}}var cT=function(e){ote(r,e);var t=lte(r);function r(n){rte(this,r);var o;return o=t.call(this,n),ab(uT(o),"props",void 0),o.props=new rT(n==null?void 0:n.props),o}return r}(ae);ab(cT,"controlType","employee-column"),ab(cT,"controlFieldType",m.EMPLOYEES);function Hf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ate(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qf(e){return qf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qf(e)}function fte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_b(e,t)}function ste(e,t){return t&&(_te(t)==="object"||typeof t=="function")?t:Hf(e)}function _b(e,t){return _b=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_b(e,t)}function _te(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pte(e){var t=yte();return function(){var n=qf(e),o;if(t){var i=qf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ste(this,o)}}var lT=function(e){fte(r,e);var t=pte(r);function r(n){ate(this,r);var o;o=t.call(this,n),sb(Hf(o),"lineEllipsis",void 0),sb(Hf(o),"showLinkOperation",void 0),sb(Hf(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Hr.controlName;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Rt(n==null?void 0:n.linkOperationOption);var c;return o.lineEllipsis=(c=n==null?void 0:n.lineEllipsis)!==null&&c!==void 0?c:1,o}return r}(Q);function yb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function In(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Uf(e){return Uf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uf(e)}function vte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pb(e,t)}function hte(e,t){return t&&(bte(t)==="object"||typeof t=="function")?t:yb(e)}function pb(e,t){return pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pb(e,t)}function bte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mte(e){var t=gte();return function(){var n=Uf(e),o;if(t){var i=Uf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hte(this,o)}}var Hr=function(e){vte(r,e);var t=mte(r);function r(n){dte(this,r);var o;return o=t.call(this,n),In(yb(o),"props",void 0),In(yb(o),"children",void 0),o.props=new lT(n==null?void 0:n.props),o}return r}(le);In(Hr,"controlType","approval-status-column"),In(Hr,"controlName","\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),In(Hr,"controlIcon","approval-status-column"),In(Hr,"excludes",[]),In(Hr,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0}]);function db(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ote(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wf(e){return Wf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wf(e)}function wte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hb(e,t)}function $te(e,t){return t&&(Pte(t)==="object"||typeof t=="function")?t:db(e)}function hb(e,t){return hb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hb(e,t)}function Pte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Rte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ste(e){var t=Rte();return function(){var n=Wf(e),o;if(t){var i=Wf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $te(this,o)}}var Ete=function(e){wte(r,e);var t=Ste(r);function r(n){Ote(this,r);var o;return o=t.call(this,n),vb(db(o),"props",void 0),vb(db(o),"children",void 0),o.props=new lT(n==null?void 0:n.props),o}return r}(ae);vb(Ete,"controlType","approval-status-column");function lt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function at(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kf(e){return Kf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kf(e)}function fT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bb(e,t)}function Tte(e,t){return t&&(Ite(t)==="object"||typeof t=="function")?t:lt(e)}function bb(e,t){return bb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bb(e,t)}function Ite(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sT(e){var t=Bte();return function(){var n=Kf(e),o;if(t){var i=Kf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Tte(this,o)}}var Ate=function(e){fT(r,e);var t=sT(r);function r(n){aT(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(yn),gb=function(e){fT(r,e);var t=sT(r);function r(n){aT(this,r);var o;o=t.call(this,n),at(lt(o),"search",void 0),at(lt(o),"cancel",void 0),at(lt(o),"searchType",void 0),at(lt(o),"labelPosition",void 0),at(lt(o),"viewType",void 0),at(lt(o),"isLoading",void 0),at(lt(o),"custom",void 0),at(lt(o),"queryTypeMap",void 0),at(lt(o),"childMinWidth",void 0),at(lt(o),"colGap",void 0);var i;o.searchType=(i=n==null?void 0:n.searchType)!==null&&i!==void 0?i:"model";var u;o.labelPosition=(u=n==null?void 0:n.labelPosition)!==null&&u!==void 0?u:"top";var c;o.viewType=(c=n==null?void 0:n.viewType)!==null&&c!==void 0?c:"mini";var a;o.search=new qt((a=n==null?void 0:n.search)!==null&&a!==void 0?a:{content:"\u67E5\u8BE2",isShow:!0});var l;o.cancel=new qt((l=n==null?void 0:n.cancel)!==null&&l!==void 0?l:{content:"\u91CD\u7F6E",isShow:!0});var f;o.isLoading=(f=n==null?void 0:n.isLoading)!==null&&f!==void 0?f:!1;var _;o.custom=((_=n==null?void 0:n.custom)!==null&&_!==void 0?_:[]).map(function(g){return new qt(g)});var p;o.queryTypeMap=(p=n==null?void 0:n.queryTypeMap)!==null&&p!==void 0?p:[];var b;o.childMinWidth=(b=n==null?void 0:n.childMinWidth)!==null&&b!==void 0?b:230;var O;return o.colGap=(O=n==null?void 0:n.colGap)!==null&&O!==void 0?O:24,o}return r}(t_);at(gb,"RuntimeRules",Ate);function _T(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gf(e){return Gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gf(e)}function kte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ob(e,t)}function Dte(e,t){return t&&(Fte(t)==="object"||typeof t=="function")?t:_T(e)}function Ob(e,t){return Ob=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ob(e,t)}function Fte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jte(e){var t=Nte();return function(){var n=Gf(e),o;if(t){var i=Gf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Dte(this,o)}}var yT=function(e){kte(r,e);var t=jte(r);function r(n){xte(this,r);var o;return o=t.call(this,n),mb(_T(o),"props",void 0),o.props=new gb(n==null?void 0:n.props),o}return r}(Rk);mb(yT,"controlType","simple-search"),mb(yT,"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 wb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xf(e){return Xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xf(e)}function Lte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pb(e,t)}function Cte(e,t){return t&&(Vte(t)==="object"||typeof t=="function")?t:wb(e)}function Pb(e,t){return Pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pb(e,t)}function Vte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hte(e){var t=zte();return function(){var n=Xf(e),o;if(t){var i=Xf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Cte(this,o)}}var qte=function(e){Lte(r,e);var t=Hte(r);function r(n){Mte(this,r);var o;o=t.call(this,n),$b(wb(o),"props",void 0),$b(wb(o),"children",void 0),o.props=new gb(n==null?void 0:n.props);var i;return o.children=(i=n==null?void 0:n.children)!==null&&i!==void 0?i:[],o}return r}(xk);$b(qte,"controlType","simple-search");const Ute=(e,t)=>{const r=Array.isArray(e),n=r?e:[e];rne(t==null?void 0:t.events),Qte(n),Zte(n);const o=Jte(n),i=Yte(o,t);let u=Dn(oe(i,c=>Xte(c,t)));return r?u:u[0]},Wte=[y.DIVIDER,y.TEXT,y.TITLE,y.LINK,y.BUTTON,"list-btn-export-list","list-btn-export-record"],Kte=["subtable","grid-table"],Gte=["simple-search"];function Xte(e,t){var o,i,u,c,a,l;let r=e;if(r.controlType||(r.is_layout_control===!0?r.controlType="layout":Wte.includes(r.type)?r.controlType="base":r.controlType="form",Kte.includes(r.type)&&(r.controlType="list"),Gte.includes(r.type)&&(r.controlType="search-view")),delete r.is_layout_control,e.props.lable_position&&(e.props.labelPosition=e.props.lable_position),e.props.select_mode&&(e.props.optionsFormat=e.props.select_mode),e.props.value&&(e.props.defaultValue=e.props.value),Oe((o=e==null?void 0:e.props)==null?void 0:o.caption)&&(r.props.caption=e.props.caption.zh),Oe((i=e==null?void 0:e.props)==null?void 0:i.placeholder)&&(r.props.placeholder=e.props.placeholder.zh),Oe((u=e==null?void 0:e.props)==null?void 0:u.placeholder_end)&&(r.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(r.type="department",e.props.value.length&&(r.props.default_value=e.props.value),r.props.showType=e.props.show_tree?"tree":"default",r.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(r.type="auto-number",r.props.defaultValue=e.props.value),e.type==="file"&&(r.type="attachment",r.props.attachmentAccept=(c=e.attachment_format)==null?void 0:c.split(","),r.props.showType=e.props.show_type==="title"?"default":"table"),e.type==="image"&&(r.props.attachmentAccept=(a=e.attachment_format)==null?void 0:a.split(",")),e.type==="date-pick"&&(r.type="date-picker"),e.type==="rich-text"&&(Oe(e.props.value)?r.props.defaultValue=e.props.value.zh:r.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(Oe(e.props.value)?r.props.content=e.props.value.zh:r.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(r.props.showState="image"),e.type==="user-search"&&(r.type="employee",r.props.defaultValue=e.props.value),e.type==="address"&&(r.props.addressType=e.props.address_type_value),r.type==="subtable"){const f=r.props.entry_type||r.props.entryType;r.props.openType=f==="subpage"?"modal":"default",((l=r.children[0])==null?void 0:l.type)==="subtable-row"&&r.props.headers&&(r.props.headers=r.props.headers.map((_,p)=>{const b=new pW.Designer;b.props.caption=Oe(_.field_name)?_.field_name.zh:_.field_name;const O=b.toSchema();O.id=_.header_id;const g=r.children[0].children[p].children[0];return g&&(O.children=[g]),O}),r.children=[])}if(r.type==="subtable-cell"&&(r.type="subtable-column"),["radio","checkbox","select","select-multiple"].includes(e.type)&&(e.props.options.map(f=>{f.label=Oe(f.text)?f.text.zh:f.text,f.id=f.id||f.opt_id||f.optId||f.data_id}),r=e),e.type==="grid-row"){const f=24/r.children.length;r.children=r.children.map(_=>{const p=new vR.Designer;p.props.span=f;const b=p.toSchema();return b.children.push(_),b})}if(e.type==="grid-layout-row"&&(r.type="row"),e.type==="grid-layout-col"&&(r.type="col"),e.type==="group-panel"&&(r.type="card-group",r.props.collapse=r.props.flod==="no"?"none":r.props.flod),e.type==="tabs-pane"&&(r.type="tab-pane"),e.type==="calc"){const f=r==null?void 0:r.children[0],_=r==null?void 0:r.children[1],p={};f&&(pT(r,t),p.result=f.props.data_bind,r.id=f.id,r.props=f.props,r.props.script_src=f.props.script_src,r.props.script_echo=f.props.script_echo,r.props.precision=f.props.precision,r.props.micrometer=f.props.is_show_money,r.props.showUpperCase=f.props.is_show_chn),_&&(p.unit=_.props.data_bind,r.props.default_value={unit:_.props.value}),r.props.dataBind=p,delete r.children}if(e.type==="amount-currency"){r.type="amount",r.controlType="form";const f=r==null?void 0:r.children[0],_=r==null?void 0:r.children[1],p={},b={};f&&(pT(r,t),r.id=f.id,p.amount=f.props.data_bind,r.props.range_min=kn(f.props.range_min),r.props.range_max=kn(f.props.range_max),b.amount=kn(f.props.value),r.props.required=f.props.required,r.props.is_hide=f.props.is_hide,r.props.default_state=f.props.default_state,r.props.caption=Oe(f.props.caption)?f.props.caption.zh:f.props.caption,r.props.is_hide_caption=f.props.is_hide_caption,r.props.showUpperCase=f.props.is_show_chn),_&&(p.currency=_.props.data_bind,b.currency=_.props.value,r.props.datasourceBind=_.props.datasource_bind,r.props.options=_.props.options.map(O=>({label:O.text,value:O.value}))),r.props.dataBind=p,r.props.defaultValue=b,delete r.children}if(e.type==="date-range"){r.controlType="form";const f=r==null?void 0:r.children[0],_=r==null?void 0:r.children[1];r.props.placeholderStart=Oe(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,r.props.caption=Oe(e.props.caption)?e.props.caption.zh:e.props.caption;const p={};f&&(p.min=f.props.data_bind),_&&(p.max=_.props.data_bind),r.props.dataBind=p,delete r.children}return e.type==="score"&&(r.props.defaultValue=r.props.value*1),["input","textarea"].includes(e.type)&&(r.props.defaultValue=Oe(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(r.props.range_min=kn(e.props.range_min),r.props.range_max=kn(e.props.range_max),r.props.defaultValue=kn(e.props.value)),e.type==="list-page-btn-custom-button"&&(e.type="button"),e.type==="button"&&e.props.button_type==="dashed"&&(r.props.buttonType="default"),one(r,t==null?void 0:t.control_events),r}function pT(e,t){if(!t)return;const{displayBoList:r=[],behaviors:n=[]}=t,o=e.id,i=e.children[0].id;r.forEach(u=>{u.id===o&&(u.id=i);const c=u.show_controls.findIndex(l=>l===o),a=u.hide_controls.findIndex(l=>l===o);c>-1&&u.show_controls.splice(c,1,i),a>-1&&u.hide_controls.splice(a,1,i)}),n.forEach(u=>{u.ctrl_id===o&&(u.id=i)})}function Jte(e){if(!Array.isArray(e)||!e.find(o=>o.type==="grid"))return e;const n=new MG.Designer().toSchema();return n.children=e,[n]}function Qte(e){e.forEach(t=>{t.children&&nne(t.children)})}function Zte(e){e.forEach(t=>{var n,o;if(!(t&&t.children))return;const r=t.children;for(let i=0;i<r.length;i++){const u=r[i],c=(o=(n=r[i])==null?void 0:n.children)==null?void 0:o[0];u.type==="grid-row"&&c&&["group-panel","subtable","tab"].includes(c.type)&&r.splice(i,1,c)}})}function Yte(e,t){var b,O,g,w,v,$,P,R;if(!(Array.isArray(e)&&e.length===1))return e;const r=e[0];if(r.type!=="list-page")return e;const{props:n,children:o}=r,[i,u,c]=o;ene(i),c.props.is_fixed_header=(b=n==null?void 0:n.source_config)==null?void 0:b.is_fixed_header,tne(c,u);const a=(g=(O=n==null?void 0:n.source_config)==null?void 0:O.data_code)!=null?g:t==null?void 0:t.dataCode,l=((v=(w=n==null?void 0:n.source_config)==null?void 0:w.svc_code)!=null?v:a)?`${a}_selectMore`:void 0,f=(P=($=n==null?void 0:n.source_config)==null?void 0:$.orders)!=null?P:[],_=new hG.Designer;_.props.datasourceBind=new te({dataCode:a,svcCode:l,orders:J1(f)}),_.props.isShowSubList=n.is_show_sublist,_.props.triggerType=n.timing_type,_.props.triggerFieldCode=n.ctrl_field_code,(R=n==null?void 0:n.sublist_page)==null||R.sublists.forEach(S=>{S.title=Oe(S.title)?S.title.zh:S.title}),_.props.sublistPage=n.sublist_page;const p=_.toSchema();return p.children.push(i,c),[p]}function ene(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(t=>{var n,o;const r=Oe(t.placeholder)?t.placeholder.zh:t.placeholder;t.type==="number-range"&&(t.type="search-number-range",t.placeholderStart=r,t.placeholderEnd=r),t.type==="date-pick"&&(t.type="search-date-range",t.placeholderStart=r,t.placeholderEnd=r,t.dateType=(o=(n=t.dateType)==null?void 0:n.replace)==null?void 0:o.call(n,/range$/)),(t.type==="automatic-number"||t.type==="auto-number")&&(t.type="search-input",t.props.defaultValue="")})}function tne(e,t){e.children=t.children.filter(r=>r.type!=="list-page-btn-custom-head"),e.type="grid-table",e.props.sublist_page&&(e.props.sublist_page.form_bind={data_code:e.props.sublist_page.data_code,form_key:e.props.sublist_page.form_key}),Array.isArray(e.props.headers)&&(e.props.headers=e.props.headers.map(r=>{var o,i,u;let n={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:r.field_code,field_name:Oe(r.field_name)?r.field_name.zh:r.field_name}};return n.props.caption=Oe(r.field_name)?r.field_name.zh:r.field_name,n.props.filter_tags=r.is_filter_tags,n.props.fixed=r.fixed,n.props.display_bo_list=r.display_bo_list,n.props.date_type=r.date_type,n.props.optionConfig="none",r.header_width_config&&(n.props.widthType=r.header_width_config==="1"?"auto":"px"),n.props.widthType==="px"&&r.header_width&&(n.props.width=Number(r.header_width)),r.table_header_type==="order"?(n.type="order-column",n.props.fixed=!0):r.table_header_type==="operation"?(n.type="operation-column",n.props.check=(o=r.check)!=null?o:{},n.props.check.openType="window",n.props.delete=(i=r.delete)!=null?i:{},n.props.delete.openType="window",n.props.edit=(u=r.edit)!=null?u:{},n.props.edit.openType="window",n.props.fixed=!0):(n.type=r.field_type+"-column",r.field_type==="auto_number"&&(n.type="auto-number-column"),r.field_type==="relation"&&(n.type="varchar-column")),r.convert_switch&&(n.props.optionConfig=r.convert_type===1?"datasource":"custom"),n.props.optionConfig==="datasource"?n.props.datasource_bind=new te({svcCode:r.svc_code,displayBoList:r.display_bo_list,valueFieldCode:r.field_match,dataCode:r.field_source}):n.props.optionConfig==="custom"&&(n.props.options=r.custom_match_bo_list),n}))}function nne(e){var r;let t=null;for(let n=0;n<e.length;n++){const o=e[n];if(!!o){if(o.children&&((r=o.children[0])==null?void 0:r.type)==="group-panel"){t=o.children[0];continue}t&&(t.children.push(o),e.splice(n,1),n--)}}}function rne(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 one(e,t){var n;if(!t||!e.props.events)return;const r=Object.keys(e.props.events);!r.length||(r.forEach(o=>{!e.props.events[o].length||(t[e.id]||(t[e.id]={}),t[e.id][o]||(t[e.id][o]=[]),t[e.id][o].push(...e.props.events[o].map(i=>i.name)))}),(n=t[e.id])!=null&&n.on_blur&&(t[e.id].on_change||(t[e.id].on_change=[]),t[e.id].on_change.push(...t[e.id].on_blur)))}const ine=(e,t)=>{const r=Array.isArray(e);let o=Dn(oe(r?e:[e],i=>une(i)));return r?o:o[0]};function une(e,t){return e.type===y.LIST_VIEW&&e.children.find(n=>n.type===y.GRID_TABLE).props.headers.forEach(n=>{!n.props.data_bind&&n.props.field_code&&(n.props.data_bind=new Ye({dataCode:e.props.datasource_bind.data_code,fieldCode:n.props.field_code}))}),e}const cne=(e,t)=>{const r=Array.isArray(e);let o=Dn(oe(r?e:[e],i=>lne(i)));return r?o:o[0]};function lne(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 ane=(e,t)=>{const r=Array.isArray(e);let o=Dn(oe(r?e:[e],i=>fne(i)));return r?o:o[0]};function fne(e,t){if(e.props.icon){let r=e.props.icon;switch(r){case"icongeren":r="iconyyzy-renyuan";break;case"iconjine1":r="iconcaiwu";break;case"iconhuibao":r="iconyyzy-tianxie";break;case"iconwenjian":r="iconyyzy-wenjianjia1";break;case"iconyingpin":r="iconyyzy-gongzuo";break;case"iconpiliangtijiaojilu":r="iconyyzy-renwu";break}e.props.icon=r}return e}const sne=(e,t)=>{const r=Array.isArray(e);let o=Dn(oe(r?e:[e],i=>yne(i)));return r?o:o[0]},_ne=[y.ROW,y.TAB,y.SUBTABLE,y.GRID_ROW,y.CARD_GROUP];function yne(e,t){return e.type===y.TAB_PANE&&(e.children=e.children.map(r=>{if(_ne.includes(r.type))return r;const n=new CU.Designer,o=new vR.Designer;n.children.push(o);const i=n.toSchema();return i.children[0].children.push(r),i})),e}const pne=(e,t)=>{const r=Array.isArray(e);let o=Dn(oe(r?e:[e],i=>dne(i)));return r?o:o[0]};function dne(e,t){return e.type===y.GRID_TABLE&&e.props.headers.forEach(r=>{r.type===y.OPERATION_COLUMN&&(r.props.check.priorityProcess=!0)}),e}const vne=(e,t)=>{const r=Array.isArray(e);let o=oe(r?e:[e],i=>hne(i));return r?o:o[0]};function hne(e,t){return e.type===y.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}const bne=(e,t)=>{const r=Array.isArray(e);let o=oe(r?e:[e],i=>gne(i));return r?o:o[0]};function _n(e,t){e.field_code&&(e.field_type=t)}function gne(e,t){var n;const r={[y.TITLE]:m.AUTO_NUMBER,[y.ADDRESS]:m.ADDRESS,[y.ATTACHMENT]:m.FILE,[y.AUTO_NUMBER]:m.AUTO_NUMBER,[y.CHECKBOX]:m.ARRAY,[y.DATE_PICKER]:m.TIMESTAMP,[y.DEPARTMENT]:m.DEPARTMENTS,[y.EMPLOYEE]:m.EMPLOYEES,[y.EMPLOYEE2]:m.EMPLOYEES,[y.IMAGE]:m.IMAGE,[y.INPUT]:m.VARCHAR,[y.NUMBER]:m.DECIMAL,[y.RADIO]:m.VARCHAR,[y.RICH_TEXT]:m.TEXT,[y.SCORE]:m.DECIMAL,[y.SELECT]:m.VARCHAR,[y.SELECT_MULTIPLE]:m.ARRAY,[y.SELECT_RELATION]:m.VARCHAR,[y.TEXTAREA]:m.TEXT,[y.TREE]:m.ARRAY,[y.SEARCH_DATE_RANGE]:m.ARRAY,[y.SEARCH_INPUT]:m.VARCHAR,[y.SEARCH_NUMBER_RANGE]:m.ARRAY};return r.hasOwnProperty(e.type)&&_n(e.props.data_bind,r[e.type]),e.type===y.AMOUNT&&(_n(e.props.data_bind.amount,m.DECIMAL),_n(e.props.data_bind.currency,m.VARCHAR)),e.type===y.CALC&&(_n(e.props.data_bind.result,m.DECIMAL),_n(e.props.data_bind.unit,m.VARCHAR)),e.type===y.DATE_RANGE&&(_n(e.props.data_bind.min,m.TIMESTAMP),_n(e.props.data_bind.max,m.TIMESTAMP)),e.type===y.VUE_FORM_ITEM&&_n(e.props.data_bind,(n=e.field_type)!=null?n:m.ANY),e}const mne=(e,t)=>{const r=Array.isArray(e);let o=oe(r?e:[e],i=>One(i));return r?o:o[0]};function One(e,t){return e.type===y.GRID_TABLE&&e.props.headers.forEach(r=>{r.type.endsWith("-column")&&(r.props.fixed?(r.props.fixed="left",r.type===y.OPERATION_COLUMN&&(r.props.fixed="right")):r.props.fixed="none")}),e}const wne=(e,t)=>{const r=Array.isArray(e);let o=oe(r?e:[e],i=>$ne(i));return r?o:o[0]};function $ne(e,t){return e.type===y.SIMPLE_SEARCH&&e.children.length&&(e.props.query_type_map||(e.props.query_type_map=[]),e.children.forEach(r=>{var n,o;[m.VARCHAR,m.TEXT,m.AUTO_NUMBER].includes((o=(n=r.props)==null?void 0:n.data_bind)==null?void 0:o.field_type)&&e.props.query_type_map.push({query_type:"LIKE",field_code:r.props.data_bind.field_code})})),e}const Pne=(e,t)=>{const r=Array.isArray(e);let o=oe(r?e:[e],i=>Rne(i));return r?o:o[0]};function Rne(e,t){return[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===y.SUBTABLE&&e.props.headers.forEach(r=>{[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}const Sne=(e,t)=>{const r=Array.isArray(e);let o=oe(r?e:[e],i=>Ene(i));return r?o:o[0]};function Ene(e,t){return[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===y.SUBTABLE&&e.props.headers.forEach(r=>{[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}const Tne=(e,t)=>{const r=Array.isArray(e);let o=oe(r?e:[e],i=>Ine(i));return r?o:o[0]};function Ine(e,t){return e.type===y.TITLE&&e.props.config.push(Bt.ShowTitle),e.type===y.GRID_TABLE&&e.props.headers.map(r=>{var n,o,i,u,c,a,l,f,_,p,b,O,g,w,v,$,P,R,S,j,T,G;if(r.type===y.OPERATION_COLUMN){if(r.props.width_type==="auto"?r.props.auto_width={min_width:120,max_width:120,flex:1}:r.props.width_type==="px"&&(r.props.auto_width={min_width:r.props.width,max_width:r.props.width,flex:1}),r.props.width_type="auto",r.children=(n=r==null?void 0:r.children)!=null?n:[],delete r.props.custom,((o=r.props)==null?void 0:o.check)!==void 0){const B=new Sy.Designer;Object.defineProperty(B,"id",{value:"listPageCheckBtnId"}),B.props.code="view",B.props.icon="iconliulan1",B.props.command="view",B.props.content=(i=r.props)==null?void 0:i.check.content,B.props.priorityProcess=(u=r.props)==null?void 0:u.check.priority_process,B.props.openType=(c=r.props)==null?void 0:c.check.open_type,B.props.formKey=(a=r.props)==null?void 0:a.check.form_key,(l=r.props)!=null&&l.check.is_show&&r.children.push(B.toSchema()),(f=r.props)==null||delete f.check}if(((_=r.props)==null?void 0:_.edit)!==void 0){const B=new Sy.Designer;Object.defineProperty(B,"id",{value:"listPageEditBtnId"}),B.props.code="edit",B.props.icon="iconbianji1",B.props.command="edit",B.props.content=(p=r.props)==null?void 0:p.edit.content,B.props.priorityProcess=(b=r.props)==null?void 0:b.edit.priority_process,B.props.openType=(O=r.props)==null?void 0:O.edit.open_type,B.props.formKey=(g=r.props)==null?void 0:g.edit.form_key,(w=r.props)!=null&&w.edit.is_show&&r.children.push(B.toSchema()),(v=r.props)==null||delete v.edit}if((($=r.props)==null?void 0:$.delete)!==void 0){const B=new Sy.Designer;Object.defineProperty(B,"id",{value:"listPageDeleteBtnId"}),B.props.code="delete",B.props.icon="iconlajitong",B.props.command="delete",B.props.content=(P=r.props)==null?void 0:P.delete.content,B.props.priorityProcess=(R=r.props)==null?void 0:R.delete.priority_process,B.props.openType=(S=r.props)==null?void 0:S.delete.open_type,B.props.formKey=(j=r.props)==null?void 0:j.delete.form_key,B.props.needConfirm=!0,B.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",(T=r.props)!=null&&T.delete.is_show&&r.children.push(B.toSchema()),(G=r.props)==null||delete G.delete}}}),[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===y.SUBTABLE&&e.props.headers.forEach(r=>{[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}const Bne=(e,t)=>{const r=Array.isArray(e);let o=oe(r?e:[e],i=>Ane(i,t));return r?o:o[0]};function Ane(e,t){e.type===y.SUBTABLE&&e.props.headers.map(n=>{n.props.meta_auto_width=new og,n.props.width_type==="px"&&(n.props.meta_auto_width.pc.width=n.props.width,n.props.meta_auto_width.pc.width_type="px"),delete n.props.width,delete n.props.width_type});const r={[y.SUBTABLE]:[{key:"page_index",value:1},{key:"page_size",value:10},{key:"page_size_options",value:[10,20,50,100]},{key:"total_count",value:0}],[y.GRID_TABLE]:[{key:"page_index",value:1},{key:"page_size",value:20},{key:"page_size_options",value:[10,20,50,100]},{key:"total_count",value:0}],[y.LIST_VIEW]:[{key:"selection_type",value:"multiple"},{key:"row_style_type",value:"none"}],[y.SIMPLE_SEARCH]:[{key:"col-gap",value:24},{key:"child-min-width",value:230}]};return e.type in r&&r[e.type].forEach(n=>{e.props[n.key]===void 0&&(e.props[n.key]=n.value)}),xne(t),e}function xne(e){if(!(!e||!e.listeners)){if(Object.keys(e.listeners).forEach(t=>{let r,n,o;e.listeners[t].forEach((i,u)=>{switch(i.event_key||i.eventKey){case"on_click_finish":n=i,o=u;break;case"on_click":r=i;break}}),n&&(n.cases[0].handlers.unshift(Rb()),r?(n.cases.forEach(i=>{r.cases[0].handlers.push(i)}),e.listeners[t].splice(o,1)):n.event_key="on_click")}),!e.listeners.form_submit)e.listeners.form_submit=[{event_key:"on_click",event_param:[],cases:[kne()]}];else if(e.listeners.form_submit&&e.listeners.form_submit&&e.listeners.form_submit[0]&&e.listeners.form_submit[0].cases&&e.listeners.form_submit[0].cases[0]&&e.listeners.form_submit[0].cases[0].handlers){let t=!1;e.listeners.form_submit[0].cases[0].handlers.forEach(r=>{r.method==="actionOperate"&&(t=!0)}),t||e.listeners.form_submit[0].cases[0].handlers.push(Rb())}}}function kne(){return{id:"case"+new Date().getTime(),name:"\u9ED8\u8BA4\u60C5\u5F62",match_type:"AND",match_rules:[],handlers:[Rb()]}}function Rb(){return{id:"handler"+new Date().getTime(),method:"actionOperate",params:{control_id:"",opt_type:"",opt_code:"",is_error_continue:!1}}}const Dne=(e,t)=>{const r=Array.isArray(e);let o=oe(r?e:[e],i=>Fne(i,t));return r?o:o[0]};function Fne(e,t){if(e.type===y.LIST_VIEW){if(e.props.is_show_selection===!1){const r=[y.BATCH_SUBMISSION_LIST_BUTTON,y.LIST_PAGE_BTN_BATCH_PRINT,y.BATCH_DELETE_LIST_BUTTON];e.children.forEach(n=>{n.type===y.GRID_TABLE&&n.children.map(u=>u.type).some(u=>r.includes(u))===!0&&(e.props.is_show_selection=!0)})}e.props.caption===""&&(e.props.caption=t==null?void 0:t.formName)}return e.type===y.TEXTAREA&&e.props.auto_size===void 0&&(e.props.auto_size=!1),e}var dT={"v1.0":Ute,"v2.0":ine,"v2.1":cne,"v2.2":ane,"v2.3":sne,"v2.4":pne,"v2.5":vne,"v2.6":bne,"v2.7":mne,"v2.8":wne,"v2.9":Pne,"v2.10":Sne,"v3.0":Tne,"v3.1":Bne,"v3.2":Dne,"v3.3":()=>{}};const vT=(e,t)=>{const r=hT(e),n=hT(t),o=r.pop(),i=n.pop(),u=mT(r,n);return u!==0?u:o&&i?mT(o.split("."),i.split(".")):o||i?o?-1:1:0},Jf=(e,t,r)=>{Lne(r);const n=vT(e,t);return OT[r].includes(n)},Nne=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,hT=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(Nne);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},bT=e=>e==="*"||e==="x"||e==="X",gT=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},jne=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],Mne=(e,t)=>{if(bT(e)||bT(t))return 0;const[r,n]=jne(gT(e),gT(t));return r>n?1:r<n?-1:0},mT=(e,t)=>{for(let r=0;r<Math.max(e.length,t.length);r++){const n=Mne(e[r]||"0",t[r]||"0");if(n!==0)return n}return 0},OT={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},wT=Object.keys(OT),Lne=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(wT.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${wT.join("|")}`)};function Sb(e){return e.replace(/^v/,"")}const qr=Object.keys(dT).map(e=>Sb(e)).sort(vT),Po=qr[qr.length-1];class Cne{constructor(t,r=Po){this.schemaVersion=t,this.toVersion=r,Jf(r,Po,">")?Xr(`Version Builder: The specified ${r} is an undefined version, and the current latest version is ${Po}`):(!qr.includes(Sb(r))||!qr.includes(Sb(t)))&&Xr(`Version Builder: Please give me a valid version number, The valid version is: ${qr.join(",")}, But give me a ${t}`)}dataCleaner(t,r){if(Jf(this.toVersion,this.schemaVersion,"="))return t;const n=this.callDataCleanerKeys.reduce((o,i,u,c)=>{var _;const a=(_=c[u+1])!=null?_:this.toVersion;Eo(`Version Builder: current version: ${i}, nextVersion: ${a}`);const l=dT[i];let f=o;if(typeof l=="function"){const p=l(o,r);p&&(f=p)}return f},t);return Eo(`Version Builder: Version conversion completed, evolving from ${this.schemaVersion} to ${this.toVersion}`),n}get runDataCleanerKeys(){return qr.filter(t=>Jf(t,this.schemaVersion,">=")&&Jf(t,this.toVersion,"<"))}get callDataCleanerKeys(){return this.runDataCleanerKeys.map(t=>"v"+t)}get version(){return Po}static get version(){return Po}}An.VersionBuilder=Cne,Object.defineProperty(An,"__esModule",{value:!0})});
1
+ (function(An,Wr){typeof exports=="object"&&typeof module!="undefined"?Wr(exports):typeof define=="function"&&define.amd?define(["exports"],Wr):(An=typeof globalThis!="undefined"?globalThis:An||self,Wr(An.modelDrivenUpgrade={}))})(this,function(An){"use strict";var Wr="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",PT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",RT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",ST="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",ET="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",TT="{caption}\u5FC5\u586B",IT="\u8BF7\u8F93\u5165\u6807\u9898",BT="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",AT="\u8BF7\u8F93\u5165\u884C\u6807\u9898",xT="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",kT="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",DT="\u8BF7\u7ED1\u5B9A\u8868\u5355",FT="\u8BF7\u7ED1\u5B9A\u5217\u8868",NT="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",jT="\u8BF7\u8F93\u5165\u663E\u793A\u503C",MT="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",LT="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",CT="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",VT="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",zT="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",HT="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",qT="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",UT="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",WT="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",KT="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",GT="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",XT="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",JT="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",QT="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",ZT="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",YT="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",e3="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",t3="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",n3="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",r3="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",o3="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",i3="\u8BF7\u7ED1\u5B9A\u670D\u52A1",u3="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",c3="\u8BF7\u9009\u62E9\u7701",l3="\u8BF7\u9009\u62E9\u5E02",a3="\u8BF7\u9009\u62E9\u533A",f3="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",s3="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",_3="\u8BF7\u8F93\u5165\u5217\u5BBD",y3="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",p3="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",d3="\u8BF7\u9009\u62E9\u63A7\u4EF6",v3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",h3="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",b3="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",m3="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",g3="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",O3="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",w3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",$3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",P3="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",R3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",S3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",E3="\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",I3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",B3="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",A3="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",x3="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",k3="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",D3="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",F3="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",N3="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",j3="\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",V3="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",z3="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",H3={isNotNumber:Wr,isNotString:PT,isNotObject:RT,isNotArray:ST,isNotBoolean:ET,runtimeRequired:TT,pleaseEnterCaption:IT,pleaseEnterCaptionTip:BT,pleaseEnterRowCaption:AT,pleaseEnterPlaceholder:xT,pleaseEnterFieldCode:kT,pleaseEnterForm:DT,pleaseEnterList:FT,pleaseEnterProcess:NT,pleaseEnterLabel:jT,pleaseEnterValue:MT,bizKeyNotBindFiled:LT,pleaseSelectOneField:CT,pleaseEnterNumberRange:VT,pleaseEnterAValueGreaterThanMin:zT,pleaseEnterAValueLessThanMax:HT,numberRangeSetError:qT,stringRangeError:UT,attachmentMaxSize:WT,pleaseEnterTotalScoreSetting:KT,theTotalScoreMustNotBeLessThan1:GT,scoreDefaultValueRange:XT,attachmentLimitError:JT,PleaseReselectTheOptionalQuantity:QT,TheMaximumLengthIsGreaterThanTheMinimumLength:ZT,TheMinimumLengthIsGreaterThanTheMaximumLength:YT,PleaseSelectTheCorrectOptionSettings:e3,optionIdIsRepeat:t3,optionIsRequired:n3,pleaseEnterDataCode:r3,pleaseEnterValueFieldCode:o3,pleaseEnterSvcCode:i3,pleaseBindAtLeastOneDisplayValue:u3,pleaseSelectProvince:c3,pleaseSelectCity:l3,pleaseSelectDistrict:a3,limitRowsCannotBeLessThan0:f3,TheNumberOfRowsCannotBeLessThanMinRows:s3,pleaseEnterColumnWidth:_3,pleaseSetTheLogicalRelationshipOfAllRuleConditions:y3,pleaseCompleteAllRulesAndConditions:p3,pleaseSelectControl:d3,pleaseSelectAtLeastOneColumn:v3,pleaseSelectFillBackMode:h3,pleaseSelectDashboard:b3,rootNodeIsRequired:m3,theViewNameCannotBeEmpty:g3,pleaseSelectOcrType:O3,pleaseSelectAtLeastOneFieldToFillIn:w3,pleaseChooseAtLeastOne:$3,pleaseEnterButtonContent:P3,pleaseEnterDataCodeInDataSetting:R3,pleaseEnterValueFieldCodeInDataSetting:S3,pleaseEnterSvcCodeInDataSetting:E3,pleaseBindAtLeastOneDisplayValueInDataSetting:T3,rootNodeIsRequiredInDataSetting:I3,pleaseEnterMaxHeight:B3,pleaseEnter:A3,pleaseEnterWatermark:x3,pleaseEnterFileName:k3,pleaseUploadAtLeastOnePrintTemplate:D3,pleaseAssignBusiness:F3,pleaseAssignExternal:N3,pleaseEnterAliasCode:j3,pleaseSelectDataCode:M3,pleaseSelectSvcCode:L3,pleaseSelectJoinFieldCode:C3,pleaseSelectMainFieldCode:V3,pleaseSelectSortFieldCode:z3},q3="Please enter a number",U3="Please enter a string",W3="Please enter an object",K3="Please enter an array",G3="Please enter a boolean",X3="{caption} Required",J3="Please enter the title",Q3="Please enter the bubble prompt",Z3="Please enter the row title",Y3="Please enter the prompt text",eI="Please bind data items",tI="Please bind the form",nI="Please bind the list",rI="Please bind the process",oI="Please enter the displayed value",iI="Please enter the stored value",uI="The document number is not bound to the data item",cI="Please select at least one display field",lI="Please enter a value greater than or equal to {min} and less than or equal to {max}",aI="Please enter a value greater than or equal to {min}",fI="Please enter a value less than or equal to {max}",sI="The value range is set incorrectly",_I="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",yI="The attachment size must be between 0MB and 1000MB",pI="Please fill in the total score setting",dI="The total score cannot be less than 1",vI="The default value must be between {min} and {max}",hI="The number of attachments uploaded must be between {min} and {max}",bI="Please re-select the optional quantity",mI="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",OI="Please select the correct option setting",wI="Option ID cannot be repeated",$I="Please enter at least one option",PI="Please bind the data source",RI="Please bind the stored value",SI="Please bind the service",EI="At least one display value must be bound",TI="Please select a province",II="Please select a city",BI="Please select a district",AI="The minimum number of lines to fill in cannot be less than 0",xI="The number of rows cannot be less than {min} rows",kI="Please enter the column width",DI="Please set the logical relationship of all rule conditions",FI="Please complete all rules and conditions",NI="please select control",jI="Please select the dashboard",MI="View name cannot be empty",LI="Please select recognition type",CI="Please select at least one field to fill in",VI="Please select at least one",zI="Please enter the button title",HI="Please bind the business model in the data settings",qI="Please bind storage values in data settings",UI="Please bind the service in the data settings",WI="Please bind at least one display value in the data settings",KI="Please select the root node in the data settings",GI="Please enter the maximum height",XI="The input content cannot be empty",JI="Watermark cannot be empty",QI="File name cannot be empty",ZI="Please upload at least one printing template!\uFF01",YI="Please select a specific business department",eB="Please select a specified external organization",tB="Please enter a sub table alias",nB="Please select the associated table to set the business model",rB="Please select the association table to set the binding service",oB="Select associated sub table fields",iB="Please select the associated main table field",uB="Please select the sort field",cB={isNotNumber:q3,isNotString:U3,isNotObject:W3,isNotArray:K3,isNotBoolean:G3,runtimeRequired:X3,pleaseEnterCaption:J3,pleaseEnterCaptionTip:Q3,pleaseEnterRowCaption:Z3,pleaseEnterPlaceholder:Y3,pleaseEnterFieldCode:eI,pleaseEnterForm:tI,pleaseEnterList:nI,pleaseEnterProcess:rI,pleaseEnterLabel:oI,pleaseEnterValue:iI,bizKeyNotBindFiled:uI,pleaseSelectOneField:cI,pleaseEnterNumberRange:lI,pleaseEnterAValueGreaterThanMin:aI,pleaseEnterAValueLessThanMax:fI,numberRangeSetError:sI,stringRangeError:_I,attachmentMaxSize:yI,pleaseEnterTotalScoreSetting:pI,theTotalScoreMustNotBeLessThan1:dI,scoreDefaultValueRange:vI,attachmentLimitError:hI,PleaseReselectTheOptionalQuantity:bI,TheMaximumLengthIsGreaterThanTheMinimumLength:mI,TheMinimumLengthIsGreaterThanTheMaximumLength:gI,PleaseSelectTheCorrectOptionSettings:OI,optionIdIsRepeat:wI,optionIsRequired:$I,pleaseEnterDataCode:PI,pleaseEnterValueFieldCode:RI,pleaseEnterSvcCode:SI,pleaseBindAtLeastOneDisplayValue:EI,pleaseSelectProvince:TI,pleaseSelectCity:II,pleaseSelectDistrict:BI,limitRowsCannotBeLessThan0:AI,TheNumberOfRowsCannotBeLessThanMinRows:xI,pleaseEnterColumnWidth:kI,pleaseSetTheLogicalRelationshipOfAllRuleConditions:DI,pleaseCompleteAllRulesAndConditions:FI,pleaseSelectControl:NI,pleaseSelectDashboard:jI,theViewNameCannotBeEmpty:MI,pleaseSelectOcrType:LI,pleaseSelectAtLeastOneFieldToFillIn:CI,pleaseChooseAtLeastOne:VI,pleaseEnterButtonContent:zI,pleaseEnterDataCodeInDataSetting:HI,pleaseEnterValueFieldCodeInDataSetting:qI,pleaseEnterSvcCodeInDataSetting:UI,pleaseBindAtLeastOneDisplayValueInDataSetting:WI,rootNodeIsRequiredInDataSetting:KI,pleaseEnterMaxHeight:GI,pleaseEnter:XI,pleaseEnterWatermark:JI,pleaseEnterFileName:QI,pleaseUploadAtLeastOnePrintTemplate:ZI,pleaseAssignBusiness:YI,pleaseAssignExternal:eB,pleaseEnterAliasCode:tB,pleaseSelectDataCode:nB,pleaseSelectSvcCode:rB,pleaseSelectJoinFieldCode:oB,pleaseSelectMainFieldCode:iB,pleaseSelectSortFieldCode:uB},lB="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",aB="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",fB="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",sB="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",_B="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",yB="{caption}\u5FC5\u9808",pB="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",dB="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",vB="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",hB="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",bB="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",mB="\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",OB="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",wB="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$B="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",PB="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",RB="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",SB="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",EB="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",TB="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",IB="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",BB="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",AB="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",xB="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",kB="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",DB="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",FB="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",NB="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",jB="\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",MB="\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",LB="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",CB="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",VB="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",zB="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",HB="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",qB="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",UB="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",WB="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",KB="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",GB="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",XB="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",JB="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",QB="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ZB="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",YB="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",e1="please select control",t1="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",n1="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",r1="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",o1="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",i1="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",u1="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",c1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",l1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",a1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",f1="\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",s1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",_1="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",y1="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",p1="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",d1="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",v1="\u5370\u5237\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u5C11\u306A\u304F\u3068\u30821\u3064\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\uFF01\uFF01",h1="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",b1="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",m1="\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",O1="\u95A2\u9023\u30C6\u30FC\u30D6\u30EB\u8A2D\u5B9A\u30D0\u30A4\u30F3\u30C9\u30B5\u30FC\u30D3\u30B9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",w1="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",$1="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",P1="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",R1={isNotNumber:lB,isNotString:aB,isNotObject:fB,isNotArray:sB,isNotBoolean:_B,runtimeRequired:yB,pleaseEnterCaption:pB,pleaseEnterCaptionTip:dB,pleaseEnterRowCaption:vB,pleaseEnterPlaceholder:hB,pleaseEnterFieldCode:bB,pleaseEnterForm:mB,pleaseEnterList:gB,pleaseEnterProcess:OB,pleaseEnterLabel:wB,pleaseEnterValue:$B,bizKeyNotBindFiled:PB,pleaseSelectOneField:RB,pleaseEnterNumberRange:SB,pleaseEnterAValueGreaterThanMin:EB,pleaseEnterAValueLessThanMax:TB,numberRangeSetError:IB,stringRangeError:BB,attachmentMaxSize:AB,pleaseEnterTotalScoreSetting:xB,theTotalScoreMustNotBeLessThan1:kB,scoreDefaultValueRange:DB,attachmentLimitError:FB,PleaseReselectTheOptionalQuantity:NB,TheMaximumLengthIsGreaterThanTheMinimumLength:jB,TheMinimumLengthIsGreaterThanTheMaximumLength:MB,PleaseSelectTheCorrectOptionSettings:LB,optionIdIsRepeat:CB,optionIsRequired:VB,pleaseEnterDataCode:zB,pleaseEnterValueFieldCode:HB,pleaseEnterSvcCode:qB,pleaseBindAtLeastOneDisplayValue:UB,pleaseSelectProvince:WB,pleaseSelectCity:KB,pleaseSelectDistrict:GB,limitRowsCannotBeLessThan0:XB,TheNumberOfRowsCannotBeLessThanMinRows:JB,pleaseEnterColumnWidth:QB,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ZB,pleaseCompleteAllRulesAndConditions:YB,pleaseSelectControl:e1,pleaseSelectDashboard:t1,theViewNameCannotBeEmpty:n1,pleaseSelectOcrType:r1,pleaseSelectAtLeastOneFieldToFillIn:o1,pleaseChooseAtLeastOne:i1,pleaseEnterButtonContent:u1,pleaseEnterDataCodeInDataSetting:c1,pleaseEnterValueFieldCodeInDataSetting:l1,pleaseEnterSvcCodeInDataSetting:a1,pleaseBindAtLeastOneDisplayValueInDataSetting:f1,rootNodeIsRequiredInDataSetting:s1,pleaseEnterMaxHeight:_1,pleaseEnter:y1,pleaseEnterWatermark:p1,pleaseEnterFileName:d1,pleaseUploadAtLeastOnePrintTemplate:v1,pleaseAssignBusiness:h1,pleaseAssignExternal:b1,pleaseEnterAliasCode:m1,pleaseSelectDataCode:g1,pleaseSelectSvcCode:O1,pleaseSelectJoinFieldCode:w1,pleaseSelectMainFieldCode:$1,pleaseSelectSortFieldCode:P1},S1={zhCN:H3,enUS:cB,jaJP:R1},kb;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(kb||(kb={}));var Db;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(Db||(Db={}));var E1="zh-CN";function De(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var xn;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(xn||(xn={}));var y;(function(e){e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",e.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.ORGANIZATION_SELECTION="organization-selection",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.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"})(y||(y={}));var Fb;(function(e){e.SAVE="save",e.DRAFT="draft",e.UNSUBMIT="unsubmit",e.AUDIT="audit",e.UNAUDIT="unaudit",e.CANCEL="cancel",e.FORM_SUBMIT="form_submit"})(Fb||(Fb={}));var g;(function(e){e.VARCHAR="varchar",e.TEXT="text",e.ARRAY="array",e.ADDRESS="location",e.DECIMAL="decimal",e.DECIMAL_RANGE="decimal_range",e.TIMESTAMP="timestamp",e.EMPLOYEES="people",e.DEPARTMENTS="department",e.MONEY="money",e.TIMESCOPE="timescope",e.FILE="file",e.IMAGE="image",e.AUTO_NUMBER="auto_number",e.CALC="calc",e.RELATION="relation",e.LIST="list",e.RELATION_FIELD="relation-field",e.REFERENCE_FIELD="reference-field",e.CALC_FIELD="calc",e.JSON="json",e.BIGINT="bigint",e.ANY="ANY",e.ENCRYPTED_FIELD="encrypted_field"})(g||(g={}));var ge;ge={},De(ge,"array","array-column"),De(ge,"auto_number","auto-number-column"),De(ge,"decimal","decimal-column"),De(ge,"department","department-column"),De(ge,"file","file-column"),De(ge,"image","image-column"),De(ge,"location","location-column"),De(ge,"people","employee-column"),De(ge,"text","text-column"),De(ge,"timescope","timescope-column"),De(ge,"timestamp","timestamp-column"),De(ge,"varchar","varchar-column"),De(ge,"relation","varchar-column");var zt;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"})(zt||(zt={}));var Nb="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",T1=Nb+"0123456789";function Qe(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",r=0;r<e;r++){var n=r===0?Nb:T1,o=Math.random()*n.length;t+=n[parseInt(String(o),10)]}return t}function Qf(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function I1(e){if(Array.isArray(e))return Qf(e)}function B1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function So(e,t,r){return Cb()?So=Reflect.construct:So=function(o,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(o,c),l=new a;return u&&Gr(l,u.prototype),l},So.apply(null,arguments)}function Kr(e){return Kr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kr(e)}function Mb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gr(e,t)}function A1(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function x1(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function k1(){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 D1(e,t){return t&&(F1(t)==="object"||typeof t=="function")?t:B1(e)}function Gr(e,t){return Gr=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gr(e,t)}function Lb(e){return I1(e)||x1(e)||N1(e)||k1()}function F1(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function N1(e,t){if(!!e){if(typeof e=="string")return Qf(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Qf(e,t)}}function Zf(e){var t=typeof Map=="function"?new Map:void 0;return Zf=function(n){if(n===null||!A1(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return So(n,arguments,Kr(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Gr(o,n)},Zf(e)}function Cb(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vb(e){var t=Cb();return function(){var n=Kr(e),o;if(t){var i=Kr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return D1(this,o)}}var Yf=console;function es(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o=t.slice(1);(n=Yf).warn.apply(n,["\u{1F9D0} Driven Warning:"+t[0]].concat(Lb(o)))}function Eo(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o=t.slice(1);(n=Yf).log.apply(n,["\u{1F680} Driven Log:"+t[0]].concat(Lb(o)))}function j1(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var ts=function(e){Mb(r,e);var t=Vb(r);function r(n){jb(this,r);var o;return o=t.call(this,n),o.name="\u{1F4A5} Driven Error",o.message=n?j1(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return r}(Zf(Error)),M1=function(e){Mb(r,e);var t=Vb(r);function r(n){jb(this,r);var o;return o=t.call(this,n),o.name="\u{1F6A8} Driven Reference Error",o}return r}(ts);function Xr(e){throw new ts(e)}function zb(e){throw new M1(e)}function L1(e){Yf.error(new ts(e))}var C1=Object.prototype.toString;function Hb(e,t){return C1.call(e)==="[object "+t+"]"}function V1(e){return Hb(e,"String")}function z1(e){return Hb(e,"Promise")}var H1=function(){function e(t){var r,n;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((n=(r=t.messages)!==null&&r!==void 0?r:this.getPreImport(t.locale))!==null&&n!==void 0?n:{}),t.variableRegExp&&(this.variableRegExp=t.variableRegExp),this.setLocale(t.locale)}return e.prototype.setLocale=function(t){var r=this;this.locale=t,this._messageCache.clear();var n=this.getMessageData();z1(n)?n.then(function(o){r._messageCache.clear(),r.messages[r.localeInMessageKey]=o}):this.messages[this.localeInMessageKey]=n},e.prototype.getMessageData=function(){var t=this._messages[this.localeInMessageKey];return typeof t=="function"?t():t},e.prototype.translate=function(t,r,n){var o=this.getMessage(t);return o?this.formatMessage(o,n):this.formatMessage(r,n)},e.prototype.getMessage=function(t){if(this._messageCache.has(t))return this._messageCache.get(t);var r=this.getPathArray(t),n=r.reduce(function(o,i,u,c){if(o!==void 0){var a=o[i];if(!(u===c.length-1&&!V1(a)))return a}},this.message);return this._messageCache.set(t,n),n},e.prototype.formatMessage=function(t,r){return r?t.replace(this.variableRegExp,function(n,o){var i=r[o];return i!==void 0?String(i):n}):t},e.prototype.getPreImport=function(t){var r;if(window.okI18nPreImport){var n=this.getLocaleInMessageKey(t);return window.okI18nPreImport.hasOwnProperty(n)?window.okI18nPreImport:(r={},r[n]=window.okI18nPreImport,r)}},e.prototype.getPathArray=function(t){return t.split(".")},e.prototype.getLocaleInMessageKey=function(t){return t.replace(/-/g,"")},Object.defineProperty(e.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"message",{get:function(){var t;return(t=this.messages[this.localeInMessageKey])!==null&&t!==void 0?t:{}},enumerable:!1,configurable:!0}),e}();function q1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function U1(e,t,r){return t&&qb(e.prototype,t),r&&qb(e,r),e}function W1(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var d=function(){function e(){q1(this,e)}return U1(e,null,[{key:"getMessage",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(r,"",n)}},{key:"resetI18n",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:E1;return new H1({locale:r,messages:S1})}},{key:"setLocale",value:function(r){return this.$i18n.setLocale(r)}}]),e}();W1(d,"$i18n",d.resetI18n());function K1(e,t,r){var n=t.replace(/\[(\d)]/g,function(i,u){return"."+u}).split("."),o=!1;return n.reduce(function(i,u,c,a){var l=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,u)){es("Can not set ".concat(t,"'s ").concat(u," property in current %o, Because there is no ").concat(u," property on the %o"),i,i);return}return c===a.length-1&&!Object.is(l[u],r)&&(l[u]=r,o=!0),l[u]}},e),o}var G1=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ns={exports:{}};(function(e){(function(t){var r=function(v,$,P){if(!l($)||_($)||p($)||m($)||a($))return $;var R,S=0,j=0;if(f($))for(R=[],j=$.length;S<j;S++)R.push(r(v,$[S],P));else{R={};for(var T in $)Object.prototype.hasOwnProperty.call($,T)&&(R[v(T,P)]=r(v,$[T],P))}return R},n=function(v,$){$=$||{};var P=$.separator||"_",R=$.split||/(?=[A-Z])/;return v.split(R).join(P)},o=function(v){return O(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function($,P){return P?P.toUpperCase():""}),v.substr(0,1).toLowerCase()+v.substr(1))},i=function(v){var $=o(v);return $.substr(0,1).toUpperCase()+$.substr(1)},u=function(v,$){return n(v,$).toLowerCase()},c=Object.prototype.toString,a=function(v){return typeof v=="function"},l=function(v){return v===Object(v)},f=function(v){return c.call(v)=="[object Array]"},_=function(v){return c.call(v)=="[object Date]"},p=function(v){return c.call(v)=="[object RegExp]"},m=function(v){return c.call(v)=="[object Boolean]"},O=function(v){return v=v-0,v===v},b=function(v,$){var P=$&&"process"in $?$.process:$;return typeof P!="function"?v:function(R,S){return P(R,v,S)}},w={camelize:o,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(v,$){return r(b(o,$),v)},decamelizeKeys:function(v,$){return r(b(u,$),v,$)},pascalizeKeys:function(v,$){return r(b(i,$),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=w:t.humps=w})(G1)})(ns);var Ub={};Object.defineProperty(Ub,"__esModule",{value:!0});function rs(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:rs(t));{const t={};for(const r in e){const n=e[r];t[r]=typeof n!="object"||n===null?n:rs(n)}return t}}var X1=Ub.default=rs;function Ht(e){if(e!==void 0)return typeof e=="object"?X1(e):e}function Oe(e){return Wb(e)&&"zh"in e}function Wb(e){return Object.prototype.toString.call(e)==="[object Object]"}function os(e){return Array.isArray(e)}function kn(e){return isNaN(parseFloat(e))?"":Number(e)}function J1(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function oe(e,t){var r=[];return Array.isArray(e)&&(r=e.map(function(n){var o=n;return Array.isArray(n==null?void 0:n.children)&&(o.children=oe(n.children,t)),Array.isArray(n==null?void 0:n.footers)&&(o.footers=oe(n.footers,t)),t(o)})),r}function Q1(e){return ns.exports.camelizeKeys(e)}function Dn(e){return ns.exports.decamelizeKeys(e)}function is(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Z1(e){if(Array.isArray(e))return is(e)}function Kb(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(l){r(l);return}c.done?t(a):Promise.resolve(a).then(n,o)}function Y1(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){Kb(i,n,o,u,c,"next",a)}function c(a){Kb(i,n,o,u,c,"throw",a)}u(void 0)})}}function eA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function tA(e,t,r){return t&&Gb(e.prototype,t),r&&Gb(e,r),e}function Xb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nA(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function rA(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function us(e){return Z1(e)||nA(e)||oA(e)||rA()}function oA(e,t){if(!!e){if(typeof e=="string")return is(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return is(e,t)}}function iA(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(f){l=[6,f],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var uA=function(){function e(){eA(this,e),Xb(this,"_events",new Map),Xb(this,"debug",!1)}return tA(e,[{key:"emit",value:function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];var u=this;return Y1(function(){var c,a,l,f,_,p,m,O,b,w,v,$;return iA(this,function(P){switch(P.label){case 0:if(c=u._events.get(r),a=[],!c)return[3,10];l=c.slice(),f=!0,_=!1,p=void 0,P.label=1;case 1:P.trys.push([1,8,9,10]),m=l[Symbol.iterator](),P.label=2;case 2:if(f=(O=m.next()).done)return[3,7];if(b=O.value,!c.includes(b))return[3,6];P.label=3;case 3:return P.trys.push([3,5,,6]),u.debug&&Eo.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(b.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+b.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"\u3002")].concat(us(o))),[4,b.apply(null,us(o))];case 4:return w=P.sent(),u.debug&&Eo.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(b.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+b.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(us(o),[w])),a.push(w),w===!1?[3,7]:[3,6];case 5:return v=P.sent(),L1(String(v)+":"+String(v.stack)),[3,6];case 6:return f=!0,[3,2];case 7:return[3,10];case 8:return $=P.sent(),_=!0,p=$,[3,10];case 9:try{!f&&m.return!=null&&m.return()}finally{if(_)throw p}return[7];case 10:return[2,a]}})})()}},{key:"on",value:function(r,n){if(this._events.has(r)){var o;(o=this._events.get(r))===null||o===void 0||o.push(n)}else this._events.set(r,[n])}},{key:"off",value:function(r,n){if(this._events.has(r)){var o=this._events.get(r),i=o==null?void 0:o.indexOf(n);o==null||o.splice(i,1)}}},{key:"delete",value:function(r){this._events.has(r)&&this._events.delete(r)}},{key:"clear",value:function(){this._events=new Map}}]),e}();function cA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function lA(e,t,r){return t&&Jb(e.prototype,t),r&&Jb(e,r),e}function aA(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var fA=[{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"}],sA=function(){function e(){cA(this,e)}return lA(e,[{key:"getEventsFromKeys",value:function(r){var n=typeof r=="string"?[r]:r;return e.events.filter(function(o){return n.includes(o.key)})}}]),e}();aA(sA,"events",fA);function cs(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function _A(e){if(Array.isArray(e))return cs(e)}function yA(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function pA(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Qb(e){return _A(e)||yA(e)||dA(e)||pA()}function dA(e,t){if(!!e){if(typeof e=="string")return cs(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return cs(e,t)}}function ls(e,t){var r;!((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0)&&r.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function Zb(e,t,r){r==="Designer"&&(e.parent=t,ls(e,"parent"))}function vA(e,t,r){e.forEach(function(n){Zb(n,t,r)})}var Yb=Symbol("targetKey");function em(e){var t;return(t=e[Yb])!==null&&t!==void 0?t:e}function tm(e,t,r){return vA(e,t,r),new Proxy(e,{get:function(o,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===Yb?o:(l=Reflect).get.apply(l,[o,i].concat(Qb(c)))},set:function(o,i,u){for(var c=arguments.length,a=new Array(c>3?c-3:0),l=3;l<c;l++)a[l-3]=arguments[l];var f;if(os(e)&&i==="length"&&u===e.length)return!0;var _=(f=Reflect).set.apply(f,[o,i,u].concat(Qb(a)));return Wb(u)&&Zb(u,t,r),_}})}function St(e,t,r,n,o){var i=n!=null?n:e,u=tm(em(r!=null?r:[]),i,o);Object.defineProperty(e,t,{get:function(){return u},set:function(a){u=tm(em(a),i,o)},enumerable:!0})}function hA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bA(e,t,r){return t&&nm(e.prototype,t),r&&nm(e,r),e}function qt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var rm=[],To=function(){function e(t){hA(this,e),qt(this,"registeredControlTypes",new Set),qt(this,"controlConfigMap",new Map),qt(this,"_controls",[]),qt(this,"_type",void 0),this._type=t,this._initControls(t)}return bA(e,[{key:"registerControlConfig",value:function(r,n){return this.controlConfigMap.set(r,n),this}},{key:"getControlConfig",value:function(r){return this.controlConfigMap.get(r)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(r){r.__is_control__||Xr("".concat(r.name," is not a Control"));var n=this._controls.findIndex(function(o){return o.controlType===r.controlType});return n>-1&&(es("The ".concat(r.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(n,1)),this.registeredControlTypes.add(r.controlType),this._controls.push(r),this}},{key:"isLayoutControl",value:function(r){return r.controlType===xn.LAYOUT}},{key:"isFormControl",value:function(r){return r.controlType===xn.FORM}},{key:"isListControl",value:function(r){return r.controlType===xn.LIST}},{key:"isColumnControl",value:function(r){return r.controlType===xn.COLUMN}},{key:"createControl",value:function(r,n){var o=this;if(Array.isArray(r))return r.map(function(f){return o.createControl(f,n)});if(r.children&&(r.children=r.children.map(function(f){return o.createControl(f,n)})),this.isListControl(r)){var i=r.props;i.headers&&(i.headers=i.headers.map(function(f){return o.createControl(f,n)})),i.footers&&(i.footers=i.footers.map(function(f){var _;return f&&(_=o.createControl(f,n)),_}))}var u=this.getControlFormType(r.type);if(u){var c=r;if(typeof n=="function"){var a=n(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 Xr("The constructor of ".concat(r.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(r,n){delete r.parent,Object.defineProperty(r,"parent",{configurable:!0,get:function(){return n}}),ls(r,"parent")}},{key:"_setParentPrototypeToSchema",value:function(r,n){n._type==="Runtime"&&(Object.defineProperty(r,"parent",{configurable:!0,get:function(){var i=r.id,u=n._controlParentIdMap,c=n.instanceMap;if(!(!u||!c)){var a=u[i],l=c[i];if(!(!a&&!l)){var f=l.findIndex(function(m){return m==r}),_=c[a]||[],p;return _.length!==l.length?p=_[0]:p=_[f],p}}}}),ls(r,"parent"))}},{key:"createControlInstance",value:function(r,n){var o=this.getControlFormType(r);if(o)return new o(n)}},{key:"getControlFormType",value:function(r){return this._controls.find(function(n){return n.controlType===r})}},{key:"_initControls",value:function(r){var n=this;this.constructor.staticControls.forEach(function(o){n.register(o[r]),e.staticControlsRuntimeRules.set(o.Runtime.controlType,o.Property.RuntimeRules),o.Property.mode=r})}}],[{key:"staticGetRules",value:function(r,n){var o=e.staticControlsRuntimeRules.get(r),i=[];if(o){var u=new o(n);i=Array.from(u)}return i}},{key:"register",value:function(r,n){var o=r.Designer,i=r.Runtime,u=r.Property;(!o||!i||!o.__is_control__||!i.__is_control__)&&Xr("".concat(r," is can't register as a Control"));var c=this.staticControls.findIndex(function(a){return a.Designer.controlType===o.controlType});return c>-1&&(es("The ".concat(o.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(c,1)),this.staticRegisteredTypes.add(o.controlType),this.staticControls.push(r),u.mode=n,this}}]),e}();qt(To,"staticControlsRuntimeRules",new Map),qt(To,"staticControls",rm),qt(To,"staticRegisteredTypes",new Set(rm.map(function(e){return e.Designer.controlType}))),qt(To,"staticRegisteredConfigs",new Map);function M(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Io(e){return Io=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Io(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&&as(e,t)}function mA(e,t){return t&&(gA(t)==="object"||typeof t=="function")?t:M(e)}function as(e,t){return as=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},as(e,t)}function gA(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ye(e){var t=OA();return function(){var n=Io(e),o;if(t){var i=Io(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mA(this,o)}}var et=function e(t){E(this,e),h(this,"dataCode",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(this,"aliasCode",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:"",this.aliasCode=t==null?void 0:t.aliasCode},om=function e(t){E(this,e),h(this,"minWidth",void 0),h(this,"maxWidth",void 0),h(this,"flex",void 0);var r;this.minWidth=(r=t==null?void 0:t.minWidth)!==null&&r!==void 0?r:150,this.maxWidth=t==null?void 0:t.maxWidth;var n;this.flex=(n=t==null?void 0:t.flex)!==null&&n!==void 0?n:1},fs=function(e){Ze(r,e);var t=Ye(r);function r(n){E(this,r);var o;o=t.call(this,n),h(M(o),"width",void 0),h(M(o),"widthType",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:240;var u;return o.widthType=(u=n==null?void 0:n.widthType)!==null&&u!==void 0?u:"auto",o}return r}(om),im=function e(t){E(this,e),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new fs(t==null?void 0:t.pc),this.mobile=t!=null&&t.mobile?new fs(t==null?void 0:t.mobile):new fs({width:130,minWidth:180})},wA=function e(t){E(this,e),h(this,"type",void 0),h(this,"customOptions",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"firstThree";var n;this.customOptions=(n=t==null?void 0:t.customOptions)!==null&&n!==void 0?n:[]},Fn=function e(t){E(this,e),h(this,"dataCode",void 0),h(this,"formKey",void 0),h(this,"appId",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.formKey=(n=t==null?void 0:t.formKey)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:""},$A=function(e){Ze(r,e);var t=Ye(r);function r(n){E(this,r);var o;o=t.call(this,n),h(M(o),"primaryControlId",void 0);var i;return o.primaryControlId=(i=n==null?void 0:n.primaryControlId)!==null&&i!==void 0?i:"",o}return r}(Fn),um=function e(t){E(this,e),h(this,"fieldCode",void 0);var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:""},ss=function e(t){E(this,e);var r;h(this,"appId",void 0),h(this,"formKey",void 0),h(this,"headers",void 0);var n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var i;this.headers=(i=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(u){return new um(u)}))!==null&&i!==void 0?i:[]},PA=function e(t){E(this,e),h(this,"fieldName",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0);var r;this.fieldName=(r=t==null?void 0:t.fieldName)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:g.VARCHAR},RA=function(e){Ze(r,e);var t=Ye(r);function r(n){E(this,r);var o;o=t.call(this,n),h(M(o),"title",void 0),h(M(o),"svcCode",void 0),h(M(o),"isOpenFilter",void 0),h(M(o),"filters",void 0);var i;o.title=(i=n==null?void 0:n.title)!==null&&i!==void 0?i:"";var u;o.svcCode=(u=n==null?void 0:n.svcCode)!==null&&u!==void 0?u:"";var c;o.isOpenFilter=(c=n==null?void 0:n.isOpenFilter)!==null&&c!==void 0?c:!1;var a;return o.filters=(a=n==null?void 0:n.filters)!==null&&a!==void 0?a:[],o}return r}(Fn),SA=function e(t){E(this,e);var r,n;h(this,"type","sublist-page"),h(this,"formBind",void 0),h(this,"displayFields",void 0),h(this,"sublists",void 0),this.formBind=new Fn(t==null?void 0:t.formBind);var o;this.displayFields=(o=t==null||(r=t.displayFields)===null||r===void 0?void 0:r.map(function(u){return new PA(u)}))!==null&&o!==void 0?o:[];var i;this.sublists=(i=t==null||(n=t.sublists)===null||n===void 0?void 0:n.map(function(u){return new RA(u)}))!==null&&i!==void 0?i:[]},EA=function e(t){E(this,e),h(this,"type",void 0),h(this,"value",void 0),h(this,"dataCode",void 0),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value,this.dataCode=t==null?void 0:t.dataCode},Jr=function e(t){E(this,e),h(this,"type",void 0),h(this,"value",void 0),h(this,"displayBos",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"custom";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:[];var o;this.displayBos=(o=t==null?void 0:t.displayBos)!==null&&o!==void 0?o:[]},_s=function e(t){var r=this;E(this,e),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","conditions"),h(this,"level",void 0),h(this,"value",void 0),h(this,"children",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Qe();var o;this.ruleId=(o=t==null?void 0:t.ruleId)!==null&&o!==void 0?o:new Date().valueOf();var i;this.level=(i=t==null?void 0:t.level)!==null&&i!==void 0?i:0;var u;this.value=(u=t==null?void 0:t.value)!==null&&u!==void 0?u:"and",this.children=[],Array.isArray(t==null?void 0:t.children)&&(t==null||t.children.map(function(c){if(c.children!==void 0){var a,l=new e(c);(a=r.children)===null||a===void 0||a.push(l)}else{var f,_=new Bo(c);(f=r.children)===null||f===void 0||f.push(_)}}))},Bo=function e(t){E(this,e),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","condition"),h(this,"symbol",void 0),h(this,"checked",void 0),h(this,"describe",void 0),h(this,"leftVariableBo",void 0),h(this,"rightVariableBo",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:Qe();var n;this.ruleId=(n=t==null?void 0:t.ruleId)!==null&&n!==void 0?n:new Date().valueOf();var o;this.symbol=(o=t==null?void 0:t.symbol)!==null&&o!==void 0?o:"";var i;this.checked=(i=t==null?void 0:t.checked)!==null&&i!==void 0?i:!1;var u;this.describe=(u=t==null?void 0:t.describe)!==null&&u!==void 0?u:"",this.leftVariableBo=new EA(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new Jr(t==null?void 0:t.rightVariableBo)},TA=function e(t){E(this,e),h(this,"aliasCode",void 0),h(this,"datasourceBind",void 0),h(this,"relationFields",void 0);var r;this.aliasCode=(r=t==null?void 0:t.aliasCode)!==null&&r!==void 0?r:"",this.datasourceBind=new te(t==null?void 0:t.datasourceBind);var n;this.relationFields=(n=t==null?void 0:t.relationFields)!==null&&n!==void 0?n:[]},Ee=function e(t){E(this,e),h(this,"controlId",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(this,"propName",void 0);var r;this.controlId=(r=t==null?void 0:t.controlId)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:"";var i;this.propName=(i=t==null?void 0:t.propName)!==null&&i!==void 0?i:""},ys=function e(t){E(this,e),h(this,"type",void 0),h(this,"value",void 0),h(this,"fieldType",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"FIELD";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:"",this.fieldType=t==null?void 0:t.fieldType},IA=function e(t){E(this,e),h(this,"columnName",void 0),h(this,"desc",void 0);var r;this.columnName=(r=t.columnName)!==null&&r!==void 0?r:"";var n;this.desc=(n=t.desc)!==null&&n!==void 0?n:!1};function ps(e){var t,r,n,o;this.filters=(o=e==null||(t=e.filters)===null||t===void 0?void 0:t.map(function(c){return c.children!==void 0?new _s(c):new Bo(c)}))!==null&&o!==void 0?o:[];var i;this.viewFilters=(i=e==null||(r=e.viewFilters)===null||r===void 0?void 0:r.map(function(c){return c.children!==void 0?new _s(c):new Bo(c)}))!==null&&i!==void 0?i:[];var u;this.orders=(u=e==null||(n=e.orders)===null||n===void 0?void 0:n.map(function(c){return new IA(c)}))!==null&&u!==void 0?u:[]}var te=function e(t){var r=this;E(this,e),h(this,"dataCode",void 0),h(this,"valueFieldCode",void 0),h(this,"displayBoList",void 0),h(this,"keywordMapping",void 0),h(this,"svcCode",void 0),h(this,"appId",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"isOpenViewFilters",void 0),h(this,"orders",void 0),h(this,"showOrder",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.valueFieldCode=(i=t==null?void 0:t.valueFieldCode)!==null&&i!==void 0?i:"",this.displayBoList=[];var u;this.isOpenViewFilters=(u=t==null?void 0:t.isOpenViewFilters)!==null&&u!==void 0?u:0,Array.isArray(t==null?void 0:t.displayBoList)&&(t==null||t.displayBoList.map(function(f){var _;(_=r.displayBoList)===null||_===void 0||_.push(new ys(f))}));var c;this.keywordMapping=(c=t==null?void 0:t.keywordMapping)!==null&&c!==void 0?c:"";var a;this.showOrder=(a=t==null?void 0:t.showOrder)!==null&&a!==void 0?a:!0;var l;this.svcCode=(l=t==null?void 0:t.svcCode)!==null&&l!==void 0?l:"",ps.call(this,t)},ds=function e(t){E(this,e),h(this,"dataCode",void 0),h(this,"displayBoList",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.displayBoList=(n=t==null?void 0:t.displayBoList)!==null&&n!==void 0?n:[]},Et=function e(t){E(this,e),h(this,"code",void 0),h(this,"color",void 0),h(this,"command",void 0),h(this,"confirmMessage",void 0),h(this,"defaultState",void 0),h(this,"formKey",void 0),h(this,"formType",void 0),h(this,"icon",void 0),h(this,"needConfirm",void 0),h(this,"openType",void 0),h(this,"priorityProcess",void 0);var r;this.code=(r=t==null?void 0:t.code)!==null&&r!==void 0?r:"view";var n;this.color=(n=t==null?void 0:t.color)!==null&&n!==void 0?n:"primary";var o;this.command=(o=t==null?void 0:t.command)!==null&&o!==void 0?o:"view";var i;this.confirmMessage=(i=t==null?void 0:t.confirmMessage)!==null&&i!==void 0?i:void 0;var u;this.defaultState=(u=t==null?void 0:t.defaultState)!==null&&u!==void 0?u:"default";var c;this.formKey=(c=t==null?void 0:t.formKey)!==null&&c!==void 0?c:void 0,this.formType=t==null?void 0:t.formType;var a;this.icon=(a=t==null?void 0:t.icon)!==null&&a!==void 0?a:"iconliulan1";var l;this.needConfirm=(l=t==null?void 0:t.needConfirm)!==null&&l!==void 0?l:!1;var f;this.openType=(f=t==null?void 0:t.openType)!==null&&f!==void 0?f:"modal";var _;this.priorityProcess=(_=t==null?void 0:t.priorityProcess)!==null&&_!==void 0?_:!0},cm=function e(t){E(this,e);var r;h(this,"name",void 0),h(this,"key",void 0),h(this,"value",void 0);var n;this.name=(n=t==null?void 0:t.name)!==null&&n!==void 0?n:"";var o;this.key=(o=t==null?void 0:t.key)!==null&&o!==void 0?o:"";var i;this.value=(i=t==null||(r=t.value)===null||r===void 0?void 0:r.map(function(u){return new ys(u)}))!==null&&i!==void 0?i:[]},Ao=function(e){Ze(r,e);var t=Ye(r);function r(n){E(this,r);var o,i;o=t.call(this,n),h(M(o),"attributes",void 0);var u;return o.attributes=(u=n==null||(i=n.attributes)===null||i===void 0?void 0:i.map(function(c){return new cm(c)}))!==null&&u!==void 0?u:[],o}return r}(te),BA=function(e){Ze(r,e);var t=Ye(r);function r(n){E(this,r);var o,i;o=t.call(this,n),h(M(o),"attributes",void 0),h(M(o),"formCode",void 0);var u;o.attributes=(u=n==null||(i=n.attributes)===null||i===void 0?void 0:i.map(function(a){return new cm(a)}))!==null&&u!==void 0?u:[];var c;return o.formCode=(c=n==null?void 0:n.formCode)!==null&&c!==void 0?c:"",o}return r}(te),lm=function(e){Ze(r,e);var t=Ye(r);function r(n){E(this,r);var o;o=t.call(this,n),h(M(o),"rootNode",void 0),h(M(o),"filterCode",void 0),o.rootNode=new Jr(n==null?void 0:n.rootNode);var i;return o.filterCode=(i=n==null?void 0:n.filterCode)!==null&&i!==void 0?i:"",o}return r}(Ao),am=function e(t){E(this,e);var r;h(this,"dataCode",void 0),h(this,"appId",void 0),h(this,"fillList",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.fillList=(i=t==null||(r=t.fillList)===null||r===void 0?void 0:r.map(function(u){return new Ee(u)}))!==null&&i!==void 0?i:[]},fm=function(e){Ze(r,e);var t=Ye(r);function r(n){E(this,r);var o;return o=t.call(this,n),h(M(o),"filters",void 0),h(M(o),"viewFilters",void 0),h(M(o),"orders",void 0),ps.call(M(o),n),o}return r}(am),sm=function(e){Ze(r,e);var t=Ye(r);function r(n){E(this,r);var o;o=t.call(this,n),h(M(o),"mode",void 0),h(M(o),"multiple",void 0);var i;o.mode=(i=n==null?void 0:n.mode)!==null&&i!==void 0?i:"current";var u;return o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1,o}return r}(am),_m=function e(t){E(this,e),h(this,"stencilName",void 0),h(this,"expression",void 0),h(this,"errMessage",void 0);var r;this.stencilName=(r=t==null?void 0:t.stencilName)!==null&&r!==void 0?r:"";var n;this.expression=(n=t==null?void 0:t.expression)!==null&&n!==void 0?n:"";var o;this.errMessage=(o=t==null?void 0:t.errMessage)!==null&&o!==void 0?o:""},AA=function e(t){E(this,e),h(this,"id",void 0),h(this,"label",void 0),h(this,"value",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:Qe(8);var n;this.label=(n=t==null?void 0:t.label)!==null&&n!==void 0?n:"";var o;this.value=(o=t==null?void 0:t.value)!==null&&o!==void 0?o:this.label};function Tt(e){var t;return(t=e==null?void 0:e.map(function(r){return new AA(r)}))!==null&&t!==void 0?t:[]}var vs=function e(){E(this,e)},xA=function(e){Ze(r,e);var t=Ye(r);function r(n){E(this,r);var o;return o=t.call(this),h(M(o),"amount",void 0),h(M(o),"currency",void 0),o.amount=new et(n==null?void 0:n.amount),o.currency=new et(n==null?void 0:n.currency),o}return r}(vs),kA=function e(t){E(this,e),h(this,"amount",void 0),h(this,"currency",void 0);var r;this.amount=(r=t==null?void 0:t.amount)!==null&&r!==void 0?r:"";var n;this.currency=(n=t==null?void 0:t.currency)!==null&&n!==void 0?n:"CNY"},DA=function(e){Ze(r,e);var t=Ye(r);function r(n){E(this,r);var o;return o=t.call(this),h(M(o),"min",void 0),h(M(o),"max",void 0),o.min=new et(n==null?void 0:n.min),o.max=new et(n==null?void 0:n.max),o}return r}(vs),FA=function e(t){E(this,e),h(this,"min",void 0),h(this,"max",void 0);var r;this.min=(r=t==null?void 0:t.min)!==null&&r!==void 0?r:"";var n;this.max=(n=t==null?void 0:t.max)!==null&&n!==void 0?n:""},NA=function e(t){E(this,e),h(this,"city",void 0),h(this,"cityDisplay",void 0),h(this,"district",void 0),h(this,"districtDisplay",void 0),h(this,"province",void 0),h(this,"provinceDisplay",void 0);var r;this.city=(r=t==null?void 0:t.city)!==null&&r!==void 0?r:"";var n;this.cityDisplay=(n=t==null?void 0:t.cityDisplay)!==null&&n!==void 0?n:"";var o;this.district=(o=t==null?void 0:t.district)!==null&&o!==void 0?o:"";var i;this.districtDisplay=(i=t==null?void 0:t.districtDisplay)!==null&&i!==void 0?i:"";var u;this.province=(u=t==null?void 0:t.province)!==null&&u!==void 0?u:"";var c;this.provinceDisplay=(c=t==null?void 0:t.provinceDisplay)!==null&&c!==void 0?c:""},jA=function(e){Ze(r,e);var t=Ye(r);function r(n){E(this,r);var o;return o=t.call(this),h(M(o),"result",void 0),h(M(o),"unit",void 0),o.result=new et(n==null?void 0:n.result),o.unit=new et(n==null?void 0:n.unit),o}return r}(vs),MA=function e(t){E(this,e),h(this,"result",void 0),h(this,"unit",void 0);var r;this.result=(r=t==null?void 0:t.result)!==null&&r!==void 0?r:0;var n;this.unit=(n=t==null?void 0:t.unit)!==null&&n!==void 0?n:""},hs;(function(e){e.CNY="CNY",e.USD="USD",e.JPY="JPY",e.EUR="EUR",e.INR="INR",e.IDR="IDR",e.BRL="BRL",e.AED="AED",e.AUD="AUD",e.CAD="CAD",e.EGP="EGP",e.GBP="GBP",e.ZAR="ZAR",e.KRW="KRW",e.MAD="MAD",e.MXN="MXN",e.MYR="MYR",e.PHP="PHP",e.PLN="PLN",e.RUB="RUB",e.SGD="SGD",e.THB="THB",e.TRY="TRY",e.TWD="TWD",e.VND="VND",e.HKD="HKD",e.IEP="IEP"})(hs||(hs={}));var s;(function(e){e.DEFAULT_DISPLAY="defaultDisplay",e.REQUIRED="required",e.IS_HIDE="isHide",e.IS_SHOW_UNIT="isShowUnit",e.IMD_SEARCH="immediatelySearch",e.MULTIPLE="multiple",e.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",e.CAPTION="caption",e.IS_HIDE_CAPTION="isHideCaption",e.DEFAULT_SHOW_OPTIONS="defaultShowOptions",e.CAN_SEARCH="canSearch",e.CAN_CHECK="canCheck",e.CAN_EDIT="canEdit",e.CAN_DELETE="canDelete",e.SHOW_UPPER_CASE="showUpperCase",e.MICROMETER="micrometer",e.PRECISION="precision",e.PERCENTAGE="percentage",e.OPTIONAL_LEVEL="optionalLevel",e.CONTAINS_SUB_NODE="containsSubNode",e.DEFAULT_COLLAPSE="defaultCollapse",e.CAN_VIEW_FORM="canViewForm",e.VIEW_FORM_MODEL_TYPE="viewFormModelType",e.SERVER_PAGINATION="serverPagination",e.IS_SHOW_CAPTION_TIP="isShowCaptionTip",e.IS_SHOW_WATERMARK="isShowWatermark",e.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions",e.IS_PASTE="isPaste"})(s||(s={}));var bs;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"})(bs||(bs={}));var Ut=function e(t){E(this,e),h(this,"isShow",void 0),h(this,"priorityProcess",void 0),h(this,"formKey",void 0),h(this,"content",void 0),h(this,"openType",void 0),h(this,"type",void 0);var r;this.isShow=(r=t==null?void 0:t.isShow)!==null&&r!==void 0?r:!0;var n;this.content=(n=t==null?void 0:t.content)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var i;this.openType=(i=t==null?void 0:t.openType)!==null&&i!==void 0?i:"modal";var u;this.type=(u=t==null?void 0:t.type)!==null&&u!==void 0?u:"";var c;this.priorityProcess=(c=t==null?void 0:t.priorityProcess)!==null&&c!==void 0?c:!1},LA=function e(t){E(this,e);var r;h(this,"id",void 0),h(this,"title",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"headers",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Qe(8);var o;this.title=(o=t==null?void 0:t.title)!==null&&o!==void 0?o:"";var i;this.headers=(i=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(u){return new um(u)}))!==null&&i!==void 0?i:[],ps.call(this,t)},CA=function e(t){E(this,e),h(this,"width",void 0),h(this,"height",void 0),h(this,"widthConfig",void 0),h(this,"heightConfig",void 0);var r;this.width=(r=t==null?void 0:t.width)!==null&&r!==void 0?r:"";var n;this.height=(n=t==null?void 0:t.height)!==null&&n!==void 0?n:"";var o;this.widthConfig=(o=t==null?void 0:t.widthConfig)!==null&&o!==void 0?o:"fill";var i;this.heightConfig=(i=t==null?void 0:t.heightConfig)!==null&&i!==void 0?i:"fill"},VA=function e(t){E(this,e),h(this,"optCode",void 0),h(this,"optType",void 0);var r;this.optCode=(r=t==null?void 0:t.optCode)!==null&&r!==void 0?r:"";var n;this.optType=(n=t==null?void 0:t.optType)!==null&&n!==void 0?n:""},zA=function e(t){E(this,e);var r;h(this,"id",void 0),h(this,"name",void 0),h(this,"color",void 0),h(this,"filters",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Qe();var o;this.name=(o=t==null?void 0:t.name)!==null&&o!==void 0?o:"";var i;this.color=(i=t==null?void 0:t.color)!==null&&i!==void 0?i:"theme";var u;this.filters=(u=t==null||(r=t.filters)===null||r===void 0?void 0:r.map(function(c){return c.children!==void 0?new _s(c):new Bo(c)}))!==null&&u!==void 0?u:[]},HA=function e(t){E(this,e),h(this,"id",void 0),h(this,"script",void 0),h(this,"color",void 0);var r;this.id=(r=t.id)!==null&&r!==void 0?r:Qe();var n;this.script=(n=t.script)!==null&&n!==void 0?n:"";var o;this.color=(o=t.color)!==null&&o!==void 0?o:"theme"};function qA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ms(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xo(e,t,r){return ym()?xo=Reflect.construct:xo=function(o,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(o,c),l=new a;return u&&Zr(l,u.prototype),l},xo.apply(null,arguments)}function Wt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qr(e){return Qr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qr(e)}function UA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zr(e,t)}function WA(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function KA(e,t){return t&&(GA(t)==="object"||typeof t=="function")?t:qA(e)}function Zr(e,t){return Zr=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zr(e,t)}function GA(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gs(e){var t=typeof Map=="function"?new Map:void 0;return gs=function(n){if(n===null||!WA(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return xo(n,arguments,Qr(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Zr(o,n)},gs(e)}function ym(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XA(e){var t=ym();return function(){var n=Qr(e),o;if(t){var i=Qr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KA(this,o)}}var Z=function e(t){ms(this,e),Wt(this,"isHide",{type:"boolean"})},yn=function(e){UA(r,e);var t=XA(r);function r(n){return ms(this,r),t.call(this)}return r}(gs(Array)),Y=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";ms(this,e),Wt(this,"isHide",void 0),Wt(this,"className",void 0),Wt(this,"style",void 0),Wt(this,"caption",void 0);var n;this.isHide=(n=t==null?void 0:t.isHide)!==null&&n!==void 0?n:!1,this.style=new CA(t==null?void 0:t.style);var o;this.caption=(o=t==null?void 0:t.caption)!==null&&o!==void 0?o:r};Wt(Y,"mode",void 0),Wt(Y,"Rules",Z),Wt(Y,"RuntimeRules",yn);function _t(){return _t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},_t.apply(this,arguments)}function JA(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Os(e){return Os=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Os(e)}function ko(e,t){return ko=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ko(e,t)}function QA(){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 Do(e,t,r){return QA()?Do=Reflect.construct:Do=function(o,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(o,c),l=new a;return u&&ko(l,u.prototype),l},Do.apply(null,arguments)}function ZA(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function ws(e){var t=typeof Map=="function"?new Map:void 0;return ws=function(n){if(n===null||!ZA(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return Do(n,arguments,Os(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),ko(o,n)},ws(e)}var YA=/%[sdj%]/g,pm=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(pm=function(t,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function $s(e){if(!e||!e.length)return null;var t={};return e.forEach(function(r){var n=r.field;t[n]=t[n]||[],t[n].push(r)}),t}function Fe(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=1,o=t[0],i=t.length;if(typeof o=="function")return o.apply(null,t.slice(1));if(typeof o=="string"){var u=String(o).replace(YA,function(c){if(c==="%%")return"%";if(n>=i)return c;switch(c){case"%s":return String(t[n++]);case"%d":return Number(t[n++]);case"%j":try{return JSON.stringify(t[n++])}catch(a){return"[Circular]"}break;default:return c}});return u}return o}function ex(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function ee(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||ex(t)&&typeof e=="string"&&!e)}function tx(e,t,r){var n=[],o=0,i=e.length;function u(c){n.push.apply(n,c),o++,o===i&&r(n)}e.forEach(function(c){t(c,u)})}function dm(e,t,r){var n=0,o=e.length;function i(u){if(u&&u.length){r(u);return}var c=n;n=n+1,c<o?t(e[c],i):r([])}i([])}function nx(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var vm=function(e){JA(t,e);function t(r,n){var o;return o=e.call(this,"Async Validation Error")||this,o.errors=r,o.fields=n,o}return t}(ws(Error));function rx(e,t,r,n){if(t.first){var o=new Promise(function(_,p){var m=function(w){return n(w),w.length?p(new vm(w,$s(w))):_()},O=nx(e);dm(O,r,m)});return o.catch(function(_){return _}),o}var i=t.firstFields||[];i===!0&&(i=Object.keys(e));var u=Object.keys(e),c=u.length,a=0,l=[],f=new Promise(function(_,p){var m=function(b){if(l.push.apply(l,b),a++,a===c)return n(l),l.length?p(new vm(l,$s(l))):_()};u.length||(n(l),_()),u.forEach(function(O){var b=e[O];i.indexOf(O)!==-1?dm(b,r,m):tx(b,r,m)})});return f.catch(function(_){return _}),f}function hm(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 bm(e,t){if(t){for(var r in t)if(t.hasOwnProperty(r)){var n=t[r];typeof n=="object"&&typeof e[r]=="object"?e[r]=_t(_t({},e[r]),n):e[r]=n}}return e}function mm(e,t,r,n,o,i){e.required&&(!r.hasOwnProperty(e.field)||ee(t,i||e.type))&&n.push(Fe(o.messages.required,e.fullField))}function ox(e,t,r,n,o){(/^\s+$/.test(t)||t==="")&&n.push(Fe(o.messages.whitespace,e.fullField))}var Ps={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Yr={integer:function(t){return Yr.number(t)&&parseInt(t,10)===t},float:function(t){return Yr.number(t)&&!Yr.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(r){return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!Yr.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(Ps.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(Ps.url)},hex:function(t){return typeof t=="string"&&!!t.match(Ps.hex)}};function ix(e,t,r,n,o){if(e.required&&t===void 0){mm(e,t,r,n,o);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],u=e.type;i.indexOf(u)>-1?Yr[u](t)||n.push(Fe(o.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&n.push(Fe(o.messages.types[u],e.fullField,e.type))}function ux(e,t,r,n,o){var i=typeof e.len=="number",u=typeof e.min=="number",c=typeof e.max=="number",a=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l=t,f=null,_=typeof t=="number",p=typeof t=="string",m=Array.isArray(t);if(_?f="number":p?f="string":m&&(f="array"),!f)return!1;m&&(l=t.length),p&&(l=t.replace(a,"_").length),i?l!==e.len&&n.push(Fe(o.messages[f].len,e.fullField,e.len)):u&&!c&&l<e.min?n.push(Fe(o.messages[f].min,e.fullField,e.min)):c&&!u&&l>e.max?n.push(Fe(o.messages[f].max,e.fullField,e.max)):u&&c&&(l<e.min||l>e.max)&&n.push(Fe(o.messages[f].range,e.fullField,e.min,e.max))}var Nn="enum";function cx(e,t,r,n,o){e[Nn]=Array.isArray(e[Nn])?e[Nn]:[],e[Nn].indexOf(t)===-1&&n.push(Fe(o.messages[Nn],e.fullField,e[Nn].join(", ")))}function lx(e,t,r,n,o){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(Fe(o.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var i=new RegExp(e.pattern);i.test(t)||n.push(Fe(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var k={required:mm,whitespace:ox,type:ix,range:ux,enum:cx,pattern:lx};function ax(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ee(t,"string")&&!e.required)return r();k.required(e,t,n,i,o,"string"),ee(t,"string")||(k.type(e,t,n,i,o),k.range(e,t,n,i,o),k.pattern(e,t,n,i,o),e.whitespace===!0&&k.whitespace(e,t,n,i,o))}r(i)}function fx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ee(t)&&!e.required)return r();k.required(e,t,n,i,o),t!==void 0&&k.type(e,t,n,i,o)}r(i)}function sx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t===""&&(t=void 0),ee(t)&&!e.required)return r();k.required(e,t,n,i,o),t!==void 0&&(k.type(e,t,n,i,o),k.range(e,t,n,i,o))}r(i)}function _x(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ee(t)&&!e.required)return r();k.required(e,t,n,i,o),t!==void 0&&k.type(e,t,n,i,o)}r(i)}function yx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ee(t)&&!e.required)return r();k.required(e,t,n,i,o),ee(t)||k.type(e,t,n,i,o)}r(i)}function px(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ee(t)&&!e.required)return r();k.required(e,t,n,i,o),t!==void 0&&(k.type(e,t,n,i,o),k.range(e,t,n,i,o))}r(i)}function dx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ee(t)&&!e.required)return r();k.required(e,t,n,i,o),t!==void 0&&(k.type(e,t,n,i,o),k.range(e,t,n,i,o))}r(i)}function vx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t==null&&!e.required)return r();k.required(e,t,n,i,o,"array"),t!=null&&(k.type(e,t,n,i,o),k.range(e,t,n,i,o))}r(i)}function hx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ee(t)&&!e.required)return r();k.required(e,t,n,i,o),t!==void 0&&k.type(e,t,n,i,o)}r(i)}var bx="enum";function mx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ee(t)&&!e.required)return r();k.required(e,t,n,i,o),t!==void 0&&k[bx](e,t,n,i,o)}r(i)}function gx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ee(t,"string")&&!e.required)return r();k.required(e,t,n,i,o),ee(t,"string")||k.pattern(e,t,n,i,o)}r(i)}function Ox(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ee(t,"date")&&!e.required)return r();if(k.required(e,t,n,i,o),!ee(t,"date")){var c;t instanceof Date?c=t:c=new Date(t),k.type(e,c,n,i,o),c&&k.range(e,c.getTime(),n,i,o)}}r(i)}function wx(e,t,r,n,o){var i=[],u=Array.isArray(t)?"array":typeof t;k.required(e,t,n,i,o,u),r(i)}function Rs(e,t,r,n,o){var i=e.type,u=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(ee(t,i)&&!e.required)return r();k.required(e,t,n,u,o,i),ee(t,i)||k.type(e,t,n,u,o)}r(u)}function $x(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ee(t)&&!e.required)return r();k.required(e,t,n,i,o)}r(i)}var eo={string:ax,method:fx,number:sx,boolean:_x,regexp:yx,integer:px,float:dx,array:vx,object:hx,enum:mx,pattern:gx,date:Ox,url:Rs,hex:Rs,email:Rs,required:wx,any:$x};function Ss(){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 Es=Ss();function Kt(e){this.rules=null,this._messages=Es,this.define(e)}Kt.prototype={messages:function(t){return t&&(this._messages=bm(Ss(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if(typeof t!="object"||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var r,n;for(r in t)t.hasOwnProperty(r)&&(n=t[r],this.rules[r]=Array.isArray(n)?n:[n])},validate:function(t,r,n){var o=this;r===void 0&&(r={}),n===void 0&&(n=function(){});var i=t,u=r,c=n;if(typeof u=="function"&&(c=u,u={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(),Promise.resolve();function a(b){var w,v=[],$={};function P(R){if(Array.isArray(R)){var S;v=(S=v).concat.apply(S,R)}else v.push(R)}for(w=0;w<b.length;w++)P(b[w]);v.length?$=$s(v):(v=null,$=null),c(v,$)}if(u.messages){var l=this.messages();l===Es&&(l=Ss()),bm(l,u.messages),u.messages=l}else u.messages=this.messages();var f,_,p={},m=u.keys||Object.keys(this.rules);m.forEach(function(b){f=o.rules[b],_=i[b],f.forEach(function(w){var v=w;typeof v.transform=="function"&&(i===t&&(i=_t({},i)),_=i[b]=v.transform(_)),typeof v=="function"?v={validator:v}:v=_t({},v),v.validator=o.getValidationMethod(v),v.field=b,v.fullField=v.fullField||b,v.type=o.getType(v),v.validator&&(p[b]=p[b]||[],p[b].push({rule:v,value:_,source:i,field:b}))})});var O={};return rx(p,u,function(b,w){var v=b.rule,$=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");$=$&&(v.required||!v.required&&b.value),v.field=b.field;function P(j,T){return _t(_t({},T),{},{fullField:v.fullField+"."+j})}function R(j){j===void 0&&(j=[]);var T=j;if(Array.isArray(T)||(T=[T]),!u.suppressWarning&&T.length&&Kt.warning("async-validator:",T),T.length&&v.message!==void 0&&(T=[].concat(v.message)),T=T.map(hm(v)),u.first&&T.length)return O[v.field]=1,w(T);if(!$)w(T);else{if(v.required&&!b.value)return v.message!==void 0?T=[].concat(v.message).map(hm(v)):u.error&&(T=[u.error(v,Fe(u.messages.required,v.field))]),w(T);var G={};if(v.defaultField)for(var B in b.value)b.value.hasOwnProperty(B)&&(G[B]=v.defaultField);G=_t(_t({},G),b.rule.fields);for(var Pt in G)if(G.hasOwnProperty(Pt)){var Ro=Array.isArray(G[Pt])?G[Pt]:[G[Pt]];G[Pt]=Ro.map(P.bind(null,Pt))}var Ur=new Kt(G);Ur.messages(u.messages),b.rule.options&&(b.rule.options.messages=u.messages,b.rule.options.error=u.error),Ur.validate(b.value,b.rule.options||u,function(Bn){var Rt=[];T&&T.length&&Rt.push.apply(Rt,T),Bn&&Bn.length&&Rt.push.apply(Rt,Bn),w(Rt.length?Rt:null)})}}var S;v.asyncValidator?S=v.asyncValidator(v,b.value,R,b.source,u):v.validator&&(S=v.validator(v,b.value,R,b.source,u),S===!0?R():S===!1?R(v.message||v.field+" fails"):S instanceof Array?R(S):S instanceof Error&&R(S.message)),S&&S.then&&S.then(function(){return R()},function(j){return R(j)})},function(b){a(b)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!eo.hasOwnProperty(t.type))throw new Error(Fe("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if(typeof t.validator=="function")return t.validator;var r=Object.keys(t),n=r.indexOf("message");return n!==-1&&r.splice(n,1),r.length===1&&r[0]==="required"?eo.required:eo[this.getType(t)]||!1}},Kt.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");eo[t]=r},Kt.warning=pm,Kt.messages=Es,Kt.validators=eo;var Px={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 Rx(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Kt(e);return r.messages(Object.assign(Px,t)),r}var Sx=new uA;function Ts(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Ex(e){if(Array.isArray(e))return e}function Tx(e){if(Array.isArray(e))return Ts(e)}function gm(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(l){r(l);return}c.done?t(a):Promise.resolve(a).then(n,o)}function Om(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){gm(i,n,o,u,c,"next",a)}function c(a){gm(i,n,o,u,c,"throw",a)}u(void 0)})}}function Ix(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Bx(e,t,r){return t&&wm(e.prototype,t),r&&wm(e,r),e}function L(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $m(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Pm(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ax(){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 xx(){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 Rm(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){L(e,o,r[o])})}return e}function kx(e){return Ex(e)||Pm(e)||Sm(e)||Ax()}function Is(e){return Tx(e)||Pm(e)||Sm(e)||xx()}function Sm(e,t){if(!!e){if(typeof e=="string")return Ts(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ts(e,t)}}function Em(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(f){l=[6,f],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var C=function(){function t(r){var n=this;Ix(this,t),L(this,"id",void 0),L(this,"name",void 0),L(this,"icon",void 0),L(this,"type",void 0),L(this,"controlType",void 0),L(this,"props",void 0),L(this,"setting",[]),L(this,"fieldType",void 0),L(this,"eventKeys",[]),L(this,"customEvents",[]),L(this,"parent",null),L(this,"updateSetting",Im),L(this,"removeSetting",Tm),this._callControlHooks("preInstance",r);var o=$m(this,t)?this.constructor:void 0,i=o.controlName,u=o.controlIcon,c=o.controlType,a=o.controlFieldType,l=o.controlEventKeys,f=o.controlCustomEvents,_=o.name,p=o.setting;i&&u&&c||zb("The ".concat(_," controlName,controlIcon,controlType is not define"));var m;this.id=(m=r==null?void 0:r.id)!==null&&m!==void 0?m:Qe(10),this.name=i,this.icon=u;var O;this.type=(O=r==null?void 0:r.type)!==null&&O!==void 0?O:c,this.props=new Y(r==null?void 0:r.props,($m(this,t)?this.constructor:void 0).controlName);var b;this.controlType=(b=r==null?void 0:r.controlType)!==null&&b!==void 0?b:"base",this.setting=Ht(p);var w;this.fieldType=(w=r==null?void 0:r.fieldType)!==null&&w!==void 0?w:a,this.eventKeys=Ht(l),this.customEvents=Ht(f),Promise.resolve().then(function(){n._callControlHooks("postInstance",r)})}return Bx(t,[{key:"rules",get:function(){var n=this.props.constructor.Rules;return n?new n(this.props):{}}},{key:"_callControlHooks",value:function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];var u,c=kx(o),a=c[0],l=c.slice(1);return(u=Sx).emit.apply(u,[a,this].concat(Is(l)))}},{key:"preUpdate",value:function(n,o){this._callControlHooks("preUpdateProps",n,o)}},{key:"postUpdate",value:function(n,o){this._callControlHooks("postUpdateProps",n,o)}},{key:"updateProps",value:function(n,o){this.preUpdate(n,o),K1(this.props,n,o),this.postUpdate(n,o)}},{key:"preValidate",value:function(){var n=this;return Om(function(){var o,i,u;return Em(this,function(c){switch(c.label){case 0:return o=Rm({},n.rules),[4,n._callControlHooks("preValidate",o)];case 1:return i=c.sent(),u=i[i.length-1],[2,u===!1?void 0:u]}})})()}},{key:"validate",value:function(n,o){var i=this;return Om(function(){var u,c,a,l;return Em(this,function(f){switch(f.label){case 0:return[4,i.preValidate()];case 1:u=f.sent(),c=u!==void 0?u:Rm({},i.rules),Array.isArray(o)&&o.forEach(function(_){c.hasOwnProperty(_)&&delete c[_]}),a=Rx(c,n),f.label=2;case 2:return f.trys.push([2,4,,5]),[4,a.validate(i.props)];case 3:return f.sent(),[2,!0];case 4:throw l=f.sent(),l.control||(l.control=i),l;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,o=this.fieldType,i=this.id,u=this.type,c=this.props,a=c.dataBind,l=c.datasourceBind,f=c.optionConfig,_=c.caption,p=c.required,m=c.maxLength,O=c.options,b=c.encrypted,w=c.encryptedMode;if(!(!o&&!a&&!l)){var v={parentId:n,fieldType:o,controlId:i,caption:_,type:u,props:{}};switch(a&&(v.dataBind=a),f){case"datasource":case void 0:l&&(v.datasourceBind=l);break;case"custom":v.props.options=O;break}return p!==void 0&&(v.required=p),m!==void 0&&(v.maxLength=m),b!==void 0&&(v.encrypted=b),w!==void 0&&(v.encryptedMode=w),v}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Ht(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(n,o){if(n==="setting"){if(o.add){var i;(i=this.setting).push.apply(i,Is(o.add))}o.remove&&this.removeSettingItem(o.remove),o.update}}}]),t}();L(C,"mode","Designer"),L(C,"controlName","\u63A7\u4EF6"),L(C,"controlIcon","icon"),L(C,"controlType","control"),L(C,"controlFieldType",void 0),L(C,"controlEventKeys",[]),L(C,"controlCustomEvents",[]),L(C,"setting",[]),L(C,"__is_control__",!0),L(C,"removeSettingItem",Tm),L(C,"updateSettingItem",Im);function Tm(e){var t=this,r=Array.isArray(e)?e:[e];r.forEach(function(n){var o,i=typeof n!="string",u=(o=t.setting)===null||o===void 0?void 0:o.findIndex(function(l){return l.key===(i?n.key:n)});if(u!==-1){var c,a;i?t.setting[u].showItems=(c=t.setting[u].showItems)===null||c===void 0?void 0:c.filter(function(l){return!n.hideItems.includes(l)}):t.setting.splice(u,1),i&&!(!((a=t.setting[u].showItems)===null||a===void 0)&&a.length)&&t.setting.splice(u,1)}})}function Im(e,t){var r=this,n=typeof e=="string"?[e]:e;n.forEach(function(o){var i=r.setting.find(function(l){return l.key===o});if(i){if(typeof t=="boolean")i.visible=t;else if(typeof t=="object"){var u,c=(u=t.type)!==null&&u!==void 0?u:"replace";if(c==="replace")i.showItems=t.showItems;else{var a;(a=i.showItems).push.apply(a,Is(t.showItems))}}}})}function Dx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Fx(e,t,r){return t&&Bm(e.prototype,t),r&&Bm(e,r),e}function Ne(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nx(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var It=function(){function t(r){Dx(this,t),Ne(this,"id",void 0),Ne(this,"type",void 0),Ne(this,"controlType",void 0),Ne(this,"props",void 0),Ne(this,"fieldType",void 0),Ne(this,"customEvents",[]),Ne(this,"pageStatus",void 0),Ne(this,"parent",null);var n=Nx(this,t)?this.constructor:void 0,o=n.controlType,i=n.controlFieldType,u=n.name,c=n.controlCustomEvents;o||zb("The ".concat(u," controlType is not define"));var a;this.id=(a=r==null?void 0:r.id)!==null&&a!==void 0?a:Qe(10);var l;this.type=(l=r==null?void 0:r.type)!==null&&l!==void 0?l:o,this.props=new Y(r==null?void 0:r.props),this.customEvents=c;var f;this.controlType=(f=r==null?void 0:r.controlType)!==null&&f!==void 0?f:"base";var _;this.fieldType=(_=r==null?void 0:r.fieldType)!==null&&_!==void 0?_:i;var p;this.pageStatus=(p=r==null?void 0:r.pageStatus)!==null&&p!==void 0?p:bs.UNKNOWN}return Fx(t,[{key:"rules",get:function(){var n=this.props.constructor.RuntimeRules;if(n){var o=new n(this.props);return Array.from(o)}return[]}}]),t}();Ne(It,"mode","Runtime"),Ne(It,"controlType","control"),Ne(It,"controlFieldType",void 0),Ne(It,"__is_control__",!0),Ne(It,"controlCustomEvents",[]);function Bs(e){e.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),e.hasOwnProperty("options")||(this.options={type:"any"}),e.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),e.hasOwnProperty("options")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="custom")?this.options=[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:d.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:d.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(r,n,o){n.length===0&&o(d.getMessage("optionIsRequired")),o()}},{type:"array",validator:function(r,n,o){var i=n.map(function(c){return c.value}),u=J1(i);i.length!==u.length?o(d.getMessage("optionIdIsRepeat")):o()},message:d.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(r,n,o){n.length===0&&o(d.getMessage("pleaseBindAtLeastOneDisplayValue")),o()},message:d.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}])}function Fo(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage(r?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage(r?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage(r?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:d.getMessage("isNotString")},key:{type:"string",required:!0,message:d.getMessage("isNotString")},value:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(o,i,u){i.length===0&&u(d.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),u()},message:d.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}]}function jx(e){return(e==null?void 0:e.dataCode)!==void 0&&(e==null?void 0:e.fieldCode)!==void 0}function H(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function No(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jo(e){return jo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jo(e)}function Mo(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&As(e,t)}function Mx(e,t){return t&&(Lx(t)==="object"||typeof t=="function")?t:H(e)}function As(e,t){return As=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},As(e,t)}function Lx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Cx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Lo(e){var t=Cx();return function(){var n=jo(e),o;if(t){var i=jo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Mx(this,o)}}var pe=function(e){Mo(r,e);var t=Lo(r);function r(n){No(this,r);var o;o=t.call(this,n),q(H(o),"dataBind",{}),q(H(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),q(H(o),"isHideCaption",{type:"boolean"}),q(H(o),"labelPosition",{type:"enum",enum:["top","left"]}),q(H(o),"defaultState",{type:"enum",enum:["default","readonly"]}),q(H(o),"required",{type:"boolean"}),q(H(o),"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")});var i={fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")}};if(jx(n.dataBind))o.dataBind={type:"object",required:!0,fields:Ht(i),message:d.getMessage("pleaseEnterFieldCode")};else{var u={type:"object",required:!0,fields:{},message:d.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(c){u.fields[c]={type:"object",required:!0,fields:Ht(i),message:d.getMessage("pleaseEnterFieldCode")}}),o.dataBind=u}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Z),U=function(e){Mo(r,e);var t=Lo(r);function r(n){No(this,r);var o;o=t.call(this,n);var i=n.isHide?!1:n.required;return i&&o.push({type:"string",required:i,message:n.requiredMessage!==""?n.requiredMessage:d.getMessage("runtimeRequired",{caption:n.caption})}),o}return r}(yn),D=function(e){Mo(r,e);var t=Lo(r);function r(n){No(this,r);var o;o=t.call(this,n),q(H(o),"caption",void 0),q(H(o),"isHideCaption",void 0),q(H(o),"isShowCaptionTip",void 0),q(H(o),"captionTip",void 0),q(H(o),"labelPosition",void 0),q(H(o),"dataBind",void 0),q(H(o),"defaultValue",void 0),q(H(o),"placeholder",void 0),q(H(o),"defaultState",void 0),q(H(o),"required",void 0),q(H(o),"requiredMessage",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var c;o.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var l;o.defaultState=(l=n==null?void 0:n.defaultState)!==null&&l!==void 0?l:"default";var f;o.labelPosition=(f=n==null?void 0:n.labelPosition)!==null&&f!==void 0?f:"top";var _;o.placeholder=(_=n==null?void 0:n.placeholder)!==null&&_!==void 0?_:"";var p;o.required=(p=n==null?void 0:n.required)!==null&&p!==void 0?p:!1;var m;o.requiredMessage=(m=n==null?void 0:n.requiredMessage)!==null&&m!==void 0?m:"",o.dataBind=new et(n==null?void 0:n.dataBind);var O;return o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:"",o}return r}(Y);q(D,"Rules",pe),q(D,"RuntimeRules",U);var jn=function(e){Mo(r,e);var t=Lo(r);function r(n){No(this,r);var o;return o=t.call(this,n),q(H(o),"optionConfig",{type:"enum",enum:["custom","datasource"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")}),q(H(o),"options",[{type:"array",message:d.getMessage("isNotArray")}]),q(H(o),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),Bs.call(H(o),n),o}return r}(pe);function xs(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Co(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vo(e){return Vo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vo(e)}function zx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ks(e,t)}function Hx(e,t){return t&&(qx(t)==="object"||typeof t=="function")?t:xs(e)}function ks(e,t){return ks=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ks(e,t)}function qx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ux(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wx(e){var t=Ux();return function(){var n=Vo(e),o;if(t){var i=Vo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Hx(this,o)}}var F=function(e){zx(r,e);var t=Wx(r);function r(n){Vx(this,r);var o;return o=t.call(this,n),Co(xs(o),"controlType","form"),Co(xs(o),"props",void 0),o.props=new D(n==null?void 0:n.props),o}return r}(C);Co(F,"controlEventKeys",["on_change","on_focus","on_blur"]),Co(F,"controlCustomAttributes",void 0);function zo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ds(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ho(e){return Ho=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ho(e)}function Gx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fs(e,t)}function Xx(e,t){return t&&(Jx(t)==="object"||typeof t=="function")?t:zo(e)}function Fs(e,t){return Fs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fs(e,t)}function Jx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zx(e){var t=Qx();return function(){var n=Ho(e),o;if(t){var i=Ho(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xx(this,o)}}var N=function(e){Gx(r,e);var t=Zx(r);function r(n){Kx(this,r);var o;return o=t.call(this,n),Ds(zo(o),"controlType","form"),Ds(zo(o),"props",void 0),Ds(zo(o),"value",void 0),o.props=new D(n==null?void 0:n.props),o}return r}(It);function Yx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ek(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qo(e){return qo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qo(e)}function tk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ns(e,t)}function nk(e,t){return t&&(rk(t)==="object"||typeof t=="function")?t:Yx(e)}function Ns(e,t){return Ns=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ns(e,t)}function rk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ok(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ik(e){var t=ok();return function(){var n=qo(e),o;if(t){var i=qo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nk(this,o)}}var ie=function(e){tk(r,e);var t=ik(r);function r(n){return ek(this,r),t.call(this,n)}return r}(Y);function js(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function uk(e){if(Array.isArray(e))return js(e)}function pn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Am(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(l){r(l);return}c.done?t(a):Promise.resolve(a).then(n,o)}function ck(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){Am(i,n,o,u,c,"next",a)}function c(a){Am(i,n,o,u,c,"throw",a)}u(void 0)})}}function lk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ak(e,t,r){return t&&xm(e.prototype,t),r&&xm(e,r),e}function Gt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mn(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Mn=Reflect.get:Mn=function(o,i,u){var c=bk(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Mn(e,t,r||e)}function Xt(e){return Xt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xt(e)}function fk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ms(e,t)}function sk(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function _k(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function yk(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function pk(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Gt(e,o,r[o])})}return e}function dk(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function vk(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):dk(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function hk(e,t){return t&&(mk(t)==="object"||typeof t=="function")?t:pn(e)}function Ms(e,t){return Ms=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ms(e,t)}function bk(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Xt(e),e!==null););return e}function km(e){return uk(e)||_k(e)||gk(e)||yk()}function mk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gk(e,t){if(!!e){if(typeof e=="string")return js(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return js(e,t)}}function Ok(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wk(e){var t=Ok();return function(){var n=Xt(e),o;if(t){var i=Xt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hk(this,o)}}function $k(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(f){l=[6,f],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var Pk=1e4,ue=function(t){fk(n,t);var r=wk(n);function n(o){lk(this,n);var i;i=r.call(this,o),Gt(pn(i),"controlType","layout"),Gt(pn(i),"children",void 0),Gt(pn(i),"excludes",void 0),Gt(pn(i),"childrenMaxLength",void 0),Gt(pn(i),"props",void 0);var u=sk(this,n)?this.constructor:void 0,c=u.excludes,a=u.childrenMaxLength;return i.props=new ie(o==null?void 0:o.props),St(pn(i),"children",o==null?void 0:o.children,void 0,"Designer"),i.excludes=Ht(c),i.childrenMaxLength=a,i}return ak(n,[{key:"judgeExcludesChildren",value:function(i){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i)}},{key:"judgeJoinChildren",value:function(i){var u=this.judgeExcludesChildren(i);return u&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(i,u){var c=this,a=this,l=function(){return Mn(Xt(n.prototype),"validate",c)};return ck(function(){return $k(this,function(f){switch(f.label){case 0:return[4,l().call(a,i,u)];case 1:return f.sent(),[4,Promise.all(a.children.map(function(_){return _.validate(i,u)}))];case 2:return f.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=Mn(Xt(n.prototype),"toDataBindModel",this).call(this),c=u?[u]:[];return this.children.reduce(function(a,l){var f=l.toDataBindModel(i);if(Array.isArray(f)){var _=f.filter(function(p){return!!p});return km(a).concat(km(_))}return f&&a.push(f),a},c)}},{key:"toSchema",value:function(){var i=Mn(Xt(n.prototype),"toSchema",this).call(this),u=this.children.map(function(c){var a=c.toSchema();return a});return vk(pk({},i),{children:u})}}]),n}(C);Gt(ue,"excludes",!1),Gt(ue,"childrenMaxLength",Pk);function to(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ls(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Uo(e){return Uo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uo(e)}function Sk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cs(e,t)}function Ek(e,t){return t&&(Tk(t)==="object"||typeof t=="function")?t:to(e)}function Cs(e,t){return Cs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cs(e,t)}function Tk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ik(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bk(e){var t=Ik();return function(){var n=Uo(e),o;if(t){var i=Uo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ek(this,o)}}var dn=function(e){Sk(r,e);var t=Bk(r);function r(n){Rk(this,r);var o;return o=t.call(this,n),Ls(to(o),"controlType","layout"),Ls(to(o),"children",void 0),Ls(to(o),"props",void 0),o.props=new ie(n==null?void 0:n.props),St(to(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(It);function Bt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ak(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ln(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wo(e){return Wo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wo(e)}function xk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vs(e,t)}function kk(e,t){return t&&(Dk(t)==="object"||typeof t=="function")?t:Bt(e)}function Vs(e,t){return Vs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vs(e,t)}function Dk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nk(e){var t=Fk();return function(){var n=Wo(e),o;if(t){var i=Wo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kk(this,o)}}var zs=function(e){xk(r,e);var t=Nk(r);function r(n,o,i){Ak(this,r);var u;u=t.call(this,o),Ln(Bt(u),"headers",void 0),Ln(Bt(u),"footers",void 0),Ln(Bt(u),"pageIndex",void 0),Ln(Bt(u),"pageSize",void 0),Ln(Bt(u),"pageSizeOptions",void 0),Ln(Bt(u),"totalCount",void 0),St(Bt(u),"headers",o==null?void 0:o.headers,n,i),St(Bt(u),"footers",o==null?void 0:o.footers,n);var c;u.pageIndex=(c=o==null?void 0:o.pageIndex)!==null&&c!==void 0?c:1;var a;u.pageSize=(a=o==null?void 0:o.pageSize)!==null&&a!==void 0?a:20;var l;u.pageSizeOptions=(l=o==null?void 0:o.pageSizeOptions)!==null&&l!==void 0?l:[20];var f;return u.totalCount=(f=o==null?void 0:o.totalCount)!==null&&f!==void 0?f:0,u}return r}(Y);function Hs(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function jk(e){if(Array.isArray(e))return Hs(e)}function Ko(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dm(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(l){r(l);return}c.done?t(a):Promise.resolve(a).then(n,o)}function Mk(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){Dm(i,n,o,u,c,"next",a)}function c(a){Dm(i,n,o,u,c,"throw",a)}u(void 0)})}}function Lk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ck(e,t,r){return t&&Fm(e.prototype,t),r&&Fm(e,r),e}function Go(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cn(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Cn=Reflect.get:Cn=function(o,i,u){var c=Wk(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Cn(e,t,r||e)}function Jt(e){return Jt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jt(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&&qs(e,t)}function zk(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Hk(){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 Nm(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Go(e,o,r[o])})}return e}function qk(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function jm(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):qk(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Uk(e,t){return t&&(Kk(t)==="object"||typeof t=="function")?t:Ko(e)}function qs(e,t){return qs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qs(e,t)}function Wk(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Jt(e),e!==null););return e}function Mm(e){return jk(e)||zk(e)||Gk(e)||Hk()}function Kk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Gk(e,t){if(!!e){if(typeof e=="string")return Hs(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Hs(e,t)}}function Xk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jk(e){var t=Xk();return function(){var n=Jt(e),o;if(t){var i=Jt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Uk(this,o)}}function Qk(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(f){l=[6,f],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var Us=function(e){Vk(r,e);var t=Jk(r);function r(n){Lk(this,r);var o;return o=t.call(this,n),Go(Ko(o),"controlType","list"),Go(Ko(o),"props",void 0),o.props=new zs(Ko(o),n==null?void 0:n.props,"Designer"),o}return Ck(r,[{key:"validate",value:function(o,i){var u=this,c=this,a=function(){return Cn(Jt(r.prototype),"validate",u)};return Mk(function(){return Qk(this,function(l){switch(l.label){case 0:return[4,a().call(c,o)];case 1:return l.sent(),[4,Promise.all(c.props.headers.map(function(f){return f.validate(o,i)}))];case 2:return l.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var o=Cn(Jt(r.prototype),"toDataBindModel",this).call(this),i=o?[o]:[],u=this.id;return this.props.headers.reduce(function(c,a){var l=a.toDataBindModel(u);if(Array.isArray(l)){var f=l.filter(function(_){return!!_});return Mm(c).concat(Mm(f))}return l&&c.push(l),c},i)}},{key:"toSchema",value:function(){var o,i,u=Cn(Jt(r.prototype),"toSchema",this).call(this),c=this.props.headers.map(function(l){return l.toSchema()}),a=(i=this.props)===null||i===void 0||(o=i.footers)===null||o===void 0?void 0:o.map(function(l){if(l)return l.toSchema()});return jm(Nm({},u),{props:jm(Nm({},this.props),{headers:c,footers:a})})}}]),r}(C);Go(Us,"controlFieldType",g.LIST);function ce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ws(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function de(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xo(e){return Xo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xo(e)}function Ks(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gs(e,t)}function Zk(e,t){return t&&(Yk(t)==="object"||typeof t=="function")?t:ce(e)}function Gs(e,t){return Gs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gs(e,t)}function Yk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function e2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xs(e){var t=e2();return function(){var n=Xo(e),o;if(t){var i=Xo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Zk(this,o)}}var yt=function(e){Ks(r,e);var t=Xs(r);function r(n){Ws(this,r);var o;return o=t.call(this,n),de(ce(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),de(ce(o),"width",{type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")}),o.width.required=n.widthType==="px",o}return r}(Z),Q=function(e){Ks(r,e);var t=Xs(r);function r(n){Ws(this,r);var o;o=t.call(this,n),de(ce(o),"widthType",void 0),de(ce(o),"width",void 0),de(ce(o),"caption",void 0),de(ce(o),"dataBind",void 0),de(ce(o),"autoWidth",void 0),de(ce(o),"fixed",void 0),de(ce(o),"sort",void 0),de(ce(o),"align",void 0),de(ce(o),"colSpan",void 0),de(ce(o),"autoHeight",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:150,o.widthType=(n==null?void 0:n.widthType)||"auto";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var c;o.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:"none",o.autoWidth=new om(n==null?void 0:n.autoWidth),o.dataBind=new et(n==null?void 0:n.dataBind);var a;o.sort=(a=n==null?void 0:n.sort)!==null&&a!==void 0?a:!0,o.align=n==null?void 0:n.align,o.colSpan=n==null?void 0:n.colSpan;var l;return o.autoHeight=(l=n==null?void 0:n.autoHeight)!==null&&l!==void 0?l:!1,o}return r}(Y);de(Q,"Rules",yt);var Lm=function(e){Ks(r,e);var t=Xs(r);function r(n){Ws(this,r);var o;return o=t.call(this,n),de(ce(o),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")}),de(ce(o),"options",[{type:"array",message:d.getMessage("isNotArray")}]),de(ce(o),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),Bs.call(ce(o),n),o}return r}(yt);function Js(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function t2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jo(e){return Jo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jo(e)}function n2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 r2(e,t){return t&&(o2(t)==="object"||typeof t=="function")?t:Js(e)}function Qs(e,t){return Qs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qs(e,t)}function o2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function i2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function u2(e){var t=i2();return function(){var n=Jo(e),o;if(t){var i=Jo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return r2(this,o)}}var le=function(e){n2(r,e);var t=u2(r);function r(n){t2(this,r);var o;return o=t.call(this,n),Cm(Js(o),"controlType","column"),Cm(Js(o),"props",void 0),o.props=new Q(n==null?void 0:n.props),o}return r}(C);function Zs(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qo(e){return Qo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qo(e)}function l2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 a2(e,t){return t&&(f2(t)==="object"||typeof t=="function")?t:Zs(e)}function Ys(e,t){return Ys=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ys(e,t)}function f2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function s2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _2(e){var t=s2();return function(){var n=Qo(e),o;if(t){var i=Qo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return a2(this,o)}}var ae=function(e){l2(r,e);var t=_2(r);function r(n){c2(this,r);var o;return o=t.call(this,n),Vm(Zs(o),"controlType","column"),Vm(Zs(o),"props",void 0),o.props=new Q(n==null?void 0:n.props),o}return r}(It);function zm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p2(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zo(e){return Zo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zo(e)}function d2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&e_(e,t)}function v2(e,t){return t&&(h2(t)==="object"||typeof t=="function")?t:zm(e)}function e_(e,t){return e_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},e_(e,t)}function h2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function b2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function m2(e){var t=b2();return function(){var n=Zo(e),o;if(t){var i=Zo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return v2(this,o)}}var t_=function(e){d2(r,e);var t=m2(r);function r(n){y2(this,r);var o;return o=t.call(this,n),p2(zm(o),"dataBind",void 0),o.dataBind=new et(n==null?void 0:n.dataBind),o}return r}(ie);function n_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yo(e){return Yo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yo(e)}function O2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r_(e,t)}function w2(e,t){return t&&($2(t)==="object"||typeof t=="function")?t:n_(e)}function r_(e,t){return r_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},r_(e,t)}function $2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function P2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function R2(e){var t=P2();return function(){var n=Yo(e),o;if(t){var i=Yo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return w2(this,o)}}var S2=function(e){O2(r,e);var t=R2(r);function r(n){g2(this,r);var o;return o=t.call(this,n),Hm(n_(o),"controlType","search"),Hm(n_(o),"props",void 0),o.props=new t_(n==null?void 0:n.props),o}return r}(ue);function o_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ei(e){return ei=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ei(e)}function T2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i_(e,t)}function I2(e,t){return t&&(B2(t)==="object"||typeof t=="function")?t:o_(e)}function i_(e,t){return i_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},i_(e,t)}function B2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function A2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function x2(e){var t=A2();return function(){var n=ei(e),o;if(t){var i=ei(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return I2(this,o)}}var k2=function(e){T2(r,e);var t=x2(r);function r(n){E2(this,r);var o;return o=t.call(this,n),qm(o_(o),"controlType","search"),qm(o_(o),"props",void 0),o.props=new t_(n==null?void 0:n.props),o}return r}(dn);function Qt(e){e.hasOwnProperty("linkOperationOption")&&e.hasOwnProperty("showLinkOperation")&&e.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}}}])}function vn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ti(e){return ti=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ti(e)}function F2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 N2(e,t){return t&&(j2(t)==="object"||typeof t=="function")?t:vn(e)}function u_(e,t){return u_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},u_(e,t)}function j2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function M2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function L2(e){var t=M2();return function(){var n=ti(e),o;if(t){var i=ti(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return N2(this,o)}}var C2=function(e){F2(r,e);var t=L2(r);function r(n){D2(this,r);var o;o=t.call(this,n),Vn(vn(o),"content",void 0),Vn(vn(o),"fontSize",void 0),Vn(vn(o),"color",void 0),Vn(vn(o),"icon",void 0),Vn(vn(o),"align",void 0),Vn(vn(o),"showState",void 0);var i;o.fontSize=(i=n==null?void 0:n.fontSize)!==null&&i!==void 0?i:"14px";var u;o.color=(u=n==null?void 0:n.color)!==null&&u!==void 0?u:"#646A73";var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:"page-hint";var a;o.showState=(a=n==null?void 0:n.showState)!==null&&a!==void 0?a:"text";var l;o.content=(l=n==null?void 0:n.content)!==null&&l!==void 0?l:"\u8BF4\u660E\u6587\u5B57";var f;return o.align=(f=n==null?void 0:n.align)!==null&&f!==void 0?f:"",o}return r}(Y);function Um(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function z2(e,t,r){return t&&Wm(e.prototype,t),r&&Wm(e,r),e}function Km(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ni(e){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ni(e)}function H2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c_(e,t)}function q2(e,t){return t&&(U2(t)==="object"||typeof t=="function")?t:Um(e)}function c_(e,t){return c_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},c_(e,t)}function U2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function W2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function K2(e){var t=W2();return function(){var n=ni(e),o;if(t){var i=ni(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return q2(this,o)}}var G2=function(e){H2(r,e);var t=K2(r);function r(n){V2(this,r);var o;return o=t.call(this,n),Km(Um(o),"props",void 0),o.props=new C2(n==null?void 0:n.props),o}return z2(r,null,[{key:"controlName",get:function(){return"\u8BF4\u660E\u6587\u5B57"}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),r}(C);Km(G2,"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 ri(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oi(e){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oi(e)}function J2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a_(e,t)}function Q2(e,t){return t&&(Z2(t)==="object"||typeof t=="function")?t:ri(e)}function a_(e,t){return a_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},a_(e,t)}function Z2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Y2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eD(e){var t=Y2();return function(){var n=oi(e),o;if(t){var i=oi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Q2(this,o)}}var tD=function(e){J2(r,e);var t=eD(r);function r(n){X2(this,r);var o;o=t.call(this,n),l_(ri(o),"content",void 0),l_(ri(o),"url",void 0),l_(ri(o),"openMode",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5";var u;o.url=(u=n==null?void 0:n.url)!==null&&u!==void 0?u:"";var c;return o.openMode=(c=n==null?void 0:n.openMode)!==null&&c!==void 0?c:"new",o}return r}(Y);function Gm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rD(e,t,r){return t&&Xm(e.prototype,t),r&&Xm(e,r),e}function f_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ii(e){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ii(e)}function oD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 iD(e,t){return t&&(uD(t)==="object"||typeof t=="function")?t:Gm(e)}function s_(e,t){return s_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},s_(e,t)}function uD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lD(e){var t=cD();return function(){var n=ii(e),o;if(t){var i=ii(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iD(this,o)}}var Jm=function(e){oD(r,e);var t=lD(r);function r(n){nD(this,r);var o;return o=t.call(this,n),f_(Gm(o),"props",void 0),o.props=new tD(n==null?void 0:n.props),o}return rD(r,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),r}(C);f_(Jm,"controlEventKeys",["on_click"]),f_(Jm,"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 pt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function At(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ui(e){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ui(e)}function fD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&__(e,t)}function sD(e,t){return t&&(_D(t)==="object"||typeof t=="function")?t:pt(e)}function __(e,t){return __=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},__(e,t)}function _D(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pD(e){var t=yD();return function(){var n=ui(e),o;if(t){var i=ui(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sD(this,o)}}var je=function(e){fD(r,e);var t=pD(r);function r(n){aD(this,r);var o;o=t.call(this,n),At(pt(o),"content",void 0),At(pt(o),"buttonType",void 0),At(pt(o),"showType",void 0),At(pt(o),"color",void 0),At(pt(o),"icon",void 0),At(pt(o),"defaultState",void 0),At(pt(o),"command",void 0),At(pt(o),"isLoading",void 0),At(pt(o),"optObj",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6309\u94AE";var u;o.buttonType=(u=n==null?void 0:n.buttonType)!==null&&u!==void 0?u:"primary";var c;o.showType=(c=n==null?void 0:n.showType)!==null&&c!==void 0?c:"text";var a;o.color=(a=n==null?void 0:n.color)!==null&&a!==void 0?a:"primary";var l;o.icon=(l=n==null?void 0:n.icon)!==null&&l!==void 0?l:"iconfenlei2";var f;o.defaultState=(f=n==null?void 0:n.defaultState)!==null&&f!==void 0?f:"default";var _;o.command=(_=n==null?void 0:n.command)!==null&&_!==void 0?_:"custom";var p;o.isLoading=(p=n==null?void 0:n.isLoading)!==null&&p!==void 0?p:!1;var m;return o.optObj=new VA((m=n==null?void 0:n.optObj)!==null&&m!==void 0?m:{}),o}return r}(Y);function Qm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vD(e,t,r){return t&&Zm(e.prototype,t),r&&Zm(e,r),e}function y_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ci(e){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ci(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&&p_(e,t)}function bD(e,t){return t&&(mD(t)==="object"||typeof t=="function")?t:Qm(e)}function p_(e,t){return p_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},p_(e,t)}function mD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OD(e){var t=gD();return function(){var n=ci(e),o;if(t){var i=ci(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bD(this,o)}}var Te=function(e){hD(r,e);var t=OD(r);function r(n){dD(this,r);var o;return o=t.call(this,n),y_(Qm(o),"props",void 0),o.props=new je(n==null?void 0:n.props),o}return vD(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}(C);y_(Te,"controlEventKeys",["on_click"]),y_(Te,"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 Zt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function A(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var xt;(function(e){e.ShowBizKey="is_show_biz_key",e.ShowSubmitUser="is_show_submit_user",e.ShowSubmitTime="is_show_submit_time",e.ShowSubmitDept="is_show_submit_dept",e.ShowCurrentApprovar="is_show_current_approvar",e.ShowTitle="is_show_title"})(xt||(xt={}));var Ym;(function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"})(Ym||(Ym={}));var eg;(function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"})(eg||(eg={}));var d_=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:Qe(8),value:["",""]};Zt(this,e),A(this,"dateConfigType",void 0),A(this,"dateLimitType",void 0),A(this,"id",void 0),A(this,"value",void 0),this.id=t.id,this.dateConfigType=t.dateConfigType,this.dateLimitType=t.dateLimitType,this.value=t.value},v_;(function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"})(v_||(v_={}));var h_=function e(t){Zt(this,e),A(this,"id",void 0),A(this,"text",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:Qe();var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""},b_;(function(e){e.SOLID="solid-line",e.DASHED="dashed-line",e.BOLD_SOLID="bold-solid-line",e.BOLD_DASHED="bold-dashed-line",e.DOUBLE_SOLID="double-solid-line",e.DOUBLE_DASHED="double-dashed-line"})(b_||(b_={}));var tg=function e(t){Zt(this,e),A(this,"type",void 0),A(this,"person",void 0),A(this,"signatureType",void 0),A(this,"telephone",void 0),A(this,"company",void 0),A(this,"remark",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"private";var n;this.person=new Jr((n=t==null?void 0:t.person)!==null&&n!==void 0?n:{type:"form"});var o;this.signatureType=(o=t==null?void 0:t.signatureType)!==null&&o!==void 0?o:[];var i,u;this.telephone=(u=t==null?void 0:t.telephone)!==null&&u!==void 0?u:new Jr((i=t==null?void 0:t.telephone)!==null&&i!==void 0?i:{type:"form"});var c,a;this.company=(a=t==null?void 0:t.company)!==null&&a!==void 0?a:new Jr((c=t==null?void 0:t.company)!==null&&c!==void 0?c:{type:"form"});var l;this.remark=(l=t==null?void 0:t.remark)!==null&&l!==void 0?l:""},wD=function e(t){Zt(this,e);var r;A(this,"fileControl",void 0),A(this,"undersignedList",void 0),A(this,"statusControl",void 0),A(this,"completeControl",void 0),A(this,"completeTimeControl",void 0);var n;this.fileControl=(n=t==null?void 0:t.fileControl)!==null&&n!==void 0?n:"";var o;this.undersignedList=(o=t==null||(r=t.undersignedList)===null||r===void 0?void 0:r.map(function(a){return new tg(a)}))!==null&&o!==void 0?o:[new tg];var i;this.statusControl=(i=t==null?void 0:t.statusControl)!==null&&i!==void 0?i:"";var u;this.completeControl=(u=t==null?void 0:t.completeControl)!==null&&u!==void 0?u:"";var c;this.completeTimeControl=(c=t==null?void 0:t.completeTimeControl)!==null&&c!==void 0?c:""},ng=function e(t){Zt(this,e),A(this,"id",void 0),A(this,"appId",void 0),A(this,"dataCode",void 0),A(this,"svcCode",void 0),A(this,"name",void 0),A(this,"fieldList",void 0),A(this,"active",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:Qe(8);var n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.dataCode=(o=t==null?void 0:t.dataCode)!==null&&o!==void 0?o:"";var i;this.svcCode=(i=t==null?void 0:t.svcCode)!==null&&i!==void 0?i:"";var u;this.name=(u=t==null?void 0:t.name)!==null&&u!==void 0?u:"";var c;this.fieldList=(c=t==null?void 0:t.fieldList)!==null&&c!==void 0?c:[];var a;this.active=(a=t==null?void 0:t.active)!==null&&a!==void 0?a:!1},rg=function e(t){Zt(this,e),A(this,"active",void 0),A(this,"text",void 0);var r;this.active=(r=t==null?void 0:t.active)!==null&&r!==void 0?r:!1;var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""},$D=function e(t){Zt(this,e),A(this,"types",void 0),A(this,"history",void 0),A(this,"collaborativeRecord",void 0),A(this,"logicToDelete",void 0),A(this,"watermark",void 0),A(this,"autoRename",void 0);var r;this.types=(r=t==null?void 0:t.types)!==null&&r!==void 0?r:["word","ppt","excel"];var n;this.history=(n=t==null?void 0:t.history)!==null&&n!==void 0?n:!1;var o;this.collaborativeRecord=(o=t==null?void 0:t.collaborativeRecord)!==null&&o!==void 0?o:!1;var i;this.logicToDelete=(i=t==null?void 0:t.logicToDelete)!==null&&i!==void 0?i:!0,this.watermark=new rg(t==null?void 0:t.watermark),this.autoRename=new rg(t==null?void 0:t.autoRename)},PD=480;function li(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var RD=function e(t){Zt(this,e),A(this,"fileId",void 0),A(this,"fileName",void 0),A(this,"ruleName",void 0),A(this,"isDefault",void 0),A(this,"rules",void 0);var r;this.fileId=(r=t==null?void 0:t.fileId)!==null&&r!==void 0?r:"";var n;this.fileName=(n=t==null?void 0:t.fileName)!==null&&n!==void 0?n:"";var o;this.ruleName=(o=t==null?void 0:t.ruleName)!==null&&o!==void 0?o:"";var i;this.isDefault=(i=t.isDefault)!==null&&i!==void 0?i:!1;var u;this.rules=(u=t.rules)!==null&&u!==void 0?u:[]},og;(function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"})(og||(og={}));var m_;(function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"})(m_||(m_={}));var ai;(function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"})(ai||(ai={}));var Yt;(function(e){e.ALL="all",e.ASSIGN="assign"})(Yt||(Yt={}));var g_;(function(e){e.ALL="all",e.ADMIN="admin"})(g_||(g_={}));function O_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ig(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fi(e){return fi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fi(e)}function 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&&w_(e,t)}function TD(e,t){return t&&(ID(t)==="object"||typeof t=="function")?t:O_(e)}function w_(e,t){return w_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},w_(e,t)}function ID(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AD(e){var t=BD();return function(){var n=fi(e),o;if(t){var i=fi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TD(this,o)}}var xD=function(e){ED(r,e);var t=AD(r);function r(n){SD(this,r);var o;o=t.call(this,n),ig(O_(o),"color",void 0),ig(O_(o),"lineStyle",void 0);var i;o.color=(i=n==null?void 0:n.color)!==null&&i!==void 0?i:"#000";var u;return o.lineStyle=(u=n==null?void 0:n.lineStyle)!==null&&u!==void 0?u:b_.SOLID,o}return r}(Y);function ug(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function DD(e,t,r){return t&&cg(e.prototype,t),r&&cg(e,r),e}function lg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function si(e){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},si(e)}function FD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$_(e,t)}function ND(e,t){return t&&(jD(t)==="object"||typeof t=="function")?t:ug(e)}function $_(e,t){return $_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$_(e,t)}function jD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LD(e){var t=MD();return function(){var n=si(e),o;if(t){var i=si(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ND(this,o)}}var CD=function(e){FD(r,e);var t=LD(r);function r(n){kD(this,r);var o;return o=t.call(this,n),lg(ug(o),"props",void 0),o.props=new xD(n==null?void 0:n.props),o}return DD(r,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),r}(C);lg(CD,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]}]);function en(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ag(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _i(e){return _i=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_i(e)}function fg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&P_(e,t)}function VD(e,t){return t&&(zD(t)==="object"||typeof t=="function")?t:en(e)}function P_(e,t){return P_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},P_(e,t)}function zD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sg(e){var t=HD();return function(){var n=_i(e),o;if(t){var i=_i(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VD(this,o)}}var qD=function(e){fg(r,e);var t=sg(r);function r(n){ag(this,r);var o;return o=t.call(this,n),tn(en(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),tn(en(o),"dataBind",{type:"any"}),tn(en(o),"config",{type:"array"}),n.config.includes(xt.ShowBizKey)&&(o.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")}},message:d.getMessage("bizKeyNotBindFiled")}),!n.isHide&&n.config.length===0&&(o.config={type:"array",min:1,required:!0,message:d.getMessage("pleaseSelectOneField")}),o}return r}(Z),_g=function(e){fg(r,e);var t=sg(r);function r(n){ag(this,r);var o;o=t.call(this,n),tn(en(o),"dataBind",void 0),tn(en(o),"caption",void 0),tn(en(o),"config",void 0),tn(en(o),"position",void 0),o.dataBind=new et(n==null?void 0:n.dataBind);var i;o.config=(i=n==null?void 0:n.config)!==null&&i!==void 0?i:[xt.ShowSubmitUser,xt.ShowSubmitDept,xt.ShowSubmitTime,xt.ShowCurrentApprovar,xt.ShowTitle];var u,c;o.caption=(c=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:no==null?void 0:no.controlName)!==null&&c!==void 0?c:"";var a;return o.position=(a=n==null?void 0:n.position)!==null&&a!==void 0?a:"top",o}return r}(Y);tn(_g,"Rules",qD);function yg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function WD(e,t,r){return t&&pg(e.prototype,t),r&&pg(e,r),e}function R_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yi(e){return yi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yi(e)}function KD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 GD(e,t){return t&&(XD(t)==="object"||typeof t=="function")?t:yg(e)}function S_(e,t){return S_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},S_(e,t)}function XD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QD(e){var t=JD();return function(){var n=yi(e),o;if(t){var i=yi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GD(this,o)}}var no=function(e){KD(r,e);var t=QD(r);function r(n){UD(this,r);var o;return o=t.call(this,n),R_(yg(o),"props",void 0),o.props=new _g(n==null?void 0:n.props),o}return WD(r,null,[{key:"controlName",get:function(){return"\u6807\u9898\u7EC4\u4EF6"}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),r}(C);R_(no,"controlFieldType",g.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 pi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function di(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vi(e){return vi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vi(e)}function vg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&E_(e,t)}function ZD(e,t){return t&&(YD(t)==="object"||typeof t=="function")?t:pi(e)}function E_(e,t){return E_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},E_(e,t)}function YD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hg(e){var t=eF();return function(){var n=vi(e),o;if(t){var i=vi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZD(this,o)}}var tF=function(e){vg(r,e);var t=hg(r);function r(n){dg(this,r);var o;return o=t.call(this,n),di(pi(o),"formKey",{type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}),o}return r}(Z),bg=function(e){vg(r,e);var t=hg(r);function r(n){dg(this,r);var o;o=t.call(this,n),di(pi(o),"formKey",void 0),di(pi(o),"openType",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:bi.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:bi.controlName;var c;o.formKey=(c=n==null?void 0:n.formKey)!==null&&c!==void 0?c:"";var a;return o.openType=(a=n==null?void 0:n.openType)!==null&&a!==void 0?a:"modal",o}return r}(je);di(bg,"Rules",tF);function mg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rF(e,t,r){return t&&gg(e.prototype,t),r&&gg(e,r),e}function T_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hi(e){return hi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hi(e)}function oF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&I_(e,t)}function iF(e,t){return t&&(uF(t)==="object"||typeof t=="function")?t:mg(e)}function I_(e,t){return I_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},I_(e,t)}function uF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lF(e){var t=cF();return function(){var n=hi(e),o;if(t){var i=hi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iF(this,o)}}var bi=function(e){oF(r,e);var t=lF(r);function r(n){nF(this,r);var o;return o=t.call(this,n),T_(mg(o),"props",void 0),o.props=new bg(n==null?void 0:n.props),o}return rF(r,null,[{key:"controlName",get:function(){return"\u521B\u5EFA\u5355\u636E"}},{key:"controlIcon",get:function(){return"iconchuangjiandanju"}},{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),r}(Te);T_(bi,"controlEventKeys",["on_click","on_click_finish"]),T_(bi,"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 zn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Og(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mi(e){return mi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mi(e)}function wg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 aF(e,t){return t&&(fF(t)==="object"||typeof t=="function")?t:zn(e)}function B_(e,t){return B_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},B_(e,t)}function fF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $g(e){var t=sF();return function(){var n=mi(e),o;if(t){var i=mi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aF(this,o)}}var _F=function(e){wg(r,e);var t=$g(r);function r(n){Og(this,r);var o;return o=t.call(this,n),Hn(zn(o),"processKey",[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterProcess")}]),o}return r}(Z),Pg=function(e){wg(r,e);var t=$g(r);function r(n){Og(this,r);var o;o=t.call(this,n),Hn(zn(o),"processKey",void 0),Hn(zn(o),"initiatorMode",void 0),Hn(zn(o),"fieldCode",void 0),Hn(zn(o),"employeeId",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Oi.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:Oi.controlName;var c;o.initiatorMode=(c=n==null?void 0:n.initiatorMode)!==null&&c!==void 0?c:"currentInitiator";var a;o.processKey=(a=n==null?void 0:n.processKey)!==null&&a!==void 0?a:"";var l;o.fieldCode=(l=n==null?void 0:n.fieldCode)!==null&&l!==void 0?l:"";var f;return o.employeeId=(f=n==null?void 0:n.employeeId)!==null&&f!==void 0?f:"",o}return r}(je);Hn(Pg,"Rules",_F);function Rg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pF(e,t,r){return t&&Sg(e.prototype,t),r&&Sg(e,r),e}function A_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gi(e){return gi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gi(e)}function dF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&x_(e,t)}function vF(e,t){return t&&(hF(t)==="object"||typeof t=="function")?t:Rg(e)}function x_(e,t){return x_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},x_(e,t)}function hF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mF(e){var t=bF();return function(){var n=gi(e),o;if(t){var i=gi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vF(this,o)}}var Oi=function(e){dF(r,e);var t=mF(r);function r(n){yF(this,r);var o;return o=t.call(this,n),A_(Rg(o),"props",void 0),o.props=new Pg(n==null?void 0:n.props),o}return pF(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u63D0\u4EA4"}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),r}(Te);A_(Oi,"controlEventKeys",["on_click","on_click_finish"]),A_(Oi,"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 gF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wi(e){return wi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wi(e)}function wF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $F(e,t){return t&&(PF(t)==="object"||typeof t=="function")?t:gF(e)}function k_(e,t){return k_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},k_(e,t)}function PF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SF(e){var t=RF();return function(){var n=wi(e),o;if(t){var i=wi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $F(this,o)}}var EF=function(e){wF(r,e);var t=SF(r);function r(n){OF(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Pi.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Pi.controlIcon,o}return r}(je);function Eg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function IF(e,t,r){return t&&Tg(e.prototype,t),r&&Tg(e,r),e}function D_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $i(e){return $i=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$i(e)}function BF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&F_(e,t)}function AF(e,t){return t&&(xF(t)==="object"||typeof t=="function")?t:Eg(e)}function F_(e,t){return F_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},F_(e,t)}function xF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DF(e){var t=kF();return function(){var n=$i(e),o;if(t){var i=$i(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AF(this,o)}}var Pi=function(e){BF(r,e);var t=DF(r);function r(n){TF(this,r);var o;return o=t.call(this,n),D_(Eg(o),"props",void 0),o.props=new EF(n==null?void 0:n.props),o}return IF(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),r}(Te);D_(Pi,"controlEventKeys",["on_click"]),D_(Pi,"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 N_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ig(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ri(e){return Ri=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ri(e)}function NF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 jF(e,t){return t&&(MF(t)==="object"||typeof t=="function")?t:N_(e)}function j_(e,t){return j_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},j_(e,t)}function MF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CF(e){var t=LF();return function(){var n=Ri(e),o;if(t){var i=Ri(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jF(this,o)}}var VF=function(e){NF(r,e);var t=CF(r);function r(n){FF(this,r);var o,i;o=t.call(this,n),Ig(N_(o),"templateList",void 0),Ig(N_(o),"templateType",void 0);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Ei.controlIcon;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:Ei.controlName;var a;o.templateType=(a=n==null?void 0:n.templateType)!==null&&a!==void 0?a:"system";var l;return o.templateList=(l=n==null||(i=n.templateList)===null||i===void 0?void 0:i.map(function(f){return new ng(f)}))!==null&&l!==void 0?l:[new ng({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return r}(je);function Bg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ag(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function HF(e,t,r){return t&&Ag(e.prototype,t),r&&Ag(e,r),e}function M_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Si(e){return Si=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Si(e)}function qF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&L_(e,t)}function UF(e,t){return t&&(WF(t)==="object"||typeof t=="function")?t:Bg(e)}function L_(e,t){return L_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},L_(e,t)}function WF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GF(e){var t=KF();return function(){var n=Si(e),o;if(t){var i=Si(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return UF(this,o)}}var Ei=function(e){qF(r,e);var t=GF(r);function r(n){zF(this,r);var o;return o=t.call(this,n),M_(Bg(o),"props",void 0),o.props=new VF(n==null?void 0:n.props),o}return HF(r,null,[{key:"controlName",get:function(){return"\u5BFC\u51FA"}},{key:"controlIcon",get:function(){return"iconxiazai1"}},{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),r}(Te);M_(Ei,"controlEventKeys",["on_click","on_click_finish"]),M_(Ei,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function XF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ti(e){return Ti=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ti(e)}function QF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&C_(e,t)}function ZF(e,t){return t&&(YF(t)==="object"||typeof t=="function")?t:XF(e)}function C_(e,t){return C_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},C_(e,t)}function YF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tN(e){var t=eN();return function(){var n=Ti(e),o;if(t){var i=Ti(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZF(this,o)}}var nN=function(e){QF(r,e);var t=tN(r);function r(n){JF(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Bi.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Bi.controlIcon,o}return r}(je);function xg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function oN(e,t,r){return t&&kg(e.prototype,t),r&&kg(e,r),e}function V_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ii(e){return Ii=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ii(e)}function iN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 uN(e,t){return t&&(cN(t)==="object"||typeof t=="function")?t:xg(e)}function z_(e,t){return z_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},z_(e,t)}function cN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aN(e){var t=lN();return function(){var n=Ii(e),o;if(t){var i=Ii(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uN(this,o)}}var Bi=function(e){iN(r,e);var t=aN(r);function r(n){rN(this,r);var o;return o=t.call(this,n),V_(xg(o),"props",void 0),o.props=new nN(n==null?void 0:n.props),o}return oN(r,null,[{key:"controlName",get:function(){return"\u5BFC\u51FA\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"icondaochujilu"}},{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),r}(Te);V_(Bi,"controlEventKeys",["on_click"]),V_(Bi,"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 H_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ai(e){return Ai=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ai(e)}function fN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&U_(e,t)}function sN(e,t){return t&&(_N(t)==="object"||typeof t=="function")?t:H_(e)}function U_(e,t){return U_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},U_(e,t)}function _N(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pN(e){var t=yN();return function(){var n=Ai(e),o;if(t){var i=Ai(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sN(this,o)}}var dN=function e(t){Dg(this,e),q_(this,"dataCode",void 0),this.dataCode=t.dataCode},vN=function(e){fN(r,e);var t=pN(r);function r(n){Dg(this,r);var o,i;o=t.call(this,n),q_(H_(o),"canImportList",void 0),q_(H_(o),"templateType",void 0);var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:ki.controlName;var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:ki.controlIcon;var a;o.canImportList=(a=n==null||(i=n.canImportList)===null||i===void 0?void 0:i.map(function(f){return new dN(f)}))!==null&&a!==void 0?a:[];var l;return o.templateType=(l=n==null?void 0:n.templateType)!==null&&l!==void 0?l:"system",o}return r}(je);function Fg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ng(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bN(e,t,r){return t&&Ng(e.prototype,t),r&&Ng(e,r),e}function W_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xi(e){return xi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xi(e)}function mN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&K_(e,t)}function gN(e,t){return t&&(ON(t)==="object"||typeof t=="function")?t:Fg(e)}function K_(e,t){return K_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},K_(e,t)}function ON(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $N(e){var t=wN();return function(){var n=xi(e),o;if(t){var i=xi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gN(this,o)}}var ki=function(e){mN(r,e);var t=$N(r);function r(n){hN(this,r);var o;return o=t.call(this,n),W_(Fg(o),"props",void 0),o.props=new vN(n==null?void 0:n.props),o}return bN(r,null,[{key:"controlName",get:function(){return"\u5BFC\u5165"}},{key:"controlIcon",get:function(){return"iconshangchuan3"}},{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),r}(Te);W_(ki,"controlEventKeys",["on_click","on_click_finish"]),W_(ki,"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 Di(){return{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:d.getMessage("pleaseSelectControl")}}}}}}function nn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fi(e){return Fi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fi(e)}function Mg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&G_(e,t)}function Lg(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){kt(e,o,r[o])})}return e}function PN(e,t){return t&&(RN(t)==="object"||typeof t=="function")?t:nn(e)}function G_(e,t){return G_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},G_(e,t)}function RN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Cg(e){var t=SN();return function(){var n=Fi(e),o;if(t){var i=Fi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PN(this,o)}}var EN=function(e){Mg(r,e);var t=Cg(r);function r(n){jg(this,r);var o;return o=t.call(this,n),kt(nn(o),"fillPayload",{type:"object",fields:Lg({},Di())}),kt(nn(o),"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}}}),kt(nn(o),"fillBack",{type:"object",fields:Lg({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},Di())}),(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:d.getMessage("pleaseSelectControl")}),o}return r}(Z),Vg=function(e){Mg(r,e);var t=Cg(r);function r(n){jg(this,r);var o;o=t.call(this,n),kt(nn(o),"fillPayload",void 0),kt(nn(o),"formBind",void 0),kt(nn(o),"fillBack",void 0),kt(nn(o),"command",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:ji.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:ji.controlIcon;var c;return o.command=(c=n==null?void 0:n.command)!==null&&c!==void 0?c:"create",o.fillPayload=new fm(n==null?void 0:n.fillPayload),o.formBind=new $A(n==null?void 0:n.formBind),o.fillBack=new sm(n==null?void 0:n.fillBack),o}return r}(je);kt(Vg,"Rules",EN);function zg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function IN(e,t,r){return t&&Hg(e.prototype,t),r&&Hg(e,r),e}function X_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ni(e){return Ni=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ni(e)}function BN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&J_(e,t)}function AN(e,t){return t&&(xN(t)==="object"||typeof t=="function")?t:zg(e)}function J_(e,t){return J_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},J_(e,t)}function xN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DN(e){var t=kN();return function(){var n=Ni(e),o;if(t){var i=Ni(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AN(this,o)}}var ji=function(e){BN(r,e);var t=DN(r);function r(n){TN(this,r);var o;return o=t.call(this,n),X_(zg(o),"props",void 0),o.props=new Vg(n==null?void 0:n.props),o}return IN(r,null,[{key:"controlName",get:function(){return"\u8868\u5355\u64CD\u4F5C"}},{key:"controlIcon",get:function(){return"iconbiaodancaozuo"}},{key:"controlType",get:function(){return"form-select-button"}}]),r}(Te);X_(ji,"controlEventKeys",["on_click","on_click_finish"]),X_(ji,"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 Dt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mi(e){return Mi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mi(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&&Q_(e,t)}function Wg(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){dt(e,o,r[o])})}return e}function FN(e,t){return t&&(NN(t)==="object"||typeof t=="function")?t:Dt(e)}function Q_(e,t){return Q_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Q_(e,t)}function NN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kg(e){var t=jN();return function(){var n=Mi(e),o;if(t){var i=Mi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FN(this,o)}}var MN=function(e){Ug(r,e);var t=Kg(r);function r(n){qg(this,r);var o;return o=t.call(this,n),dt(Dt(o),"fillPayload",{type:"object",fields:Wg({},Di())}),dt(Dt(o),"listPageBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}}),dt(Dt(o),"fillBack",{type:"object",fields:Wg({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},Di())}),o}return r}(Z),Gg=function(e){Ug(r,e);var t=Kg(r);function r(n){qg(this,r);var o;o=t.call(this,n),dt(Dt(o),"fillPayload",void 0),dt(Dt(o),"listPageBind",void 0),dt(Dt(o),"fillBack",void 0),dt(Dt(o),"showSelectedDetail",void 0),dt(Dt(o),"selectedContentConfig",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Ci.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Ci.controlIcon,o.fillPayload=new fm(n==null?void 0:n.fillPayload),o.listPageBind=new ss(n==null?void 0:n.listPageBind),o.fillBack=new sm(n==null?void 0:n.fillBack);var c;return o.showSelectedDetail=(c=n==null?void 0:n.showSelectedDetail)!==null&&c!==void 0?c:!1,o.selectedContentConfig=new ds(n==null?void 0:n.selectedContentConfig),o}return r}(je);dt(Gg,"Rules",MN);function Xg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function CN(e,t,r){return t&&Jg(e.prototype,t),r&&Jg(e,r),e}function Z_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Li(e){return Li=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Li(e)}function VN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Y_(e,t)}function zN(e,t){return t&&(HN(t)==="object"||typeof t=="function")?t:Xg(e)}function Y_(e,t){return Y_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Y_(e,t)}function HN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UN(e){var t=qN();return function(){var n=Li(e),o;if(t){var i=Li(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zN(this,o)}}var Ci=function(e){VN(r,e);var t=UN(r);function r(n){LN(this,r);var o;return o=t.call(this,n),Z_(Xg(o),"props",void 0),o.props=new Gg(n==null?void 0:n.props),o}return CN(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u9009\u62E9"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-select-button"}}]),r}(Te);Z_(Ci,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),Z_(Ci,"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 WN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ey(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vi(e){return Vi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vi(e)}function ty(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ny(e,t)}function KN(e,t){return t&&(GN(t)==="object"||typeof t=="function")?t:WN(e)}function ny(e,t){return ny=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ny(e,t)}function GN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ry(e){var t=XN();return function(){var n=Vi(e),o;if(t){var i=Vi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KN(this,o)}}var JN=function(e){ty(r,e);var t=ry(r);function r(n){return ey(this,r),t.call(this,n)}return r}(Z),QN=function(e){ty(r,e);var t=ry(r);function r(n){return ey(this,r),t.call(this,n)}return r}(yn),oy=function(e){ty(r,e);var t=ry(r);function r(n){return ey(this,r),t.call(this,n)}return r}(Y);Qg(oy,"Rules",JN),Qg(oy,"RuntimeRules",QN);function Zg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function YN(e,t,r){return t&&Yg(e.prototype,t),r&&Yg(e,r),e}function eO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zi(e){return zi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zi(e)}function 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&&iy(e,t)}function tj(e,t){return t&&(nj(t)==="object"||typeof t=="function")?t:Zg(e)}function iy(e,t){return iy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iy(e,t)}function nj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oj(e){var t=rj();return function(){var n=zi(e),o;if(t){var i=zi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tj(this,o)}}var ij=function(e){ej(r,e);var t=oj(r);function r(n){ZN(this,r);var o;return o=t.call(this,n),eO(Zg(o),"props",void 0),o.props=new oy(n==null?void 0:n.props),o}return YN(r,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),r}(C);eO(ij,"setting",[]);function qe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ue(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hi(e){return Hi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hi(e)}function nO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uy(e,t)}function uj(e,t){return t&&(cj(t)==="object"||typeof t=="function")?t:qe(e)}function uy(e,t){return uy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uy(e,t)}function cj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rO(e){var t=lj();return function(){var n=Hi(e),o;if(t){var i=Hi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uj(this,o)}}var aj=function(e){nO(r,e);var t=rO(r);function r(n){tO(this,r);var o;return o=t.call(this,n),Ue(qe(o),"dashboardKey",{type:"string",required:!0,message:d.getMessage("pleaseSelectDashboard")}),Ue(qe(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),Ue(qe(o),"isHideCaption",{type:"boolean"}),Ue(qe(o),"labelPosition",{type:"enum",enum:["top","left"]}),Ue(qe(o),"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Z),oO=function(e){nO(r,e);var t=rO(r);function r(n){tO(this,r);var o;o=t.call(this,n),Ue(qe(o),"dashboardKey",void 0),Ue(qe(o),"caption",void 0),Ue(qe(o),"isHideCaption",void 0),Ue(qe(o),"isShowCaptionTip",void 0),Ue(qe(o),"captionTip",void 0),Ue(qe(o),"labelPosition",void 0);var i;o.dashboardKey=(i=n==null?void 0:n.dashboardKey)!==null&&i!==void 0?i:"";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var c;o.isHideCaption=(c=n==null?void 0:n.isHideCaption)!==null&&c!==void 0?c:!1;var a;o.isShowCaptionTip=(a=n==null?void 0:n.isShowCaptionTip)!==null&&a!==void 0?a:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var f;return o.labelPosition=(f=n==null?void 0:n.labelPosition)!==null&&f!==void 0?f:"top",o}return r}(Y);Ue(oO,"Rules",aj);function iO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function sj(e,t,r){return t&&uO(e.prototype,t),r&&uO(e,r),e}function cO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qi(e){return qi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qi(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&&cy(e,t)}function yj(e,t){return t&&(pj(t)==="object"||typeof t=="function")?t:iO(e)}function cy(e,t){return cy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cy(e,t)}function pj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vj(e){var t=dj();return function(){var n=qi(e),o;if(t){var i=qi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yj(this,o)}}var hj=function(e){_j(r,e);var t=vj(r);function r(n){fj(this,r);var o;return o=t.call(this,n),cO(iO(o),"props",void 0),o.props=new oO(n==null?void 0:n.props),o}return sj(r,null,[{key:"controlName",get:function(){return"\u4EEA\u8868\u76D8"}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),r}(C);cO(hj,"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 ro(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ui(e){return Ui=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ui(e)}function aO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ly(e,t)}function bj(e,t){return t&&(mj(t)==="object"||typeof t=="function")?t:ro(e)}function ly(e,t){return ly=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ly(e,t)}function mj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fO(e){var t=gj();return function(){var n=Ui(e),o;if(t){var i=Ui(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bj(this,o)}}var Oj=function(e){aO(r,e);var t=fO(r);function r(n){lO(this,r);var o;return o=t.call(this,n),oo(ro(o),"showType",{type:"enum",enum:["select","tabs"]}),oo(ro(o),"viewList",{type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:d.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}}}),o}return r}(Z),sO=function(e){aO(r,e);var t=fO(r);function r(n){lO(this,r);var o,i;o=t.call(this,n),oo(ro(o),"showType",void 0),oo(ro(o),"viewList",void 0);var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"select";var c;return o.viewList=(c=n==null||(i=n.viewList)===null||i===void 0?void 0:i.map(function(a){return new LA(a)}))!==null&&c!==void 0?c:[],o}return r}(Y);oo(sO,"Rules",Oj);function _O(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $j(e,t,r){return t&&yO(e.prototype,t),r&&yO(e,r),e}function pO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wi(e){return Wi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wi(e)}function Pj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ay(e,t)}function Rj(e,t){return t&&(Sj(t)==="object"||typeof t=="function")?t:_O(e)}function ay(e,t){return ay=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ay(e,t)}function Sj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ej(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tj(e){var t=Ej();return function(){var n=Wi(e),o;if(t){var i=Wi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Rj(this,o)}}var Ij=function(e){Pj(r,e);var t=Tj(r);function r(n){wj(this,r);var o;return o=t.call(this,n),pO(_O(o),"props",void 0),o.props=new sO(n==null?void 0:n.props),o}return $j(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u89C6\u56FE"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-view-select"}}]),r}(C);pO(Ij,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}]);function Ie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Be(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ki(e){return Ki=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ki(e)}function vO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fy(e,t)}function Bj(e,t){return t&&(Aj(t)==="object"||typeof t=="function")?t:Ie(e)}function fy(e,t){return fy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fy(e,t)}function Aj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hO(e){var t=xj();return function(){var n=Ki(e),o;if(t){var i=Ki(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Bj(this,o)}}var kj=function(e){vO(r,e);var t=hO(r);function r(n){dO(this,r);var o;return o=t.call(this,n),Be(Ie(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),Be(Ie(o),"isHideCaption",{type:"boolean"}),Be(Ie(o),"labelPosition",{type:"enum",enum:["top","left"]}),Be(Ie(o),"ocrType",{type:"string",required:!0,message:d.getMessage("pleaseSelectOcrType")}),Be(Ie(o),"fillList",{type:"array",validator:function(u,c,a){var l=c.every(function(f){return!f.controlId});if(l){a(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}}),Be(Ie(o),"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Z),bO=function(e){vO(r,e);var t=hO(r);function r(n){dO(this,r);var o,i;o=t.call(this,n),Be(Ie(o),"caption",void 0),Be(Ie(o),"isHideCaption",void 0),Be(Ie(o),"isShowCaptionTip",void 0),Be(Ie(o),"captionTip",void 0),Be(Ie(o),"labelPosition",void 0),Be(Ie(o),"ocrType",void 0),Be(Ie(o),"fillList",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:io.controlName;var c;o.isHideCaption=(c=n==null?void 0:n.isHideCaption)!==null&&c!==void 0?c:!1;var a;o.isShowCaptionTip=(a=n==null?void 0:n.isShowCaptionTip)!==null&&a!==void 0?a:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var f;o.labelPosition=(f=n==null?void 0:n.labelPosition)!==null&&f!==void 0?f:"top";var _;o.content=(_=n==null?void 0:n.content)!==null&&_!==void 0?_:io.controlName;var p;o.icon=(p=n==null?void 0:n.icon)!==null&&p!==void 0?p:io.controlIcon;var m;o.ocrType=(m=n==null?void 0:n.ocrType)!==null&&m!==void 0?m:"";var O;return o.fillList=(O=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(b){return new Ee(b)}))!==null&&O!==void 0?O:[],o}return r}(je);Be(bO,"Rules",kj);function mO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Fj(e,t,r){return t&&gO(e.prototype,t),r&&gO(e,r),e}function sy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gi(e){return Gi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gi(e)}function Nj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_y(e,t)}function jj(e,t){return t&&(Mj(t)==="object"||typeof t=="function")?t:mO(e)}function _y(e,t){return _y=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_y(e,t)}function Mj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Cj(e){var t=Lj();return function(){var n=Gi(e),o;if(t){var i=Gi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jj(this,o)}}var io=function(e){Nj(r,e);var t=Cj(r);function r(n){Dj(this,r);var o;return o=t.call(this,n),sy(mO(o),"props",void 0),o.props=new bO(n==null?void 0:n.props),o}return Fj(r,null,[{key:"controlName",get:function(){return"\u6587\u5B57\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconwenzishibie"}},{key:"controlType",get:function(){return"text-ocr-button"}}]),r}(Te);sy(io,"controlEventKeys",["on_click","on_click_finish"]),sy(io,"setting",[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function Ae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xi(e){return Xi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xi(e)}function wO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yy(e,t)}function Vj(e,t){return t&&(zj(t)==="object"||typeof t=="function")?t:Ae(e)}function yy(e,t){return yy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yy(e,t)}function zj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $O(e){var t=Hj();return function(){var n=Xi(e),o;if(t){var i=Xi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vj(this,o)}}var qj=function(e){wO(r,e);var t=$O(r);function r(n){OO(this,r);var o;return o=t.call(this,n),xe(Ae(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),xe(Ae(o),"isHideCaption",{type:"boolean"}),xe(Ae(o),"labelPosition",{type:"enum",enum:["top","left"]}),xe(Ae(o),"invoiceCheck",{type:"boolean"}),xe(Ae(o),"fillList",{type:"array",validator:function(u,c,a){var l=c.every(function(f){return!f.controlId});if(l){a(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}}),xe(Ae(o),"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Z),PO=function(e){wO(r,e);var t=$O(r);function r(n){OO(this,r);var o,i;o=t.call(this,n),xe(Ae(o),"caption",void 0),xe(Ae(o),"isHideCaption",void 0),xe(Ae(o),"isShowCaptionTip",void 0),xe(Ae(o),"captionTip",void 0),xe(Ae(o),"labelPosition",void 0),xe(Ae(o),"invoiceCheck",void 0),xe(Ae(o),"fillList",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:uo.controlName;var c;o.isHideCaption=(c=n==null?void 0:n.isHideCaption)!==null&&c!==void 0?c:!1;var a;o.isShowCaptionTip=(a=n==null?void 0:n.isShowCaptionTip)!==null&&a!==void 0?a:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var f;o.labelPosition=(f=n==null?void 0:n.labelPosition)!==null&&f!==void 0?f:"top";var _;o.content=(_=n==null?void 0:n.content)!==null&&_!==void 0?_:uo.controlName;var p;o.icon=(p=n==null?void 0:n.icon)!==null&&p!==void 0?p:uo.controlIcon;var m;o.invoiceCheck=(m=n==null?void 0:n.invoiceCheck)!==null&&m!==void 0?m:!0;var O;return o.fillList=(O=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(b){return new Ee(b)}))!==null&&O!==void 0?O:[],o}return r}(je);xe(PO,"Rules",qj);function RO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Wj(e,t,r){return t&&SO(e.prototype,t),r&&SO(e,r),e}function py(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ji(e){return Ji=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ji(e)}function Kj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dy(e,t)}function Gj(e,t){return t&&(Xj(t)==="object"||typeof t=="function")?t:RO(e)}function dy(e,t){return dy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dy(e,t)}function Xj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qj(e){var t=Jj();return function(){var n=Ji(e),o;if(t){var i=Ji(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Gj(this,o)}}var uo=function(e){Kj(r,e);var t=Qj(r);function r(n){Uj(this,r);var o;return o=t.call(this,n),py(RO(o),"props",void 0),o.props=new PO(n==null?void 0:n.props),o}return Wj(r,null,[{key:"controlName",get:function(){return"\u53D1\u7968\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconfabiaoshibie1"}},{key:"controlType",get:function(){return"invoice-check-button"}}]),r}(Te);py(uo,"controlEventKeys",["on_click","on_click_finish"]),py(uo,"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 Qi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yi(e){return Yi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yi(e)}function TO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vy(e,t)}function Zj(e,t){return t&&(Yj(t)==="object"||typeof t=="function")?t:Qi(e)}function vy(e,t){return vy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vy(e,t)}function Yj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IO(e){var t=eM();return function(){var n=Yi(e),o;if(t){var i=Yi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Zj(this,o)}}var tM=function(e){TO(r,e);var t=IO(r);function r(){EO(this,r);var n;return n=t.apply(this,arguments),Zi(Qi(n),"printTemplates",{type:"array",min:1,required:!0,message:d.getMessage("pleaseUploadAtLeastOnePrintTemplate")}),n}return r}(Z),BO=function(e){TO(r,e);var t=IO(r);function r(n){EO(this,r);var o,i;o=t.call(this,n),Zi(Qi(o),"printTemplates",void 0),Zi(Qi(o),"autoSelectTemplate",void 0);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:tu.controlIcon;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:tu.controlName;var a;o.printTemplates=(a=n==null||(i=n.printTemplates)===null||i===void 0?void 0:i.map(function(f){return new RD(f)}))!==null&&a!==void 0?a:[];var l;return o.autoSelectTemplate=(l=n==null?void 0:n.autoSelectTemplate)!==null&&l!==void 0?l:!1,o}return r}(je);Zi(BO,"Rules",tM);function AO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rM(e,t,r){return t&&xO(e.prototype,t),r&&xO(e,r),e}function hy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function eu(e){return eu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},eu(e)}function oM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&by(e,t)}function iM(e,t){return t&&(uM(t)==="object"||typeof t=="function")?t:AO(e)}function by(e,t){return by=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},by(e,t)}function uM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lM(e){var t=cM();return function(){var n=eu(e),o;if(t){var i=eu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iM(this,o)}}var tu=function(e){oM(r,e);var t=lM(r);function r(n){nM(this,r);var o;return o=t.call(this,n),hy(AO(o),"props",void 0),o.props=new BO(n==null?void 0:n.props),o}return rM(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u6253\u5370"}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),r}(Te);hy(tu,"controlEventKeys",["on_click","on_click_finish"]),hy(tu,"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 aM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nu(e){return nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nu(e)}function sM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&my(e,t)}function _M(e,t){return t&&(yM(t)==="object"||typeof t=="function")?t:aM(e)}function my(e,t){return my=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},my(e,t)}function yM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dM(e){var t=pM();return function(){var n=nu(e),o;if(t){var i=nu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _M(this,o)}}var vM=function(e){sM(r,e);var t=dM(r);function r(n){fM(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:ou.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:ou.controlIcon,o}return r}(je);function kO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bM(e,t,r){return t&&DO(e.prototype,t),r&&DO(e,r),e}function gy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ru(e){return ru=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ru(e)}function mM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Oy(e,t)}function gM(e,t){return t&&(OM(t)==="object"||typeof t=="function")?t:kO(e)}function Oy(e,t){return Oy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Oy(e,t)}function OM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $M(e){var t=wM();return function(){var n=ru(e),o;if(t){var i=ru(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gM(this,o)}}var ou=function(e){mM(r,e);var t=$M(r);function r(n){hM(this,r);var o;return o=t.call(this,n),gy(kO(o),"props",void 0),o.props=new vM(n==null?void 0:n.props),o}return bM(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u6253\u5370\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),r}(Te);gy(ou,"controlEventKeys",["on_click"]),gy(ou,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function we(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function iu(e){return iu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},iu(e)}function NO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wy(e,t)}function PM(e,t){return t&&(RM(t)==="object"||typeof t=="function")?t:we(e)}function wy(e,t){return wy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wy(e,t)}function RM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jO(e){var t=SM();return function(){var n=iu(e),o;if(t){var i=iu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PM(this,o)}}var EM=function(e){NO(r,e);var t=jO(r);function r(n){FO(this,r);var o;return o=t.call(this,n),$e(we(o),"formKey",{type:"string",required:!1}),(n.command==="edit"||n.command==="view")&&(o.formKey={type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}),o}return r}(Z),uu=function(e){NO(r,e);var t=jO(r);function r(n){FO(this,r);var o;o=t.call(this,n),$e(we(o),"content",void 0),$e(we(o),"code",void 0),$e(we(o),"command",void 0),$e(we(o),"color",void 0),$e(we(o),"icon",void 0),$e(we(o),"formKey",void 0),$e(we(o),"openType",void 0),$e(we(o),"needConfirm",void 0),$e(we(o),"confirmMessage",void 0),$e(we(o),"options",void 0),$e(we(o),"defaultState",void 0),$e(we(o),"priorityProcess",void 0),$e(we(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6309\u94AE",o.code=n==null?void 0:n.code;var u;o.command=(u=n==null?void 0:n.command)!==null&&u!==void 0?u:"custom";var c;o.color=(c=n==null?void 0:n.color)!==null&&c!==void 0?c:"primary",o.icon=n==null?void 0:n.icon,o.formKey=n==null?void 0:n.formKey,o.openType=n==null?void 0:n.openType,o.needConfirm=n==null?void 0:n.needConfirm,o.confirmMessage=n==null?void 0:n.confirmMessage,o.options=n==null?void 0:n.options;var a;o.defaultState=(a=n==null?void 0:n.defaultState)!==null&&a!==void 0?a:"default",o.priorityProcess=n==null?void 0:n.priorityProcess;var l;return o.isLoading=(l=n==null?void 0:n.isLoading)!==null&&l!==void 0?l:!1,o}return r}(Y);$e(uu,"Rules",EM);function MO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function IM(e,t,r){return t&&LO(e.prototype,t),r&&LO(e,r),e}function $y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cu(e){return cu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cu(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&&Py(e,t)}function AM(e,t){return t&&(xM(t)==="object"||typeof t=="function")?t:MO(e)}function Py(e,t){return Py=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Py(e,t)}function xM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DM(e){var t=kM();return function(){var n=cu(e),o;if(t){var i=cu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AM(this,o)}}var lu=function(e){BM(r,e);var t=DM(r);function r(n){TM(this,r);var o;return o=t.call(this,n),$y(MO(o),"props",void 0),o.props=new uu(n==null?void 0:n.props),o}return IM(r,null,[{key:"controlName",get:function(){return"\u64CD\u4F5C\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"operation-button"}}]),r}(C);$y(lu,"controlEventKeys",["on_click"]),$y(lu,"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 CO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function NM(e,t,r){return t&&VO(e.prototype,t),r&&VO(e,r),e}function jM(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function au(e){return au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},au(e)}function MM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ry(e,t)}function LM(e,t){return t&&(CM(t)==="object"||typeof t=="function")?t:CO(e)}function Ry(e,t){return Ry=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ry(e,t)}function CM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zM(e){var t=VM();return function(){var n=au(e),o;if(t){var i=au(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return LM(this,o)}}var HM=function(e){MM(r,e);var t=zM(r);function r(n){FM(this,r);var o;return o=t.call(this,n),jM(CO(o),"props",void 0),o.props=new uu(n==null?void 0:n.props),o}return NM(r,null,[{key:"controlType",get:function(){return"operation-button"}}]),r}(It),Sy={Designer:lu,Runtime:HM,Property:uu};function Ft(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fu(e){return fu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fu(e)}function UM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ey(e,t)}function WM(e,t){return t&&(KM(t)==="object"||typeof t=="function")?t:Ft(e)}function Ey(e,t){return Ey=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ey(e,t)}function KM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XM(e){var t=GM();return function(){var n=fu(e),o;if(t){var i=fu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WM(this,o)}}var JM=function(e){UM(r,e);var t=XM(r);function r(n){qM(this,r);var o;o=t.call(this,n),rn(Ft(o),"content",void 0),rn(Ft(o),"buttonType",void 0),rn(Ft(o),"showType",void 0),rn(Ft(o),"color",void 0),rn(Ft(o),"icon",void 0),rn(Ft(o),"defaultState",void 0),rn(Ft(o),"command",void 0),rn(Ft(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:_u.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:_u.controlIcon;var c;o.buttonType=(c=n==null?void 0:n.buttonType)!==null&&c!==void 0?c:"primary";var a;o.showType=(a=n==null?void 0:n.showType)!==null&&a!==void 0?a:"iconText";var l;o.color=(l=n==null?void 0:n.color)!==null&&l!==void 0?l:"danger";var f;o.isHide=(f=n==null?void 0:n.isHide)!==null&&f!==void 0?f:!1;var _;o.defaultState=(_=n==null?void 0:n.defaultState)!==null&&_!==void 0?_:"default";var p;o.command=(p=n==null?void 0:n.command)!==null&&p!==void 0?p:"custom";var m;return o.isLoading=(m=n==null?void 0:n.isLoading)!==null&&m!==void 0?m:!1,o}return r}(Y);function zO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ZM(e,t,r){return t&&HO(e.prototype,t),r&&HO(e,r),e}function Ty(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function su(e){return su=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},su(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&&Iy(e,t)}function eL(e,t){return t&&(tL(t)==="object"||typeof t=="function")?t:zO(e)}function Iy(e,t){return Iy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Iy(e,t)}function tL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rL(e){var t=nL();return function(){var n=su(e),o;if(t){var i=su(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eL(this,o)}}var _u=function(e){YM(r,e);var t=rL(r);function r(n){QM(this,r);var o;return o=t.call(this,n),Ty(zO(o),"props",void 0),o.props=new JM(n==null?void 0:n.props),o}return ZM(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u5220\u9664"}},{key:"controlIcon",get:function(){return"iconlajitong"}},{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),r}(C);Ty(_u,"controlEventKeys",["on_click"]),Ty(_u,"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 vt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function By(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yu(e){return yu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yu(e)}function Ay(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xy(e,t)}function oL(e,t){return t&&(iL(t)==="object"||typeof t=="function")?t:vt(e)}function xy(e,t){return xy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xy(e,t)}function iL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ky(e){var t=uL();return function(){var n=yu(e),o;if(t){var i=yu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oL(this,o)}}var cL=function(e){Ay(r,e);var t=ky(r);function r(n){By(this,r);var o;return o=t.call(this,n),tt(vt(o),"maxLength",{type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),tt(vt(o),"minLength",{type:"number",max:200,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),tt(vt(o),"defaultValue",[{type:"string",max:200,min:0,message:d.getMessage("stringRangeError")},{pattern:"",message:""}]),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue[0].max=n.maxLength,o.defaultValue[0].min=n.minLength,o.defaultValue[0].message=d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o.defaultValue[1].pattern=li(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(pe),lL=function(e){Ay(r,e);var t=ky(r);function r(n){By(this,r);var o;return o=t.call(this,n),o.push({type:"string",message:d.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:li(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(U),co=function(e){Ay(r,e);var t=ky(r);function r(n){By(this,r);var o;o=t.call(this,n),tt(vt(o),"maxLength",void 0),tt(vt(o),"minLength",void 0),tt(vt(o),"regularRules",void 0),tt(vt(o),"defaultValue",void 0),tt(vt(o),"encrypted",void 0),tt(vt(o),"encryptedMode",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:200;var u;o.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0,o.regularRules=new _m(n==null?void 0:n.regularRules);var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:"";var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:lo.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165";var f;o.encrypted=(f=n==null?void 0:n.encrypted)!==null&&f!==void 0?f:!1;var _;return o.encryptedMode=(_=n==null?void 0:n.encryptedMode)!==null&&_!==void 0?_:"",o}return r}(D);tt(co,"Rules",cL),tt(co,"RuntimeRules",lL);function qO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fL(e,t,r){return t&&UO(e.prototype,t),r&&UO(e,r),e}function pu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function du(e){return du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},du(e)}function sL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dy(e,t)}function _L(e,t){return t&&(yL(t)==="object"||typeof t=="function")?t:qO(e)}function Dy(e,t){return Dy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dy(e,t)}function yL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dL(e){var t=pL();return function(){var n=du(e),o;if(t){var i=du(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _L(this,o)}}var lo=function(e){sL(r,e);var t=dL(r);function r(n){aL(this,r);var o;return o=t.call(this,n),pu(qO(o),"props",void 0),o.props=new co(n==null?void 0:n.props),o}return fL(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconSingleline_new1"}},{key:"controlType",get:function(){return"input"}}]),r}(F);pu(lo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),pu(lo,"controlFieldType",g.VARCHAR),pu(lo,"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 WO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hL(e,t,r){return t&&KO(e.prototype,t),r&&KO(e,r),e}function GO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vu(e){return vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vu(e)}function bL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fy(e,t)}function mL(e,t){return t&&(gL(t)==="object"||typeof t=="function")?t:WO(e)}function Fy(e,t){return Fy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fy(e,t)}function gL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wL(e){var t=OL();return function(){var n=vu(e),o;if(t){var i=vu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mL(this,o)}}var $L=function(e){bL(r,e);var t=wL(r);function r(n){vL(this,r);var o;return o=t.call(this,n),GO(WO(o),"props",void 0),o.props=new co(n==null?void 0:n.props),o}return hL(r,null,[{key:"controlType",get:function(){return"input"}}]),r}(N);GO($L,"controlFieldType",g.VARCHAR);function ve(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ny(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hu(e){return hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hu(e)}function 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&&My(e,t)}function PL(e,t){return t&&(RL(t)==="object"||typeof t=="function")?t:ve(e)}function My(e,t){return My=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},My(e,t)}function RL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ly(e){var t=SL();return function(){var n=hu(e),o;if(t){var i=hu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PL(this,o)}}var EL=function(e){jy(r,e);var t=Ly(r);function r(n){Ny(this,r);var o;o=t.call(this,n),fe(ve(o),"limitMax",{type:"number",min:void 0,message:d.getMessage("PleaseReselectTheOptionalQuantity")});var i=n.limitMax==="unlimited";i&&(o.limitMax.type="string");var u=function(c){return c==="unlimited"?void 0:c};return o.limitMax.min=u(n.limitMin),o}return r}(jn),TL=function(e){jy(r,e);var t=Ly(r);function r(n){Ny(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o.push({type:"array",max:typeof n.limitMax=="number"?n.limitMax:void 0,min:typeof n.limitMin=="number"?n.limitMin:void 0}),o}return r}(U),bu=function(e){jy(r,e);var t=Ly(r);function r(n){Ny(this,r);var o;o=t.call(this,n),fe(ve(o),"checkboxMode",void 0),fe(ve(o),"options",void 0),fe(ve(o),"optionsOrder",void 0),fe(ve(o),"limitMax",void 0),fe(ve(o),"limitMin",void 0),fe(ve(o),"otherOption",void 0),fe(ve(o),"optionConfig",void 0),fe(ve(o),"optionsFormat",void 0),fe(ve(o),"defaultShowOptions",void 0),fe(ve(o),"datasourceBind",void 0),fe(ve(o),"multistageFilling",void 0),fe(ve(o),"interreaction",void 0),fe(ve(o),"defaultValue",void 0),fe(ve(o),"openMultistageFilling",void 0);var i;o.options=Tt((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.checkboxMode=(u=n==null?void 0:n.checkboxMode)!==null&&u!==void 0?u:"horizontal";var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"custom";var a;o.optionsOrder=(a=n==null?void 0:n.optionsOrder)!==null&&a!==void 0?a:!1;var l;o.otherOption=(l=n==null?void 0:n.otherOption)!==null&&l!==void 0?l:!1;var f;o.limitMin=(f=n==null?void 0:n.limitMin)!==null&&f!==void 0?f:"unlimited";var _;o.limitMax=(_=n==null?void 0:n.limitMax)!==null&&_!==void 0?_:"unlimited",o.datasourceBind=new te(n==null?void 0:n.datasourceBind);var p;o.interreaction=(p=n==null?void 0:n.interreaction)!==null&&p!==void 0?p:[];var m;o.caption=(m=n==null?void 0:n.caption)!==null&&m!==void 0?m:Ou.controlName;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:[];var b;o.optionsFormat=(b=n==null?void 0:n.optionsFormat)!==null&&b!==void 0?b:"horizontal";var w;o.defaultShowOptions=(w=n==null?void 0:n.defaultShowOptions)!==null&&w!==void 0?w:!0;var v;return o.openMultistageFilling=(v=n==null?void 0:n.openMultistageFilling)!==null&&v!==void 0?v:!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 Ee($))})),o}return r}(D);fe(bu,"Rules",EL),fe(bu,"RuntimeRules",TL);function XO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function BL(e,t,r){return t&&JO(e.prototype,t),r&&JO(e,r),e}function mu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gu(e){return gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gu(e)}function AL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cy(e,t)}function xL(e,t){return t&&(kL(t)==="object"||typeof t=="function")?t:XO(e)}function Cy(e,t){return Cy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cy(e,t)}function kL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FL(e){var t=DL();return function(){var n=gu(e),o;if(t){var i=gu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xL(this,o)}}var Ou=function(e){AL(r,e);var t=FL(r);function r(n){IL(this,r);var o;return o=t.call(this,n),mu(XO(o),"props",void 0),o.props=new bu(n==null?void 0:n.props),o}return BL(r,null,[{key:"controlName",get:function(){return"\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),r}(F);mu(Ou,"controlEventKeys",["on_change","on_click"]),mu(Ou,"controlFieldType",g.ARRAY),mu(Ou,"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:"super-setting",visible:!0}]);function QO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jL(e,t,r){return t&&ZO(e.prototype,t),r&&ZO(e,r),e}function YO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wu(e){return wu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wu(e)}function 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&&Vy(e,t)}function LL(e,t){return t&&(CL(t)==="object"||typeof t=="function")?t:QO(e)}function Vy(e,t){return Vy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vy(e,t)}function CL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zL(e){var t=VL();return function(){var n=wu(e),o;if(t){var i=wu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return LL(this,o)}}var HL=function(e){ML(r,e);var t=zL(r);function r(n){NL(this,r);var o;return o=t.call(this,n),YO(QO(o),"props",void 0),o.props=new bu(n==null?void 0:n.props),o}return jL(r,null,[{key:"controlType",get:function(){return"checkbox"}}]),r}(N);YO(HL,"controlFieldType",g.ARRAY);function Me(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ew(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Le(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $u(e){return $u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$u(e)}function tw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zy(e,t)}function qL(e,t){return t&&(UL(t)==="object"||typeof t=="function")?t:Me(e)}function zy(e,t){return zy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zy(e,t)}function UL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nw(e){var t=WL();return function(){var n=$u(e),o;if(t){var i=$u(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qL(this,o)}}var KL=function(e){tw(r,e);var t=nw(r);function r(n){return ew(this,r),t.call(this,n)}return r}(jn),Hy=function(e){tw(r,e);var t=nw(r);function r(n){ew(this,r);var o;o=t.call(this,n),Le(Me(o),"radioMode",void 0),Le(Me(o),"options",void 0),Le(Me(o),"optionConfig",void 0),Le(Me(o),"optionsFormat",void 0),Le(Me(o),"defaultShowOptions",void 0),Le(Me(o),"otherOption",void 0),Le(Me(o),"optionsOrder",void 0),Le(Me(o),"datasourceBind",void 0),Le(Me(o),"multistageFilling",void 0),Le(Me(o),"interreaction",void 0),Le(Me(o),"defaultValue",void 0),Le(Me(o),"openMultistageFilling",void 0);var i;o.options=Tt((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.radioMode=(u=n==null?void 0:n.radioMode)!==null&&u!==void 0?u:"horizontal";var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"custom";var a;o.otherOption=(a=n==null?void 0:n.otherOption)!==null&&a!==void 0?a:!1;var l;o.optionsOrder=(l=n==null?void 0:n.optionsOrder)!==null&&l!==void 0?l:!1;var f;o.defaultShowOptions=(f=n==null?void 0:n.defaultShowOptions)!==null&&f!==void 0?f:!0;var _;o.optionsFormat=(_=n==null?void 0:n.optionsFormat)!==null&&_!==void 0?_:"horizontal",o.datasourceBind=new te(n==null?void 0:n.datasourceBind);var p;o.interreaction=(p=n==null?void 0:n.interreaction)!==null&&p!==void 0?p:[];var m;o.caption=(m=n==null?void 0:n.caption)!==null&&m!==void 0?m:Su.controlName;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:"";var b;return o.openMultistageFilling=(b=n==null?void 0:n.openMultistageFilling)!==null&&b!==void 0?b:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(w){var v;(v=o.multistageFilling)===null||v===void 0||v.push(new Ee(w))})),o}return r}(D);Le(Hy,"Rules",KL);function rw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ow(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function XL(e,t,r){return t&&ow(e.prototype,t),r&&ow(e,r),e}function Pu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ru(e){return Ru=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ru(e)}function JL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qy(e,t)}function QL(e,t){return t&&(ZL(t)==="object"||typeof t=="function")?t:rw(e)}function qy(e,t){return qy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qy(e,t)}function ZL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function e5(e){var t=YL();return function(){var n=Ru(e),o;if(t){var i=Ru(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QL(this,o)}}var Su=function(e){JL(r,e);var t=e5(r);function r(n){GL(this,r);var o;return o=t.call(this,n),Pu(rw(o),"props",void 0),o.props=new Hy(n==null?void 0:n.props),o}return XL(r,null,[{key:"controlName",get:function(){return"\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),r}(F);Pu(Su,"controlEventKeys",["on_change","on_click"]),Pu(Su,"controlFieldType",g.VARCHAR),Pu(Su,"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:"super-setting",visible:!0}]);function iw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function t5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function n5(e,t,r){return t&&uw(e.prototype,t),r&&uw(e,r),e}function cw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Eu(e){return Eu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Eu(e)}function r5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uy(e,t)}function o5(e,t){return t&&(i5(t)==="object"||typeof t=="function")?t:iw(e)}function Uy(e,t){return Uy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uy(e,t)}function i5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function u5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function c5(e){var t=u5();return function(){var n=Eu(e),o;if(t){var i=Eu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return o5(this,o)}}var l5=function(e){r5(r,e);var t=c5(r);function r(n){t5(this,r);var o;return o=t.call(this,n),cw(iw(o),"props",void 0),o.props=new Hy(n==null?void 0:n.props),o}return n5(r,null,[{key:"controlType",get:function(){return"radio"}}]),r}(N);cw(l5,"controlFieldType",g.VARCHAR);function Pe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function he(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tu(e){return Tu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tu(e)}function Ky(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gy(e,t)}function a5(e,t){return t&&(f5(t)==="object"||typeof t=="function")?t:Pe(e)}function Gy(e,t){return Gy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gy(e,t)}function f5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function s5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xy(e){var t=s5();return function(){var n=Tu(e),o;if(t){var i=Tu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return a5(this,o)}}var _5=function(e){Ky(r,e);var t=Xy(r);function r(n){Wy(this,r);var o;o=t.call(this,n),he(Pe(o),"defaultValue",[{type:"number",min:0,max:200,message:d.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}]),he(Pe(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue[0].max=i,o.defaultValue[0].min=u,o.defaultValue[0].message=d.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:d.getMessage("numberRangeSetError")}),o.defaultValue[1].pattern=li(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(pe),y5=function(e){Ky(r,e);var t=Xy(r);function r(n){Wy(this,r);var o;o=t.call(this,n),o[0]!==void 0&&(o[0].type="number");var i=n.rangeMax!==""?n.rangeMax:void 0,u=n.rangeMin!==""?n.rangeMin:void 0;return o.push({type:"number",max:i,min:u,message:d.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:li(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(U),Iu=function(e){Ky(r,e);var t=Xy(r);function r(n){Wy(this,r);var o;o=t.call(this,n),he(Pe(o),"rangeMin",void 0),he(Pe(o),"rangeMax",void 0),he(Pe(o),"numberType",void 0),he(Pe(o),"percentageFormat",void 0),he(Pe(o),"micrometer",void 0),he(Pe(o),"precision",void 0),he(Pe(o),"showUpperCase",void 0),he(Pe(o),"isShowUnit",void 0),he(Pe(o),"unitPosition",void 0),he(Pe(o),"unit",void 0),he(Pe(o),"defaultValue",void 0),he(Pe(o),"regularRules",void 0);var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var u;o.rangeMax=(u=n==null?void 0:n.rangeMax)!==null&&u!==void 0?u:"";var c;o.numberType=(c=n==null?void 0:n.numberType)!==null&&c!==void 0?c:"number";var a;o.percentageFormat=(a=n==null?void 0:n.percentageFormat)!==null&&a!==void 0?a:!1;var l;o.micrometer=(l=n==null?void 0:n.micrometer)!==null&&l!==void 0?l:!1;var f;o.precision=(f=n==null?void 0:n.precision)!==null&&f!==void 0?f:0;var _;o.showUpperCase=(_=n==null?void 0:n.showUpperCase)!==null&&_!==void 0?_:!1;var p;o.isShowUnit=(p=n==null?void 0:n.isShowUnit)!==null&&p!==void 0?p:!1;var m;o.unitPosition=(m=n==null?void 0:n.unitPosition)!==null&&m!==void 0?m:"right";var O;o.unit=(O=n==null?void 0:n.unit)!==null&&O!==void 0?O:"";var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:xu.controlName;var w;o.placeholder=(w=n==null?void 0:n.placeholder)!==null&&w!==void 0?w:"\u8BF7\u8F93\u5165";var v;return o.defaultValue=(v=n==null?void 0:n.defaultValue)!==null&&v!==void 0?v:"",o.regularRules=new _m(n==null?void 0:n.regularRules),o}return r}(D);he(Iu,"Rules",_5),he(Iu,"RuntimeRules",y5);function lw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d5(e,t,r){return t&&aw(e.prototype,t),r&&aw(e,r),e}function Bu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Au(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Au=Reflect.get:Au=function(o,i,u){var c=b5(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Au(e,t,r||e)}function qn(e){return qn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qn(e)}function v5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jy(e,t)}function h5(e,t){return t&&(m5(t)==="object"||typeof t=="function")?t:lw(e)}function Jy(e,t){return Jy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jy(e,t)}function b5(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=qn(e),e!==null););return e}function m5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function g5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function O5(e){var t=g5();return function(){var n=qn(e),o;if(t){var i=qn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return h5(this,o)}}var xu=function(e){v5(r,e);var t=O5(r);function r(n){p5(this,r);var o;return o=t.call(this,n),Bu(lw(o),"props",void 0),o.props=new Iu(n==null?void 0:n.props),o}return d5(r,[{key:"toDataBindModel",value:function(o){var i=Au(qn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,a=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=a}return i}}],[{key:"controlName",get:function(){return"\u6570\u5B57"}},{key:"controlIcon",get:function(){return"iconnuminput_new"}},{key:"controlType",get:function(){return"number"}}]),r}(F);Bu(xu,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Bu(xu,"controlFieldType",g.DECIMAL),Bu(xu,"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 fw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $5(e,t,r){return t&&sw(e.prototype,t),r&&sw(e,r),e}function _w(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ku(e){return ku=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ku(e)}function P5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qy(e,t)}function R5(e,t){return t&&(S5(t)==="object"||typeof t=="function")?t:fw(e)}function Qy(e,t){return Qy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qy(e,t)}function S5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function E5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function T5(e){var t=E5();return function(){var n=ku(e),o;if(t){var i=ku(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return R5(this,o)}}var I5=function(e){P5(r,e);var t=T5(r);function r(n){w5(this,r);var o;return o=t.call(this,n),_w(fw(o),"props",void 0),o.props=new Iu(n==null?void 0:n.props),o}return $5(r,null,[{key:"controlType",get:function(){return"number"}}]),r}(N);_w(I5,"controlFieldType",g.DECIMAL);function Nt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function on(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Du(e){return Du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Du(e)}function A5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 x5(e,t){return t&&(k5(t)==="object"||typeof t=="function")?t:Nt(e)}function Zy(e,t){return Zy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zy(e,t)}function k5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function D5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function F5(e){var t=D5();return function(){var n=Du(e),o;if(t){var i=Du(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return x5(this,o)}}var yw=function(e){A5(r,e);var t=F5(r);function r(n){B5(this,r);var o,i;o=t.call(this,n),on(Nt(o),"dateType",void 0),on(Nt(o),"dateFormat",void 0),on(Nt(o),"commonTimeSetting",void 0),on(Nt(o),"setValueType",void 0),on(Nt(o),"defaultValue",void 0),on(Nt(o),"limitDateList",void 0),on(Nt(o),"allowDateRange",void 0),on(Nt(o),"filterWeekend",void 0);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:zt.DATE;var c;o.dateFormat=(c=n==null?void 0:n.dateFormat)!==null&&c!==void 0?c:"";var a;o.commonTimeSetting=(a=n==null?void 0:n.commonTimeSetting)!==null&&a!==void 0?a:[];var l;o.setValueType=(l=n==null?void 0:n.setValueType)!==null&&l!==void 0?l:"custom";var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:tp.controlName;var _;o.placeholder=(_=n==null?void 0:n.placeholder)!==null&&_!==void 0?_:"\u8BF7\u8F93\u5165\u65E5\u671F";var p;o.defaultValue=(p=n==null?void 0:n.defaultValue)!==null&&p!==void 0?p:"";var m;o.limitDateList=(m=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(w){return new d_(w)}))!==null&&m!==void 0?m:[];var O;o.allowDateRange=(O=n==null?void 0:n.allowDateRange)!==null&&O!==void 0?O:["",""];var b;return o.filterWeekend=(b=n==null?void 0:n.filterWeekend)!==null&&b!==void 0?b:!1,o}return r}(D);function pw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function j5(e,t,r){return t&&dw(e.prototype,t),r&&dw(e,r),e}function Yy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fu(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Fu=Reflect.get:Fu=function(o,i,u){var c=C5(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Fu(e,t,r||e)}function Un(e){return Un=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Un(e)}function M5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ep(e,t)}function L5(e,t){return t&&(V5(t)==="object"||typeof t=="function")?t:pw(e)}function ep(e,t){return ep=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ep(e,t)}function C5(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Un(e),e!==null););return e}function V5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function z5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function H5(e){var t=z5();return function(){var n=Un(e),o;if(t){var i=Un(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return L5(this,o)}}var tp=function(e){M5(r,e);var t=H5(r);function r(n){N5(this,r);var o;return o=t.call(this,n),Yy(pw(o),"props",void 0),o.props=new yw(n==null?void 0:n.props),o}return j5(r,[{key:"toDataBindModel",value:function(o){var i=Fu(Un(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props.dateType;i.props.dateType=u}return i}}],[{key:"controlName",get:function(){return"\u65E5\u671F"}},{key:"controlIcon",get:function(){return"iconriqi1"}},{key:"controlType",get:function(){return"date-picker"}}]),r}(F);Yy(tp,"controlFieldType",g.TIMESTAMP),Yy(tp,"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 vw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function U5(e,t,r){return t&&hw(e.prototype,t),r&&hw(e,r),e}function bw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nu(e){return Nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nu(e)}function W5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&np(e,t)}function K5(e,t){return t&&(G5(t)==="object"||typeof t=="function")?t:vw(e)}function np(e,t){return np=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},np(e,t)}function G5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function X5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function J5(e){var t=X5();return function(){var n=Nu(e),o;if(t){var i=Nu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return K5(this,o)}}var Q5=function(e){W5(r,e);var t=J5(r);function r(n){q5(this,r);var o;return o=t.call(this,n),bw(vw(o),"props",void 0),o.props=new yw(n==null?void 0:n.props),o}return U5(r,null,[{key:"controlType",get:function(){return"date-picker"}}]),r}(N);bw(Q5,"controlFieldType",g.TIMESTAMP);function We(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ke(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ju(e){return ju=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ju(e)}function gw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rp(e,t)}function Z5(e,t){return t&&(Y5(t)==="object"||typeof t=="function")?t:We(e)}function rp(e,t){return rp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rp(e,t)}function Y5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function e6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ow(e){var t=e6();return function(){var n=ju(e),o;if(t){var i=ju(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Z5(this,o)}}var t6=function(e){gw(r,e);var t=Ow(r);function r(n){mw(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="object"),n.required&&!n.isHide&&o.push({type:"object",fields:{max:{type:"string",required:n.required,message:o[0].message},min:{type:"string",required:n.required,message:o[0].message}}}),o}return r}(U),op=function(e){gw(r,e);var t=Ow(r);function r(n){mw(this,r);var o,i;o=t.call(this,n),Ke(We(o),"dataBind",void 0),Ke(We(o),"rangeMin",void 0),Ke(We(o),"rangeMax",void 0),Ke(We(o),"placeholderStart",void 0),Ke(We(o),"placeholderEnd",void 0),Ke(We(o),"dateFormat",void 0),Ke(We(o),"commonTimeSetting",void 0),Ke(We(o),"dateType",void 0),Ke(We(o),"setValueType",void 0),Ke(We(o),"defaultValue",void 0),Ke(We(o),"limitDateList",void 0),o.dataBind=new DA(n==null?void 0:n.dataBind),o.defaultValue=new FA(n==null?void 0:n.defaultValue);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:zt.DATE;var c;o.dateFormat=(c=n==null?void 0:n.dateFormat)!==null&&c!==void 0?c:"";var a;o.commonTimeSetting=(a=n==null?void 0:n.commonTimeSetting)!==null&&a!==void 0?a:[];var l;o.setValueType=(l=n==null?void 0:n.setValueType)!==null&&l!==void 0?l:"custom";var f;o.rangeMin=(f=n==null?void 0:n.rangeMin)!==null&&f!==void 0?f:"";var _;o.rangeMax=(_=n==null?void 0:n.rangeMax)!==null&&_!==void 0?_:"";var p;o.placeholderStart=(p=n==null?void 0:n.placeholderStart)!==null&&p!==void 0?p:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F";var m;o.placeholderEnd=(m=n==null?void 0:n.placeholderEnd)!==null&&m!==void 0?m:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F";var O;o.caption=(O=n==null?void 0:n.caption)!==null&&O!==void 0?O:cp.controlName;var b;return o.limitDateList=(b=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(w){return new d_(w)}))!==null&&b!==void 0?b:[],o}return r}(D);Ke(op,"RuntimeRules",t6);function ww(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $w(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function r6(e,t,r){return t&&$w(e.prototype,t),r&&$w(e,r),e}function ip(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mu(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Mu=Reflect.get:Mu=function(o,i,u){var c=u6(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Mu(e,t,r||e)}function Wn(e){return Wn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wn(e)}function o6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&up(e,t)}function i6(e,t){return t&&(c6(t)==="object"||typeof t=="function")?t:ww(e)}function up(e,t){return up=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},up(e,t)}function u6(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Wn(e),e!==null););return e}function c6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function l6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function a6(e){var t=l6();return function(){var n=Wn(e),o;if(t){var i=Wn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return i6(this,o)}}var cp=function(e){o6(r,e);var t=a6(r);function r(n){n6(this,r);var o;return o=t.call(this,n),ip(ww(o),"props",void 0),o.props=new op(n==null?void 0:n.props),o}return r6(r,[{key:"toDataBindModel",value:function(o){var i=Mu(Wn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props.dateType;i.props.dateType=u}return i}}],[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"date-range"}}]),r}(F);ip(cp,"controlFieldType",g.TIMESCOPE),ip(cp,"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 Pw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s6(e,t,r){return t&&Rw(e.prototype,t),r&&Rw(e,r),e}function Sw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lu(e){return Lu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lu(e)}function _6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lp(e,t)}function y6(e,t){return t&&(p6(t)==="object"||typeof t=="function")?t:Pw(e)}function lp(e,t){return lp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lp(e,t)}function p6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function d6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function v6(e){var t=d6();return function(){var n=Lu(e),o;if(t){var i=Lu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return y6(this,o)}}var h6=function(e){_6(r,e);var t=v6(r);function r(n){f6(this,r);var o;return o=t.call(this,n),Sw(Pw(o),"props",void 0),o.props=new op(n==null?void 0:n.props),o}return s6(r,null,[{key:"controlType",get:function(){return"date-range"}}]),r}(N);Sw(h6,"controlFieldType",g.TIMESCOPE);function ht(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ap(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cu(e){return Cu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cu(e)}function fp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 b6(e,t){return t&&(m6(t)==="object"||typeof t=="function")?t:ht(e)}function sp(e,t){return sp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sp(e,t)}function m6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function g6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _p(e){var t=g6();return function(){var n=Cu(e),o;if(t){var i=Cu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return b6(this,o)}}var O6=function(e){fp(r,e);var t=_p(r);function r(n){ap(this,r);var o;return o=t.call(this,n),nt(ht(o),"maxLength",{type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),nt(ht(o),"minLength",{type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),nt(ht(o),"defaultValue",{type:"string",max:200,min:0,message:d.getMessage("stringRangeError")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(pe),w6=function(e){fp(r,e);var t=_p(r);function r(n){ap(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(U),Vu=function(e){fp(r,e);var t=_p(r);function r(n){ap(this,r);var o;o=t.call(this,n),nt(ht(o),"maxLength",void 0),nt(ht(o),"minLength",void 0),nt(ht(o),"defaultValue",void 0),nt(ht(o),"lineEllipsis",void 0),nt(ht(o),"autoSize",void 0),nt(ht(o),"maxRows",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:5e4;var u;o.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0;var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:"";var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:qu.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165";var f;o.lineEllipsis=(f=n==null?void 0:n.lineEllipsis)!==null&&f!==void 0?f: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 r}(D);nt(Vu,"Rules",O6),nt(Vu,"RuntimeRules",w6);function Ew(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function P6(e,t,r){return t&&Tw(e.prototype,t),r&&Tw(e,r),e}function zu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hu(e){return Hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hu(e)}function R6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yp(e,t)}function S6(e,t){return t&&(E6(t)==="object"||typeof t=="function")?t:Ew(e)}function yp(e,t){return yp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yp(e,t)}function E6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function T6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function I6(e){var t=T6();return function(){var n=Hu(e),o;if(t){var i=Hu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return S6(this,o)}}var qu=function(e){R6(r,e);var t=I6(r);function r(n){$6(this,r);var o;return o=t.call(this,n),zu(Ew(o),"props",void 0),o.props=new Vu(n==null?void 0:n.props),o}return P6(r,null,[{key:"controlName",get:function(){return"\u591A\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconMultilineline_new1"}},{key:"controlType",get:function(){return"textarea"}}]),r}(F);zu(qu,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),zu(qu,"controlFieldType",g.TEXT),zu(qu,"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:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}]);function Iw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function A6(e,t,r){return t&&Bw(e.prototype,t),r&&Bw(e,r),e}function Aw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Uu(e){return Uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uu(e)}function x6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pp(e,t)}function k6(e,t){return t&&(D6(t)==="object"||typeof t=="function")?t:Iw(e)}function pp(e,t){return pp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pp(e,t)}function D6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function F6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function N6(e){var t=F6();return function(){var n=Uu(e),o;if(t){var i=Uu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return k6(this,o)}}var j6=function(e){x6(r,e);var t=N6(r);function r(n){B6(this,r);var o;return o=t.call(this,n),Aw(Iw(o),"props",void 0),o.props=new Vu(n==null?void 0:n.props),o}return A6(r,null,[{key:"controlType",get:function(){return"textarea"}}]),r}(N);Aw(j6,"controlFieldType",g.TEXT);function hn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function un(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wu(e){return Wu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wu(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&&hp(e,t)}function M6(e,t){return t&&(L6(t)==="object"||typeof t=="function")?t:hn(e)}function hp(e,t){return hp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hp(e,t)}function L6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function C6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bp(e){var t=C6();return function(){var n=Wu(e),o;if(t){var i=Wu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return M6(this,o)}}var V6=function(e){vp(r,e);var t=bp(r);function r(n){dp(this,r);var o;return o=t.call(this,n),un(hn(o),"maxLength",{type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),un(hn(o),"minLength",{type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),un(hn(o),"defaultValue",{type:"string",max:200,min:0,message:d.getMessage("stringRangeError")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(pe),z6=function(e){vp(r,e);var t=bp(r);function r(n){dp(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(U),Ku=function(e){vp(r,e);var t=bp(r);function r(n){dp(this,r);var o;o=t.call(this,n),un(hn(o),"maxLength",void 0),un(hn(o),"minLength",void 0),un(hn(o),"defaultValue",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:5e4;var u;o.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0;var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:"";var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Ju.controlName;var l;return o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165",o}return r}(D);un(Ku,"Rules",V6),un(Ku,"RuntimeRules",z6);function xw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function H6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function q6(e,t,r){return t&&kw(e.prototype,t),r&&kw(e,r),e}function Gu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xu(e){return Xu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xu(e)}function U6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 W6(e,t){return t&&(K6(t)==="object"||typeof t=="function")?t:xw(e)}function mp(e,t){return mp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mp(e,t)}function K6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function G6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function X6(e){var t=G6();return function(){var n=Xu(e),o;if(t){var i=Xu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return W6(this,o)}}var Ju=function(e){U6(r,e);var t=X6(r);function r(n){H6(this,r);var o;return o=t.call(this,n),Gu(xw(o),"props",void 0),o.props=new Ku(n==null?void 0:n.props),o}return q6(r,null,[{key:"controlName",get:function(){return"\u5BCC\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconRichtextbox_new"}},{key:"controlType",get:function(){return"rich-text"}}]),r}(F);Gu(Ju,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Gu(Ju,"controlFieldType",g.TEXT),Gu(Ju,"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 Dw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function J6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Q6(e,t,r){return t&&Fw(e.prototype,t),r&&Fw(e,r),e}function Nw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qu(e){return Qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qu(e)}function Z6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Y6(e,t){return t&&(e4(t)==="object"||typeof t=="function")?t:Dw(e)}function gp(e,t){return gp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gp(e,t)}function e4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function t4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function n4(e){var t=t4();return function(){var n=Qu(e),o;if(t){var i=Qu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Y6(this,o)}}var r4=function(e){Z6(r,e);var t=n4(r);function r(n){J6(this,r);var o;return o=t.call(this,n),Nw(Dw(o),"props",void 0),o.props=new Ku(n==null?void 0:n.props),o}return Q6(r,null,[{key:"controlType",get:function(){return"rich-text"}}]),r}(N);Nw(r4,"controlFieldType",g.TEXT);function Ce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ve(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zu(e){return Zu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zu(e)}function Mw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 o4(e,t){return t&&(i4(t)==="object"||typeof t=="function")?t:Ce(e)}function Op(e,t){return Op=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Op(e,t)}function i4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function u4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Lw(e){var t=u4();return function(){var n=Zu(e),o;if(t){var i=Zu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return o4(this,o)}}var c4=function(e){Mw(r,e);var t=Lw(r);function r(n){jw(this,r);var o;return o=t.call(this,n),Ve(Ce(o),"formBind",{type:"object",fields:{formKey:{type:"string",message:d.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return r}(jn),wp=function(e){Mw(r,e);var t=Lw(r);function r(n){jw(this,r);var o;o=t.call(this,n),Ve(Ce(o),"options",void 0),Ve(Ce(o),"defaultShowOptions",void 0),Ve(Ce(o),"optionConfig",void 0),Ve(Ce(o),"defaultValue",void 0),Ve(Ce(o),"datasourceBind",void 0),Ve(Ce(o),"multistageFilling",void 0),Ve(Ce(o),"allowCopyOptions",void 0),Ve(Ce(o),"openMultistageFilling",void 0),Ve(Ce(o),"viewFormModelType",void 0),Ve(Ce(o),"canViewForm",void 0),Ve(Ce(o),"formBind",void 0);var i;o.options=Tt((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.defaultShowOptions=(u=n==null?void 0:n.defaultShowOptions)!==null&&u!==void 0?u:!0;var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"custom",o.datasourceBind=new te(n==null?void 0:n.datasourceBind);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Rp.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u9009\u62E9";var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:"";var _;o.allowCopyOptions=(_=n==null?void 0:n.allowCopyOptions)!==null&&_!==void 0?_:!1;var p;o.openMultistageFilling=(p=n==null?void 0:n.openMultistageFilling)!==null&&p!==void 0?p:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(b){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new Ee(b))}));var m;o.canViewForm=(m=n==null?void 0:n.canViewForm)!==null&&m!==void 0?m:!1;var O;return o.viewFormModelType=(O=n==null?void 0:n.viewFormModelType)!==null&&O!==void 0?O:"window",o.formBind=new Fn(n==null?void 0:n.formBind),o}return r}(D);Ve(wp,"Rules",c4);function Cw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a4(e,t,r){return t&&Vw(e.prototype,t),r&&Vw(e,r),e}function $p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yu(e){return Yu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yu(e)}function f4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 s4(e,t){return t&&(_4(t)==="object"||typeof t=="function")?t:Cw(e)}function Pp(e,t){return Pp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pp(e,t)}function _4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function y4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function p4(e){var t=y4();return function(){var n=Yu(e),o;if(t){var i=Yu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return s4(this,o)}}var Rp=function(e){f4(r,e);var t=p4(r);function r(n){l4(this,r);var o;return o=t.call(this,n),$p(Cw(o),"props",void 0),o.props=new wp(n==null?void 0:n.props),o}return a4(r,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconxiala1"}},{key:"controlType",get:function(){return"select"}}]),r}(F);$p(Rp,"controlFieldType",g.VARCHAR),$p(Rp,"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:"super-setting",visible:!0}]);function zw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function v4(e,t,r){return t&&Hw(e.prototype,t),r&&Hw(e,r),e}function qw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ec(e){return ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ec(e)}function h4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 b4(e,t){return t&&(m4(t)==="object"||typeof t=="function")?t:zw(e)}function Sp(e,t){return Sp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sp(e,t)}function m4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function g4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function O4(e){var t=g4();return function(){var n=ec(e),o;if(t){var i=ec(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return b4(this,o)}}var w4=function(e){h4(r,e);var t=O4(r);function r(n){d4(this,r);var o;return o=t.call(this,n),qw(zw(o),"props",void 0),o.props=new wp(n==null?void 0:n.props),o}return v4(r,null,[{key:"controlType",get:function(){return"select"}}]),r}(N);qw(w4,"controlFieldType",g.VARCHAR);function Ge(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ep(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ze(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tc(e){return tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tc(e)}function Tp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ip(e,t)}function $4(e,t){return t&&(P4(t)==="object"||typeof t=="function")?t:Ge(e)}function Ip(e,t){return Ip=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ip(e,t)}function P4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function R4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bp(e){var t=R4();return function(){var n=tc(e),o;if(t){var i=tc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $4(this,o)}}var S4=function(e){Tp(r,e);var t=Bp(r);function r(n){Ep(this,r);var o;return o=t.call(this,n),ze(Ge(o),"formBind",{type:"object",fields:{formKey:{type:"string",message:d.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return r}(jn),E4=function(e){Tp(r,e);var t=Bp(r);function r(n){Ep(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(U),nc=function(e){Tp(r,e);var t=Bp(r);function r(n){Ep(this,r);var o;o=t.call(this,n),ze(Ge(o),"options",void 0),ze(Ge(o),"defaultShowOptions",void 0),ze(Ge(o),"optionConfig",void 0),ze(Ge(o),"defaultValue",void 0),ze(Ge(o),"datasourceBind",void 0),ze(Ge(o),"multistageFilling",void 0),ze(Ge(o),"openMultistageFilling",void 0),ze(Ge(o),"viewFormModelType",void 0),ze(Ge(o),"canViewForm",void 0),ze(Ge(o),"formBind",void 0);var i;o.options=Tt((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.defaultShowOptions=(u=n==null?void 0:n.defaultShowOptions)!==null&&u!==void 0?u:!0;var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"custom",o.datasourceBind=new te(n==null?void 0:n.datasourceBind);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:kp.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u9009\u62E9";var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var _;o.openMultistageFilling=(_=n==null?void 0:n.openMultistageFilling)!==null&&_!==void 0?_:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var b;(b=o.multistageFilling)===null||b===void 0||b.push(new Ee(O))}));var p;o.canViewForm=(p=n==null?void 0:n.canViewForm)!==null&&p!==void 0?p:!1;var m;return o.viewFormModelType=(m=n==null?void 0:n.viewFormModelType)!==null&&m!==void 0?m:"window",o.formBind=new Fn(n==null?void 0:n.formBind),o}return r}(D);ze(nc,"Rules",S4),ze(nc,"RuntimeRules",E4);function Uw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ww(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function I4(e,t,r){return t&&Ww(e.prototype,t),r&&Ww(e,r),e}function Ap(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rc(e){return rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rc(e)}function 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&&xp(e,t)}function A4(e,t){return t&&(x4(t)==="object"||typeof t=="function")?t:Uw(e)}function xp(e,t){return xp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xp(e,t)}function x4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function k4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function D4(e){var t=k4();return function(){var n=rc(e),o;if(t){var i=rc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return A4(this,o)}}var kp=function(e){B4(r,e);var t=D4(r);function r(n){T4(this,r);var o;return o=t.call(this,n),Ap(Uw(o),"props",void 0),o.props=new nc(n==null?void 0:n.props),o}return I4(r,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconxialaduoxuan"}},{key:"controlType",get:function(){return"select-multiple"}}]),r}(F);Ap(kp,"controlFieldType",g.ARRAY),Ap(kp,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]);function Kw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function N4(e,t,r){return t&&Gw(e.prototype,t),r&&Gw(e,r),e}function Xw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oc(e){return oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oc(e)}function j4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dp(e,t)}function M4(e,t){return t&&(L4(t)==="object"||typeof t=="function")?t:Kw(e)}function Dp(e,t){return Dp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dp(e,t)}function L4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function C4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function V4(e){var t=C4();return function(){var n=oc(e),o;if(t){var i=oc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return M4(this,o)}}var z4=function(e){j4(r,e);var t=V4(r);function r(n){F4(this,r);var o;return o=t.call(this,n),Xw(Kw(o),"props",void 0),o.props=new nc(n==null?void 0:n.props),o}return N4(r,null,[{key:"controlType",get:function(){return"select-multiple"}}]),r}(N);Xw(z4,"controlFieldType",g.ARRAY);function jt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ic(e){return ic=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ic(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&&Fp(e,t)}function H4(e,t){return t&&(q4(t)==="object"||typeof t=="function")?t:jt(e)}function Fp(e,t){return Fp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fp(e,t)}function q4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function U4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zw(e){var t=U4();return function(){var n=ic(e),o;if(t){var i=ic(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return H4(this,o)}}var W4=function(e){Qw(r,e);var t=Zw(r);function r(n){Jw(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(U),Np=function(e){Qw(r,e);var t=Zw(r);function r(n){Jw(this,r);var o;o=t.call(this,n),Mt(jt(o),"showType",void 0),Mt(jt(o),"range",void 0),Mt(jt(o),"rangeOptions",void 0),Mt(jt(o),"multiple",void 0),Mt(jt(o),"defaultValueType",void 0),Mt(jt(o),"defaultValue",void 0),Mt(jt(o),"multistageFilling",void 0),Mt(jt(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var c;o.rangeOptions=(c=n==null?void 0:n.rangeOptions)!==null&&c!==void 0?c:[];var a;o.multiple=(a=n==null?void 0:n.multiple)!==null&&a!==void 0?a:!1;var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:Lp.controlName;var p;o.placeholder=(p=n==null?void 0:n.placeholder)!==null&&p!==void 0?p:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var m;return o.openMultistageFilling=(m=n==null?void 0:n.openMultistageFilling)!==null&&m!==void 0?m:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var b;(b=o.multistageFilling)===null||b===void 0||b.push(new Ee(O))})),o}return r}(D);Mt(Np,"RuntimeRules",W4);function Yw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function K4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function e$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function G4(e,t,r){return t&&e$(e.prototype,t),r&&e$(e,r),e}function jp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uc(e){return uc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uc(e)}function X4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mp(e,t)}function J4(e,t){return t&&(Q4(t)==="object"||typeof t=="function")?t:Yw(e)}function Mp(e,t){return Mp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mp(e,t)}function Q4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Z4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Y4(e){var t=Z4();return function(){var n=uc(e),o;if(t){var i=uc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return J4(this,o)}}var Lp=function(e){X4(r,e);var t=Y4(r);function r(n){K4(this,r);var o;return o=t.call(this,n),jp(Yw(o),"props",void 0),o.props=new Np(n==null?void 0:n.props),o}return G4(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),r}(F);jp(Lp,"controlFieldType",g.EMPLOYEES),jp(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.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 t$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function t8(e,t,r){return t&&n$(e.prototype,t),r&&n$(e,r),e}function r$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cc(e){return cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cc(e)}function n8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 r8(e,t){return t&&(o8(t)==="object"||typeof t=="function")?t:t$(e)}function Cp(e,t){return Cp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cp(e,t)}function o8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function i8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function u8(e){var t=i8();return function(){var n=cc(e),o;if(t){var i=cc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return r8(this,o)}}var c8=function(e){n8(r,e);var t=u8(r);function r(n){e8(this,r);var o;return o=t.call(this,n),r$(t$(o),"props",void 0),o.props=new Np(n==null?void 0:n.props),o}return t8(r,null,[{key:"controlType",get:function(){return"employee"}}]),r}(N);r$(c8,"controlFieldType",g.EMPLOYEES);function rt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lc(e){return lc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lc(e)}function zp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hp(e,t)}function l8(e,t){return t&&(a8(t)==="object"||typeof t=="function")?t:rt(e)}function Hp(e,t){return Hp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hp(e,t)}function a8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function f8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qp(e){var t=f8();return function(){var n=lc(e),o;if(t){var i=lc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return l8(this,o)}}var s8=10485760,_8=104857600,y8=1048576e3,p8=function(e){zp(r,e);var t=qp(r);function r(n){Vp(this,r);var o;return o=t.call(this,n),Xe(rt(o),"maxSize",{type:"number",min:0,max:y8,message:d.getMessage("attachmentMaxSize")}),o}return r}(pe),d8=function(e){zp(r,e);var t=qp(r);function r(n){Vp(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o.push({type:"array",max:n.maxLimit,min:n.minLimit,message:d.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),o}return r}(U),ac=function(e){zp(r,e);var t=qp(r);function r(n){Vp(this,r);var o;o=t.call(this,n),Xe(rt(o),"defaultValue",void 0),Xe(rt(o),"showType",void 0),Xe(rt(o),"resultShowType",void 0),Xe(rt(o),"attachmentAccept",void 0),Xe(rt(o),"maxLimit",void 0),Xe(rt(o),"minLimit",void 0),Xe(rt(o),"isShowWatermark",void 0),Xe(rt(o),"watermarkFx",void 0),Xe(rt(o),"maxSize",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:[];var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"default";var c;o.resultShowType=(c=n==null?void 0:n.resultShowType)!==null&&c!==void 0?c:"simple";var a;o.attachmentAccept=(a=n==null?void 0:n.attachmentAccept)!==null&&a!==void 0?a:[];var l;o.maxLimit=(l=n==null?void 0:n.maxLimit)!==null&&l!==void 0?l:10;var f;o.minLimit=(f=n==null?void 0:n.minLimit)!==null&&f!==void 0?f:0;var _;o.maxSize=(_=n==null?void 0:n.maxSize)!==null&&_!==void 0?_:_8;var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:ao.controlName;var m;o.placeholder=(m=n==null?void 0:n.placeholder)!==null&&m!==void 0?m:"\u4E0A\u4F20\u9644\u4EF6";var O;o.isShowWatermark=(O=n==null?void 0:n.isShowWatermark)!==null&&O!==void 0?O:!1;var b;return o.watermarkFx=(b=n==null?void 0:n.watermarkFx)!==null&&b!==void 0?b:{},o}return r}(D);Xe(ac,"Rules",p8),Xe(ac,"RuntimeRules",d8);function o$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h8(e,t,r){return t&&i$(e.prototype,t),r&&i$(e,r),e}function fc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sc(e){return sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sc(e)}function b8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Up(e,t)}function m8(e,t){return t&&(g8(t)==="object"||typeof t=="function")?t:o$(e)}function Up(e,t){return Up=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Up(e,t)}function g8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function O8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function w8(e){var t=O8();return function(){var n=sc(e),o;if(t){var i=sc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return m8(this,o)}}var ao=function(e){b8(r,e);var t=w8(r);function r(n){v8(this,r);var o;return o=t.call(this,n),fc(o$(o),"props",void 0),o.props=new ac(n==null?void 0:n.props),o}return h8(r,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(F);fc(ao,"controlEventKeys",["on_change"]),fc(ao,"controlFieldType",g.FILE),fc(ao,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function u$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function P8(e,t,r){return t&&c$(e.prototype,t),r&&c$(e,r),e}function l$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _c(e){return _c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_c(e)}function R8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wp(e,t)}function S8(e,t){return t&&(E8(t)==="object"||typeof t=="function")?t:u$(e)}function Wp(e,t){return Wp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wp(e,t)}function E8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function T8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function I8(e){var t=T8();return function(){var n=_c(e),o;if(t){var i=_c(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return S8(this,o)}}var B8=function(e){R8(r,e);var t=I8(r);function r(n){$8(this,r);var o;return o=t.call(this,n),l$(u$(o),"props",void 0),o.props=new ac(n==null?void 0:n.props),o}return P8(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(N);l$(B8,"controlFieldType",g.FILE);function A8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function k8(e,t,r){return t&&a$(e.prototype,t),r&&a$(e,r),e}function f$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yc(e){return yc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yc(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&&Kp(e,t)}function F8(e,t){return t&&(N8(t)==="object"||typeof t=="function")?t:A8(e)}function Kp(e,t){return Kp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kp(e,t)}function N8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function j8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function M8(e){var t=j8();return function(){var n=yc(e),o;if(t){var i=yc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return F8(this,o)}}var s$=function(e){D8(r,e);var t=M8(r);function r(n){x8(this,r);var o,i,u;o=t.call(this,n),o.props.showType="image";var c;o.props.caption=(c=n==null||(i=n.props)===null||i===void 0?void 0:i.caption)!==null&&c!==void 0?c:r.controlName;var a;return o.props.placeholder=(a=n==null||(u=n.props)===null||u===void 0?void 0:u.placeholder)!==null&&a!==void 0?a:"\u4E0A\u4F20\u56FE\u7247",o}return k8(r,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),r}(ao);f$(s$,"controlFieldType",g.IMAGE),f$(s$,"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 ke(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function be(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pc(e){return pc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pc(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&&Jp(e,t)}function L8(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){be(e,o,r[o])})}return e}function C8(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function V8(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):C8(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function z8(e,t){return t&&(H8(t)==="object"||typeof t=="function")?t:ke(e)}function Jp(e,t){return Jp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jp(e,t)}function H8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function q8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qp(e){var t=q8();return function(){var n=pc(e),o;if(t){var i=pc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return z8(this,o)}}var U8=function(e){Xp(r,e);var t=Qp(r);function r(n){Gp(this,r);var o;o=t.call(this,n),be(ke(o),"defaultValue",{type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:d.getMessage("pleaseEnterNumberRange")}]}}),be(ke(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue.fields.amount[0].max=i,o.defaultValue.fields.amount[0].min=u,o.defaultValue.fields.amount[0].message=d.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:d.getMessage("numberRangeSetError")}),o}return r}(jn),W8=function(e){Xp(r,e);var t=Qp(r);function r(n){Gp(this,r);var o;o=t.call(this,n),o[0]!==void 0&&(o[0].type="object");var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.push({type:"object",fields:{amount:[V8(L8({},o[0]),{type:"number"}),{type:"number",min:u,max:i,message:d.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}],currency:{type:"string"}}}),o}return r}(U),dc=function(e){Xp(r,e);var t=Qp(r);function r(n){Gp(this,r);var o;o=t.call(this,n),be(ke(o),"rangeMin",void 0),be(ke(o),"rangeMax",void 0),be(ke(o),"showUpperCase",void 0),be(ke(o),"submitSelectCurrency",void 0),be(ke(o),"micrometer",void 0),be(ke(o),"precision",void 0),be(ke(o),"optionConfig",void 0),be(ke(o),"dataBind",void 0),be(ke(o),"datasourceBind",void 0),be(ke(o),"defaultValue",void 0),be(ke(o),"options",void 0);var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var u;o.rangeMax=(u=n==null?void 0:n.rangeMax)!==null&&u!==void 0?u:"";var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"datasource";var 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:2,o.dataBind=new xA(n==null?void 0:n.dataBind);var f;o.datasourceBind=new te((f=n==null?void 0:n.datasourceBind)!==null&&f!==void 0?f:{displayBoList:[new ys({value:"name"})]});var _;o.defaultValue=new kA((_=n==null?void 0:n.defaultValue)!==null&&_!==void 0?_:{amount:"",currency:hs.CNY}),o.options=Tt(n==null?void 0:n.options);var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:bc.controlName;var m;o.placeholder=(m=n==null?void 0:n.placeholder)!==null&&m!==void 0?m:"\u8BF7\u8F93\u5165";var O;o.submitSelectCurrency=(O=n==null?void 0:n.submitSelectCurrency)!==null&&O!==void 0?O:!1;var b;return o.showUpperCase=(b=n==null?void 0:n.showUpperCase)!==null&&b!==void 0?b:!1,o}return r}(D);be(dc,"Rules",U8),be(dc,"RuntimeRules",W8);function _$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function K8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function G8(e,t,r){return t&&y$(e.prototype,t),r&&y$(e,r),e}function vc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?hc=Reflect.get:hc=function(o,i,u){var c=Q8(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},hc(e,t,r||e)}function Kn(e){return Kn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kn(e)}function X8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zp(e,t)}function J8(e,t){return t&&(Z8(t)==="object"||typeof t=="function")?t:_$(e)}function Zp(e,t){return Zp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zp(e,t)}function Q8(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Kn(e),e!==null););return e}function Z8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Y8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function e7(e){var t=Y8();return function(){var n=Kn(e),o;if(t){var i=Kn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return J8(this,o)}}var bc=function(e){X8(r,e);var t=e7(r);function r(n){K8(this,r);var o;return o=t.call(this,n),vc(_$(o),"props",void 0),o.props=new dc(n==null?void 0:n.props),o}return G8(r,[{key:"toDataBindModel",value:function(o){var i=hc(Kn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,a=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=a}return i}}],[{key:"controlName",get:function(){return"\u91D1\u989D"}},{key:"controlType",get:function(){return"amount"}},{key:"controlIcon",get:function(){return"iconjine"}}]),r}(F);vc(bc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),vc(bc,"controlFieldType",g.MONEY),vc(bc,"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:"currency-type",visible:!0},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function p$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function t7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function n7(e,t,r){return t&&d$(e.prototype,t),r&&d$(e,r),e}function v$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mc(e){return mc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mc(e)}function r7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yp(e,t)}function o7(e,t){return t&&(i7(t)==="object"||typeof t=="function")?t:p$(e)}function Yp(e,t){return Yp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yp(e,t)}function i7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function u7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function c7(e){var t=u7();return function(){var n=mc(e),o;if(t){var i=mc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return o7(this,o)}}var l7=function(e){r7(r,e);var t=c7(r);function r(n){t7(this,r);var o;return o=t.call(this,n),v$(p$(o),"props",void 0),o.props=new dc(n==null?void 0:n.props),o}return n7(r,null,[{key:"controlType",get:function(){return"amount"}}]),r}(N);v$(l7,"controlFieldType",g.MONEY);function cn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ed(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gc(e){return gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gc(e)}function td(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nd(e,t)}function a7(e,t){return t&&(f7(t)==="object"||typeof t=="function")?t:cn(e)}function nd(e,t){return nd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nd(e,t)}function f7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function s7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rd(e){var t=s7();return function(){var n=gc(e),o;if(t){var i=gc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return a7(this,o)}}var _7=function(e){td(r,e);var t=rd(r);function r(n){ed(this,r);var o;return o=t.call(this,n),Lt(cn(o),"totalScore",[{type:"number",required:!0,message:d.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:d.getMessage("theTotalScoreMustNotBeLessThan1")}]),Lt(cn(o),"defaultValue",{type:"number",min:0,max:5,message:d.getMessage("scoreDefaultValueRange")}),o.defaultValue.max=n.totalScore,o.defaultValue.message=d.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:0}),o}return r}(pe),y7=function(e){td(r,e);var t=rd(r);function r(n){ed(this,r);var o;o=t.call(this,n),o[0]!==void 0&&(o[0].type="number");var i=n.required?1:0;return o.push({type:"number",min:i,max:n.totalScore,message:d.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:i})}),o}return r}(U),Oc=function(e){td(r,e);var t=rd(r);function r(n){ed(this,r);var o,i;o=t.call(this,n),Lt(cn(o),"totalScore",void 0),Lt(cn(o),"scoreType",void 0),Lt(cn(o),"isShowExplain",void 0),Lt(cn(o),"explain",void 0),Lt(cn(o),"defaultValue",void 0);var u;o.totalScore=(u=n==null?void 0:n.totalScore)!==null&&u!==void 0?u:5;var c;o.scoreType=(c=n==null?void 0:n.scoreType)!==null&&c!==void 0?c:v_.STAR;var a;o.isShowExplain=(a=n==null?void 0:n.isShowExplain)!==null&&a!==void 0?a:!0;var l;o.explain=(l=n==null||(i=n.explain)===null||i===void 0?void 0:i.map(function(p){return new h_(p)}))!==null&&l!==void 0?l:Array(o.totalScore).fill(void 0).map(function(){return new h_});var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:0;var _;return o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:Pc.controlName,o}return r}(D);Lt(Oc,"Rules",_7),Lt(Oc,"RuntimeRules",y7);function od(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function p7(e){if(Array.isArray(e))return od(e)}function h$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function v7(e,t,r){return t&&b$(e.prototype,t),r&&b$(e,r),e}function wc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $c(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?$c=Reflect.get:$c=function(o,i,u){var c=O7(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},$c(e,t,r||e)}function Gn(e){return Gn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gn(e)}function h7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&id(e,t)}function b7(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function m7(){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 g7(e,t){return t&&($7(t)==="object"||typeof t=="function")?t:h$(e)}function id(e,t){return id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},id(e,t)}function O7(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Gn(e),e!==null););return e}function w7(e){return p7(e)||b7(e)||P7(e)||m7()}function $7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function P7(e,t){if(!!e){if(typeof e=="string")return od(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return od(e,t)}}function R7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function S7(e){var t=R7();return function(){var n=Gn(e),o;if(t){var i=Gn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return g7(this,o)}}var Pc=function(e){h7(r,e);var t=S7(r);function r(n){d7(this,r);var o;return o=t.call(this,n),wc(h$(o),"props",void 0),o.props=new Oc(n==null?void 0:n.props),o}return v7(r,[{key:"postUpdate",value:function(o,i){if(o==="totalScore"){if(i===this.props.explain.length)return;if(this.props.explain.length>i)this.props.explain=this.props.explain.slice(0,i);else{var u,c=i-this.props.explain.length,a=Array(c).fill(void 0).map(function(){return new h_});(u=this.props.explain).push.apply(u,w7(a))}}$c(Gn(r.prototype),"postUpdate",this).call(this,o,i)}}],[{key:"controlName",get:function(){return"\u8BC4\u5206"}},{key:"controlIcon",get:function(){return"iconpingfen"}},{key:"controlType",get:function(){return"score"}}]),r}(F);wc(Pc,"controlEventKeys",["on_change","on_click"]),wc(Pc,"controlFieldType",g.DECIMAL),wc(Pc,"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 m$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function T7(e,t,r){return t&&g$(e.prototype,t),r&&g$(e,r),e}function O$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rc(e){return Rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rc(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&&ud(e,t)}function B7(e,t){return t&&(A7(t)==="object"||typeof t=="function")?t:m$(e)}function ud(e,t){return ud=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ud(e,t)}function A7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function x7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function k7(e){var t=x7();return function(){var n=Rc(e),o;if(t){var i=Rc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return B7(this,o)}}var D7=function(e){I7(r,e);var t=k7(r);function r(n){E7(this,r);var o;return o=t.call(this,n),O$(m$(o),"props",void 0),o.props=new Oc(n==null?void 0:n.props),o}return T7(r,null,[{key:"controlType",get:function(){return"score"}}]),r}(N);O$(D7,"controlFieldType",g.DECIMAL);function Sc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ec(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tc(e){return Tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tc(e)}function $$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 F7(e,t){return t&&(N7(t)==="object"||typeof t=="function")?t:Sc(e)}function cd(e,t){return cd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cd(e,t)}function N7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function j7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function P$(e){var t=j7();return function(){var n=Tc(e),o;if(t){var i=Tc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return F7(this,o)}}var M7=function(e){$$(r,e);var t=P$(r);function r(n){w$(this,r);var o;if(o=t.call(this,n),o[0]!==void 0&&(o[0].type="object"),n.required&&!n.isHide){var i={type:"object",fields:{province:{type:"string",required:n.required,message:d.getMessage("pleaseSelectProvince")}}};n.addressType.includes("city")&&(i.fields.city={type:"string",required:n.required,message:d.getMessage("pleaseSelectCity")}),n.addressType.includes("district")&&(i.fields.district={type:"string",required:n.required,message:d.getMessage("pleaseSelectDistrict")}),o.push(i)}return o}return r}(U),ld=function(e){$$(r,e);var t=P$(r);function r(n){w$(this,r);var o;o=t.call(this,n),Ec(Sc(o),"defaultValueType",void 0),Ec(Sc(o),"defaultValue",void 0),Ec(Sc(o),"addressType",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:sd.controlName;var u;o.defaultValueType=(u=n==null?void 0:n.defaultValueType)!==null&&u!==void 0?u:"default";var c;o.addressType=(c=n==null?void 0:n.addressType)!==null&&c!==void 0?c:["province","city","district"];var a;o.defaultValue=new NA((a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:{});var l;return o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u9009\u62E9\u5730\u5740",o}return r}(D);Ec(ld,"RuntimeRules",M7);function R$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function S$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function C7(e,t,r){return t&&S$(e.prototype,t),r&&S$(e,r),e}function ad(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ic(e){return Ic=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ic(e)}function V7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fd(e,t)}function z7(e,t){return t&&(H7(t)==="object"||typeof t=="function")?t:R$(e)}function fd(e,t){return fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fd(e,t)}function H7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function q7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function U7(e){var t=q7();return function(){var n=Ic(e),o;if(t){var i=Ic(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return z7(this,o)}}var sd=function(e){V7(r,e);var t=U7(r);function r(n){L7(this,r);var o;return o=t.call(this,n),ad(R$(o),"props",void 0),o.props=new ld(n==null?void 0:n.props),o}return C7(r,null,[{key:"controlName",get:function(){return"\u5730\u5740"}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),r}(F);ad(sd,"controlFieldType",g.ADDRESS),ad(sd,"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 E$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function K7(e,t,r){return t&&T$(e.prototype,t),r&&T$(e,r),e}function I$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bc(e){return Bc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bc(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&&_d(e,t)}function X7(e,t){return t&&(J7(t)==="object"||typeof t=="function")?t:E$(e)}function _d(e,t){return _d=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_d(e,t)}function J7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Q7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Z7(e){var t=Q7();return function(){var n=Bc(e),o;if(t){var i=Bc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return X7(this,o)}}var Y7=function(e){G7(r,e);var t=Z7(r);function r(n){W7(this,r);var o;return o=t.call(this,n),I$(E$(o),"props",void 0),o.props=new ld(n==null?void 0:n.props),o}return K7(r,null,[{key:"controlName",get:function(){return"\u7701\u5E02\u533A"}},{key:"controlIcon",get:function(){return"iconicon_site_management11"}},{key:"controlType",get:function(){return"address"}}]),r}(N);I$(Y7,"controlFieldType",g.ADDRESS);function ot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function it(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ac(e){return Ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ac(e)}function A$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 eC(e,t){return t&&(tC(t)==="object"||typeof t=="function")?t:ot(e)}function yd(e,t){return yd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yd(e,t)}function tC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function x$(e){var t=nC();return function(){var n=Ac(e),o;if(t){var i=Ac(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eC(this,o)}}var rC=function(e){A$(r,e);var t=x$(r);function r(n){B$(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(U),pd=function(e){A$(r,e);var t=x$(r);function r(n){B$(this,r);var o;o=t.call(this,n),it(ot(o),"showType",void 0),it(ot(o),"range",void 0),it(ot(o),"defaultValueType",void 0),it(ot(o),"multiple",void 0),it(ot(o),"rangeOptions",void 0),it(ot(o),"defaultValue",void 0),it(ot(o),"displayLevel",void 0),it(ot(o),"showSubDept",void 0),it(ot(o),"multistageFilling",void 0),it(ot(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1;var c;o.range=(c=n==null?void 0:n.range)!==null&&c!==void 0?c:"all";var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var l;o.rangeOptions=(l=n==null?void 0:n.rangeOptions)!==null&&l!==void 0?l:[];var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var p;o.showSubDept=(p=n==null?void 0:n.showSubDept)!==null&&p!==void 0?p:!0;var m;o.caption=(m=n==null?void 0:n.caption)!==null&&m!==void 0?m:Dc.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u90E8\u95E8";var b;return o.openMultistageFilling=(b=n==null?void 0:n.openMultistageFilling)!==null&&b!==void 0?b:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(w){var v;(v=o.multistageFilling)===null||v===void 0||v.push(new Ee(w))})),o}return r}(D);it(pd,"RuntimeRules",rC);function k$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function D$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function iC(e,t,r){return t&&D$(e.prototype,t),r&&D$(e,r),e}function xc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?kc=Reflect.get:kc=function(o,i,u){var c=lC(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},kc(e,t,r||e)}function Xn(e){return Xn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xn(e)}function uC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dd(e,t)}function cC(e,t){return t&&(aC(t)==="object"||typeof t=="function")?t:k$(e)}function dd(e,t){return dd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dd(e,t)}function lC(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Xn(e),e!==null););return e}function aC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sC(e){var t=fC();return function(){var n=Xn(e),o;if(t){var i=Xn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cC(this,o)}}var Dc=function(e){uC(r,e);var t=sC(r);function r(n){oC(this,r);var o;return o=t.call(this,n),xc(k$(o),"props",void 0),o.props=new pd(n==null?void 0:n.props),o}return iC(r,[{key:"toDataBindModel",value:function(o){var i=kc(Xn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,a=u.showSubDept;i.props.displayLevel=c,i.props.showSubDept=a}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),r}(F);xc(Dc,"controlName","\u90E8\u95E8"),xc(Dc,"controlFieldType",g.DEPARTMENTS),xc(Dc,"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 F$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function N$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yC(e,t,r){return t&&N$(e.prototype,t),r&&N$(e,r),e}function j$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fc(e){return Fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fc(e)}function pC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vd(e,t)}function dC(e,t){return t&&(vC(t)==="object"||typeof t=="function")?t:F$(e)}function vd(e,t){return vd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vd(e,t)}function vC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bC(e){var t=hC();return function(){var n=Fc(e),o;if(t){var i=Fc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dC(this,o)}}var mC=function(e){pC(r,e);var t=bC(r);function r(n){_C(this,r);var o;return o=t.call(this,n),j$(F$(o),"props",void 0),o.props=new pd(n==null?void 0:n.props),o}return yC(r,null,[{key:"controlType",get:function(){return"department"}}]),r}(N);j$(mC,"controlFieldType",g.DEPARTMENTS);function M$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OC(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nc(e){return Nc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nc(e)}function wC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hd(e,t)}function $C(e,t){return t&&(PC(t)==="object"||typeof t=="function")?t:M$(e)}function hd(e,t){return hd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hd(e,t)}function PC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SC(e){var t=RC();return function(){var n=Nc(e),o;if(t){var i=Nc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $C(this,o)}}var L$=function(e){wC(r,e);var t=SC(r);function r(n){gC(this,r);var o;o=t.call(this,n),OC(M$(o),"defaultValue",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:"";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Lc.controlName;var c;return o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",o}return r}(D);function C$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function V$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function TC(e,t,r){return t&&V$(e.prototype,t),r&&V$(e,r),e}function jc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mc(e){return Mc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mc(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&&bd(e,t)}function BC(e,t){return t&&(AC(t)==="object"||typeof t=="function")?t:C$(e)}function bd(e,t){return bd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bd(e,t)}function AC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kC(e){var t=xC();return function(){var n=Mc(e),o;if(t){var i=Mc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BC(this,o)}}var Lc=function(e){IC(r,e);var t=kC(r);function r(n){EC(this,r);var o;return o=t.call(this,n),jc(C$(o),"props",void 0),o.props=new L$(n==null?void 0:n.props),o}return TC(r,null,[{key:"controlName",get:function(){return"\u81EA\u52A8\u7F16\u53F7"}},{key:"controlIcon",get:function(){return"iconnumber_new"}},{key:"controlType",get:function(){return"auto-number"}}]),r}(F);jc(Lc,"controlEventKeys",["on_change"]),jc(Lc,"controlFieldType",g.AUTO_NUMBER),jc(Lc,"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 z$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function H$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function FC(e,t,r){return t&&H$(e.prototype,t),r&&H$(e,r),e}function q$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cc(e){return Cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cc(e)}function NC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&md(e,t)}function jC(e,t){return t&&(MC(t)==="object"||typeof t=="function")?t:z$(e)}function md(e,t){return md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},md(e,t)}function MC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CC(e){var t=LC();return function(){var n=Cc(e),o;if(t){var i=Cc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jC(this,o)}}var VC=function(e){NC(r,e);var t=CC(r);function r(n){DC(this,r);var o;return o=t.call(this,n),q$(z$(o),"props",void 0),o.props=new L$(n==null?void 0:n.props),o}return FC(r,null,[{key:"controlType",get:function(){return"auto-number"}}]),r}(N);q$(VC,"controlFieldType",g.AUTO_NUMBER);function Ct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vc(e){return Vc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vc(e)}function Od(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 zC(e,t){return t&&(HC(t)==="object"||typeof t=="function")?t:Ct(e)}function wd(e,t){return wd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wd(e,t)}function HC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $d(e){var t=qC();return function(){var n=Vc(e),o;if(t){var i=Vc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zC(this,o)}}var UC=function(e){Od(r,e);var t=$d(r);function r(n){gd(this,r);var o;return o=t.call(this,n),o.dataBind.fields.result.required=!1,o.dataBind.fields.result.fields.fieldCode.required=!1,o.dataBind.fields.result.fields.dataCode.required=!1,o.dataBind.fields.unit.required=!1,o.dataBind.fields.unit.fields.fieldCode.required=!1,o.dataBind.fields.unit.fields.dataCode.required=!1,o}return r}(pe),WC=function(e){Od(r,e);var t=$d(r);function r(n){gd(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="object"),o.push({type:"object",message:d.getMessage("isNotObject"),fields:{result:[{type:"number",message:d.getMessage("isNotNumber")}],unit:{type:"string",message:d.getMessage("isNotString")}}}),o}return r}(U),zc=function(e){Od(r,e);var t=$d(r);function r(n){gd(this,r);var o;o=t.call(this,n),bt(Ct(o),"precision",void 0),bt(Ct(o),"micrometer",void 0),bt(Ct(o),"showUpperCase",void 0),bt(Ct(o),"scriptSrc",void 0),bt(Ct(o),"scriptEcho",void 0),bt(Ct(o),"dataBind",void 0),bt(Ct(o),"defaultValue",void 0),bt(Ct(o),"calcOnMounted",void 0);var i;o.precision=(i=n==null?void 0:n.precision)!==null&&i!==void 0?i:0;var u;o.micrometer=(u=n==null?void 0:n.micrometer)!==null&&u!==void 0?u:!1;var c;o.showUpperCase=(c=n==null?void 0:n.showUpperCase)!==null&&c!==void 0?c:!1,o.dataBind=new jA(n==null?void 0:n.dataBind),o.defaultValue=new MA(n==null?void 0:n.defaultValue);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Uc.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165";var f;o.scriptEcho=(f=n==null?void 0:n.scriptEcho)!==null&&f!==void 0?f:[];var _;o.scriptSrc=(_=n==null?void 0:n.scriptSrc)!==null&&_!==void 0?_:"";var p;return o.calcOnMounted=(p=n==null?void 0:n.calcOnMounted)!==null&&p!==void 0?p:!1,o}return r}(D);bt(zc,"Rules",UC),bt(zc,"RuntimeRules",WC);function U$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function W$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function GC(e,t,r){return t&&W$(e.prototype,t),r&&W$(e,r),e}function Hc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?qc=Reflect.get:qc=function(o,i,u){var c=QC(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},qc(e,t,r||e)}function Jn(e){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jn(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&&Pd(e,t)}function JC(e,t){return t&&(ZC(t)==="object"||typeof t=="function")?t:U$(e)}function Pd(e,t){return Pd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pd(e,t)}function QC(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Jn(e),e!==null););return e}function ZC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function e9(e){var t=YC();return function(){var n=Jn(e),o;if(t){var i=Jn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JC(this,o)}}var Uc=function(e){XC(r,e);var t=e9(r);function r(n){KC(this,r);var o;return o=t.call(this,n),Hc(U$(o),"props",void 0),o.props=new zc(n==null?void 0:n.props),o}return GC(r,[{key:"toDataBindModel",value:function(o){var i=qc(Jn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,a=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=a}return i}}],[{key:"controlName",get:function(){return"\u8BA1\u7B97\u516C\u5F0F"}},{key:"controlType",get:function(){return"calc"}},{key:"controlIcon",get:function(){return"iconcalculation_new"}}]),r}(F);Hc(Uc,"controlEventKeys",["on_change"]),Hc(Uc,"controlFieldType",g.CALC),Hc(Uc,"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:"default-value",visible:!1},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function K$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function t9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function G$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function n9(e,t,r){return t&&G$(e.prototype,t),r&&G$(e,r),e}function X$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wc(e){return Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wc(e)}function r9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rd(e,t)}function o9(e,t){return t&&(i9(t)==="object"||typeof t=="function")?t:K$(e)}function Rd(e,t){return Rd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rd(e,t)}function i9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function u9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function c9(e){var t=u9();return function(){var n=Wc(e),o;if(t){var i=Wc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return o9(this,o)}}var l9=function(e){r9(r,e);var t=c9(r);function r(n){t9(this,r);var o;return o=t.call(this,n),X$(K$(o),"props",void 0),o.props=new zc(n==null?void 0:n.props),o}return n9(r,null,[{key:"controlType",get:function(){return"calc"}}]),r}(N);X$(l9,"controlFieldType",g.CALC);function Qn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function J$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kc(e){return Kc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kc(e)}function Q$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sd(e,t)}function a9(e,t){return t&&(f9(t)==="object"||typeof t=="function")?t:Qn(e)}function Sd(e,t){return Sd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sd(e,t)}function f9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function s9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Z$(e){var t=s9();return function(){var n=Kc(e),o;if(t){var i=Kc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return a9(this,o)}}var _9=function(e){Q$(r,e);var t=Z$(r);function r(n){J$(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o.push({validator:function(u,c){if(n.required){var a=c.every(function(l){return!l});return a?Promise.reject(d.getMessage("runtimeRequired",{caption:n.caption})):Promise.resolve()}else return Promise.resolve()}}),o}return r}(U),Ed=function(e){Q$(r,e);var t=Z$(r);function r(n){J$(this,r);var o;o=t.call(this,n),Zn(Qn(o),"rangeMin",void 0),Zn(Qn(o),"rangeMax",void 0),Zn(Qn(o),"placeholderStart",void 0),Zn(Qn(o),"placeholderEnd",void 0),Zn(Qn(o),"defaultValue",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:["",""];var u;o.rangeMin=(u=n==null?void 0:n.rangeMin)!==null&&u!==void 0?u:"";var c;o.rangeMax=(c=n==null?void 0:n.rangeMax)!==null&&c!==void 0?c:"";var a;o.placeholderStart=(a=n==null?void 0:n.placeholderStart)!==null&&a!==void 0?a:"\u6700\u5C0F\u503C";var l;o.placeholderEnd=(l=n==null?void 0:n.placeholderEnd)!==null&&l!==void 0?l:"\u6700\u5927\u503C";var f;return o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:Bd.controlName,o}return r}(D);Zn(Ed,"RuntimeRules",_9);function Y$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p9(e,t,r){return t&&eP(e.prototype,t),r&&eP(e,r),e}function Td(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gc(e){return Gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gc(e)}function d9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 v9(e,t){return t&&(h9(t)==="object"||typeof t=="function")?t:Y$(e)}function Id(e,t){return Id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Id(e,t)}function h9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function b9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function m9(e){var t=b9();return function(){var n=Gc(e),o;if(t){var i=Gc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return v9(this,o)}}var Bd=function(e){d9(r,e);var t=m9(r);function r(n){y9(this,r);var o;return o=t.call(this,n),Td(Y$(o),"props",void 0),o.props=new Ed(n==null?void 0:n.props),o}return p9(r,null,[{key:"controlName",get:function(){return"\u6570\u5B57\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconshuziqujian"}},{key:"controlType",get:function(){return"search-number-range"}}]),r}(F);Td(Bd,"controlFieldType",g.DECIMAL_RANGE),Td(Bd,"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 tP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function O9(e,t,r){return t&&nP(e.prototype,t),r&&nP(e,r),e}function rP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xc(e){return Xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xc(e)}function w9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ad(e,t)}function $9(e,t){return t&&(P9(t)==="object"||typeof t=="function")?t:tP(e)}function Ad(e,t){return Ad=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ad(e,t)}function P9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function R9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function S9(e){var t=R9();return function(){var n=Xc(e),o;if(t){var i=Xc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $9(this,o)}}var E9=function(e){w9(r,e);var t=S9(r);function r(n){g9(this,r);var o;return o=t.call(this,n),rP(tP(o),"props",void 0),o.props=new Ed(n==null?void 0:n.props),o}return O9(r,null,[{key:"controlType",get:function(){return"search-number-range"}}]),r}(N);rP(E9,"controlFieldType",g.DECIMAL_RANGE);function ut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ct(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jc(e){return Jc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jc(e)}function iP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xd(e,t)}function T9(e,t){return t&&(I9(t)==="object"||typeof t=="function")?t:ut(e)}function xd(e,t){return xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xd(e,t)}function I9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function B9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uP(e){var t=B9();return function(){var n=Jc(e),o;if(t){var i=Jc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return T9(this,o)}}var A9=function(e){iP(r,e);var t=uP(r);function r(n){oP(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),n.required&&!n.isHide&&o.push({type:"array",fields:{0:{type:"string",required:n.required,message:o[0].message},1:{type:"string",required:n.required,message:o[0].message}}}),o}return r}(U),kd=function(e){iP(r,e);var t=uP(r);function r(n){oP(this,r);var o,i;o=t.call(this,n),ct(ut(o),"rangeMin",void 0),ct(ut(o),"rangeMax",void 0),ct(ut(o),"placeholderStart",void 0),ct(ut(o),"placeholderEnd",void 0),ct(ut(o),"dateType",void 0),ct(ut(o),"dateFormat",void 0),ct(ut(o),"commonTimeSetting",void 0),ct(ut(o),"setValueType",void 0),ct(ut(o),"defaultValue",void 0),ct(ut(o),"limitDateList",void 0);var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:["",""];var c;o.dateType=(c=n==null?void 0:n.dateType)!==null&&c!==void 0?c:zt.DATE;var a;o.dateFormat=(a=n==null?void 0:n.dateFormat)!==null&&a!==void 0?a:"";var l;o.commonTimeSetting=(l=n==null?void 0:n.commonTimeSetting)!==null&&l!==void 0?l:[];var f;o.setValueType=(f=n==null?void 0:n.setValueType)!==null&&f!==void 0?f:"custom";var _;o.rangeMin=(_=n==null?void 0:n.rangeMin)!==null&&_!==void 0?_:"";var p;o.rangeMax=(p=n==null?void 0:n.rangeMax)!==null&&p!==void 0?p:"";var m;o.placeholderStart=(m=n==null?void 0:n.placeholderStart)!==null&&m!==void 0?m:"\u5F00\u59CB\u65E5\u671F";var O;o.placeholderEnd=(O=n==null?void 0:n.placeholderEnd)!==null&&O!==void 0?O:"\u7ED3\u675F\u65E5\u671F";var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:Nd.controlName;var w;return o.limitDateList=(w=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(v){return new d_(v)}))!==null&&w!==void 0?w:[],o}return r}(D);ct(kd,"RuntimeRules",A9);function cP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function k9(e,t,r){return t&&lP(e.prototype,t),r&&lP(e,r),e}function Dd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qc(e){return Qc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qc(e)}function D9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 F9(e,t){return t&&(N9(t)==="object"||typeof t=="function")?t:cP(e)}function Fd(e,t){return Fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fd(e,t)}function N9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function j9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function M9(e){var t=j9();return function(){var n=Qc(e),o;if(t){var i=Qc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return F9(this,o)}}var Nd=function(e){D9(r,e);var t=M9(r);function r(n){x9(this,r);var o;return o=t.call(this,n),Dd(cP(o),"props",void 0),o.props=new kd(n==null?void 0:n.props),o}return k9(r,null,[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"search-date-range"}}]),r}(F);Dd(Nd,"controlFieldType",g.ARRAY),Dd(Nd,"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 aP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function C9(e,t,r){return t&&fP(e.prototype,t),r&&fP(e,r),e}function sP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zc(e){return Zc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zc(e)}function V9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jd(e,t)}function z9(e,t){return t&&(H9(t)==="object"||typeof t=="function")?t:aP(e)}function jd(e,t){return jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jd(e,t)}function H9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function q9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function U9(e){var t=q9();return function(){var n=Zc(e),o;if(t){var i=Zc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return z9(this,o)}}var W9=function(e){V9(r,e);var t=U9(r);function r(n){L9(this,r);var o;return o=t.call(this,n),sP(aP(o),"props",void 0),o.props=new kd(n==null?void 0:n.props),o}return C9(r,null,[{key:"controlType",get:function(){return"search-date-range"}}]),r}(N);sP(W9,"controlFieldType",g.ARRAY);function fo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Md(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yc(e){return Yc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yc(e)}function Ld(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cd(e,t)}function K9(e,t){return t&&(G9(t)==="object"||typeof t=="function")?t:fo(e)}function Cd(e,t){return Cd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cd(e,t)}function G9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function X9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vd(e){var t=X9();return function(){var n=Yc(e),o;if(t){var i=Yc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return K9(this,o)}}var J9=function(e){Ld(r,e);var t=Vd(r);function r(n){Md(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(pe),Q9=function(e){Ld(r,e);var t=Vd(r);function r(n){Md(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="any"),o}return r}(U),el=function(e){Ld(r,e);var t=Vd(r);function r(n){Md(this,r);var o;o=t.call(this,n),Yn(fo(o),"controlExportName",void 0),Yn(fo(o),"permissions",void 0),Yn(fo(o),"defaultValue",void 0),Yn(fo(o),"isInlineEdit",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:rl.controlName;var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:void 0;var c;o.controlExportName=(c=n==null?void 0:n.controlExportName)!==null&&c!==void 0?c:"";var a;o.permissions=(a=n==null?void 0:n.permissions)!==null&&a!==void 0?a:[];var l;return o.isInlineEdit=(l=n==null?void 0:n.isInlineEdit)!==null&&l!==void 0?l:!1,o}return r}(D);Yn(el,"Rules",J9),Yn(el,"RuntimeRules",Q9);function _P(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Z9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Y9(e,t,r){return t&&yP(e.prototype,t),r&&yP(e,r),e}function tl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nl(e){return nl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nl(e)}function eV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zd(e,t)}function tV(e,t){return t&&(nV(t)==="object"||typeof t=="function")?t:_P(e)}function zd(e,t){return zd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zd(e,t)}function nV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oV(e){var t=rV();return function(){var n=nl(e),o;if(t){var i=nl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tV(this,o)}}var rl=function(e){eV(r,e);var t=oV(r);function r(n){Z9(this,r);var o;return o=t.call(this,n),tl(_P(o),"props",void 0),o.props=new el(n==null?void 0:n.props),o}return Y9(r,null,[{key:"controlName",get:function(){return"Vue\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return"vue-form-item"}}]),r}(F);tl(rl,"controlFieldType",g.ANY),tl(rl,"controlEventKeys",[]),tl(rl,"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 pP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uV(e,t,r){return t&&dP(e.prototype,t),r&&dP(e,r),e}function vP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ol(e){return ol=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ol(e)}function cV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hd(e,t)}function lV(e,t){return t&&(aV(t)==="object"||typeof t=="function")?t:pP(e)}function Hd(e,t){return Hd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hd(e,t)}function aV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sV(e){var t=fV();return function(){var n=ol(e),o;if(t){var i=ol(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lV(this,o)}}var _V=function(e){cV(r,e);var t=sV(r);function r(n){iV(this,r);var o;return o=t.call(this,n),vP(pP(o),"props",void 0),o.props=new el(n==null?void 0:n.props),o}return uV(r,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),r}(N);vP(_V,"controlFieldType",g.ANY);function Re(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Se(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function il(e){return il=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},il(e)}function 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&&qd(e,t)}function yV(e,t){return t&&(pV(t)==="object"||typeof t=="function")?t:Re(e)}function qd(e,t){return qd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qd(e,t)}function pV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mP(e){var t=dV();return function(){var n=il(e),o;if(t){var i=il(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yV(this,o)}}var vV=function(e){bP(r,e);var t=mP(r);function r(n){hP(this,r);var o;return o=t.call(this,n),Se(Re(o),"listPageBind",[{type:"object",message:d.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}]}}]),Se(Re(o),"formBind",{type:"object",fields:{formKey:{type:"string",message:d.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return r}(jn),Ud=function(e){bP(r,e);var t=mP(r);function r(n){hP(this,r);var o;o=t.call(this,n),Se(Re(o),"options",void 0),Se(Re(o),"optionConfig",void 0),Se(Re(o),"defaultValue",void 0),Se(Re(o),"listPageBind",void 0),Se(Re(o),"datasourceBind",void 0),Se(Re(o),"multistageFilling",void 0),Se(Re(o),"viewFormModelType",void 0),Se(Re(o),"canViewForm",void 0),Se(Re(o),"formBind",void 0),Se(Re(o),"openMultistageFilling",void 0),Se(Re(o),"showSelectedDetail",void 0),Se(Re(o),"selectedContentConfig",void 0);var i;o.options=Tt((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[]);var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"datasource",o.listPageBind=new ss(n==null?void 0:n.listPageBind),o.datasourceBind=new te(n==null?void 0:n.datasourceBind);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:ll.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9";var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:"";var f;o.openMultistageFilling=(f=n==null?void 0:n.openMultistageFilling)!==null&&f!==void 0?f:!1;var _;o.showSelectedDetail=(_=n==null?void 0:n.showSelectedDetail)!==null&&_!==void 0?_:!1,o.selectedContentConfig=new ds(n==null?void 0:n.selectedContentConfig),o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var b;(b=o.multistageFilling)===null||b===void 0||b.push(new Ee(O))}));var p;o.canViewForm=(p=n==null?void 0:n.canViewForm)!==null&&p!==void 0?p:!1;var m;return o.viewFormModelType=(m=n==null?void 0:n.viewFormModelType)!==null&&m!==void 0?m:"window",o.formBind=new Fn(n==null?void 0:n.formBind),o}return r}(D);Se(Ud,"Rules",vV);function gP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bV(e,t,r){return t&&OP(e.prototype,t),r&&OP(e,r),e}function ul(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cl(e){return cl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cl(e)}function 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&&Wd(e,t)}function gV(e,t){return t&&(OV(t)==="object"||typeof t=="function")?t:gP(e)}function Wd(e,t){return Wd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wd(e,t)}function OV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $V(e){var t=wV();return function(){var n=cl(e),o;if(t){var i=cl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gV(this,o)}}var ll=function(e){mV(r,e);var t=$V(r);function r(n){hV(this,r);var o;return o=t.call(this,n),ul(gP(o),"props",void 0),o.props=new Ud(n==null?void 0:n.props),o}return bV(r,null,[{key:"controlName",get:function(){return"\u5173\u8054\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconguanliandanxuan"}},{key:"controlType",get:function(){return"select-relation"}}]),r}(F);ul(ll,"controlFieldType",g.VARCHAR),ul(ll,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]),ul(ll,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);function wP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $P(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function RV(e,t,r){return t&&$P(e.prototype,t),r&&$P(e,r),e}function PP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function al(e){return al=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},al(e)}function SV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kd(e,t)}function EV(e,t){return t&&(TV(t)==="object"||typeof t=="function")?t:wP(e)}function Kd(e,t){return Kd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kd(e,t)}function TV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BV(e){var t=IV();return function(){var n=al(e),o;if(t){var i=al(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return EV(this,o)}}var AV=function(e){SV(r,e);var t=BV(r);function r(n){PV(this,r);var o;return o=t.call(this,n),PP(wP(o),"props",void 0),o.props=new Ud(n==null?void 0:n.props),o}return RV(r,null,[{key:"controlType",get:function(){return"select-relation"}}]),r}(N);PP(AV,"controlFieldType",g.VARCHAR);function xV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fl(e){return fl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fl(e)}function DV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 FV(e,t){return t&&(NV(t)==="object"||typeof t=="function")?t:xV(e)}function Gd(e,t){return Gd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gd(e,t)}function NV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MV(e){var t=jV();return function(){var n=fl(e),o;if(t){var i=fl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FV(this,o)}}var RP=function(e){DV(r,e);var t=MV(r);function r(n){return kV(this,r),t.call(this,n)}return r}(co);function SP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function EP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function CV(e,t,r){return t&&EP(e.prototype,t),r&&EP(e,r),e}function TP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sl(e){return sl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sl(e)}function 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&&Xd(e,t)}function zV(e,t){return t&&(HV(t)==="object"||typeof t=="function")?t:SP(e)}function Xd(e,t){return Xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xd(e,t)}function HV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UV(e){var t=qV();return function(){var n=sl(e),o;if(t){var i=sl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zV(this,o)}}var WV=function(e){VV(r,e);var t=UV(r);function r(n){LV(this,r);var o;return o=t.call(this,n),TP(SP(o),"props",void 0),o.props=new RP(n==null?void 0:n.props),o}return CV(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),r}(lo);TP(WV,"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 IP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function GV(e,t,r){return t&&BP(e.prototype,t),r&&BP(e,r),e}function AP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _l(e){return _l=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_l(e)}function 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&&Jd(e,t)}function JV(e,t){return t&&(QV(t)==="object"||typeof t=="function")?t:IP(e)}function Jd(e,t){return Jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jd(e,t)}function QV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YV(e){var t=ZV();return function(){var n=_l(e),o;if(t){var i=_l(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JV(this,o)}}var ez=function(e){XV(r,e);var t=YV(r);function r(n){KV(this,r);var o;return o=t.call(this,n),AP(IP(o),"props",void 0),o.props=new RP(n==null?void 0:n.props),o}return GV(r,null,[{key:"controlType",get:function(){return"search-input"}}]),r}(N);AP(ez,"controlFieldType",g.VARCHAR);function X(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yl(e){return yl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yl(e)}function Zd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 tz(e,t){return t&&(nz(t)==="object"||typeof t=="function")?t:X(e)}function Yd(e,t){return Yd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yd(e,t)}function nz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ev(e){var t=rz();return function(){var n=yl(e),o;if(t){var i=yl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tz(this,o)}}var oz=function(e){Zd(r,e);var t=ev(r);function r(n){Qd(this,r);var o;return o=t.call(this,n),J(X(o),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),Fo.call(X(o),n,bn.controlCustomAttributes,!0),o.datasourceBind[1].fields&&(o.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:d.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:d.getMessage("rootNodeIsRequired")}}}]),o}return r}(pe),iz=function(e){Zd(r,e);var t=ev(r);function r(n){Qd(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(U),pl=function(e){Zd(r,e);var t=ev(r);function r(n){Qd(this,r);var o,i;o=t.call(this,n),J(X(o),"placeholder",void 0),J(X(o),"multiple",void 0),J(X(o),"canSearch",void 0),J(X(o),"levelType",void 0),J(X(o),"optionalLevel",void 0),J(X(o),"containsSubNode",void 0),J(X(o),"defaultDisplay",void 0),J(X(o),"isShowIncludeSub",void 0),J(X(o),"isDefaultCheckSub",void 0),J(X(o),"isShowFilterItem",void 0),J(X(o),"defaultCollapse",void 0),J(X(o),"defaultCollapseLevel",void 0),J(X(o),"optionConfig","datasource"),J(X(o),"datasourceBind",void 0),J(X(o),"filterItemDatasourceBind",void 0),J(X(o),"multistageFilling",void 0),J(X(o),"defaultValue",void 0),J(X(o),"openMultistageFilling",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:bn.controlName;var c;o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:"\u8BF7\u9009\u62E9";var a;o.multiple=(a=n==null?void 0:n.multiple)!==null&&a!==void 0?a:!1;var l;o.canSearch=(l=n==null?void 0:n.canSearch)!==null&&l!==void 0?l:!0;var f;o.levelType=(f=n==null?void 0:n.levelType)!==null&&f!==void 0?f:"all";var _;o.optionalLevel=(_=n==null?void 0:n.optionalLevel)!==null&&_!==void 0?_:1;var p;o.containsSubNode=(p=n==null?void 0:n.containsSubNode)!==null&&p!==void 0?p:!1;var m;o.isShowFilterItem=(m=n==null?void 0:n.isShowFilterItem)!==null&&m!==void 0?m:!1;var O;o.isShowIncludeSub=(O=n==null?void 0:n.isShowIncludeSub)!==null&&O!==void 0?O:!1;var b;o.isDefaultCheckSub=(b=n==null?void 0:n.isDefaultCheckSub)!==null&&b!==void 0?b:!1;var w;o.defaultCollapse=(w=n==null?void 0:n.defaultCollapse)!==null&&w!==void 0?w:"all";var v;o.defaultCollapseLevel=(v=n==null?void 0:n.defaultCollapseLevel)!==null&&v!==void 0?v:1;var $;o.datasourceBind=new lm(($=n==null?void 0:n.datasourceBind)!==null&&$!==void 0?$:{attributes:bn.controlCustomAttributes});var P;o.filterItemDatasourceBind=new lm((P=n==null?void 0:n.filterItemDatasourceBind)!==null&&P!==void 0?P:{attributes:bn.controlCustomAttributes});var R;o.openMultistageFilling=(R=n==null?void 0:n.openMultistageFilling)!==null&&R!==void 0?R:!1;var S;o.defaultDisplay=(S=n==null?void 0:n.defaultDisplay)!==null&&S!==void 0?S:!1;var j;o.multistageFilling=(j=n==null||(i=n.multistageFilling)===null||i===void 0?void 0:i.map(function(G){return new Ee(G)}))!==null&&j!==void 0?j:[];var T;return o.defaultValue=(T=n==null?void 0:n.defaultValue)!==null&&T!==void 0?T:[],o}return r}(D);J(pl,"Rules",oz),J(pl,"RuntimeRules",iz);function xP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cz(e,t,r){return t&&kP(e.prototype,t),r&&kP(e,r),e}function dl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vl(e){return vl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vl(e)}function lz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tv(e,t)}function az(e,t){return t&&(fz(t)==="object"||typeof t=="function")?t:xP(e)}function tv(e,t){return tv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tv(e,t)}function fz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _z(e){var t=sz();return function(){var n=vl(e),o;if(t){var i=vl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return az(this,o)}}var bn=function(e){lz(r,e);var t=_z(r);function r(n){uz(this,r);var o;return o=t.call(this,n),dl(xP(o),"props",void 0),o.props=new pl(n==null?void 0:n.props),o}return cz(r,null,[{key:"controlName",get:function(){return"\u6811"}},{key:"controlIcon",get:function(){return"icontree"}},{key:"controlType",get:function(){return"tree"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}]),r}(F);dl(bn,"controlEventKeys",["on_change","on_click"]),dl(bn,"controlFieldType",g.ARRAY),dl(bn,"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:"super-setting",visible:!0}]);function DP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pz(e,t,r){return t&&FP(e.prototype,t),r&&FP(e,r),e}function NP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hl(e){return hl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hl(e)}function dz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nv(e,t)}function vz(e,t){return t&&(hz(t)==="object"||typeof t=="function")?t:DP(e)}function nv(e,t){return nv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nv(e,t)}function hz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mz(e){var t=bz();return function(){var n=hl(e),o;if(t){var i=hl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vz(this,o)}}var gz=function(e){dz(r,e);var t=mz(r);function r(n){yz(this,r);var o;return o=t.call(this,n),NP(DP(o),"props",void 0),o.props=new pl(n==null?void 0:n.props),o}return pz(r,null,[{key:"controlType",get:function(){return"tree"}}]),r}(N);NP(gz,"controlFieldType",g.ARRAY);function se(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bl(e){return bl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bl(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&&iv(e,t)}function Oz(e,t){return t&&(wz(t)==="object"||typeof t=="function")?t:se(e)}function iv(e,t){return iv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iv(e,t)}function wz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $z(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uv(e){var t=$z();return function(){var n=bl(e),o;if(t){var i=bl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Oz(this,o)}}var Pz=function(e){ov(r,e);var t=uv(r);function r(n){rv(this,r);var o;return o=t.call(this,n),_e(se(o),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),_e(se(o),"externalScope",{type:"any"}),Fo.call(se(o),n,so.controlCustomAttributes),n.externalType===Yt.ASSIGN&&(o.externalScope={type:"array",required:!0,message:d.getMessage("pleaseAssignExternal")}),o}return r}(pe),Rz=function(e){ov(r,e);var t=uv(r);function r(n){rv(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(U),ml=function(e){ov(r,e);var t=uv(r);function r(n){rv(this,r);var o;o=t.call(this,n),_e(se(o),"showType",void 0),_e(se(o),"range",void 0),_e(se(o),"rangeOptions",void 0),_e(se(o),"multiple",void 0),_e(se(o),"defaultValueType",void 0),_e(se(o),"defaultValue",void 0),_e(se(o),"multistageFilling",void 0),_e(se(o),"datasourceBind",void 0),_e(se(o),"datasourceType",void 0),_e(se(o),"insideType",void 0),_e(se(o),"externalType",void 0),_e(se(o),"externalScope",void 0),_e(se(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var c;o.rangeOptions=(c=n==null?void 0:n.rangeOptions)!==null&&c!==void 0?c:[];var a;o.multiple=(a=n==null?void 0:n.multiple)!==null&&a!==void 0?a:!1;var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:so.controlName;var p;o.placeholder=(p=n==null?void 0:n.placeholder)!==null&&p!==void 0?p:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var m;o.datasourceBind=new Ao((m=n==null?void 0:n.datasourceBind)!==null&&m!==void 0?m:{attributes:so.controlCustomAttributes});var O;o.datasourceType=(O=n==null?void 0:n.datasourceType)!==null&&O!==void 0?O:m_.INTERNAL;var b;o.insideType=(b=n==null?void 0:n.insideType)!==null&&b!==void 0?b:g_.ADMIN;var w;o.externalType=(w=n==null?void 0:n.externalType)!==null&&w!==void 0?w:Yt.ALL;var v;o.externalScope=(v=n==null?void 0:n.externalScope)!==null&&v!==void 0?v:[];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 R;(R=o.multistageFilling)===null||R===void 0||R.push(new Ee(P))})),o}return r}(D);_e(ml,"Rules",Pz),_e(ml,"RuntimeRules",Rz);function jP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ez(e,t,r){return t&&MP(e.prototype,t),r&&MP(e,r),e}function cv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gl(e){return gl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gl(e)}function Tz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lv(e,t)}function Iz(e,t){return t&&(Bz(t)==="object"||typeof t=="function")?t:jP(e)}function lv(e,t){return lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lv(e,t)}function Bz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Az(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xz(e){var t=Az();return function(){var n=gl(e),o;if(t){var i=gl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Iz(this,o)}}var so=function(e){Tz(r,e);var t=xz(r);function r(n){Sz(this,r);var o;return o=t.call(this,n),cv(jP(o),"props",void 0),o.props=new ml(n==null?void 0:n.props),o}return Ez(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(F);cv(so,"controlFieldType",g.EMPLOYEES),cv(so,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}]);function LP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Dz(e,t,r){return t&&CP(e.prototype,t),r&&CP(e,r),e}function VP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ol(e){return Ol=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ol(e)}function Fz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&av(e,t)}function Nz(e,t){return t&&(jz(t)==="object"||typeof t=="function")?t:LP(e)}function av(e,t){return av=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},av(e,t)}function jz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Mz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Lz(e){var t=Mz();return function(){var n=Ol(e),o;if(t){var i=Ol(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Nz(this,o)}}var Cz=function(e){Fz(r,e);var t=Lz(r);function r(n){kz(this,r);var o;return o=t.call(this,n),VP(LP(o),"props",void 0),o.props=new ml(n==null?void 0:n.props),o}return Dz(r,null,[{key:"controlType",get:function(){return"employee2"}}]),r}(N);VP(Cz,"controlFieldType",g.EMPLOYEES);function mt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wl(e){return wl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wl(e)}function HP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fv(e,t)}function Vz(e,t){return t&&(zz(t)==="object"||typeof t=="function")?t:mt(e)}function fv(e,t){return fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fv(e,t)}function zz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qP(e){var t=Hz();return function(){var n=wl(e),o;if(t){var i=wl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vz(this,o)}}var qz=function(e){HP(r,e);var t=qP(r);function r(n){zP(this,r);var o;return o=t.call(this,n),gt(mt(o),"signatureConfig",void 0),o.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fields:n.signatureConfig.undersignedList.reduce(function(i,u,c){return i[c]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator:function(l,f,_){if(u.type==="public"&&os(f.value)&&f.value.length===0){_("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}_()}},company:{type:"object",required:!0,validator:function(l,f,_){if(u.type==="public"&&u.signatureType.includes("company")&&os(f.value)&&f.value.length===0){_("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}_()}}}},i},{})}}},o}return r}(pe),sv=function(e){HP(r,e);var t=qP(r);function r(n){zP(this,r);var o;o=t.call(this,n),gt(mt(o),"buttonType",void 0),gt(mt(o),"content",void 0),gt(mt(o),"showType",void 0),gt(mt(o),"color",void 0),gt(mt(o),"icon",void 0),gt(mt(o),"command",""),gt(mt(o),"isLoading",!1),gt(mt(o),"signatureConfig",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Rl.controlName;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:"\u53D1\u8D77\u7B7E\u7F72";var c;o.buttonType=(c=n==null?void 0:n.buttonType)!==null&&c!==void 0?c:"primary";var a;o.showType=(a=n==null?void 0:n.showType)!==null&&a!==void 0?a:"text";var l;o.color=(l=n==null?void 0:n.color)!==null&&l!==void 0?l:"primary";var f;return o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:"iconfenlei2",o.signatureConfig=new wD(n==null?void 0:n.signatureConfig),o}return r}(D);gt(sv,"Rules",qz);function UP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Wz(e,t,r){return t&&WP(e.prototype,t),r&&WP(e,r),e}function $l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pl(e){return Pl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pl(e)}function Kz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_v(e,t)}function Gz(e,t){return t&&(Xz(t)==="object"||typeof t=="function")?t:UP(e)}function _v(e,t){return _v=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_v(e,t)}function Xz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qz(e){var t=Jz();return function(){var n=Pl(e),o;if(t){var i=Pl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Gz(this,o)}}var Rl=function(e){Kz(r,e);var t=Qz(r);function r(n){Uz(this,r);var o;return o=t.call(this,n),$l(UP(o),"props",void 0),o.props=new sv(n==null?void 0:n.props),o}return Wz(r,null,[{key:"controlName",get:function(){return"\u7535\u5B50\u7B7E\u7AE0"}},{key:"controlIcon",get:function(){return"icondianziqianzhang"}},{key:"controlType",get:function(){return"electronic-signature"}}]),r}(F);$l(Rl,"controlEventKeys",["on_click","on_click_finish"]),$l(Rl,"controlFieldType",g.VARCHAR),$l(Rl,"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 KP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Yz(e,t,r){return t&&GP(e.prototype,t),r&&GP(e,r),e}function XP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sl(e){return Sl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sl(e)}function eH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yv(e,t)}function tH(e,t){return t&&(nH(t)==="object"||typeof t=="function")?t:KP(e)}function yv(e,t){return yv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yv(e,t)}function nH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oH(e){var t=rH();return function(){var n=Sl(e),o;if(t){var i=Sl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tH(this,o)}}var iH=function(e){eH(r,e);var t=oH(r);function r(n){Zz(this,r);var o;return o=t.call(this,n),XP(KP(o),"props",void 0),o.props=new sv(n==null?void 0:n.props),o}return Yz(r,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),r}(N);XP(iH,"controlFieldType",g.VARCHAR);function me(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ye(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function El(e){return El=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},El(e)}function dv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 uH(e,t){return t&&(cH(t)==="object"||typeof t=="function")?t:me(e)}function vv(e,t){return vv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vv(e,t)}function cH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hv(e){var t=lH();return function(){var n=El(e),o;if(t){var i=El(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uH(this,o)}}var aH=function(e){dv(r,e);var t=hv(r);function r(n){pv(this,r);var o;return o=t.call(this,n),ye(me(o),"content",{type:"string",required:!0,message:d.getMessage("pleaseEnterButtonContent")}),ye(me(o),"canAdd",void 0),ye(me(o),"wpsSetting",{type:"object",fields:{watermark:{type:"object",validator:function(u,c,a){if(c.active&&!c.text){a(d.getMessage("pleaseEnterWatermark"));return}a()}},autoRename:{type:"object",validator:function(u,c,a){if(c.active&&!c.text){a(d.getMessage("pleaseEnterFileName"));return}a()}}}}),o.canAdd={type:"boolean",validator:function(u,c,a){if(n.canAdd&&!n.addLocal&&!n.addOnline){a(d.getMessage("pleaseChooseAtLeastOne"));return}a()}},o}return r}(pe),fH=function(e){dv(r,e);var t=hv(r);function r(n){pv(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(U),Tl=function(e){dv(r,e);var t=hv(r);function r(n){pv(this,r);var o;o=t.call(this,n),ye(me(o),"content",void 0),ye(me(o),"canAdd",void 0),ye(me(o),"addLocal",void 0),ye(me(o),"addOnline",void 0),ye(me(o),"canDownload",void 0),ye(me(o),"canEdit",void 0),ye(me(o),"canExport",void 0),ye(me(o),"canDelete",void 0),ye(me(o),"wpsSetting",void 0),ye(me(o),"maxSize",void 0),ye(me(o),"defaultValue",void 0),ye(me(o),"revisionsMode",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Al.controlName;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:"\u65B0\u5EFA\u6587\u6863";var c;o.canAdd=(c=n==null?void 0:n.canAdd)!==null&&c!==void 0?c:!0;var a;o.addLocal=(a=n==null?void 0:n.addLocal)!==null&&a!==void 0?a:!0;var l;o.addOnline=(l=n==null?void 0:n.addOnline)!==null&&l!==void 0?l:!0;var f;o.canEdit=(f=n==null?void 0:n.canEdit)!==null&&f!==void 0?f:!0;var _;o.canDownload=(_=n==null?void 0:n.canDownload)!==null&&_!==void 0?_:!0;var p;o.canExport=(p=n==null?void 0:n.canExport)!==null&&p!==void 0?p:!0;var m;o.canDelete=(m=n==null?void 0:n.canDelete)!==null&&m!==void 0?m:!1;var O;o.maxSize=(O=n==null?void 0:n.maxSize)!==null&&O!==void 0?O:s8;var b;o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:[],o.wpsSetting=new $D(n==null?void 0:n.wpsSetting);var w;return o.revisionsMode=(w=n==null?void 0:n.revisionsMode)!==null&&w!==void 0?w:!1,o}return r}(D);ye(Tl,"Rules",aH),ye(Tl,"RuntimeRules",fH);function JP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _H(e,t,r){return t&&QP(e.prototype,t),r&&QP(e,r),e}function Il(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bl(e){return Bl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bl(e)}function yH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bv(e,t)}function pH(e,t){return t&&(dH(t)==="object"||typeof t=="function")?t:JP(e)}function bv(e,t){return bv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bv(e,t)}function dH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hH(e){var t=vH();return function(){var n=Bl(e),o;if(t){var i=Bl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pH(this,o)}}var Al=function(e){yH(r,e);var t=hH(r);function r(n){sH(this,r);var o;return o=t.call(this,n),Il(JP(o),"props",void 0),o.props=new Tl(n==null?void 0:n.props),o}return _H(r,null,[{key:"controlName",get:function(){return"\u5728\u7EBF\u6587\u6863"}},{key:"controlIcon",get:function(){return"iconwps"}},{key:"controlType",get:function(){return"wps"}}]),r}(F);Il(Al,"controlEventKeys",["on_change","on_wps_open"]),Il(Al,"controlFieldType",g.FILE),Il(Al,"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 ZP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mH(e,t,r){return t&&YP(e.prototype,t),r&&YP(e,r),e}function eR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xl(e){return xl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xl(e)}function gH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mv(e,t)}function OH(e,t){return t&&(wH(t)==="object"||typeof t=="function")?t:ZP(e)}function mv(e,t){return mv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mv(e,t)}function wH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $H(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PH(e){var t=$H();return function(){var n=xl(e),o;if(t){var i=xl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return OH(this,o)}}var RH=function(e){gH(r,e);var t=PH(r);function r(n){bH(this,r);var o;return o=t.call(this,n),eR(ZP(o),"props",void 0),o.props=new Tl(n==null?void 0:n.props),o}return mH(r,null,[{key:"controlType",get:function(){return"wps"}}]),r}(N);eR(RH,"controlFieldType",g.FILE);function ne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function re(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kl(e){return kl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kl(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&&wv(e,t)}function SH(e,t){return t&&(EH(t)==="object"||typeof t=="function")?t:ne(e)}function wv(e,t){return wv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wv(e,t)}function EH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $v(e){var t=TH();return function(){var n=kl(e),o;if(t){var i=kl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SH(this,o)}}var IH=function(e){Ov(r,e);var t=$v(r);function r(n){gv(this,r);var o;return o=t.call(this,n),re(ne(o),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),re(ne(o),"businessScope",{type:"any"}),Fo.call(ne(o),n,tr.controlCustomAttributes),n.businessType===Yt.ASSIGN&&(o.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")}),o}return r}(pe),BH=function(e){Ov(r,e);var t=$v(r);function r(n){gv(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(U),Dl=function(e){Ov(r,e);var t=$v(r);function r(n){gv(this,r);var o;o=t.call(this,n),re(ne(o),"showType",void 0),re(ne(o),"range",void 0),re(ne(o),"defaultValueType",void 0),re(ne(o),"multiple",void 0),re(ne(o),"rangeOptions",void 0),re(ne(o),"defaultValue",void 0),re(ne(o),"displayLevel",void 0),re(ne(o),"showSubDept",void 0),re(ne(o),"multistageFilling",void 0),re(ne(o),"datasourceBind",void 0),re(ne(o),"datasourceType",void 0),re(ne(o),"businessType",void 0),re(ne(o),"businessScope",void 0),re(ne(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1;var c;o.range=(c=n==null?void 0:n.range)!==null&&c!==void 0?c:"all";var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var l;o.rangeOptions=(l=n==null?void 0:n.rangeOptions)!==null&&l!==void 0?l:[];var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var p;o.showSubDept=(p=n==null?void 0:n.showSubDept)!==null&&p!==void 0?p:!0;var m;o.caption=(m=n==null?void 0:n.caption)!==null&&m!==void 0?m:tr.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u90E8\u95E8";var b;o.datasourceBind=new Ao((b=n==null?void 0:n.datasourceBind)!==null&&b!==void 0?b:{attributes:tr.controlCustomAttributes});var w;o.datasourceType=(w=n==null?void 0:n.datasourceType)!==null&&w!==void 0?w:ai.INTERNAL;var v;o.businessScope=(v=n==null?void 0:n.businessScope)!==null&&v!==void 0?v:[];var $;o.businessType=($=n==null?void 0:n.businessType)!==null&&$!==void 0?$:Yt.ALL;var P;return o.openMultistageFilling=(P=n==null?void 0:n.openMultistageFilling)!==null&&P!==void 0?P:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(R){var S;(S=o.multistageFilling)===null||S===void 0||S.push(new Ee(R))})),o}return r}(D);re(Dl,"Rules",IH),re(Dl,"RuntimeRules",BH);function tR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xH(e,t,r){return t&&nR(e.prototype,t),r&&nR(e,r),e}function Fl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nl(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Nl=Reflect.get:Nl=function(o,i,u){var c=FH(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Nl(e,t,r||e)}function er(e){return er=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},er(e)}function kH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 DH(e,t){return t&&(NH(t)==="object"||typeof t=="function")?t:tR(e)}function Pv(e,t){return Pv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pv(e,t)}function FH(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=er(e),e!==null););return e}function NH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MH(e){var t=jH();return function(){var n=er(e),o;if(t){var i=er(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DH(this,o)}}var tr=function(e){kH(r,e);var t=MH(r);function r(n){AH(this,r);var o;return o=t.call(this,n),Fl(tR(o),"props",void 0),o.props=new Dl(n==null?void 0:n.props),o}return xH(r,[{key:"toDataBindModel",value:function(o){var i=Nl(er(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,a=u.showSubDept;i.props.displayLevel=c,i.props.showSubDept=a}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(F);Fl(tr,"controlName","\u90E8\u95E8"),Fl(tr,"controlFieldType",g.DEPARTMENTS),Fl(tr,"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 rR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function CH(e,t,r){return t&&oR(e.prototype,t),r&&oR(e,r),e}function iR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jl(e){return jl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jl(e)}function VH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 zH(e,t){return t&&(HH(t)==="object"||typeof t=="function")?t:rR(e)}function Rv(e,t){return Rv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rv(e,t)}function HH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UH(e){var t=qH();return function(){var n=jl(e),o;if(t){var i=jl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zH(this,o)}}var WH=function(e){VH(r,e);var t=UH(r);function r(n){LH(this,r);var o;return o=t.call(this,n),iR(rR(o),"props",void 0),o.props=new Dl(n==null?void 0:n.props),o}return CH(r,null,[{key:"controlType",get:function(){return"department2"}}]),r}(N);iR(WH,"controlFieldType",g.DEPARTMENTS);function W(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function K(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ml(e){return Ml=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ml(e)}function Ev(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tv(e,t)}function KH(e,t){return t&&(GH(t)==="object"||typeof t=="function")?t:W(e)}function Tv(e,t){return Tv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tv(e,t)}function GH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Iv(e){var t=XH();return function(){var n=Ml(e),o;if(t){var i=Ml(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KH(this,o)}}var JH=function(e){Ev(r,e);var t=Iv(r);function r(n){Sv(this,r);var o;return o=t.call(this,n),K(W(o),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),K(W(o),"businessScope",{type:"any"}),Fo.call(W(o),n,rr.controlCustomAttributes),n.businessType===Yt.ASSIGN&&(o.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")}),o}return r}(pe),QH=function(e){Ev(r,e);var t=Iv(r);function r(n){Sv(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(U),Ll=function(e){Ev(r,e);var t=Iv(r);function r(n){Sv(this,r);var o;o=t.call(this,n),K(W(o),"showType",void 0),K(W(o),"range",void 0),K(W(o),"defaultValueType",void 0),K(W(o),"multiple",void 0),K(W(o),"rangeOptions",void 0),K(W(o),"defaultValue",void 0),K(W(o),"displayLevel",void 0),K(W(o),"showSubDept",void 0),K(W(o),"multistageFilling",void 0),K(W(o),"datasourceBind",void 0),K(W(o),"listPageBind",void 0),K(W(o),"datasourceType",void 0),K(W(o),"businessType",void 0),K(W(o),"businessScope",void 0),K(W(o),"organizingFunction",void 0),K(W(o),"organizationView",void 0),K(W(o),"openMultistageFilling",void 0),K(W(o),"showSelectedDetail",void 0),K(W(o),"selectedContentConfig",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1;var c;o.range=(c=n==null?void 0:n.range)!==null&&c!==void 0?c:"all",o.listPageBind=new ss(n==null?void 0:n.listPageBind);var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var l;o.rangeOptions=(l=n==null?void 0:n.rangeOptions)!==null&&l!==void 0?l:[];var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var p;o.showSubDept=(p=n==null?void 0:n.showSubDept)!==null&&p!==void 0?p:!0;var m;o.caption=(m=n==null?void 0:n.caption)!==null&&m!==void 0?m:rr.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u7EC4\u7EC7";var b;o.datasourceBind=new BA((b=n==null?void 0:n.datasourceBind)!==null&&b!==void 0?b:{attributes:rr.controlCustomAttributes});var w;o.datasourceType=(w=n==null?void 0:n.datasourceType)!==null&&w!==void 0?w:ai.INTERNAL;var v;o.businessScope=(v=n==null?void 0:n.businessScope)!==null&&v!==void 0?v:[];var $;o.businessType=($=n==null?void 0:n.businessType)!==null&&$!==void 0?$:Yt.ALL;var P;o.organizingFunction=(P=n==null?void 0:n.organizingFunction)!==null&&P!==void 0?P:void 0;var R;o.organizationView=(R=n==null?void 0:n.organizationView)!==null&&R!==void 0?R:void 0;var S;o.showSelectedDetail=(S=n==null?void 0:n.showSelectedDetail)!==null&&S!==void 0?S:!1,o.selectedContentConfig=new ds(n==null?void 0:n.selectedContentConfig);var j;return o.openMultistageFilling=(j=n==null?void 0:n.openMultistageFilling)!==null&&j!==void 0?j:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(T){var G;(G=o.multistageFilling)===null||G===void 0||G.push(new Ee(T))})),o}return r}(D);K(Ll,"Rules",JH),K(Ll,"RuntimeRules",QH);function uR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function YH(e,t,r){return t&&cR(e.prototype,t),r&&cR(e,r),e}function Cl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vl(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Vl=Reflect.get:Vl=function(o,i,u){var c=nq(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Vl(e,t,r||e)}function nr(e){return nr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nr(e)}function eq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bv(e,t)}function tq(e,t){return t&&(rq(t)==="object"||typeof t=="function")?t:uR(e)}function Bv(e,t){return Bv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bv(e,t)}function nq(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=nr(e),e!==null););return e}function rq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iq(e){var t=oq();return function(){var n=nr(e),o;if(t){var i=nr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tq(this,o)}}var rr=function(e){eq(r,e);var t=iq(r);function r(n){ZH(this,r);var o;return o=t.call(this,n),Cl(uR(o),"props",void 0),o.props=new Ll(n==null?void 0:n.props),o}return YH(r,[{key:"toDataBindModel",value:function(o){var i=Vl(nr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,a=u.showSubDept;i.props.displayLevel=c,i.props.showSubDept=a}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"organization-selection"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(F);Cl(rr,"controlName","\u4E1A\u52A1\u7EC4\u7EC7"),Cl(rr,"controlFieldType",g.DEPARTMENTS),Cl(rr,"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 lR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cq(e,t,r){return t&&aR(e.prototype,t),r&&aR(e,r),e}function fR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zl(e){return zl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zl(e)}function lq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 aq(e,t){return t&&(fq(t)==="object"||typeof t=="function")?t:lR(e)}function Av(e,t){return Av=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Av(e,t)}function fq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _q(e){var t=sq();return function(){var n=zl(e),o;if(t){var i=zl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aq(this,o)}}var yq=function(e){lq(r,e);var t=_q(r);function r(n){uq(this,r);var o;return o=t.call(this,n),fR(lR(o),"props",void 0),o.props=new Ll(n==null?void 0:n.props),o}return cq(r,null,[{key:"controlType",get:function(){return"organization-selection"}}]),r}(N);fR(yq,"controlFieldType",g.DEPARTMENTS);function pq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vq(e,t,r){return t&&sR(e.prototype,t),r&&sR(e,r),e}function hq(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hl(e){return Hl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hl(e)}function bq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xv(e,t)}function mq(e,t){return t&&(gq(t)==="object"||typeof t=="function")?t:pq(e)}function xv(e,t){return xv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xv(e,t)}function gq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Oq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wq(e){var t=Oq();return function(){var n=Hl(e),o;if(t){var i=Hl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mq(this,o)}}var $q=function(e){bq(r,e);var t=wq(r);function r(n){return dq(this,r),t.call(this,n)}return vq(r,null,[{key:"controlName",get:function(){return"\u753B\u5E03"}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),r}(ue);hq($q,"excludes",[y.GRID]);function kv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _R(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ql(e){return ql=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ql(e)}function Rq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dv(e,t)}function Sq(e,t){return t&&(Eq(t)==="object"||typeof t=="function")?t:kv(e)}function Dv(e,t){return Dv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dv(e,t)}function Eq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Iq(e){var t=Tq();return function(){var n=ql(e),o;if(t){var i=ql(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Sq(this,o)}}var Bq=24,_o=function(e){Rq(r,e);var t=Iq(r);function r(n){Pq(this,r);var o;o=t.call(this,n),_R(kv(o),"span",void 0),_R(kv(o),"offset",void 0);var i;o.span=(i=n==null?void 0:n.span)!==null&&i!==void 0?i:Bq;var u;return o.offset=(u=n==null?void 0:n.offset)!==null&&u!==void 0?u:0,o}return r}(ie);function yR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Aq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xq(e,t,r){return t&&pR(e.prototype,t),r&&pR(e,r),e}function Fv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ul(e){return Ul=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ul(e)}function kq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nv(e,t)}function Dq(e,t){return t&&(Fq(t)==="object"||typeof t=="function")?t:yR(e)}function Nv(e,t){return Nv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nv(e,t)}function Fq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jq(e){var t=Nq();return function(){var n=Ul(e),o;if(t){var i=Ul(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Dq(this,o)}}var yo=function(e){kq(r,e);var t=jq(r);function r(n){Aq(this,r);var o;return o=t.call(this,n),Fv(yR(o),"props",void 0),o.props=new _o(n==null?void 0:n.props),o}return xq(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(ue);Fv(yo,"excludes",[y.COL,y.CARD_GROUP,y.SUBTABLE,y.SUBTABLE_COLUMN,y.GRID_LAYOUT_CONTAINER,y.DIVIDER]),Fv(yo,"childrenMaxLength",1);function dR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Lq(e,t,r){return t&&vR(e.prototype,t),r&&vR(e,r),e}function Cq(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wl(e){return Wl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wl(e)}function 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&&jv(e,t)}function zq(e,t){return t&&(Hq(t)==="object"||typeof t=="function")?t:dR(e)}function jv(e,t){return jv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jv(e,t)}function Hq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Uq(e){var t=qq();return function(){var n=Wl(e),o;if(t){var i=Wl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zq(this,o)}}var Wq=function(e){Vq(r,e);var t=Uq(r);function r(n){Mq(this,r);var o;return o=t.call(this,n),Cq(dR(o),"props",void 0),o.props=new _o(n==null?void 0:n.props),o}return Lq(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(dn),hR={Designer:yo,Runtime:Wq,Property:_o};function Mv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kl(e){return Kl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kl(e)}function Gq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Xq(e,t){return t&&(Jq(t)==="object"||typeof t=="function")?t:Mv(e)}function Lv(e,t){return Lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lv(e,t)}function Jq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zq(e){var t=Qq();return function(){var n=Kl(e),o;if(t){var i=Kl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xq(this,o)}}var Cv=function(e){Gq(r,e);var t=Zq(r);function r(n){Kq(this,r);var o;o=t.call(this,n),bR(Mv(o),"layoutMode",void 0),bR(Mv(o),"gutter",void 0);var i;o.layoutMode=(i=n==null?void 0:n.layoutMode)!==null&&i!==void 0?i:"select";var u;return o.gutter=(u=n==null?void 0:n.gutter)!==null&&u!==void 0?u:0,o}return r}(ie);function mR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function eU(e,t,r){return t&&gR(e.prototype,t),r&&gR(e,r),e}function Vv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gl(e){return Gl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gl(e)}function tU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zv(e,t)}function nU(e,t){return t&&(rU(t)==="object"||typeof t=="function")?t:mR(e)}function zv(e,t){return zv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zv(e,t)}function rU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iU(e){var t=oU();return function(){var n=Gl(e),o;if(t){var i=Gl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nU(this,o)}}var Hv=function(e){tU(r,e);var t=iU(r);function r(n){Yq(this,r);var o;return o=t.call(this,n),Vv(mR(o),"props",void 0),o.props=new Cv(n==null?void 0:n.props),o}return eU(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(ue);Vv(Hv,"excludes",[y.ROW]),Vv(Hv,"setting",[{key:"col-setting",visible:!0}]);function OR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cU(e,t,r){return t&&wR(e.prototype,t),r&&wR(e,r),e}function lU(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xl(e){return Xl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xl(e)}function aU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qv(e,t)}function fU(e,t){return t&&(sU(t)==="object"||typeof t=="function")?t:OR(e)}function qv(e,t){return qv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qv(e,t)}function sU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _U(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yU(e){var t=_U();return function(){var n=Xl(e),o;if(t){var i=Xl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fU(this,o)}}var pU=function(e){aU(r,e);var t=yU(r);function r(n){uU(this,r);var o;return o=t.call(this,n),lU(OR(o),"props",void 0),o.props=new Cv(n==null?void 0:n.props),o}return cU(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(dn);function dU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $R(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hU(e,t,r){return t&&$R(e.prototype,t),r&&$R(e,r),e}function Uv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jl(e){return Jl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jl(e)}function 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&&Wv(e,t)}function mU(e,t){return t&&(gU(t)==="object"||typeof t=="function")?t:dU(e)}function Wv(e,t){return Wv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wv(e,t)}function gU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wU(e){var t=OU();return function(){var n=Jl(e),o;if(t){var i=Jl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mU(this,o)}}var $U=4,Ql=function(e){bU(r,e);var t=wU(r);function r(n){return vU(this,r),t.call(this,n)}return hU(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u7B49\u5206\u884C"}},{key:"controlType",get:function(){return"grid-row"}},{key:"controlIcon",get:function(){return"grid-row"}}]),r}(Hv);Uv(Ql,"excludes",[y.GRID_ROW]),Uv(Ql,"setting",[]),Uv(Ql,"childrenMaxLength",$U);function PU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function SU(e,t,r){return t&&PR(e.prototype,t),r&&PR(e,r),e}function Zl(e){return Zl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zl(e)}function EU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kv(e,t)}function TU(e,t){return t&&(IU(t)==="object"||typeof t=="function")?t:PU(e)}function Kv(e,t){return Kv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kv(e,t)}function IU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AU(e){var t=BU();return function(){var n=Zl(e),o;if(t){var i=Zl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TU(this,o)}}var xU=function(e){EU(r,e);var t=AU(r);function r(n){return RU(this,r),t.call(this,n)}return SU(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(pU);function kU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yl(e){return Yl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yl(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&&Gv(e,t)}function NU(e,t){return t&&(jU(t)==="object"||typeof t=="function")?t:kU(e)}function Gv(e,t){return Gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gv(e,t)}function jU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LU(e){var t=MU();return function(){var n=Yl(e),o;if(t){var i=Yl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return NU(this,o)}}var CU=function(e){FU(r,e);var t=LU(r);function r(n){return DU(this,r),t.call(this,n)}return r}(Cv),VU={Designer:Ql,Runtime:xU,Property:CU};function ea(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ta(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function na(e){return na=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},na(e)}function SR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xv(e,t)}function zU(e,t){return t&&(HU(t)==="object"||typeof t=="function")?t:ea(e)}function Xv(e,t){return Xv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xv(e,t)}function HU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ER(e){var t=qU();return function(){var n=na(e),o;if(t){var i=na(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zU(this,o)}}var UU=function(e){SR(r,e);var t=ER(r);function r(){RR(this,r);var n;return n=t.apply(this,arguments),ta(ea(n),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),n}return r}(ie.Rules),TR=function(e){SR(r,e);var t=ER(r);function r(n){RR(this,r);var o;o=t.call(this,n),ta(ea(o),"caption",void 0),ta(ea(o),"collapse",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"\u5206\u7EC4";var u;return o.collapse=(u=n==null?void 0:n.collapse)!==null&&u!==void 0?u:"none",o}return r}(ie);ta(TR,"Rules",UU);function IR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function KU(e,t,r){return t&&BR(e.prototype,t),r&&BR(e,r),e}function Jv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ra(e){return ra=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ra(e)}function GU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qv(e,t)}function XU(e,t){return t&&(JU(t)==="object"||typeof t=="function")?t:IR(e)}function Qv(e,t){return Qv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qv(e,t)}function JU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZU(e){var t=QU();return function(){var n=ra(e),o;if(t){var i=ra(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XU(this,o)}}var AR=function(e){GU(r,e);var t=ZU(r);function r(n){WU(this,r);var o;return o=t.call(this,n),Jv(IR(o),"props",void 0),o.props=new TR(n==null?void 0:n.props),o}return KU(r,null,[{key:"controlName",get:function(){return"\u5206\u7EC4"}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),r}(ue);Jv(AR,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}]),Jv(AR,"excludes",[y.CARD_GROUP]);function Ot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oa(e){return oa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oa(e)}function kR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zv(e,t)}function YU(e,t){return t&&(eW(t)==="object"||typeof t=="function")?t:Ot(e)}function Zv(e,t){return Zv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zv(e,t)}function eW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DR(e){var t=tW();return function(){var n=oa(e),o;if(t){var i=oa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YU(this,o)}}var nW=function(e){kR(r,e);var t=DR(r);function r(n){xR(this,r);var o;return o=t.call(this,n),wt(Ot(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),wt(Ot(o),"width",{type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")}),wt(Ot(o),"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Z),ia=function(e){kR(r,e);var t=DR(r);function r(n){xR(this,r);var o;o=t.call(this,n),wt(Ot(o),"metaAutoWidth",void 0),wt(Ot(o),"caption",void 0),wt(Ot(o),"fixed",void 0),wt(Ot(o),"isShowCaptionTip",void 0),wt(Ot(o),"captionTip",void 0),wt(Ot(o),"isHideCaption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:!1;var c;o.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var l;return o.isHideCaption=(l=n==null?void 0:n.isHideCaption)!==null&&l!==void 0?l:!1,o.metaAutoWidth=new im(n==null?void 0:n.metaAutoWidth),o}return r}(ie);wt(ia,"Rules",nW);function FR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ua(e){return ua=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ua(e)}function oW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yv(e,t)}function iW(e,t){return t&&(uW(t)==="object"||typeof t=="function")?t:FR(e)}function Yv(e,t){return Yv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yv(e,t)}function uW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lW(e){var t=cW();return function(){var n=ua(e),o;if(t){var i=ua(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iW(this,o)}}var lt=function(e){oW(r,e);var t=lW(r);function r(n){rW(this,r);var o;return o=t.call(this,n),mn(FR(o),"props",void 0),o.props=new ia(n==null?void 0:n.props),o}return r}(ue);mn(lt,"controlName","\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),mn(lt,"controlType","subtable-column"),mn(lt,"controlIcon","subtable-column"),mn(lt,"childrenMaxLength",1),mn(lt,"excludes",[y.SUBTABLE,y.SUBTABLE_COLUMN,y.ROW,y.COL,y.CARD_GROUP,y.DIVIDER,y.TEXT]),mn(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 NR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ca(e){return ca=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ca(e)}function fW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eh(e,t)}function sW(e,t){return t&&(_W(t)==="object"||typeof t=="function")?t:NR(e)}function eh(e,t){return eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eh(e,t)}function _W(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pW(e){var t=yW();return function(){var n=ca(e),o;if(t){var i=ca(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sW(this,o)}}var MR=function(e){fW(r,e);var t=pW(r);function r(n){aW(this,r);var o;return o=t.call(this,n),jR(NR(o),"props",void 0),o.props=new ia(n==null?void 0:n.props),o}return r}(dn);jR(MR,"controlType","subtable-column");var dW={Designer:lt,Runtime:MR,Property:ia};function vW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function la(e){return la=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},la(e)}function bW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&th(e,t)}function mW(e,t){return t&&(gW(t)==="object"||typeof t=="function")?t:vW(e)}function th(e,t){return th=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},th(e,t)}function gW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wW(e){var t=OW();return function(){var n=la(e),o;if(t){var i=la(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mW(this,o)}}var $W=function(e){bW(r,e);var t=wW(r);function r(n){return hW(this,r),t.call(this,n)}return r}(ie);function LR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function aa(e){return aa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},aa(e)}function RW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nh(e,t)}function SW(e,t){return t&&(EW(t)==="object"||typeof t=="function")?t:LR(e)}function nh(e,t){return nh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nh(e,t)}function EW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IW(e){var t=TW();return function(){var n=aa(e),o;if(t){var i=aa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SW(this,o)}}var or=function(e){RW(r,e);var t=IW(r);function r(n){PW(this,r);var o;return o=t.call(this,n),gn(LR(o),"props",void 0),o.props=new $W(n==null?void 0:n.props),o}return r}(ue);gn(or,"controlName","\u660E\u7EC6\u5B50\u8868\u884C"),gn(or,"controlType","subtable-row"),gn(or,"controlIcon","subtable-row"),gn(or,"childrenMaxLength",1),gn(or,"excludes",[y.SUBTABLE,y.SUBTABLE_COLUMN,y.SUBTABLE_ROW,y.ROW,y.COL,y.CARD_GROUP,y.DIVIDER,y.TEXT]),gn(or,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0}]);function He(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Je(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fa(e){return fa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fa(e)}function AW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rh(e,t)}function xW(e,t){return t&&(kW(t)==="object"||typeof t=="function")?t:He(e)}function rh(e,t){return rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rh(e,t)}function kW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FW(e){var t=DW();return function(){var n=fa(e),o;if(t){var i=fa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xW(this,o)}}var CR=function(e){AW(r,e);var t=FW(r);function r(n){BW(this,r);var o;o=t.call(this,n),Je(He(o),"widthType",void 0),Je(He(o),"width",void 0),Je(He(o),"caption",void 0),Je(He(o),"fieldCode",void 0),Je(He(o),"fieldType",void 0),Je(He(o),"fieldName",void 0),Je(He(o),"datasourceBind",void 0),Je(He(o),"fixed",void 0),Je(He(o),"textCleanFormart",void 0),Je(He(o),"decimalKeepPrecision",void 0),Je(He(o),"timestampDateType",void 0),Je(He(o),"departmentDisplayLevel",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:200,o.widthType=(n==null?void 0:n.widthType)||"auto";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var c;o.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:!1;var a;o.fieldCode=(a=n==null?void 0:n.fieldCode)!==null&&a!==void 0?a:"";var l;o.fieldType=(l=n==null?void 0:n.fieldType)!==null&&l!==void 0?l:g.VARCHAR;var f;o.fieldName=(f=n==null?void 0:n.fieldName)!==null&&f!==void 0?f:"",o.datasourceBind=new te(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 m;o.timestampDateType=(m=n==null?void 0:n.timestampDateType)!==null&&m!==void 0?m:zt.DATE;var O;return o.departmentDisplayLevel=(O=n==null?void 0:n.departmentDisplayLevel)!==null&&O!==void 0?O:1,o}return r}(ie);function VR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function On(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sa(e){return sa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sa(e)}function jW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&oh(e,t)}function MW(e,t){return t&&(LW(t)==="object"||typeof t=="function")?t:VR(e)}function oh(e,t){return oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oh(e,t)}function LW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VW(e){var t=CW();return function(){var n=sa(e),o;if(t){var i=sa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return MW(this,o)}}var ir=function(e){jW(r,e);var t=VW(r);function r(n){NW(this,r);var o;return o=t.call(this,n),On(VR(o),"props",void 0),o.props=new CR(n==null?void 0:n.props),o}return r}(ue);On(ir,"controlName","\u5217\u8868\u5355\u5143\u683C"),On(ir,"controlType","gridtable-column"),On(ir,"controlIcon","gridtable-column"),On(ir,"childrenMaxLength",1),On(ir,"excludes",[y.GRID_TABLE,y.GRID_TABLE_COLUMN,y.ROW,y.COL,y.CARD_GROUP,y.DIVIDER,y.TEXT]),On(ir,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}]);function zR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _a(e){return _a=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_a(e)}function HW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ih(e,t)}function qW(e,t){return t&&(UW(t)==="object"||typeof t=="function")?t:zR(e)}function ih(e,t){return ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ih(e,t)}function UW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KW(e){var t=WW();return function(){var n=_a(e),o;if(t){var i=_a(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qW(this,o)}}var GW=function(e){HW(r,e);var t=KW(r);function r(n){zW(this,r);var o;return o=t.call(this,n),HR(zR(o),"props",void 0),o.props=new CR(n==null?void 0:n.props),o}return r}(dn);HR(GW,"controlType","gridtable-column");function uh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ya(e){return ya=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ya(e)}function JW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ch(e,t)}function QW(e,t){return t&&(ZW(t)==="object"||typeof t=="function")?t:uh(e)}function ch(e,t){return ch=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ch(e,t)}function ZW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eK(e){var t=YW();return function(){var n=ya(e),o;if(t){var i=ya(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QW(this,o)}}var tK=function(e){JW(r,e);var t=eK(r);function r(n){XW(this,r);var o;o=t.call(this,n),qR(uh(o),"childMinWidth",void 0),qR(uh(o),"colGap",void 0);var i;o.childMinWidth=(i=n==null?void 0:n.childMinWidth)!==null&&i!==void 0?i:230;var u;return o.colGap=(u=n==null?void 0:n.colGap)!==null&&u!==void 0?u:24,o}return r}(ie);function UR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rK(e,t,r){return t&&WR(e.prototype,t),r&&WR(e,r),e}function lh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pa(e){return pa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pa(e)}function oK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ah(e,t)}function iK(e,t){return t&&(uK(t)==="object"||typeof t=="function")?t:UR(e)}function ah(e,t){return ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ah(e,t)}function uK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lK(e){var t=cK();return function(){var n=pa(e),o;if(t){var i=pa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iK(this,o)}}var KR=function(e){oK(r,e);var t=lK(r);function r(n){nK(this,r);var o;return o=t.call(this,n),lh(UR(o),"props",void 0),o.props=new tK(n==null?void 0:n.props),o}return rK(r,null,[{key:"controlName",get:function(){return"\u6362\u884C\u5BB9\u5668"}},{key:"controlType",get:function(){return"grid-layout-container"}},{key:"controlIcon",get:function(){return"icona-huanhangrongqi1"}}]),r}(ue);lh(KR,"excludes",[y.GRID_LAYOUT_CONTAINER,y.CARD_GROUP,y.TAB]),lh(KR,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}]);function GR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fK(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function da(e){return da=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},da(e)}function sK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fh(e,t)}function _K(e,t){return t&&(yK(t)==="object"||typeof t=="function")?t:GR(e)}function fh(e,t){return fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fh(e,t)}function yK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dK(e){var t=pK();return function(){var n=da(e),o;if(t){var i=da(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _K(this,o)}}var vK=function(e){sK(r,e);var t=dK(r);function r(n){aK(this,r);var o;o=t.call(this,n),fK(GR(o),"mobileShowType",void 0);var i;return o.mobileShowType=(i=n==null?void 0:n.mobileShowType)!==null&&i!==void 0?i:"vertical",o}return r}(ie);function sh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function va(e){return va=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},va(e)}function JR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 hK(e,t){return t&&(bK(t)==="object"||typeof t=="function")?t:sh(e)}function yh(e,t){return yh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yh(e,t)}function bK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QR(e){var t=mK();return function(){var n=va(e),o;if(t){var i=va(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hK(this,o)}}var gK=function(e){JR(r,e);var t=QR(r);function r(n){XR(this,r);var o;return o=t.call(this,n),_h(sh(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),o}return r}(Z),ZR=function(e){JR(r,e);var t=QR(r);function r(n){XR(this,r);var o;o=t.call(this,n),_h(sh(o),"caption",void 0);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Oa.controlName,o}return r}(ie);_h(ZR,"Rules",gK);function YR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function wK(e,t,r){return t&&eS(e.prototype,t),r&&eS(e,r),e}function ph(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ha(e){return ha=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ha(e)}function $K(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dh(e,t)}function PK(e,t){return t&&(RK(t)==="object"||typeof t=="function")?t:YR(e)}function dh(e,t){return dh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dh(e,t)}function RK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EK(e){var t=SK();return function(){var n=ha(e),o;if(t){var i=ha(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PK(this,o)}}var ba=function(e){$K(r,e);var t=EK(r);function r(n){OK(this,r);var o;return o=t.call(this,n),ph(YR(o),"props",void 0),o.props=new ZR(n==null?void 0:n.props),o}return wK(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u5355\u5143"}},{key:"controlType",get:function(){return"tab-pane"}},{key:"controlIcon",get:function(){return"tab-pane"}}]),r}(ue);ph(ba,"excludes",[y.TAB]),ph(ba,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}]);function tS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function IK(e,t,r){return t&&nS(e.prototype,t),r&&nS(e,r),e}function ma(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ga(e){return ga=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ga(e)}function BK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vh(e,t)}function AK(e,t){return t&&(xK(t)==="object"||typeof t=="function")?t:tS(e)}function vh(e,t){return vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vh(e,t)}function xK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DK(e){var t=kK();return function(){var n=ga(e),o;if(t){var i=ga(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AK(this,o)}}var Oa=function(e){BK(r,e);var t=DK(r);function r(n){TK(this,r);var o;o=t.call(this,n),ma(tS(o),"props",void 0),o.props=new vK(n==null?void 0:n.props);var i;return o.children=(i=n==null?void 0:n.children)!==null&&i!==void 0?i:[new ba,new ba],o}return IK(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u9875"}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),r}(ue);ma(Oa,"excludes",[y.TAB]),ma(Oa,"controlEventKeys",["on_change_tab"]),ma(Oa,"setting",[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}]);function FK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wa(e){return wa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wa(e)}function jK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hh(e,t)}function MK(e,t){return t&&(LK(t)==="object"||typeof t=="function")?t:FK(e)}function hh(e,t){return hh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hh(e,t)}function LK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VK(e){var t=CK();return function(){var n=wa(e),o;if(t){var i=wa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return MK(this,o)}}var zK=function(e){jK(r,e);var t=VK(r);function r(n){return NK(this,r),t.call(this,n)}return r}(ie);function rS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qK(e,t,r){return t&&oS(e.prototype,t),r&&oS(e,r),e}function iS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $a(e){return $a=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$a(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&&bh(e,t)}function WK(e,t){return t&&(KK(t)==="object"||typeof t=="function")?t:rS(e)}function bh(e,t){return bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bh(e,t)}function KK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XK(e){var t=GK();return function(){var n=$a(e),o;if(t){var i=$a(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WK(this,o)}}var JK=function(e){UK(r,e);var t=XK(r);function r(n){HK(this,r);var o;return o=t.call(this,n),iS(rS(o),"props",void 0),o.props=new zK({}),o.children=(n==null?void 0:n.children)||[new yo({props:new _o({span:12})}),new yo({props:new _o({span:12})})],o}return qK(r,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),r}(ue);iS(JK,"excludes",[y.GRID_ROW,y.ROW,y.GRID,y.SUBTABLE,y.TAB,y.TOOLBOX]);function V(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function z(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pa(e){return Pa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pa(e)}function gh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Oh(e,t)}function QK(e,t){return t&&(ZK(t)==="object"||typeof t=="function")?t:V(e)}function Oh(e,t){return Oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Oh(e,t)}function ZK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wh(e){var t=YK();return function(){var n=Pa(e),o;if(t){var i=Pa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QK(this,o)}}var uS;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(uS||(uS={}));var eG=function(e){gh(r,e);var t=wh(r);function r(n){mh(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(yn),tG=function(e){gh(r,e);var t=wh(r);function r(n){mh(this,r);var o;if(o=t.call(this,n),z(V(o),"triggerFieldCode",{type:"any"}),z(V(o),"datasourceBind",{type:"any"}),z(V(o),"joinRelation",[{type:"any"}]),console.log("--ListViewControlPropertyRules--"),n.triggerType===2&&n.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")}),n.isShowJoinRelation&&(o.joinRelation=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),Bs.call(V(o),{optionConfig:"datasource",datasourceBind:n.datasourceBind,options:[]}),Array.isArray(o.datasourceBind)&&o.datasourceBind.length>1){var i=o.datasourceBind.find(function(u){return u.type==="object"&&u.fields});i&&(delete i.fields.valueFieldCode,delete i.fields.displayBoList)}return o}return r}(Z),po=function(e){gh(r,e);var t=wh(r);function r(n){mh(this,r);var o,i,u;o=t.call(this,n),z(V(o),"datasourceBind",void 0),z(V(o),"isLoading",void 0),z(V(o),"isShowSubList",void 0),z(V(o),"triggerType",void 0),z(V(o),"triggerFieldCode",void 0),z(V(o),"sublistPage",void 0),z(V(o),"isShowJoinRelation",void 0),z(V(o),"joinRelation",void 0),z(V(o),"showType",void 0),z(V(o),"showFullScreen",void 0),z(V(o),"isFixedHeader",void 0),z(V(o),"selectionType",void 0),z(V(o),"isShowSelection",void 0),z(V(o),"isAllLoaded",void 0),z(V(o),"countType",void 0),z(V(o),"countLimit",void 0),z(V(o),"rowStyleType",void 0),z(V(o),"rowStyleBgColor",void 0),z(V(o),"rowStyleRules",void 0),z(V(o),"rowStyleRulesScript",void 0),o.datasourceBind=new te(n==null?void 0:n.datasourceBind);var c;o.isLoading=(c=n==null?void 0:n.isLoading)!==null&&c!==void 0?c:!1;var a;o.isShowSubList=(a=n==null?void 0:n.isShowSubList)!==null&&a!==void 0?a:!1;var l;o.triggerType=(l=n==null?void 0:n.triggerType)!==null&&l!==void 0?l:1;var f;o.triggerFieldCode=(f=n==null?void 0:n.triggerFieldCode)!==null&&f!==void 0?f:"",o.sublistPage=new SA(n==null?void 0:n.sublistPage);var _;o.isShowJoinRelation=(_=n==null?void 0:n.isShowJoinRelation)!==null&&_!==void 0?_:!1,o.joinRelation=new TA(n==null?void 0:n.joinRelation);var p;o.showType=(p=n==null?void 0:n.showType)!==null&&p!==void 0?p:"stretch";var m;o.showFullScreen=(m=n==null?void 0:n.showFullScreen)!==null&&m!==void 0?m:!1;var O;o.selectionType=(O=n==null?void 0:n.selectionType)!==null&&O!==void 0?O:"multiple";var b;o.isFixedHeader=(b=n==null?void 0:n.isFixedHeader)!==null&&b!==void 0?b:!1;var w;o.isShowSelection=(w=n==null?void 0:n.isShowSelection)!==null&&w!==void 0?w:!1;var v;o.isAllLoaded=(v=n==null?void 0:n.isAllLoaded)!==null&&v!==void 0?v:!0,o.countType=n==null?void 0:n.countType;var $;o.countLimit=($=n==null?void 0:n.countLimit)!==null&&$!==void 0?$:1e5;var P;o.rowStyleType=(P=n==null?void 0:n.rowStyleType)!==null&&P!==void 0?P:"none";var R;o.rowStyleBgColor=(R=n==null?void 0:n.rowStyleBgColor)!==null&&R!==void 0?R:"theme";var S;o.rowStyleRules=(n==null?void 0:n.rowStyleRules)&&Array.isArray(n==null?void 0:n.rowStyleRules)?(S=n==null||(i=n.rowStyleRules)===null||i===void 0?void 0:i.map(function(T){return new zA(T)}))!==null&&S!==void 0?S:[]:[];var j;return o.rowStyleRulesScript=(n==null?void 0:n.rowStyleRulesScript)&&Array.isArray(n==null?void 0:n.rowStyleRulesScript)?(j=n==null||(u=n.rowStyleRulesScript)===null||u===void 0?void 0:u.map(function(T){return new HA(T)}))!==null&&j!==void 0?j:[]:[],o}return r}(ie);z(po,"Rules",tG),z(po,"RuntimeRules",eG);function cS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rG(e,t,r){return t&&lS(e.prototype,t),r&&lS(e,r),e}function Ra(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sa(e){return Sa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sa(e)}function oG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 iG(e,t){return t&&(uG(t)==="object"||typeof t=="function")?t:cS(e)}function $h(e,t){return $h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$h(e,t)}function uG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lG(e){var t=cG();return function(){var n=Sa(e),o;if(t){var i=Sa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iG(this,o)}}var Ea=function(e){oG(r,e);var t=lG(r);function r(n){nG(this,r);var o;return o=t.call(this,n),Ra(cS(o),"props",void 0),o.props=new po(n==null?void 0:n.props),o}return rG(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u5BB9\u5668"}},{key:"controlType",get:function(){return"list-view"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(ue);Ra(Ea,"excludes",[y.ROW]),Ra(Ea,"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"]),Ra(Ea,"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 aS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fG(e,t,r){return t&&fS(e.prototype,t),r&&fS(e,r),e}function sG(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ta(e){return Ta=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ta(e)}function _G(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ph(e,t)}function yG(e,t){return t&&(pG(t)==="object"||typeof t=="function")?t:aS(e)}function Ph(e,t){return Ph=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ph(e,t)}function pG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vG(e){var t=dG();return function(){var n=Ta(e),o;if(t){var i=Ta(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yG(this,o)}}var hG=function(e){_G(r,e);var t=vG(r);function r(n){aG(this,r);var o;return o=t.call(this,n),sG(aS(o),"props",void 0),o.props=new po(n==null?void 0:n.props),o}return fG(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(dn),bG={Designer:Ea,Runtime:hG,Property:po};function ln(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function an(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ia(e){return Ia=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ia(e)}function _S(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rh(e,t)}function mG(e,t){return t&&(gG(t)==="object"||typeof t=="function")?t:ln(e)}function Rh(e,t){return Rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rh(e,t)}function gG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yS(e){var t=OG();return function(){var n=Ia(e),o;if(t){var i=Ia(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mG(this,o)}}var wG=function(e){_S(r,e);var t=yS(r);function r(n){sS(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(yn),Ba=function(e){_S(r,e);var t=yS(r);function r(n){sS(this,r);var o;o=t.call(this,n),an(ln(o),"save",void 0),an(ln(o),"cancel",void 0),an(ln(o),"saveAs",void 0),an(ln(o),"print",void 0),an(ln(o),"custom",void 0),an(ln(o),"isLoading",void 0),an(ln(o),"datasourceBind",void 0);var i;o.save=new Ut((i=n==null?void 0:n.save)!==null&&i!==void 0?i:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var u;o.cancel=new Ut((u=n==null?void 0:n.cancel)!==null&&u!==void 0?u:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var c;o.saveAs=new Ut((c=n==null?void 0:n.saveAs)!==null&&c!==void 0?c:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1});var a;o.print=new Ut((a=n==null?void 0:n.print)!==null&&a!==void 0?a:{content:"\u6253\u5370",type:"print",isShow:!1});var l;o.custom=((l=n==null?void 0:n.custom)!==null&&l!==void 0?l:[]).map(function(_){return new Ut(_)});var f;return o.isLoading=(f=n==null?void 0:n.isLoading)!==null&&f!==void 0?f:!1,o.datasourceBind=new te(n==null?void 0:n.datasourceBind),o}return r}(ie);an(Ba,"RuntimeRules",wG);function pS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $G(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function PG(e,t,r){return t&&dS(e.prototype,t),r&&dS(e,r),e}function vS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Aa(e){return Aa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Aa(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&&Sh(e,t)}function SG(e,t){return t&&(EG(t)==="object"||typeof t=="function")?t:pS(e)}function Sh(e,t){return Sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sh(e,t)}function EG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IG(e){var t=TG();return function(){var n=Aa(e),o;if(t){var i=Aa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SG(this,o)}}var hS=function(e){RG(r,e);var t=IG(r);function r(n){$G(this,r);var o;return o=t.call(this,n),vS(pS(o),"props",void 0),o.props=new Ba(n==null?void 0:n.props),o}return PG(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(ue);vS(hS,"excludes",[]);function bS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function AG(e,t,r){return t&&mS(e.prototype,t),r&&mS(e,r),e}function xG(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xa(e){return xa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xa(e)}function 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&&Eh(e,t)}function DG(e,t){return t&&(FG(t)==="object"||typeof t=="function")?t:bS(e)}function Eh(e,t){return Eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eh(e,t)}function FG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jG(e){var t=NG();return function(){var n=xa(e),o;if(t){var i=xa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DG(this,o)}}var MG=function(e){kG(r,e);var t=jG(r);function r(n){BG(this,r);var o;return o=t.call(this,n),xG(bS(o),"props",void 0),o.props=new Ba(n==null?void 0:n.props),o}return AG(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(dn),LG={Designer:hS,Runtime:MG,Property:Ba};function ka(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Th(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Da(e){return Da=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Da(e)}function VG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ih(e,t)}function zG(e,t){return t&&(HG(t)==="object"||typeof t=="function")?t:ka(e)}function Ih(e,t){return Ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ih(e,t)}function HG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UG(e){var t=qG();return function(){var n=Da(e),o;if(t){var i=Da(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zG(this,o)}}var WG=function(e){VG(r,e);var t=UG(r);function r(n){CG(this,r);var o;o=t.call(this,n),Th(ka(o),"position",void 0),Th(ka(o),"opacity",void 0),Th(ka(o),"align",void 0);var i;o.position=(i=n==null?void 0:n.position)!==null&&i!==void 0?i:"bottom";var u;o.opacity=(u=n==null?void 0:n.opacity)!==null&&u!==void 0?u:!0;var c;return o.align=(c=n==null?void 0:n.align)!==null&&c!==void 0?c:"right",o}return r}(ie);function gS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function GG(e,t,r){return t&&OS(e.prototype,t),r&&OS(e,r),e}function Bh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fa(e){return Fa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fa(e)}function XG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ah(e,t)}function JG(e,t){return t&&(QG(t)==="object"||typeof t=="function")?t:gS(e)}function Ah(e,t){return Ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ah(e,t)}function QG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YG(e){var t=ZG();return function(){var n=Fa(e),o;if(t){var i=Fa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JG(this,o)}}var wS=function(e){XG(r,e);var t=YG(r);function r(n){KG(this,r);var o;o=t.call(this,n),Bh(gS(o),"props",void 0);var i;return o.props=new WG((i=n==null?void 0:n.props)!==null&&i!==void 0?i:{}),o}return GG(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE\u64CD\u4F5C\u680F"}},{key:"controlType",get:function(){return"action-bar"}},{key:"controlIcon",get:function(){return"action-bar"}}]),r}(ue);Bh(wS,"excludes",[]),Bh(wS,"setting",[{key:"action-buttons",visible:!0},{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0}]);function x(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Na(e){return Na=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Na(e)}function kh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 eX(e,t){return t&&(tX(t)==="object"||typeof t=="function")?t:x(e)}function Dh(e,t){return Dh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dh(e,t)}function tX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fh(e){var t=nX();return function(){var n=Na(e),o;if(t){var i=Na(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eX(this,o)}}var rX=function(e){kh(r,e);var t=Fh(r);function r(n){xh(this,r);var o;return o=t.call(this,n),I(x(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),I(x(o),"limitRows",[{type:"number",required:!0,message:d.getMessage("isNotNumber")},{type:"number",min:0,message:d.getMessage("limitRowsCannotBeLessThan0")}]),I(x(o),"formKey",{type:"string",required:!1,message:d.getMessage("pleaseEnterForm")}),I(x(o),"maxHeight",{type:"number",required:!0,message:d.getMessage("pleaseEnterMaxHeight")}),I(x(o),"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),I(x(o),"mobileRowCaption",{type:"string",required:!1,message:d.getMessage("pleaseEnterRowCaption")}),n.openType==="modal"&&(o.formKey.required=!0),n.isShowCaptionTip&&(o.captionTip.required=!0),n.mobileShowType==="tile"&&(o.mobileRowCaption.required=!0),o}return r}(Z),oX=function(e){kh(r,e);var t=Fh(r);function r(n){xh(this,r);var o;return o=t.call(this,n),n.isHide||o.push({type:"array",required:n.limitRows>0,message:d.getMessage("runtimeRequired",{caption:n.caption})},{type:"array",validator:function(u,c,a){c.length<n.limitRows&&a(d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})),a()},message:d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})}),o}return r}(yn),Nh=function(e){kh(r,e);var t=Fh(r);function r(n,o){xh(this,r);var i;i=t.call(this,n,o,r.mode),I(x(i),"caption",void 0),I(x(i),"labelPosition",void 0),I(x(i),"isHideCaption",void 0),I(x(i),"isShowCaptionTip",void 0),I(x(i),"captionTip",void 0),I(x(i),"defaultState",void 0),I(x(i),"limitRows",void 0),I(x(i),"maxRows",void 0),I(x(i),"defaultRows",void 0),I(x(i),"datasourceBind",void 0),I(x(i),"printMode",void 0),I(x(i),"openType",void 0),I(x(i),"formKey",void 0),I(x(i),"useCustomHeight",void 0),I(x(i),"maxHeight",void 0),I(x(i),"canAdd",void 0),I(x(i),"canDelete",void 0),I(x(i),"canCheck",void 0),I(x(i),"canEdit",void 0),I(x(i),"canImport",void 0),I(x(i),"canExport",void 0),I(x(i),"canClear",void 0),I(x(i),"isPaste",void 0),I(x(i),"mobileShowType",void 0),I(x(i),"mobileDefaultNum",void 0),I(x(i),"dataStorageDoc",void 0),I(x(i),"serverPagination",void 0),I(x(i),"fixedColumn",void 0),I(x(i),"mobileRowCaption",void 0),I(x(i),"mobileIsTile",void 0);var u;i.caption=(u=o==null?void 0:o.caption)!==null&&u!==void 0?u:Ch.controlName;var c;i.isHideCaption=(c=o==null?void 0:o.isHideCaption)!==null&&c!==void 0?c:!1;var a;i.defaultState=(a=o==null?void 0:o.defaultState)!==null&&a!==void 0?a:"default";var l;i.labelPosition=(l=o==null?void 0:o.labelPosition)!==null&&l!==void 0?l:"top";var f;i.openType=(f=o==null?void 0:o.openType)!==null&&f!==void 0?f:"default";var _;i.formKey=(_=o==null?void 0:o.formKey)!==null&&_!==void 0?_:"";var p;i.useCustomHeight=(p=o==null?void 0:o.useCustomHeight)!==null&&p!==void 0?p:!1;var m;i.maxHeight=(m=o==null?void 0:o.maxHeight)!==null&&m!==void 0?m:PD;var O;i.printMode=(O=o==null?void 0:o.printMode)!==null&&O!==void 0?O:"row";var b;i.limitRows=(b=o==null?void 0:o.limitRows)!==null&&b!==void 0?b:1;var w;i.maxRows=(w=o==null?void 0:o.maxRows)!==null&&w!==void 0?w:null;var v;i.defaultRows=(v=o==null?void 0:o.defaultRows)!==null&&v!==void 0?v:1,i.datasourceBind=new te(o==null?void 0:o.datasourceBind);var $;i.canAdd=($=o==null?void 0:o.canAdd)!==null&&$!==void 0?$:!0;var P;i.canDelete=(P=o==null?void 0:o.canDelete)!==null&&P!==void 0?P:!0;var R;i.canCheck=(R=o==null?void 0:o.canCheck)!==null&&R!==void 0?R:!1;var S;i.canEdit=(S=o==null?void 0:o.canEdit)!==null&&S!==void 0?S:!1;var j;i.canImport=(j=o==null?void 0:o.canImport)!==null&&j!==void 0?j:!1;var T;i.canExport=(T=o==null?void 0:o.canExport)!==null&&T!==void 0?T:!1;var G;i.canClear=(G=o==null?void 0:o.canClear)!==null&&G!==void 0?G:!0;var B;i.serverPagination=(B=o==null?void 0:o.serverPagination)!==null&&B!==void 0?B:!1;var Pt;i.isShowCaptionTip=(Pt=o==null?void 0:o.isShowCaptionTip)!==null&&Pt!==void 0?Pt:!1;var Ro;i.captionTip=(Ro=o==null?void 0:o.captionTip)!==null&&Ro!==void 0?Ro:"";var Ur;i.mobileShowType=(Ur=o==null?void 0:o.mobileShowType)!==null&&Ur!==void 0?Ur:"list";var Bn;i.mobileDefaultNum=(Bn=o==null?void 0:o.mobileDefaultNum)!==null&&Bn!==void 0?Bn:10;var Rt;i.dataStorageDoc=(Rt=o==null?void 0:o.dataStorageDoc)!==null&&Rt!==void 0?Rt:new wA;var Eb;i.fixedColumn=(Eb=o==null?void 0:o.fixedColumn)!==null&&Eb!==void 0?Eb:[];var Tb;i.mobileRowCaption=(Tb=o==null?void 0:o.mobileRowCaption)!==null&&Tb!==void 0?Tb:"\u660E\u7EC6";var Ib;i.mobileIsTile=(Ib=o==null?void 0:o.mobileIsTile)!==null&&Ib!==void 0?Ib:!1;var Bb;i.isPaste=(Bb=o==null?void 0:o.isPaste)!==null&&Bb!==void 0?Bb:!1;var Ab;i.pageSize=(Ab=o==null?void 0:o.pageSize)!==null&&Ab!==void 0?Ab:10;var xb;return i.pageSizeOptions=(xb=o==null?void 0:o.pageSizeOptions)!==null&&xb!==void 0?xb:[10,20,50,100],i}return r}(zs);I(Nh,"Rules",rX),I(Nh,"RuntimeRules",oX);function jh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $S(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uX(e,t,r){return t&&$S(e.prototype,t),r&&$S(e,r),e}function Mh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ja(e){return ja=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ja(e)}function cX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lh(e,t)}function lX(e,t){return t&&(aX(t)==="object"||typeof t=="function")?t:jh(e)}function Lh(e,t){return Lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lh(e,t)}function aX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sX(e){var t=fX();return function(){var n=ja(e),o;if(t){var i=ja(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lX(this,o)}}var Ch=function(e){cX(r,e);var t=sX(r);function r(n){iX(this,r);var o,i,u;return o=t.call(this,n),Mh(jh(o),"props",void 0),o.props=new Nh(jh(o),n==null?void 0:n.props),(n==null||(i=n.props)===null||i===void 0?void 0:i.headers)===void 0&&(o.props.headers=[new lt,new lt,new lt]),(n==null||(u=n.props)===null||u===void 0?void 0:u.footers)===void 0&&(o.props.footers=[]),o}return uX(r,[{key:"addColumn",value:function(o,i){var u=o!==void 0&&typeof o!="number"?o:new lt,c=typeof o=="number"?o:i;return c===void 0?this.props.headers.push(u):this.props.headers.splice(c,0,u),u}}],[{key:"controlName",get:function(){return"\u660E\u7EC6\u5B50\u8868"}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),r}(Us);Mh(Ch,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),Mh(Ch,"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]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"max-rows",visible:!0},{key:"list-pager",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}]);function ur(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _X(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ma(e){return Ma=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ma(e)}function 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&&Vh(e,t)}function pX(e,t){return t&&(dX(t)==="object"||typeof t=="function")?t:ur(e)}function Vh(e,t){return Vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vh(e,t)}function dX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hX(e){var t=vX();return function(){var n=Ma(e),o;if(t){var i=Ma(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pX(this,o)}}var bX=function(e){yX(r,e);var t=hX(r);function r(n,o){_X(this,r);var i;i=t.call(this,n,o),vo(ur(i),"isFixedHeader",void 0),vo(ur(i),"selectionType",void 0),vo(ur(i),"isShowToolbar",void 0),vo(ur(i),"isShowSelection",void 0),vo(ur(i),"isShowCustomColumns",void 0);var u;i.isFixedHeader=(u=o==null?void 0:o.isFixedHeader)!==null&&u!==void 0?u:!1,i.selectionType=o==null?void 0:o.selectionType;var c;i.isShowToolbar=(c=o==null?void 0:o.isShowToolbar)!==null&&c!==void 0?c:!0;var a;i.isShowSelection=(a=o==null?void 0:o.isShowSelection)!==null&&a!==void 0?a:!1;var l;i.isShowCustomColumns=(l=o==null?void 0:o.isShowCustomColumns)!==null&&l!==void 0?l:!0;var f;return i.pageSizeOptions=(f=o==null?void 0:o.pageSizeOptions)!==null&&f!==void 0?f:[10,20,50,100,500],i}return r}(zs);function mX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gX(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function La(e){return La=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},La(e)}function 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&&zh(e,t)}function OX(e,t){return t&&(wX(t)==="object"||typeof t=="function")?t:mX(e)}function zh(e,t){return zh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zh(e,t)}function wX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $X(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SS(e){var t=$X();return function(){var n=La(e),o;if(t){var i=La(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return OX(this,o)}}var PX=function(e){RS(r,e);var t=SS(r);function r(n){PS(this,r);var o;return o=t.call(this,n),o.caption.required=!1,o}return r}(yt),Hh=function(e){RS(r,e);var t=SS(r);function r(n){PS(this,r);var o,i,u;o=t.call(this,n);var c;o.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:"left";var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:cr.controlName;var l;o.width=(l=n==null?void 0:n.width)!==null&&l!==void 0?l:60;var f;o.autoWidth.minWidth=(f=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.minWidth)!==null&&f!==void 0?f:60;var _;o.autoWidth.flex=(_=n==null||(u=n.autoWidth)===null||u===void 0?void 0:u.flex)!==null&&_!==void 0?_:.4;var p;return o.widthType=(p=n==null?void 0:n.widthType)!==null&&p!==void 0?p:"px",o}return r}(Q);gX(Hh,"Rules",PX);function ES(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ho(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ca(e){return Ca=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ca(e)}function SX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 EX(e,t){return t&&(TX(t)==="object"||typeof t=="function")?t:ES(e)}function qh(e,t){return qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qh(e,t)}function TX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BX(e){var t=IX();return function(){var n=Ca(e),o;if(t){var i=Ca(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return EX(this,o)}}var cr=function(e){SX(r,e);var t=BX(r);function r(n){RX(this,r);var o;return o=t.call(this,n),ho(ES(o),"props",void 0),o.props=new Hh(n==null?void 0:n.props),o}return r}(le);ho(cr,"controlType","order-column"),ho(cr,"controlName","\u5E8F\u53F7"),ho(cr,"controlIcon","order-column"),ho(cr,"setting",[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}]);function TS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Uh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Va(e){return Va=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Va(e)}function xX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wh(e,t)}function kX(e,t){return t&&(DX(t)==="object"||typeof t=="function")?t:TS(e)}function Wh(e,t){return Wh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wh(e,t)}function DX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NX(e){var t=FX();return function(){var n=Va(e),o;if(t){var i=Va(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kX(this,o)}}var IS=function(e){xX(r,e);var t=NX(r);function r(n){AX(this,r);var o;return o=t.call(this,n),Uh(TS(o),"props",void 0),o.props=new Hh(n==null?void 0:n.props),o}return r}(ae);Uh(IS,"controlType","order-column"),Uh(IS,"controlFieldType",g.DECIMAL);function Kh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function za(e){return za=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},za(e)}function MX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gh(e,t)}function LX(e,t){return t&&(CX(t)==="object"||typeof t=="function")?t:Kh(e)}function Gh(e,t){return Gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gh(e,t)}function CX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zX(e){var t=VX();return function(){var n=za(e),o;if(t){var i=za(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return LX(this,o)}}var AS=function(e){MX(r,e);var t=zX(r);function r(n){jX(this,r);var o,i;o=t.call(this,n),BS(Kh(o),"showType",void 0),BS(Kh(o),"limit",void 0);var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:"right",o.widthType="auto";var c;o.autoWidth.minWidth=(c=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.minWidth)!==null&&c!==void 0?c:84;var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:ar.controlName;var l;o.showType=(l=n==null?void 0:n.showType)!==null&&l!==void 0?l:"icon";var f;return o.limit=(f=n==null?void 0:n.limit)!==null&&f!==void 0?f:3,o}return r}(Q);function Ha(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xS(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(l){r(l);return}c.done?t(a):Promise.resolve(a).then(n,o)}function HX(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){xS(i,n,o,u,c,"next",a)}function c(a){xS(i,n,o,u,c,"throw",a)}u(void 0)})}}function qX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function UX(e,t,r){return t&&kS(e.prototype,t),r&&kS(e,r),e}function wn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lr(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?lr=Reflect.get:lr=function(o,i,u){var c=QX(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},lr(e,t,r||e)}function fn(e){return fn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fn(e)}function WX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xh(e,t)}function KX(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){wn(e,o,r[o])})}return e}function GX(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function XX(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):GX(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function JX(e,t){return t&&(ZX(t)==="object"||typeof t=="function")?t:Ha(e)}function Xh(e,t){return Xh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xh(e,t)}function QX(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=fn(e),e!==null););return e}function ZX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eJ(e){var t=YX();return function(){var n=fn(e),o;if(t){var i=fn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JX(this,o)}}function tJ(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(f){l=[6,f],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var ar=function(e){WX(r,e);var t=eJ(r);function r(n){qX(this,r);var o;return o=t.call(this,n),wn(Ha(o),"props",void 0),wn(Ha(o),"children",void 0),o.props=new AS(n==null?void 0:n.props),St(Ha(o),"children",n==null?void 0:n.children,void 0,"Designer"),o}return UX(r,[{key:"toDataBindModel",value:function(){var o=lr(fn(r.prototype),"toDataBindModel",this).call(this);return this.children.map(function(i){if(i.type===lu.controlType){var u=i;o.props[u.props.command]=u.props}}),o}},{key:"toSchema",value:function(){var o=lr(fn(r.prototype),"toSchema",this).call(this);return XX(KX({},o),{children:this.children.map(function(i){return i.toSchema()})})}},{key:"validate",value:function(o,i){var u=this,c=this,a=function(){return lr(fn(r.prototype),"validate",u)};return HX(function(){return tJ(this,function(l){switch(l.label){case 0:return[4,a().call(c,o,i)];case 1:return l.sent(),[4,Promise.all(c.children.map(function(f){return f.validate(o,i)}))];case 2:return l.sent(),[2,!0]}})})()}}]),r}(le);wn(ar,"controlType","operation-column"),wn(ar,"controlName","\u64CD\u4F5C"),wn(ar,"controlIcon","operation-column"),wn(ar,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}]);function qa(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ua(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wa(e){return Wa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wa(e)}function 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&&Jh(e,t)}function oJ(e,t){return t&&(iJ(t)==="object"||typeof t=="function")?t:qa(e)}function Jh(e,t){return Jh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jh(e,t)}function iJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cJ(e){var t=uJ();return function(){var n=Wa(e),o;if(t){var i=Wa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oJ(this,o)}}var DS=function(e){rJ(r,e);var t=cJ(r);function r(n){nJ(this,r);var o;return o=t.call(this,n),Ua(qa(o),"props",void 0),Ua(qa(o),"children",void 0),o.props=new AS(n==null?void 0:n.props),St(qa(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(ae);Ua(DS,"controlType","operation-column"),Ua(DS,"controlFieldType",g.FILE);function bo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FS(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(l){r(l);return}c.done?t(a):Promise.resolve(a).then(n,o)}function lJ(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){FS(i,n,o,u,c,"next",a)}function c(a){FS(i,n,o,u,c,"throw",a)}u(void 0)})}}function aJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fJ(e,t,r){return t&&NS(e.prototype,t),r&&NS(e,r),e}function Ka(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mo(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?mo=Reflect.get:mo=function(o,i,u){var c=vJ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},mo(e,t,r||e)}function $n(e){return $n=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$n(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&&Qh(e,t)}function _J(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Ka(e,o,r[o])})}return e}function yJ(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function pJ(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):yJ(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function dJ(e,t){return t&&(hJ(t)==="object"||typeof t=="function")?t:bo(e)}function Qh(e,t){return Qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qh(e,t)}function vJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=$n(e),e!==null););return e}function hJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mJ(e){var t=bJ();return function(){var n=$n(e),o;if(t){var i=$n(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dJ(this,o)}}function gJ(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(f){l=[6,f],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var OJ=function(e){sJ(r,e);var t=mJ(r);function r(n){aJ(this,r);var o,i;return o=t.call(this,n),Ka(bo(o),"props",void 0),Ka(bo(o),"children",void 0),o.props=new bX(bo(o),n==null?void 0:n.props),St(bo(o),"children",n==null?void 0:n.children,void 0,"Designer"),(n==null?void 0:n.props.headers)===void 0&&(o.props.headers=[new cr,new ar]),(n==null||(i=n.props)===null||i===void 0?void 0:i.footers)===void 0&&(o.props.footers=[]),o}return fJ(r,[{key:"toSchema",value:function(){var o=mo($n(r.prototype),"toSchema",this).call(this),i=this.children.map(function(u){return u.toSchema()});return pJ(_J({},o),{children:i})}},{key:"validate",value:function(o,i){var u=this,c=this,a=function(){return mo($n(r.prototype),"validate",u)};return lJ(function(){return gJ(this,function(l){switch(l.label){case 0:return[4,a().call(c,o,i)];case 1:return l.sent(),[4,Promise.all(c.children.map(function(f){return f.validate(o,i)}))];case 2:return l.sent(),[2,!0]}})})()}}],[{key:"controlName",get:function(){return"\u8868\u683C"}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),r}(Us);Ka(OJ,"setting",[{key:"list-fixed-header",visible:!0}]);function sn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ga(e){return Ga=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ga(e)}function 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&&Zh(e,t)}function wJ(e,t){return t&&($J(t)==="object"||typeof t=="function")?t:sn(e)}function Zh(e,t){return Zh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zh(e,t)}function $J(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LS(e){var t=PJ();return function(){var n=Ga(e),o;if(t){var i=Ga(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wJ(this,o)}}var RJ=function(e){MS(r,e);var t=LS(r);function r(n){jS(this,r);var o;return o=t.call(this,n),Qt.call(sn(o),n),o}return r}(Lm),Yh=function(e){MS(r,e);var t=LS(r);function r(n){jS(this,r);var o;o=t.call(this,n),Pn(sn(o),"optionConfig",void 0),Pn(sn(o),"datasourceBind",void 0),Pn(sn(o),"showLinkOperation",void 0),Pn(sn(o),"linkOperationOption",void 0),Pn(sn(o),"options",void 0),Pn(sn(o),"lineEllipsis",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:sr.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new te(n==null?void 0:n.datasourceBind);var c;o.options=Tt((c=n==null?void 0:n.options)!==null&&c!==void 0?c:[{}]);var a;o.showLinkOperation=(a=n==null?void 0:n.showLinkOperation)!==null&&a!==void 0?a:!1,o.linkOperationOption=new Et(n==null?void 0:n.linkOperationOption);var l;return o.lineEllipsis=(l=n==null?void 0:n.lineEllipsis)!==null&&l!==void 0?l:1,o}return r}(Q);Pn(Yh,"Rules",RJ);function CS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xa(e){return Xa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xa(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&&e0(e,t)}function TJ(e,t){return t&&(IJ(t)==="object"||typeof t=="function")?t:CS(e)}function e0(e,t){return e0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},e0(e,t)}function IJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AJ(e){var t=BJ();return function(){var n=Xa(e),o;if(t){var i=Xa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TJ(this,o)}}var sr=function(e){EJ(r,e);var t=AJ(r);function r(n){SJ(this,r);var o;return o=t.call(this,n),fr(CS(o),"props",void 0),o.props=new Yh(n==null?void 0:n.props),o}return r}(le);fr(sr,"controlType","varchar-column"),fr(sr,"controlName","\u77ED\u6587\u672C"),fr(sr,"controlIcon","varchar-column"),fr(sr,"controlFieldType",g.VARCHAR),fr(sr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function VS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ja(e){return Ja=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ja(e)}function kJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n0(e,t)}function DJ(e,t){return t&&(FJ(t)==="object"||typeof t=="function")?t:VS(e)}function n0(e,t){return n0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},n0(e,t)}function FJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jJ(e){var t=NJ();return function(){var n=Ja(e),o;if(t){var i=Ja(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DJ(this,o)}}var zS=function(e){kJ(r,e);var t=jJ(r);function r(n){xJ(this,r);var o;return o=t.call(this,n),t0(VS(o),"props",void 0),o.props=new Yh(n==null?void 0:n.props),o}return r}(ae);t0(zS,"controlType","varchar-column"),t0(zS,"controlFieldType",g.VARCHAR);function _r(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function go(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qa(e){return Qa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qa(e)}function 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&&r0(e,t)}function MJ(e,t){return t&&(LJ(t)==="object"||typeof t=="function")?t:_r(e)}function r0(e,t){return r0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},r0(e,t)}function LJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function US(e){var t=CJ();return function(){var n=Qa(e),o;if(t){var i=Qa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return MJ(this,o)}}var VJ=function(e){qS(r,e);var t=US(r);function r(n){HS(this,r);var o;return o=t.call(this,n),Qt.call(_r(o),n),o}return r}(yt),o0=function(e){qS(r,e);var t=US(r);function r(n){HS(this,r);var o;o=t.call(this,n),go(_r(o),"escapeHTML",void 0),go(_r(o),"showLinkOperation",void 0),go(_r(o),"linkOperationOption",void 0),go(_r(o),"lineEllipsis",void 0);var i;o.escapeHTML=(i=n==null?void 0:n.escapeHTML)!==null&&i!==void 0?i:!1;var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:dr.controlName;var c;o.lineEllipsis=(c=n==null?void 0:n.lineEllipsis)!==null&&c!==void 0?c:1;var a;return o.showLinkOperation=(a=n==null?void 0:n.showLinkOperation)!==null&&a!==void 0?a:!1,o.linkOperationOption=new Et(n==null?void 0:n.linkOperationOption),o}return r}(Q);go(o0,"Rules",VJ);function WS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function HJ(e,t,r){return t&&KS(e.prototype,t),r&&KS(e,r),e}function yr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Za(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Za=Reflect.get:Za=function(o,i,u){var c=WJ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Za(e,t,r||e)}function pr(e){return pr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pr(e)}function qJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 UJ(e,t){return t&&(KJ(t)==="object"||typeof t=="function")?t:WS(e)}function i0(e,t){return i0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},i0(e,t)}function WJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=pr(e),e!==null););return e}function KJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XJ(e){var t=GJ();return function(){var n=pr(e),o;if(t){var i=pr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return UJ(this,o)}}var dr=function(e){qJ(r,e);var t=XJ(r);function r(n){zJ(this,r);var o;return o=t.call(this,n),yr(WS(o),"props",void 0),o.props=new o0(n==null?void 0:n.props),o}return HJ(r,[{key:"toDataBindModel",value:function(o){var i=Za(pr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.escapeHTML;i.props.escapeHTML=u}return i}}]),r}(le);yr(dr,"controlType","text-column"),yr(dr,"controlName","\u957F\u6587\u672C"),yr(dr,"controlIcon","text-column"),yr(dr,"controlFieldType",g.TEXT),yr(dr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function GS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ya(e){return Ya=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ya(e)}function QJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ZJ(e,t){return t&&(YJ(t)==="object"||typeof t=="function")?t:GS(e)}function c0(e,t){return c0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},c0(e,t)}function YJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tQ(e){var t=eQ();return function(){var n=Ya(e),o;if(t){var i=Ya(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZJ(this,o)}}var XS=function(e){QJ(r,e);var t=tQ(r);function r(n){JJ(this,r);var o;return o=t.call(this,n),u0(GS(o),"props",void 0),o.props=new o0(n==null?void 0:n.props),o}return r}(ae);u0(XS,"controlType","text-column"),u0(XS,"controlFieldType",g.TEXT);function $t(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ef(e){return ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ef(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&&l0(e,t)}function nQ(e,t){return t&&(rQ(t)==="object"||typeof t=="function")?t:$t(e)}function l0(e,t){return l0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},l0(e,t)}function rQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZS(e){var t=oQ();return function(){var n=ef(e),o;if(t){var i=ef(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nQ(this,o)}}var iQ=function(e){QS(r,e);var t=ZS(r);function r(n){JS(this,r);var o;return o=t.call(this,n),Qt.call($t(o),n),o}return r}(yt),a0=function(e){QS(r,e);var t=ZS(r);function r(n){JS(this,r);var o;o=t.call(this,n),Vt($t(o),"optionConfig",void 0),Vt($t(o),"datasourceBind",void 0),Vt($t(o),"showLinkOperation",void 0),Vt($t(o),"linkOperationOption",void 0),Vt($t(o),"options",void 0),Vt($t(o),"precision",void 0),Vt($t(o),"micrometer",void 0),Vt($t(o),"percentageFormat",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:br.controlName;var u;o.precision=(u=n==null?void 0:n.precision)!==null&&u!==void 0?u:0;var c;o.micrometer=(c=n==null?void 0:n.micrometer)!==null&&c!==void 0?c:!1;var a;o.percentageFormat=(a=n==null?void 0:n.percentageFormat)!==null&&a!==void 0?a:!1;var l;o.optionConfig=(l=n==null?void 0:n.optionConfig)!==null&&l!==void 0?l:"none",o.datasourceBind=new te(n==null?void 0:n.datasourceBind);var f;o.options=Tt((f=n==null?void 0:n.options)!==null&&f!==void 0?f:[{}]);var _;return o.showLinkOperation=(_=n==null?void 0:n.showLinkOperation)!==null&&_!==void 0?_:!1,o.linkOperationOption=new Et(n==null?void 0:n.linkOperationOption),o}return r}(Q);Vt(a0,"Rules",iQ);function YS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cQ(e,t,r){return t&&eE(e.prototype,t),r&&eE(e,r),e}function vr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?tf=Reflect.get:tf=function(o,i,u){var c=fQ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},tf(e,t,r||e)}function hr(e){return hr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hr(e)}function lQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 aQ(e,t){return t&&(sQ(t)==="object"||typeof t=="function")?t:YS(e)}function f0(e,t){return f0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},f0(e,t)}function fQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=hr(e),e!==null););return e}function sQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _Q(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yQ(e){var t=_Q();return function(){var n=hr(e),o;if(t){var i=hr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aQ(this,o)}}var br=function(e){lQ(r,e);var t=yQ(r);function r(n){uQ(this,r);var o;return o=t.call(this,n),vr(YS(o),"props",void 0),o.props=new a0(n==null?void 0:n.props),o}return cQ(r,[{key:"toDataBindModel",value:function(o){var i=tf(hr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props,c=u.precision,a=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=a}return i}}]),r}(le);vr(br,"controlType","decimal-column"),vr(br,"controlName","\u6570\u503C"),vr(br,"controlIcon","decimal-column"),vr(br,"controlFieldType",g.DECIMAL),vr(br,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[s.MICROMETER,s.PRECISION,s.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function tE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nf(e){return nf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nf(e)}function 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&&_0(e,t)}function vQ(e,t){return t&&(hQ(t)==="object"||typeof t=="function")?t:tE(e)}function _0(e,t){return _0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_0(e,t)}function hQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mQ(e){var t=bQ();return function(){var n=nf(e),o;if(t){var i=nf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vQ(this,o)}}var nE=function(e){dQ(r,e);var t=mQ(r);function r(n){pQ(this,r);var o;return o=t.call(this,n),s0(tE(o),"props",void 0),o.props=new a0(n==null?void 0:n.props),o}return r}(ae);s0(nE,"controlType","decimal-column"),s0(nE,"controlFieldType",g.DECIMAL);function Oo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function of(e){return of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},of(e)}function oE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 gQ(e,t){return t&&(OQ(t)==="object"||typeof t=="function")?t:Oo(e)}function y0(e,t){return y0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},y0(e,t)}function OQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iE(e){var t=wQ();return function(){var n=of(e),o;if(t){var i=of(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gQ(this,o)}}var $Q=function(e){oE(r,e);var t=iE(r);function r(n){rE(this,r);var o;return o=t.call(this,n),Qt.call(Oo(o),n),o}return r}(yt),p0=function(e){oE(r,e);var t=iE(r);function r(n){rE(this,r);var o;o=t.call(this,n),rf(Oo(o),"dateType",void 0),rf(Oo(o),"showLinkOperation",void 0),rf(Oo(o),"linkOperationOption",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:zt.DATE;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Et(n==null?void 0:n.linkOperationOption);var c;return o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Or.controlName,o}return r}(Q);rf(p0,"Rules",$Q);function uE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function RQ(e,t,r){return t&&cE(e.prototype,t),r&&cE(e,r),e}function mr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?uf=Reflect.get:uf=function(o,i,u){var c=TQ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},uf(e,t,r||e)}function gr(e){return gr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gr(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&&d0(e,t)}function EQ(e,t){return t&&(IQ(t)==="object"||typeof t=="function")?t:uE(e)}function d0(e,t){return d0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},d0(e,t)}function TQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=gr(e),e!==null););return e}function IQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AQ(e){var t=BQ();return function(){var n=gr(e),o;if(t){var i=gr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return EQ(this,o)}}var Or=function(e){SQ(r,e);var t=AQ(r);function r(n){PQ(this,r);var o;return o=t.call(this,n),mr(uE(o),"props",void 0),o.props=new p0(n==null?void 0:n.props),o}return RQ(r,[{key:"toDataBindModel",value:function(o){var i=uf(gr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(le);mr(Or,"controlType","timescope-column"),mr(Or,"controlName","\u65E5\u671F\u533A\u95F4"),mr(Or,"controlIcon","timescope-column"),mr(Or,"controlFieldType",g.TIMESCOPE),mr(Or,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}]);function lE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cf(e){return cf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cf(e)}function kQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h0(e,t)}function DQ(e,t){return t&&(FQ(t)==="object"||typeof t=="function")?t:lE(e)}function h0(e,t){return h0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},h0(e,t)}function FQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jQ(e){var t=NQ();return function(){var n=cf(e),o;if(t){var i=cf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DQ(this,o)}}var aE=function(e){kQ(r,e);var t=jQ(r);function r(n){xQ(this,r);var o;return o=t.call(this,n),v0(lE(o),"props",void 0),o.props=new p0(n==null?void 0:n.props),o}return r}(ae);v0(aE,"controlType","timescope-column"),v0(aE,"controlFieldType",g.TIMESCOPE);function wo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function af(e){return af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},af(e)}function sE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b0(e,t)}function MQ(e,t){return t&&(LQ(t)==="object"||typeof t=="function")?t:wo(e)}function b0(e,t){return b0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},b0(e,t)}function LQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _E(e){var t=CQ();return function(){var n=af(e),o;if(t){var i=af(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return MQ(this,o)}}var VQ=function(e){sE(r,e);var t=_E(r);function r(n){fE(this,r);var o;return o=t.call(this,n),Qt.call(wo(o),n),o}return r}(yt),m0=function(e){sE(r,e);var t=_E(r);function r(n){fE(this,r);var o;o=t.call(this,n),lf(wo(o),"dateType",void 0),lf(wo(o),"showLinkOperation",void 0),lf(wo(o),"linkOperationOption",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:zt.DATE;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Et(n==null?void 0:n.linkOperationOption);var c;return o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Pr.controlName,o}return r}(Q);lf(m0,"Rules",VQ);function yE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function HQ(e,t,r){return t&&pE(e.prototype,t),r&&pE(e,r),e}function wr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ff(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ff=Reflect.get:ff=function(o,i,u){var c=WQ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},ff(e,t,r||e)}function $r(e){return $r=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$r(e)}function qQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g0(e,t)}function UQ(e,t){return t&&(KQ(t)==="object"||typeof t=="function")?t:yE(e)}function g0(e,t){return g0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},g0(e,t)}function WQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=$r(e),e!==null););return e}function KQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XQ(e){var t=GQ();return function(){var n=$r(e),o;if(t){var i=$r(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return UQ(this,o)}}var Pr=function(e){qQ(r,e);var t=XQ(r);function r(n){zQ(this,r);var o;return o=t.call(this,n),wr(yE(o),"props",void 0),o.props=new m0(n==null?void 0:n.props),o}return HQ(r,[{key:"toDataBindModel",value:function(o){var i=ff($r(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(le);wr(Pr,"controlType","timestamp-column"),wr(Pr,"controlName","\u65E5\u671F"),wr(Pr,"controlIcon","timestamp-column"),wr(Pr,"controlFieldType",g.TIMESTAMP),wr(Pr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}]);function dE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function O0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sf(e){return sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sf(e)}function QQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w0(e,t)}function ZQ(e,t){return t&&(YQ(t)==="object"||typeof t=="function")?t:dE(e)}function w0(e,t){return w0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},w0(e,t)}function YQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tZ(e){var t=eZ();return function(){var n=sf(e),o;if(t){var i=sf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZQ(this,o)}}var vE=function(e){QQ(r,e);var t=tZ(r);function r(n){JQ(this,r);var o;return o=t.call(this,n),O0(dE(o),"props",void 0),o.props=new m0(n==null?void 0:n.props),o}return r}(ae);O0(vE,"controlType","timestamp-column"),O0(vE,"controlFieldType",g.TIMESTAMP);function Rn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _f(e){return _f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_f(e)}function bE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$0(e,t)}function nZ(e,t){return t&&(rZ(t)==="object"||typeof t=="function")?t:Rn(e)}function $0(e,t){return $0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$0(e,t)}function rZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mE(e){var t=oZ();return function(){var n=_f(e),o;if(t){var i=_f(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nZ(this,o)}}var iZ=function(e){bE(r,e);var t=mE(r);function r(n){hE(this,r);var o;return o=t.call(this,n),Qt.call(Rn(o),n),o}return r}(Lm),P0=function(e){bE(r,e);var t=mE(r);function r(n){hE(this,r);var o;o=t.call(this,n),Rr(Rn(o),"optionConfig",void 0),Rr(Rn(o),"datasourceBind",void 0),Rr(Rn(o),"showLinkOperation",void 0),Rr(Rn(o),"linkOperationOption",void 0),Rr(Rn(o),"options",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Er.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new te(n==null?void 0:n.datasourceBind);var c;o.showLinkOperation=(c=n==null?void 0:n.showLinkOperation)!==null&&c!==void 0?c:!1,o.linkOperationOption=new Et(n==null?void 0:n.linkOperationOption);var a;return o.options=Tt((a=n==null?void 0:n.options)!==null&&a!==void 0?a:[{}]),o}return r}(Q);Rr(P0,"Rules",iZ);function gE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yf(e){return yf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yf(e)}function cZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&R0(e,t)}function lZ(e,t){return t&&(aZ(t)==="object"||typeof t=="function")?t:gE(e)}function R0(e,t){return R0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},R0(e,t)}function aZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sZ(e){var t=fZ();return function(){var n=yf(e),o;if(t){var i=yf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lZ(this,o)}}var Er=function(e){cZ(r,e);var t=sZ(r);function r(n){uZ(this,r);var o;return o=t.call(this,n),Sr(gE(o),"props",void 0),o.props=new P0(n==null?void 0:n.props),o}return r}(le);Sr(Er,"controlType","array-column"),Sr(Er,"controlName","\u6570\u7EC4"),Sr(Er,"controlIcon","array-column"),Sr(Er,"controlFieldType",g.ARRAY),Sr(Er,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}]);function OE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _Z(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function S0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pf(e){return pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pf(e)}function yZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&E0(e,t)}function pZ(e,t){return t&&(dZ(t)==="object"||typeof t=="function")?t:OE(e)}function E0(e,t){return E0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},E0(e,t)}function dZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hZ(e){var t=vZ();return function(){var n=pf(e),o;if(t){var i=pf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pZ(this,o)}}var wE=function(e){yZ(r,e);var t=hZ(r);function r(n){_Z(this,r);var o;return o=t.call(this,n),S0(OE(o),"props",void 0),o.props=new P0(n==null?void 0:n.props),o}return r}(ae);S0(wE,"controlType","array-column"),S0(wE,"controlFieldType",g.ARRAY);function $E(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mZ(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function df(e){return df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},df(e)}function gZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&T0(e,t)}function OZ(e,t){return t&&(wZ(t)==="object"||typeof t=="function")?t:$E(e)}function T0(e,t){return T0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},T0(e,t)}function wZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $Z(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PZ(e){var t=$Z();return function(){var n=df(e),o;if(t){var i=df(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return OZ(this,o)}}var PE=function(e){gZ(r,e);var t=PZ(r);function r(n){bZ(this,r);var o;o=t.call(this,n),mZ($E(o),"displayLevel",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Br.controlName;var u;return o.displayLevel=(u=n==null?void 0:n.displayLevel)!==null&&u!==void 0?u:1,o}return r}(Q);function RE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function SZ(e,t,r){return t&&SE(e.prototype,t),r&&SE(e,r),e}function Tr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?vf=Reflect.get:vf=function(o,i,u){var c=IZ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},vf(e,t,r||e)}function Ir(e){return Ir=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ir(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&&I0(e,t)}function TZ(e,t){return t&&(BZ(t)==="object"||typeof t=="function")?t:RE(e)}function I0(e,t){return I0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},I0(e,t)}function IZ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ir(e),e!==null););return e}function BZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xZ(e){var t=AZ();return function(){var n=Ir(e),o;if(t){var i=Ir(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TZ(this,o)}}var Br=function(e){EZ(r,e);var t=xZ(r);function r(n){RZ(this,r);var o;return o=t.call(this,n),Tr(RE(o),"props",void 0),o.props=new PE(n==null?void 0:n.props),o}return SZ(r,[{key:"toDataBindModel",value:function(o){var i=vf(Ir(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.displayLevel;i.props.displayLevel=u}return i}}]),r}(le);Tr(Br,"controlType","department-column"),Tr(Br,"controlName","\u90E8\u95E8"),Tr(Br,"controlIcon","department-column"),Tr(Br,"controlFieldType",g.DEPARTMENTS),Tr(Br,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}]);function EE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function B0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hf(e){return hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hf(e)}function DZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&A0(e,t)}function FZ(e,t){return t&&(NZ(t)==="object"||typeof t=="function")?t:EE(e)}function A0(e,t){return A0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},A0(e,t)}function NZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MZ(e){var t=jZ();return function(){var n=hf(e),o;if(t){var i=hf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FZ(this,o)}}var TE=function(e){DZ(r,e);var t=MZ(r);function r(n){kZ(this,r);var o;return o=t.call(this,n),B0(EE(o),"props",void 0),o.props=new PE(n==null?void 0:n.props),o}return r}(ae);B0(TE,"controlType","department-column"),B0(TE,"controlFieldType",g.DEPARTMENTS);function bf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mf(e){return mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mf(e)}function BE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k0(e,t)}function LZ(e,t){return t&&(CZ(t)==="object"||typeof t=="function")?t:bf(e)}function k0(e,t){return k0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},k0(e,t)}function CZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AE(e){var t=VZ();return function(){var n=mf(e),o;if(t){var i=mf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return LZ(this,o)}}var zZ=function(e){BE(r,e);var t=AE(r);function r(n){IE(this,r);var o;return o=t.call(this,n),Qt.call(bf(o),n),o}return r}(yt),D0=function(e){BE(r,e);var t=AE(r);function r(n){IE(this,r);var o;o=t.call(this,n),x0(bf(o),"showLinkOperation",void 0),x0(bf(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:xr.controlName;var u;return o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Et(n==null?void 0:n.linkOperationOption),o}return r}(Q);x0(D0,"Rules",zZ);function xE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ar(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gf(e){return gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gf(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&&F0(e,t)}function UZ(e,t){return t&&(WZ(t)==="object"||typeof t=="function")?t:xE(e)}function F0(e,t){return F0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},F0(e,t)}function WZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GZ(e){var t=KZ();return function(){var n=gf(e),o;if(t){var i=gf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return UZ(this,o)}}var xr=function(e){qZ(r,e);var t=GZ(r);function r(n){HZ(this,r);var o;return o=t.call(this,n),Ar(xE(o),"props",void 0),o.props=new D0(n==null?void 0:n.props),o}return r}(le);Ar(xr,"controlType","auto-number-column"),Ar(xr,"controlName","\u81EA\u52A8\u7F16\u53F7"),Ar(xr,"controlIcon","auto-number-column"),Ar(xr,"controlFieldType",g.AUTO_NUMBER),Ar(xr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}]);function kE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function N0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Of(e){return Of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Of(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&&j0(e,t)}function QZ(e,t){return t&&(ZZ(t)==="object"||typeof t=="function")?t:kE(e)}function j0(e,t){return j0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},j0(e,t)}function ZZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eY(e){var t=YZ();return function(){var n=Of(e),o;if(t){var i=Of(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QZ(this,o)}}var DE=function(e){JZ(r,e);var t=eY(r);function r(n){XZ(this,r);var o;return o=t.call(this,n),N0(kE(o),"props",void 0),o.props=new D0(n==null?void 0:n.props),o}return r}(ae);N0(DE,"controlType","auto-number-column"),N0(DE,"controlFieldType",g.AUTO_NUMBER);function tY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wf(e){return wf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wf(e)}function 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&&M0(e,t)}function oY(e,t){return t&&(iY(t)==="object"||typeof t=="function")?t:tY(e)}function M0(e,t){return M0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},M0(e,t)}function iY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cY(e){var t=uY();return function(){var n=wf(e),o;if(t){var i=wf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oY(this,o)}}var FE=function(e){rY(r,e);var t=cY(r);function r(n){nY(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Dr.controlName,o}return r}(Q);function NE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $f(e){return $f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$f(e)}function aY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&L0(e,t)}function fY(e,t){return t&&(sY(t)==="object"||typeof t=="function")?t:NE(e)}function L0(e,t){return L0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},L0(e,t)}function sY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _Y(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yY(e){var t=_Y();return function(){var n=$f(e),o;if(t){var i=$f(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fY(this,o)}}var Dr=function(e){aY(r,e);var t=yY(r);function r(n){lY(this,r);var o;return o=t.call(this,n),kr(NE(o),"props",void 0),o.props=new FE(n==null?void 0:n.props),o}return r}(le);kr(Dr,"controlType","file-column"),kr(Dr,"controlName","\u9644\u4EF6"),kr(Dr,"controlIcon","file-column"),kr(Dr,"controlFieldType",g.FILE),kr(Dr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function jE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pf(e){return Pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pf(e)}function dY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&V0(e,t)}function vY(e,t){return t&&(hY(t)==="object"||typeof t=="function")?t:jE(e)}function V0(e,t){return V0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},V0(e,t)}function hY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mY(e){var t=bY();return function(){var n=Pf(e),o;if(t){var i=Pf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vY(this,o)}}var ME=function(e){dY(r,e);var t=mY(r);function r(n){pY(this,r);var o;return o=t.call(this,n),C0(jE(o),"props",void 0),o.props=new FE(n==null?void 0:n.props),o}return r}(ae);C0(ME,"controlType","file-column"),C0(ME,"controlFieldType",g.FILE);function gY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rf(e){return Rf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rf(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&&z0(e,t)}function $Y(e,t){return t&&(PY(t)==="object"||typeof t=="function")?t:gY(e)}function z0(e,t){return z0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},z0(e,t)}function PY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SY(e){var t=RY();return function(){var n=Rf(e),o;if(t){var i=Rf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $Y(this,o)}}var LE=function(e){wY(r,e);var t=SY(r);function r(n){OY(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Nr.controlName,o}return r}(Q);function CE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sf(e){return Sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sf(e)}function TY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&H0(e,t)}function IY(e,t){return t&&(BY(t)==="object"||typeof t=="function")?t:CE(e)}function H0(e,t){return H0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},H0(e,t)}function BY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xY(e){var t=AY();return function(){var n=Sf(e),o;if(t){var i=Sf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return IY(this,o)}}var Nr=function(e){TY(r,e);var t=xY(r);function r(n){EY(this,r);var o;return o=t.call(this,n),Fr(CE(o),"props",void 0),o.props=new LE(n==null?void 0:n.props),o}return r}(le);Fr(Nr,"controlType","image-column"),Fr(Nr,"controlName","\u56FE\u7247"),Fr(Nr,"controlIcon","image-column"),Fr(Nr,"controlFieldType",g.IMAGE),Fr(Nr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function VE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ef(e){return Ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ef(e)}function DY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&U0(e,t)}function FY(e,t){return t&&(NY(t)==="object"||typeof t=="function")?t:VE(e)}function U0(e,t){return U0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},U0(e,t)}function NY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MY(e){var t=jY();return function(){var n=Ef(e),o;if(t){var i=Ef(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FY(this,o)}}var zE=function(e){DY(r,e);var t=MY(r);function r(n){kY(this,r);var o;return o=t.call(this,n),q0(VE(o),"props",void 0),o.props=new LE(n==null?void 0:n.props),o}return r}(ae);q0(zE,"controlType","image-column"),q0(zE,"controlFieldType",g.IMAGE);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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tf(e){return Tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tf(e)}function VY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&W0(e,t)}function zY(e,t){return t&&(HY(t)==="object"||typeof t=="function")?t:LY(e)}function W0(e,t){return W0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},W0(e,t)}function HY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UY(e){var t=qY();return function(){var n=Tf(e),o;if(t){var i=Tf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zY(this,o)}}var HE=function(e){VY(r,e);var t=UY(r);function r(n){CY(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Mr.controlName,o}return r}(Q);function qE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function If(e){return If=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},If(e)}function KY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&K0(e,t)}function GY(e,t){return t&&(XY(t)==="object"||typeof t=="function")?t:qE(e)}function K0(e,t){return K0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},K0(e,t)}function XY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QY(e){var t=JY();return function(){var n=If(e),o;if(t){var i=If(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GY(this,o)}}var Mr=function(e){KY(r,e);var t=QY(r);function r(n){WY(this,r);var o;return o=t.call(this,n),jr(qE(o),"props",void 0),o.props=new HE(n==null?void 0:n.props),o}return r}(le);jr(Mr,"controlType","people-column"),jr(Mr,"controlName","\u4EBA\u5458"),jr(Mr,"controlIcon","people-column"),jr(Mr,"controlFieldType",g.EMPLOYEES),jr(Mr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function UE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function G0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bf(e){return Bf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bf(e)}function 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&&X0(e,t)}function eee(e,t){return t&&(tee(t)==="object"||typeof t=="function")?t:UE(e)}function X0(e,t){return X0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},X0(e,t)}function tee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ree(e){var t=nee();return function(){var n=Bf(e),o;if(t){var i=Bf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eee(this,o)}}var WE=function(e){YY(r,e);var t=ree(r);function r(n){ZY(this,r);var o;return o=t.call(this,n),G0(UE(o),"props",void 0),o.props=new HE(n==null?void 0:n.props),o}return r}(ae);G0(WE,"controlType","people-column"),G0(WE,"controlFieldType",g.EMPLOYEES);function Af(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xf(e){return xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xf(e)}function GE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Q0(e,t)}function oee(e,t){return t&&(iee(t)==="object"||typeof t=="function")?t:Af(e)}function Q0(e,t){return Q0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Q0(e,t)}function iee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XE(e){var t=uee();return function(){var n=xf(e),o;if(t){var i=xf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oee(this,o)}}var cee=function(e){GE(r,e);var t=XE(r);function r(n){KE(this,r);var o;return o=t.call(this,n),Qt.call(Af(o),n),o}return r}(yt),Z0=function(e){GE(r,e);var t=XE(r);function r(n){KE(this,r);var o;o=t.call(this,n),J0(Af(o),"showLinkOperation",void 0),J0(Af(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Cr.controlName;var u;return o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Et(n==null?void 0:n.linkOperationOption),o}return r}(Q);J0(Z0,"Rules",cee);function JE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kf(e){return kf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kf(e)}function aee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Y0(e,t)}function fee(e,t){return t&&(see(t)==="object"||typeof t=="function")?t:JE(e)}function Y0(e,t){return Y0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Y0(e,t)}function see(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _ee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yee(e){var t=_ee();return function(){var n=kf(e),o;if(t){var i=kf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fee(this,o)}}var Cr=function(e){aee(r,e);var t=yee(r);function r(n){lee(this,r);var o;return o=t.call(this,n),Lr(JE(o),"props",void 0),o.props=new Z0(n==null?void 0:n.props),o}return r}(le);Lr(Cr,"controlType","location-column"),Lr(Cr,"controlName","\u5730\u5740"),Lr(Cr,"controlIcon","location-column"),Lr(Cr,"controlFieldType",g.ADDRESS),Lr(Cr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}]);function QE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Df(e){return Df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Df(e)}function dee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tb(e,t)}function vee(e,t){return t&&(hee(t)==="object"||typeof t=="function")?t:QE(e)}function tb(e,t){return tb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tb(e,t)}function hee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mee(e){var t=bee();return function(){var n=Df(e),o;if(t){var i=Df(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vee(this,o)}}var ZE=function(e){dee(r,e);var t=mee(r);function r(n){pee(this,r);var o;return o=t.call(this,n),eb(QE(o),"props",void 0),o.props=new Z0(n==null?void 0:n.props),o}return r}(ae);eb(ZE,"controlType","location-column"),eb(ZE,"controlFieldType",g.ADDRESS);function Ff(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jf(e){return jf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jf(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&&nb(e,t)}function gee(e,t){return t&&(Oee(t)==="object"||typeof t=="function")?t:Ff(e)}function nb(e,t){return nb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nb(e,t)}function Oee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tT(e){var t=wee();return function(){var n=jf(e),o;if(t){var i=jf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gee(this,o)}}var $ee=function(e){eT(r,e);var t=tT(r);function r(n){YE(this,r);var o;return o=t.call(this,n),Nf(Ff(o),"sortFieldCode",{type:"string",message:d.getMessage("pleaseSelectSortFieldCode")}),n.sort===!0&&(o.sortFieldCode.required=!0),o}return r}(yt),rb=function(e){eT(r,e);var t=tT(r);function r(n){YE(this,r);var o;o=t.call(this,n),Nf(Ff(o),"fieldCodeList",void 0),Nf(Ff(o),"sortFieldCode",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:En.controlName;var u;o.fieldCodeList=(u=n==null?void 0:n.fieldCodeList)!==null&&u!==void 0?u:[];var c;return o.sortFieldCode=(c=n==null?void 0:n.sortFieldCode)!==null&&c!==void 0?c:"",o}return r}(Q);Nf(rb,"Rules",$ee);function Vr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ree(e,t,r){return t&&nT(e.prototype,t),r&&nT(e,r),e}function at(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $o(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?$o=Reflect.get:$o=function(o,i,u){var c=xee(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},$o(e,t,r||e)}function Sn(e){return Sn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sn(e)}function See(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ob(e,t)}function Eee(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Tee(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){at(e,o,r[o])})}return e}function Iee(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Bee(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Iee(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Aee(e,t){return t&&(kee(t)==="object"||typeof t=="function")?t:Vr(e)}function ob(e,t){return ob=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ob(e,t)}function xee(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Sn(e),e!==null););return e}function kee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Dee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fee(e){var t=Dee();return function(){var n=Sn(e),o;if(t){var i=Sn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Aee(this,o)}}var Nee=1,En=function(t){See(n,t);var r=Fee(n);function n(o){Pee(this,n);var i;i=r.call(this,o),at(Vr(i),"excludes",void 0),at(Vr(i),"childrenMaxLength",void 0),at(Vr(i),"props",void 0),at(Vr(i),"children",void 0);var u=Eee(this,n)?this.constructor:void 0,c=u.excludes,a=u.childrenMaxLength;return i.props=new rb(o==null?void 0:o.props),St(Vr(i),"children",o==null?void 0:o.children,void 0,"Designer"),i.excludes=Ht(c),i.childrenMaxLength=a,i}return Ree(n,[{key:"judgeJoinChildren",value:function(i){var u=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i);return u&&this.childrenMaxLength>this.children.length}},{key:"toDataBindModel",value:function(i){var u=$o(Sn(n.prototype),"toDataBindModel",this).call(this,i);if(u){var c=this.props.fieldCodeList;u.props.fieldCodeList=c}return u}},{key:"toSchema",value:function(){var i=$o(Sn(n.prototype),"toSchema",this).call(this);return Bee(Tee({},i),{children:this.children.map(function(u){return u.toSchema()})})}}]),n}(le);at(En,"controlType","custom-column"),at(En,"controlName","\u81EA\u5B9A\u4E49"),at(En,"controlIcon","custom-column"),at(En,"excludes",[]),at(En,"childrenMaxLength",Nee),at(En,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0}]);function Mf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ib(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lf(e){return Lf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lf(e)}function Mee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ub(e,t)}function Lee(e,t){return t&&(Cee(t)==="object"||typeof t=="function")?t:Mf(e)}function ub(e,t){return ub=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ub(e,t)}function Cee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zee(e){var t=Vee();return function(){var n=Lf(e),o;if(t){var i=Lf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lee(this,o)}}var Hee=function(e){Mee(r,e);var t=zee(r);function r(n){jee(this,r);var o;return o=t.call(this,n),ib(Mf(o),"props",void 0),ib(Mf(o),"children",void 0),o.props=new rb(n==null?void 0:n.props),St(Mf(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(ae);ib(Hee,"controlType","custom-column");function rT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Uee(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cf(e){return Cf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cf(e)}function Wee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cb(e,t)}function Kee(e,t){return t&&(Gee(t)==="object"||typeof t=="function")?t:rT(e)}function cb(e,t){return cb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cb(e,t)}function Gee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jee(e){var t=Xee();return function(){var n=Cf(e),o;if(t){var i=Cf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kee(this,o)}}var oT=function(e){Wee(r,e);var t=Jee(r);function r(n){qee(this,r);var o;o=t.call(this,n),Uee(rT(o),"datasourceBind",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Tn.controlName;var u;return o.datasourceBind=new Ao((u=n==null?void 0:n.datasourceBind)!==null&&u!==void 0?u:{attributes:Tn.controlCustomAttributes}),o}return r}(Q);function iT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Zee(e,t,r){return t&&uT(e.prototype,t),r&&uT(e,r),e}function zr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vf(e){return Vf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vf(e)}function Yee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lb(e,t)}function ete(e,t){return t&&(tte(t)==="object"||typeof t=="function")?t:iT(e)}function lb(e,t){return lb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lb(e,t)}function tte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rte(e){var t=nte();return function(){var n=Vf(e),o;if(t){var i=Vf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ete(this,o)}}var Tn=function(e){Yee(r,e);var t=rte(r);function r(n){Qee(this,r);var o;return o=t.call(this,n),zr(iT(o),"props",void 0),o.props=new oT(n==null?void 0:n.props),o}return Zee(r,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(le);zr(Tn,"controlType","employee-column"),zr(Tn,"controlName","\u4EBA\u5458"),zr(Tn,"controlIcon","employee-column"),zr(Tn,"controlFieldType",g.EMPLOYEES),zr(Tn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function cT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ote(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ab(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zf(e){return zf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zf(e)}function ite(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fb(e,t)}function ute(e,t){return t&&(cte(t)==="object"||typeof t=="function")?t:cT(e)}function fb(e,t){return fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fb(e,t)}function cte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ate(e){var t=lte();return function(){var n=zf(e),o;if(t){var i=zf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ute(this,o)}}var lT=function(e){ite(r,e);var t=ate(r);function r(n){ote(this,r);var o;return o=t.call(this,n),ab(cT(o),"props",void 0),o.props=new oT(n==null?void 0:n.props),o}return r}(ae);ab(lT,"controlType","employee-column"),ab(lT,"controlFieldType",g.EMPLOYEES);function Hf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qf(e){return qf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qf(e)}function ste(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _te(e,t){return t&&(yte(t)==="object"||typeof t=="function")?t:Hf(e)}function _b(e,t){return _b=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_b(e,t)}function yte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dte(e){var t=pte();return function(){var n=qf(e),o;if(t){var i=qf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _te(this,o)}}var aT=function(e){ste(r,e);var t=dte(r);function r(n){fte(this,r);var o;o=t.call(this,n),sb(Hf(o),"lineEllipsis",void 0),sb(Hf(o),"showLinkOperation",void 0),sb(Hf(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Hr.controlName;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Et(n==null?void 0:n.linkOperationOption);var c;return o.lineEllipsis=(c=n==null?void 0:n.lineEllipsis)!==null&&c!==void 0?c:1,o}return r}(Q);function yb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function In(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Uf(e){return Uf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uf(e)}function hte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pb(e,t)}function bte(e,t){return t&&(mte(t)==="object"||typeof t=="function")?t:yb(e)}function pb(e,t){return pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pb(e,t)}function mte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ote(e){var t=gte();return function(){var n=Uf(e),o;if(t){var i=Uf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bte(this,o)}}var Hr=function(e){hte(r,e);var t=Ote(r);function r(n){vte(this,r);var o;return o=t.call(this,n),In(yb(o),"props",void 0),In(yb(o),"children",void 0),o.props=new aT(n==null?void 0:n.props),o}return r}(le);In(Hr,"controlType","approval-status-column"),In(Hr,"controlName","\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),In(Hr,"controlIcon","approval-status-column"),In(Hr,"excludes",[]),In(Hr,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0}]);function db(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wf(e){return Wf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wf(e)}function $te(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hb(e,t)}function Pte(e,t){return t&&(Rte(t)==="object"||typeof t=="function")?t:db(e)}function hb(e,t){return hb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hb(e,t)}function Rte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ste(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ete(e){var t=Ste();return function(){var n=Wf(e),o;if(t){var i=Wf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Pte(this,o)}}var Tte=function(e){$te(r,e);var t=Ete(r);function r(n){wte(this,r);var o;return o=t.call(this,n),vb(db(o),"props",void 0),vb(db(o),"children",void 0),o.props=new aT(n==null?void 0:n.props),o}return r}(ae);vb(Tte,"controlType","approval-status-column");function ft(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function st(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kf(e){return Kf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kf(e)}function sT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bb(e,t)}function Ite(e,t){return t&&(Bte(t)==="object"||typeof t=="function")?t:ft(e)}function bb(e,t){return bb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bb(e,t)}function Bte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ate(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _T(e){var t=Ate();return function(){var n=Kf(e),o;if(t){var i=Kf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ite(this,o)}}var xte=function(e){sT(r,e);var t=_T(r);function r(n){fT(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(yn),mb=function(e){sT(r,e);var t=_T(r);function r(n){fT(this,r);var o;o=t.call(this,n),st(ft(o),"search",void 0),st(ft(o),"cancel",void 0),st(ft(o),"searchType",void 0),st(ft(o),"labelPosition",void 0),st(ft(o),"viewType",void 0),st(ft(o),"isLoading",void 0),st(ft(o),"custom",void 0),st(ft(o),"queryTypeMap",void 0),st(ft(o),"childMinWidth",void 0),st(ft(o),"colGap",void 0);var i;o.searchType=(i=n==null?void 0:n.searchType)!==null&&i!==void 0?i:"model";var u;o.labelPosition=(u=n==null?void 0:n.labelPosition)!==null&&u!==void 0?u:"top";var c;o.viewType=(c=n==null?void 0:n.viewType)!==null&&c!==void 0?c:"mini";var a;o.search=new Ut((a=n==null?void 0:n.search)!==null&&a!==void 0?a:{content:"\u67E5\u8BE2",isShow:!0});var l;o.cancel=new Ut((l=n==null?void 0:n.cancel)!==null&&l!==void 0?l:{content:"\u91CD\u7F6E",isShow:!0});var f;o.isLoading=(f=n==null?void 0:n.isLoading)!==null&&f!==void 0?f:!1;var _;o.custom=((_=n==null?void 0:n.custom)!==null&&_!==void 0?_:[]).map(function(b){return new Ut(b)});var p;o.queryTypeMap=(p=n==null?void 0:n.queryTypeMap)!==null&&p!==void 0?p:[];var m;o.childMinWidth=(m=n==null?void 0:n.childMinWidth)!==null&&m!==void 0?m:230;var O;return o.colGap=(O=n==null?void 0:n.colGap)!==null&&O!==void 0?O:24,o}return r}(t_);st(mb,"RuntimeRules",xte);function yT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gf(e){return Gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gf(e)}function Dte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ob(e,t)}function Fte(e,t){return t&&(Nte(t)==="object"||typeof t=="function")?t:yT(e)}function Ob(e,t){return Ob=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ob(e,t)}function Nte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mte(e){var t=jte();return function(){var n=Gf(e),o;if(t){var i=Gf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Fte(this,o)}}var pT=function(e){Dte(r,e);var t=Mte(r);function r(n){kte(this,r);var o;return o=t.call(this,n),gb(yT(o),"props",void 0),o.props=new mb(n==null?void 0:n.props),o}return r}(S2);gb(pT,"controlType","simple-search"),gb(pT,"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 wb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xf(e){return Xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xf(e)}function Cte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pb(e,t)}function Vte(e,t){return t&&(zte(t)==="object"||typeof t=="function")?t:wb(e)}function Pb(e,t){return Pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pb(e,t)}function zte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qte(e){var t=Hte();return function(){var n=Xf(e),o;if(t){var i=Xf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vte(this,o)}}var Ute=function(e){Cte(r,e);var t=qte(r);function r(n){Lte(this,r);var o;o=t.call(this,n),$b(wb(o),"props",void 0),$b(wb(o),"children",void 0),o.props=new mb(n==null?void 0:n.props);var i;return o.children=(i=n==null?void 0:n.children)!==null&&i!==void 0?i:[],o}return r}(k2);$b(Ute,"controlType","simple-search");const Wte=(e,t)=>{const r=Array.isArray(e),n=r?e:[e];one(t==null?void 0:t.events),Zte(n),Yte(n);const o=Qte(n),i=ene(o,t);let u=Dn(oe(i,c=>Jte(c,t)));return r?u:u[0]},Kte=[y.DIVIDER,y.TEXT,y.TITLE,y.LINK,y.BUTTON,"list-btn-export-list","list-btn-export-record"],Gte=["subtable","grid-table"],Xte=["simple-search"];function Jte(e,t){var o,i,u,c,a,l;let r=e;if(r.controlType||(r.is_layout_control===!0?r.controlType="layout":Kte.includes(r.type)?r.controlType="base":r.controlType="form",Gte.includes(r.type)&&(r.controlType="list"),Xte.includes(r.type)&&(r.controlType="search-view")),delete r.is_layout_control,e.props.lable_position&&(e.props.labelPosition=e.props.lable_position),e.props.select_mode&&(e.props.optionsFormat=e.props.select_mode),e.props.value&&(e.props.defaultValue=e.props.value),Oe((o=e==null?void 0:e.props)==null?void 0:o.caption)&&(r.props.caption=e.props.caption.zh),Oe((i=e==null?void 0:e.props)==null?void 0:i.placeholder)&&(r.props.placeholder=e.props.placeholder.zh),Oe((u=e==null?void 0:e.props)==null?void 0:u.placeholder_end)&&(r.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(r.type="department",e.props.value.length&&(r.props.default_value=e.props.value),r.props.showType=e.props.show_tree?"tree":"default",r.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(r.type="auto-number",r.props.defaultValue=e.props.value),e.type==="file"&&(r.type="attachment",r.props.attachmentAccept=(c=e.attachment_format)==null?void 0:c.split(","),r.props.showType=e.props.show_type==="title"?"default":"table"),e.type==="image"&&(r.props.attachmentAccept=(a=e.attachment_format)==null?void 0:a.split(",")),e.type==="date-pick"&&(r.type="date-picker"),e.type==="rich-text"&&(Oe(e.props.value)?r.props.defaultValue=e.props.value.zh:r.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(Oe(e.props.value)?r.props.content=e.props.value.zh:r.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(r.props.showState="image"),e.type==="user-search"&&(r.type="employee",r.props.defaultValue=e.props.value),e.type==="address"&&(r.props.addressType=e.props.address_type_value),r.type==="subtable"){const f=r.props.entry_type||r.props.entryType;r.props.openType=f==="subpage"?"modal":"default",((l=r.children[0])==null?void 0:l.type)==="subtable-row"&&r.props.headers&&(r.props.headers=r.props.headers.map((_,p)=>{const m=new dW.Designer;m.props.caption=Oe(_.field_name)?_.field_name.zh:_.field_name;const O=m.toSchema();O.id=_.header_id;const b=r.children[0].children[p].children[0];return b&&(O.children=[b]),O}),r.children=[])}if(r.type==="subtable-cell"&&(r.type="subtable-column"),["radio","checkbox","select","select-multiple"].includes(e.type)&&(e.props.options.map(f=>{f.label=Oe(f.text)?f.text.zh:f.text,f.id=f.id||f.opt_id||f.optId||f.data_id}),r=e),e.type==="grid-row"){const f=24/r.children.length;r.children=r.children.map(_=>{const p=new hR.Designer;p.props.span=f;const m=p.toSchema();return m.children.push(_),m})}if(e.type==="grid-layout-row"&&(r.type="row"),e.type==="grid-layout-col"&&(r.type="col"),e.type==="group-panel"&&(r.type="card-group",r.props.collapse=r.props.flod==="no"?"none":r.props.flod),e.type==="tabs-pane"&&(r.type="tab-pane"),e.type==="calc"){const f=r==null?void 0:r.children[0],_=r==null?void 0:r.children[1],p={};f&&(dT(r,t),p.result=f.props.data_bind,r.id=f.id,r.props=f.props,r.props.script_src=f.props.script_src,r.props.script_echo=f.props.script_echo,r.props.precision=f.props.precision,r.props.micrometer=f.props.is_show_money,r.props.showUpperCase=f.props.is_show_chn),_&&(p.unit=_.props.data_bind,r.props.default_value={unit:_.props.value}),r.props.dataBind=p,delete r.children}if(e.type==="amount-currency"){r.type="amount",r.controlType="form";const f=r==null?void 0:r.children[0],_=r==null?void 0:r.children[1],p={},m={};f&&(dT(r,t),r.id=f.id,p.amount=f.props.data_bind,r.props.range_min=kn(f.props.range_min),r.props.range_max=kn(f.props.range_max),m.amount=kn(f.props.value),r.props.required=f.props.required,r.props.is_hide=f.props.is_hide,r.props.default_state=f.props.default_state,r.props.caption=Oe(f.props.caption)?f.props.caption.zh:f.props.caption,r.props.is_hide_caption=f.props.is_hide_caption,r.props.showUpperCase=f.props.is_show_chn),_&&(p.currency=_.props.data_bind,m.currency=_.props.value,r.props.datasourceBind=_.props.datasource_bind,r.props.options=_.props.options.map(O=>({label:O.text,value:O.value}))),r.props.dataBind=p,r.props.defaultValue=m,delete r.children}if(e.type==="date-range"){r.controlType="form";const f=r==null?void 0:r.children[0],_=r==null?void 0:r.children[1];r.props.placeholderStart=Oe(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,r.props.caption=Oe(e.props.caption)?e.props.caption.zh:e.props.caption;const p={};f&&(p.min=f.props.data_bind),_&&(p.max=_.props.data_bind),r.props.dataBind=p,delete r.children}return e.type==="score"&&(r.props.defaultValue=r.props.value*1),["input","textarea"].includes(e.type)&&(r.props.defaultValue=Oe(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(r.props.range_min=kn(e.props.range_min),r.props.range_max=kn(e.props.range_max),r.props.defaultValue=kn(e.props.value)),e.type==="list-page-btn-custom-button"&&(e.type="button"),e.type==="button"&&e.props.button_type==="dashed"&&(r.props.buttonType="default"),ine(r,t==null?void 0:t.control_events),r}function dT(e,t){if(!t)return;const{displayBoList:r=[],behaviors:n=[]}=t,o=e.id,i=e.children[0].id;r.forEach(u=>{u.id===o&&(u.id=i);const c=u.show_controls.findIndex(l=>l===o),a=u.hide_controls.findIndex(l=>l===o);c>-1&&u.show_controls.splice(c,1,i),a>-1&&u.hide_controls.splice(a,1,i)}),n.forEach(u=>{u.ctrl_id===o&&(u.id=i)})}function Qte(e){if(!Array.isArray(e)||!e.find(o=>o.type==="grid"))return e;const n=new LG.Designer().toSchema();return n.children=e,[n]}function Zte(e){e.forEach(t=>{t.children&&rne(t.children)})}function Yte(e){e.forEach(t=>{var n,o;if(!(t&&t.children))return;const r=t.children;for(let i=0;i<r.length;i++){const u=r[i],c=(o=(n=r[i])==null?void 0:n.children)==null?void 0:o[0];u.type==="grid-row"&&c&&["group-panel","subtable","tab"].includes(c.type)&&r.splice(i,1,c)}})}function ene(e,t){var m,O,b,w,v,$,P,R;if(!(Array.isArray(e)&&e.length===1))return e;const r=e[0];if(r.type!=="list-page")return e;const{props:n,children:o}=r,[i,u,c]=o;tne(i),c.props.is_fixed_header=(m=n==null?void 0:n.source_config)==null?void 0:m.is_fixed_header,nne(c,u);const a=(b=(O=n==null?void 0:n.source_config)==null?void 0:O.data_code)!=null?b:t==null?void 0:t.dataCode,l=((v=(w=n==null?void 0:n.source_config)==null?void 0:w.svc_code)!=null?v:a)?`${a}_selectMore`:void 0,f=(P=($=n==null?void 0:n.source_config)==null?void 0:$.orders)!=null?P:[],_=new bG.Designer;_.props.datasourceBind=new te({dataCode:a,svcCode:l,orders:Q1(f)}),_.props.isShowSubList=n.is_show_sublist,_.props.triggerType=n.timing_type,_.props.triggerFieldCode=n.ctrl_field_code,(R=n==null?void 0:n.sublist_page)==null||R.sublists.forEach(S=>{S.title=Oe(S.title)?S.title.zh:S.title}),_.props.sublistPage=n.sublist_page;const p=_.toSchema();return p.children.push(i,c),[p]}function tne(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(t=>{var n,o;const r=Oe(t.placeholder)?t.placeholder.zh:t.placeholder;t.type==="number-range"&&(t.type="search-number-range",t.placeholderStart=r,t.placeholderEnd=r),t.type==="date-pick"&&(t.type="search-date-range",t.placeholderStart=r,t.placeholderEnd=r,t.dateType=(o=(n=t.dateType)==null?void 0:n.replace)==null?void 0:o.call(n,/range$/)),(t.type==="automatic-number"||t.type==="auto-number")&&(t.type="search-input",t.props.defaultValue="")})}function nne(e,t){e.children=t.children.filter(r=>r.type!=="list-page-btn-custom-head"),e.type="grid-table",e.props.sublist_page&&(e.props.sublist_page.form_bind={data_code:e.props.sublist_page.data_code,form_key:e.props.sublist_page.form_key}),Array.isArray(e.props.headers)&&(e.props.headers=e.props.headers.map(r=>{var o,i,u;let n={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:r.field_code,field_name:Oe(r.field_name)?r.field_name.zh:r.field_name}};return n.props.caption=Oe(r.field_name)?r.field_name.zh:r.field_name,n.props.filter_tags=r.is_filter_tags,n.props.fixed=r.fixed,n.props.display_bo_list=r.display_bo_list,n.props.date_type=r.date_type,n.props.optionConfig="none",r.header_width_config&&(n.props.widthType=r.header_width_config==="1"?"auto":"px"),n.props.widthType==="px"&&r.header_width&&(n.props.width=Number(r.header_width)),r.table_header_type==="order"?(n.type="order-column",n.props.fixed=!0):r.table_header_type==="operation"?(n.type="operation-column",n.props.check=(o=r.check)!=null?o:{},n.props.check.openType="window",n.props.delete=(i=r.delete)!=null?i:{},n.props.delete.openType="window",n.props.edit=(u=r.edit)!=null?u:{},n.props.edit.openType="window",n.props.fixed=!0):(n.type=r.field_type+"-column",r.field_type==="auto_number"&&(n.type="auto-number-column"),r.field_type==="relation"&&(n.type="varchar-column")),r.convert_switch&&(n.props.optionConfig=r.convert_type===1?"datasource":"custom"),n.props.optionConfig==="datasource"?n.props.datasource_bind=new te({svcCode:r.svc_code,displayBoList:r.display_bo_list,valueFieldCode:r.field_match,dataCode:r.field_source}):n.props.optionConfig==="custom"&&(n.props.options=r.custom_match_bo_list),n}))}function rne(e){var r;let t=null;for(let n=0;n<e.length;n++){const o=e[n];if(!!o){if(o.children&&((r=o.children[0])==null?void 0:r.type)==="group-panel"){t=o.children[0];continue}t&&(t.children.push(o),e.splice(n,1),n--)}}}function one(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 ine(e,t){var n;if(!t||!e.props.events)return;const r=Object.keys(e.props.events);!r.length||(r.forEach(o=>{!e.props.events[o].length||(t[e.id]||(t[e.id]={}),t[e.id][o]||(t[e.id][o]=[]),t[e.id][o].push(...e.props.events[o].map(i=>i.name)))}),(n=t[e.id])!=null&&n.on_blur&&(t[e.id].on_change||(t[e.id].on_change=[]),t[e.id].on_change.push(...t[e.id].on_blur)))}const une=(e,t)=>{const r=Array.isArray(e);let o=Dn(oe(r?e:[e],i=>cne(i)));return r?o:o[0]};function cne(e,t){return e.type===y.LIST_VIEW&&e.children.find(n=>n.type===y.GRID_TABLE).props.headers.forEach(n=>{!n.props.data_bind&&n.props.field_code&&(n.props.data_bind=new et({dataCode:e.props.datasource_bind.data_code,fieldCode:n.props.field_code}))}),e}const lne=(e,t)=>{const r=Array.isArray(e);let o=Dn(oe(r?e:[e],i=>ane(i)));return r?o:o[0]};function ane(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 fne=(e,t)=>{const r=Array.isArray(e);let o=Dn(oe(r?e:[e],i=>sne(i)));return r?o:o[0]};function sne(e,t){if(e.props.icon){let r=e.props.icon;switch(r){case"icongeren":r="iconyyzy-renyuan";break;case"iconjine1":r="iconcaiwu";break;case"iconhuibao":r="iconyyzy-tianxie";break;case"iconwenjian":r="iconyyzy-wenjianjia1";break;case"iconyingpin":r="iconyyzy-gongzuo";break;case"iconpiliangtijiaojilu":r="iconyyzy-renwu";break}e.props.icon=r}return e}const _ne=(e,t)=>{const r=Array.isArray(e);let o=Dn(oe(r?e:[e],i=>pne(i)));return r?o:o[0]},yne=[y.ROW,y.TAB,y.SUBTABLE,y.GRID_ROW,y.CARD_GROUP];function pne(e,t){return e.type===y.TAB_PANE&&(e.children=e.children.map(r=>{if(yne.includes(r.type))return r;const n=new VU.Designer,o=new hR.Designer;n.children.push(o);const i=n.toSchema();return i.children[0].children.push(r),i})),e}const dne=(e,t)=>{const r=Array.isArray(e);let o=Dn(oe(r?e:[e],i=>vne(i)));return r?o:o[0]};function vne(e,t){return e.type===y.GRID_TABLE&&e.props.headers.forEach(r=>{r.type===y.OPERATION_COLUMN&&(r.props.check.priorityProcess=!0)}),e}const hne=(e,t)=>{const r=Array.isArray(e);let o=oe(r?e:[e],i=>bne(i));return r?o:o[0]};function bne(e,t){return e.type===y.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}const mne=(e,t)=>{const r=Array.isArray(e);let o=oe(r?e:[e],i=>gne(i));return r?o:o[0]};function _n(e,t){e.field_code&&(e.field_type=t)}function gne(e,t){var n;const r={[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 r.hasOwnProperty(e.type)&&_n(e.props.data_bind,r[e.type]),e.type===y.AMOUNT&&(_n(e.props.data_bind.amount,g.DECIMAL),_n(e.props.data_bind.currency,g.VARCHAR)),e.type===y.CALC&&(_n(e.props.data_bind.result,g.DECIMAL),_n(e.props.data_bind.unit,g.VARCHAR)),e.type===y.DATE_RANGE&&(_n(e.props.data_bind.min,g.TIMESTAMP),_n(e.props.data_bind.max,g.TIMESTAMP)),e.type===y.VUE_FORM_ITEM&&_n(e.props.data_bind,(n=e.field_type)!=null?n:g.ANY),e}const One=(e,t)=>{const r=Array.isArray(e);let o=oe(r?e:[e],i=>wne(i));return r?o:o[0]};function wne(e,t){return e.type===y.GRID_TABLE&&e.props.headers.forEach(r=>{r.type.endsWith("-column")&&(r.props.fixed?(r.props.fixed="left",r.type===y.OPERATION_COLUMN&&(r.props.fixed="right")):r.props.fixed="none")}),e}const $ne=(e,t)=>{const r=Array.isArray(e);let o=oe(r?e:[e],i=>Pne(i));return r?o:o[0]};function Pne(e,t){return e.type===y.SIMPLE_SEARCH&&e.children.length&&(e.props.query_type_map||(e.props.query_type_map=[]),e.children.forEach(r=>{var n,o;[g.VARCHAR,g.TEXT,g.AUTO_NUMBER].includes((o=(n=r.props)==null?void 0:n.data_bind)==null?void 0:o.field_type)&&e.props.query_type_map.push({query_type:"LIKE",field_code:r.props.data_bind.field_code})})),e}const Rne=(e,t)=>{const r=Array.isArray(e);let o=oe(r?e:[e],i=>Sne(i));return r?o:o[0]};function Sne(e,t){return[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===y.SUBTABLE&&e.props.headers.forEach(r=>{[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}const Ene=(e,t)=>{const r=Array.isArray(e);let o=oe(r?e:[e],i=>Tne(i));return r?o:o[0]};function Tne(e,t){return[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===y.SUBTABLE&&e.props.headers.forEach(r=>{[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}const Ine=(e,t)=>{const r=Array.isArray(e);let o=oe(r?e:[e],i=>Bne(i));return r?o:o[0]};function Bne(e,t){return e.type===y.TITLE&&e.props.config.push(xt.ShowTitle),e.type===y.GRID_TABLE&&e.props.headers.map(r=>{var n,o,i,u,c,a,l,f,_,p,m,O,b,w,v,$,P,R,S,j,T,G;if(r.type===y.OPERATION_COLUMN){if(r.props.width_type==="auto"?r.props.auto_width={min_width:120,max_width:120,flex:1}:r.props.width_type==="px"&&(r.props.auto_width={min_width:r.props.width,max_width:r.props.width,flex:1}),r.props.width_type="auto",r.children=(n=r==null?void 0:r.children)!=null?n:[],delete r.props.custom,((o=r.props)==null?void 0:o.check)!==void 0){const B=new Sy.Designer;Object.defineProperty(B,"id",{value:"listPageCheckBtnId"}),B.props.code="view",B.props.icon="iconliulan1",B.props.command="view",B.props.content=(i=r.props)==null?void 0:i.check.content,B.props.priorityProcess=(u=r.props)==null?void 0:u.check.priority_process,B.props.openType=(c=r.props)==null?void 0:c.check.open_type,B.props.formKey=(a=r.props)==null?void 0:a.check.form_key,(l=r.props)!=null&&l.check.is_show&&r.children.push(B.toSchema()),(f=r.props)==null||delete f.check}if(((_=r.props)==null?void 0:_.edit)!==void 0){const B=new Sy.Designer;Object.defineProperty(B,"id",{value:"listPageEditBtnId"}),B.props.code="edit",B.props.icon="iconbianji1",B.props.command="edit",B.props.content=(p=r.props)==null?void 0:p.edit.content,B.props.priorityProcess=(m=r.props)==null?void 0:m.edit.priority_process,B.props.openType=(O=r.props)==null?void 0:O.edit.open_type,B.props.formKey=(b=r.props)==null?void 0:b.edit.form_key,(w=r.props)!=null&&w.edit.is_show&&r.children.push(B.toSchema()),(v=r.props)==null||delete v.edit}if((($=r.props)==null?void 0:$.delete)!==void 0){const B=new Sy.Designer;Object.defineProperty(B,"id",{value:"listPageDeleteBtnId"}),B.props.code="delete",B.props.icon="iconlajitong",B.props.command="delete",B.props.content=(P=r.props)==null?void 0:P.delete.content,B.props.priorityProcess=(R=r.props)==null?void 0:R.delete.priority_process,B.props.openType=(S=r.props)==null?void 0:S.delete.open_type,B.props.formKey=(j=r.props)==null?void 0:j.delete.form_key,B.props.needConfirm=!0,B.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",(T=r.props)!=null&&T.delete.is_show&&r.children.push(B.toSchema()),(G=r.props)==null||delete G.delete}}}),[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===y.SUBTABLE&&e.props.headers.forEach(r=>{[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}const Ane=(e,t)=>{const r=Array.isArray(e);let o=oe(r?e:[e],i=>xne(i,t));return r?o:o[0]};function xne(e,t){e.type===y.SUBTABLE&&e.props.headers.map(n=>{var i;n.props.meta_auto_width=new im,n.props.width_type==="px"&&(n.props.meta_auto_width.pc.width=n.props.width,n.props.meta_auto_width.pc.width_type="px"),delete n.props.width,delete n.props.width_type;const o=(i=n.children)==null?void 0:i[0];o&&o.type===y.CALC&&o.props.calc_on_mounted===void 0&&(o.props.calc_on_mounted=!0)});const r={[y.SUBTABLE]:[{key:"page_index",value:1},{key:"page_size",value:10},{key:"page_size_options",value:[10,20,50,100]},{key:"total_count",value:0}],[y.GRID_TABLE]:[{key:"page_index",value:1},{key:"page_size",value:20},{key:"page_size_options",value:[10,20,50,100]},{key:"total_count",value:0},{key:"is_show_selection",value:!1}],[y.LIST_VIEW]:[{key:"selection_type",value:"multiple"},{key:"row_style_type",value:"none"},{key:"is_show_selection",value:!1}],[y.SIMPLE_SEARCH]:[{key:"col-gap",value:24},{key:"child-min-width",value:230}],[y.IMPORT_RECORD_LIST_BUTTON]:[{key:"template-type",value:"system"}]};return e.type in r&&r[e.type].forEach(n=>{e.props[n.key]===void 0&&(e.props[n.key]=n.value)}),e.type===y.GRID_TABLE&&e.props.headers.forEach(n=>{n.type===y.OPERATION_COLUMN&&(n.props.limit===void 0&&(n.props.limit=3),n.props.show_type===void 0&&(n.props.show_type="icon"))}),e.type===y.CALC&&e.props.calc_on_mounted===void 0&&(e.props.calc_on_mounted=!0),kne(t),e}function kne(e){if(!(!e||!e.listeners)){if(Object.keys(e.listeners).forEach(t=>{let r,n,o;e.listeners[t].forEach((i,u)=>{switch(i.event_key||i.eventKey){case"on_click_finish":n=i,o=u;break;case"on_click":r=i;break}}),n&&(n.cases[0].handlers.unshift(Rb()),r?(n.cases.forEach(i=>{r.cases[0].handlers.push(i)}),e.listeners[t].splice(o,1)):n.event_key="on_click")}),!e.listeners.form_submit)e.listeners.form_submit=[{event_key:"on_click",event_param:[],cases:[Dne()]}];else if(e.listeners.form_submit&&e.listeners.form_submit&&e.listeners.form_submit[0]&&e.listeners.form_submit[0].cases&&e.listeners.form_submit[0].cases[0]&&e.listeners.form_submit[0].cases[0].handlers){let t=!1;e.listeners.form_submit[0].cases[0].handlers.forEach(r=>{r.method==="actionOperate"&&(t=!0)}),t||e.listeners.form_submit[0].cases[0].handlers.push(Rb())}}}function Dne(){return{id:"case"+new Date().getTime(),name:"\u9ED8\u8BA4\u60C5\u5F62",match_type:"AND",match_rules:[],handlers:[Rb()]}}function Rb(){return{id:"handler"+new Date().getTime(),method:"actionOperate",params:{control_id:"",opt_type:"",opt_code:"",is_error_continue:!1}}}const Fne=(e,t)=>{const r=Array.isArray(e);let o=oe(r?e:[e],i=>Nne(i,t));return r?o:o[0]};function Nne(e,t){if(e.type===y.LIST_VIEW){if(e.props.is_show_selection===!1){const r=[y.BATCH_SUBMISSION_LIST_BUTTON,y.LIST_PAGE_BTN_BATCH_PRINT,y.BATCH_DELETE_LIST_BUTTON];e.children.forEach(n=>{n.type===y.GRID_TABLE&&n.children.map(u=>u.type).some(u=>r.includes(u))===!0&&(e.props.is_show_selection=!0,n.props.is_show_selection=!0)})}e.props.caption===""&&(e.props.caption=t==null?void 0:t.formName)}return e.type===y.TEXTAREA&&e.props.auto_size===void 0&&(e.props.auto_size=!1),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}var vT={"v1.0":Wte,"v2.0":une,"v2.1":lne,"v2.2":fne,"v2.3":_ne,"v2.4":dne,"v2.5":hne,"v2.6":mne,"v2.7":One,"v2.8":$ne,"v2.9":Rne,"v2.10":Ene,"v3.0":Ine,"v3.1":Ane,"v3.2":Fne,"v3.3":()=>{}};const hT=(e,t)=>{const r=bT(e),n=bT(t),o=r.pop(),i=n.pop(),u=OT(r,n);return u!==0?u:o&&i?OT(o.split("."),i.split(".")):o||i?o?-1:1:0},Jf=(e,t,r)=>{Cne(r);const n=hT(e,t);return wT[r].includes(n)},jne=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,bT=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(jne);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},mT=e=>e==="*"||e==="x"||e==="X",gT=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},Mne=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],Lne=(e,t)=>{if(mT(e)||mT(t))return 0;const[r,n]=Mne(gT(e),gT(t));return r>n?1:r<n?-1:0},OT=(e,t)=>{for(let r=0;r<Math.max(e.length,t.length);r++){const n=Lne(e[r]||"0",t[r]||"0");if(n!==0)return n}return 0},wT={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},$T=Object.keys(wT),Cne=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if($T.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${$T.join("|")}`)};function Sb(e){return e.replace(/^v/,"")}const qr=Object.keys(vT).map(e=>Sb(e)).sort(hT),Po=qr[qr.length-1];class Vne{constructor(t,r=Po){this.schemaVersion=t,this.toVersion=r,Jf(r,Po,">")?Xr(`Version Builder: The specified ${r} is an undefined version, and the current latest version is ${Po}`):(!qr.includes(Sb(r))||!qr.includes(Sb(t)))&&Xr(`Version Builder: Please give me a valid version number, The valid version is: ${qr.join(",")}, But give me a ${t}`)}dataCleaner(t,r){if(Jf(this.toVersion,this.schemaVersion,"="))return t;const n=this.callDataCleanerKeys.reduce((o,i,u,c)=>{var _;const a=(_=c[u+1])!=null?_:this.toVersion;Eo(`Version Builder: current version: ${i}, nextVersion: ${a}`);const l=vT[i];let f=o;if(typeof l=="function"){const p=l(o,r);p&&(f=p)}return f},t);return Eo(`Version Builder: Version conversion completed, evolving from ${this.schemaVersion} to ${this.toVersion}`),n}get runDataCleanerKeys(){return qr.filter(t=>Jf(t,this.schemaVersion,">=")&&Jf(t,this.toVersion,"<"))}get callDataCleanerKeys(){return this.runDataCleanerKeys.map(t=>"v"+t)}get version(){return Po}static get version(){return Po}}An.VersionBuilder=Vne,Object.defineProperty(An,"__esModule",{value:!0})});