@byteluck-fe/model-driven-controls 2.22.1-beta.2 → 2.22.2-beta.0

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.
Files changed (2) hide show
  1. package/dist/index.umd.js +45 -1
  2. package/package.json +5 -5
package/dist/index.umd.js CHANGED
@@ -1 +1,45 @@
1
- var IC=Object.defineProperty,SC=Object.defineProperties;var AC=Object.getOwnPropertyDescriptors;var Ys=Object.getOwnPropertySymbols,RC=Object.getPrototypeOf,TC=Object.prototype.hasOwnProperty,BC=Object.prototype.propertyIsEnumerable,PC=Reflect.get;var ps=(y,j,K)=>j in y?IC(y,j,{enumerable:!0,configurable:!0,writable:!0,value:K}):y[j]=K,ot=(y,j)=>{for(var K in j||(j={}))TC.call(j,K)&&ps(y,K,j[K]);if(Ys)for(var K of Ys(j))BC.call(j,K)&&ps(y,K,j[K]);return y},Nr=(y,j)=>SC(y,AC(j));var Vr=(y,j,K)=>PC(RC(y),K,j);var Hr=(y,j,K)=>new Promise((Eu,Hn)=>{var Iu=_e=>{try{Lt(K.next(_e))}catch(Nt){Hn(Nt)}},Su=_e=>{try{Lt(K.throw(_e))}catch(Nt){Hn(Nt)}},Lt=_e=>_e.done?Eu(_e.value):Promise.resolve(_e.value).then(Iu,Su);Lt((K=K.apply(y,j)).next())});(function(y,j){typeof exports=="object"&&typeof module!="undefined"?j(exports):typeof define=="function"&&define.amd?define(["exports"],j):(y=typeof globalThis!="undefined"?globalThis:y||self,j(y.modelDrivenControls={}))})(this,function(y){"use strict";var j="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",K="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Eu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Hn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Iu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Su="{caption}\u5FC5\u586B",Lt="\u8BF7\u8F93\u5165\u6807\u9898",_e="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Nt="\u8BF7\u8F93\u5165\u884C\u6807\u9898",ed="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",td="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",nd="\u8BF7\u7ED1\u5B9A\u8868\u5355",id="\u8BF7\u7ED1\u5B9A\u5217\u8868",ud="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",ad="\u8BF7\u8F93\u5165\u663E\u793A\u503C",rd="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",ld="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",od="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",cd="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",sd="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",dd="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",fd="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",hd="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",yd="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",vd="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",md="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",gd="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",bd="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",_d="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",wd="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Cd="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Ed="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Id="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Sd="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Ad="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Rd="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Td="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Bd="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Pd="\u8BF7\u9009\u62E9\u7701",xd="\u8BF7\u9009\u62E9\u5E02",Dd="\u8BF7\u9009\u62E9\u533A",Fd="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",kd="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Od="\u8BF7\u8F93\u5165\u5217\u5BBD",Md="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",$d="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Ld="\u8BF7\u9009\u62E9\u63A7\u4EF6",Nd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Vd="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Hd="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",jd="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",qd="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ud="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Wd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Kd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",zd="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Gd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Qd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Xd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Jd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Zd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Yd="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",pd="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",ef="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",tf="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",nf="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",uf="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",af="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",rf="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",lf="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",of="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",cf="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",sf="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",df="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",ff={isNotNumber:j,isNotString:K,isNotObject:Eu,isNotArray:Hn,isNotBoolean:Iu,runtimeRequired:Su,pleaseEnterCaption:Lt,pleaseEnterCaptionTip:_e,pleaseEnterRowCaption:Nt,pleaseEnterPlaceholder:ed,pleaseEnterFieldCode:td,pleaseEnterForm:nd,pleaseEnterList:id,pleaseEnterProcess:ud,pleaseEnterLabel:ad,pleaseEnterValue:rd,bizKeyNotBindFiled:ld,pleaseSelectOneField:od,pleaseEnterNumberRange:cd,pleaseEnterAValueGreaterThanMin:sd,pleaseEnterAValueLessThanMax:dd,numberRangeSetError:fd,stringRangeError:hd,attachmentMaxSize:yd,pleaseEnterTotalScoreSetting:vd,theTotalScoreMustNotBeLessThan1:md,scoreDefaultValueRange:gd,attachmentLimitError:bd,PleaseReselectTheOptionalQuantity:_d,TheMaximumLengthIsGreaterThanTheMinimumLength:wd,TheMinimumLengthIsGreaterThanTheMaximumLength:Cd,PleaseSelectTheCorrectOptionSettings:Ed,optionIdIsRepeat:Id,optionIsRequired:Sd,pleaseEnterDataCode:Ad,pleaseEnterValueFieldCode:Rd,pleaseEnterSvcCode:Td,pleaseBindAtLeastOneDisplayValue:Bd,pleaseSelectProvince:Pd,pleaseSelectCity:xd,pleaseSelectDistrict:Dd,limitRowsCannotBeLessThan0:Fd,TheNumberOfRowsCannotBeLessThanMinRows:kd,pleaseEnterColumnWidth:Od,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Md,pleaseCompleteAllRulesAndConditions:$d,pleaseSelectControl:Ld,pleaseSelectAtLeastOneColumn:Nd,pleaseSelectFillBackMode:Vd,pleaseSelectDashboard:Hd,rootNodeIsRequired:jd,theViewNameCannotBeEmpty:qd,pleaseSelectOcrType:Ud,pleaseSelectAtLeastOneFieldToFillIn:Wd,pleaseChooseAtLeastOne:Kd,pleaseEnterButtonContent:zd,pleaseEnterDataCodeInDataSetting:Gd,pleaseEnterValueFieldCodeInDataSetting:Qd,pleaseEnterSvcCodeInDataSetting:Xd,pleaseBindAtLeastOneDisplayValueInDataSetting:Jd,rootNodeIsRequiredInDataSetting:Zd,pleaseEnterMaxHeight:Yd,pleaseEnter:pd,pleaseEnterWatermark:ef,pleaseEnterFileName:tf,pleaseUploadAtLeastOnePrintTemplate:nf,pleaseAssignBusiness:uf,pleaseAssignExternal:af,pleaseEnterAliasCode:rf,pleaseSelectDataCode:lf,pleaseSelectSvcCode:of,pleaseSelectJoinFieldCode:cf,pleaseSelectMainFieldCode:sf,pleaseSelectSortFieldCode:df},hf="Please enter a number",yf="Please enter a string",vf="Please enter an object",mf="Please enter an array",gf="Please enter a boolean",bf="{caption} Required",_f="Please enter the title",wf="Please enter the bubble prompt",Cf="Please enter the row title",Ef="Please enter the prompt text",If="Please bind data items",Sf="Please bind the form",Af="Please bind the list",Rf="Please bind the process",Tf="Please enter the displayed value",Bf="Please enter the stored value",Pf="The document number is not bound to the data item",xf="Please select at least one display field",Df="Please enter a value greater than or equal to {min} and less than or equal to {max}",Ff="Please enter a value greater than or equal to {min}",kf="Please enter a value less than or equal to {max}",Of="The value range is set incorrectly",Mf="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",$f="The attachment size must be between 0MB and 1000MB",Lf="Please fill in the total score setting",Nf="The total score cannot be less than 1",Vf="The default value must be between {min} and {max}",Hf="The number of attachment uploads exceeds the limit",jf="Please re-select the optional quantity",qf="The maximum length of the control must be greater than the minimum length",Uf="The minimum length of the control must be less than the maximum length",Wf="Please select the correct option setting",Kf="Option ID cannot be repeated",zf="Please enter at least one option",Gf="Please bind the data source",Qf="Please bind the stored value",Xf="Please bind the service",Jf="At least one display value must be bound",Zf="Please select a province",Yf="Please select a city",pf="Please select a district",eh="The minimum number of lines to fill in cannot be less than 0",th="The number of rows cannot be less than {min} rows",nh="Please enter the column width",ih="Please set the logical relationship of all rule conditions",uh="Please complete all rules and conditions",ah="please select control",rh="Please select the dashboard",lh="View name cannot be empty",oh="Please select recognition type",ch="Please select at least one field to fill in",sh="Please select at least one",dh="Please enter the button title",fh="Please bind the business model in the data settings",hh="Please bind storage values in data settings",yh="Please bind the service in the data settings",vh="Please bind at least one display value in the data settings",mh="Please select the root node in the data settings",gh="Please enter the maximum height",bh="The input content cannot be empty",_h="Watermark cannot be empty",wh="File name cannot be empty",Ch="Please upload at least one printing template!\uFF01",Eh="Please select a specific business department",Ih="Please select a specified external organization",Sh="Please enter a sub table alias",Ah="Please select the associated table to set the business model",Rh="Please select the association table to set the binding service",Th="Select associated sub table fields",Bh="Please select the associated main table field",Ph="Please select the sort field",xh={isNotNumber:hf,isNotString:yf,isNotObject:vf,isNotArray:mf,isNotBoolean:gf,runtimeRequired:bf,pleaseEnterCaption:_f,pleaseEnterCaptionTip:wf,pleaseEnterRowCaption:Cf,pleaseEnterPlaceholder:Ef,pleaseEnterFieldCode:If,pleaseEnterForm:Sf,pleaseEnterList:Af,pleaseEnterProcess:Rf,pleaseEnterLabel:Tf,pleaseEnterValue:Bf,bizKeyNotBindFiled:Pf,pleaseSelectOneField:xf,pleaseEnterNumberRange:Df,pleaseEnterAValueGreaterThanMin:Ff,pleaseEnterAValueLessThanMax:kf,numberRangeSetError:Of,stringRangeError:Mf,attachmentMaxSize:$f,pleaseEnterTotalScoreSetting:Lf,theTotalScoreMustNotBeLessThan1:Nf,scoreDefaultValueRange:Vf,attachmentLimitError:Hf,PleaseReselectTheOptionalQuantity:jf,TheMaximumLengthIsGreaterThanTheMinimumLength:qf,TheMinimumLengthIsGreaterThanTheMaximumLength:Uf,PleaseSelectTheCorrectOptionSettings:Wf,optionIdIsRepeat:Kf,optionIsRequired:zf,pleaseEnterDataCode:Gf,pleaseEnterValueFieldCode:Qf,pleaseEnterSvcCode:Xf,pleaseBindAtLeastOneDisplayValue:Jf,pleaseSelectProvince:Zf,pleaseSelectCity:Yf,pleaseSelectDistrict:pf,limitRowsCannotBeLessThan0:eh,TheNumberOfRowsCannotBeLessThanMinRows:th,pleaseEnterColumnWidth:nh,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ih,pleaseCompleteAllRulesAndConditions:uh,pleaseSelectControl:ah,pleaseSelectDashboard:rh,theViewNameCannotBeEmpty:lh,pleaseSelectOcrType:oh,pleaseSelectAtLeastOneFieldToFillIn:ch,pleaseChooseAtLeastOne:sh,pleaseEnterButtonContent:dh,pleaseEnterDataCodeInDataSetting:fh,pleaseEnterValueFieldCodeInDataSetting:hh,pleaseEnterSvcCodeInDataSetting:yh,pleaseBindAtLeastOneDisplayValueInDataSetting:vh,rootNodeIsRequiredInDataSetting:mh,pleaseEnterMaxHeight:gh,pleaseEnter:bh,pleaseEnterWatermark:_h,pleaseEnterFileName:wh,pleaseUploadAtLeastOnePrintTemplate:Ch,pleaseAssignBusiness:Eh,pleaseAssignExternal:Ih,pleaseEnterAliasCode:Sh,pleaseSelectDataCode:Ah,pleaseSelectSvcCode:Rh,pleaseSelectJoinFieldCode:Th,pleaseSelectMainFieldCode:Bh,pleaseSelectSortFieldCode:Ph},Dh="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Fh="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",kh="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Oh="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Mh="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$h="{caption}\u5FC5\u9808",Lh="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Nh="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Vh="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Hh="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jh="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",qh="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Uh="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Wh="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Kh="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",zh="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Gh="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Qh="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Xh="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Jh="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Zh="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Yh="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",ph="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ey="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",ty="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ny="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",iy="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",uy="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",ay="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ry="\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",ly="\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",oy="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",cy="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",sy="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",dy="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",fy="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",hy="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",yy="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",vy="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",my="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",gy="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",by="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",_y="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",wy="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Cy="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ey="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Iy="please select control",Sy="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ay="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ry="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ty="\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",By="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Py="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",xy="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Dy="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Fy="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",ky="\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",Oy="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",My="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",$y="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ly="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ny="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Vy="\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",Hy="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",jy="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",qy="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Uy="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",Wy="\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",Ky="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",zy="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Gy="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Qy={isNotNumber:Dh,isNotString:Fh,isNotObject:kh,isNotArray:Oh,isNotBoolean:Mh,runtimeRequired:$h,pleaseEnterCaption:Lh,pleaseEnterCaptionTip:Nh,pleaseEnterRowCaption:Vh,pleaseEnterPlaceholder:Hh,pleaseEnterFieldCode:jh,pleaseEnterForm:qh,pleaseEnterList:Uh,pleaseEnterProcess:Wh,pleaseEnterLabel:Kh,pleaseEnterValue:zh,bizKeyNotBindFiled:Gh,pleaseSelectOneField:Qh,pleaseEnterNumberRange:Xh,pleaseEnterAValueGreaterThanMin:Jh,pleaseEnterAValueLessThanMax:Zh,numberRangeSetError:Yh,stringRangeError:ph,attachmentMaxSize:ey,pleaseEnterTotalScoreSetting:ty,theTotalScoreMustNotBeLessThan1:ny,scoreDefaultValueRange:iy,attachmentLimitError:uy,PleaseReselectTheOptionalQuantity:ay,TheMaximumLengthIsGreaterThanTheMinimumLength:ry,TheMinimumLengthIsGreaterThanTheMaximumLength:ly,PleaseSelectTheCorrectOptionSettings:oy,optionIdIsRepeat:cy,optionIsRequired:sy,pleaseEnterDataCode:dy,pleaseEnterValueFieldCode:fy,pleaseEnterSvcCode:hy,pleaseBindAtLeastOneDisplayValue:yy,pleaseSelectProvince:vy,pleaseSelectCity:my,pleaseSelectDistrict:gy,limitRowsCannotBeLessThan0:by,TheNumberOfRowsCannotBeLessThanMinRows:_y,pleaseEnterColumnWidth:wy,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Cy,pleaseCompleteAllRulesAndConditions:Ey,pleaseSelectControl:Iy,pleaseSelectDashboard:Sy,theViewNameCannotBeEmpty:Ay,pleaseSelectOcrType:Ry,pleaseSelectAtLeastOneFieldToFillIn:Ty,pleaseChooseAtLeastOne:By,pleaseEnterButtonContent:Py,pleaseEnterDataCodeInDataSetting:xy,pleaseEnterValueFieldCodeInDataSetting:Dy,pleaseEnterSvcCodeInDataSetting:Fy,pleaseBindAtLeastOneDisplayValueInDataSetting:ky,rootNodeIsRequiredInDataSetting:Oy,pleaseEnterMaxHeight:My,pleaseEnter:$y,pleaseEnterWatermark:Ly,pleaseEnterFileName:Ny,pleaseUploadAtLeastOnePrintTemplate:Vy,pleaseAssignBusiness:Hy,pleaseAssignExternal:jy,pleaseEnterAliasCode:qy,pleaseSelectDataCode:Uy,pleaseSelectSvcCode:Wy,pleaseSelectJoinFieldCode:Ky,pleaseSelectMainFieldCode:zy,pleaseSelectSortFieldCode:Gy},Xy={zhCN:ff,enUS:xh,jaJP:Qy},jr;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(jr||(jr={}));var qr;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(qr||(qr={}));var Jy="zh-CN",ct;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(ct||(ct={}));var Ur;(function(t){t[t.FORM=0]="FORM",t[t.LIST=1]="LIST",t[t.REPORT=2]="REPORT",t[t.DASHBOARD=3]="DASHBOARD",t[t.VUE=4]="VUE",t[t.FREE_PAGE=5]="FREE_PAGE"})(Ur||(Ur={}));var A;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.OPERATION_BUTTON="operation-button",t.EMPLOYEE_COLUMN="employee-column",t.Approval_Status_Column="approval-status-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.GRID_LAYOUT_CONTAINER="grid-layout-container",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.ACTION_BAR="action-bar",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2",t.GRID_LAYOUT_WRAP="grid-layout-wrap",t.VUE_PAGE="vue-page"})(A||(A={}));var Wr;(function(t){t.SAVE="save",t.DRAFT="draft",t.UNSUBMIT="unsubmit",t.AUDIT="audit",t.UNAUDIT="unaudit",t.CANCEL="cancel",t.FORM_SUBMIT="form_submit"})(Wr||(Wr={}));var b;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.LIST="list",t.JSON="json",t.ANY="ANY"})(b||(b={}));var Be;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime"})(Be||(Be={}));var Kr={DEFAULT:"default"},zr="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Zy=zr+"0123456789";function ye(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?zr:Zy,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function Au(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Yy(t){if(Array.isArray(t))return Au(t)}function py(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Gr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jn(t,e,n){return Jr()?jn=Reflect.construct:jn=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&Ht(o,r.prototype),o},jn.apply(null,arguments)}function Vt(t){return Vt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vt(t)}function Qr(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ht(t,e)}function ev(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function tv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function nv(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function iv(t,e){return e&&(uv(e)==="object"||typeof e=="function")?e:py(t)}function Ht(t,e){return Ht=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ht(t,e)}function Xr(t){return Yy(t)||tv(t)||av(t)||nv()}function uv(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function av(t,e){if(!!t){if(typeof t=="string")return Au(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Au(t,e)}}function Ru(t){var e=typeof Map=="function"?new Map:void 0;return Ru=function(i){if(i===null||!ev(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return jn(i,arguments,Vt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Ht(u,i)},Ru(t)}function Jr(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Zr(t){var e=Jr();return function(){var i=Vt(t),u;if(e){var a=Vt(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return iv(this,u)}}var Tu=console;function Bu(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,u=e.slice(1);(i=Tu).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(Xr(u)))}function Yr(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,u=e.slice(1);(i=Tu).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(Xr(u)))}function rv(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Pu=function(t){Qr(n,t);var e=Zr(n);function n(i){Gr(this,n);var u;return u=e.call(this,i),u.name="\u{1F4A5} Driven Error",u.message=i?rv(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(Ru(Error)),lv=function(t){Qr(n,t);var e=Zr(n);function n(i){Gr(this,n);var u;return u=e.call(this,i),u.name="\u{1F6A8} Driven Reference Error",u}return n}(Pu);function jt(t){throw new Pu(t)}function pr(t){throw new lv(t)}function ov(t){Tu.error(new Pu(t))}var cv=Object.prototype.toString;function el(t,e){return cv.call(t)==="[object "+e+"]"}function sv(t){return el(t,"String")}function dv(t){return el(t,"Promise")}var fv=function(){function t(e){var n,i;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((i=(n=e.messages)!==null&&n!==void 0?n:this.getPreImport(e.locale))!==null&&i!==void 0?i:{}),e.variableRegExp&&(this.variableRegExp=e.variableRegExp),this.setLocale(e.locale)}return t.prototype.setLocale=function(e){var n=this;this.locale=e,this._messageCache.clear();var i=this.getMessageData();dv(i)?i.then(function(u){n._messageCache.clear(),n.messages[n.localeInMessageKey]=u}):this.messages[this.localeInMessageKey]=i},t.prototype.getMessageData=function(){var e=this._messages[this.localeInMessageKey];return typeof e=="function"?e():e},t.prototype.translate=function(e,n,i){var u=this.getMessage(e);return u?this.formatMessage(u,i):this.formatMessage(n,i)},t.prototype.getMessage=function(e){if(this._messageCache.has(e))return this._messageCache.get(e);var n=this.getPathArray(e),i=n.reduce(function(u,a,r,l){if(u!==void 0){var c=u[a];if(!(r===l.length-1&&!sv(c)))return c}},this.message);return this._messageCache.set(e,i),i},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(i,u){var a=n[u];return a!==void 0?String(a):i}):e},t.prototype.getPreImport=function(e){var n;if(window.okI18nPreImport){var i=this.getLocaleInMessageKey(e);return window.okI18nPreImport.hasOwnProperty(i)?window.okI18nPreImport:(n={},n[i]=window.okI18nPreImport,n)}},t.prototype.getPathArray=function(e){return e.split(".")},t.prototype.getLocaleInMessageKey=function(e){return e.replace(/-/g,"")},Object.defineProperty(t.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){var e;return(e=this.messages[this.localeInMessageKey])!==null&&e!==void 0?e:{}},enumerable:!1,configurable:!0}),t}();function hv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function tl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function yv(t,e,n){return e&&tl(t.prototype,e),n&&tl(t,n),t}function vv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var h=function(){function t(){hv(this,t)}return yv(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",i)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Jy;return new fv({locale:n,messages:Xy})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();vv(h,"$i18n",h.resetI18n());function mv(t,e,n){var i=e.replace(/\[(\d)]/g,function(a,r){return"."+r}).split("."),u=!1;return i.reduce(function(a,r,l,c){var o=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,r)){Bu("Can not set ".concat(e,"'s ").concat(r," property in current %o, Because there is no ").concat(r," property on the %o"),a,a);return}return l===c.length-1&&!Object.is(o[r],n)&&(o[r]=n,u=!0),o[r]}},t),u}var gv=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},bv={exports:{}};(function(t){(function(e){var n=function(m,C,T){if(!o(C)||v(C)||g(C)||_(C)||c(C))return C;var D,k=0,oe=0;if(d(C))for(D=[],oe=C.length;k<oe;k++)D.push(n(m,C[k],T));else{D={};for(var M in C)Object.prototype.hasOwnProperty.call(C,M)&&(D[m(M,T)]=n(m,C[M],T))}return D},i=function(m,C){C=C||{};var T=C.separator||"_",D=C.split||/(?=[A-Z])/;return m.split(D).join(T)},u=function(m){return E(m)?m:(m=m.replace(/[\-_\s]+(.)?/g,function(C,T){return T?T.toUpperCase():""}),m.substr(0,1).toLowerCase()+m.substr(1))},a=function(m){var C=u(m);return C.substr(0,1).toUpperCase()+C.substr(1)},r=function(m,C){return i(m,C).toLowerCase()},l=Object.prototype.toString,c=function(m){return typeof m=="function"},o=function(m){return m===Object(m)},d=function(m){return l.call(m)=="[object Array]"},v=function(m){return l.call(m)=="[object Date]"},g=function(m){return l.call(m)=="[object RegExp]"},_=function(m){return l.call(m)=="[object Boolean]"},E=function(m){return m=m-0,m===m},w=function(m,C){var T=C&&"process"in C?C.process:C;return typeof T!="function"?m:function(D,k){return T(D,m,k)}},S={camelize:u,decamelize:r,pascalize:a,depascalize:r,camelizeKeys:function(m,C){return n(w(u,C),m)},decamelizeKeys:function(m,C){return n(w(r,C),m,C)},pascalizeKeys:function(m,C){return n(w(a,C),m)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=S:e.humps=S})(gv)})(bv);var nl={};Object.defineProperty(nl,"__esModule",{value:!0});function xu(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:xu(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:xu(i)}return e}}var _v=nl.default=xu;function wv(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function se(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":wv(t))==="object"?_v(t):t}function Cv(t){return Object.prototype.toString.call(t)==="[object Object]"}function Du(t){return Array.isArray(t)}function Ev(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Fu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Iv(t){if(Array.isArray(t))return Fu(t)}function il(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function Sv(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){il(a,i,u,r,l,"next",c)}function l(c){il(a,i,u,r,l,"throw",c)}r(void 0)})}}function Av(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ul(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Rv(t,e,n){return e&&ul(t.prototype,e),n&&ul(t,n),t}function al(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Tv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Bv(){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 ku(t){return Iv(t)||Tv(t)||Pv(t)||Bv()}function Pv(t,e){if(!!t){if(typeof t=="string")return Fu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Fu(t,e)}}function xv(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return c([o,d])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var Dv=function(){function t(){Av(this,t),al(this,"_events",new Map),al(this,"debug",!1)}return Rv(t,[{key:"emit",value:function(n){for(var i=arguments.length,u=new Array(i>1?i-1:0),a=1;a<i;a++)u[a-1]=arguments[a];var r=this;return Sv(function(){var l,c,o,d,v,g,_,E,w,S,m,C;return xv(this,function(T){switch(T.label){case 0:if(l=r._events.get(n),c=[],!l)return[3,10];o=l.slice(),d=!0,v=!1,g=void 0,T.label=1;case 1:T.trys.push([1,8,9,10]),_=o[Symbol.iterator](),T.label=2;case 2:if(d=(E=_.next()).done)return[3,7];if(w=E.value,!l.includes(w))return[3,6];T.label=3;case 3:return T.trys.push([3,5,,6]),r.debug&&Yr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(w.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+w.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(ku(u))),[4,w.apply(null,ku(u))];case 4:return S=T.sent(),r.debug&&Yr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(w.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+w.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(ku(u),[S])),c.push(S),S===!1?[3,7]:[3,6];case 5:return m=T.sent(),ov(String(m)+":"+String(m.stack)),[3,6];case 6:return d=!0,[3,2];case 7:return[3,10];case 8:return C=T.sent(),v=!0,g=C,[3,10];case 9:try{!d&&_.return!=null&&_.return()}finally{if(v)throw g}return[7];case 10:return[2,c]}})})()}},{key:"on",value:function(n,i){if(this._events.has(n)){var u;(u=this._events.get(n))===null||u===void 0||u.push(i)}else this._events.set(n,[i])}},{key:"off",value:function(n,i){if(this._events.has(n)){var u=this._events.get(n),a=u==null?void 0:u.indexOf(i);u==null||u.splice(a,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function Fv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function kv(t,e,n){return e&&rl(t.prototype,e),n&&rl(t,n),t}function Ov(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Mv=[{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"}],$v=function(){function t(){Fv(this,t)}return kv(t,null,[{key:"getEventsFromKeys",value:function(n){var i=typeof n=="string"?[n]:n;return t.events.filter(function(u){return i.includes(u.key)})}},{key:"getEventsFromControl",value:function(n){var i=[],u=n.eventKeys;i=i.concat(t.events.filter(function(r){return u.includes(r.key)}));var a=n.customEvents.map(function(r){var l=r.key;return r.namespace!==void 0&&r.namespace!==null&&r.namespace!==""&&(l=r.namespace+":"+r.key),{key:l,code:r.key,name:r.name}});return i=i.concat(a),i}}]),t}();Ov($v,"events",Mv);function Ou(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Lv(t){if(Array.isArray(t))return Ou(t)}function Nv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Vv(){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 ll(t){return Lv(t)||Nv(t)||Hv(t)||Vv()}function Hv(t,e){if(!!t){if(typeof t=="string")return Ou(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ou(t,e)}}function Mu(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function ol(t,e,n){n!=="Runtime"&&(t.parent=e,Mu(t,"parent"))}function jv(t,e,n){t.forEach(function(i){ol(i,e,n)})}var cl=Symbol("targetKey");function sl(t){var e;return(e=t[cl])!==null&&e!==void 0?e:t}function dl(t,e,n){return jv(t,e,n),new Proxy(t,{get:function(u,a){for(var r=arguments.length,l=new Array(r>2?r-2:0),c=2;c<r;c++)l[c-2]=arguments[c];var o;return a===cl?u:(o=Reflect).get.apply(o,[u,a].concat(ll(l)))},set:function(u,a,r){for(var l=arguments.length,c=new Array(l>3?l-3:0),o=3;o<l;o++)c[o-3]=arguments[o];var d;if(Du(t)&&a==="length"&&r===t.length)return!0;var v=(d=Reflect).set.apply(d,[u,a,r].concat(ll(c)));return Cv(r)&&ol(r,e,n),v}})}function ve(t,e,n,i,u){var a=i!=null?i:t,r=dl(sl(n!=null?n:[]),a,u);Object.defineProperty(t,e,{get:function(){return r},set:function(c){r=dl(sl(c),a,u)},enumerable:!0})}function qv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Uv(t,e,n){return e&&fl(t.prototype,e),n&&fl(t,n),t}function Pe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var hl=[],qn=function(){function t(e){qv(this,t),Pe(this,"registeredControlTypes",new Set),Pe(this,"controlConfigMap",new Map),Pe(this,"_controls",[]),Pe(this,"_type",void 0),this._type=e,this._initControls(e)}return Uv(t,[{key:"registerControlConfig",value:function(n,i){return this.controlConfigMap.set(n,i),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||jt("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(Bu("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(i,1)),this.registeredControlTypes.add(n.controlType),this._controls.push(n),this}},{key:"isLayoutControl",value:function(n){return n.controlType===ct.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===ct.FORM}},{key:"isListControl",value:function(n){return n.controlType===ct.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===ct.COLUMN}},{key:"createControl",value:function(n,i){var u=this;if(Array.isArray(n))return n.map(function(d){return u.createControl(d,i)});if(n.children&&(n.children=n.children.map(function(d){return u.createControl(d,i)})),this.isListControl(n)){var a=n.props;a.headers&&(a.headers=a.headers.map(function(d){return u.createControl(d,i)}))}var r=this.getControlFormType(n.type);if(r){var l=n;if(typeof i=="function"){var c=i(l);c&&(l=c)}var o;return r.mode==="Runtime"?(o=l,o.fieldType=r.controlFieldType,this._setParentPrototypeToSchema(o,this)):o=new r(l),o}else jt("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(n,i){delete n.parent,Object.defineProperty(n,"parent",{configurable:!0,get:function(){return i}}),Mu(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,i){i._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var a=n.id,r=i._controlParentIdMap,l=i.instanceMap;if(!(!r||!l)){var c=r[a],o=l[a];if(!(!c&&!o)){var d=o.findIndex(function(_){return _==n}),v=l[c]||[],g;return v.length!==o.length?g=v[0]:g=v[d],g}}}}),Mu(n,"parent"))}},{key:"createControlInstance",value:function(n,i){var u=this.getControlFormType(n);if(u)return new u(i)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(i){return i.controlType===n})}},{key:"_initControls",value:function(n){var i=this;this.constructor.staticControls.forEach(function(u){i.register(u[n]),t.staticControlsRuntimeRules.set(u.Runtime.controlType,u.Property.RuntimeRules),u.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,i){var u=t.staticControlsRuntimeRules.get(n),a=[];if(u){var r=new u(i);a=Array.from(r)}return a}},{key:"register",value:function(n,i){var u=n.Designer,a=n.Runtime,r=n.Property;(!u||!a||!u.__is_control__||!a.__is_control__)&&jt("".concat(n," is can't register as a Control"));var l=this.staticControls.findIndex(function(c){return c.Designer.controlType===u.controlType});return l>-1&&(Bu("The ".concat(u.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(l,1)),this.staticRegisteredTypes.add(u.controlType),this.staticControls.push(n),r.mode=i,this}}]),t}();Pe(qn,"staticControlsRuntimeRules",new Map),Pe(qn,"staticControls",hl),Pe(qn,"staticRegisteredTypes",new Set(hl.map(function(t){return t.Designer.controlType}))),Pe(qn,"staticRegisteredConfigs",new Map);function $(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function I(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Un(t){return Un=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Un(t)}function de(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$u(t,e)}function Wv(t,e){return e&&(Kv(e)==="object"||typeof e=="function")?e:$(t)}function $u(t,e){return $u=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},$u(t,e)}function Kv(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}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(t){return!1}}function fe(t){var e=zv();return function(){var i=Un(t),u;if(e){var a=Un(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Wv(this,u)}}var me=function t(e){I(this,t),f(this,"dataCode",void 0),f(this,"fieldCode",void 0),f(this,"fieldType",void 0),f(this,"aliasCode",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"",this.aliasCode=e==null?void 0:e.aliasCode},yl=function t(e){I(this,t),f(this,"minWidth",void 0),f(this,"maxWidth",void 0),f(this,"flex",void 0);var n;this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth;var i;this.flex=(i=e==null?void 0:e.flex)!==null&&i!==void 0?i:1},vl=function t(e){I(this,t),f(this,"rowHeightType",void 0),f(this,"minRows",void 0),f(this,"maxRows",void 0),f(this,"fiexdRow",void 0);var n;this.rowHeightType=(n=e==null?void 0:e.rowHeightType)!==null&&n!==void 0?n:"fixed";var i;this.minRows=(i=e==null?void 0:e.minRows)!==null&&i!==void 0?i:4;var u;this.maxRows=(u=e==null?void 0:e.maxRows)!==null&&u!==void 0?u:20;var a;this.fiexdRow=(a=e==null?void 0:e.fiexdRow)!==null&&a!==void 0?a:4},Gv=function t(e){I(this,t),f(this,"pc",void 0),f(this,"mobile",void 0),this.pc=new vl(e==null?void 0:e.pc),this.mobile=new vl(e==null?void 0:e.mobile)},Lu=function(t){de(n,t);var e=fe(n);function n(i){I(this,n);var u;u=e.call(this,i),f($(u),"width",void 0),f($(u),"widthType",void 0);var a;u.width=(a=i==null?void 0:i.width)!==null&&a!==void 0?a:240;var r;return u.widthType=(r=i==null?void 0:i.widthType)!==null&&r!==void 0?r:"auto",u}return n}(yl),Qv=function t(e){I(this,t),f(this,"pc",void 0),f(this,"mobile",void 0),this.pc=new Lu(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new Lu(e==null?void 0:e.mobile):new Lu({width:130,minWidth:180})},Xv=function t(e){I(this,t),f(this,"type",void 0),f(this,"customOptions",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree";var i;this.customOptions=(i=e==null?void 0:e.customOptions)!==null&&i!==void 0?i:[]},st=function t(e){I(this,t),f(this,"dataCode",void 0),f(this,"formKey",void 0),f(this,"appId",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:""},Jv=function(t){de(n,t);var e=fe(n);function n(i){I(this,n);var u;u=e.call(this,i),f($(u),"primaryControlId",void 0);var a;return u.primaryControlId=(a=i==null?void 0:i.primaryControlId)!==null&&a!==void 0?a:"",u}return n}(st),ml=function t(e){I(this,t),f(this,"fieldCode",void 0),f(this,"dataCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"";var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:""},Nu=function t(e){I(this,t);var n;f(this,"appId",void 0),f(this,"formKey",void 0),f(this,"headers",void 0);var i;this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(r){return new ml(r)}))!==null&&a!==void 0?a:[]},Zv=function t(e){I(this,t),f(this,"fieldName",void 0),f(this,"fieldCode",void 0),f(this,"fieldType",void 0);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:b.VARCHAR},Yv=function(t){de(n,t);var e=fe(n);function n(i){I(this,n);var u;u=e.call(this,i),f($(u),"title",void 0),f($(u),"svcCode",void 0),f($(u),"isOpenFilter",void 0),f($(u),"filters",void 0);var a;u.title=(a=i==null?void 0:i.title)!==null&&a!==void 0?a:"";var r;u.svcCode=(r=i==null?void 0:i.svcCode)!==null&&r!==void 0?r:"";var l;u.isOpenFilter=(l=i==null?void 0:i.isOpenFilter)!==null&&l!==void 0?l:!1;var c;return u.filters=(c=i==null?void 0:i.filters)!==null&&c!==void 0?c:[],u}return n}(st),pv=function t(e){I(this,t);var n,i;f(this,"type","sublist-page"),f(this,"formBind",void 0),f(this,"displayFields",void 0),f(this,"sublists",void 0),this.formBind=new st(e==null?void 0:e.formBind);var u;this.displayFields=(u=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(r){return new Zv(r)}))!==null&&u!==void 0?u:[];var a;this.sublists=(a=e==null||(i=e.sublists)===null||i===void 0?void 0:i.map(function(r){return new Yv(r)}))!==null&&a!==void 0?a:[]},em=function t(e){I(this,t),f(this,"type",void 0),f(this,"value",void 0),f(this,"dataCode",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value,this.dataCode=e==null?void 0:e.dataCode},qt=function t(e){I(this,t),f(this,"type",void 0),f(this,"value",void 0),f(this,"displayBos",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:[];var u;this.displayBos=(u=e==null?void 0:e.displayBos)!==null&&u!==void 0?u:[]},Vu=function t(e){var n=this;I(this,t),f(this,"id",void 0),f(this,"ruleId",void 0),f(this,"type","conditions"),f(this,"level",void 0),f(this,"value",void 0),f(this,"children",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:ye();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.level=(a=e==null?void 0:e.level)!==null&&a!==void 0?a:0;var r;this.value=(r=e==null?void 0:e.value)!==null&&r!==void 0?r:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(l){if(l.children!==void 0){var c,o=new t(l);(c=n.children)===null||c===void 0||c.push(o)}else{var d,v=new Wn(l);(d=n.children)===null||d===void 0||d.push(v)}}))},Wn=function t(e){I(this,t),f(this,"id",void 0),f(this,"ruleId",void 0),f(this,"type","condition"),f(this,"symbol",void 0),f(this,"checked",void 0),f(this,"describe",void 0),f(this,"leftVariableBo",void 0),f(this,"rightVariableBo",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:ye();var i;this.ruleId=(i=e==null?void 0:e.ruleId)!==null&&i!==void 0?i:new Date().valueOf();var u;this.symbol=(u=e==null?void 0:e.symbol)!==null&&u!==void 0?u:"";var a;this.checked=(a=e==null?void 0:e.checked)!==null&&a!==void 0?a:!1;var r;this.describe=(r=e==null?void 0:e.describe)!==null&&r!==void 0?r:"",this.leftVariableBo=new em(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new qt(e==null?void 0:e.rightVariableBo)},tm=function t(e){I(this,t),f(this,"aliasCode",void 0),f(this,"datasourceBind",void 0),f(this,"relationFields",void 0);var n;this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new te(e==null?void 0:e.datasourceBind);var i;this.relationFields=(i=e==null?void 0:e.relationFields)!==null&&i!==void 0?i:[]},ue=function t(e){I(this,t),f(this,"controlId",void 0),f(this,"fieldCode",void 0),f(this,"fieldType",void 0),f(this,"propName",void 0);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"";var a;this.propName=(a=e==null?void 0:e.propName)!==null&&a!==void 0?a:""},Hu=function t(e){I(this,t),f(this,"type",void 0),f(this,"value",void 0),f(this,"fieldType",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:"",this.fieldType=e==null?void 0:e.fieldType},nm=function t(e){I(this,t),f(this,"columnName",void 0),f(this,"desc",void 0);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var i;this.desc=(i=e.desc)!==null&&i!==void 0?i:!1};function ju(t){var e,n,i,u;this.filters=(u=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(l){return l.children!==void 0?new Vu(l):new Wn(l)}))!==null&&u!==void 0?u:[];var a;this.viewFilters=(a=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(l){return l.children!==void 0?new Vu(l):new Wn(l)}))!==null&&a!==void 0?a:[];var r;this.orders=(r=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(l){return new nm(l)}))!==null&&r!==void 0?r:[]}var te=function t(e){var n=this;I(this,t),f(this,"dataCode",void 0),f(this,"valueFieldCode",void 0),f(this,"displayBoList",void 0),f(this,"keywordMapping",void 0),f(this,"svcCode",void 0),f(this,"appId",void 0),f(this,"filters",void 0),f(this,"viewFilters",void 0),f(this,"isOpenViewFilters",void 0),f(this,"orders",void 0),f(this,"showOrder",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.valueFieldCode=(a=e==null?void 0:e.valueFieldCode)!==null&&a!==void 0?a:"",this.displayBoList=[];var r;this.isOpenViewFilters=(r=e==null?void 0:e.isOpenViewFilters)!==null&&r!==void 0?r:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(d){var v;(v=n.displayBoList)===null||v===void 0||v.push(new Hu(d))}));var l;this.keywordMapping=(l=e==null?void 0:e.keywordMapping)!==null&&l!==void 0?l:"";var c;this.showOrder=(c=e==null?void 0:e.showOrder)!==null&&c!==void 0?c:!0;var o;this.svcCode=(o=e==null?void 0:e.svcCode)!==null&&o!==void 0?o:"",ju.call(this,e)},qu=function t(e){I(this,t),f(this,"dataCode",void 0),f(this,"displayBoList",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.displayBoList=(i=e==null?void 0:e.displayBoList)!==null&&i!==void 0?i:[]},we=function t(e){I(this,t),f(this,"code",void 0),f(this,"color",void 0),f(this,"command",void 0),f(this,"confirmMessage",void 0),f(this,"defaultState",void 0),f(this,"formKey",void 0),f(this,"formType",void 0),f(this,"icon",void 0),f(this,"needConfirm",void 0),f(this,"openType",void 0),f(this,"priorityProcess",void 0);var n;this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view";var i;this.color=(i=e==null?void 0:e.color)!==null&&i!==void 0?i:"primary";var u;this.command=(u=e==null?void 0:e.command)!==null&&u!==void 0?u:"view";var a;this.confirmMessage=(a=e==null?void 0:e.confirmMessage)!==null&&a!==void 0?a:void 0;var r;this.defaultState=(r=e==null?void 0:e.defaultState)!==null&&r!==void 0?r:"default";var l;this.formKey=(l=e==null?void 0:e.formKey)!==null&&l!==void 0?l:void 0,this.formType=e==null?void 0:e.formType;var c;this.icon=(c=e==null?void 0:e.icon)!==null&&c!==void 0?c:"iconliulan1";var o;this.needConfirm=(o=e==null?void 0:e.needConfirm)!==null&&o!==void 0?o:!1;var d;this.openType=(d=e==null?void 0:e.openType)!==null&&d!==void 0?d:"modal";var v;this.priorityProcess=(v=e==null?void 0:e.priorityProcess)!==null&&v!==void 0?v:!0},gl=function t(e){I(this,t);var n;f(this,"name",void 0),f(this,"key",void 0),f(this,"value",void 0);var i;this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"";var u;this.key=(u=e==null?void 0:e.key)!==null&&u!==void 0?u:"";var a;this.value=(a=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(r){return new Hu(r)}))!==null&&a!==void 0?a:[]},Kn=function(t){de(n,t);var e=fe(n);function n(i){I(this,n);var u,a;u=e.call(this,i),f($(u),"attributes",void 0);var r;return u.attributes=(r=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(l){return new gl(l)}))!==null&&r!==void 0?r:[],u}return n}(te),im=function(t){de(n,t);var e=fe(n);function n(i){I(this,n);var u,a;u=e.call(this,i),f($(u),"attributes",void 0),f($(u),"formCode",void 0);var r;u.attributes=(r=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(c){return new gl(c)}))!==null&&r!==void 0?r:[];var l;return u.formCode=(l=i==null?void 0:i.formCode)!==null&&l!==void 0?l:"",u}return n}(te),bl=function(t){de(n,t);var e=fe(n);function n(i){I(this,n);var u;u=e.call(this,i),f($(u),"rootNode",void 0),f($(u),"filterCode",void 0),u.rootNode=new qt(i==null?void 0:i.rootNode);var a;return u.filterCode=(a=i==null?void 0:i.filterCode)!==null&&a!==void 0?a:"",u}return n}(Kn),_l=function t(e){I(this,t);var n;f(this,"dataCode",void 0),f(this,"appId",void 0),f(this,"fillList",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.fillList=(a=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(r){return new ue(r)}))!==null&&a!==void 0?a:[]},wl=function(t){de(n,t);var e=fe(n);function n(i){I(this,n);var u;return u=e.call(this,i),f($(u),"filters",void 0),f($(u),"viewFilters",void 0),f($(u),"orders",void 0),ju.call($(u),i),u}return n}(_l),Cl=function(t){de(n,t);var e=fe(n);function n(i){I(this,n);var u;u=e.call(this,i),f($(u),"mode",void 0),f($(u),"multiple",void 0);var a;u.mode=(a=i==null?void 0:i.mode)!==null&&a!==void 0?a:"current";var r;return u.multiple=(r=i==null?void 0:i.multiple)!==null&&r!==void 0?r:!1,u}return n}(_l),El=function t(e){I(this,t),f(this,"stencilName",void 0),f(this,"expression",void 0),f(this,"errMessage",void 0);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var i;this.expression=(i=e==null?void 0:e.expression)!==null&&i!==void 0?i:"";var u;this.errMessage=(u=e==null?void 0:e.errMessage)!==null&&u!==void 0?u:""},um=function t(e){I(this,t),f(this,"id",void 0),f(this,"label",void 0),f(this,"value",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:ye(8);var i;this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:this.label};function Ce(t){var e;return(e=t==null?void 0:t.map(function(n){return new um(n)}))!==null&&e!==void 0?e:[]}var Uu=function t(){I(this,t)},am=function(t){de(n,t);var e=fe(n);function n(i){I(this,n);var u;return u=e.call(this),f($(u),"amount",void 0),f($(u),"currency",void 0),u.amount=new me(i==null?void 0:i.amount),u.currency=new me(i==null?void 0:i.currency),u}return n}(Uu),rm=function t(e){I(this,t),f(this,"amount",void 0),f(this,"currency",void 0);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var i;this.currency=(i=e==null?void 0:e.currency)!==null&&i!==void 0?i:"CNY"},lm=function(t){de(n,t);var e=fe(n);function n(i){I(this,n);var u;return u=e.call(this),f($(u),"min",void 0),f($(u),"max",void 0),u.min=new me(i==null?void 0:i.min),u.max=new me(i==null?void 0:i.max),u}return n}(Uu),om=function t(e){I(this,t),f(this,"min",void 0),f(this,"max",void 0);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var i;this.max=(i=e==null?void 0:e.max)!==null&&i!==void 0?i:""},cm=function t(e){I(this,t),f(this,"city",void 0),f(this,"cityDisplay",void 0),f(this,"district",void 0),f(this,"districtDisplay",void 0),f(this,"province",void 0),f(this,"provinceDisplay",void 0);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var i;this.cityDisplay=(i=e==null?void 0:e.cityDisplay)!==null&&i!==void 0?i:"";var u;this.district=(u=e==null?void 0:e.district)!==null&&u!==void 0?u:"";var a;this.districtDisplay=(a=e==null?void 0:e.districtDisplay)!==null&&a!==void 0?a:"";var r;this.province=(r=e==null?void 0:e.province)!==null&&r!==void 0?r:"";var l;this.provinceDisplay=(l=e==null?void 0:e.provinceDisplay)!==null&&l!==void 0?l:""},sm=function(t){de(n,t);var e=fe(n);function n(i){I(this,n);var u;return u=e.call(this),f($(u),"result",void 0),f($(u),"unit",void 0),u.result=new me(i==null?void 0:i.result),u.unit=new me(i==null?void 0:i.unit),u}return n}(Uu),dm=function t(e){I(this,t),f(this,"result",void 0),f(this,"unit",void 0);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var i;this.unit=(i=e==null?void 0:e.unit)!==null&&i!==void 0?i:""},Wu;(function(t){t.CNY="CNY",t.USD="USD",t.JPY="JPY",t.EUR="EUR",t.INR="INR",t.IDR="IDR",t.BRL="BRL",t.AED="AED",t.AUD="AUD",t.CAD="CAD",t.EGP="EGP",t.GBP="GBP",t.ZAR="ZAR",t.KRW="KRW",t.MAD="MAD",t.MXN="MXN",t.MYR="MYR",t.PHP="PHP",t.PLN="PLN",t.RUB="RUB",t.SGD="SGD",t.THB="THB",t.TRY="TRY",t.TWD="TWD",t.VND="VND",t.HKD="HKD",t.IEP="IEP"})(Wu||(Wu={}));var s;(function(t){t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.IS_SHOW_WATERMARK="isShowWatermark",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions",t.IS_PASTE="isPaste",t.SORTABLE="sortable"})(s||(s={}));var Ku;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(Ku||(Ku={}));var xe=function t(e){I(this,t),f(this,"isShow",void 0),f(this,"priorityProcess",void 0),f(this,"formKey",void 0),f(this,"content",void 0),f(this,"openType",void 0),f(this,"type",void 0);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var i;this.content=(i=e==null?void 0:e.content)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.openType=(a=e==null?void 0:e.openType)!==null&&a!==void 0?a:"modal";var r;this.type=(r=e==null?void 0:e.type)!==null&&r!==void 0?r:"";var l;this.priorityProcess=(l=e==null?void 0:e.priorityProcess)!==null&&l!==void 0?l:!1},fm=function t(e){I(this,t);var n;f(this,"id",void 0),f(this,"title",void 0),f(this,"filters",void 0),f(this,"viewFilters",void 0),f(this,"headers",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:ye(8);var u;this.title=(u=e==null?void 0:e.title)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(r){return new ml(r)}))!==null&&a!==void 0?a:[],ju.call(this,e)},hm=function t(e){I(this,t),f(this,"width",void 0),f(this,"height",void 0),f(this,"widthConfig",void 0),f(this,"heightConfig",void 0);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var i;this.height=(i=e==null?void 0:e.height)!==null&&i!==void 0?i:"";var u;this.widthConfig=(u=e==null?void 0:e.widthConfig)!==null&&u!==void 0?u:"fill";var a;this.heightConfig=(a=e==null?void 0:e.heightConfig)!==null&&a!==void 0?a:"fill"},ym=function t(e){I(this,t),f(this,"optCode",void 0),f(this,"optType",void 0);var n;this.optCode=(n=e==null?void 0:e.optCode)!==null&&n!==void 0?n:"";var i;this.optType=(i=e==null?void 0:e.optType)!==null&&i!==void 0?i:""},vm=function t(e){I(this,t);var n,i;f(this,"id",void 0),f(this,"name",void 0),f(this,"settings",void 0),f(this,"filters",void 0),f(this,"script",void 0);var u;this.id=(u=e==null?void 0:e.id)!==null&&u!==void 0?u:ye();var a;this.name=(a=e==null?void 0:e.name)!==null&&a!==void 0?a:"";var r;this.filters=(r=e==null||(n=e.filters)===null||n===void 0?void 0:n.map(function(c){return c.children!==void 0?new Vu(c):new Wn(c)}))!==null&&r!==void 0?r:[];var l;this.settings=(e==null?void 0:e.settings)&&Array.isArray(e==null?void 0:e.settings)?(l=e==null||(i=e.settings)===null||i===void 0?void 0:i.map(function(c){return new mm(c)}))!==null&&l!==void 0?l:[]:[],this.script=e==null?void 0:e.script},mm=function t(e){I(this,t),f(this,"color",void 0),f(this,"fieldCodes",void 0),f(this,"type",void 0),f(this,"scope",void 0);var n;this.type=(n=e.type)!==null&&n!==void 0?n:"background";var i;this.fieldCodes=(i=e.fieldCodes)!==null&&i!==void 0?i:[];var u;this.color=(u=e.color)!==null&&u!==void 0?u:"theme";var a;this.scope=(a=e.scope)!==null&&a!==void 0?a:"row"},gm=function t(e){I(this,t);var n;f(this,"type",void 0),f(this,"interval",void 0),f(this,"rules",void 0);var i;this.type=(i=e==null?void 0:e.type)!==null&&i!==void 0?i:"none";var u;this.interval=(u=e==null?void 0:e.interval)!==null&&u!==void 0?u:{color:""};var a;this.rules=(e==null?void 0:e.rules)&&Array.isArray(e==null?void 0:e.rules)?(a=e==null||(n=e.rules)===null||n===void 0?void 0:n.map(function(r){return new vm(r)}))!==null&&a!==void 0?a:[]:[]};function bm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zn(t,e,n){return Il()?zn=Reflect.construct:zn=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&Wt(o,r.prototype),o},zn.apply(null,arguments)}function Ee(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ut(t){return Ut=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ut(t)}function _m(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Wt(t,e)}function wm(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Cm(t,e){return e&&(Em(e)==="object"||typeof e=="function")?e:bm(t)}function Wt(t,e){return Wt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Wt(t,e)}function Em(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Gu(t){var e=typeof Map=="function"?new Map:void 0;return Gu=function(i){if(i===null||!wm(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return zn(i,arguments,Ut(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Wt(u,i)},Gu(t)}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(t){return!1}}function Im(t){var e=Il();return function(){var i=Ut(t),u;if(e){var a=Ut(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Cm(this,u)}}var z=function t(e){zu(this,t),Ee(this,"isHide",{type:"boolean"})},He=function(t){_m(n,t);var e=Im(n);function n(i){return zu(this,n),e.call(this)}return n}(Gu(Array)),G=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";zu(this,t),Ee(this,"isHide",void 0),Ee(this,"className",void 0),Ee(this,"style",void 0),Ee(this,"caption",void 0),Ee(this,"defaultState",void 0);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new hm(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};Ee(G,"mode",void 0),Ee(G,"Rules",z),Ee(G,"RuntimeRules",He);function ge(){return ge=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},ge.apply(this,arguments)}function Sm(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Qu(t){return Qu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qu(t)}function Gn(t,e){return Gn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Gn(t,e)}function Am(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function Qn(t,e,n){return Am()?Qn=Reflect.construct:Qn=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&Gn(o,r.prototype),o},Qn.apply(null,arguments)}function Rm(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Xu(t){var e=typeof Map=="function"?new Map:void 0;return Xu=function(i){if(i===null||!Rm(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Qn(i,arguments,Qu(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Gn(u,i)},Xu(t)}var Tm=/%[sdj%]/g,Sl=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Sl=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function Ju(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var i=n.field;e[i]=e[i]||[],e[i].push(n)}),e}function ae(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,u=e[0],a=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var r=String(u).replace(Tm,function(l){if(l==="%%")return"%";if(i>=a)return l;switch(l){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(c){return"[Circular]"}break;default:return l}});return r}return u}function Bm(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function Q(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||Bm(e)&&typeof t=="string"&&!t)}function Pm(t,e,n){var i=[],u=0,a=t.length;function r(l){i.push.apply(i,l),u++,u===a&&n(i)}t.forEach(function(l){e(l,r)})}function Al(t,e,n){var i=0,u=t.length;function a(r){if(r&&r.length){n(r);return}var l=i;i=i+1,l<u?e(t[l],a):n([])}a([])}function xm(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Rl=function(t){Sm(e,t);function e(n,i){var u;return u=t.call(this,"Async Validation Error")||this,u.errors=n,u.fields=i,u}return e}(Xu(Error));function Dm(t,e,n,i){if(e.first){var u=new Promise(function(v,g){var _=function(S){return i(S),S.length?g(new Rl(S,Ju(S))):v()},E=xm(t);Al(E,n,_)});return u.catch(function(v){return v}),u}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var r=Object.keys(t),l=r.length,c=0,o=[],d=new Promise(function(v,g){var _=function(w){if(o.push.apply(o,w),c++,c===l)return i(o),o.length?g(new Rl(o,Ju(o))):v()};r.length||(i(o),v()),r.forEach(function(E){var w=t[E];a.indexOf(E)!==-1?Al(w,n,_):Pm(w,n,_)})});return d.catch(function(v){return v}),d}function Tl(t){return function(e){return e&&e.message?(e.field=e.field||t.fullField,e):{message:typeof e=="function"?e():e,field:e.field||t.fullField}}}function Bl(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];typeof i=="object"&&typeof t[n]=="object"?t[n]=ge(ge({},t[n]),i):t[n]=i}}return t}function Pl(t,e,n,i,u,a){t.required&&(!n.hasOwnProperty(t.field)||Q(e,a||t.type))&&i.push(ae(u.messages.required,t.fullField))}function Fm(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(ae(u.messages.whitespace,t.fullField))}var Zu={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},Kt={integer:function(e){return Kt.number(e)&&parseInt(e,10)===e},float:function(e){return Kt.number(e)&&!Kt.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(n){return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!Kt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Zu.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Zu.url)},hex:function(e){return typeof e=="string"&&!!e.match(Zu.hex)}};function km(t,e,n,i,u){if(t.required&&e===void 0){Pl(t,e,n,i,u);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],r=t.type;a.indexOf(r)>-1?Kt[r](e)||i.push(ae(u.messages.types[r],t.fullField,t.type)):r&&typeof e!==t.type&&i.push(ae(u.messages.types[r],t.fullField,t.type))}function Om(t,e,n,i,u){var a=typeof t.len=="number",r=typeof t.min=="number",l=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,o=e,d=null,v=typeof e=="number",g=typeof e=="string",_=Array.isArray(e);if(v?d="number":g?d="string":_&&(d="array"),!d)return!1;_&&(o=e.length),g&&(o=e.replace(c,"_").length),a?o!==t.len&&i.push(ae(u.messages[d].len,t.fullField,t.len)):r&&!l&&o<t.min?i.push(ae(u.messages[d].min,t.fullField,t.min)):l&&!r&&o>t.max?i.push(ae(u.messages[d].max,t.fullField,t.max)):r&&l&&(o<t.min||o>t.max)&&i.push(ae(u.messages[d].range,t.fullField,t.min,t.max))}var dt="enum";function Mm(t,e,n,i,u){t[dt]=Array.isArray(t[dt])?t[dt]:[],t[dt].indexOf(e)===-1&&i.push(ae(u.messages[dt],t.fullField,t[dt].join(", ")))}function $m(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(ae(u.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var a=new RegExp(t.pattern);a.test(e)||i.push(ae(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var R={required:Pl,whitespace:Fm,type:km,range:Om,enum:Mm,pattern:$m};function Lm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e,"string")&&!t.required)return n();R.required(t,e,i,a,u,"string"),Q(e,"string")||(R.type(t,e,i,a,u),R.range(t,e,i,a,u),R.pattern(t,e,i,a,u),t.whitespace===!0&&R.whitespace(t,e,i,a,u))}n(a)}function Nm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e)&&!t.required)return n();R.required(t,e,i,a,u),e!==void 0&&R.type(t,e,i,a,u)}n(a)}function Vm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e===""&&(e=void 0),Q(e)&&!t.required)return n();R.required(t,e,i,a,u),e!==void 0&&(R.type(t,e,i,a,u),R.range(t,e,i,a,u))}n(a)}function Hm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e)&&!t.required)return n();R.required(t,e,i,a,u),e!==void 0&&R.type(t,e,i,a,u)}n(a)}function jm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e)&&!t.required)return n();R.required(t,e,i,a,u),Q(e)||R.type(t,e,i,a,u)}n(a)}function qm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e)&&!t.required)return n();R.required(t,e,i,a,u),e!==void 0&&(R.type(t,e,i,a,u),R.range(t,e,i,a,u))}n(a)}function Um(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e)&&!t.required)return n();R.required(t,e,i,a,u),e!==void 0&&(R.type(t,e,i,a,u),R.range(t,e,i,a,u))}n(a)}function Wm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e==null&&!t.required)return n();R.required(t,e,i,a,u,"array"),e!=null&&(R.type(t,e,i,a,u),R.range(t,e,i,a,u))}n(a)}function Km(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e)&&!t.required)return n();R.required(t,e,i,a,u),e!==void 0&&R.type(t,e,i,a,u)}n(a)}var zm="enum";function Gm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e)&&!t.required)return n();R.required(t,e,i,a,u),e!==void 0&&R[zm](t,e,i,a,u)}n(a)}function Qm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e,"string")&&!t.required)return n();R.required(t,e,i,a,u),Q(e,"string")||R.pattern(t,e,i,a,u)}n(a)}function Xm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e,"date")&&!t.required)return n();if(R.required(t,e,i,a,u),!Q(e,"date")){var l;e instanceof Date?l=e:l=new Date(e),R.type(t,l,i,a,u),l&&R.range(t,l.getTime(),i,a,u)}}n(a)}function Jm(t,e,n,i,u){var a=[],r=Array.isArray(e)?"array":typeof e;R.required(t,e,i,a,u,r),n(a)}function Yu(t,e,n,i,u){var a=t.type,r=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(Q(e,a)&&!t.required)return n();R.required(t,e,i,r,u,a),Q(e,a)||R.type(t,e,i,r,u)}n(r)}function Zm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e)&&!t.required)return n();R.required(t,e,i,a,u)}n(a)}var zt={string:Lm,method:Nm,number:Vm,boolean:Hm,regexp:jm,integer:qm,float:Um,array:Wm,object:Km,enum:Gm,pattern:Qm,date:Xm,url:Yu,hex:Yu,email:Yu,required:Jm,any:Zm};function pu(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var ea=pu();function De(t){this.rules=null,this._messages=ea,this.define(t)}De.prototype={messages:function(e){return e&&(this._messages=Bl(pu(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,i;for(n in e)e.hasOwnProperty(n)&&(i=e[n],this.rules[n]=Array.isArray(i)?i:[i])},validate:function(e,n,i){var u=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var a=e,r=n,l=i;if(typeof r=="function"&&(l=r,r={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function c(w){var S,m=[],C={};function T(D){if(Array.isArray(D)){var k;m=(k=m).concat.apply(k,D)}else m.push(D)}for(S=0;S<w.length;S++)T(w[S]);m.length?C=Ju(m):(m=null,C=null),l(m,C)}if(r.messages){var o=this.messages();o===ea&&(o=pu()),Bl(o,r.messages),r.messages=o}else r.messages=this.messages();var d,v,g={},_=r.keys||Object.keys(this.rules);_.forEach(function(w){d=u.rules[w],v=a[w],d.forEach(function(S){var m=S;typeof m.transform=="function"&&(a===e&&(a=ge({},a)),v=a[w]=m.transform(v)),typeof m=="function"?m={validator:m}:m=ge({},m),m.validator=u.getValidationMethod(m),m.field=w,m.fullField=m.fullField||w,m.type=u.getType(m),m.validator&&(g[w]=g[w]||[],g[w].push({rule:m,value:v,source:a,field:w}))})});var E={};return Dm(g,r,function(w,S){var m=w.rule,C=(m.type==="object"||m.type==="array")&&(typeof m.fields=="object"||typeof m.defaultField=="object");C=C&&(m.required||!m.required&&w.value),m.field=w.field;function T(oe,M){return ge(ge({},M),{},{fullField:m.fullField+"."+oe})}function D(oe){oe===void 0&&(oe=[]);var M=oe;if(Array.isArray(M)||(M=[M]),!r.suppressWarning&&M.length&&De.warning("async-validator:",M),M.length&&m.message!==void 0&&(M=[].concat(m.message)),M=M.map(Tl(m)),r.first&&M.length)return E[m.field]=1,S(M);if(!C)S(M);else{if(m.required&&!w.value)return m.message!==void 0?M=[].concat(m.message).map(Tl(m)):r.error&&(M=[r.error(m,ae(r.messages.required,m.field))]),S(M);var ce={};if(m.defaultField)for(var Nn in w.value)w.value.hasOwnProperty(Nn)&&(ce[Nn]=m.defaultField);ce=ge(ge({},ce),w.rule.fields);for(var Re in ce)if(ce.hasOwnProperty(Re)){var Cu=Array.isArray(ce[Re])?ce[Re]:[ce[Re]];ce[Re]=Cu.map(T.bind(null,Re))}var Vn=new De(ce);Vn.messages(r.messages),w.rule.options&&(w.rule.options.messages=r.messages,w.rule.options.error=r.error),Vn.validate(w.value,w.rule.options||r,function($t){var Te=[];M&&M.length&&Te.push.apply(Te,M),$t&&$t.length&&Te.push.apply(Te,$t),S(Te.length?Te:null)})}}var k;m.asyncValidator?k=m.asyncValidator(m,w.value,D,w.source,r):m.validator&&(k=m.validator(m,w.value,D,w.source,r),k===!0?D():k===!1?D(m.message||m.field+" fails"):k instanceof Array?D(k):k instanceof Error&&D(k.message)),k&&k.then&&k.then(function(){return D()},function(oe){return D(oe)})},function(w){c(w)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!zt.hasOwnProperty(e.type))throw new Error(ae("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),i=n.indexOf("message");return i!==-1&&n.splice(i,1),n.length===1&&n[0]==="required"?zt.required:zt[this.getType(e)]||!1}},De.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");zt[e]=n},De.warning=Sl,De.messages=ea,De.validators=zt;var Ym={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 pm(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new De(t);return n.messages(Object.assign(Ym,e)),n}var eg=new Dv;function ta(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function tg(t){if(Array.isArray(t))return t}function ng(t){if(Array.isArray(t))return ta(t)}function xl(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function Dl(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){xl(a,i,u,r,l,"next",c)}function l(c){xl(a,i,u,r,l,"throw",c)}r(void 0)})}}function ig(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function ug(t,e,n){return e&&Fl(t.prototype,e),n&&Fl(t,n),t}function F(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function kl(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Ol(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function ag(){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 rg(){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 Ml(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){F(t,u,n[u])})}return t}function lg(t){return tg(t)||Ol(t)||$l(t)||ag()}function na(t){return ng(t)||Ol(t)||$l(t)||rg()}function og(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $l(t,e){if(!!t){if(typeof t=="string")return ta(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ta(t,e)}}function Ll(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return c([o,d])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var O=function(){function e(n){var i=this;ig(this,e),F(this,"id",void 0),F(this,"name",void 0),F(this,"icon",void 0),F(this,"type",void 0),F(this,"controlType",void 0),F(this,"props",void 0),F(this,"setting",[]),F(this,"fieldType",void 0),F(this,"eventKeys",[]),F(this,"customEvents",[]),F(this,"parent",null),F(this,"slots",void 0),F(this,"slotPosition",void 0),F(this,"updateSetting",Vl),F(this,"removeSetting",Nl),this._callControlHooks("preInstance",n);var u=kl(this,e)?this.constructor:void 0,a=u.controlName,r=u.controlIcon,l=u.controlType,c=u.controlFieldType,o=u.controlEventKeys,d=u.controlCustomEvents,v=u.name,g=u.setting,_=u.slots,E=u.slotPosition;a&&r&&l||pr("The ".concat(v," controlName,controlIcon,controlType is not define"));var w;this.id=(w=n==null?void 0:n.id)!==null&&w!==void 0?w:ye(10),this.name=a,this.icon=r;var S;this.type=(S=n==null?void 0:n.type)!==null&&S!==void 0?S:l,this.props=new G(n==null?void 0:n.props,(kl(this,e)?this.constructor:void 0).controlName);var m;this.controlType=(m=n==null?void 0:n.controlType)!==null&&m!==void 0?m:"base",this.setting=se(g);var C;this.fieldType=(C=n==null?void 0:n.fieldType)!==null&&C!==void 0?C:c,this.eventKeys=se(o),this.customEvents=se(d),this.slots=se(_),this.slotPosition=se(E),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return ug(e,[{key:"rules",get:function(){var i=this.props.constructor.Rules;return i?new i(this.props):{}}},{key:"_callControlHooks",value:function(){for(var i=arguments.length,u=new Array(i),a=0;a<i;a++)u[a]=arguments[a];var r,l=lg(u),c=l[0],o=l.slice(1);return(r=eg).emit.apply(r,[c,this].concat(na(o)))}},{key:"preUpdate",value:function(i,u){this._callControlHooks("preUpdateProps",i,u)}},{key:"postUpdate",value:function(i,u){this._callControlHooks("postUpdateProps",i,u)}},{key:"updateProps",value:function(i,u){this.preUpdate(i,u),mv(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){var i=this;return Dl(function(){var u,a,r;return Ll(this,function(l){switch(l.label){case 0:return u=Ml({},i.rules),[4,i._callControlHooks("preValidate",u)];case 1:return a=l.sent(),r=a[a.length-1],[2,r===!1?void 0:r]}})})()}},{key:"validate",value:function(i,u){var a=this;return Dl(function(){var r,l,c,o;return Ll(this,function(d){switch(d.label){case 0:return[4,a.preValidate()];case 1:r=d.sent(),l=r!==void 0?r:Ml({},a.rules),Array.isArray(u)&&u.forEach(function(v){l.hasOwnProperty(v)&&delete l[v]}),c=pm(l,i),d.label=2;case 2:return d.trys.push([2,4,,5]),[4,c.validate(a.props)];case 3:return d.sent(),[2,!0];case 4:throw o=d.sent(),o.control||(o.control=a),o;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,a=this.id,r=this.type,l=this.props,c=l.dataBind,o=l.datasourceBind,d=l.optionConfig,v=l.caption,g=l.required,_=l.maxLength,E=l.options,w=l.encrypted,S=l.encryptedMode;if(!(!u&&!c&&!o)){var m={parentId:i,fieldType:u,controlId:a,caption:v,type:r,props:{}};switch(c&&(m.dataBind=c),d){case"datasource":case void 0:o&&(m.datasourceBind=o);break;case"custom":m.props.options=E;break}return g!==void 0&&(m.required=g),_!==void 0&&(m.maxLength=_),w!==void 0&&(m.encrypted=w),S!==void 0&&(m.encryptedMode=S),m}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:se(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(i,u){if(i==="setting"){if(u.add){var a;(a=this.setting).push.apply(a,na(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();F(O,"mode","Designer"),F(O,"slots",void 0),F(O,"slotPosition",void 0),F(O,"controlName","\u63A7\u4EF6"),F(O,"controlIcon","icon"),F(O,"controlType","control"),F(O,"controlFieldType",void 0),F(O,"controlEventKeys",[]),F(O,"controlCustomEvents",[]),F(O,"setting",[]),F(O,"__is_control__",!0),F(O,"removeSettingItem",Nl),F(O,"updateSettingItem",Vl);function Nl(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u,a=typeof i!="string",r=(u=e.setting)===null||u===void 0?void 0:u.findIndex(function(o){return o.key===(a?i.key:i)});if(r!==-1){var l,c;a?e.setting[r].showItems=(l=e.setting[r].showItems)===null||l===void 0?void 0:l.filter(function(o){return!i.hideItems.includes(o)}):e.setting.splice(r,1),a&&!(!((c=e.setting[r].showItems)===null||c===void 0)&&c.length)&&e.setting.splice(r,1)}})}function Vl(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var a=n.setting.find(function(o){return o.key===u});if(a){if(typeof e=="boolean")a.visible=e;else if((typeof e=="undefined"?"undefined":og(e))==="object"){var r,l=(r=e.type)!==null&&r!==void 0?r:"replace";if(l==="replace")a.showItems=e.showItems;else{var c;(c=a.showItems).push.apply(c,na(e.showItems))}}}})}function cg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function sg(t,e,n){return e&&Hl(t.prototype,e),n&&Hl(t,n),t}function re(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function dg(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var X=function(){function e(n){cg(this,e),re(this,"id",void 0),re(this,"type",void 0),re(this,"controlType",void 0),re(this,"props",void 0),re(this,"fieldType",void 0),re(this,"customEvents",[]),re(this,"pageStatus",void 0),re(this,"parent",null);var i=dg(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,r=i.name,l=i.controlCustomEvents;u||pr("The ".concat(r," controlType is not define"));var c;this.id=(c=n==null?void 0:n.id)!==null&&c!==void 0?c:ye(10);var o;this.type=(o=n==null?void 0:n.type)!==null&&o!==void 0?o:u,this.props=new G(n==null?void 0:n.props),this.customEvents=l;var d;this.controlType=(d=n==null?void 0:n.controlType)!==null&&d!==void 0?d:"base";var v;this.fieldType=(v=n==null?void 0:n.fieldType)!==null&&v!==void 0?v:a;var g;this.pageStatus=(g=n==null?void 0:n.pageStatus)!==null&&g!==void 0?g:Ku.UNKNOWN}return sg(e,[{key:"rules",get:function(){var i=this.props.constructor.RuntimeRules;if(i){var u=new i(this.props);return Array.from(u)}return[]}}]),e}();re(X,"mode","Runtime"),re(X,"controlType","control"),re(X,"controlFieldType",void 0),re(X,"__is_control__",!0),re(X,"controlCustomEvents",[]);function ia(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:h.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:h.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:h.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(h.getMessage("optionIsRequired")),u()}},{type:"array",validator:function(n,i,u){var a=i.map(function(l){return l.value}),r=Ev(a);a.length!==r.length?u(h.getMessage("optionIdIsRepeat")):u()},message:h.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:h.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",validator:function(n,i,u){i.length===0&&u(h.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},message:h.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:h.getMessage("isNotBoolean")}}}}]}}])}function Xn(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:h.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:h.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:h.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:h.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:h.getMessage("isNotString")},key:{type:"string",required:!0,message:h.getMessage("isNotString")},value:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",validator:function(u,a,r){a.length===0&&r(h.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),r()},message:h.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:h.getMessage("isNotBoolean")}}}}]}}]}function fg(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function N(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Jn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function V(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Zn(t){return Zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zn(t)}function Yn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ua(t,e)}function hg(t,e){return e&&(yg(e)==="object"||typeof e=="function")?e:N(t)}function ua(t,e){return ua=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ua(t,e)}function yg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function vg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function pn(t){var e=vg();return function(){var i=Zn(t),u;if(e){var a=Zn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return hg(this,u)}}var Z=function(t){Yn(n,t);var e=pn(n);function n(i){Jn(this,n);var u;u=e.call(this,i),V(N(u),"dataBind",{}),V(N(u),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),V(N(u),"isHideCaption",{type:"boolean"}),V(N(u),"labelPosition",{type:"enum",enum:["top","left"]}),V(N(u),"defaultState",{type:"enum",enum:["default","readonly"]}),V(N(u),"required",{type:"boolean"}),V(N(u),"captionTip",{type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")});var a={fieldCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")}};if(fg(i.dataBind))u.dataBind={type:"object",required:!0,fields:se(a),message:h.getMessage("pleaseEnterFieldCode")};else{var r={type:"object",required:!0,fields:{},message:h.getMessage("pleaseEnterFieldCode")};Object.keys(i.dataBind).forEach(function(l){r.fields[l]={type:"object",required:!0,fields:se(a),message:h.getMessage("pleaseEnterFieldCode")}}),u.dataBind=r}return i.isShowCaptionTip&&(u.captionTip.required=!0),u}return n}(z),L=function(t){Yn(n,t);var e=pn(n);function n(i){Jn(this,n);var u;u=e.call(this,i);var a=i.isHide?!1:i.required;return a&&u.push({type:"string",required:a,message:i.requiredMessage!==""?i.requiredMessage:h.getMessage("runtimeRequired",{caption:i.caption})}),u}return n}(He),B=function(t){Yn(n,t);var e=pn(n);function n(i){Jn(this,n);var u;u=e.call(this,i),V(N(u),"caption",void 0),V(N(u),"isHideCaption",void 0),V(N(u),"isShowCaptionTip",void 0),V(N(u),"captionTip",void 0),V(N(u),"labelPosition",void 0),V(N(u),"dataBind",void 0),V(N(u),"defaultValue",void 0),V(N(u),"placeholder",void 0),V(N(u),"defaultState",void 0),V(N(u),"required",void 0),V(N(u),"requiredMessage",void 0);var a;u.caption=(a=i==null?void 0:i.caption)!==null&&a!==void 0?a:"";var r;u.isHideCaption=(r=i==null?void 0:i.isHideCaption)!==null&&r!==void 0?r:!1;var l;u.isShowCaptionTip=(l=i==null?void 0:i.isShowCaptionTip)!==null&&l!==void 0?l:!1;var c;u.captionTip=(c=i==null?void 0:i.captionTip)!==null&&c!==void 0?c:"";var o;u.defaultState=(o=i==null?void 0:i.defaultState)!==null&&o!==void 0?o:"default";var d;u.labelPosition=(d=i==null?void 0:i.labelPosition)!==null&&d!==void 0?d:"top";var v;u.placeholder=(v=i==null?void 0:i.placeholder)!==null&&v!==void 0?v:"";var g;u.required=(g=i==null?void 0:i.required)!==null&&g!==void 0?g:!1;var _;u.requiredMessage=(_=i==null?void 0:i.requiredMessage)!==null&&_!==void 0?_:"",u.dataBind=new me(i==null?void 0:i.dataBind);var E;return u.defaultValue=(E=i==null?void 0:i.defaultValue)!==null&&E!==void 0?E:"",u}return n}(G);V(B,"Rules",Z),V(B,"RuntimeRules",L);var ft=function(t){Yn(n,t);var e=pn(n);function n(i){Jn(this,n);var u;return u=e.call(this,i),V(N(u),"optionConfig",{type:"enum",enum:["custom","datasource"],message:h.getMessage("PleaseSelectTheCorrectOptionSettings")}),V(N(u),"options",[{type:"array",message:h.getMessage("isNotArray")}]),V(N(u),"datasourceBind",[{type:"object",message:h.getMessage("isNotObject")}]),ia.call(N(u),i),u}return n}(Z);function aa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ei(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ti(t){return ti=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ti(t)}function gg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ra(t,e)}function bg(t,e){return e&&(_g(e)==="object"||typeof e=="function")?e:aa(t)}function ra(t,e){return ra=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ra(t,e)}function _g(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function wg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Cg(t){var e=wg();return function(){var i=ti(t),u;if(e){var a=ti(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return bg(this,u)}}var P=function(t){gg(n,t);var e=Cg(n);function n(i){mg(this,n);var u;return u=e.call(this,i),ei(aa(u),"controlType","form"),ei(aa(u),"props",void 0),u.props=new B(i==null?void 0:i.props),u}return n}(O);ei(P,"controlEventKeys",["on_change","on_focus","on_blur"]),ei(P,"controlCustomAttributes",void 0);function ni(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Eg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function la(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ii(t){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ii(t)}function Ig(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&oa(t,e)}function Sg(t,e){return e&&(Ag(e)==="object"||typeof e=="function")?e:ni(t)}function oa(t,e){return oa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},oa(t,e)}function Ag(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Rg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Tg(t){var e=Rg();return function(){var i=ii(t),u;if(e){var a=ii(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Sg(this,u)}}var x=function(t){Ig(n,t);var e=Tg(n);function n(i){Eg(this,n);var u;return u=e.call(this,i),la(ni(u),"controlType","form"),la(ni(u),"props",void 0),la(ni(u),"value",void 0),u.props=new B(i==null?void 0:i.props),u}return n}(X);function Bg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Pg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ui(t){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ui(t)}function xg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ca(t,e)}function Dg(t,e){return e&&(Fg(e)==="object"||typeof e=="function")?e:Bg(t)}function ca(t,e){return ca=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ca(t,e)}function Fg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function kg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Og(t){var e=kg();return function(){var i=ui(t),u;if(e){var a=ui(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Dg(this,u)}}var H=function(t){xg(n,t);var e=Og(n);function n(i){return Pg(this,n),e.call(this,i)}return n}(G);function sa(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Mg(t){if(Array.isArray(t))return sa(t)}function je(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jl(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function $g(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){jl(a,i,u,r,l,"next",c)}function l(c){jl(a,i,u,r,l,"throw",c)}r(void 0)})}}function Lg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ql(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Ng(t,e,n){return e&&ql(t.prototype,e),n&&ql(t,n),t}function Fe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ht(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ht=Reflect.get:ht=function(u,a,r){var l=Gg(u,a);if(!!l){var c=Object.getOwnPropertyDescriptor(l,a);return c.get?c.get.call(r||u):c.value}},ht(t,e,n||t)}function ke(t){return ke=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ke(t)}function Vg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&da(t,e)}function Hg(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function jg(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function qg(){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 Ug(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){Fe(t,u,n[u])})}return t}function Wg(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),n.push.apply(n,i)}return n}function Kg(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Wg(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function zg(t,e){return e&&(Qg(e)==="object"||typeof e=="function")?e:je(t)}function da(t,e){return da=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},da(t,e)}function Gg(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=ke(t),t!==null););return t}function Ul(t){return Mg(t)||jg(t)||Xg(t)||qg()}function Qg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Xg(t,e){if(!!t){if(typeof t=="string")return sa(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return sa(t,e)}}function Jg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Zg(t){var e=Jg();return function(){var i=ke(t),u;if(e){var a=ke(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return zg(this,u)}}function Yg(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return c([o,d])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var pg=1e4,q=function(e){Vg(i,e);var n=Zg(i);function i(u){Lg(this,i);var a;a=n.call(this,u),Fe(je(a),"controlType","layout"),Fe(je(a),"children",void 0),Fe(je(a),"excludes",void 0),Fe(je(a),"childrenMaxLength",void 0),Fe(je(a),"props",void 0);var r=Hg(this,i)?this.constructor:void 0,l=r.excludes,c=r.childrenMaxLength;return a.props=new H(u==null?void 0:u.props),ve(je(a),"children",u==null?void 0:u.children,void 0,"Designer"),a.excludes=se(l),a.childrenMaxLength=c,a}return Ng(i,[{key:"judgeExcludesChildren",value:function(a){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(a)}},{key:"judgeJoinChildren",value:function(a){var r=this.judgeExcludesChildren(a);return r&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(a,r){var l=this,c=this,o=function(){return ht(ke(i.prototype),"validate",l)};return $g(function(){return Yg(this,function(d){switch(d.label){case 0:return[4,o().call(c,a,r)];case 1:return d.sent(),[4,Promise.all(c.children.map(function(v){return v.validate(a,r)}))];case 2:return d.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=ht(ke(i.prototype),"toDataBindModel",this).call(this),l=r?[r]:[];return this.children.reduce(function(c,o){var d=o.toDataBindModel(a);if(Array.isArray(d)){var v=d.filter(function(g){return!!g});return Ul(c).concat(Ul(v))}return d&&c.push(d),c},l)}},{key:"toSchema",value:function(){var a=ht(ke(i.prototype),"toSchema",this).call(this),r=this.children.map(function(l){var c=l.toSchema();return c});return Kg(Ug({},a),{children:r})}}]),i}(O);Fe(q,"excludes",!1),Fe(q,"childrenMaxLength",pg);function Gt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function e0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fa(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ai(t){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ai(t)}function t0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ha(t,e)}function n0(t,e){return e&&(i0(e)==="object"||typeof e=="function")?e:Gt(t)}function ha(t,e){return ha=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ha(t,e)}function i0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function u0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function a0(t){var e=u0();return function(){var i=ai(t),u;if(e){var a=ai(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return n0(this,u)}}var U=function(t){t0(n,t);var e=a0(n);function n(i){e0(this,n);var u;return u=e.call(this,i),fa(Gt(u),"controlType","layout"),fa(Gt(u),"children",void 0),fa(Gt(u),"props",void 0),u.props=new H(i==null?void 0:i.props),ve(Gt(u),"children",i==null?void 0:i.children,void 0,"Runtime"),u}return n}(X);function Ie(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function r0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ri(t){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ri(t)}function l0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ya(t,e)}function o0(t,e){return e&&(c0(e)==="object"||typeof e=="function")?e:Ie(t)}function ya(t,e){return ya=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ya(t,e)}function c0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function s0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function d0(t){var e=s0();return function(){var i=ri(t),u;if(e){var a=ri(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return o0(this,u)}}var li=function(t){l0(n,t);var e=d0(n);function n(i,u,a){r0(this,n);var r;r=e.call(this,u),yt(Ie(r),"headers",void 0),yt(Ie(r),"footers",void 0),yt(Ie(r),"pageIndex",void 0),yt(Ie(r),"pageSize",void 0),yt(Ie(r),"pageSizeOptions",void 0),yt(Ie(r),"totalCount",void 0),ve(Ie(r),"headers",u==null?void 0:u.headers,i,a),ve(Ie(r),"footers",u==null?void 0:u.footers,i);var l;r.pageIndex=(l=u==null?void 0:u.pageIndex)!==null&&l!==void 0?l:1;var c;r.pageSize=(c=u==null?void 0:u.pageSize)!==null&&c!==void 0?c:20;var o;r.pageSizeOptions=(o=u==null?void 0:u.pageSizeOptions)!==null&&o!==void 0?o:[20];var d;return r.totalCount=(d=u==null?void 0:u.totalCount)!==null&&d!==void 0?d:0,r}return n}(G);function va(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function f0(t){if(Array.isArray(t))return va(t)}function oi(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Wl(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function h0(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){Wl(a,i,u,r,l,"next",c)}function l(c){Wl(a,i,u,r,l,"throw",c)}r(void 0)})}}function y0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function v0(t,e,n){return e&&Kl(t.prototype,e),n&&Kl(t,n),t}function ci(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function vt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?vt=Reflect.get:vt=function(u,a,r){var l=C0(u,a);if(!!l){var c=Object.getOwnPropertyDescriptor(l,a);return c.get?c.get.call(r||u):c.value}},vt(t,e,n||t)}function Oe(t){return Oe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oe(t)}function m0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ma(t,e)}function g0(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function b0(){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 zl(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){ci(t,u,n[u])})}return t}function _0(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),n.push.apply(n,i)}return n}function Gl(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):_0(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function w0(t,e){return e&&(E0(e)==="object"||typeof e=="function")?e:oi(t)}function ma(t,e){return ma=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ma(t,e)}function C0(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Oe(t),t!==null););return t}function Ql(t){return f0(t)||g0(t)||I0(t)||b0()}function E0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function I0(t,e){if(!!t){if(typeof t=="string")return va(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return va(t,e)}}function S0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function A0(t){var e=S0();return function(){var i=Oe(t),u;if(e){var a=Oe(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return w0(this,u)}}function R0(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return c([o,d])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var ga=function(t){m0(n,t);var e=A0(n);function n(i){y0(this,n);var u;return u=e.call(this,i),ci(oi(u),"controlType","list"),ci(oi(u),"props",void 0),u.props=new li(oi(u),i==null?void 0:i.props,"Designer"),u}return v0(n,[{key:"validate",value:function(u,a){var r=this,l=this,c=function(){return vt(Oe(n.prototype),"validate",r)};return h0(function(){return R0(this,function(o){switch(o.label){case 0:return[4,c().call(l,u)];case 1:return o.sent(),[4,Promise.all(l.props.headers.map(function(d){return d.validate(u,a)}))];case 2:return o.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var u=vt(Oe(n.prototype),"toDataBindModel",this).call(this),a=u?[u]:[],r=this.id;return this.props.headers.reduce(function(l,c){var o=c.toDataBindModel(r);if(Array.isArray(o)){var d=o.filter(function(v){return!!v});return Ql(l).concat(Ql(d))}return o&&l.push(o),l},a)}},{key:"toSchema",value:function(){var u=vt(Oe(n.prototype),"toSchema",this).call(this),a=this.props.headers.map(function(r){return r.toSchema()});return Gl(zl({},u),{props:Gl(zl({},this.props),{headers:a})})}}]),n}(O);ci(ga,"controlFieldType",b.LIST);function mt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function T0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function B0(t,e,n){return e&&Xl(t.prototype,e),n&&Xl(t,n),t}function ba(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function si(t){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},si(t)}function P0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_a(t,e)}function x0(t,e){return e&&(D0(e)==="object"||typeof e=="function")?e:mt(t)}function _a(t,e){return _a=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},_a(t,e)}function D0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function F0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function k0(t){var e=F0();return function(){var i=si(t),u;if(e){var a=si(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return x0(this,u)}}var Jl=function(t){P0(n,t);var e=k0(n);function n(i){T0(this,n);var u;return u=e.call(this,i),ba(mt(u),"controlType","list"),ba(mt(u),"children",void 0),ba(mt(u),"props",void 0),u.props=new li(mt(u),i==null?void 0:i.props,"Runtime"),ve(mt(u),"children",i==null?void 0:i.children,void 0,"Runtime"),u}return B0(n,[{key:"length",get:function(){return this.children.length}}]),n}(X);function J(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wa(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Y(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function di(t){return di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},di(t)}function Ca(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ea(t,e)}function O0(t,e){return e&&(M0(e)==="object"||typeof e=="function")?e:J(t)}function Ea(t,e){return Ea=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ea(t,e)}function M0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Ia(t){var e=$0();return function(){var i=di(t),u;if(e){var a=di(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return O0(this,u)}}var be=function(t){Ca(n,t);var e=Ia(n);function n(i){wa(this,n);var u;return u=e.call(this,i),Y(J(u),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),Y(J(u),"width",{type:"number",required:!1,message:h.getMessage("pleaseEnterColumnWidth")}),u.width.required=i.widthType==="px",u}return n}(z),W=function(t){Ca(n,t);var e=Ia(n);function n(i){wa(this,n);var u;u=e.call(this,i),Y(J(u),"widthType",void 0),Y(J(u),"width",void 0),Y(J(u),"caption",void 0),Y(J(u),"dataBind",void 0),Y(J(u),"autoWidth",void 0),Y(J(u),"fixed",void 0),Y(J(u),"sort",void 0),Y(J(u),"align",void 0),Y(J(u),"colSpan",void 0),Y(J(u),"autoHeight",void 0),Y(J(u),"children",void 0);var a;u.width=(a=i==null?void 0:i.width)!==null&&a!==void 0?a:150,u.widthType=(i==null?void 0:i.widthType)||"auto";var r;u.caption=(r=i==null?void 0:i.caption)!==null&&r!==void 0?r:"";var l;u.fixed=(l=i==null?void 0:i.fixed)!==null&&l!==void 0?l:"none",u.autoWidth=new yl(i==null?void 0:i.autoWidth),u.dataBind=new me(i==null?void 0:i.dataBind);var c;u.sort=(c=i==null?void 0:i.sort)!==null&&c!==void 0?c:!0,u.align=i==null?void 0:i.align,u.colSpan=i==null?void 0:i.colSpan;var o;return u.autoHeight=(o=i==null?void 0:i.autoHeight)!==null&&o!==void 0?o:!1,u}return n}(G);Y(W,"Rules",be);var Zl=function(t){Ca(n,t);var e=Ia(n);function n(i){wa(this,n);var u;return u=e.call(this,i),Y(J(u),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:h.getMessage("PleaseSelectTheCorrectOptionSettings")}),Y(J(u),"options",[{type:"array",message:h.getMessage("isNotArray")}]),Y(J(u),"datasourceBind",[{type:"object",message:h.getMessage("isNotObject")}]),ia.call(J(u),i),u}return n}(be);function Qt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function L0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function N0(t,e,n){return e&&Yl(t.prototype,e),n&&Yl(t,n),t}function fi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function hi(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?hi=Reflect.get:hi=function(u,a,r){var l=W0(u,a);if(!!l){var c=Object.getOwnPropertyDescriptor(l,a);return c.get?c.get.call(r||u):c.value}},hi(t,e,n||t)}function gt(t){return gt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gt(t)}function V0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Sa(t,e)}function H0(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){fi(t,u,n[u])})}return t}function j0(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),n.push.apply(n,i)}return n}function q0(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):j0(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function U0(t,e){return e&&(K0(e)==="object"||typeof e=="function")?e:Qt(t)}function Sa(t,e){return Sa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Sa(t,e)}function W0(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=gt(t),t!==null););return t}function K0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function z0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function G0(t){var e=z0();return function(){var i=gt(t),u;if(e){var a=gt(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return U0(this,u)}}var p=function(t){V0(n,t);var e=G0(n);function n(i){L0(this,n);var u;return u=e.call(this,i),fi(Qt(u),"controlType","column"),fi(Qt(u),"props",void 0),fi(Qt(u),"children",void 0),u.props=new W(i==null?void 0:i.props),ve(Qt(u),"children",i==null?void 0:i.children,void 0,"Designer"),u}return N0(n,[{key:"toSchema",value:function(){var u=hi(gt(n.prototype),"toSchema",this).call(this);return q0(H0({},u),{children:this.children?this.children.map(function(a){return a.toSchema()}):[]})}}]),n}(O);function Xt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Q0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Aa(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yi(t){return yi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yi(t)}function X0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ra(t,e)}function J0(t,e){return e&&(Z0(e)==="object"||typeof e=="function")?e:Xt(t)}function Ra(t,e){return Ra=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ra(t,e)}function Z0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Y0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function p0(t){var e=Y0();return function(){var i=yi(t),u;if(e){var a=yi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return J0(this,u)}}var ee=function(t){X0(n,t);var e=p0(n);function n(i){Q0(this,n);var u;return u=e.call(this,i),Aa(Xt(u),"controlType","column"),Aa(Xt(u),"props",void 0),Aa(Xt(u),"children",void 0),u.props=new W(i==null?void 0:i.props),ve(Xt(u),"children",i==null?void 0:i.children,void 0,"Runtime"),u}return n}(X);function pl(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function eb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function tb(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function vi(t){return vi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vi(t)}function nb(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ta(t,e)}function ib(t,e){return e&&(ub(e)==="object"||typeof e=="function")?e:pl(t)}function Ta(t,e){return Ta=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ta(t,e)}function ub(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ab(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function rb(t){var e=ab();return function(){var i=vi(t),u;if(e){var a=vi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return ib(this,u)}}var Ba=function(t){nb(n,t);var e=rb(n);function n(i){eb(this,n);var u;return u=e.call(this,i),tb(pl(u),"dataBind",void 0),u.dataBind=new me(i==null?void 0:i.dataBind),u}return n}(H);function Pa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function eo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function mi(t){return mi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mi(t)}function ob(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xa(t,e)}function cb(t,e){return e&&(sb(e)==="object"||typeof e=="function")?e:Pa(t)}function xa(t,e){return xa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},xa(t,e)}function sb(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function db(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function fb(t){var e=db();return function(){var i=mi(t),u;if(e){var a=mi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return cb(this,u)}}var hb=function(t){ob(n,t);var e=fb(n);function n(i){lb(this,n);var u;return u=e.call(this,i),eo(Pa(u),"controlType","search"),eo(Pa(u),"props",void 0),u.props=new Ba(i==null?void 0:i.props),u}return n}(q);function Da(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function to(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gi(t){return gi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gi(t)}function vb(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Fa(t,e)}function mb(t,e){return e&&(gb(e)==="object"||typeof e=="function")?e:Da(t)}function Fa(t,e){return Fa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Fa(t,e)}function gb(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function bb(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function _b(t){var e=bb();return function(){var i=gi(t),u;if(e){var a=gi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return mb(this,u)}}var wb=function(t){vb(n,t);var e=_b(n);function n(i){yb(this,n);var u;return u=e.call(this,i),to(Da(u),"controlType","search"),to(Da(u),"props",void 0),u.props=new Ba(i==null?void 0:i.props),u}return n}(U);function Cb(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Eb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bi(t){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bi(t)}function Ib(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ka(t,e)}function Sb(t,e){return e&&(Ab(e)==="object"||typeof e=="function")?e:Cb(t)}function ka(t,e){return ka=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ka(t,e)}function Ab(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Rb(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Tb(t){var e=Rb();return function(){var i=bi(t),u;if(e){var a=bi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Sb(this,u)}}var Oa=function(t){Ib(n,t);var e=Tb(n);function n(i){return Eb(this,n),e.call(this,i)}return n}(H);function Ma(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Bb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function no(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _i(t){return _i=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_i(t)}function Pb(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$a(t,e)}function xb(t,e){return e&&(Db(e)==="object"||typeof e=="function")?e:Ma(t)}function $a(t,e){return $a=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},$a(t,e)}function Db(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Fb(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function kb(t){var e=Fb();return function(){var i=_i(t),u;if(e){var a=_i(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return xb(this,u)}}var Ob=function(t){Pb(n,t);var e=kb(n);function n(i){Bb(this,n);var u;return u=e.call(this,i),no(Ma(u),"controlType","wrap"),no(Ma(u),"props",void 0),u.props=new Oa(i==null?void 0:i.props),u}return n}(q);function La(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Mb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function io(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function wi(t){return wi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wi(t)}function $b(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Na(t,e)}function Lb(t,e){return e&&(Nb(e)==="object"||typeof e=="function")?e:La(t)}function Na(t,e){return Na=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Na(t,e)}function Nb(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Vb(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Hb(t){var e=Vb();return function(){var i=wi(t),u;if(e){var a=wi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Lb(this,u)}}var jb=function(t){$b(n,t);var e=Hb(n);function n(i){Mb(this,n);var u;return u=e.call(this,i),io(La(u),"controlType","wrap"),io(La(u),"props",void 0),u.props=new Oa(i==null?void 0:i.props),u}return n}(U);function Me(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:h.getMessage("pleaseEnterForm")}}}])}class Va extends G{constructor(e){var n,i,u,a,r,l;super(e),this.fontSize=(n=e==null?void 0:e.fontSize)!=null?n:"14px",this.color=(i=e==null?void 0:e.color)!=null?i:"#646A73",this.icon=(u=e==null?void 0:e.icon)!=null?u:"page-hint",this.showState=(a=e==null?void 0:e.showState)!=null?a:"text",this.content=(r=e==null?void 0:e.content)!=null?r:"\u8BF4\u660E\u6587\u5B57",this.align=(l=e==null?void 0:e.align)!=null?l:""}}class uo extends O{constructor(e){super(e),this.props=new Va(e==null?void 0:e.props)}static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}uo.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}];class qb extends X{constructor(e){super(e),this.props=new Va(e==null?void 0:e.props)}static get controlType(){return"text"}}var ao={Designer:uo,Runtime:qb,Property:Va};class Ha extends G{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",this.url=(i=e==null?void 0:e.url)!=null?i:"",this.openMode=(u=e==null?void 0:e.openMode)!=null?u:"new"}}class ja extends O{constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}ja.controlEventKeys=["on_click"],ja.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}];class Ub extends X{constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}static get controlType(){return"link"}}var ro={Designer:ja,Runtime:Ub,Property:Ha};class ie extends G{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(r=e==null?void 0:e.icon)!=null?r:"iconfenlei2",this.defaultState=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.command=(c=e==null?void 0:e.command)!=null?c:"custom",this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.optObj=new ym((d=e==null?void 0:e.optObj)!=null?d:{})}}class ne extends O{constructor(e){super(e),this.props=new ie(e==null?void 0:e.props)}static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}ne.slots=["grid-table-toolbar-slot","action-bar-slot",Kr.DEFAULT],ne.controlEventKeys=["on_click"],ne.setting=[{key:"button-content",visible:!0},{key:"button-opt-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class le extends X{constructor(e){super(e),this.props=new ie(e==null?void 0:e.props)}static get controlType(){return"button"}}var lo={Designer:ne,Runtime:le,Property:ie},$e=(t=>(t.ShowBizKey="is_show_biz_key",t.ShowSubmitUser="is_show_submit_user",t.ShowSubmitTime="is_show_submit_time",t.ShowSubmitDept="is_show_submit_dept",t.ShowCurrentApprovar="is_show_current_approvar",t.ShowTitle="is_show_title",t))($e||{}),oo=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(oo||{}),co=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(co||{});class Ci{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:ye(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var qa=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(qa||{});class Ei{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:ye(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var Ua=(t=>(t.SOLID="solid-line",t.DASHED="dashed-line",t.BOLD_SOLID="bold-solid-line",t.BOLD_DASHED="bold-dashed-line",t.DOUBLE_SOLID="double-solid-line",t.DOUBLE_DASHED="double-dashed-line",t))(Ua||{});class Wa{constructor(e){var n,i,u,a,r,l,c,o;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new qt((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(u=e==null?void 0:e.signatureType)!=null?u:[],this.telephone=(r=e==null?void 0:e.telephone)!=null?r:new qt((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(c=e==null?void 0:e.company)!=null?c:new qt((l=e==null?void 0:e.company)!=null?l:{type:"form"}),this.remark=(o=e==null?void 0:e.remark)!=null?o:""}}class so{constructor(e){var n,i,u,a,r,l;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(u=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(c=>new Wa(c)))!=null?u:[new Wa],this.statusControl=(a=e==null?void 0:e.statusControl)!=null?a:"",this.completeControl=(r=e==null?void 0:e.completeControl)!=null?r:"",this.completeTimeControl=(l=e==null?void 0:e.completeTimeControl)!=null?l:""}}class Jt{constructor(e){var n,i,u,a,r,l,c;this.id=(n=e==null?void 0:e.id)!=null?n:ye(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(u=e==null?void 0:e.dataCode)!=null?u:"",this.svcCode=(a=e==null?void 0:e.svcCode)!=null?a:"",this.name=(r=e==null?void 0:e.name)!=null?r:"",this.fieldList=(l=e==null?void 0:e.fieldList)!=null?l:[],this.active=(c=e==null?void 0:e.active)!=null?c:!1}}class Ka{constructor(e){var n,i;this.active=(n=e==null?void 0:e.active)!=null?n:!1,this.text=(i=e==null?void 0:e.text)!=null?i:""}}class fo{constructor(e){var n,i,u,a;this.types=(n=e==null?void 0:e.types)!=null?n:["word","ppt","excel"],this.history=(i=e==null?void 0:e.history)!=null?i:!1,this.collaborativeRecord=(u=e==null?void 0:e.collaborativeRecord)!=null?u:!1,this.logicToDelete=(a=e==null?void 0:e.logicToDelete)!=null?a:!0,this.watermark=new Ka(e==null?void 0:e.watermark),this.autoRename=new Ka(e==null?void 0:e.autoRename)}}class ho{constructor(e){this.dataCode=e.dataCode}}class yo{constructor(e){var n,i,u;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(u=(i=e==null?void 0:e.templateList)==null?void 0:i.map(a=>new ho(a)))!=null?u:[]}}class vo{constructor(e){var n,i,u;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(u=(i=e==null?void 0:e.templateList)==null?void 0:i.map(a=>new Jt(a)))!=null?u:[new Jt({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}const mo=480;function Zt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class go{constructor(e){var n,i,u,a,r;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(i=e==null?void 0:e.fileName)!=null?i:"",this.ruleName=(u=e==null?void 0:e.ruleName)!=null?u:"",this.isDefault=(a=e.isDefault)!=null?a:!1,this.rules=(r=e.rules)!=null?r:[]}}class bo{constructor(e){var n,i,u;this.direction=(n=e==null?void 0:e.direction)!=null?n:"row",this.justifyContent=(i=e==null?void 0:e.justifyContent)!=null?i:"flex-start",this.alignItems=(u=e==null?void 0:e.alignItems)!=null?u:"flex-start"}}var _o=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(_o||{}),za=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(za||{}),Ii=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(Ii||{}),Le=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Le||{}),Ga=(t=>(t.ALL="all",t.ADMIN="admin",t))(Ga||{});class Qa extends G{constructor(e){var n,i;super(e),this.color=(n=e==null?void 0:e.color)!=null?n:"#000",this.lineStyle=(i=e==null?void 0:e.lineStyle)!=null?i:Ua.SOLID}}class wo extends O{constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}wo.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]}];class Wb extends X{constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlType(){return"divider"}}var Co={Designer:wo,Runtime:Wb,Property:Qa};class Kb extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes($e.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:h.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:h.getMessage("bizKeyNotBindFiled")}},message:h.getMessage("bizKeyNotBindFiled")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:h.getMessage("pleaseSelectOneField")})}}class Si extends G{constructor(e){var n,i,u,a;super(e),this.dataBind=new me(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[$e.ShowSubmitUser,$e.ShowSubmitDept,$e.ShowSubmitTime,$e.ShowCurrentApprovar,$e.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:bt==null?void 0:bt.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}Si.Rules=Kb;class bt extends O{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}}bt.controlFieldType=b.AUTO_NUMBER,bt.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}];class zb extends X{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"title"}}var Eo={Designer:bt,Runtime:zb,Property:Si};class Gb extends z{constructor(e){super(e),this.formKey={type:"string",required:!0,message:h.getMessage("pleaseEnterForm")}}}class Ai extends ie{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:_t.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:_t.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}Ai.Rules=Gb;class _t extends ne{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlName(){return"\u521B\u5EFA\u5355\u636E"}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}_t.slots=["grid-table-toolbar-slot"],_t.controlEventKeys=["on_click","on_click_finish"],_t.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}];class Qb extends le{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var Io={Designer:_t,Runtime:Qb,Property:Ai};class Xb extends z{constructor(e){super(e),this.processKey=[{type:"string",message:h.getMessage("isNotString")},{type:"string",required:!0,message:h.getMessage("pleaseEnterProcess")}]}}class Ri extends ie{constructor(e){var n,i,u,a,r,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:wt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:wt.controlName,this.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(a=e==null?void 0:e.processKey)!=null?a:"",this.fieldCode=(r=e==null?void 0:e.fieldCode)!=null?r:"",this.employeeId=(l=e==null?void 0:e.employeeId)!=null?l:""}}Ri.Rules=Xb;class wt extends ne{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u63D0\u4EA4"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}wt.slots=["grid-table-toolbar-slot"],wt.controlEventKeys=["on_click","on_click_finish"],wt.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}];class Jb extends le{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var So={Designer:wt,Runtime:Jb,Property:Ri};class Xa extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ct.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ct.controlIcon}}class Ct extends ne{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}Ct.slots=["grid-table-toolbar-slot"],Ct.controlEventKeys=["on_click"],Ct.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}];class Zb extends le{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var Ao={Designer:Ct,Runtime:Zb,Property:Xa};class Ja extends ie{constructor(e){var n,i,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Et.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Et.controlName,this.templateType=(u=e==null?void 0:e.templateType)!=null?u:"system",this.templateList=(r=(a=e==null?void 0:e.templateList)==null?void 0:a.map(l=>new Jt(l)))!=null?r:[new Jt({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class Et extends ne{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u51FA"}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}Et.slots=["grid-table-toolbar-slot"],Et.controlEventKeys=["on_click","on_click_finish"],Et.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}];class Yb extends le{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var Ro={Designer:Et,Runtime:Yb,Property:Ja};class Za extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:It.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:It.controlIcon}}class It extends ne{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u51FA\u8BB0\u5F55"}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}It.slots=["grid-table-toolbar-slot"],It.controlEventKeys=["on_click"],It.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}];class pb extends le{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var To={Designer:It,Runtime:pb,Property:Za};class e_{constructor(e){this.dataCode=e.dataCode}}class Ya extends ie{constructor(e){var n,i,u,a,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:St.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:St.controlIcon,this.canImportList=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(l=>new e_(l)))!=null?a:[],this.templateType=(r=e==null?void 0:e.templateType)!=null?r:"system"}}class St extends ne{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u5165"}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}St.slots=["grid-table-toolbar-slot"],St.controlEventKeys=["on_click","on_click_finish"],St.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}];class t_ extends le{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var Bo={Designer:St,Runtime:t_,Property:Ya};function Ti(){return{dataCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:h.getMessage("pleaseSelectControl")}}}}}}class n_ extends z{constructor(e){super(e),this.fillPayload={type:"object",fields:ot({},Ti())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:h.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:ot({mode:{type:"string",required:!0,message:h.getMessage("pleaseSelectFillBackMode")}},Ti())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:h.getMessage("pleaseSelectControl")})}}class Bi extends ie{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Yt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Yt.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new wl(e==null?void 0:e.fillPayload),this.formBind=new Jv(e==null?void 0:e.formBind),this.fillBack=new Cl(e==null?void 0:e.fillBack)}}Bi.Rules=n_;class Yt extends ne{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlName(){return"\u8868\u5355\u64CD\u4F5C"}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}Yt.controlEventKeys=["on_click","on_click_finish"],Yt.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}];class i_ extends le{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Po={Designer:Yt,Runtime:i_,Property:Bi};class u_ extends z{constructor(e){super(e),this.fillPayload={type:"object",fields:ot({},Ti())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:h.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:h.getMessage("pleaseSelectAtLeastOneColumn")}}},this.fillBack={type:"object",fields:ot({mode:{type:"string",required:!0,message:h.getMessage("pleaseSelectFillBackMode")}},Ti())}}}class Pi extends ie{constructor(e){var n,i,u,a,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:pt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:pt.controlIcon,this.fillPayload=new wl(e==null?void 0:e.fillPayload),this.listPageBind=new Nu(e==null?void 0:e.listPageBind),this.fillBack=new Cl(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new qu(e==null?void 0:e.selectedContentConfig),this.isSelectedRowFill=(a=e==null?void 0:e.isSelectedRowFill)!=null?a:!1,this.disableFilling=(r=e==null?void 0:e.disableFilling)!=null?r:!0}}Pi.Rules=u_;class pt extends ne{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u9009\u62E9"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}pt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],pt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class a_ extends le{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var xo={Designer:pt,Runtime:a_,Property:Pi};class r_ extends z{constructor(e){super(e)}}class l_ extends He{constructor(e){super(e)}}class en extends G{constructor(e){super(e)}}en.Rules=r_,en.RuntimeRules=l_;class Do extends O{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}Do.setting=[];class o_ extends X{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var Fo={Designer:Do,Runtime:o_,Property:en};class c_ extends z{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:h.getMessage("pleaseSelectDashboard")},this.caption={type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class xi extends G{constructor(e){var n,i,u,a,r,l;super(e),this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top"}}xi.Rules=c_;class ko extends O{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}ko.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}];class s_ extends X{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var Oo={Designer:ko,Runtime:s_,Property:xi};class d_ extends z{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:h.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:h.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class Di extends G{constructor(e){var n,i,u;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(u=(i=e==null?void 0:e.viewList)==null?void 0:i.map(a=>new fm(a)))!=null?u:[]}}Di.Rules=d_;class Mo extends O{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u89C6\u56FE"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}Mo.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class f_ extends X{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var $o={Designer:Mo,Runtime:f_,Property:Di};class h_ extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:h.getMessage("pleaseSelectOcrType")},this.fillList={type:"array",validator(n,i,u){if(i.every(r=>!r.controlId)){u(h.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Fi extends ie{constructor(e){var n,i,u,a,r,l,c,o,d,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:At.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(l=e==null?void 0:e.content)!=null?l:At.controlName,this.icon=(c=e==null?void 0:e.icon)!=null?c:At.controlIcon,this.ocrType=(o=e==null?void 0:e.ocrType)!=null?o:"",this.fillList=(v=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new ue(g)))!=null?v:[]}}Fi.Rules=h_;class At extends ne{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlName(){return"\u6587\u5B57\u8BC6\u522B"}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}At.controlEventKeys=["on_click","on_click_finish"],At.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}];class y_ extends le{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var Lo={Designer:At,Runtime:y_,Property:Fi};class v_ extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,i,u){if(i.every(r=>!r.controlId)){u(h.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class ki extends ie{constructor(e){var n,i,u,a,r,l,c,o,d,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Rt.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(l=e==null?void 0:e.content)!=null?l:Rt.controlName,this.icon=(c=e==null?void 0:e.icon)!=null?c:Rt.controlIcon,this.invoiceCheck=(o=e==null?void 0:e.invoiceCheck)!=null?o:!0,this.fillList=(v=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new ue(g)))!=null?v:[]}}ki.Rules=v_;class Rt extends ne{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlName(){return"\u53D1\u7968\u8BC6\u522B"}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}Rt.controlEventKeys=["on_click","on_click_finish"],Rt.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}];class m_ extends le{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var No={Designer:Rt,Runtime:m_,Property:ki};class g_ extends z{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:h.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class Oi extends ie{constructor(e){var n,i,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Tt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Tt.controlName,this.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(l=>new go(l)))!=null?a:[],this.autoSelectTemplate=(r=e==null?void 0:e.autoSelectTemplate)!=null?r:!1}}Oi.Rules=g_;class Tt extends ne{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u6253\u5370"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}Tt.slots=["grid-table-toolbar-slot"],Tt.controlEventKeys=["on_click","on_click_finish"],Tt.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}];class b_ extends le{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var Vo={Designer:Tt,Runtime:b_,Property:Oi};class pa extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Bt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Bt.controlIcon}}class Bt extends ne{constructor(e){super(e),this.props=new pa(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u6253\u5370\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}Bt.slots=["grid-table-toolbar-slot"],Bt.controlEventKeys=["on_click"],Bt.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}];class __ extends le{constructor(e){super(e),this.props=new pa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Ho={Designer:Bt,Runtime:__,Property:pa};class w_ extends z{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:h.getMessage("pleaseEnterForm")})}}class Mi extends G{constructor(e){var n,i,u,a,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.code=e==null?void 0:e.code,this.command=(i=e==null?void 0:e.command)!=null?i:"custom",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(a=e==null?void 0:e.defaultState)!=null?a:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(r=e==null?void 0:e.isLoading)!=null?r:!1}}Mi.Rules=w_;class $i extends O{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlName(){return"\u64CD\u4F5C\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}$i.controlEventKeys=["on_click"],$i.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}];class C_ extends X{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var jo={Designer:$i,Runtime:C_,Property:Mi};class er extends G{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Pt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Pt.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"iconText",this.color=(r=e==null?void 0:e.color)!=null?r:"danger",this.isHide=(l=e==null?void 0:e.isHide)!=null?l:!1,this.defaultState=(c=e==null?void 0:e.defaultState)!=null?c:"default",this.command=(o=e==null?void 0:e.command)!=null?o:"custom",this.isLoading=(d=e==null?void 0:e.isLoading)!=null?d:!1}}class Pt extends O{constructor(e){super(e),this.props=new er(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u5220\u9664"}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}Pt.slots=["grid-table-toolbar-slot"],Pt.controlEventKeys=["on_click"],Pt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class E_ extends X{constructor(e){super(e),this.props=new er(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var qo={Designer:Pt,Runtime:E_,Property:er},I_=Object.freeze({__proto__:null,Text:ao,Link:ro,Button:lo,Divider:Co,Title:Eo,CreateFormListButton:Io,BatchSubmissionListButton:So,SubmissionRecordListButton:Ao,ExportListButton:Ro,ExportRecordListButton:To,ImportRecordListButton:Bo,FormSelectButton:Po,ListSelectButton:xo,Pagination:Fo,Dashboard:Oo,ListViewSelect:$o,TextOcrButton:Lo,InvoiceCheckButton:No,BatchPrintListButton:Vo,BatchPrintRecordListButton:Ho,OperationButton:jo,BatchDeleteButton:qo});class S_ extends Z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:h.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:h.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:h.getMessage("stringRangeError")},{pattern:"",message:""}],this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue[0].max=e.maxLength,this.defaultValue[0].min=e.minLength,this.defaultValue[0].message=h.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=Zt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class A_ extends L{constructor(e){super(e),this.push({type:"string",message:h.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:h.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Zt(e.regularRules.expression),message:e.regularRules.errMessage})}}class xt extends B{constructor(e){var n,i,u,a,r,l,c;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.regularRules=new El(e==null?void 0:e.regularRules),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:Dt.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.encrypted=(l=e==null?void 0:e.encrypted)!=null?l:!1,this.encryptedMode=(c=e==null?void 0:e.encryptedMode)!=null?c:""}}xt.Rules=S_,xt.RuntimeRules=A_;class Dt extends P{constructor(e){super(e),this.props=new xt(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}Dt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Dt.controlFieldType=b.VARCHAR,Dt.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}];class Uo extends x{constructor(e){super(e),this.props=new xt(e==null?void 0:e.props)}static get controlType(){return"input"}}Uo.controlFieldType=b.VARCHAR;var Wo={Designer:Dt,Runtime:Uo,Property:xt};class R_ extends ft{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:h.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class T_ extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:typeof e.limitMax=="number"?e.limitMax:void 0,min:typeof e.limitMin=="number"?e.limitMin:void 0})}}class tn extends B{constructor(e){var n,i,u,a,r,l,c,o,d,v,g,_,E;super(e),this.options=Ce((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.limitMin=(l=e==null?void 0:e.limitMin)!=null?l:"unlimited",this.limitMax=(c=e==null?void 0:e.limitMax)!=null?c:"unlimited",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:nn.controlName,this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(_=e==null?void 0:e.defaultShowOptions)!=null?_:!0,this.openMultistageFilling=(E=e==null?void 0:e.openMultistageFilling)!=null?E:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(w=>{var S;(S=this.multistageFilling)==null||S.push(new ue(w))}))}}tn.Rules=R_,tn.RuntimeRules=T_;class nn extends P{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}nn.controlEventKeys=["on_change","on_click"],nn.controlFieldType=b.ARRAY,nn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Ko extends x{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}Ko.controlFieldType=b.ARRAY;var zo={Designer:nn,Runtime:Ko,Property:tn};class B_ extends ft{constructor(e){super(e)}}class Li extends B{constructor(e){var n,i,u,a,r,l,c,o,d,v,g;super(e),this.options=Ce((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.defaultShowOptions=(l=e==null?void 0:e.defaultShowOptions)!=null?l:!0,this.optionsFormat=(c=e==null?void 0:e.optionsFormat)!=null?c:"horizontal",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:un.controlName,this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:"",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var E;(E=this.multistageFilling)==null||E.push(new ue(_))}))}}Li.Rules=B_;class un extends P{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}un.controlEventKeys=["on_change","on_click"],un.controlFieldType=b.VARCHAR,un.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Go extends x{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlType(){return"radio"}}Go.controlFieldType=b.VARCHAR;var Qo={Designer:un,Runtime:Go,Property:Li};class P_ extends Z{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:h.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}],this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=h.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:h.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=Zt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class x_ extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.rangeMax!==""?e.rangeMax:void 0,i=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:n,min:i,message:h.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Zt(e.regularRules.expression),message:e.regularRules.errMessage})}}class an extends B{constructor(e){var n,i,u,a,r,l,c,o,d,v,g,_,E;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:0,this.showUpperCase=(c=e==null?void 0:e.showUpperCase)!=null?c:!1,this.isShowUnit=(o=e==null?void 0:e.isShowUnit)!=null?o:!1,this.unitPosition=(d=e==null?void 0:e.unitPosition)!=null?d:"right",this.unit=(v=e==null?void 0:e.unit)!=null?v:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:rn.controlName,this.placeholder=(_=e==null?void 0:e.placeholder)!=null?_:"\u8BF7\u8F93\u5165",this.defaultValue=(E=e==null?void 0:e.defaultValue)!=null?E:"",this.regularRules=new El(e==null?void 0:e.regularRules)}}an.Rules=P_,an.RuntimeRules=x_;class rn extends P{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlName(){return"\u6570\u5B57"}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}rn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],rn.controlFieldType=b.DECIMAL,rn.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}];class Xo extends x{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlType(){return"number"}}Xo.controlFieldType=b.DECIMAL;var Jo={Designer:rn,Runtime:Xo,Property:an};class tr extends B{constructor(e){var n,i,u,a,r,l,c,o,d,v,g;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Be.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.caption=(r=e==null?void 0:e.caption)!=null?r:Ni.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165\u65E5\u671F",this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:"",this.limitDateList=(d=(o=e==null?void 0:e.limitDateList)==null?void 0:o.map(_=>new Ci(_)))!=null?d:[],this.allowDateRange=(v=e==null?void 0:e.allowDateRange)!=null?v:["",""],this.filterWeekend=(g=e==null?void 0:e.filterWeekend)!=null?g:!1}}class Ni extends P{constructor(e){super(e),this.props=new tr(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F"}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}Ni.controlFieldType=b.TIMESTAMP,Ni.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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}];class Zo extends x{constructor(e){super(e),this.props=new tr(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}Zo.controlFieldType=b.TIMESTAMP;var Yo={Designer:Ni,Runtime:Zo,Property:tr};class D_ extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide&&this.push({type:"object",fields:{max:{type:"string",required:e.required,message:this[0].message},min:{type:"string",required:e.required,message:this[0].message}}})}}class Vi extends B{constructor(e){var n,i,u,a,r,l,c,o,d,v,g;super(e),this.dataBind=new lm(e==null?void 0:e.dataBind),this.defaultValue=new om(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Be.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.rangeMin=(r=e==null?void 0:e.rangeMin)!=null?r:"",this.rangeMax=(l=e==null?void 0:e.rangeMax)!=null?l:"",this.placeholderStart=(c=e==null?void 0:e.placeholderStart)!=null?c:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(o=e==null?void 0:e.placeholderEnd)!=null?o:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",this.caption=(d=e==null?void 0:e.caption)!=null?d:Hi.controlName,this.limitDateList=(g=(v=e==null?void 0:e.limitDateList)==null?void 0:v.map(_=>new Ci(_)))!=null?g:[]}}Vi.RuntimeRules=D_;class Hi extends P{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}Hi.controlFieldType=b.TIMESCOPE,Hi.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}];class po extends x{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlType(){return"date-range"}}po.controlFieldType=b.TIMESCOPE;var ec={Designer:Hi,Runtime:po,Property:Vi};class F_ extends Z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:h.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:h.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:h.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=h.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class k_ extends L{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:h.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class ln extends B{constructor(e){var n,i,u,a,r;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:on.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.rowHeightSetting=new Gv(e==null?void 0:e.rowHeightSetting)}}ln.Rules=F_,ln.RuntimeRules=k_;class on extends P{constructor(e){super(e),this.props=new ln(e==null?void 0:e.props)}static get controlName(){return"\u591A\u884C\u6587\u672C"}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}on.controlEventKeys=["on_change","on_input","on_focus","on_blur"],on.controlFieldType=b.TEXT,on.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"row-height-setting",visible:!0},{key:"super-setting",visible:!0}];class tc extends x{constructor(e){super(e),this.props=new ln(e==null?void 0:e.props)}static get controlType(){return"textarea"}}tc.controlFieldType=b.TEXT;var nc={Designer:on,Runtime:tc,Property:ln};class O_ extends Z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:h.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:h.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:h.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=h.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class M_ extends L{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:h.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class cn extends B{constructor(e){var n,i,u,a,r;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:sn.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165"}}cn.Rules=O_,cn.RuntimeRules=M_;class sn extends P{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlName(){return"\u5BCC\u6587\u672C"}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}sn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],sn.controlFieldType=b.TEXT,sn.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}];class ic extends x{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}ic.controlFieldType=b.TEXT;var uc={Designer:sn,Runtime:ic,Property:cn};class $_ extends ft{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:h.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class ji extends B{constructor(e){var n,i,u,a,r,l,c,o,d,v;super(e),this.options=Ce((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:qi.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.allowCopyOptions=(c=e==null?void 0:e.allowCopyOptions)!=null?c:!1,this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(g=>{var _;(_=this.multistageFilling)==null||_.push(new ue(g))})),this.canViewForm=(d=e==null?void 0:e.canViewForm)!=null?d:!1,this.viewFormModelType=(v=e==null?void 0:e.viewFormModelType)!=null?v:"window",this.formBind=new st(e==null?void 0:e.formBind)}}ji.Rules=$_;class qi extends P{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}qi.controlFieldType=b.VARCHAR,qi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP,s.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ac extends x{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}static get controlType(){return"select"}}ac.controlFieldType=b.VARCHAR;var rc={Designer:qi,Runtime:ac,Property:ji};class L_ extends ft{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:h.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class N_ extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class dn extends B{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.options=Ce((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Ui.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.openMultistageFilling=(c=e==null?void 0:e.openMultistageFilling)!=null?c:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var g;(g=this.multistageFilling)==null||g.push(new ue(v))})),this.canViewForm=(o=e==null?void 0:e.canViewForm)!=null?o:!1,this.viewFormModelType=(d=e==null?void 0:e.viewFormModelType)!=null?d:"window",this.formBind=new st(e==null?void 0:e.formBind)}}dn.Rules=L_,dn.RuntimeRules=N_;class Ui extends P{constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u591A\u9009"}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}Ui.controlFieldType=b.ARRAY,Ui.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class lc extends x{constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}lc.controlFieldType=b.ARRAY;var oc={Designer:Ui,Runtime:lc,Property:dn};class V_ extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Wi extends B{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(c=e==null?void 0:e.caption)!=null?c:Ki.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.openMultistageFilling=(d=e==null?void 0:e.openMultistageFilling)!=null?d:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var g;(g=this.multistageFilling)==null||g.push(new ue(v))}))}}Wi.RuntimeRules=V_;class Ki extends P{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Ki.controlFieldType=b.EMPLOYEES,Ki.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}];class cc extends x{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}static get controlType(){return"employee"}}cc.controlFieldType=b.EMPLOYEES;var sc={Designer:Ki,Runtime:cc,Property:Wi};const H_=10485760,j_=104857600,q_=1048576e3;class U_ extends Z{constructor(e){super(e),this.maxSize={type:"number",min:0,max:q_,message:h.getMessage("attachmentMaxSize")}}}class W_ extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:h.getMessage("attachmentLimitError",{max:e.maxLimit,min:e.minLimit})})}}class Ft extends B{constructor(e){var n,i,u,a,r,l,c,o,d,v,g;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.resultShowType=(u=e==null?void 0:e.resultShowType)!=null?u:"simple",this.attachmentAccept=(a=e==null?void 0:e.attachmentAccept)!=null?a:[],this.maxLimit=(r=e==null?void 0:e.maxLimit)!=null?r:10,this.minLimit=(l=e==null?void 0:e.minLimit)!=null?l:0,this.maxSize=(c=e==null?void 0:e.maxSize)!=null?c:j_,this.caption=(o=e==null?void 0:e.caption)!=null?o:kt.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u4E0A\u4F20\u9644\u4EF6",this.isShowWatermark=(v=e==null?void 0:e.isShowWatermark)!=null?v:!1,this.watermarkFx=(g=e==null?void 0:e.watermarkFx)!=null?g:{}}}Ft.Rules=U_,Ft.RuntimeRules=W_;class kt extends P{constructor(e){super(e),this.props=new Ft(e==null?void 0:e.props)}static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}kt.controlEventKeys=["on_change"],kt.controlFieldType=b.FILE,kt.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}];class nr extends x{constructor(e){super(e),this.props=new Ft(e==null?void 0:e.props)}static get controlType(){return"attachment"}}nr.controlFieldType=b.FILE;var dc={Designer:kt,Runtime:nr,Property:Ft};const fc=class extends kt{static get controlName(){return"\u56FE\u7247"}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}constructor(t){var e,n,i,u;super(t),this.props.showType="image",this.props.caption=(n=(e=t==null?void 0:t.props)==null?void 0:e.caption)!=null?n:fc.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:"\u4E0A\u4F20\u56FE\u7247"}};let ir=fc;ir.controlFieldType=b.IMAGE,ir.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}];class K_ extends nr{static get controlType(){return"image"}constructor(e){var n,i,u,a,r,l;super(e),this.props.showType="image",this.props.maxLimit=(i=(n=e==null?void 0:e.props)==null?void 0:n.maxLimit)!=null?i:9,this.props.caption=(a=(u=e==null?void 0:e.props)==null?void 0:u.caption)!=null?a:"\u56FE\u7247",this.props.placeholder=(l=(r=e==null?void 0:e.props)==null?void 0:r.placeholder)!=null?l:"\u4E0A\u4F20\u56FE\u7247"}}class z_ extends Ft{constructor(e){super(e)}}var hc={Designer:ir,Runtime:K_,Property:z_};class G_ extends ft{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:h.getMessage("pleaseEnterNumberRange")}]}},this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=n,this.defaultValue.fields.amount[0].min=i,this.defaultValue.fields.amount[0].message=h.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:h.getMessage("numberRangeSetError")})}}class Q_ extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object");const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.push({type:"object",fields:{amount:[Nr(ot({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:h.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}],currency:{type:"string"}}})}}class fn extends B{constructor(e){var n,i,u,a,r,l,c,o,d,v,g,_;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(r=e==null?void 0:e.precision)!=null?r:2,this.dataBind=new am(e==null?void 0:e.dataBind),this.datasourceBind=new te((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new Hu({value:"name"})]}),this.defaultValue=new rm((c=e==null?void 0:e.defaultValue)!=null?c:{amount:"",currency:Wu.CNY}),this.unitPosition=(o=e==null?void 0:e.unitPosition)!=null?o:"right",this.options=Ce(e==null?void 0:e.options),this.caption=(d=e==null?void 0:e.caption)!=null?d:hn.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(g=e==null?void 0:e.submitSelectCurrency)!=null?g:!1,this.showUpperCase=(_=e==null?void 0:e.showUpperCase)!=null?_:!1}}fn.Rules=G_,fn.RuntimeRules=Q_;class hn extends P{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlName(){return"\u91D1\u989D"}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}hn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],hn.controlFieldType=b.MONEY,hn.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.SUBMIT_SELECT_CURRENCY,s.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"unit-position",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class yc extends x{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlType(){return"amount"}}yc.controlFieldType=b.MONEY;var vc={Designer:hn,Runtime:yc,Property:fn};class X_ extends Z{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:h.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:h.getMessage("theTotalScoreMustNotBeLessThan1")}],this.defaultValue={type:"number",min:0,max:5,message:h.getMessage("scoreDefaultValueRange")},this.defaultValue.max=e.totalScore,this.defaultValue.message=h.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:0})}}class J_ extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:h.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class yn extends B{constructor(e){var n,i,u,a,r,l,c;super(e),this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(i=e==null?void 0:e.scoreType)!=null?i:qa.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(r=(a=e==null?void 0:e.explain)==null?void 0:a.map(o=>new Ei(o)))!=null?r:Array(this.totalScore).fill(void 0).map(()=>new Ei),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:0,this.caption=(c=e==null?void 0:e.caption)!=null?c:vn.controlName}}yn.Rules=X_,yn.RuntimeRules=J_;class vn extends P{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlName(){return"\u8BC4\u5206"}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}postUpdate(e,n){if(e==="totalScore"){if(n===this.props.explain.length)return;if(this.props.explain.length>n)this.props.explain=this.props.explain.slice(0,n);else{const i=n-this.props.explain.length,u=Array(i).fill(void 0).map(()=>new Ei);this.props.explain.push(...u)}}super.postUpdate(e,n)}}vn.controlEventKeys=["on_change","on_click"],vn.controlFieldType=b.DECIMAL,vn.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}];class mc extends x{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlType(){return"score"}}mc.controlFieldType=b.DECIMAL;var gc={Designer:vn,Runtime:mc,Property:yn};class Z_ extends L{constructor(e){if(super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message:h.getMessage("pleaseSelectProvince")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:h.getMessage("pleaseSelectCity")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:h.getMessage("pleaseSelectDistrict")}),this.push(n)}}}class zi extends B{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Gi.controlName,this.defaultValueType=(i=e==null?void 0:e.defaultValueType)!=null?i:"default",this.addressType=(u=e==null?void 0:e.addressType)!=null?u:["province","city","district"],this.defaultValue=new cm((a=e==null?void 0:e.defaultValue)!=null?a:{}),this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9\u5730\u5740"}}zi.RuntimeRules=Z_;class Gi extends P{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Gi.controlFieldType=b.ADDRESS,Gi.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}];class bc extends x{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}static get controlName(){return"\u7701\u5E02\u533A"}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}}bc.controlFieldType=b.ADDRESS;var _c={Designer:Gi,Runtime:bc,Property:zi};class Y_ extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Qi extends B{constructor(e){var n,i,u,a,r,l,c,o,d,v,g;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:mn.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var E;(E=this.multistageFilling)==null||E.push(new ue(_))}))}}Qi.RuntimeRules=Y_;class mn extends P{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}mn.controlName="\u90E8\u95E8",mn.controlFieldType=b.DEPARTMENTS,mn.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}];class wc extends x{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}static get controlType(){return"department"}}wc.controlFieldType=b.DEPARTMENTS;var Cc={Designer:mn,Runtime:wc,Property:Qi};class ur extends B{constructor(e){var n,i,u;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:gn.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class gn extends P{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}static get controlName(){return"\u81EA\u52A8\u7F16\u53F7"}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}gn.controlEventKeys=["on_change"],gn.controlFieldType=b.AUTO_NUMBER,gn.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}];class Ec extends x{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}Ec.controlFieldType=b.AUTO_NUMBER;var Ic={Designer:gn,Runtime:Ec,Property:ur};class p_ extends Z{constructor(e){super(e),this.dataBind.fields.result.required=!1,this.dataBind.fields.result.fields.fieldCode.required=!1,this.dataBind.fields.result.fields.dataCode.required=!1,this.dataBind.fields.unit.required=!1,this.dataBind.fields.unit.fields.fieldCode.required=!1,this.dataBind.fields.unit.fields.dataCode.required=!1}}class ew extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:h.getMessage("isNotObject"),fields:{result:[{type:"number",message:h.getMessage("isNotNumber")}],unit:{type:"string",message:h.getMessage("isNotString")}}})}}class bn extends B{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(i=e==null?void 0:e.micrometer)!=null?i:!1,this.showUpperCase=(u=e==null?void 0:e.showUpperCase)!=null?u:!1,this.dataBind=new sm(e==null?void 0:e.dataBind),this.defaultValue=new dm(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:_n.controlName,this.unitPosition=(r=e==null?void 0:e.unitPosition)!=null?r:"right",this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165",this.scriptEcho=(c=e==null?void 0:e.scriptEcho)!=null?c:[],this.scriptSrc=(o=e==null?void 0:e.scriptSrc)!=null?o:"",this.calcOnMounted=(d=e==null?void 0:e.calcOnMounted)!=null?d:!1}}bn.Rules=p_,bn.RuntimeRules=ew;class _n extends P{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlName(){return"\u8BA1\u7B97\u516C\u5F0F"}static get controlType(){return"calc"}static get controlIcon(){return"iconcalculation_new"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}_n.controlEventKeys=["on_change"],_n.controlFieldType=b.CALC,_n.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"calc-on-mounted",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"unit-position",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Sc extends x{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"calc"}}Sc.controlFieldType=b.CALC;var Ac={Designer:_n,Runtime:Sc,Property:bn};class tw extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({validator(n,i){return e.required&&i.every(a=>!a)?Promise.reject(h.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class Xi extends B{constructor(e){var n,i,u,a,r,l;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.placeholderStart=(a=e==null?void 0:e.placeholderStart)!=null?a:"\u6700\u5C0F\u503C",this.placeholderEnd=(r=e==null?void 0:e.placeholderEnd)!=null?r:"\u6700\u5927\u503C",this.caption=(l=e==null?void 0:e.caption)!=null?l:Ji.controlName}}Xi.RuntimeRules=tw;class Ji extends P{constructor(e){super(e),this.props=new Xi(e==null?void 0:e.props)}static get controlName(){return"\u6570\u5B57\u533A\u95F4"}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}Ji.controlFieldType=b.DECIMAL_RANGE,Ji.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}];class Rc extends x{constructor(e){super(e),this.props=new Xi(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}Rc.controlFieldType=b.DECIMAL_RANGE;var Tc={Designer:Ji,Runtime:Rc,Property:Xi};class nw extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),e.required&&!e.isHide&&this.push({type:"array",fields:{0:{type:"string",required:e.required,message:this[0].message},1:{type:"string",required:e.required,message:this[0].message}}})}}class Zi extends B{constructor(e){var n,i,u,a,r,l,c,o,d,v,g,_;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:Be.DATE,this.dateFormat=(u=e==null?void 0:e.dateFormat)!=null?u:"",this.commonTimeSetting=(a=e==null?void 0:e.commonTimeSetting)!=null?a:[],this.setValueType=(r=e==null?void 0:e.setValueType)!=null?r:"custom",this.rangeMin=(l=e==null?void 0:e.rangeMin)!=null?l:"",this.rangeMax=(c=e==null?void 0:e.rangeMax)!=null?c:"",this.placeholderStart=(o=e==null?void 0:e.placeholderStart)!=null?o:"\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(d=e==null?void 0:e.placeholderEnd)!=null?d:"\u7ED3\u675F\u65E5\u671F",this.caption=(v=e==null?void 0:e.caption)!=null?v:Yi.controlName,this.limitDateList=(_=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(E=>new Ci(E)))!=null?_:[]}}Zi.RuntimeRules=nw;class Yi extends P{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}Yi.controlFieldType=b.ARRAY,Yi.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}];class Bc extends x{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}Bc.controlFieldType=b.ARRAY;var Pc={Designer:Yi,Runtime:Bc,Property:Zi};class iw extends Z{constructor(e){super(e),this.dataBind={type:"any"}}}class uw extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class wn extends B{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ot.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(r=e==null?void 0:e.isInlineEdit)!=null?r:!1}}wn.Rules=iw,wn.RuntimeRules=uw;class Ot extends P{constructor(e){super(e),this.props=new wn(e==null?void 0:e.props)}static get controlName(){return"Vue\u5BB9\u5668"}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}Ot.controlFieldType=b.ANY,Ot.controlEventKeys=[],Ot.slots=["grid-table-toolbar-slot",Kr.DEFAULT],Ot.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}];class xc extends x{constructor(e){super(e),this.props=new wn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}xc.controlFieldType=b.ANY;var Dc={Designer:Ot,Runtime:xc,Property:wn};class aw extends ft{constructor(e){super(e),this.listPageBind=[{type:"object",message:h.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:h.getMessage("isNotString")},{type:"string",required:!0,message:h.getMessage("pleaseEnterList")}]}}],this.formBind={type:"object",fields:{formKey:{type:"string",message:h.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class pi extends B{constructor(e){var n,i,u,a,r,l,c,o,d,v,g;super(e),this.options=Ce((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new Nu(e==null?void 0:e.listPageBind),this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:Cn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.openMultistageFilling=(l=e==null?void 0:e.openMultistageFilling)!=null?l:!1,this.showSelectedDetail=(c=e==null?void 0:e.showSelectedDetail)!=null?c:!1,this.selectedContentConfig=new qu(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var E;(E=this.multistageFilling)==null||E.push(new ue(_))})),this.canViewForm=(o=e==null?void 0:e.canViewForm)!=null?o:!1,this.viewFormModelType=(d=e==null?void 0:e.viewFormModelType)!=null?d:"window",this.formBind=new st(e==null?void 0:e.formBind),this.optionDisplayConfig=(v=e==null?void 0:e.optionDisplayConfig)!=null?v:[],this.canSearch=(g=e==null?void 0:e.canSearch)!=null?g:!1}}pi.Rules=aw;class Cn extends P{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlName(){return"\u5173\u8054\u5355\u9009"}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{optionDisplayConfig:i}=this.props;n.props.optionDisplayConfig=i}return n}}Cn.controlFieldType=b.VARCHAR,Cn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP,s.CAN_SEARCH]},{key:"relation-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"option-config-setting",visible:!0},{key:"super-setting",visible:!0}],Cn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class Fc extends x{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}Fc.controlFieldType=b.VARCHAR;var kc={Designer:Cn,Runtime:Fc,Property:pi};class ar extends xt{constructor(e){super(e)}}class Oc extends Dt{constructor(e){super(e),this.props=new ar(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}Oc.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}];class Mc extends x{constructor(e){super(e),this.props=new ar(e==null?void 0:e.props)}static get controlType(){return"search-input"}}Mc.controlFieldType=b.VARCHAR;var $c={Designer:Oc,Runtime:Mc,Property:ar};class rw extends Z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:h.getMessage("isNotObject")}],Xn.call(this,e,Ne.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:h.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:h.getMessage("rootNodeIsRequired")}}}])}}class lw extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class En extends B{constructor(e){var n,i,u,a,r,l,c,o,d,v,g,_,E,w,S,m,C,T,D;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Ne.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:"\u8BF7\u9009\u62E9",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(a=e==null?void 0:e.canSearch)!=null?a:!0,this.levelType=(r=e==null?void 0:e.levelType)!=null?r:"all",this.optionalLevel=(l=e==null?void 0:e.optionalLevel)!=null?l:1,this.containsSubNode=(c=e==null?void 0:e.containsSubNode)!=null?c:!1,this.isShowFilterItem=(o=e==null?void 0:e.isShowFilterItem)!=null?o:!1,this.isShowIncludeSub=(d=e==null?void 0:e.isShowIncludeSub)!=null?d:!1,this.isDefaultCheckSub=(v=e==null?void 0:e.isDefaultCheckSub)!=null?v:!1,this.defaultCollapse=(g=e==null?void 0:e.defaultCollapse)!=null?g:"all",this.defaultCollapseLevel=(_=e==null?void 0:e.defaultCollapseLevel)!=null?_:1,this.datasourceBind=new bl((E=e==null?void 0:e.datasourceBind)!=null?E:{attributes:Ne.controlCustomAttributes}),this.filterItemDatasourceBind=new bl((w=e==null?void 0:e.filterItemDatasourceBind)!=null?w:{attributes:Ne.controlCustomAttributes}),this.openMultistageFilling=(S=e==null?void 0:e.openMultistageFilling)!=null?S:!1,this.defaultDisplay=(m=e==null?void 0:e.defaultDisplay)!=null?m:!1,this.multistageFilling=(T=(C=e==null?void 0:e.multistageFilling)==null?void 0:C.map(k=>new ue(k)))!=null?T:[],this.defaultValue=(D=e==null?void 0:e.defaultValue)!=null?D:[]}}En.Rules=rw,En.RuntimeRules=lw;class Ne extends P{constructor(e){super(e),this.props=new En(e==null?void 0:e.props)}static get controlName(){return"\u6811"}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}Ne.controlEventKeys=["on_change","on_click"],Ne.controlFieldType=b.ARRAY,Ne.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.CAN_SEARCH,s.DEFAULT_DISPLAY,s.CONTAINS_SUB_NODE,s.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Lc extends x{constructor(e){super(e),this.props=new En(e==null?void 0:e.props)}static get controlType(){return"tree"}}Lc.controlFieldType=b.ARRAY;var Nc={Designer:Ne,Runtime:Lc,Property:En};class ow extends Z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:h.getMessage("isNotObject")}],this.externalScope={type:"any"},Xn.call(this,e,Mt.controlCustomAttributes),e.externalType===Le.ASSIGN&&(this.externalScope={type:"array",required:!0,message:h.getMessage("pleaseAssignExternal")})}}class cw extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class In extends B{constructor(e){var n,i,u,a,r,l,c,o,d,v,g,_,E,w;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(c=e==null?void 0:e.caption)!=null?c:Mt.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.datasourceBind=new Kn((d=e==null?void 0:e.datasourceBind)!=null?d:{attributes:Mt.controlCustomAttributes}),this.datasourceType=(v=e==null?void 0:e.datasourceType)!=null?v:za.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:Ga.ADMIN,this.externalType=(_=e==null?void 0:e.externalType)!=null?_:Le.ALL,this.externalScope=(E=e==null?void 0:e.externalScope)!=null?E:[],this.openMultistageFilling=(w=e==null?void 0:e.openMultistageFilling)!=null?w:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(S=>{var m;(m=this.multistageFilling)==null||m.push(new ue(S))}))}}In.Rules=ow,In.RuntimeRules=cw;class Mt extends P{constructor(e){super(e),this.props=new In(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Mt.controlFieldType=b.EMPLOYEES,Mt.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}];class Vc extends x{constructor(e){super(e),this.props=new In(e==null?void 0:e.props)}static get controlType(){return"employee2"}}Vc.controlFieldType=b.EMPLOYEES;var Hc={Designer:Mt,Runtime:Vc,Property:In};class sw extends Z{constructor(e){super(e),this.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:e.signatureConfig.undersignedList.reduce((n,i,u)=>(n[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator(a,r,l){if(i.type==="public"&&Du(r.value)&&r.value.length===0){l("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}l()}},company:{type:"object",required:!0,validator(a,r,l){if(i.type==="public"&&i.signatureType.includes("company")&&Du(r.value)&&r.value.length===0){l("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}l()}}}},n),{})}}}}}class eu extends B{constructor(e){var n,i,u,a,r,l;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:Sn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u53D1\u8D77\u7B7E\u7F72",this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"text",this.color=(r=e==null?void 0:e.color)!=null?r:"primary",this.icon=(l=e==null?void 0:e.icon)!=null?l:"iconfenlei2",this.signatureConfig=new so(e==null?void 0:e.signatureConfig)}}eu.Rules=sw;class Sn extends P{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}static get controlName(){return"\u7535\u5B50\u7B7E\u7AE0"}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}Sn.controlEventKeys=["on_click","on_click_finish"],Sn.controlFieldType=b.VARCHAR,Sn.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}];class jc extends x{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}jc.controlFieldType=b.VARCHAR;var qc={Designer:Sn,Runtime:jc,Property:eu};class dw extends Z{constructor(e){super(e),this.content={type:"string",required:!0,message:h.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(h.getMessage("pleaseEnterWatermark"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(h.getMessage("pleaseEnterFileName"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(h.getMessage("pleaseChooseAtLeastOne"));return}u()}}}}class fw extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class An extends B{constructor(e){var n,i,u,a,r,l,c,o,d,v,g,_;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Rn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u65B0\u5EFA\u6587\u6863",this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(a=e==null?void 0:e.addLocal)!=null?a:!0,this.addOnline=(r=e==null?void 0:e.addOnline)!=null?r:!0,this.canEdit=(l=e==null?void 0:e.canEdit)!=null?l:!0,this.canDownload=(c=e==null?void 0:e.canDownload)!=null?c:!0,this.canExport=(o=e==null?void 0:e.canExport)!=null?o:!0,this.canDelete=(d=e==null?void 0:e.canDelete)!=null?d:!1,this.maxSize=(v=e==null?void 0:e.maxSize)!=null?v:H_,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new fo(e==null?void 0:e.wpsSetting),this.revisionsMode=(_=e==null?void 0:e.revisionsMode)!=null?_:!1}}An.Rules=dw,An.RuntimeRules=fw;class Rn extends P{constructor(e){super(e),this.props=new An(e==null?void 0:e.props)}static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}Rn.controlEventKeys=["on_change","on_wps_open"],Rn.controlFieldType=b.FILE,Rn.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}];class Uc extends x{constructor(e){super(e),this.props=new An(e==null?void 0:e.props)}static get controlType(){return"wps"}}Uc.controlFieldType=b.FILE;var Wc={Designer:Rn,Runtime:Uc,Property:An};class hw extends Z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:h.getMessage("isNotObject")}],this.businessScope={type:"any"},Xn.call(this,e,qe.controlCustomAttributes),e.businessType===Le.ASSIGN&&(this.businessScope={type:"array",required:!0,message:h.getMessage("pleaseAssignBusiness")})}}class yw extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Tn extends B{constructor(e){var n,i,u,a,r,l,c,o,d,v,g,_,E,w,S;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:qe.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new Kn((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:qe.controlCustomAttributes}),this.datasourceType=(_=e==null?void 0:e.datasourceType)!=null?_:Ii.INTERNAL,this.businessScope=(E=e==null?void 0:e.businessScope)!=null?E:[],this.businessType=(w=e==null?void 0:e.businessType)!=null?w:Le.ALL,this.openMultistageFilling=(S=e==null?void 0:e.openMultistageFilling)!=null?S:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var C;(C=this.multistageFilling)==null||C.push(new ue(m))}))}}Tn.Rules=hw,Tn.RuntimeRules=yw;class qe extends P{constructor(e){super(e),this.props=new Tn(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}qe.controlName="\u90E8\u95E8",qe.controlFieldType=b.DEPARTMENTS,qe.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}];class Kc extends x{constructor(e){super(e),this.props=new Tn(e==null?void 0:e.props)}static get controlType(){return"department2"}}Kc.controlFieldType=b.DEPARTMENTS;var zc={Designer:qe,Runtime:Kc,Property:Tn};class vw extends Z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:h.getMessage("isNotObject")}],this.businessScope={type:"any"},Xn.call(this,e,Ue.controlCustomAttributes),e.businessType===Le.ASSIGN&&(this.businessScope={type:"array",required:!0,message:h.getMessage("pleaseAssignBusiness")})}}class mw extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Bn extends B{constructor(e){var n,i,u,a,r,l,c,o,d,v,g,_,E,w,S,m,C,T;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.listPageBind=new Nu(e==null?void 0:e.listPageBind),this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Ue.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u9009\u62E9\u7EC4\u7EC7",this.datasourceBind=new im((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Ue.controlCustomAttributes}),this.datasourceType=(_=e==null?void 0:e.datasourceType)!=null?_:Ii.INTERNAL,this.businessScope=(E=e==null?void 0:e.businessScope)!=null?E:[],this.businessType=(w=e==null?void 0:e.businessType)!=null?w:Le.ALL,this.organizingFunction=(S=e==null?void 0:e.organizingFunction)!=null?S:void 0,this.organizationView=(m=e==null?void 0:e.organizationView)!=null?m:void 0,this.showSelectedDetail=(C=e==null?void 0:e.showSelectedDetail)!=null?C:!1,this.selectedContentConfig=new qu(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(T=e==null?void 0:e.openMultistageFilling)!=null?T:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(D=>{var k;(k=this.multistageFilling)==null||k.push(new ue(D))}))}}Bn.Rules=vw,Bn.RuntimeRules=mw;class Ue extends P{constructor(e){super(e),this.props=new Bn(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"organization-selection"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}Ue.controlName="\u4E1A\u52A1\u7EC4\u7EC7",Ue.controlFieldType=b.DEPARTMENTS,Ue.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}];class Gc extends x{constructor(e){super(e),this.props=new Bn(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}Gc.controlFieldType=b.DEPARTMENTS;var Qc={Designer:Ue,Runtime:Gc,Property:Bn};class gw extends Z{constructor(e){super(e),this.dataBind={type:"any"}}}class bw extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class Pn extends B{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:xn.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(r=e==null?void 0:e.isInlineEdit)!=null?r:!1}}Pn.Rules=gw,Pn.RuntimeRules=bw;class xn extends P{constructor(e){super(e),this.props=new Pn(e==null?void 0:e.props)}static get controlName(){return"Vue\u9875\u9762"}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return A.VUE_PAGE}}xn.controlFieldType=b.ANY,xn.controlEventKeys=[],xn.setting=[];class Xc extends x{constructor(e){super(e),this.props=new Pn(e==null?void 0:e.props)}static get controlType(){return A.VUE_PAGE}}Xc.controlFieldType=b.ANY;var Jc={Designer:xn,Runtime:Xc,Property:Pn},_w=Object.freeze({__proto__:null,Input:Wo,Checkbox:zo,Radio:Qo,Number:Jo,DatePicker:Yo,DateRange:ec,Textarea:nc,RichText:uc,Select:rc,SelectMultiple:oc,Employee:sc,Image:hc,Attachment:dc,Amount:vc,Score:gc,Address:_c,Department:Cc,AutoNumber:Ic,Calc:Ac,SearchNumberRange:Tc,SearchDateRange:Pc,VueFormItem:Dc,SelectRelation:kc,SearchInput:$c,Tree:Nc,Employee2:Hc,ElectronicSignature:qc,WPS:Wc,Department2:zc,OrganizationSelection:Qc,VuePage:Jc});class Zc extends q{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Zc.excludes=[A.GRID];class ww extends U{static get controlType(){return"grid"}constructor(e){super(e)}}var Yc={Designer:Zc,Runtime:ww,Property:H};const Cw=24;class We extends H{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:Cw,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class Dn extends q{constructor(e){super(e),this.props=new We(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}}Dn.excludes=[A.COL,A.SUBTABLE,A.SUBTABLE_COLUMN,A.GRID_LAYOUT_CONTAINER,A.DIVIDER],Dn.childrenMaxLength=1;class rr extends U{constructor(e){super(e),this.props=new We(e==null?void 0:e.props)}static get controlType(){return"col"}}var pc={Designer:Dn,Runtime:rr,Property:We};class tu extends H{constructor(e){var n,i;super(e),this.layoutMode=(n=e==null?void 0:e.layoutMode)!=null?n:"select",this.gutter=(i=e==null?void 0:e.gutter)!=null?i:0}}class nu extends q{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}nu.excludes=[A.ROW],nu.setting=[{key:"col-setting",visible:!0}];class es extends U{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}static get controlType(){return"row"}}var ts={Designer:nu,Runtime:es,Property:tu};const Ew=4;class iu extends nu{static get controlName(){return"\u6805\u683C\u7B49\u5206\u884C"}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}iu.excludes=[A.GRID_ROW],iu.setting=[],iu.childrenMaxLength=Ew;class Iw extends es{static get controlType(){return"grid-row"}constructor(e){super(e)}}class Sw extends tu{constructor(e){super(e)}}var ns={Designer:iu,Runtime:Iw,Property:Sw};class Aw extends H.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}}}class uu extends H{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"\u5206\u7EC4",this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.collapse=(u=e==null?void 0:e.collapse)!=null?u:"none"}}uu.Rules=Aw;class lr extends q{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}lr.setting=[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],lr.excludes=[A.CARD_GROUP];class Rw extends U{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var is={Designer:lr,Runtime:Rw,Property:uu};class Tw extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:h.getMessage("pleaseEnterColumnWidth")},this.captionTip={type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class au extends H{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(i=e==null?void 0:e.fixed)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.isHideCaption=(r=e==null?void 0:e.isHideCaption)!=null?r:!1,this.metaAutoWidth=new Qv(e==null?void 0:e.metaAutoWidth)}}au.Rules=Tw;class he extends q{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}he.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",he.controlType="subtable-column",he.controlIcon="subtable-column",he.childrenMaxLength=1,he.excludes=[A.SUBTABLE,A.SUBTABLE_COLUMN,A.ROW,A.COL,A.CARD_GROUP,A.DIVIDER,A.TEXT],he.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}];class us extends U{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}us.controlType="subtable-column";var as={Designer:he,Runtime:us,Property:au};class or extends H{constructor(e){super(e)}}class Ke extends q{constructor(e){super(e),this.props=new or(e==null?void 0:e.props)}}Ke.controlName="\u660E\u7EC6\u5B50\u8868\u884C",Ke.controlType="subtable-row",Ke.controlIcon="subtable-row",Ke.childrenMaxLength=1,Ke.excludes=[A.SUBTABLE,A.SUBTABLE_COLUMN,A.SUBTABLE_ROW,A.ROW,A.COL,A.CARD_GROUP,A.DIVIDER,A.TEXT],Ke.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0}];class Bw extends U{constructor(e){super(e),this.props=new or(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var rs={Designer:Ke,Runtime:Bw,Property:or};class cr extends H{constructor(e){var n,i,u,a,r,l,c,o,d,v;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.fieldType=(r=e==null?void 0:e.fieldType)!=null?r:b.VARCHAR,this.fieldName=(l=e==null?void 0:e.fieldName)!=null?l:"",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.textCleanFormart=(c=e==null?void 0:e.textCleanFormart)!=null?c:!1,this.decimalKeepPrecision=(o=e==null?void 0:e.decimalKeepPrecision)!=null?o:0,this.timestampDateType=(d=e==null?void 0:e.timestampDateType)!=null?d:Be.DATE,this.departmentDisplayLevel=(v=e==null?void 0:e.departmentDisplayLevel)!=null?v:1}}class ze extends q{constructor(e){super(e),this.props=new cr(e==null?void 0:e.props)}}ze.controlName="\u5217\u8868\u5355\u5143\u683C",ze.controlType="gridtable-column",ze.controlIcon="gridtable-column",ze.childrenMaxLength=1,ze.excludes=[A.GRID_TABLE,A.GRID_TABLE_COLUMN,A.ROW,A.COL,A.CARD_GROUP,A.DIVIDER,A.TEXT],ze.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class ls extends U{constructor(e){super(e),this.props=new cr(e==null?void 0:e.props)}}ls.controlType="gridtable-column";var os={Designer:ze,Runtime:ls,Property:cr};class sr extends H{constructor(e){var n,i;super(e),this.childMinWidth=(n=e==null?void 0:e.childMinWidth)!=null?n:230,this.colGap=(i=e==null?void 0:e.colGap)!=null?i:24}}class dr extends q{constructor(e){super(e),this.props=new sr(e==null?void 0:e.props)}static get controlName(){return"\u6362\u884C\u5BB9\u5668"}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"icona-huanhangrongqi1"}}dr.excludes=[A.GRID_LAYOUT_CONTAINER,A.CARD_GROUP,A.TAB],dr.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class Pw extends U{constructor(e){super(e),this.props=new sr(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var cs={Designer:dr,Runtime:Pw,Property:sr};class fr extends H{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class xw extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}}}class ru extends H{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:kn.controlName}}ru.Rules=xw;class Fn extends q{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}static get controlName(){return"\u6807\u7B7E\u5355\u5143"}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}Fn.excludes=[A.TAB],Fn.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class Dw extends U{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var ss={Designer:Fn,Runtime:Dw,Property:ru};class kn extends q{constructor(e){var n;super(e),this.props=new fr(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Fn,new Fn]}static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}kn.excludes=[A.TAB],kn.controlEventKeys=["on_change_tab"],kn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class Fw extends U{constructor(e){super(e),this.props=new fr(e==null?void 0:e.props)}static get controlType(){return"tab"}}var ds={Designer:kn,Runtime:Fw,Property:fr};class fs extends H{constructor(e){super(e)}}class hs extends q{constructor(e){super(e),this.props=new fs({}),this.children=(e==null?void 0:e.children)||[new Dn({props:new We({span:12})}),new Dn({props:new We({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}hs.excludes=[A.GRID_ROW,A.ROW,A.GRID,A.SUBTABLE,A.TAB,A.TOOLBOX];class kw extends U{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new rr({props:new We({span:12})}),new rr({props:new We({span:12})})]}}var ys={Designer:hs,Runtime:kw,Property:fs};class Ow extends He{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Mw extends z{constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},this.joinRelation=[{type:"any"}],console.log("--ListViewControlPropertyRules--"),e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:h.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:h.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:h.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:h.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:h.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:h.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),ia.call(this,{optionConfig:"datasource",datasourceBind:e.datasourceBind,options:[]}),Array.isArray(this.datasourceBind)&&this.datasourceBind.length>1){const n=this.datasourceBind.find(i=>i.type==="object"&&i.fields);n&&(delete n.fields.valueFieldCode,delete n.fields.displayBoList)}}}class On extends H{constructor(e){var n,i,u,a,r,l,c,o,d,v,g,_;super(e),this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.isLoading=(n=e==null?void 0:e.isLoading)!=null?n:!1,this.isShowSubList=(i=e==null?void 0:e.isShowSubList)!=null?i:!1,this.triggerType=(u=e==null?void 0:e.triggerType)!=null?u:1,this.triggerFieldCode=(a=e==null?void 0:e.triggerFieldCode)!=null?a:"",this.sublistPage=new pv(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(r=e==null?void 0:e.isShowJoinRelation)!=null?r:!1,this.joinRelation=new tm(e==null?void 0:e.joinRelation),this.showType=(l=e==null?void 0:e.showType)!=null?l:"stretch",this.showFullScreen=(c=e==null?void 0:e.showFullScreen)!=null?c:!1,this.selectionType=(o=e==null?void 0:e.selectionType)!=null?o:"multiple",this.isFixedHeader=(d=e==null?void 0:e.isFixedHeader)!=null?d:!1,this.isShowSelection=(v=e==null?void 0:e.isShowSelection)!=null?v:!1,this.isAllLoaded=(g=e==null?void 0:e.isAllLoaded)!=null?g:!0,this.countType=e==null?void 0:e.countType,this.countLimit=(_=e==null?void 0:e.countLimit)!=null?_:1e5,this.rowStyle=new gm(e==null?void 0:e.rowStyle)}}On.Rules=Mw,On.RuntimeRules=Ow;class Mn extends q{constructor(e){super(e),this.props=new On(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u5BB9\u5668"}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}Mn.slotPosition={left:"list-view-left-slot"},Mn.excludes=[A.ROW],Mn.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"],Mn.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}];class $w extends U{constructor(e){super(e),this.props=new On(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var vs={Designer:Mn,Runtime:$w,Property:On};class Lw extends He{constructor(e){super(e),this.push({type:"object",fields:{}})}}class lu extends H{constructor(e){var n,i,u,a,r,l;super(e),this.save=new xe((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new xe((i=e==null?void 0:e.cancel)!=null?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new xe((u=e==null?void 0:e.saveAs)!=null?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new xe((a=e==null?void 0:e.print)!=null?a:{content:"\u6253\u5370",type:"print",isShow:!1}),this.custom=((r=e==null?void 0:e.custom)!=null?r:[]).map(c=>new xe(c)),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.datasourceBind=new te(e==null?void 0:e.datasourceBind)}}lu.RuntimeRules=Lw;class ms extends q{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}}ms.excludes=[];class Nw extends U{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var gs={Designer:ms,Runtime:Nw,Property:lu};class Vw extends q{static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class Hw extends U{static get controlType(){return"page"}constructor(e){super(e)}}class jw extends H{constructor(e){var n;super(e),this.background="#fff",this.minWidth="",this.maxWidth="",this.heightConfig="auto",this.hideHeader=(n=e==null?void 0:e.hideHeader)!=null?n:!1}}var bs={Designer:Vw,Runtime:Hw,Property:jw};class qw extends q{static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class Uw extends U{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class Ww extends H{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new bo(e==null?void 0:e.flexConfig)}}var _s={Designer:qw,Runtime:Uw,Property:Ww};class Kw extends q{static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class zw extends U{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class Gw extends H{constructor(e){super(e)}}var ws={Designer:Kw,Runtime:zw,Property:Gw};class Qw extends q{static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class Xw extends U{static get controlType(){return"position"}constructor(e){super(e)}}class Jw extends H{constructor(e){var n,i,u,a;super(e),this.widthSpan=(n=e==null?void 0:e.widthSpan)!=null?n:12,this.heightSpan=(i=e==null?void 0:e.heightSpan)!=null?i:12,this.left=(u=e==null?void 0:e.left)!=null?u:0,this.top=(a=e==null?void 0:e.top)!=null?a:0}}var Cs={Designer:Qw,Runtime:Xw,Property:Jw};class hr extends H{constructor(e){var n,i,u;super(e),this.position=(n=e==null?void 0:e.position)!=null?n:"bottom",this.opacity=(i=e==null?void 0:e.opacity)!=null?i:!0,this.align=(u=e==null?void 0:e.align)!=null?u:"right"}}class ou extends q{constructor(e){var n;super(e),this.props=new hr((n=e==null?void 0:e.props)!=null?n:{})}static get controlName(){return"\u6309\u94AE\u64CD\u4F5C\u680F"}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}}ou.slotPosition={default:"action-bar-slot"},ou.excludes=[],ou.setting=[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class Zw extends U{constructor(e){var n;super(e),this.props=new hr((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var Es={Designer:ou,Runtime:Zw,Property:hr},Yw=Object.freeze({__proto__:null,Grid:Yc,Col:pc,Row:ts,GridRow:ns,CardGroup:is,SubTableColumn:as,SubTableRow:rs,GridTableColumn:os,GridLayoutContainer:cs,Tab:ds,TabPane:ss,Toolbox:ys,ListView:vs,DataView:gs,Page:bs,AdvancedContainer:_s,PositioningContainer:ws,Position:Cs,ActionBar:Es});class pw extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")},this.limitRows=[{type:"number",required:!0,message:h.getMessage("isNotNumber")},{type:"number",min:0,message:h.getMessage("limitRowsCannotBeLessThan0")}],this.formKey={type:"string",required:!1,message:h.getMessage("pleaseEnterForm")},this.maxHeight={type:"number",required:!0,message:h.getMessage("pleaseEnterMaxHeight")},this.captionTip={type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")},this.mobileRowCaption={type:"string",required:!1,message:h.getMessage("pleaseEnterRowCaption")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0),e.mobileShowType==="tile"&&(this.mobileRowCaption.required=!0)}}class eC extends He{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:h.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(h.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),u()},message:h.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}const Is=class extends li{constructor(t,e){var n,i,u,a,r,l,c,o,d,v,g,_,E,w,S,m,C,T,D,k,oe,M,ce,Nn,Re,Cu,Vn,$t,Te,Qs,Xs,Js,Zs;super(t,e,Is.mode),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ln.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.defaultState=(u=e==null?void 0:e.defaultState)!=null?u:"default",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.openType=(r=e==null?void 0:e.openType)!=null?r:"default",this.formKey=(l=e==null?void 0:e.formKey)!=null?l:"",this.useCustomHeight=(c=e==null?void 0:e.useCustomHeight)!=null?c:!1,this.maxHeight=(o=e==null?void 0:e.maxHeight)!=null?o:mo,this.printMode=(d=e==null?void 0:e.printMode)!=null?d:"row",this.limitRows=(v=e==null?void 0:e.limitRows)!=null?v:1,this.maxRows=(g=e==null?void 0:e.maxRows)!=null?g:null,this.defaultRows=(_=e==null?void 0:e.defaultRows)!=null?_:1,this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.canAdd=(E=e==null?void 0:e.canAdd)!=null?E:!0,this.canDelete=(w=e==null?void 0:e.canDelete)!=null?w:!0,this.canCheck=(S=e==null?void 0:e.canCheck)!=null?S:!1,this.canEdit=(m=e==null?void 0:e.canEdit)!=null?m:!1,this.canImport=(C=e==null?void 0:e.canImport)!=null?C:!1,this.canExport=(T=e==null?void 0:e.canExport)!=null?T:!1,this.canClear=(D=e==null?void 0:e.canClear)!=null?D:!0,this.serverPagination=(k=e==null?void 0:e.serverPagination)!=null?k:!1,this.isShowCaptionTip=(oe=e==null?void 0:e.isShowCaptionTip)!=null?oe:!1,this.captionTip=(M=e==null?void 0:e.captionTip)!=null?M:"",this.mobileShowType=(ce=e==null?void 0:e.mobileShowType)!=null?ce:"list",this.mobileDefaultNum=(Nn=e==null?void 0:e.mobileDefaultNum)!=null?Nn:10,this.dataStorageDoc=(Re=e==null?void 0:e.dataStorageDoc)!=null?Re:new Xv,this.fixedColumn=(Cu=e==null?void 0:e.fixedColumn)!=null?Cu:[],this.mobileRowCaption=(Vn=e==null?void 0:e.mobileRowCaption)!=null?Vn:"\u660E\u7EC6",this.mobileIsTile=($t=e==null?void 0:e.mobileIsTile)!=null?$t:!1,this.isPaste=(Te=e==null?void 0:e.isPaste)!=null?Te:!1,this.pageSize=(Qs=e==null?void 0:e.pageSize)!=null?Qs:10,this.pageSizeOptions=(Xs=e==null?void 0:e.pageSizeOptions)!=null?Xs:[10,20,50,100],this.importConfig=new yo(e==null?void 0:e.importConfig),this.exportConfig=new vo(e==null?void 0:e.exportConfig),this.sortable=(Js=e==null?void 0:e.sortable)!=null?Js:!1,this.sortKey=(Zs=e==null?void 0:e.sortKey)!=null?Zs:{}}};let $n=Is;$n.Rules=pw,$n.RuntimeRules=eC;class Ln extends ga{constructor(e){var n;super(e),this.props=new $n(this,e==null?void 0:e.props),((n=e==null?void 0:e.props)==null?void 0:n.headers)===void 0&&(this.props.headers=[new he,new he,new he])}static get controlName(){return"\u660E\u7EC6\u5B50\u8868"}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,n){const i=e!==void 0&&typeof e!="number"?e:new he,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}Ln.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Ln.slotPosition={toolbar:"subtable-toolbar-slot"},Ln.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP,s.IS_PASTE,s.SERVER_PAGINATION,s.SORTABLE]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"max-rows",visible:!0},{key:"list-pager",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}];class tC extends Jl{constructor(e){super(e),this.props=new $n(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){jt("Method not implemented.")}getChildrenFormControl(){return[]}}var Ss={Designer:Ln,Runtime:tC,Property:$n};class yr extends li{constructor(e,n){var i,u,a,r,l;super(e,n),this.isFixedHeader=(i=n==null?void 0:n.isFixedHeader)!=null?i:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(u=n==null?void 0:n.isShowToolbar)!=null?u:!0,this.isShowSelection=(a=n==null?void 0:n.isShowSelection)!=null?a:!1,this.isShowCustomColumns=(r=n==null?void 0:n.isShowCustomColumns)!=null?r:!0,this.pageSizeOptions=(l=n==null?void 0:n.pageSizeOptions)!=null?l:[10,20,50,100,500]}}class nC extends be{constructor(e){super(e),this.caption.required=!1}}class cu extends W{constructor(e){var n,i,u,a,r,l,c,o;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(i=e==null?void 0:e.caption)!=null?i:Ge.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(r=(a=e==null?void 0:e.autoWidth)==null?void 0:a.minWidth)!=null?r:60,this.autoWidth.flex=(c=(l=e==null?void 0:e.autoWidth)==null?void 0:l.flex)!=null?c:.4,this.widthType=(o=e==null?void 0:e.widthType)!=null?o:"px"}}cu.Rules=nC;class Ge extends p{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}}Ge.controlType="order-column",Ge.controlName="\u5E8F\u53F7",Ge.controlIcon="order-column",Ge.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}];class vr extends ee{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}}vr.controlType="order-column",vr.controlFieldType=b.DECIMAL;var As={Designer:Ge,Runtime:vr,Property:cu};class mr extends W{constructor(e){var n,i,u,a,r,l;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(u=(i=e==null?void 0:e.autoWidth)==null?void 0:i.minWidth)!=null?u:84,this.caption=(a=e==null?void 0:e.caption)!=null?a:Se.controlName,this.showType=(r=e==null?void 0:e.showType)!=null?r:"icon",this.limit=(l=e==null?void 0:e.limit)!=null?l:3}}class Se extends p{constructor(e){super(e),this.props=new mr(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===$i.controlType){const i=n;e.props[i.props.command]=i.props}}),e}validate(e,n){return Hr(this,null,function*(){return yield Vr(Se.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Se.controlType="operation-column",Se.controlName="\u64CD\u4F5C",Se.controlIcon="operation-column",Se.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}];class gr extends ee{constructor(e){super(e),this.props=new mr(e==null?void 0:e.props)}}gr.controlType="operation-column",gr.controlFieldType=b.FILE;var Rs={Designer:Se,Runtime:gr,Property:mr};const iC=1e4;class Qe extends ga{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new yr(this,e==null?void 0:e.props),ve(this,"children",e==null?void 0:e.children,void 0,"Designer"),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Ge,new Se]),this.excludes=se(n),this.childrenMaxLength=i}static get controlName(){return"\u8868\u683C"}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toSchema(){const e=super.toSchema(),n=this.children.map(i=>i.toSchema());return Nr(ot({},e),{children:n})}validate(e,n){return Hr(this,null,function*(){return yield Vr(Qe.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Qe.slotPosition={toolbar:"grid-table-toolbar-slot"},Qe.setting=[{key:"list-fixed-header",visible:!0}],Qe.excludes=[],Qe.childrenMaxLength=iC;class uC extends Jl{constructor(e){super(e),this.props=new yr(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){jt("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var Ts={Designer:Qe,Runtime:uC,Property:yr},aC=Object.freeze({__proto__:null,SubTable:Ss,GridTable:Ts});class rC extends Zl{constructor(e){super(e),Me.call(this,e)}}class su extends W{constructor(e){var n,i,u,a,r,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xe.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.options=Ce((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new we(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1,this.dictionaryTagConfig=(l=e==null?void 0:e.dictionaryTagConfig)!=null?l:{isTag:!1}}}su.Rules=rC;class Xe extends p{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}Xe.controlType="varchar-column",Xe.controlName="\u77ED\u6587\u672C",Xe.controlIcon="varchar-column",Xe.controlFieldType=b.VARCHAR,Xe.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}];class br extends ee{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}br.controlType="varchar-column",br.controlFieldType=b.VARCHAR;var Bs={Designer:Xe,Runtime:br,Property:su};class lC extends be{constructor(e){super(e),Me.call(this,e)}}class du extends W{constructor(e){var n,i,u,a;super(e),this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!1,this.caption=(i=e==null?void 0:e.caption)!=null?i:Je.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new we(e==null?void 0:e.linkOperationOption)}}du.Rules=lC;class Je extends p{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{escapeHTML:i}=this.props;n.props.escapeHTML=i}return n}}Je.controlType="text-column",Je.controlName="\u957F\u6587\u672C",Je.controlIcon="text-column",Je.controlFieldType=b.TEXT,Je.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}];class _r extends ee{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}}_r.controlType="text-column",_r.controlFieldType=b.TEXT;var Ps={Designer:Je,Runtime:_r,Property:du};class oC extends be{constructor(e){super(e),Me.call(this,e)}}class fu extends W{constructor(e){var n,i,u,a,r,l,c;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ze.controlName,this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.optionConfig=(r=e==null?void 0:e.optionConfig)!=null?r:"none",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.options=Ce((l=e==null?void 0:e.options)!=null?l:[{}]),this.showLinkOperation=(c=e==null?void 0:e.showLinkOperation)!=null?c:!1,this.linkOperationOption=new we(e==null?void 0:e.linkOperationOption)}}fu.Rules=oC;class Ze extends p{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}Ze.controlType="decimal-column",Ze.controlName="\u6570\u503C",Ze.controlIcon="decimal-column",Ze.controlFieldType=b.DECIMAL,Ze.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}];class wr extends ee{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}}wr.controlType="decimal-column",wr.controlFieldType=b.DECIMAL;var xs={Designer:Ze,Runtime:wr,Property:fu};class cC extends be{constructor(e){super(e),Me.call(this,e)}}class hu extends W{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Be.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new we(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Ye.controlName}}hu.Rules=cC;class Ye extends p{constructor(e){super(e),this.props=new hu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}Ye.controlType="timescope-column",Ye.controlName="\u65E5\u671F\u533A\u95F4",Ye.controlIcon="timescope-column",Ye.controlFieldType=b.TIMESCOPE,Ye.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}];class Cr extends ee{constructor(e){super(e),this.props=new hu(e==null?void 0:e.props)}}Cr.controlType="timescope-column",Cr.controlFieldType=b.TIMESCOPE;var Ds={Designer:Ye,Runtime:Cr,Property:hu};class sC extends be{constructor(e){super(e),Me.call(this,e)}}class yu extends W{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Be.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new we(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:pe.controlName}}yu.Rules=sC;class pe extends p{constructor(e){super(e),this.props=new yu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}pe.controlType="timestamp-column",pe.controlName="\u65E5\u671F",pe.controlIcon="timestamp-column",pe.controlFieldType=b.TIMESTAMP,pe.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}];class Er extends ee{constructor(e){super(e),this.props=new yu(e==null?void 0:e.props)}}Er.controlType="timestamp-column",Er.controlFieldType=b.TIMESTAMP;var Fs={Designer:pe,Runtime:Er,Property:yu};class dC extends Zl{constructor(e){super(e),Me.call(this,e)}}class vu extends W{constructor(e){var n,i,u,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:et.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new we(e==null?void 0:e.linkOperationOption),this.options=Ce((a=e==null?void 0:e.options)!=null?a:[{}])}}vu.Rules=dC;class et extends p{constructor(e){super(e),this.props=new vu(e==null?void 0:e.props)}}et.controlType="array-column",et.controlName="\u6570\u7EC4",et.controlIcon="array-column",et.controlFieldType=b.ARRAY,et.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}];class Ir extends ee{constructor(e){super(e),this.props=new vu(e==null?void 0:e.props)}}Ir.controlType="array-column",Ir.controlFieldType=b.ARRAY;var ks={Designer:et,Runtime:Ir,Property:vu};class Sr extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tt.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class tt extends p{constructor(e){super(e),this.props=new Sr(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{displayLevel:i}=this.props;n.props.displayLevel=i}return n}}tt.controlType="department-column",tt.controlName="\u90E8\u95E8",tt.controlIcon="department-column",tt.controlFieldType=b.DEPARTMENTS,tt.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}];class Ar extends ee{constructor(e){super(e),this.props=new Sr(e==null?void 0:e.props)}}Ar.controlType="department-column",Ar.controlFieldType=b.DEPARTMENTS;var Os={Designer:tt,Runtime:Ar,Property:Sr};class fC extends be{constructor(e){super(e),Me.call(this,e)}}class mu extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:nt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new we(e==null?void 0:e.linkOperationOption)}}mu.Rules=fC;class nt extends p{constructor(e){super(e),this.props=new mu(e==null?void 0:e.props)}}nt.controlType="auto-number-column",nt.controlName="\u81EA\u52A8\u7F16\u53F7",nt.controlIcon="auto-number-column",nt.controlFieldType=b.AUTO_NUMBER,nt.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}];class Rr extends ee{constructor(e){super(e),this.props=new mu(e==null?void 0:e.props)}}Rr.controlType="auto-number-column",Rr.controlFieldType=b.AUTO_NUMBER;var Ms={Designer:nt,Runtime:Rr,Property:mu};class Tr extends W{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:it.controlName}}class it extends p{constructor(e){super(e),this.props=new Tr(e==null?void 0:e.props)}}it.controlType="file-column",it.controlName="\u9644\u4EF6",it.controlIcon="file-column",it.controlFieldType=b.FILE,it.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}];class Br extends ee{constructor(e){super(e),this.props=new Tr(e==null?void 0:e.props)}}Br.controlType="file-column",Br.controlFieldType=b.FILE;var $s={Designer:it,Runtime:Br,Property:Tr};class Pr extends W{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ut.controlName}}class ut extends p{constructor(e){super(e),this.props=new Pr(e==null?void 0:e.props)}}ut.controlType="image-column",ut.controlName="\u56FE\u7247",ut.controlIcon="image-column",ut.controlFieldType=b.IMAGE,ut.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}];class xr extends ee{constructor(e){super(e),this.props=new Pr(e==null?void 0:e.props)}}xr.controlType="image-column",xr.controlFieldType=b.IMAGE;var Ls={Designer:ut,Runtime:xr,Property:Pr};class Dr extends W{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:at.controlName}}class at extends p{constructor(e){super(e),this.props=new Dr(e==null?void 0:e.props)}}at.controlType="people-column",at.controlName="\u4EBA\u5458",at.controlIcon="people-column",at.controlFieldType=b.EMPLOYEES,at.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}];class Fr extends ee{constructor(e){super(e),this.props=new Dr(e==null?void 0:e.props)}}Fr.controlType="people-column",Fr.controlFieldType=b.EMPLOYEES;var Ns={Designer:at,Runtime:Fr,Property:Dr};class hC extends be{constructor(e){super(e),Me.call(this,e)}}class gu extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:rt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new we(e==null?void 0:e.linkOperationOption)}}gu.Rules=hC;class rt extends p{constructor(e){super(e),this.props=new gu(e==null?void 0:e.props)}}rt.controlType="location-column",rt.controlName="\u5730\u5740",rt.controlIcon="location-column",rt.controlFieldType=b.ADDRESS,rt.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}];class kr extends ee{constructor(e){super(e),this.props=new gu(e==null?void 0:e.props)}}kr.controlType="location-column",kr.controlFieldType=b.ADDRESS;var Vs={Designer:rt,Runtime:kr,Property:gu};class yC extends be{constructor(e){super(e),this.sortFieldCode={type:"string",message:h.getMessage("pleaseSelectSortFieldCode")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class bu extends W{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ae.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[],this.sortFieldCode=(u=e==null?void 0:e.sortFieldCode)!=null?u:""}}bu.Rules=yC;const vC=1;class Ae extends p{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new bu(e==null?void 0:e.props),ve(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=se(n),this.childrenMaxLength=i}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{fieldCodeList:i}=this.props;n.props.fieldCodeList=i}return n}}Ae.controlType="custom-column",Ae.controlName="\u81EA\u5B9A\u4E49",Ae.controlIcon="custom-column",Ae.slots=["column-column-slot"],Ae.excludes=[],Ae.childrenMaxLength=vC,Ae.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}];class Hs extends ee{constructor(e){super(e),this.props=new bu(e==null?void 0:e.props),ve(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}Hs.controlType="custom-column";var js={Designer:Ae,Runtime:Hs,Property:bu};class Or extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ve.controlName,this.datasourceBind=new Kn((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:Ve.controlCustomAttributes})}}class Ve extends p{constructor(e){super(e),this.props=new Or(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Ve.controlType="employee-column",Ve.controlName="\u4EBA\u5458",Ve.controlIcon="employee-column",Ve.controlFieldType=b.EMPLOYEES,Ve.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}];class Mr extends ee{constructor(e){super(e),this.props=new Or(e==null?void 0:e.props)}}Mr.controlType="employee-column",Mr.controlFieldType=b.EMPLOYEES;var qs={Designer:Ve,Runtime:Mr,Property:Or};class $r extends W{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:lt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new we(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class lt extends p{constructor(e){super(e),this.props=new $r(e==null?void 0:e.props)}}lt.controlType="approval-status-column",lt.controlName="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",lt.controlIcon="approval-status-column",lt.excludes=[],lt.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}];class Us extends ee{constructor(e){super(e),this.props=new $r(e==null?void 0:e.props)}}Us.controlType="approval-status-column";var Ws={Designer:lt,Runtime:Us,Property:$r},mC=Object.freeze({__proto__:null,VarcharColumn:Bs,TextColumn:Ps,DecimalColumn:xs,TimescopeColumn:Ds,TimestampColumn:Fs,ArrayColumn:ks,DepartmentColumn:Os,AutoNumberColumn:Ms,FileColumn:$s,ImageColumn:Ls,PeopleColumn:Ns,LocationColumn:Vs,CustomColumn:js,OrderColumn:As,OperationColumn:Rs,EmployeeColumn:qs,ApprovalStatusColumn:Ws});class gC extends He{constructor(e){super(e),this.push({type:"object",fields:{}})}}class _u extends Ba{constructor(e){var n,i,u,a,r,l,c,o,d,v,g,_;super(e),this.searchType=(n=e==null?void 0:e.searchType)!=null?n:"model",this.labelPosition=(i=e==null?void 0:e.labelPosition)!=null?i:"top",this.viewType=(u=e==null?void 0:e.viewType)!=null?u:"mini",this.search=new xe((a=e==null?void 0:e.search)!=null?a:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new xe((r=e==null?void 0:e.cancel)!=null?r:{content:"\u91CD\u7F6E",isShow:!0}),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.custom=((c=e==null?void 0:e.custom)!=null?c:[]).map(E=>new xe(E)),this.queryTypeMap=(o=e==null?void 0:e.queryTypeMap)!=null?o:[],this.childMinWidth=(d=e==null?void 0:e.childMinWidth)!=null?d:230,this.colGap=(v=e==null?void 0:e.colGap)!=null?v:24,this.viewConfig=(g=e==null?void 0:e.viewConfig)!=null?g:[],this.simpleConfig=(_=e==null?void 0:e.simpleConfig)!=null?_:[]}}_u.RuntimeRules=gC;class wu extends hb{constructor(e){super(e),this.props=new _u(e==null?void 0:e.props)}}wu.controlType="simple-search",wu.slotPosition={default:"search"},wu.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}];class Ks extends wb{constructor(e){var n;super(e),this.props=new _u(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}Ks.controlType="simple-search";var zs={Designer:wu,Runtime:Ks,Property:_u},bC=Object.freeze({__proto__:null,SimpleSearch:zs});class Lr extends Oa{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class _C extends Ob{constructor(e){super(e),this.props=new Lr(e==null?void 0:e.props)}static get controlName(){return"\u6362\u884C\u5BB9\u5668Wrap"}static get controlIcon(){return"page"}static get controlType(){return"grid-layout-wrap"}}class wC extends jb{constructor(e){super(e),this.props=new Lr(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function xC(t){return t}var CC={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:"\u5145\u6EE1\u6574\u884C",props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},Gs={Designer:_C,Runtime:wC,Property:Lr,Setting:CC},EC=Object.freeze({__proto__:null,GridLayoutWrap:Gs});y.ActionBar=Es,y.Address=_c,y.AdvancedContainer=_s,y.Amount=vc,y.ApprovalStatusColumn=Ws,y.ArrayColumn=ks,y.AssignType=Le,y.Attachment=dc,y.AutoNumber=Ic,y.AutoNumberColumn=Ms,y.BatchDeleteButton=qo,y.BatchPrintListButton=Vo,y.BatchPrintRecordListButton=Ho,y.BatchSubmissionListButton=So,y.Button=lo,y.Calc=Ac,y.CardGroup=is,y.Checkbox=zo,y.Col=pc,y.CreateFormListButton=Io,y.CustomColumn=js,y.DATE_CONFIG_TYPE=oo,y.DATE_LIMIT_TYPE=co,y.Dashboard=Oo,y.DataView=gs,y.DatePicker=Yo,y.DateRange=ec,y.DecimalColumn=xs,y.Department=Cc,y.Department2=zc,y.DepartmentColumn=Os,y.DepartmentType=Ii,y.Divider=Co,y.ElectronicSignature=qc,y.ElectronicSignatureConfig=so,y.Employee=sc,y.Employee2=Hc,y.EmployeeColumn=qs,y.EncryptTypeEnum=_o,y.Explain=Ei,y.ExportConfig=vo,y.ExportListButton=Ro,y.ExportRecordListButton=To,y.ExportTemplate=Jt,y.FileColumn=$s,y.FlexStyleConfig=bo,y.FormSelectButton=Po,y.Grid=Yc,y.GridLayoutContainer=cs,y.GridLayoutWrap=Gs,y.GridRow=ns,y.GridTable=Ts,y.GridTableColumn=os,y.Image=hc,y.ImageColumn=Ls,y.ImportConfig=yo,y.ImportListBind=ho,y.ImportRecordListButton=Bo,y.Input=Wo,y.InternalType=Ga,y.InvoiceCheckButton=No,y.LINE_STYLE=Ua,y.LimitDate=Ci,y.Link=ro,y.ListSelectButton=xo,y.ListView=vs,y.ListViewSelect=$o,y.LocationColumn=Vs,y.Number=Jo,y.OperationButton=jo,y.OperationColumn=Rs,y.OrderColumn=As,y.OrganizationSelection=Qc,y.OrganizeType=za,y.Page=bs,y.Pagination=Fo,y.PeopleColumn=Ns,y.Position=Cs,y.PositioningContainer=ws,y.PrintTemplate=go,y.Radio=Qo,y.RichText=uc,y.Row=ts,y.SCORE_TYPE=qa,y.SUBTABLE_DEFAULT_MAX_HEIGHT=mo,y.Score=gc,y.SearchDateRange=Pc,y.SearchInput=$c,y.SearchNumberRange=Tc,y.Select=rc,y.SelectMultiple=oc,y.SelectRelation=kc,y.SimpleSearch=zs,y.SubTable=Ss,y.SubTableColumn=as,y.SubTableRow=rs,y.SubmissionRecordListButton=Ao,y.Tab=ds,y.TabPane=ss,y.Text=ao,y.TextColumn=Ps,y.TextOcrButton=Lo,y.Textarea=nc,y.TimescopeColumn=Ds,y.TimestampColumn=Fs,y.Title=Eo,y.TitleConfigEnum=$e,y.Toolbox=ys,y.Tree=Nc,y.UndersignedPerson=Wa,y.VarcharColumn=Bs,y.VueFormItem=Dc,y.VuePage=Jc,y.WPS=Wc,y.WPSSetting=fo,y.WpsOperationItem=Ka,y.baseControls=I_,y.columnControls=mC,y.formControls=_w,y.initExpression=Zt,y.layoutControls=Yw,y.listControls=aC,y.searchControls=bC,y.wrapControls=EC,Object.defineProperty(y,"__esModule",{value:!0})});
1
+ var jR=Object.defineProperty,WR=Object.defineProperties;var qR=Object.getOwnPropertyDescriptors;var fg=Object.getOwnPropertySymbols,KR=Object.getPrototypeOf,GR=Object.prototype.hasOwnProperty,XR=Object.prototype.propertyIsEnumerable,zR=Reflect.get;var hg=(T,he,Ee)=>he in T?jR(T,he,{enumerable:!0,configurable:!0,writable:!0,value:Ee}):T[he]=Ee,Vt=(T,he)=>{for(var Ee in he||(he={}))GR.call(he,Ee)&&hg(T,Ee,he[Ee]);if(fg)for(var Ee of fg(he))XR.call(he,Ee)&&hg(T,Ee,he[Ee]);return T},fa=(T,he)=>WR(T,qR(he));var js=(T,he,Ee)=>zR(KR(T),Ee,he);var Qn=(T,he,Ee)=>new Promise((Ro,Rt)=>{var ha=D=>{try{Zn(Ee.next(D))}catch(rt){Rt(rt)}},V=D=>{try{Zn(Ee.throw(D))}catch(rt){Rt(rt)}},Zn=D=>D.done?Ro(D.value):Promise.resolve(D.value).then(ha,V);Zn((Ee=Ee.apply(T,he)).next())});(function(T,he){typeof exports=="object"&&typeof module!="undefined"?he(exports):typeof define=="function"&&define.amd?define(["exports"],he):(T=typeof globalThis!="undefined"?globalThis:T||self,he(T.modelDrivenControls={}))})(this,function(T){"use strict";var he;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(he||(he={}));var Ee;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Ee||(Ee={}));var Ro="zh-CN",Rt;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(Rt||(Rt={}));var ha;(function(t){t[t.FORM=0]="FORM",t[t.LIST=1]="LIST",t[t.REPORT=2]="REPORT",t[t.DASHBOARD=3]="DASHBOARD",t[t.VUE=4]="VUE",t[t.FREE_PAGE=5]="FREE_PAGE"})(ha||(ha={}));var V;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.OPERATION_BUTTON="operation-button",t.EMPLOYEE_COLUMN="employee-column",t.Approval_Status_Column="approval-status-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.GRID_LAYOUT_CONTAINER="grid-layout-container",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.ACTION_BAR="action-bar",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2",t.GRID_LAYOUT_WRAP="grid-layout-wrap",t.VUE_PAGE="vue-page"})(V||(V={}));var Zn;(function(t){t.SAVE="save",t.DRAFT="draft",t.UNSUBMIT="unsubmit",t.AUDIT="audit",t.UNAUDIT="unaudit",t.CANCEL="cancel",t.FORM_SUBMIT="form_submit"})(Zn||(Zn={}));var D;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.LIST="list",t.JSON="json",t.ANY="ANY"})(D||(D={}));var rt;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime"})(rt||(rt={}));var Ws={DEFAULT:"default"},qs="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",mg=qs+"0123456789";function vt(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?qs:mg,r=Math.random()*i.length;e+=i[parseInt(String(r),10)]}return e}function No(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function yg(t){if(Array.isArray(t))return No(t)}function _g(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ks(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ma(t,e,n){return zs()?ma=Reflect.construct:ma=function(r,a,l){var o=[null];o.push.apply(o,a);var u=Function.bind.apply(r,o),c=new u;return l&&Wi(c,l.prototype),c},ma.apply(null,arguments)}function ji(t){return ji=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ji(t)}function Gs(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Wi(t,e)}function gg(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function vg(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function bg(){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 Eg(t,e){return e&&(wg(e)==="object"||typeof e=="function")?e:_g(t)}function Wi(t,e){return Wi=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},Wi(t,e)}function Xs(t){return yg(t)||vg(t)||Ig(t)||bg()}function wg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ig(t,e){if(!!t){if(typeof t=="string")return No(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return No(t,e)}}function Po(t){var e=typeof Map=="function"?new Map:void 0;return Po=function(i){if(i===null||!gg(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,r)}function r(){return ma(i,arguments,ji(this).constructor)}return r.prototype=Object.create(i.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Wi(r,i)},Po(t)}function zs(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Js(t){var e=zs();return function(){var i=ji(t),r;if(e){var a=ji(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Eg(this,r)}}var Ao=console;function ko(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,r=e.slice(1);(i=Ao).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(Xs(r)))}function Qs(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,r=e.slice(1);(i=Ao).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(Xs(r)))}function Tg(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Do=function(t){Gs(n,t);var e=Js(n);function n(i){Ks(this,n);var r;return r=e.call(this,i),r.name="\u{1F4A5} Driven Error",r.message=i?Tg(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",r}return n}(Po(Error)),Cg=function(t){Gs(n,t);var e=Js(n);function n(i){Ks(this,n);var r;return r=e.call(this,i),r.name="\u{1F6A8} Driven Reference Error",r}return n}(Do);function qi(t){throw new Do(t)}function Zs(t){throw new Cg(t)}function Og(t){Ao.error(new Do(t))}/*!
2
+ * shared v9.13.1
3
+ * (c) 2024 kazuya kawaguchi
4
+ * Released under the MIT License.
5
+ */const ut=typeof window!="undefined";let pe,mn;if(process.env.NODE_ENV!=="production"){const t=ut&&window.performance;t&&t.mark&&t.measure&&t.clearMarks&&t.clearMeasures&&(pe=e=>{t.mark(e)},mn=(e,n,i)=>{t.measure(e,n,i),t.clearMarks(n),t.clearMarks(i)})}const Sg=/\{([0-9a-zA-Z]+)\}/g;function Ki(t,...e){return e.length===1&&J(e[0])&&(e=e[0]),(!e||!e.hasOwnProperty)&&(e={}),t.replace(Sg,(n,i)=>e.hasOwnProperty(i)?e[i]:"")}const ct=(t,e=!1)=>e?Symbol.for(t):Symbol(t),Rg=(t,e,n)=>Ng({l:t,k:e,s:n}),Ng=t=>JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Oe=t=>typeof t=="number"&&isFinite(t),Pg=t=>td(t)==="[object Date]",Ut=t=>td(t)==="[object RegExp]",ya=t=>j(t)&&Object.keys(t).length===0,Se=Object.assign;let Ys;const Nt=()=>Ys||(Ys=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function ps(t){return t.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const Ag=Object.prototype.hasOwnProperty;function _a(t,e){return Ag.call(t,e)}const le=Array.isArray,ie=t=>typeof t=="function",B=t=>typeof t=="string",q=t=>typeof t=="boolean",J=t=>t!==null&&typeof t=="object",kg=t=>J(t)&&ie(t.then)&&ie(t.catch),ed=Object.prototype.toString,td=t=>ed.call(t),j=t=>{if(!J(t))return!1;const e=Object.getPrototypeOf(t);return e===null||e.constructor===Object},Dg=t=>t==null?"":le(t)||j(t)&&t.toString===ed?JSON.stringify(t,null,2):String(t);function Lo(t,e=""){return t.reduce((n,i,r)=>r===0?n+i:n+e+i,"")}const nd=2;function Lg(t,e=0,n=t.length){const i=t.split(/\r?\n/);let r=0;const a=[];for(let l=0;l<i.length;l++)if(r+=i[l].length+1,r>=e){for(let o=l-nd;o<=l+nd||n>r;o++){if(o<0||o>=i.length)continue;const u=o+1;a.push(`${u}${" ".repeat(3-String(u).length)}| ${i[o]}`);const c=i[o].length;if(o===l){const d=e-(r-c)+1,s=Math.max(1,n>r?c-d:n-e);a.push(" | "+" ".repeat(d)+"^".repeat(s))}else if(o>l){if(n>r){const d=Math.max(Math.min(n-r,c),1);a.push(" | "+"^".repeat(d))}r+=c+1}}break}return a.join(`
6
+ `)}function ga(t){let e=t;return()=>++e}function Re(t,e){typeof console!="undefined"&&(console.warn("[intlify] "+t),e&&console.warn(e.stack))}const id={};function rd(t){id[t]||(id[t]=!0,Re(t))}function xo(){const t=new Map;return{events:t,on(n,i){const r=t.get(n);r&&r.push(i)||t.set(n,[i])},off(n,i){const r=t.get(n);r&&r.splice(r.indexOf(i)>>>0,1)},emit(n,i){(t.get(n)||[]).slice().map(r=>r(i)),(t.get("*")||[]).slice().map(r=>r(n,i))}}}const va=t=>!J(t)||le(t);function ba(t,e){if(va(t)||va(e))throw new Error("Invalid value");const n=[{src:t,des:e}];for(;n.length;){const{src:i,des:r}=n.pop();Object.keys(i).forEach(a=>{va(i[a])||va(r[a])?r[a]=i[a]:n.push({src:i[a],des:r[a]})})}}/*!
7
+ * message-compiler v9.13.1
8
+ * (c) 2024 kazuya kawaguchi
9
+ * Released under the MIT License.
10
+ */function xg(t,e,n){return{line:t,column:e,offset:n}}function Ea(t,e,n){const i={start:t,end:e};return n!=null&&(i.source=n),i}const wa={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},Mg={[wa.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function Fg(t,e,...n){const i=process.env.NODE_ENV!=="production"?Ki(Mg[t]||"",...n||[]):t,r={message:String(i),code:t};return e&&(r.location=e),r}const U={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},Bg={[U.EXPECTED_TOKEN]:"Expected token: '{0}'",[U.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[U.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[U.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[U.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[U.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[U.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[U.EMPTY_PLACEHOLDER]:"Empty placeholder",[U.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[U.INVALID_LINKED_FORMAT]:"Invalid linked format",[U.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[U.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[U.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[U.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[U.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[U.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Yn(t,e,n={}){const{domain:i,messages:r,args:a}=n,l=process.env.NODE_ENV!=="production"?Ki((r||Bg)[t]||"",...a||[]):t,o=new SyntaxError(String(l));return o.code=t,e&&(o.location=e),o.domain=i,o}function $g(t){throw t}const Vg=/<\/?[\w\s="/.':;#-\/]+>/,Ug=t=>Vg.test(t),Pt=" ",Hg="\r",We=`
11
+ `,jg=String.fromCharCode(8232),Wg=String.fromCharCode(8233);function qg(t){const e=t;let n=0,i=1,r=1,a=0;const l=C=>e[C]===Hg&&e[C+1]===We,o=C=>e[C]===We,u=C=>e[C]===Wg,c=C=>e[C]===jg,d=C=>l(C)||o(C)||u(C)||c(C),s=()=>n,h=()=>i,v=()=>r,O=()=>a,I=C=>l(C)||u(C)||c(C)?We:e[C],P=()=>I(n),_=()=>I(n+a);function S(){return a=0,d(n)&&(i++,r=0),l(n)&&n++,n++,r++,e[n]}function g(){return l(n+a)&&a++,a++,e[n+a]}function b(){n=0,i=1,r=1,a=0}function A(C=0){a=C}function N(){const C=n+a;for(;C!==n;)S();a=0}return{index:s,line:h,column:v,peekOffset:O,charAt:I,currentChar:P,currentPeek:_,next:S,peek:g,reset:b,resetPeek:A,skipToPeek:N}}const Ht=void 0,Kg=".",ad="'",Gg="tokenizer";function Xg(t,e={}){const n=e.location!==!1,i=qg(t),r=()=>i.index(),a=()=>xg(i.line(),i.column(),i.index()),l=a(),o=r(),u={currentType:14,offset:o,startLoc:l,endLoc:l,lastType:14,lastOffset:o,lastStartLoc:l,lastEndLoc:l,braceNest:0,inLinked:!1,text:""},c=()=>u,{onError:d}=e;function s(m,y,k,...$){const fe=c();if(y.column+=k,y.offset+=k,d){const ae=n?Ea(fe.startLoc,y):null,ne=Yn(m,ae,{domain:Gg,args:$});d(ne)}}function h(m,y,k){m.endLoc=a(),m.currentType=y;const $={type:y};return n&&($.loc=Ea(m.startLoc,m.endLoc)),k!=null&&($.value=k),$}const v=m=>h(m,14);function O(m,y){return m.currentChar()===y?(m.next(),y):(s(U.EXPECTED_TOKEN,a(),0,y),"")}function I(m){let y="";for(;m.currentPeek()===Pt||m.currentPeek()===We;)y+=m.currentPeek(),m.peek();return y}function P(m){const y=I(m);return m.skipToPeek(),y}function _(m){if(m===Ht)return!1;const y=m.charCodeAt(0);return y>=97&&y<=122||y>=65&&y<=90||y===95}function S(m){if(m===Ht)return!1;const y=m.charCodeAt(0);return y>=48&&y<=57}function g(m,y){const{currentType:k}=y;if(k!==2)return!1;I(m);const $=_(m.currentPeek());return m.resetPeek(),$}function b(m,y){const{currentType:k}=y;if(k!==2)return!1;I(m);const $=m.currentPeek()==="-"?m.peek():m.currentPeek(),fe=S($);return m.resetPeek(),fe}function A(m,y){const{currentType:k}=y;if(k!==2)return!1;I(m);const $=m.currentPeek()===ad;return m.resetPeek(),$}function N(m,y){const{currentType:k}=y;if(k!==8)return!1;I(m);const $=m.currentPeek()===".";return m.resetPeek(),$}function C(m,y){const{currentType:k}=y;if(k!==9)return!1;I(m);const $=_(m.currentPeek());return m.resetPeek(),$}function L(m,y){const{currentType:k}=y;if(!(k===8||k===12))return!1;I(m);const $=m.currentPeek()===":";return m.resetPeek(),$}function x(m,y){const{currentType:k}=y;if(k!==10)return!1;const $=()=>{const ae=m.currentPeek();return ae==="{"?_(m.peek()):ae==="@"||ae==="%"||ae==="|"||ae===":"||ae==="."||ae===Pt||!ae?!1:ae===We?(m.peek(),$()):W(m,!1)},fe=$();return m.resetPeek(),fe}function X(m){I(m);const y=m.currentPeek()==="|";return m.resetPeek(),y}function Me(m){const y=I(m),k=m.currentPeek()==="%"&&m.peek()==="{";return m.resetPeek(),{isModulo:k,hasSpace:y.length>0}}function W(m,y=!0){const k=(fe=!1,ae="",ne=!1)=>{const R=m.currentPeek();return R==="{"?ae==="%"?!1:fe:R==="@"||!R?ae==="%"?!0:fe:R==="%"?(m.peek(),k(fe,"%",!0)):R==="|"?ae==="%"||ne?!0:!(ae===Pt||ae===We):R===Pt?(m.peek(),k(!0,Pt,ne)):R===We?(m.peek(),k(!0,We,ne)):!0},$=k();return y&&m.resetPeek(),$}function ge(m,y){const k=m.currentChar();return k===Ht?Ht:y(k)?(m.next(),k):null}function ze(m){const y=m.charCodeAt(0);return y>=97&&y<=122||y>=65&&y<=90||y>=48&&y<=57||y===95||y===36}function sn(m){return ge(m,ze)}function it(m){const y=m.charCodeAt(0);return y>=97&&y<=122||y>=65&&y<=90||y>=48&&y<=57||y===95||y===36||y===45}function dn(m){return ge(m,it)}function fn(m){const y=m.charCodeAt(0);return y>=48&&y<=57}function ea(m){return ge(m,fn)}function ta(m){const y=m.charCodeAt(0);return y>=48&&y<=57||y>=65&&y<=70||y>=97&&y<=102}function na(m){return ge(m,ta)}function ot(m){let y="",k="";for(;y=ea(m);)k+=y;return k}function $i(m){P(m);const y=m.currentChar();return y!=="%"&&s(U.EXPECTED_TOKEN,a(),0,y),m.next(),"%"}function Vi(m){let y="";for(;;){const k=m.currentChar();if(k==="{"||k==="}"||k==="@"||k==="|"||!k)break;if(k==="%")if(W(m))y+=k,m.next();else break;else if(k===Pt||k===We)if(W(m))y+=k,m.next();else{if(X(m))break;y+=k,m.next()}else y+=k,m.next()}return y}function ia(m){P(m);let y="",k="";for(;y=dn(m);)k+=y;return m.currentChar()===Ht&&s(U.UNTERMINATED_CLOSING_BRACE,a(),0),k}function ra(m){P(m);let y="";return m.currentChar()==="-"?(m.next(),y+=`-${ot(m)}`):y+=ot(m),m.currentChar()===Ht&&s(U.UNTERMINATED_CLOSING_BRACE,a(),0),y}function aa(m){return m!==ad&&m!==We}function Oo(m){P(m),O(m,"'");let y="",k="";for(;y=ge(m,aa);)y==="\\"?k+=la(m):k+=y;const $=m.currentChar();return $===We||$===Ht?(s(U.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),$===We&&(m.next(),O(m,"'")),k):(O(m,"'"),k)}function la(m){const y=m.currentChar();switch(y){case"\\":case"'":return m.next(),`\\${y}`;case"u":return Ui(m,y,4);case"U":return Ui(m,y,6);default:return s(U.UNKNOWN_ESCAPE_SEQUENCE,a(),0,y),""}}function Ui(m,y,k){O(m,y);let $="";for(let fe=0;fe<k;fe++){const ae=na(m);if(!ae){s(U.INVALID_UNICODE_ESCAPE_SEQUENCE,a(),0,`\\${y}${$}${m.currentChar()}`);break}$+=ae}return`\\${y}${$}`}function oa(m){return m!=="{"&&m!=="}"&&m!==Pt&&m!==We}function ua(m){P(m);let y="",k="";for(;y=ge(m,oa);)k+=y;return k}function ca(m){let y="",k="";for(;y=sn(m);)k+=y;return k}function F(m){const y=k=>{const $=m.currentChar();return $==="{"||$==="%"||$==="@"||$==="|"||$==="("||$===")"||!$||$===Pt?k:(k+=$,m.next(),y(k))};return y("")}function Y(m){P(m);const y=O(m,"|");return P(m),y}function sa(m,y){let k=null;switch(m.currentChar()){case"{":return y.braceNest>=1&&s(U.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),m.next(),k=h(y,2,"{"),P(m),y.braceNest++,k;case"}":return y.braceNest>0&&y.currentType===2&&s(U.EMPTY_PLACEHOLDER,a(),0),m.next(),k=h(y,3,"}"),y.braceNest--,y.braceNest>0&&P(m),y.inLinked&&y.braceNest===0&&(y.inLinked=!1),k;case"@":return y.braceNest>0&&s(U.UNTERMINATED_CLOSING_BRACE,a(),0),k=zn(m,y)||v(y),y.braceNest=0,k;default:{let fe=!0,ae=!0,ne=!0;if(X(m))return y.braceNest>0&&s(U.UNTERMINATED_CLOSING_BRACE,a(),0),k=h(y,1,Y(m)),y.braceNest=0,y.inLinked=!1,k;if(y.braceNest>0&&(y.currentType===5||y.currentType===6||y.currentType===7))return s(U.UNTERMINATED_CLOSING_BRACE,a(),0),y.braceNest=0,da(m,y);if(fe=g(m,y))return k=h(y,5,ia(m)),P(m),k;if(ae=b(m,y))return k=h(y,6,ra(m)),P(m),k;if(ne=A(m,y))return k=h(y,7,Oo(m)),P(m),k;if(!fe&&!ae&&!ne)return k=h(y,13,ua(m)),s(U.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,k.value),P(m),k;break}}return k}function zn(m,y){const{currentType:k}=y;let $=null;const fe=m.currentChar();switch((k===8||k===9||k===12||k===10)&&(fe===We||fe===Pt)&&s(U.INVALID_LINKED_FORMAT,a(),0),fe){case"@":return m.next(),$=h(y,8,"@"),y.inLinked=!0,$;case".":return P(m),m.next(),h(y,9,".");case":":return P(m),m.next(),h(y,10,":");default:return X(m)?($=h(y,1,Y(m)),y.braceNest=0,y.inLinked=!1,$):N(m,y)||L(m,y)?(P(m),zn(m,y)):C(m,y)?(P(m),h(y,12,ca(m))):x(m,y)?(P(m),fe==="{"?sa(m,y)||$:h(y,11,F(m))):(k===8&&s(U.INVALID_LINKED_FORMAT,a(),0),y.braceNest=0,y.inLinked=!1,da(m,y))}}function da(m,y){let k={type:14};if(y.braceNest>0)return sa(m,y)||v(y);if(y.inLinked)return zn(m,y)||v(y);switch(m.currentChar()){case"{":return sa(m,y)||v(y);case"}":return s(U.UNBALANCED_CLOSING_BRACE,a(),0),m.next(),h(y,3,"}");case"@":return zn(m,y)||v(y);default:{if(X(m))return k=h(y,1,Y(m)),y.braceNest=0,y.inLinked=!1,k;const{isModulo:fe,hasSpace:ae}=Me(m);if(fe)return ae?h(y,0,Vi(m)):h(y,4,$i(m));if(W(m))return h(y,0,Vi(m));break}}return k}function Hs(){const{currentType:m,offset:y,startLoc:k,endLoc:$}=u;return u.lastType=m,u.lastOffset=y,u.lastStartLoc=k,u.lastEndLoc=$,u.offset=r(),u.startLoc=a(),i.currentChar()===Ht?h(u,14):da(i,u)}return{nextToken:Hs,currentOffset:r,currentPosition:a,context:c}}const zg="parser",Jg=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Qg(t,e,n){switch(t){case"\\\\":return"\\";case"\\'":return"'";default:{const i=parseInt(e||n,16);return i<=55295||i>=57344?String.fromCodePoint(i):"\uFFFD"}}}function Zg(t={}){const e=t.location!==!1,{onError:n,onWarn:i}=t;function r(g,b,A,N,...C){const L=g.currentPosition();if(L.offset+=N,L.column+=N,n){const x=e?Ea(A,L):null,X=Yn(b,x,{domain:zg,args:C});n(X)}}function a(g,b,A,N,...C){const L=g.currentPosition();if(L.offset+=N,L.column+=N,i){const x=e?Ea(A,L):null;i(Fg(b,x,C))}}function l(g,b,A){const N={type:g};return e&&(N.start=b,N.end=b,N.loc={start:A,end:A}),N}function o(g,b,A,N){N&&(g.type=N),e&&(g.end=b,g.loc&&(g.loc.end=A))}function u(g,b){const A=g.context(),N=l(3,A.offset,A.startLoc);return N.value=b,o(N,g.currentOffset(),g.currentPosition()),N}function c(g,b){const A=g.context(),{lastOffset:N,lastStartLoc:C}=A,L=l(5,N,C);return L.index=parseInt(b,10),g.nextToken(),o(L,g.currentOffset(),g.currentPosition()),L}function d(g,b,A){const N=g.context(),{lastOffset:C,lastStartLoc:L}=N,x=l(4,C,L);return x.key=b,A===!0&&(x.modulo=!0),g.nextToken(),o(x,g.currentOffset(),g.currentPosition()),x}function s(g,b){const A=g.context(),{lastOffset:N,lastStartLoc:C}=A,L=l(9,N,C);return L.value=b.replace(Jg,Qg),g.nextToken(),o(L,g.currentOffset(),g.currentPosition()),L}function h(g){const b=g.nextToken(),A=g.context(),{lastOffset:N,lastStartLoc:C}=A,L=l(8,N,C);return b.type!==12?(r(g,U.UNEXPECTED_EMPTY_LINKED_MODIFIER,A.lastStartLoc,0),L.value="",o(L,N,C),{nextConsumeToken:b,node:L}):(b.value==null&&r(g,U.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,st(b)),L.value=b.value||"",o(L,g.currentOffset(),g.currentPosition()),{node:L})}function v(g,b){const A=g.context(),N=l(7,A.offset,A.startLoc);return N.value=b,o(N,g.currentOffset(),g.currentPosition()),N}function O(g){const b=g.context(),A=l(6,b.offset,b.startLoc);let N=g.nextToken();if(N.type===9){const C=h(g);A.modifier=C.node,N=C.nextConsumeToken||g.nextToken()}switch(N.type!==10&&r(g,U.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,st(N)),N=g.nextToken(),N.type===2&&(N=g.nextToken()),N.type){case 11:N.value==null&&r(g,U.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,st(N)),A.key=v(g,N.value||"");break;case 5:N.value==null&&r(g,U.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,st(N)),A.key=d(g,N.value||"");break;case 6:N.value==null&&r(g,U.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,st(N)),A.key=c(g,N.value||"");break;case 7:N.value==null&&r(g,U.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,st(N)),A.key=s(g,N.value||"");break;default:{r(g,U.UNEXPECTED_EMPTY_LINKED_KEY,b.lastStartLoc,0);const C=g.context(),L=l(7,C.offset,C.startLoc);return L.value="",o(L,C.offset,C.startLoc),A.key=L,o(A,C.offset,C.startLoc),{nextConsumeToken:N,node:A}}}return o(A,g.currentOffset(),g.currentPosition()),{node:A}}function I(g){const b=g.context(),A=b.currentType===1?g.currentOffset():b.offset,N=b.currentType===1?b.endLoc:b.startLoc,C=l(2,A,N);C.items=[];let L=null,x=null;do{const W=L||g.nextToken();switch(L=null,W.type){case 0:W.value==null&&r(g,U.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,st(W)),C.items.push(u(g,W.value||""));break;case 6:W.value==null&&r(g,U.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,st(W)),C.items.push(c(g,W.value||""));break;case 4:x=!0;break;case 5:W.value==null&&r(g,U.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,st(W)),C.items.push(d(g,W.value||"",!!x)),x&&(a(g,wa.USE_MODULO_SYNTAX,b.lastStartLoc,0,st(W)),x=null);break;case 7:W.value==null&&r(g,U.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,st(W)),C.items.push(s(g,W.value||""));break;case 8:{const ge=O(g);C.items.push(ge.node),L=ge.nextConsumeToken||null;break}}}while(b.currentType!==14&&b.currentType!==1);const X=b.currentType===1?b.lastOffset:g.currentOffset(),Me=b.currentType===1?b.lastEndLoc:g.currentPosition();return o(C,X,Me),C}function P(g,b,A,N){const C=g.context();let L=N.items.length===0;const x=l(1,b,A);x.cases=[],x.cases.push(N);do{const X=I(g);L||(L=X.items.length===0),x.cases.push(X)}while(C.currentType!==14);return L&&r(g,U.MUST_HAVE_MESSAGES_IN_PLURAL,A,0),o(x,g.currentOffset(),g.currentPosition()),x}function _(g){const b=g.context(),{offset:A,startLoc:N}=b,C=I(g);return b.currentType===14?C:P(g,A,N,C)}function S(g){const b=Xg(g,Se({},t)),A=b.context(),N=l(0,A.offset,A.startLoc);return e&&N.loc&&(N.loc.source=g),N.body=_(b),t.onCacheKey&&(N.cacheKey=t.onCacheKey(g)),A.currentType!==14&&r(b,U.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,g[A.offset]||""),o(N,b.currentOffset(),b.currentPosition()),N}return{parse:S}}function st(t){if(t.type===14)return"EOF";const e=(t.value||"").replace(/\r?\n/gu,"\\n");return e.length>10?e.slice(0,9)+"\u2026":e}function Yg(t,e={}){const n={ast:t,helpers:new Set};return{context:()=>n,helper:a=>(n.helpers.add(a),a)}}function ld(t,e){for(let n=0;n<t.length;n++)Mo(t[n],e)}function Mo(t,e){switch(t.type){case 1:ld(t.cases,e),e.helper("plural");break;case 2:ld(t.items,e);break;case 6:{Mo(t.key,e),e.helper("linked"),e.helper("type");break}case 5:e.helper("interpolate"),e.helper("list");break;case 4:e.helper("interpolate"),e.helper("named");break}}function pg(t,e={}){const n=Yg(t);n.helper("normalize"),t.body&&Mo(t.body,n);const i=n.context();t.helpers=Array.from(i.helpers)}function ev(t){const e=t.body;return e.type===2?od(e):e.cases.forEach(n=>od(n)),t}function od(t){if(t.items.length===1){const e=t.items[0];(e.type===3||e.type===9)&&(t.static=e.value,delete e.value)}else{const e=[];for(let n=0;n<t.items.length;n++){const i=t.items[n];if(!(i.type===3||i.type===9)||i.value==null)break;e.push(i.value)}if(e.length===t.items.length){t.static=Lo(e);for(let n=0;n<t.items.length;n++){const i=t.items[n];(i.type===3||i.type===9)&&delete i.value}}}}const tv="minifier";function pn(t){switch(t.t=t.type,t.type){case 0:{const e=t;pn(e.body),e.b=e.body,delete e.body;break}case 1:{const e=t,n=e.cases;for(let i=0;i<n.length;i++)pn(n[i]);e.c=n,delete e.cases;break}case 2:{const e=t,n=e.items;for(let i=0;i<n.length;i++)pn(n[i]);e.i=n,delete e.items,e.static&&(e.s=e.static,delete e.static);break}case 3:case 9:case 8:case 7:{const e=t;e.value&&(e.v=e.value,delete e.value);break}case 6:{const e=t;pn(e.key),e.k=e.key,delete e.key,e.modifier&&(pn(e.modifier),e.m=e.modifier,delete e.modifier);break}case 5:{const e=t;e.i=e.index,delete e.index;break}case 4:{const e=t;e.k=e.key,delete e.key;break}default:if(process.env.NODE_ENV!=="production")throw Yn(U.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:tv,args:[t.type]})}delete t.type}const nv="parser";function iv(t,e){const{sourceMap:n,filename:i,breakLineCode:r,needIndent:a}=e,l=e.location!==!1,o={filename:i,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:a,indentLevel:0};l&&t.loc&&(o.source=t.loc.source);const u=()=>o;function c(P,_){o.code+=P}function d(P,_=!0){const S=_?r:"";c(a?S+" ".repeat(P):S)}function s(P=!0){const _=++o.indentLevel;P&&d(_)}function h(P=!0){const _=--o.indentLevel;P&&d(_)}function v(){d(o.indentLevel)}return{context:u,push:c,indent:s,deindent:h,newline:v,helper:P=>`_${P}`,needIndent:()=>o.needIndent}}function rv(t,e){const{helper:n}=t;t.push(`${n("linked")}(`),ei(t,e.key),e.modifier?(t.push(", "),ei(t,e.modifier),t.push(", _type")):t.push(", undefined, _type"),t.push(")")}function av(t,e){const{helper:n,needIndent:i}=t;t.push(`${n("normalize")}([`),t.indent(i());const r=e.items.length;for(let a=0;a<r&&(ei(t,e.items[a]),a!==r-1);a++)t.push(", ");t.deindent(i()),t.push("])")}function lv(t,e){const{helper:n,needIndent:i}=t;if(e.cases.length>1){t.push(`${n("plural")}([`),t.indent(i());const r=e.cases.length;for(let a=0;a<r&&(ei(t,e.cases[a]),a!==r-1);a++)t.push(", ");t.deindent(i()),t.push("])")}}function ov(t,e){e.body?ei(t,e.body):t.push("null")}function ei(t,e){const{helper:n}=t;switch(e.type){case 0:ov(t,e);break;case 1:lv(t,e);break;case 2:av(t,e);break;case 6:rv(t,e);break;case 8:t.push(JSON.stringify(e.value),e);break;case 7:t.push(JSON.stringify(e.value),e);break;case 5:t.push(`${n("interpolate")}(${n("list")}(${e.index}))`,e);break;case 4:t.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(e.key)}))`,e);break;case 9:t.push(JSON.stringify(e.value),e);break;case 3:t.push(JSON.stringify(e.value),e);break;default:if(process.env.NODE_ENV!=="production")throw Yn(U.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:nv,args:[e.type]})}}const uv=(t,e={})=>{const n=B(e.mode)?e.mode:"normal",i=B(e.filename)?e.filename:"message.intl",r=!!e.sourceMap,a=e.breakLineCode!=null?e.breakLineCode:n==="arrow"?";":`
12
+ `,l=e.needIndent?e.needIndent:n!=="arrow",o=t.helpers||[],u=iv(t,{mode:n,filename:i,sourceMap:r,breakLineCode:a,needIndent:l});u.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),u.indent(l),o.length>0&&(u.push(`const { ${Lo(o.map(s=>`${s}: _${s}`),", ")} } = ctx`),u.newline()),u.push("return "),ei(u,t),u.deindent(l),u.push("}"),delete t.helpers;const{code:c,map:d}=u.context();return{ast:t,code:c,map:d?d.toJSON():void 0}};function cv(t,e={}){const n=Se({},e),i=!!n.jit,r=!!n.minify,a=n.optimize==null?!0:n.optimize,o=Zg(n).parse(t);return i?(a&&ev(o),r&&pn(o),{ast:o,code:""}):(pg(o,n),uv(o,n))}/*!
13
+ * core-base v9.13.1
14
+ * (c) 2024 kazuya kawaguchi
15
+ * Released under the MIT License.
16
+ */function sv(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Nt().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Nt().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Nt().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const jt=[];jt[0]={w:[0],i:[3,0],["["]:[4],o:[7]},jt[1]={w:[1],["."]:[2],["["]:[4],o:[7]},jt[2]={w:[2],i:[3,0],[0]:[3,0]},jt[3]={i:[3,0],[0]:[3,0],w:[1,1],["."]:[2,1],["["]:[4,1],o:[7,1]},jt[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],o:8,l:[4,0]},jt[5]={["'"]:[4,0],o:8,l:[5,0]},jt[6]={['"']:[4,0],o:8,l:[6,0]};const dv=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function fv(t){return dv.test(t)}function hv(t){const e=t.charCodeAt(0),n=t.charCodeAt(t.length-1);return e===n&&(e===34||e===39)?t.slice(1,-1):t}function mv(t){if(t==null)return"o";switch(t.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return t;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function yv(t){const e=t.trim();return t.charAt(0)==="0"&&isNaN(parseInt(t))?!1:fv(e)?hv(e):"*"+e}function _v(t){const e=[];let n=-1,i=0,r=0,a,l,o,u,c,d,s;const h=[];h[0]=()=>{l===void 0?l=o:l+=o},h[1]=()=>{l!==void 0&&(e.push(l),l=void 0)},h[2]=()=>{h[0](),r++},h[3]=()=>{if(r>0)r--,i=4,h[0]();else{if(r=0,l===void 0||(l=yv(l),l===!1))return!1;h[1]()}};function v(){const O=t[n+1];if(i===5&&O==="'"||i===6&&O==='"')return n++,o="\\"+O,h[0](),!0}for(;i!==null;)if(n++,a=t[n],!(a==="\\"&&v())){if(u=mv(a),s=jt[i],c=s[u]||s.l||8,c===8||(i=c[0],c[1]!==void 0&&(d=h[c[1]],d&&(o=a,d()===!1))))return;if(i===7)return e}}const ud=new Map;function gv(t,e){return J(t)?t[e]:null}function vv(t,e){if(!J(t))return null;let n=ud.get(e);if(n||(n=_v(e),n&&ud.set(e,n)),!n)return null;const i=n.length;let r=t,a=0;for(;a<i;){const l=r[n[a]];if(l===void 0||ie(r))return null;r=l,a++}return r}const bv=t=>t,Ev=t=>"",wv="text",Iv=t=>t.length===0?"":Lo(t),Tv=Dg;function cd(t,e){return t=Math.abs(t),e===2?t?t>1?1:0:1:t?Math.min(t,2):0}function Cv(t){const e=Oe(t.pluralIndex)?t.pluralIndex:-1;return t.named&&(Oe(t.named.count)||Oe(t.named.n))?Oe(t.named.count)?t.named.count:Oe(t.named.n)?t.named.n:e:e}function Ov(t,e){e.count||(e.count=t),e.n||(e.n=t)}function Sv(t={}){const e=t.locale,n=Cv(t),i=J(t.pluralRules)&&B(e)&&ie(t.pluralRules[e])?t.pluralRules[e]:cd,r=J(t.pluralRules)&&B(e)&&ie(t.pluralRules[e])?cd:void 0,a=_=>_[i(n,_.length,r)],l=t.list||[],o=_=>l[_],u=t.named||{};Oe(t.pluralIndex)&&Ov(n,u);const c=_=>u[_];function d(_){const S=ie(t.messages)?t.messages(_):J(t.messages)?t.messages[_]:!1;return S||(t.parent?t.parent.message(_):Ev)}const s=_=>t.modifiers?t.modifiers[_]:bv,h=j(t.processor)&&ie(t.processor.normalize)?t.processor.normalize:Iv,v=j(t.processor)&&ie(t.processor.interpolate)?t.processor.interpolate:Tv,O=j(t.processor)&&B(t.processor.type)?t.processor.type:wv,P={list:o,named:c,plural:a,linked:(_,...S)=>{const[g,b]=S;let A="text",N="";S.length===1?J(g)?(N=g.modifier||N,A=g.type||A):B(g)&&(N=g||N):S.length===2&&(B(g)&&(N=g||N),B(b)&&(A=b||A));const C=d(_)(P),L=A==="vnode"&&le(C)&&N?C[0]:C;return N?s(N)(L,A):L},message:d,type:O,interpolate:v,normalize:h,values:Se({},l,u)};return P}let Gi=null;function Rv(t){Gi=t}function Nv(t,e,n){Gi&&Gi.emit("i18n:init",{timestamp:Date.now(),i18n:t,version:e,meta:n})}const Pv=Av("function:translate");function Av(t){return e=>Gi&&Gi.emit(t,e)}const sd=wa.__EXTEND_POINT__,yn=ga(sd),qe={NOT_FOUND_KEY:sd,FALLBACK_TO_TRANSLATE:yn(),CANNOT_FORMAT_NUMBER:yn(),FALLBACK_TO_NUMBER_FORMAT:yn(),CANNOT_FORMAT_DATE:yn(),FALLBACK_TO_DATE_FORMAT:yn(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:yn(),__EXTEND_POINT__:yn()},kv={[qe.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[qe.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[qe.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[qe.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[qe.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[qe.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[qe.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function _n(t,...e){return Ki(kv[t],...e)}const dd=U.__EXTEND_POINT__,gn=ga(dd),Le={INVALID_ARGUMENT:dd,INVALID_DATE_ARGUMENT:gn(),INVALID_ISO_DATE_ARGUMENT:gn(),NOT_SUPPORT_NON_STRING_MESSAGE:gn(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:gn(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:gn(),NOT_SUPPORT_LOCALE_TYPE:gn(),__EXTEND_POINT__:gn()};function bt(t){return Yn(t,null,process.env.NODE_ENV!=="production"?{messages:Dv}:void 0)}const Dv={[Le.INVALID_ARGUMENT]:"Invalid arguments",[Le.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[Le.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[Le.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[Le.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[Le.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[Le.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function Fo(t,e){return e.locale!=null?fd(e.locale):fd(t.locale)}let Bo;function fd(t){if(B(t))return t;if(ie(t)){if(t.resolvedOnce&&Bo!=null)return Bo;if(t.constructor.name==="Function"){const e=t();if(kg(e))throw bt(Le.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Bo=e}else throw bt(Le.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw bt(Le.NOT_SUPPORT_LOCALE_TYPE)}function Lv(t,e,n){return[...new Set([n,...le(e)?e:J(e)?Object.keys(e):B(e)?[e]:[n]])]}function hd(t,e,n){const i=B(n)?n:ti,r=t;r.__localeChainCache||(r.__localeChainCache=new Map);let a=r.__localeChainCache.get(i);if(!a){a=[];let l=[n];for(;le(l);)l=md(a,l,e);const o=le(e)||!j(e)?e:e.default?e.default:null;l=B(o)?[o]:o,le(l)&&md(a,l,!1),r.__localeChainCache.set(i,a)}return a}function md(t,e,n){let i=!0;for(let r=0;r<e.length&&q(i);r++){const a=e[r];B(a)&&(i=xv(t,e[r],n))}return i}function xv(t,e,n){let i;const r=e.split("-");do{const a=r.join("-");i=Mv(t,a,n),r.splice(-1,1)}while(r.length&&i===!0);return i}function Mv(t,e,n){let i=!1;if(!t.includes(e)&&(i=!0,e)){i=e[e.length-1]!=="!";const r=e.replace(/!/g,"");t.push(r),(le(n)||j(n))&&n[r]&&(i=n[r])}return i}const Fv="9.13.1",Ia=-1,ti="en-US",Ta="",yd=t=>`${t.charAt(0).toLocaleUpperCase()}${t.substr(1)}`;function Bv(){return{upper:(t,e)=>e==="text"&&B(t)?t.toUpperCase():e==="vnode"&&J(t)&&"__v_isVNode"in t?t.children.toUpperCase():t,lower:(t,e)=>e==="text"&&B(t)?t.toLowerCase():e==="vnode"&&J(t)&&"__v_isVNode"in t?t.children.toLowerCase():t,capitalize:(t,e)=>e==="text"&&B(t)?yd(t):e==="vnode"&&J(t)&&"__v_isVNode"in t?yd(t.children):t}}let _d;function gd(t){_d=t}let vd;function $v(t){vd=t}let bd;function Vv(t){bd=t}let Ed=null;const wd=t=>{Ed=t},Uv=()=>Ed;let Id=null;const Td=t=>{Id=t},Hv=()=>Id;let Cd=0;function jv(t={}){const e=ie(t.onWarn)?t.onWarn:Re,n=B(t.version)?t.version:Fv,i=B(t.locale)||ie(t.locale)?t.locale:ti,r=ie(i)?ti:i,a=le(t.fallbackLocale)||j(t.fallbackLocale)||B(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:r,l=j(t.messages)?t.messages:{[r]:{}},o=j(t.datetimeFormats)?t.datetimeFormats:{[r]:{}},u=j(t.numberFormats)?t.numberFormats:{[r]:{}},c=Se({},t.modifiers||{},Bv()),d=t.pluralRules||{},s=ie(t.missing)?t.missing:null,h=q(t.missingWarn)||Ut(t.missingWarn)?t.missingWarn:!0,v=q(t.fallbackWarn)||Ut(t.fallbackWarn)?t.fallbackWarn:!0,O=!!t.fallbackFormat,I=!!t.unresolving,P=ie(t.postTranslation)?t.postTranslation:null,_=j(t.processor)?t.processor:null,S=q(t.warnHtmlMessage)?t.warnHtmlMessage:!0,g=!!t.escapeParameter,b=ie(t.messageCompiler)?t.messageCompiler:_d;process.env.NODE_ENV!=="production"&&!0&&!0&&ie(t.messageCompiler)&&rd(_n(qe.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const A=ie(t.messageResolver)?t.messageResolver:vd||gv,N=ie(t.localeFallbacker)?t.localeFallbacker:bd||Lv,C=J(t.fallbackContext)?t.fallbackContext:void 0,L=t,x=J(L.__datetimeFormatters)?L.__datetimeFormatters:new Map,X=J(L.__numberFormatters)?L.__numberFormatters:new Map,Me=J(L.__meta)?L.__meta:{};Cd++;const W={version:n,cid:Cd,locale:i,fallbackLocale:a,messages:l,modifiers:c,pluralRules:d,missing:s,missingWarn:h,fallbackWarn:v,fallbackFormat:O,unresolving:I,postTranslation:P,processor:_,warnHtmlMessage:S,escapeParameter:g,messageCompiler:b,messageResolver:A,localeFallbacker:N,fallbackContext:C,onWarn:e,__meta:Me};return W.datetimeFormats=o,W.numberFormats=u,W.__datetimeFormatters=x,W.__numberFormatters=X,process.env.NODE_ENV!=="production"&&(W.__v_emitter=L.__v_emitter!=null?L.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&Nv(W,n,Me),W}function Ca(t,e){return t instanceof RegExp?t.test(e):t}function Od(t,e){return t instanceof RegExp?t.test(e):t}function $o(t,e,n,i,r){const{missing:a,onWarn:l}=t;if(process.env.NODE_ENV!=="production"){const o=t.__v_emitter;o&&o.emit("missing",{locale:n,key:e,type:r,groupId:`${r}:${e}`})}if(a!==null){const o=a(t,n,e,r);return B(o)?o:e}else return process.env.NODE_ENV!=="production"&&Od(i,e)&&l(_n(qe.NOT_FOUND_KEY,{key:e,locale:n})),e}function Xi(t,e,n){const i=t;i.__localeChainCache=new Map,t.localeFallbacker(t,n,e)}function Sd(t,e){return t===e?!1:t.split("-")[0]===e.split("-")[0]}function Wv(t,e){const n=e.indexOf(t);if(n===-1)return!1;for(let i=n+1;i<e.length;i++)if(Sd(t,e[i]))return!0;return!1}function Vo(t){return n=>qv(n,t)}function qv(t,e){const n=e.b||e.body;if((n.t||n.type)===1){const i=n,r=i.c||i.cases;return t.plural(r.reduce((a,l)=>[...a,Rd(t,l)],[]))}else return Rd(t,n)}function Rd(t,e){const n=e.s||e.static;if(n)return t.type==="text"?n:t.normalize([n]);{const i=(e.i||e.items).reduce((r,a)=>[...r,Uo(t,a)],[]);return t.normalize(i)}}function Uo(t,e){const n=e.t||e.type;switch(n){case 3:{const i=e;return i.v||i.value}case 9:{const i=e;return i.v||i.value}case 4:{const i=e;return t.interpolate(t.named(i.k||i.key))}case 5:{const i=e;return t.interpolate(t.list(i.i!=null?i.i:i.index))}case 6:{const i=e,r=i.m||i.modifier;return t.linked(Uo(t,i.k||i.key),r?Uo(t,r):void 0,t.type)}case 7:{const i=e;return i.v||i.value}case 8:{const i=e;return i.v||i.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const Kv="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function Nd(t,e){e&&Ug(t)&&Re(Ki(Kv,{source:t}))}const Pd=t=>t;let ni=Object.create(null);function Ad(t){t.code===wa.USE_MODULO_SYNTAX&&Re(`The use of named interpolation with modulo syntax is deprecated. It will be removed in v10.
17
+ reference: https://vue-i18n.intlify.dev/guide/essentials/syntax#rails-i18n-format
18
+ (message compiler warning message: ${t.message})`)}const Wt=t=>J(t)&&(t.t===0||t.type===0)&&("b"in t||"body"in t);function kd(t,e={}){let n=!1;const i=e.onError||$g;return e.onError=r=>{n=!0,i(r)},fa(Vt({},cv(t,e)),{detectError:n})}const Gv=(t,e)=>{if(!B(t))throw bt(Le.NOT_SUPPORT_NON_STRING_MESSAGE);process.env.NODE_ENV!=="production"&&(e.onWarn=Ad);{const n=q(e.warnHtmlMessage)?e.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&Nd(t,n);const r=(e.onCacheKey||Pd)(t),a=ni[r];if(a)return a;const{code:l,detectError:o}=kd(t,e),u=new Function(`return ${l}`)();return o?u:ni[r]=u}};function Xv(t,e){if(process.env.NODE_ENV!=="production"&&(e.onWarn=Ad),__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&B(t)){const n=q(e.warnHtmlMessage)?e.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&Nd(t,n);const r=(e.onCacheKey||Pd)(t),a=ni[r];if(a)return a;const{ast:l,detectError:o}=kd(t,fa(Vt({},e),{location:process.env.NODE_ENV!=="production",jit:!0})),u=Vo(l);return o?u:ni[r]=u}else{if(process.env.NODE_ENV!=="production"&&!Wt(t))return Re(`the message that is resolve with key '${e.key}' is not supported for jit compilation`),()=>t;const n=t.cacheKey;if(n){const i=ni[n];return i||(ni[n]=Vo(t))}else return Vo(t)}}const Dd=()=>"",at=t=>ie(t);function Ld(t,...e){const{fallbackFormat:n,postTranslation:i,unresolving:r,messageCompiler:a,fallbackLocale:l,messages:o}=t,[u,c]=Ho(...e),d=q(c.missingWarn)?c.missingWarn:t.missingWarn,s=q(c.fallbackWarn)?c.fallbackWarn:t.fallbackWarn,h=q(c.escapeParameter)?c.escapeParameter:t.escapeParameter,v=!!c.resolvedMessage,O=B(c.default)||q(c.default)?q(c.default)?a?u:()=>u:c.default:n?a?u:()=>u:"",I=n||O!=="",P=Fo(t,c);h&&zv(c);let[_,S,g]=v?[u,P,o[P]||{}]:xd(t,u,P,l,s,d),b=_,A=u;if(!v&&!(B(b)||Wt(b)||at(b))&&I&&(b=O,A=b),!v&&(!(B(b)||Wt(b)||at(b))||!B(S)))return r?Ia:u;if(process.env.NODE_ENV!=="production"&&B(b)&&t.messageCompiler==null)return Re(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${u}'.`),u;let N=!1;const C=()=>{N=!0},L=at(b)?b:Md(t,u,S,b,A,C);if(N)return b;const x=Yv(t,S,g,c),X=Sv(x),Me=Jv(t,L,X),W=i?i(Me,u):Me;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const ge={timestamp:Date.now(),key:B(u)?u:at(b)?b.key:"",locale:S||(at(b)?b.locale:""),format:B(b)?b:at(b)?b.source:"",message:W};ge.meta=Se({},t.__meta,Uv()||{}),Pv(ge)}return W}function zv(t){le(t.list)?t.list=t.list.map(e=>B(e)?ps(e):e):J(t.named)&&Object.keys(t.named).forEach(e=>{B(t.named[e])&&(t.named[e]=ps(t.named[e]))})}function xd(t,e,n,i,r,a){const{messages:l,onWarn:o,messageResolver:u,localeFallbacker:c}=t,d=c(t,i,n);let s={},h,v=null,O=n,I=null;const P="translate";for(let _=0;_<d.length;_++){if(h=I=d[_],process.env.NODE_ENV!=="production"&&n!==h&&!Sd(n,h)&&Ca(r,e)&&o(_n(qe.FALLBACK_TO_TRANSLATE,{key:e,target:h})),process.env.NODE_ENV!=="production"&&n!==h){const A=t.__v_emitter;A&&A.emit("fallback",{type:P,key:e,from:O,to:I,groupId:`${P}:${e}`})}s=l[h]||{};let S=null,g,b;if(process.env.NODE_ENV!=="production"&&ut&&(S=window.performance.now(),g="intlify-message-resolve-start",b="intlify-message-resolve-end",pe&&pe(g)),(v=u(s,e))===null&&(v=s[e]),process.env.NODE_ENV!=="production"&&ut){const A=window.performance.now(),N=t.__v_emitter;N&&S&&v&&N.emit("message-resolve",{type:"message-resolve",key:e,message:v,time:A-S,groupId:`${P}:${e}`}),g&&b&&pe&&mn&&(pe(b),mn("intlify message resolve",g,b))}if(B(v)||Wt(v)||at(v))break;if(!Wv(h,d)){const A=$o(t,e,h,a,P);A!==e&&(v=A)}O=I}return[v,h,s]}function Md(t,e,n,i,r,a){const{messageCompiler:l,warnHtmlMessage:o}=t;if(at(i)){const h=i;return h.locale=h.locale||n,h.key=h.key||e,h}if(l==null){const h=()=>i;return h.locale=n,h.key=e,h}let u=null,c,d;process.env.NODE_ENV!=="production"&&ut&&(u=window.performance.now(),c="intlify-message-compilation-start",d="intlify-message-compilation-end",pe&&pe(c));const s=l(i,Qv(t,n,r,i,o,a));if(process.env.NODE_ENV!=="production"&&ut){const h=window.performance.now(),v=t.__v_emitter;v&&u&&v.emit("message-compilation",{type:"message-compilation",message:i,time:h-u,groupId:`translate:${e}`}),c&&d&&pe&&mn&&(pe(d),mn("intlify message compilation",c,d))}return s.locale=n,s.key=e,s.source=i,s}function Jv(t,e,n){let i=null,r,a;process.env.NODE_ENV!=="production"&&ut&&(i=window.performance.now(),r="intlify-message-evaluation-start",a="intlify-message-evaluation-end",pe&&pe(r));const l=e(n);if(process.env.NODE_ENV!=="production"&&ut){const o=window.performance.now(),u=t.__v_emitter;u&&i&&u.emit("message-evaluation",{type:"message-evaluation",value:l,time:o-i,groupId:`translate:${e.key}`}),r&&a&&pe&&mn&&(pe(a),mn("intlify message evaluation",r,a))}return l}function Ho(...t){const[e,n,i]=t,r={};if(!B(e)&&!Oe(e)&&!at(e)&&!Wt(e))throw bt(Le.INVALID_ARGUMENT);const a=Oe(e)?String(e):(at(e),e);return Oe(n)?r.plural=n:B(n)?r.default=n:j(n)&&!ya(n)?r.named=n:le(n)&&(r.list=n),Oe(i)?r.plural=i:B(i)?r.default=i:j(i)&&Se(r,i),[a,r]}function Qv(t,e,n,i,r,a){return{locale:e,key:n,warnHtmlMessage:r,onError:l=>{if(a&&a(l),process.env.NODE_ENV!=="production"){const o=Zv(i),u=`Message compilation error: ${l.message}`,c=l.location&&o&&Lg(o,l.location.start.offset,l.location.end.offset),d=t.__v_emitter;d&&o&&d.emit("compile-error",{message:o,error:l.message,start:l.location&&l.location.start.offset,end:l.location&&l.location.end.offset,groupId:`translate:${n}`}),console.error(c?`${u}
19
+ ${c}`:u)}else throw l},onCacheKey:l=>Rg(e,n,l)}}function Zv(t){if(B(t))return t;if(t.loc&&t.loc.source)return t.loc.source}function Yv(t,e,n,i){const{modifiers:r,pluralRules:a,messageResolver:l,fallbackLocale:o,fallbackWarn:u,missingWarn:c,fallbackContext:d}=t,h={locale:e,modifiers:r,pluralRules:a,messages:v=>{let O=l(n,v);if(O==null&&d){const[,,I]=xd(d,v,e,o,u,c);O=l(I,v)}if(B(O)||Wt(O)){let I=!1;const _=Md(t,v,e,O,v,()=>{I=!0});return I?Dd:_}else return at(O)?O:Dd}};return t.processor&&(h.processor=t.processor),i.list&&(h.list=i.list),i.named&&(h.named=i.named),Oe(i.plural)&&(h.pluralIndex=i.plural),h}const Fd=typeof Intl!="undefined",Bd={dateTimeFormat:Fd&&typeof Intl.DateTimeFormat!="undefined",numberFormat:Fd&&typeof Intl.NumberFormat!="undefined"};function $d(t,...e){const{datetimeFormats:n,unresolving:i,fallbackLocale:r,onWarn:a,localeFallbacker:l}=t,{__datetimeFormatters:o}=t;if(process.env.NODE_ENV!=="production"&&!Bd.dateTimeFormat)return a(_n(qe.CANNOT_FORMAT_DATE)),Ta;const[u,c,d,s]=jo(...e),h=q(d.missingWarn)?d.missingWarn:t.missingWarn,v=q(d.fallbackWarn)?d.fallbackWarn:t.fallbackWarn,O=!!d.part,I=Fo(t,d),P=l(t,r,I);if(!B(u)||u==="")return new Intl.DateTimeFormat(I,s).format(c);let _={},S,g=null,b=I,A=null;const N="datetime format";for(let x=0;x<P.length;x++){if(S=A=P[x],process.env.NODE_ENV!=="production"&&I!==S&&Ca(v,u)&&a(_n(qe.FALLBACK_TO_DATE_FORMAT,{key:u,target:S})),process.env.NODE_ENV!=="production"&&I!==S){const X=t.__v_emitter;X&&X.emit("fallback",{type:N,key:u,from:b,to:A,groupId:`${N}:${u}`})}if(_=n[S]||{},g=_[u],j(g))break;$o(t,u,S,h,N),b=A}if(!j(g)||!B(S))return i?Ia:u;let C=`${S}__${u}`;ya(s)||(C=`${C}__${JSON.stringify(s)}`);let L=o.get(C);return L||(L=new Intl.DateTimeFormat(S,Se({},g,s)),o.set(C,L)),O?L.formatToParts(c):L.format(c)}const Vd=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function jo(...t){const[e,n,i,r]=t,a={};let l={},o;if(B(e)){const u=e.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!u)throw bt(Le.INVALID_ISO_DATE_ARGUMENT);const c=u[3]?u[3].trim().startsWith("T")?`${u[1].trim()}${u[3].trim()}`:`${u[1].trim()}T${u[3].trim()}`:u[1].trim();o=new Date(c);try{o.toISOString()}catch(d){throw bt(Le.INVALID_ISO_DATE_ARGUMENT)}}else if(Pg(e)){if(isNaN(e.getTime()))throw bt(Le.INVALID_DATE_ARGUMENT);o=e}else if(Oe(e))o=e;else throw bt(Le.INVALID_ARGUMENT);return B(n)?a.key=n:j(n)&&Object.keys(n).forEach(u=>{Vd.includes(u)?l[u]=n[u]:a[u]=n[u]}),B(i)?a.locale=i:j(i)&&(l=i),j(r)&&(l=r),[a.key||"",o,a,l]}function Ud(t,e,n){const i=t;for(const r in n){const a=`${e}__${r}`;!i.__datetimeFormatters.has(a)||i.__datetimeFormatters.delete(a)}}function Hd(t,...e){const{numberFormats:n,unresolving:i,fallbackLocale:r,onWarn:a,localeFallbacker:l}=t,{__numberFormatters:o}=t;if(process.env.NODE_ENV!=="production"&&!Bd.numberFormat)return a(_n(qe.CANNOT_FORMAT_NUMBER)),Ta;const[u,c,d,s]=Wo(...e),h=q(d.missingWarn)?d.missingWarn:t.missingWarn,v=q(d.fallbackWarn)?d.fallbackWarn:t.fallbackWarn,O=!!d.part,I=Fo(t,d),P=l(t,r,I);if(!B(u)||u==="")return new Intl.NumberFormat(I,s).format(c);let _={},S,g=null,b=I,A=null;const N="number format";for(let x=0;x<P.length;x++){if(S=A=P[x],process.env.NODE_ENV!=="production"&&I!==S&&Ca(v,u)&&a(_n(qe.FALLBACK_TO_NUMBER_FORMAT,{key:u,target:S})),process.env.NODE_ENV!=="production"&&I!==S){const X=t.__v_emitter;X&&X.emit("fallback",{type:N,key:u,from:b,to:A,groupId:`${N}:${u}`})}if(_=n[S]||{},g=_[u],j(g))break;$o(t,u,S,h,N),b=A}if(!j(g)||!B(S))return i?Ia:u;let C=`${S}__${u}`;ya(s)||(C=`${C}__${JSON.stringify(s)}`);let L=o.get(C);return L||(L=new Intl.NumberFormat(S,Se({},g,s)),o.set(C,L)),O?L.formatToParts(c):L.format(c)}const jd=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Wo(...t){const[e,n,i,r]=t,a={};let l={};if(!Oe(e))throw bt(Le.INVALID_ARGUMENT);const o=e;return B(n)?a.key=n:j(n)&&Object.keys(n).forEach(u=>{jd.includes(u)?l[u]=n[u]:a[u]=n[u]}),B(i)?a.locale=i:j(i)&&(l=i),j(r)&&(l=r),[a.key||"",o,a,l]}function Wd(t,e,n){const i=t;for(const r in n){const a=`${e}__${r}`;!i.__numberFormatters.has(a)||i.__numberFormatters.delete(a)}}sv();/**
20
+ * @vue/shared v3.4.35
21
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
22
+ * @license MIT
23
+ **//*! #__NO_SIDE_EFFECTS__ */function pv(t,e){const n=new Set(t.split(","));return e?i=>n.has(i.toLowerCase()):i=>n.has(i)}const Et=process.env.NODE_ENV!=="production"?Object.freeze({}):{};process.env.NODE_ENV!=="production"&&Object.freeze([]);const qt=()=>{},eb=()=>!1,tb=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),lt=Object.assign,nb=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},ib=Object.prototype.hasOwnProperty,we=(t,e)=>ib.call(t,e),oe=Array.isArray,ii=t=>Oa(t)==="[object Map]",rb=t=>Oa(t)==="[object Set]",Ie=t=>typeof t=="function",dt=t=>typeof t=="string",zi=t=>typeof t=="symbol",Ke=t=>t!==null&&typeof t=="object",ab=t=>(Ke(t)||Ie(t))&&Ie(t.then)&&Ie(t.catch),lb=Object.prototype.toString,Oa=t=>lb.call(t),qd=t=>Oa(t).slice(8,-1),ob=t=>Oa(t)==="[object Object]",qo=t=>dt(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,Kd=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},Gd=Kd(t=>t.charAt(0).toUpperCase()+t.slice(1)),ub=Kd(t=>t?`on${Gd(t)}`:""),Kt=(t,e)=>!Object.is(t,e),cb=(t,e,n,i=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:i,value:n})};let Xd;const zd=()=>Xd||(Xd=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function Ko(t){if(oe(t)){const e={};for(let n=0;n<t.length;n++){const i=t[n],r=dt(i)?hb(i):Ko(i);if(r)for(const a in r)e[a]=r[a]}return e}else if(dt(t)||Ke(t))return t}const sb=/;(?![^(]*\))/g,db=/:([^]+)/,fb=/\/\*[^]*?\*\//g;function hb(t){const e={};return t.replace(fb,"").split(sb).forEach(n=>{if(n){const i=n.split(db);i.length>1&&(e[i[0].trim()]=i[1].trim())}}),e}function Go(t){let e="";if(dt(t))e=t;else if(oe(t))for(let n=0;n<t.length;n++){const i=Go(t[n]);i&&(e+=i+" ")}else if(Ke(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}/**
24
+ * @vue/reactivity v3.4.35
25
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
26
+ * @license MIT
27
+ **/function Gt(t,...e){console.warn(`[Vue warn] ${t}`,...e)}let ft;class mb{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=ft,!e&&ft&&(this.index=(ft.scopes||(ft.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const n=ft;try{return ft=this,e()}finally{ft=n}}else process.env.NODE_ENV!=="production"&&Gt("cannot run an inactive effect scope.")}on(){ft=this}off(){ft=this.parent}stop(e){if(this._active){let n,i;for(n=0,i=this.effects.length;n<i;n++)this.effects[n].stop();for(n=0,i=this.cleanups.length;n<i;n++)this.cleanups[n]();if(this.scopes)for(n=0,i=this.scopes.length;n<i;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!e){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this._active=!1}}}function yb(t){return new mb(t)}function _b(t,e=ft){e&&e.active&&e.effects.push(t)}function gb(){return ft}let vn;class Jd{constructor(e,n,i,r){this.fn=e,this.trigger=n,this.scheduler=i,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,_b(this,r)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,Ji();for(let e=0;e<this._depsLength;e++){const n=this.deps[e];if(n.computed&&(vb(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Qi()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=Xt,n=vn;try{return Xt=!0,vn=this,this._runnings++,Qd(this),this.fn()}finally{Zd(this),this._runnings--,vn=n,Xt=e}}stop(){this.active&&(Qd(this),Zd(this),this.onStop&&this.onStop(),this.active=!1)}}function vb(t){return t.value}function Qd(t){t._trackId++,t._depsLength=0}function Zd(t){if(t.deps.length>t._depsLength){for(let e=t._depsLength;e<t.deps.length;e++)Yd(t.deps[e],t);t.deps.length=t._depsLength}}function Yd(t,e){const n=t.get(e);n!==void 0&&e._trackId!==n&&(t.delete(e),t.size===0&&t.cleanup())}let Xt=!0,Xo=0;const pd=[];function Ji(){pd.push(Xt),Xt=!1}function Qi(){const t=pd.pop();Xt=t===void 0?!0:t}function zo(){Xo++}function Jo(){for(Xo--;!Xo&&Qo.length;)Qo.shift()()}function ef(t,e,n){var i;if(e.get(t)!==t._trackId){e.set(t,t._trackId);const r=t.deps[t._depsLength];r!==e?(r&&Yd(r,t),t.deps[t._depsLength++]=e):t._depsLength++,process.env.NODE_ENV!=="production"&&((i=t.onTrack)==null||i.call(t,lt({effect:t},n)))}}const Qo=[];function tf(t,e,n){var i;zo();for(const r of t.keys()){let a;r._dirtyLevel<e&&(a!=null?a:a=t.get(r)===r._trackId)&&(r._shouldSchedule||(r._shouldSchedule=r._dirtyLevel===0),r._dirtyLevel=e),r._shouldSchedule&&(a!=null?a:a=t.get(r)===r._trackId)&&(process.env.NODE_ENV!=="production"&&((i=r.onTrigger)==null||i.call(r,lt({effect:r},n))),r.trigger(),(!r._runnings||r.allowRecurse)&&r._dirtyLevel!==2&&(r._shouldSchedule=!1,r.scheduler&&Qo.push(r.scheduler)))}Jo()}const nf=(t,e)=>{const n=new Map;return n.cleanup=t,n.computed=e,n},Zo=new WeakMap,bn=Symbol(process.env.NODE_ENV!=="production"?"iterate":""),Yo=Symbol(process.env.NODE_ENV!=="production"?"Map key iterate":"");function Ue(t,e,n){if(Xt&&vn){let i=Zo.get(t);i||Zo.set(t,i=new Map);let r=i.get(n);r||i.set(n,r=nf(()=>i.delete(n))),ef(vn,r,process.env.NODE_ENV!=="production"?{target:t,type:e,key:n}:void 0)}}function zt(t,e,n,i,r,a){const l=Zo.get(t);if(!l)return;let o=[];if(e==="clear")o=[...l.values()];else if(n==="length"&&oe(t)){const u=Number(i);l.forEach((c,d)=>{(d==="length"||!zi(d)&&d>=u)&&o.push(c)})}else switch(n!==void 0&&o.push(l.get(n)),e){case"add":oe(t)?qo(n)&&o.push(l.get("length")):(o.push(l.get(bn)),ii(t)&&o.push(l.get(Yo)));break;case"delete":oe(t)||(o.push(l.get(bn)),ii(t)&&o.push(l.get(Yo)));break;case"set":ii(t)&&o.push(l.get(bn));break}zo();for(const u of o)u&&tf(u,4,process.env.NODE_ENV!=="production"?{target:t,type:e,key:n,newValue:i,oldValue:r,oldTarget:a}:void 0);Jo()}const bb=pv("__proto__,__v_isRef,__isVue"),rf=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(zi)),af=Eb();function Eb(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const i=K(this);for(let a=0,l=this.length;a<l;a++)Ue(i,"get",a+"");const r=i[e](...n);return r===-1||r===!1?i[e](...n.map(K)):r}}),["push","pop","shift","unshift","splice"].forEach(e=>{t[e]=function(...n){Ji(),zo();const i=K(this)[e].apply(this,n);return Jo(),Qi(),i}}),t}function wb(t){zi(t)||(t=String(t));const e=K(this);return Ue(e,"has",t),e.hasOwnProperty(t)}class lf{constructor(e=!1,n=!1){this._isReadonly=e,this._isShallow=n}get(e,n,i){const r=this._isReadonly,a=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return a;if(n==="__v_raw")return i===(r?a?yf:mf:a?xb:hf).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(i)?e:void 0;const l=oe(e);if(!r){if(l&&we(af,n))return Reflect.get(af,n,i);if(n==="hasOwnProperty")return wb}const o=Reflect.get(e,n,i);return(zi(n)?rf.has(n):bb(n))||(r||Ue(e,"get",n),a)?o:Je(o)?l&&qo(n)?o:o.value:Ke(o)?r?gf(o):_f(o):o}}class Ib extends lf{constructor(e=!1){super(!1,e)}set(e,n,i,r){let a=e[n];if(!this._isShallow){const u=At(a);if(!kt(i)&&!At(i)&&(a=K(a),i=K(i)),!oe(e)&&Je(a)&&!Je(i))return u?!1:(a.value=i,!0)}const l=oe(e)&&qo(n)?Number(n)<e.length:we(e,n),o=Reflect.set(e,n,i,r);return e===K(r)&&(l?Kt(i,a)&&zt(e,"set",n,i,a):zt(e,"add",n,i)),o}deleteProperty(e,n){const i=we(e,n),r=e[n],a=Reflect.deleteProperty(e,n);return a&&i&&zt(e,"delete",n,void 0,r),a}has(e,n){const i=Reflect.has(e,n);return(!zi(n)||!rf.has(n))&&Ue(e,"has",n),i}ownKeys(e){return Ue(e,"iterate",oe(e)?"length":bn),Reflect.ownKeys(e)}}class of extends lf{constructor(e=!1){super(!0,e)}set(e,n){return process.env.NODE_ENV!=="production"&&Gt(`Set operation on key "${String(n)}" failed: target is readonly.`,e),!0}deleteProperty(e,n){return process.env.NODE_ENV!=="production"&&Gt(`Delete operation on key "${String(n)}" failed: target is readonly.`,e),!0}}const Tb=new Ib,Cb=new of,Ob=new of(!0),po=t=>t,Sa=t=>Reflect.getPrototypeOf(t);function Ra(t,e,n=!1,i=!1){t=t.__v_raw;const r=K(t),a=K(e);n||(Kt(e,a)&&Ue(r,"get",e),Ue(r,"get",a));const{has:l}=Sa(r),o=i?po:n?iu:Zi;if(l.call(r,e))return o(t.get(e));if(l.call(r,a))return o(t.get(a));t!==r&&t.get(e)}function Na(t,e=!1){const n=this.__v_raw,i=K(n),r=K(t);return e||(Kt(t,r)&&Ue(i,"has",t),Ue(i,"has",r)),t===r?n.has(t):n.has(t)||n.has(r)}function Pa(t,e=!1){return t=t.__v_raw,!e&&Ue(K(t),"iterate",bn),Reflect.get(t,"size",t)}function uf(t,e=!1){!e&&!kt(t)&&!At(t)&&(t=K(t));const n=K(this);return Sa(n).has.call(n,t)||(n.add(t),zt(n,"add",t,t)),this}function cf(t,e,n=!1){!n&&!kt(e)&&!At(e)&&(e=K(e));const i=K(this),{has:r,get:a}=Sa(i);let l=r.call(i,t);l?process.env.NODE_ENV!=="production"&&ff(i,r,t):(t=K(t),l=r.call(i,t));const o=a.call(i,t);return i.set(t,e),l?Kt(e,o)&&zt(i,"set",t,e,o):zt(i,"add",t,e),this}function sf(t){const e=K(this),{has:n,get:i}=Sa(e);let r=n.call(e,t);r?process.env.NODE_ENV!=="production"&&ff(e,n,t):(t=K(t),r=n.call(e,t));const a=i?i.call(e,t):void 0,l=e.delete(t);return r&&zt(e,"delete",t,void 0,a),l}function df(){const t=K(this),e=t.size!==0,n=process.env.NODE_ENV!=="production"?ii(t)?new Map(t):new Set(t):void 0,i=t.clear();return e&&zt(t,"clear",void 0,void 0,n),i}function Aa(t,e){return function(i,r){const a=this,l=a.__v_raw,o=K(l),u=e?po:t?iu:Zi;return!t&&Ue(o,"iterate",bn),l.forEach((c,d)=>i.call(r,u(c),u(d),a))}}function ka(t,e,n){return function(...i){const r=this.__v_raw,a=K(r),l=ii(a),o=t==="entries"||t===Symbol.iterator&&l,u=t==="keys"&&l,c=r[t](...i),d=n?po:e?iu:Zi;return!e&&Ue(a,"iterate",u?Yo:bn),{next(){const{value:s,done:h}=c.next();return h?{value:s,done:h}:{value:o?[d(s[0]),d(s[1])]:d(s),done:h}},[Symbol.iterator](){return this}}}}function Jt(t){return function(...e){if(process.env.NODE_ENV!=="production"){const n=e[0]?`on key "${e[0]}" `:"";Gt(`${Gd(t)} operation ${n}failed: target is readonly.`,K(this))}return t==="delete"?!1:t==="clear"?void 0:this}}function Sb(){const t={get(a){return Ra(this,a)},get size(){return Pa(this)},has:Na,add:uf,set:cf,delete:sf,clear:df,forEach:Aa(!1,!1)},e={get(a){return Ra(this,a,!1,!0)},get size(){return Pa(this)},has:Na,add(a){return uf.call(this,a,!0)},set(a,l){return cf.call(this,a,l,!0)},delete:sf,clear:df,forEach:Aa(!1,!0)},n={get(a){return Ra(this,a,!0)},get size(){return Pa(this,!0)},has(a){return Na.call(this,a,!0)},add:Jt("add"),set:Jt("set"),delete:Jt("delete"),clear:Jt("clear"),forEach:Aa(!0,!1)},i={get(a){return Ra(this,a,!0,!0)},get size(){return Pa(this,!0)},has(a){return Na.call(this,a,!0)},add:Jt("add"),set:Jt("set"),delete:Jt("delete"),clear:Jt("clear"),forEach:Aa(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(a=>{t[a]=ka(a,!1,!1),n[a]=ka(a,!0,!1),e[a]=ka(a,!1,!0),i[a]=ka(a,!0,!0)}),[t,n,e,i]}const[Rb,Nb,Pb,Ab]=Sb();function eu(t,e){const n=e?t?Ab:Pb:t?Nb:Rb;return(i,r,a)=>r==="__v_isReactive"?!t:r==="__v_isReadonly"?t:r==="__v_raw"?i:Reflect.get(we(n,r)&&r in i?n:i,r,a)}const kb={get:eu(!1,!1)},Db={get:eu(!0,!1)},Lb={get:eu(!0,!0)};function ff(t,e,n){const i=K(n);if(i!==n&&e.call(t,i)){const r=qd(t);Gt(`Reactive ${r} contains both the raw and reactive versions of the same object${r==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const hf=new WeakMap,xb=new WeakMap,mf=new WeakMap,yf=new WeakMap;function Mb(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Fb(t){return t.__v_skip||!Object.isExtensible(t)?0:Mb(qd(t))}function _f(t){return At(t)?t:tu(t,!1,Tb,kb,hf)}function gf(t){return tu(t,!0,Cb,Db,mf)}function Da(t){return tu(t,!0,Ob,Lb,yf)}function tu(t,e,n,i,r){if(!Ke(t))return process.env.NODE_ENV!=="production"&&Gt(`value cannot be made ${e?"readonly":"reactive"}: ${String(t)}`),t;if(t.__v_raw&&!(e&&t.__v_isReactive))return t;const a=r.get(t);if(a)return a;const l=Fb(t);if(l===0)return t;const o=new Proxy(t,l===2?i:n);return r.set(t,o),o}function ri(t){return At(t)?ri(t.__v_raw):!!(t&&t.__v_isReactive)}function At(t){return!!(t&&t.__v_isReadonly)}function kt(t){return!!(t&&t.__v_isShallow)}function nu(t){return t?!!t.__v_raw:!1}function K(t){const e=t&&t.__v_raw;return e?K(e):t}function Bb(t){return Object.isExtensible(t)&&cb(t,"__v_skip",!0),t}const Zi=t=>Ke(t)?_f(t):t,iu=t=>Ke(t)?gf(t):t,$b="Computed is still dirty after getter evaluation, likely because a computed is mutating its own dependency in its getter. State mutations in computed getters should be avoided. Check the docs for more details: https://vuejs.org/guide/essentials/computed.html#getters-should-be-side-effect-free";class vf{constructor(e,n,i,r){this.getter=e,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Jd(()=>e(this._value),()=>La(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=i}get value(){const e=K(this);return(!e._cacheable||e.effect.dirty)&&Kt(e._value,e._value=e.effect.run())&&La(e,4),bf(e),e.effect._dirtyLevel>=2&&(process.env.NODE_ENV!=="production"&&this._warnRecursive&&Gt($b,`
28
+
29
+ getter: `,this.getter),La(e,2)),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function Vb(t,e,n=!1){let i,r;const a=Ie(t);a?(i=t,r=process.env.NODE_ENV!=="production"?()=>{Gt("Write operation failed: computed value is readonly")}:qt):(i=t.get,r=t.set);const l=new vf(i,r,a||!r,n);return process.env.NODE_ENV!=="production"&&e&&!n&&(l.effect.onTrack=e.onTrack,l.effect.onTrigger=e.onTrigger),l}function bf(t){var e;Xt&&vn&&(t=K(t),ef(vn,(e=t.dep)!=null?e:t.dep=nf(()=>t.dep=void 0,t instanceof vf?t:void 0),process.env.NODE_ENV!=="production"?{target:t,type:"get",key:"value"}:void 0))}function La(t,e=4,n,i){t=K(t);const r=t.dep;r&&tf(r,e,process.env.NODE_ENV!=="production"?{target:t,type:"set",key:"value",newValue:n,oldValue:i}:void 0)}function Je(t){return!!(t&&t.__v_isRef===!0)}function ai(t){return wf(t,!1)}function Ef(t){return wf(t,!0)}function wf(t,e){return Je(t)?t:new Ub(t,e)}class Ub{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:K(e),this._value=n?e:Zi(e)}get value(){return bf(this),this._value}set value(e){const n=this.__v_isShallow||kt(e)||At(e);if(e=n?e:K(e),Kt(e,this._rawValue)){const i=this._rawValue;this._rawValue=e,this._value=n?e:Zi(e),La(this,4,e,i)}}}function Hb(t){return Je(t)?t.value:t}const jb={get:(t,e,n)=>Hb(Reflect.get(t,e,n)),set:(t,e,n,i)=>{const r=t[e];return Je(r)&&!Je(n)?(r.value=n,!0):Reflect.set(t,e,n,i)}};function Wb(t){return ri(t)?t:new Proxy(t,jb)}/**
30
+ * @vue/runtime-core v3.4.35
31
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
32
+ * @license MIT
33
+ **/const En=[];function qb(t){En.push(t)}function Kb(){En.pop()}let ru=!1;function ue(t,...e){if(ru)return;ru=!0,Ji();const n=En.length?En[En.length-1].component:null,i=n&&n.appContext.config.warnHandler,r=Gb();if(i)wn(i,n,11,[t+e.map(a=>{var l,o;return(o=(l=a.toString)==null?void 0:l.call(a))!=null?o:JSON.stringify(a)}).join(""),n&&n.proxy,r.map(({vnode:a})=>`at <${Gf(n,a.type)}>`).join(`
34
+ `),r]);else{const a=[`[Vue warn]: ${t}`,...e];r.length&&a.push(`
35
+ `,...Xb(r)),console.warn(...a)}Qi(),ru=!1}function Gb(){let t=En[En.length-1];if(!t)return[];const e=[];for(;t;){const n=e[0];n&&n.vnode===t?n.recurseCount++:e.push({vnode:t,recurseCount:0});const i=t.component&&t.component.parent;t=i&&i.vnode}return e}function Xb(t){const e=[];return t.forEach((n,i)=>{e.push(...i===0?[]:[`
36
+ `],...zb(n))}),e}function zb({vnode:t,recurseCount:e}){const n=e>0?`... (${e} recursive calls)`:"",i=t.component?t.component.parent==null:!1,r=` at <${Gf(t.component,t.type,i)}`,a=">"+n;return t.props?[r,...Jb(t.props),a]:[r+a]}function Jb(t){const e=[],n=Object.keys(t);return n.slice(0,3).forEach(i=>{e.push(...If(i,t[i]))}),n.length>3&&e.push(" ..."),e}function If(t,e,n){return dt(e)?(e=JSON.stringify(e),n?e:[`${t}=${e}`]):typeof e=="number"||typeof e=="boolean"||e==null?n?e:[`${t}=${e}`]:Je(e)?(e=If(t,K(e.value),!0),n?e:[`${t}=Ref<`,e,">"]):Ie(e)?[`${t}=fn${e.name?`<${e.name}>`:""}`]:(e=K(e),n?e:[`${t}=`,e])}const au={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",[0]:"setup function",[1]:"render function",[2]:"watcher getter",[3]:"watcher callback",[4]:"watcher cleanup function",[5]:"native event handler",[6]:"component event handler",[7]:"vnode hook",[8]:"directive hook",[9]:"transition hook",[10]:"app errorHandler",[11]:"app warnHandler",[12]:"ref function",[13]:"async component loader",[14]:"scheduler flush",[15]:"component update"};function wn(t,e,n,i){try{return i?t(...i):t()}catch(r){lu(r,e,n)}}function Yi(t,e,n,i){if(Ie(t)){const r=wn(t,e,n,i);return r&&ab(r)&&r.catch(a=>{lu(a,e,n)}),r}if(oe(t)){const r=[];for(let a=0;a<t.length;a++)r.push(Yi(t[a],e,n,i));return r}else process.env.NODE_ENV!=="production"&&ue(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof t}`)}function lu(t,e,n,i=!0){const r=e?e.vnode:null;if(e){let a=e.parent;const l=e.proxy,o=process.env.NODE_ENV!=="production"?au[n]:`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const c=a.ec;if(c){for(let d=0;d<c.length;d++)if(c[d](t,l,o)===!1)return}a=a.parent}const u=e.appContext.config.errorHandler;if(u){Ji(),wn(u,null,10,[t,l,o]),Qi();return}}Qb(t,n,r,i)}function Qb(t,e,n,i=!0){if(process.env.NODE_ENV!=="production"){const r=au[e];if(n&&qb(n),ue(`Unhandled error${r?` during execution of ${r}`:""}`),n&&Kb(),i)throw t;console.error(t)}else console.error(t)}let xa=!1,ou=!1;const ht=[];let Qt=0;const li=[];let Zt=null,In=0;const Tf=Promise.resolve();let uu=null;const Zb=100;function Yb(t){const e=uu||Tf;return t?e.then(this?t.bind(this):t):e}function pb(t){let e=Qt+1,n=ht.length;for(;e<n;){const i=e+n>>>1,r=ht[i],a=pi(r);a<t||a===t&&r.pre?e=i+1:n=i}return e}function cu(t){(!ht.length||!ht.includes(t,xa&&t.allowRecurse?Qt+1:Qt))&&(t.id==null?ht.push(t):ht.splice(pb(t.id),0,t),Cf())}function Cf(){!xa&&!ou&&(ou=!0,uu=Tf.then(Sf))}function Of(t){oe(t)?li.push(...t):(!Zt||!Zt.includes(t,t.allowRecurse?In+1:In))&&li.push(t),Cf()}function eE(t){if(li.length){const e=[...new Set(li)].sort((n,i)=>pi(n)-pi(i));if(li.length=0,Zt){Zt.push(...e);return}for(Zt=e,process.env.NODE_ENV!=="production"&&(t=t||new Map),In=0;In<Zt.length;In++){const n=Zt[In];process.env.NODE_ENV!=="production"&&Rf(t,n)||n.active!==!1&&n()}Zt=null,In=0}}const pi=t=>t.id==null?1/0:t.id,tE=(t,e)=>{const n=pi(t)-pi(e);if(n===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function Sf(t){ou=!1,xa=!0,process.env.NODE_ENV!=="production"&&(t=t||new Map),ht.sort(tE);const e=process.env.NODE_ENV!=="production"?n=>Rf(t,n):qt;try{for(Qt=0;Qt<ht.length;Qt++){const n=ht[Qt];if(n&&n.active!==!1){if(process.env.NODE_ENV!=="production"&&e(n))continue;wn(n,n.i,n.i?15:14)}}}finally{Qt=0,ht.length=0,eE(t),xa=!1,uu=null,(ht.length||li.length)&&Sf(t)}}function Rf(t,e){if(!t.has(e))t.set(e,1);else{const n=t.get(e);if(n>Zb){const i=e.i,r=i&&Kf(i.type);return lu(`Maximum recursive updates exceeded${r?` in component <${r}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}else t.set(e,n+1)}}const su=new Map;process.env.NODE_ENV!=="production"&&(zd().__VUE_HMR_RUNTIME__={createRecord:du(nE),rerender:du(iE),reload:du(rE)});const Ma=new Map;function nE(t,e){return Ma.has(t)?!1:(Ma.set(t,{initialDef:Fa(e),instances:new Set}),!0)}function Fa(t){return Xf(t)?t.__vccOpts:t}function iE(t,e){const n=Ma.get(t);!n||(n.initialDef.render=e,[...n.instances].forEach(i=>{e&&(i.render=e,Fa(i.type).render=e),i.renderCache=[],i.effect.dirty=!0,i.update()}))}function rE(t,e){const n=Ma.get(t);if(!n)return;e=Fa(e),Nf(n.initialDef,e);const i=[...n.instances];for(let r=0;r<i.length;r++){const a=i[r],l=Fa(a.type);let o=su.get(l);o||(l!==n.initialDef&&Nf(l,e),su.set(l,o=new Set)),o.add(a),a.appContext.propsCache.delete(a.type),a.appContext.emitsCache.delete(a.type),a.appContext.optionsCache.delete(a.type),a.ceReload?(o.add(a),a.ceReload(e.styles),o.delete(a)):a.parent?(a.parent.effect.dirty=!0,cu(()=>{a.parent.update(),o.delete(a)})):a.appContext.reload?a.appContext.reload():typeof window!="undefined"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}Of(()=>{su.clear()})}function Nf(t,e){lt(t,e);for(const n in t)n!=="__file"&&!(n in e)&&delete t[n]}function du(t){return(e,n)=>{try{return t(e,n)}catch(i){console.error(i),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let oi,Ba=[];function Pf(t,e){var n,i;oi=t,oi?(oi.enabled=!0,Ba.forEach(({event:r,args:a})=>oi.emit(r,...a)),Ba=[]):typeof window!="undefined"&&window.HTMLElement&&!((i=(n=window.navigator)==null?void 0:n.userAgent)!=null&&i.includes("jsdom"))?((e.__VUE_DEVTOOLS_HOOK_REPLAY__=e.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(a=>{Pf(a,e)}),setTimeout(()=>{oi||(e.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Ba=[])},3e3)):Ba=[]}let wt=null,aE=null;function Af(t,e){t.shapeFlag&6&&t.component?Af(t.component.subTree,e):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}/*! #__NO_SIDE_EFFECTS__ */function fu(t,e){return Ie(t)?(()=>lt({name:t.name},e,{setup:t}))():t}function lE(t,e,n=Cn,i=!1){if(n){const r=n[t]||(n[t]=[]),a=e.__weh||(e.__weh=(...l)=>{Ji();const o=qf(n),u=Yi(e,n,t,l);return o(),Qi(),u});return i?r.unshift(a):r.push(a),a}else if(process.env.NODE_ENV!=="production"){const r=ub(au[t].replace(/ hook$/,""));ue(`${r} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const hu=t=>(e,n=Cn)=>{(!Wa||t==="sp")&&lE(t,(...i)=>e(...i),n)},oE=hu("bm"),uE=hu("m"),cE=hu("um"),sE=Symbol.for("v-ndc"),mu=t=>t?LE(t)?xE(t):mu(t.parent):null,er=lt(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>process.env.NODE_ENV!=="production"?Da(t.props):t.props,$attrs:t=>process.env.NODE_ENV!=="production"?Da(t.attrs):t.attrs,$slots:t=>process.env.NODE_ENV!=="production"?Da(t.slots):t.slots,$refs:t=>process.env.NODE_ENV!=="production"?Da(t.refs):t.refs,$parent:t=>mu(t.parent),$root:t=>mu(t.root),$emit:t=>t.emit,$options:t=>__VUE_OPTIONS_API__?mE(t):t.type,$forceUpdate:t=>t.f||(t.f=()=>{t.effect.dirty=!0,cu(t.update)}),$nextTick:t=>t.n||(t.n=Yb.bind(t.proxy)),$watch:t=>__VUE_OPTIONS_API__?TE.bind(t):qt}),dE=t=>t==="_"||t==="$",yu=(t,e)=>t!==Et&&!t.__isScriptSetup&&we(t,e),fE={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:n,setupState:i,data:r,props:a,accessCache:l,type:o,appContext:u}=t;if(process.env.NODE_ENV!=="production"&&e==="__isVue")return!0;let c;if(e[0]!=="$"){const v=l[e];if(v!==void 0)switch(v){case 1:return i[e];case 2:return r[e];case 4:return n[e];case 3:return a[e]}else{if(yu(i,e))return l[e]=1,i[e];if(r!==Et&&we(r,e))return l[e]=2,r[e];if((c=t.propsOptions[0])&&we(c,e))return l[e]=3,a[e];if(n!==Et&&we(n,e))return l[e]=4,n[e];(!__VUE_OPTIONS_API__||hE)&&(l[e]=0)}}const d=er[e];let s,h;if(d)return e==="$attrs"?(Ue(t.attrs,"get",""),process.env.NODE_ENV!=="production"&&void 0):process.env.NODE_ENV!=="production"&&e==="$slots"&&Ue(t,"get",e),d(t);if((s=o.__cssModules)&&(s=s[e]))return s;if(n!==Et&&we(n,e))return l[e]=4,n[e];if(h=u.config.globalProperties,we(h,e))return h[e];process.env.NODE_ENV!=="production"&&wt&&(!dt(e)||e.indexOf("__v")!==0)&&(r!==Et&&dE(e[0])&&we(r,e)?ue(`Property ${JSON.stringify(e)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):t===wt&&ue(`Property ${JSON.stringify(e)} was accessed during render but is not defined on instance.`))},set({_:t},e,n){const{data:i,setupState:r,ctx:a}=t;return yu(r,e)?(r[e]=n,!0):process.env.NODE_ENV!=="production"&&r.__isScriptSetup&&we(r,e)?(ue(`Cannot mutate <script setup> binding "${e}" from Options API.`),!1):i!==Et&&we(i,e)?(i[e]=n,!0):we(t.props,e)?(process.env.NODE_ENV!=="production"&&ue(`Attempting to mutate prop "${e}". Props are readonly.`),!1):e[0]==="$"&&e.slice(1)in t?(process.env.NODE_ENV!=="production"&&ue(`Attempting to mutate public property "${e}". Properties starting with $ are reserved and readonly.`),!1):(process.env.NODE_ENV!=="production"&&e in t.appContext.config.globalProperties?Object.defineProperty(a,e,{enumerable:!0,configurable:!0,value:n}):a[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:i,appContext:r,propsOptions:a}},l){let o;return!!n[l]||t!==Et&&we(t,l)||yu(e,l)||(o=a[0])&&we(o,l)||we(i,l)||we(er,l)||we(r.config.globalProperties,l)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:we(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};process.env.NODE_ENV!=="production"&&(fE.ownKeys=t=>(ue("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(t)));function kf(t){return oe(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}let hE=!0;function mE(t){const e=t.type,{mixins:n,extends:i}=e,{mixins:r,optionsCache:a,config:{optionMergeStrategies:l}}=t.appContext,o=a.get(e);let u;return o?u=o:!r.length&&!n&&!i?u=e:(u={},r.length&&r.forEach(c=>$a(u,c,l,!0)),$a(u,e,l)),Ke(e)&&a.set(e,u),u}function $a(t,e,n,i=!1){const{mixins:r,extends:a}=e;a&&$a(t,a,n,!0),r&&r.forEach(l=>$a(t,l,n,!0));for(const l in e)if(i&&l==="expose")process.env.NODE_ENV!=="production"&&ue('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const o=yE[l]||n&&n[l];t[l]=o?o(t[l],e[l]):e[l]}return t}const yE={data:Df,props:xf,emits:xf,methods:tr,computed:tr,beforeCreate:Ge,created:Ge,beforeMount:Ge,mounted:Ge,beforeUpdate:Ge,updated:Ge,beforeDestroy:Ge,beforeUnmount:Ge,destroyed:Ge,unmounted:Ge,activated:Ge,deactivated:Ge,errorCaptured:Ge,serverPrefetch:Ge,components:tr,directives:tr,watch:gE,provide:Df,inject:_E};function Df(t,e){return e?t?function(){return lt(Ie(t)?t.call(this,this):t,Ie(e)?e.call(this,this):e)}:e:t}function _E(t,e){return tr(Lf(t),Lf(e))}function Lf(t){if(oe(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function Ge(t,e){return t?[...new Set([].concat(t,e))]:e}function tr(t,e){return t?lt(Object.create(null),t,e):e}function xf(t,e){return t?oe(t)&&oe(e)?[...new Set([...t,...e])]:lt(Object.create(null),kf(t),kf(e!=null?e:{})):e}function gE(t,e){if(!t)return e;if(!e)return t;const n=lt(Object.create(null),t);for(const i in e)n[i]=Ge(t[i],e[i]);return n}function vE(){return{app:null,config:{isNativeTag:eb,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Mf=null;function Ff(t,e,n=!1){const i=Cn||wt;if(i||Mf){const r=i?i.parent==null?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides:Mf._context.provides;if(r&&t in r)return r[t];if(arguments.length>1)return n&&Ie(e)?e.call(i&&i.proxy):e;process.env.NODE_ENV!=="production"&&ue(`injection "${String(t)}" not found.`)}else process.env.NODE_ENV!=="production"&&ue("inject() can only be used inside setup() or functional components.")}const bE={},Bf=t=>Object.getPrototypeOf(t)===bE,EE=t=>t.__isTeleport,$f=SE,wE=Symbol.for("v-scx"),IE=()=>{{const t=Ff(wE);return t||process.env.NODE_ENV!=="production"&&ue("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),t}},Va={};function _u(t,e,n){return process.env.NODE_ENV!=="production"&&!Ie(e)&&ue("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),Vf(t,e,n)}function Vf(t,e,{immediate:n,deep:i,flush:r,once:a,onTrack:l,onTrigger:o}=Et){if(e&&a){const C=e;e=(...L)=>{C(...L),N()}}process.env.NODE_ENV!=="production"&&i!==void 0&&typeof i=="number"&&ue('watch() "deep" option with number value will be used as watch depth in future versions. Please use a boolean instead to avoid potential breakage.'),process.env.NODE_ENV!=="production"&&!e&&(n!==void 0&&ue('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),i!==void 0&&ue('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),a!==void 0&&ue('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const u=C=>{ue("Invalid watch source: ",C,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},c=Cn,d=C=>i===!0?C:Tn(C,i===!1?1:void 0);let s,h=!1,v=!1;if(Je(t)?(s=()=>t.value,h=kt(t)):ri(t)?(s=()=>d(t),h=!0):oe(t)?(v=!0,h=t.some(C=>ri(C)||kt(C)),s=()=>t.map(C=>{if(Je(C))return C.value;if(ri(C))return d(C);if(Ie(C))return wn(C,c,2);process.env.NODE_ENV!=="production"&&u(C)})):Ie(t)?e?s=()=>wn(t,c,2):s=()=>(O&&O(),Yi(t,c,3,[I])):(s=qt,process.env.NODE_ENV!=="production"&&u(t)),e&&i){const C=s;s=()=>Tn(C())}let O,I=C=>{O=b.onStop=()=>{wn(C,c,4),O=b.onStop=void 0}},P;if(Wa)if(I=qt,e?n&&Yi(e,c,3,[s(),v?[]:void 0,I]):s(),r==="sync"){const C=IE();P=C.__watcherHandles||(C.__watcherHandles=[])}else return qt;let _=v?new Array(t.length).fill(Va):Va;const S=()=>{if(!(!b.active||!b.dirty))if(e){const C=b.run();(i||h||(v?C.some((L,x)=>Kt(L,_[x])):Kt(C,_)))&&(O&&O(),Yi(e,c,3,[C,_===Va?void 0:v&&_[0]===Va?[]:_,I]),_=C)}else b.run()};S.allowRecurse=!!e;let g;r==="sync"?g=S:r==="post"?g=()=>$f(S,c&&c.suspense):(S.pre=!0,c&&(S.id=c.uid),g=()=>cu(S));const b=new Jd(s,qt,g),A=gb(),N=()=>{b.stop(),A&&nb(A.effects,b)};return process.env.NODE_ENV!=="production"&&(b.onTrack=l,b.onTrigger=o),e?n?S():_=b.run():r==="post"?$f(b.run.bind(b),c&&c.suspense):b.run(),P&&P.push(N),N}function TE(t,e,n){const i=this.proxy,r=dt(t)?t.includes(".")?CE(i,t):()=>i[t]:t.bind(i,i);let a;Ie(e)?a=e:(a=e.handler,n=e);const l=qf(this),o=Vf(r,a.bind(i),n);return l(),o}function CE(t,e){const n=e.split(".");return()=>{let i=t;for(let r=0;r<n.length&&i;r++)i=i[n[r]];return i}}function Tn(t,e=1/0,n){if(e<=0||!Ke(t)||t.__v_skip||(n=n||new Set,n.has(t)))return t;if(n.add(t),e--,Je(t))Tn(t.value,e,n);else if(oe(t))for(let i=0;i<t.length;i++)Tn(t[i],e,n);else if(rb(t)||ii(t))t.forEach(i=>{Tn(i,e,n)});else if(ob(t)){for(const i in t)Tn(t[i],e,n);for(const i of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,i)&&Tn(t[i],e,n)}return t}function JR(){}const OE=t=>t.__isSuspense;function SE(t,e){e&&e.pendingBranch?oe(t)?e.effects.push(...t):e.effects.push(t):Of(t)}const Ua=Symbol.for("v-fgt"),Uf=Symbol.for("v-txt"),RE=Symbol.for("v-cmt");let ui=null;function gu(t){return t?t.__v_isVNode===!0:!1}const NE=(...t)=>jf(...t),Hf=({key:t})=>t!=null?t:null,Ha=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?dt(t)||Je(t)||Ie(t)?{i:wt,r:t,k:e,f:!!n}:t:null);function PE(t,e=null,n=null,i=0,r=null,a=t===Ua?0:1,l=!1,o=!1){const u={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Hf(e),ref:e&&Ha(e),scopeId:aE,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:i,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:wt};return o?(vu(u,n),a&128&&t.normalize(u)):n&&(u.shapeFlag|=dt(n)?8:16),process.env.NODE_ENV!=="production"&&u.key!==u.key&&ue("VNode created with invalid key (NaN). VNode type:",u.type),!l&&ui&&(u.patchFlag>0||a&6)&&u.patchFlag!==32&&ui.push(u),u}const ci=process.env.NODE_ENV!=="production"?NE:jf;function jf(t,e=null,n=null,i=0,r=null,a=!1){if((!t||t===sE)&&(process.env.NODE_ENV!=="production"&&!t&&ue(`Invalid vnode type when creating vnode: ${t}.`),t=RE),gu(t)){const o=ja(t,e,!0);return n&&vu(o,n),!a&&ui&&(o.shapeFlag&6?ui[ui.indexOf(t)]=o:ui.push(o)),o.patchFlag=-2,o}if(Xf(t)&&(t=t.__vccOpts),e){e=AE(e);let{class:o,style:u}=e;o&&!dt(o)&&(e.class=Go(o)),Ke(u)&&(nu(u)&&!oe(u)&&(u=lt({},u)),e.style=Ko(u))}const l=dt(t)?1:OE(t)?128:EE(t)?64:Ke(t)?4:Ie(t)?2:0;return process.env.NODE_ENV!=="production"&&l&4&&nu(t)&&(t=K(t),ue("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
37
+ Component that was made reactive: `,t)),PE(t,e,n,i,r,l,a,!0)}function AE(t){return t?nu(t)||Bf(t)?lt({},t):t:null}function ja(t,e,n=!1,i=!1){const{props:r,ref:a,patchFlag:l,children:o,transition:u}=t,c=e?DE(r||{},e):r,d={__v_isVNode:!0,__v_skip:!0,type:t.type,props:c,key:c&&Hf(c),ref:e&&e.ref?n&&a?oe(a)?a.concat(Ha(e)):[a,Ha(e)]:Ha(e):a,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:process.env.NODE_ENV!=="production"&&l===-1&&oe(o)?o.map(Wf):o,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Ua?l===-1?16:l|16:l,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:u,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&ja(t.ssContent),ssFallback:t.ssFallback&&ja(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return u&&i&&Af(d,u.clone(d)),d}function Wf(t){const e=ja(t);return oe(t.children)&&(e.children=t.children.map(Wf)),e}function kE(t=" ",e=0){return ci(Uf,null,t,e)}function vu(t,e){let n=0;const{shapeFlag:i}=t;if(e==null)e=null;else if(oe(e))n=16;else if(typeof e=="object")if(i&65){const r=e.default;r&&(r._c&&(r._d=!1),vu(t,r()),r._c&&(r._d=!0));return}else{n=32;const r=e._;!r&&!Bf(e)?e._ctx=wt:r===3&&wt&&(wt.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else Ie(e)?(e={default:e,_ctx:wt},n=32):(e=String(e),i&64?(n=16,e=[kE(e)]):n=8);t.children=e,t.shapeFlag|=n}function DE(...t){const e={};for(let n=0;n<t.length;n++){const i=t[n];for(const r in i)if(r==="class")e.class!==i.class&&(e.class=Go([e.class,i.class]));else if(r==="style")e.style=Ko([e.style,i.style]);else if(tb(r)){const a=e[r],l=i[r];l&&a!==l&&!(oe(a)&&a.includes(l))&&(e[r]=a?[].concat(a,l):l)}else r!==""&&(e[r]=i[r])}return e}vE();let Cn=null;const si=()=>Cn||wt;let bu;{const t=zd(),e=(n,i)=>{let r;return(r=t[n])||(r=t[n]=[]),r.push(i),a=>{r.length>1?r.forEach(l=>l(a)):r[0](a)}};bu=e("__VUE_INSTANCE_SETTERS__",n=>Cn=n),e("__VUE_SSR_SETTERS__",n=>Wa=n)}const qf=t=>{const e=Cn;return bu(t),t.scope.on(),()=>{t.scope.off(),bu(e)}};function LE(t){return t.vnode.shapeFlag&4}let Wa=!1;process.env.NODE_ENV;function xE(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(Wb(Bb(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in er)return er[n](t)},has(e,n){return n in e||n in er}})):t.proxy}const ME=/(?:^|[-_])(\w)/g,FE=t=>t.replace(ME,e=>e.toUpperCase()).replace(/[-_]/g,"");function Kf(t,e=!0){return Ie(t)?t.displayName||t.name:t.name||e&&t.__name}function Gf(t,e,n=!1){let i=Kf(e);if(!i&&e.__file){const r=e.__file.match(/([^/\\]+)\.\w+$/);r&&(i=r[1])}if(!i&&t&&t.parent){const r=a=>{for(const l in a)if(a[l]===e)return l};i=r(t.components||t.parent.type.components)||r(t.appContext.components)}return i?FE(i):n?"App":"Anonymous"}function Xf(t){return Ie(t)&&"__vccOpts"in t}const It=(t,e)=>{const n=Vb(t,e,Wa);if(process.env.NODE_ENV!=="production"){const i=si();i&&i.appContext.config.warnRecursiveComputed&&(n._warnRecursive=!0)}return n};function zf(t,e,n){const i=arguments.length;return i===2?Ke(e)&&!oe(e)?gu(e)?ci(t,null,[e]):ci(t,e):ci(t,null,e):(i>3?n=Array.prototype.slice.call(arguments,2):i===3&&gu(n)&&(n=[n]),ci(t,e,n))}function BE(){if(process.env.NODE_ENV==="production"||typeof window=="undefined")return;const t={style:"color:#3ba776"},e={style:"color:#1677ff"},n={style:"color:#f5222d"},i={style:"color:#eb2f96"},r={__vue_custom_formatter:!0,header(s){return Ke(s)?s.__isVue?["div",t,"VueInstance"]:Je(s)?["div",{},["span",t,d(s)],"<",o(s.value),">"]:ri(s)?["div",{},["span",t,kt(s)?"ShallowReactive":"Reactive"],"<",o(s),`>${At(s)?" (readonly)":""}`]:At(s)?["div",{},["span",t,kt(s)?"ShallowReadonly":"Readonly"],"<",o(s),">"]:null:null},hasBody(s){return s&&s.__isVue},body(s){if(s&&s.__isVue)return["div",{},...a(s.$)]}};function a(s){const h=[];s.type.props&&s.props&&h.push(l("props",K(s.props))),s.setupState!==Et&&h.push(l("setup",s.setupState)),s.data!==Et&&h.push(l("data",K(s.data)));const v=u(s,"computed");v&&h.push(l("computed",v));const O=u(s,"inject");return O&&h.push(l("injected",O)),h.push(["div",{},["span",{style:i.style+";opacity:0.66"},"$ (internal): "],["object",{object:s}]]),h}function l(s,h){return h=lt({},h),Object.keys(h).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},s],["div",{style:"padding-left:1.25em"},...Object.keys(h).map(v=>["div",{},["span",i,v+": "],o(h[v],!1)])]]:["span",{}]}function o(s,h=!0){return typeof s=="number"?["span",e,s]:typeof s=="string"?["span",n,JSON.stringify(s)]:typeof s=="boolean"?["span",i,s]:Ke(s)?["object",{object:h?K(s):s}]:["span",n,String(s)]}function u(s,h){const v=s.type;if(Ie(v))return;const O={};for(const I in s.ctx)c(v,I,h)&&(O[I]=s.ctx[I]);return O}function c(s,h,v){const O=s[v];if(oe(O)&&O.includes(h)||Ke(O)&&h in O||s.extends&&c(s.extends,h,v)||s.mixins&&s.mixins.some(I=>c(I,h,v)))return!0}function d(s){return kt(s)?"ShallowRef":s.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(r):window.devtoolsFormatters=[r]}process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV;/**
38
+ * vue v3.4.35
39
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
40
+ * @license MIT
41
+ **/function $E(){BE()}process.env.NODE_ENV!=="production"&&$E();function VE(){return Jf().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Jf(){return typeof navigator!="undefined"&&typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:{}}const UE=typeof Proxy=="function",HE="devtools-plugin:setup",jE="plugin:settings:set";let di,Eu;function WE(){var t;return di!==void 0||(typeof window!="undefined"&&window.performance?(di=!0,Eu=window.performance):typeof globalThis!="undefined"&&((t=globalThis.perf_hooks)===null||t===void 0?void 0:t.performance)?(di=!0,Eu=globalThis.perf_hooks.performance):di=!1),di}function qE(){return WE()?Eu.now():Date.now()}class KE{constructor(e,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=e,this.hook=n;const i={};if(e.settings)for(const l in e.settings){const o=e.settings[l];i[l]=o.defaultValue}const r=`__vue-devtools-plugin-settings__${e.id}`;let a=Object.assign({},i);try{const l=localStorage.getItem(r),o=JSON.parse(l);Object.assign(a,o)}catch(l){}this.fallbacks={getSettings(){return a},setSettings(l){try{localStorage.setItem(r,JSON.stringify(l))}catch(o){}a=l},now(){return qE()}},n&&n.on(jE,(l,o)=>{l===this.plugin.id&&this.fallbacks.setSettings(o)}),this.proxiedOn=new Proxy({},{get:(l,o)=>this.target?this.target.on[o]:(...u)=>{this.onQueue.push({method:o,args:u})}}),this.proxiedTarget=new Proxy({},{get:(l,o)=>this.target?this.target[o]:o==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(o)?(...u)=>(this.targetQueue.push({method:o,args:u,resolve:()=>{}}),this.fallbacks[o](...u)):(...u)=>new Promise(c=>{this.targetQueue.push({method:o,args:u,resolve:c})})})}setRealTarget(e){return Qn(this,null,function*(){this.target=e;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(yield this.target[n.method](...n.args))})}}function GE(t,e){const n=t,i=Jf(),r=VE(),a=UE&&n.enableEarlyProxy;if(r&&(i.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!a))r.emit(HE,t,e);else{const l=a?new KE(n,r):null;(i.__VUE_DEVTOOLS_PLUGINS__=i.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:e,proxy:l}),l&&e(l.proxiedTarget)}}/*!
42
+ * vue-i18n v9.13.1
43
+ * (c) 2024 kazuya kawaguchi
44
+ * Released under the MIT License.
45
+ */const XE="9.13.1";function zE(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Nt().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Nt().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Nt().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Nt().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Nt().__INTLIFY_PROD_DEVTOOLS__=!1)}const Qf=qe.__EXTEND_POINT__,Dt=ga(Qf),se={FALLBACK_TO_ROOT:Qf,NOT_SUPPORTED_PRESERVE:Dt(),NOT_SUPPORTED_FORMATTER:Dt(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:Dt(),NOT_SUPPORTED_GET_CHOICE_INDEX:Dt(),COMPONENT_NAME_LEGACY_COMPATIBLE:Dt(),NOT_FOUND_PARENT_SCOPE:Dt(),IGNORE_OBJ_FLATTEN:Dt(),NOTICE_DROP_ALLOW_COMPOSITION:Dt(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:Dt()},JE={[se.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[se.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[se.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[se.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[se.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[se.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[se.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[se.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[se.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see \u{1F449} https://tinyurl.com/2p97mcze",[se.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]:"'translateExistCompatible' option will be dropped in the next major version."};function Qe(t,...e){return Ki(JE[t],...e)}const Zf=Le.__EXTEND_POINT__,Ze=ga(Zf),z={UNEXPECTED_RETURN_TYPE:Zf,INVALID_ARGUMENT:Ze(),MUST_BE_CALL_SETUP_TOP:Ze(),NOT_INSTALLED:Ze(),NOT_AVAILABLE_IN_LEGACY_MODE:Ze(),REQUIRED_VALUE:Ze(),INVALID_VALUE:Ze(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Ze(),NOT_INSTALLED_WITH_PROVIDE:Ze(),UNEXPECTED_ERROR:Ze(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Ze(),BRIDGE_SUPPORT_VUE_2_ONLY:Ze(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Ze(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Ze(),__EXTEND_POINT__:Ze()};function Ne(t,...e){return Yn(t,null,process.env.NODE_ENV!=="production"?{messages:QE,args:e}:void 0)}const QE={[z.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[z.INVALID_ARGUMENT]:"Invalid argument",[z.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[z.NOT_INSTALLED]:"Need to install with `app.use` function",[z.UNEXPECTED_ERROR]:"Unexpected error",[z.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[z.REQUIRED_VALUE]:"Required in value: {0}",[z.INVALID_VALUE]:"Invalid value",[z.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[z.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[z.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[z.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[z.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Must define \u2018i18n\u2019 option or custom block in Composition API with using local scope in Legacy API mode",[z.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},wu=ct("__translateVNode"),Iu=ct("__datetimeParts"),Tu=ct("__numberParts"),On=ct("__enableEmitter"),nr=ct("__disableEmitter"),Yf=ct("__setPluralRules");ct("__intlifyMeta");const pf=ct("__injectWithOption"),Cu=ct("__dispose");function ir(t){if(!J(t))return t;for(const e in t)if(!!_a(t,e))if(!e.includes("."))J(t[e])&&ir(t[e]);else{const n=e.split("."),i=n.length-1;let r=t,a=!1;for(let l=0;l<i;l++){if(n[l]in r||(r[n[l]]={}),!J(r[n[l]])){process.env.NODE_ENV!=="production"&&Re(Qe(se.IGNORE_OBJ_FLATTEN,{key:n[l]})),a=!0;break}r=r[n[l]]}a||(r[n[i]]=t[e],delete t[e]),J(r[n[i]])&&ir(r[n[i]])}return t}function qa(t,e){const{messages:n,__i18n:i,messageResolver:r,flatJson:a}=e,l=j(n)?n:le(i)?{}:{[t]:{}};if(le(i)&&i.forEach(o=>{if("locale"in o&&"resource"in o){const{locale:u,resource:c}=o;u?(l[u]=l[u]||{},ba(c,l[u])):ba(c,l)}else B(o)&&ba(JSON.parse(o),l)}),r==null&&a)for(const o in l)_a(l,o)&&ir(l[o]);return l}function eh(t){return t.type}function th(t,e,n){let i=J(e.messages)?e.messages:{};"__i18nGlobal"in n&&(i=qa(t.locale.value,{messages:i,__i18n:n.__i18nGlobal}));const r=Object.keys(i);r.length&&r.forEach(a=>{t.mergeLocaleMessage(a,i[a])});{if(J(e.datetimeFormats)){const a=Object.keys(e.datetimeFormats);a.length&&a.forEach(l=>{t.mergeDateTimeFormat(l,e.datetimeFormats[l])})}if(J(e.numberFormats)){const a=Object.keys(e.numberFormats);a.length&&a.forEach(l=>{t.mergeNumberFormat(l,e.numberFormats[l])})}}}function nh(t){return ci(Uf,null,t,0)}const ih="__INTLIFY_META__",rh=()=>[],ZE=()=>!1;let ah=0;function lh(t){return(e,n,i,r)=>t(n,i,si()||void 0,r)}const YE=()=>{const t=si();let e=null;return t&&(e=eh(t)[ih])?{[ih]:e}:null};function Ou(t={},e){const{__root:n,__injectWithOption:i}=t,r=n===void 0,a=t.flatJson,l=ut?ai:Ef,o=!!t.translateExistCompatible;process.env.NODE_ENV!=="production"&&o&&rd(Qe(se.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));let u=q(t.inheritLocale)?t.inheritLocale:!0;const c=l(n&&u?n.locale.value:B(t.locale)?t.locale:ti),d=l(n&&u?n.fallbackLocale.value:B(t.fallbackLocale)||le(t.fallbackLocale)||j(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:c.value),s=l(qa(c.value,t)),h=l(j(t.datetimeFormats)?t.datetimeFormats:{[c.value]:{}}),v=l(j(t.numberFormats)?t.numberFormats:{[c.value]:{}});let O=n?n.missingWarn:q(t.missingWarn)||Ut(t.missingWarn)?t.missingWarn:!0,I=n?n.fallbackWarn:q(t.fallbackWarn)||Ut(t.fallbackWarn)?t.fallbackWarn:!0,P=n?n.fallbackRoot:q(t.fallbackRoot)?t.fallbackRoot:!0,_=!!t.fallbackFormat,S=ie(t.missing)?t.missing:null,g=ie(t.missing)?lh(t.missing):null,b=ie(t.postTranslation)?t.postTranslation:null,A=n?n.warnHtmlMessage:q(t.warnHtmlMessage)?t.warnHtmlMessage:!0,N=!!t.escapeParameter;const C=n?n.modifiers:j(t.modifiers)?t.modifiers:{};let L=t.pluralRules||n&&n.pluralRules,x;x=(()=>{r&&Td(null);const R={version:XE,locale:c.value,fallbackLocale:d.value,messages:s.value,modifiers:C,pluralRules:L,missing:g===null?void 0:g,missingWarn:O,fallbackWarn:I,fallbackFormat:_,unresolving:!0,postTranslation:b===null?void 0:b,warnHtmlMessage:A,escapeParameter:N,messageResolver:t.messageResolver,messageCompiler:t.messageCompiler,__meta:{framework:"vue"}};R.datetimeFormats=h.value,R.numberFormats=v.value,R.__datetimeFormatters=j(x)?x.__datetimeFormatters:void 0,R.__numberFormatters=j(x)?x.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(R.__v_emitter=j(x)?x.__v_emitter:void 0);const M=jv(R);return r&&Td(M),M})(),Xi(x,c.value,d.value);function Me(){return[c.value,d.value,s.value,h.value,v.value]}const W=It({get:()=>c.value,set:R=>{c.value=R,x.locale=c.value}}),ge=It({get:()=>d.value,set:R=>{d.value=R,x.fallbackLocale=d.value,Xi(x,c.value,R)}}),ze=It(()=>s.value),sn=It(()=>h.value),it=It(()=>v.value);function dn(){return ie(b)?b:null}function fn(R){b=R,x.postTranslation=R}function ea(){return S}function ta(R){R!==null&&(g=lh(R)),S=R,x.missing=g}function na(R,M){return R!=="translate"||!M.resolvedMessage}const ot=(R,M,p,be,hn,So)=>{Me();let Hi;try{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&wd(YE()),r||(x.fallbackContext=n?Hv():void 0),Hi=R(x)}finally{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&wd(null),r||(x.fallbackContext=void 0)}if(p!=="translate exists"&&Oe(Hi)&&Hi===Ia||p==="translate exists"&&!Hi){const[Jn,HR]=M();if(process.env.NODE_ENV!=="production"&&n&&B(Jn)&&na(p,HR)&&(P&&(Ca(I,Jn)||Od(O,Jn))&&Re(Qe(se.FALLBACK_TO_ROOT,{key:Jn,type:p})),process.env.NODE_ENV!=="production")){const{__v_emitter:dg}=x;dg&&P&&dg.emit("fallback",{type:p,key:Jn,to:"global",groupId:`${p}:${Jn}`})}return n&&P?be(n):hn(Jn)}else{if(So(Hi))return Hi;throw Ne(z.UNEXPECTED_RETURN_TYPE)}};function $i(...R){return ot(M=>Reflect.apply(Ld,null,[M,...R]),()=>Ho(...R),"translate",M=>Reflect.apply(M.t,M,[...R]),M=>M,M=>B(M))}function Vi(...R){const[M,p,be]=R;if(be&&!J(be))throw Ne(z.INVALID_ARGUMENT);return $i(M,p,Se({resolvedMessage:!0},be||{}))}function ia(...R){return ot(M=>Reflect.apply($d,null,[M,...R]),()=>jo(...R),"datetime format",M=>Reflect.apply(M.d,M,[...R]),()=>Ta,M=>B(M))}function ra(...R){return ot(M=>Reflect.apply(Hd,null,[M,...R]),()=>Wo(...R),"number format",M=>Reflect.apply(M.n,M,[...R]),()=>Ta,M=>B(M))}function aa(R){return R.map(M=>B(M)||Oe(M)||q(M)?nh(String(M)):M)}const la={normalize:aa,interpolate:R=>R,type:"vnode"};function Ui(...R){return ot(M=>{let p;const be=M;try{be.processor=la,p=Reflect.apply(Ld,null,[be,...R])}finally{be.processor=null}return p},()=>Ho(...R),"translate",M=>M[wu](...R),M=>[nh(M)],M=>le(M))}function oa(...R){return ot(M=>Reflect.apply(Hd,null,[M,...R]),()=>Wo(...R),"number format",M=>M[Tu](...R),rh,M=>B(M)||le(M))}function ua(...R){return ot(M=>Reflect.apply($d,null,[M,...R]),()=>jo(...R),"datetime format",M=>M[Iu](...R),rh,M=>B(M)||le(M))}function ca(R){L=R,x.pluralRules=L}function F(R,M){return ot(()=>{if(!R)return!1;const p=B(M)?M:c.value,be=zn(p),hn=x.messageResolver(be,R);return o?hn!=null:Wt(hn)||at(hn)||B(hn)},()=>[R],"translate exists",p=>Reflect.apply(p.te,p,[R,M]),ZE,p=>q(p))}function Y(R){let M=null;const p=hd(x,d.value,c.value);for(let be=0;be<p.length;be++){const hn=s.value[p[be]]||{},So=x.messageResolver(hn,R);if(So!=null){M=So;break}}return M}function sa(R){const M=Y(R);return M!=null?M:n?n.tm(R)||{}:{}}function zn(R){return s.value[R]||{}}function da(R,M){if(a){const p={[R]:M};for(const be in p)_a(p,be)&&ir(p[be]);M=p[R]}s.value[R]=M,x.messages=s.value}function Hs(R,M){s.value[R]=s.value[R]||{};const p={[R]:M};if(a)for(const be in p)_a(p,be)&&ir(p[be]);M=p[R],ba(M,s.value[R]),x.messages=s.value}function m(R){return h.value[R]||{}}function y(R,M){h.value[R]=M,x.datetimeFormats=h.value,Ud(x,R,M)}function k(R,M){h.value[R]=Se(h.value[R]||{},M),x.datetimeFormats=h.value,Ud(x,R,M)}function $(R){return v.value[R]||{}}function fe(R,M){v.value[R]=M,x.numberFormats=v.value,Wd(x,R,M)}function ae(R,M){v.value[R]=Se(v.value[R]||{},M),x.numberFormats=v.value,Wd(x,R,M)}ah++,n&&ut&&(_u(n.locale,R=>{u&&(c.value=R,x.locale=R,Xi(x,c.value,d.value))}),_u(n.fallbackLocale,R=>{u&&(d.value=R,x.fallbackLocale=R,Xi(x,c.value,d.value))}));const ne={id:ah,locale:W,fallbackLocale:ge,get inheritLocale(){return u},set inheritLocale(R){u=R,R&&n&&(c.value=n.locale.value,d.value=n.fallbackLocale.value,Xi(x,c.value,d.value))},get availableLocales(){return Object.keys(s.value).sort()},messages:ze,get modifiers(){return C},get pluralRules(){return L||{}},get isGlobal(){return r},get missingWarn(){return O},set missingWarn(R){O=R,x.missingWarn=O},get fallbackWarn(){return I},set fallbackWarn(R){I=R,x.fallbackWarn=I},get fallbackRoot(){return P},set fallbackRoot(R){P=R},get fallbackFormat(){return _},set fallbackFormat(R){_=R,x.fallbackFormat=_},get warnHtmlMessage(){return A},set warnHtmlMessage(R){A=R,x.warnHtmlMessage=R},get escapeParameter(){return N},set escapeParameter(R){N=R,x.escapeParameter=R},t:$i,getLocaleMessage:zn,setLocaleMessage:da,mergeLocaleMessage:Hs,getPostTranslationHandler:dn,setPostTranslationHandler:fn,getMissingHandler:ea,setMissingHandler:ta,[Yf]:ca};return ne.datetimeFormats=sn,ne.numberFormats=it,ne.rt=Vi,ne.te=F,ne.tm=sa,ne.d=ia,ne.n=ra,ne.getDateTimeFormat=m,ne.setDateTimeFormat=y,ne.mergeDateTimeFormat=k,ne.getNumberFormat=$,ne.setNumberFormat=fe,ne.mergeNumberFormat=ae,ne[pf]=i,ne[wu]=Ui,ne[Iu]=ua,ne[Tu]=oa,process.env.NODE_ENV!=="production"&&(ne[On]=R=>{x.__v_emitter=R},ne[nr]=()=>{x.__v_emitter=void 0}),ne}function pE(t){const e=B(t.locale)?t.locale:ti,n=B(t.fallbackLocale)||le(t.fallbackLocale)||j(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:e,i=ie(t.missing)?t.missing:void 0,r=q(t.silentTranslationWarn)||Ut(t.silentTranslationWarn)?!t.silentTranslationWarn:!0,a=q(t.silentFallbackWarn)||Ut(t.silentFallbackWarn)?!t.silentFallbackWarn:!0,l=q(t.fallbackRoot)?t.fallbackRoot:!0,o=!!t.formatFallbackMessages,u=j(t.modifiers)?t.modifiers:{},c=t.pluralizationRules,d=ie(t.postTranslation)?t.postTranslation:void 0,s=B(t.warnHtmlInMessage)?t.warnHtmlInMessage!=="off":!0,h=!!t.escapeParameterHtml,v=q(t.sync)?t.sync:!0;process.env.NODE_ENV!=="production"&&t.formatter&&Re(Qe(se.NOT_SUPPORTED_FORMATTER)),process.env.NODE_ENV!=="production"&&t.preserveDirectiveContent&&Re(Qe(se.NOT_SUPPORTED_PRESERVE_DIRECTIVE));let O=t.messages;if(j(t.sharedMessages)){const N=t.sharedMessages;O=Object.keys(N).reduce((L,x)=>{const X=L[x]||(L[x]={});return Se(X,N[x]),L},O||{})}const{__i18n:I,__root:P,__injectWithOption:_}=t,S=t.datetimeFormats,g=t.numberFormats,b=t.flatJson,A=t.translateExistCompatible;return{locale:e,fallbackLocale:n,messages:O,flatJson:b,datetimeFormats:S,numberFormats:g,missing:i,missingWarn:r,fallbackWarn:a,fallbackRoot:l,fallbackFormat:o,modifiers:u,pluralRules:c,postTranslation:d,warnHtmlMessage:s,escapeParameter:h,messageResolver:t.messageResolver,inheritLocale:v,translateExistCompatible:A,__i18n:I,__root:P,__injectWithOption:_}}function Su(t={},e){{const n=Ou(pE(t)),{__extender:i}=t,r={id:n.id,get locale(){return n.locale.value},set locale(a){n.locale.value=a},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(a){n.fallbackLocale.value=a},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return process.env.NODE_ENV!=="production"&&Re(Qe(se.NOT_SUPPORTED_FORMATTER)),{interpolate(){return[]}}},set formatter(a){process.env.NODE_ENV!=="production"&&Re(Qe(se.NOT_SUPPORTED_FORMATTER))},get missing(){return n.getMissingHandler()},set missing(a){n.setMissingHandler(a)},get silentTranslationWarn(){return q(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(a){n.missingWarn=q(a)?!a:a},get silentFallbackWarn(){return q(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(a){n.fallbackWarn=q(a)?!a:a},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(a){n.fallbackFormat=a},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(a){n.setPostTranslationHandler(a)},get sync(){return n.inheritLocale},set sync(a){n.inheritLocale=a},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(a){n.warnHtmlMessage=a!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(a){n.escapeParameter=a},get preserveDirectiveContent(){return process.env.NODE_ENV!=="production"&&Re(Qe(se.NOT_SUPPORTED_PRESERVE_DIRECTIVE)),!0},set preserveDirectiveContent(a){process.env.NODE_ENV!=="production"&&Re(Qe(se.NOT_SUPPORTED_PRESERVE_DIRECTIVE))},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...a){const[l,o,u]=a,c={};let d=null,s=null;if(!B(l))throw Ne(z.INVALID_ARGUMENT);const h=l;return B(o)?c.locale=o:le(o)?d=o:j(o)&&(s=o),le(u)?d=u:j(u)&&(s=u),Reflect.apply(n.t,n,[h,d||s||{},c])},rt(...a){return Reflect.apply(n.rt,n,[...a])},tc(...a){const[l,o,u]=a,c={plural:1};let d=null,s=null;if(!B(l))throw Ne(z.INVALID_ARGUMENT);const h=l;return B(o)?c.locale=o:Oe(o)?c.plural=o:le(o)?d=o:j(o)&&(s=o),B(u)?c.locale=u:le(u)?d=u:j(u)&&(s=u),Reflect.apply(n.t,n,[h,d||s||{},c])},te(a,l){return n.te(a,l)},tm(a){return n.tm(a)},getLocaleMessage(a){return n.getLocaleMessage(a)},setLocaleMessage(a,l){n.setLocaleMessage(a,l)},mergeLocaleMessage(a,l){n.mergeLocaleMessage(a,l)},d(...a){return Reflect.apply(n.d,n,[...a])},getDateTimeFormat(a){return n.getDateTimeFormat(a)},setDateTimeFormat(a,l){n.setDateTimeFormat(a,l)},mergeDateTimeFormat(a,l){n.mergeDateTimeFormat(a,l)},n(...a){return Reflect.apply(n.n,n,[...a])},getNumberFormat(a){return n.getNumberFormat(a)},setNumberFormat(a,l){n.setNumberFormat(a,l)},mergeNumberFormat(a,l){n.mergeNumberFormat(a,l)},getChoiceIndex(a,l){return process.env.NODE_ENV!=="production"&&Re(Qe(se.NOT_SUPPORTED_GET_CHOICE_INDEX)),-1}};return r.__extender=i,process.env.NODE_ENV!=="production"&&(r.__enableEmitter=a=>{const l=n;l[On]&&l[On](a)},r.__disableEmitter=()=>{const a=n;a[nr]&&a[nr]()}),r}}const Ru={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>t==="parent"||t==="global",default:"parent"},i18n:{type:Object}};function e0({slots:t},e){return e.length===1&&e[0]==="default"?(t.default?t.default():[]).reduce((i,r)=>[...i,...r.type===Ua?r.children:[r]],[]):e.reduce((n,i)=>{const r=t[i];return r&&(n[i]=r()),n},{})}function oh(t){return Ua}const Nu=fu({name:"i18n-t",props:Se({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>Oe(t)||!isNaN(t)}},Ru),setup(t,e){const{slots:n,attrs:i}=e,r=t.i18n||Du({useScope:t.scope,__useComponent:!0});return()=>{const a=Object.keys(n).filter(s=>s!=="_"),l={};t.locale&&(l.locale=t.locale),t.plural!==void 0&&(l.plural=B(t.plural)?+t.plural:t.plural);const o=e0(e,a),u=r[wu](t.keypath,o,l),c=Se({},i),d=B(t.tag)||J(t.tag)?t.tag:oh();return zf(d,c,u)}}});function t0(t){return le(t)&&!B(t[0])}function uh(t,e,n,i){const{slots:r,attrs:a}=e;return()=>{const l={part:!0};let o={};t.locale&&(l.locale=t.locale),B(t.format)?l.key=t.format:J(t.format)&&(B(t.format.key)&&(l.key=t.format.key),o=Object.keys(t.format).reduce((h,v)=>n.includes(v)?Se({},h,{[v]:t.format[v]}):h,{}));const u=i(t.value,l,o);let c=[l.key];le(u)?c=u.map((h,v)=>{const O=r[h.type],I=O?O({[h.type]:h.value,index:v,parts:u}):[h.value];return t0(I)&&(I[0].key=`${h.type}-${v}`),I}):B(u)&&(c=[u]);const d=Se({},a),s=B(t.tag)||J(t.tag)?t.tag:oh();return zf(s,d,c)}}const ch=fu({name:"i18n-n",props:Se({value:{type:Number,required:!0},format:{type:[String,Object]}},Ru),setup(t,e){const n=t.i18n||Du({useScope:t.scope,__useComponent:!0});return uh(t,e,jd,(...i)=>n[Tu](...i))}}),sh=fu({name:"i18n-d",props:Se({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Ru),setup(t,e){const n=t.i18n||Du({useScope:t.scope,__useComponent:!0});return uh(t,e,Vd,(...i)=>n[Iu](...i))}});function n0(t,e){const n=t;if(t.mode==="composition")return n.__getInstance(e)||t.global;{const i=n.__getInstance(e);return i!=null?i.__composer:t.global.__composer}}function i0(t){const e=l=>{const{instance:o,modifiers:u,value:c}=l;if(!o||!o.$)throw Ne(z.UNEXPECTED_ERROR);const d=n0(t,o.$);process.env.NODE_ENV!=="production"&&u.preserve&&Re(Qe(se.NOT_SUPPORTED_PRESERVE));const s=dh(c);return[Reflect.apply(d.t,d,[...fh(s)]),d]};return{created:(l,o)=>{const[u,c]=e(o);ut&&t.global===c&&(l.__i18nWatcher=_u(c.locale,()=>{o.instance&&o.instance.$forceUpdate()})),l.__composer=c,l.textContent=u},unmounted:l=>{ut&&l.__i18nWatcher&&(l.__i18nWatcher(),l.__i18nWatcher=void 0,delete l.__i18nWatcher),l.__composer&&(l.__composer=void 0,delete l.__composer)},beforeUpdate:(l,{value:o})=>{if(l.__composer){const u=l.__composer,c=dh(o);l.textContent=Reflect.apply(u.t,u,[...fh(c)])}},getSSRProps:l=>{const[o]=e(l);return{textContent:o}}}}function dh(t){if(B(t))return{path:t};if(j(t)){if(!("path"in t))throw Ne(z.REQUIRED_VALUE,"path");return t}else throw Ne(z.INVALID_VALUE)}function fh(t){const{path:e,locale:n,args:i,choice:r,plural:a}=t,l={},o=i||{};return B(n)&&(l.locale=n),Oe(r)&&(l.plural=r),Oe(a)&&(l.plural=a),[e,o,l]}function r0(t,e,...n){const i=j(n[0])?n[0]:{},r=!!i.useI18nComponentName,a=q(i.globalInstall)?i.globalInstall:!0;process.env.NODE_ENV!=="production"&&a&&r&&Re(Qe(se.COMPONENT_NAME_LEGACY_COMPATIBLE,{name:Nu.name})),a&&([r?"i18n":Nu.name,"I18nT"].forEach(l=>t.component(l,Nu)),[ch.name,"I18nN"].forEach(l=>t.component(l,ch)),[sh.name,"I18nD"].forEach(l=>t.component(l,sh))),t.directive("t",i0(e))}const Pu={["vue-devtools-plugin-vue-i18n"]:"Vue I18n devtools",["vue-i18n-resource-inspector"]:"I18n Resources",["vue-i18n-timeline"]:"Vue I18n"},a0={["vue-i18n-resource-inspector"]:"Search for scopes ..."},l0={["vue-i18n-timeline"]:16764185},hh="vue-i18n: composer properties";let Au;function o0(t,e){return Qn(this,null,function*(){return new Promise((n,i)=>{try{GE({id:"vue-devtools-plugin-vue-i18n",label:Pu["vue-devtools-plugin-vue-i18n"],packageName:"vue-i18n",homepage:"https://vue-i18n.intlify.dev",logo:"https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",componentStateTypes:[hh],app:t},r=>{Au=r,r.on.visitComponentTree(({componentInstance:l,treeNode:o})=>{u0(l,o,e)}),r.on.inspectComponent(({componentInstance:l,instanceData:o})=>{l.vnode.el&&l.vnode.el.__VUE_I18N__&&o&&(e.mode==="legacy"?l.vnode.el.__VUE_I18N__!==e.global.__composer&&yh(o,l.vnode.el.__VUE_I18N__):yh(o,l.vnode.el.__VUE_I18N__))}),r.addInspector({id:"vue-i18n-resource-inspector",label:Pu["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:a0["vue-i18n-resource-inspector"]}),r.on.getInspectorTree(l=>{l.app===t&&l.inspectorId==="vue-i18n-resource-inspector"&&h0(l,e)});const a=new Map;r.on.getInspectorState(l=>Qn(this,null,function*(){if(l.app===t&&l.inspectorId==="vue-i18n-resource-inspector")if(r.unhighlightElement(),y0(l,e),l.nodeId==="global"){if(!a.has(l.app)){const[o]=yield r.getComponentInstances(l.app);a.set(l.app,o)}r.highlightElement(a.get(l.app))}else{const o=m0(l.nodeId,e);o&&r.highlightElement(o)}})),r.on.editInspectorState(l=>{l.app===t&&l.inspectorId==="vue-i18n-resource-inspector"&&g0(l,e)}),r.addTimelineLayer({id:"vue-i18n-timeline",label:Pu["vue-i18n-timeline"],color:l0["vue-i18n-timeline"]}),n(!0)})}catch(r){console.error(r),i(!1)}})})}function mh(t){return t.type.name||t.type.displayName||t.type.__file||"Anonymous"}function u0(t,e,n){const i=n.mode==="composition"?n.global:n.global.__composer;if(t&&t.vnode.el&&t.vnode.el.__VUE_I18N__&&t.vnode.el.__VUE_I18N__!==i){const r={label:`i18n (${mh(t)} Scope)`,textColor:0,backgroundColor:16764185};e.tags.push(r)}}function yh(t,e){const n=hh;t.state.push({type:n,key:"locale",editable:!0,value:e.locale.value}),t.state.push({type:n,key:"availableLocales",editable:!1,value:e.availableLocales}),t.state.push({type:n,key:"fallbackLocale",editable:!0,value:e.fallbackLocale.value}),t.state.push({type:n,key:"inheritLocale",editable:!0,value:e.inheritLocale}),t.state.push({type:n,key:"messages",editable:!1,value:ku(e.messages.value)}),t.state.push({type:n,key:"datetimeFormats",editable:!1,value:e.datetimeFormats.value}),t.state.push({type:n,key:"numberFormats",editable:!1,value:e.numberFormats.value})}function ku(t){const e={};return Object.keys(t).forEach(n=>{const i=t[n];ie(i)&&"source"in i?e[n]=f0(i):Wt(i)&&i.loc&&i.loc.source?e[n]=i.loc.source:J(i)?e[n]=ku(i):e[n]=i}),e}const c0={"<":"&lt;",">":"&gt;",'"':"&quot;","&":"&amp;"};function s0(t){return t.replace(/[<>"&]/g,d0)}function d0(t){return c0[t]||t}function f0(t){const e=t.source?`("${s0(t.source)}")`:"(?)";return{_custom:{type:"function",display:`<span>\u0192</span> ${e}`}}}function h0(t,e){t.rootNodes.push({id:"global",label:"Global Scope"});const n=e.mode==="composition"?e.global:e.global.__composer;for(const[i,r]of e.__instances){const a=e.mode==="composition"?r:r.__composer;n!==a&&t.rootNodes.push({id:a.id.toString(),label:`${mh(i)} Scope`})}}function m0(t,e){let n=null;if(t!=="global"){for(const[i,r]of e.__instances.entries())if(r.id.toString()===t){n=i;break}}return n}function _h(t,e){if(t==="global")return e.mode==="composition"?e.global:e.global.__composer;{const n=Array.from(e.__instances.values()).find(i=>i.id.toString()===t);return n?e.mode==="composition"?n:n.__composer:null}}function y0(t,e){const n=_h(t.nodeId,e);return n&&(t.state=_0(n)),null}function _0(t){const e={},n="Locale related info",i=[{type:n,key:"locale",editable:!0,value:t.locale.value},{type:n,key:"fallbackLocale",editable:!0,value:t.fallbackLocale.value},{type:n,key:"availableLocales",editable:!1,value:t.availableLocales},{type:n,key:"inheritLocale",editable:!0,value:t.inheritLocale}];e[n]=i;const r="Locale messages info",a=[{type:r,key:"messages",editable:!1,value:ku(t.messages.value)}];e[r]=a;{const l="Datetime formats info",o=[{type:l,key:"datetimeFormats",editable:!1,value:t.datetimeFormats.value}];e[l]=o;const u="Datetime formats info",c=[{type:u,key:"numberFormats",editable:!1,value:t.numberFormats.value}];e[u]=c}return e}function rr(t,e){if(Au){let n;e&&"groupId"in e&&(n=e.groupId,delete e.groupId),Au.addTimelineEvent({layerId:"vue-i18n-timeline",event:{title:t,groupId:n,time:Date.now(),meta:{},data:e||{},logType:t==="compile-error"?"error":t==="fallback"||t==="missing"?"warning":"default"}})}}function g0(t,e){const n=_h(t.nodeId,e);if(n){const[i]=t.path;i==="locale"&&B(t.state.value)?n.locale.value=t.state.value:i==="fallbackLocale"&&(B(t.state.value)||le(t.state.value)||J(t.state.value))?n.fallbackLocale.value=t.state.value:i==="inheritLocale"&&q(t.state.value)&&(n.inheritLocale=t.state.value)}}function v0(t,e,n){return{beforeCreate(){const i=si();if(!i)throw Ne(z.UNEXPECTED_ERROR);const r=this.$options;if(r.i18n){const a=r.i18n;if(r.__i18n&&(a.__i18n=r.__i18n),a.__root=e,this===this.$root)this.$i18n=gh(t,a);else{a.__injectWithOption=!0,a.__extender=n.__vueI18nExtend,this.$i18n=Su(a);const l=this.$i18n;l.__extender&&(l.__disposer=l.__extender(this.$i18n))}}else if(r.__i18n)if(this===this.$root)this.$i18n=gh(t,r);else{this.$i18n=Su({__i18n:r.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:e});const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}else this.$i18n=t;r.__i18nGlobal&&th(e,r,r),this.$t=(...a)=>this.$i18n.t(...a),this.$rt=(...a)=>this.$i18n.rt(...a),this.$tc=(...a)=>this.$i18n.tc(...a),this.$te=(a,l)=>this.$i18n.te(a,l),this.$d=(...a)=>this.$i18n.d(...a),this.$n=(...a)=>this.$i18n.n(...a),this.$tm=a=>this.$i18n.tm(a),n.__setInstance(i,this.$i18n)},mounted(){if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&this.$el&&this.$i18n){const i=this.$i18n;this.$el.__VUE_I18N__=i.__composer;const r=this.__v_emitter=xo();i.__enableEmitter&&i.__enableEmitter(r),r.on("*",rr)}},unmounted(){const i=si();if(!i)throw Ne(z.UNEXPECTED_ERROR);const r=this.$i18n;(process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&this.$el&&this.$el.__VUE_I18N__&&(this.__v_emitter&&(this.__v_emitter.off("*",rr),delete this.__v_emitter),this.$i18n&&(r.__disableEmitter&&r.__disableEmitter(),delete this.$el.__VUE_I18N__)),delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,r.__disposer&&(r.__disposer(),delete r.__disposer,delete r.__extender),n.__deleteInstance(i),delete this.$i18n}}}function gh(t,e){t.locale=e.locale||t.locale,t.fallbackLocale=e.fallbackLocale||t.fallbackLocale,t.missing=e.missing||t.missing,t.silentTranslationWarn=e.silentTranslationWarn||t.silentFallbackWarn,t.silentFallbackWarn=e.silentFallbackWarn||t.silentFallbackWarn,t.formatFallbackMessages=e.formatFallbackMessages||t.formatFallbackMessages,t.postTranslation=e.postTranslation||t.postTranslation,t.warnHtmlInMessage=e.warnHtmlInMessage||t.warnHtmlInMessage,t.escapeParameterHtml=e.escapeParameterHtml||t.escapeParameterHtml,t.sync=e.sync||t.sync,t.__composer[Yf](e.pluralizationRules||t.pluralizationRules);const n=qa(t.locale,{messages:e.messages,__i18n:e.__i18n});return Object.keys(n).forEach(i=>t.mergeLocaleMessage(i,n[i])),e.datetimeFormats&&Object.keys(e.datetimeFormats).forEach(i=>t.mergeDateTimeFormat(i,e.datetimeFormats[i])),e.numberFormats&&Object.keys(e.numberFormats).forEach(i=>t.mergeNumberFormat(i,e.numberFormats[i])),t}const b0=ct("global-vue-i18n");function E0(t={},e){const n=__VUE_I18N_LEGACY_API__&&q(t.legacy)?t.legacy:__VUE_I18N_LEGACY_API__,i=q(t.globalInjection)?t.globalInjection:!0,r=__VUE_I18N_LEGACY_API__&&n?!!t.allowComposition:!0,a=new Map,[l,o]=w0(t,n),u=ct(process.env.NODE_ENV!=="production"?"vue-i18n":"");process.env.NODE_ENV!=="production"&&n&&r&&Re(Qe(se.NOTICE_DROP_ALLOW_COMPOSITION));function c(h){return a.get(h)||null}function d(h,v){a.set(h,v)}function s(h){a.delete(h)}{let v;const h={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return r},install(O,...I){return Qn(this,null,function*(){if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&(O.__VUE_I18N__=h),O.__VUE_I18N_SYMBOL__=u,O.provide(O.__VUE_I18N_SYMBOL__,h),j(I[0])){const S=I[0];h.__composerExtend=S.__composerExtend,h.__vueI18nExtend=S.__vueI18nExtend}let P=null;!n&&i&&(P=A0(O,h.global)),__VUE_I18N_FULL_INSTALL__&&r0(O,h,...I),__VUE_I18N_LEGACY_API__&&n&&O.mixin(v0(o,o.__composer,h));const _=O.unmount;if(O.unmount=()=>{P&&P(),h.dispose(),_()},process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__){if(!(yield o0(O,h)))throw Ne(z.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const g=xo();if(n){const b=o;b.__enableEmitter&&b.__enableEmitter(g)}else{const b=o;b[On]&&b[On](g)}g.on("*",rr)}})},get global(){return o},dispose(){l.stop()},__instances:a,__getInstance:c,__setInstance:d,__deleteInstance:s};return h}}function Du(t={}){const e=si();if(e==null)throw Ne(z.MUST_BE_CALL_SETUP_TOP);if(!e.isCE&&e.appContext.app!=null&&!e.appContext.app.__VUE_I18N_SYMBOL__)throw Ne(z.NOT_INSTALLED);const n=I0(e),i=C0(n),r=eh(e),a=T0(t,r);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!t.__useComponent){if(!n.allowComposition)throw Ne(z.NOT_AVAILABLE_IN_LEGACY_MODE);return N0(e,a,i,t)}if(a==="global")return th(i,t,r),i;if(a==="parent"){let u=O0(n,e,t.__useComponent);return u==null&&(process.env.NODE_ENV!=="production"&&Re(Qe(se.NOT_FOUND_PARENT_SCOPE)),u=i),u}const l=n;let o=l.__getInstance(e);if(o==null){const u=Se({},t);"__i18n"in r&&(u.__i18n=r.__i18n),i&&(u.__root=i),o=Ou(u),l.__composerExtend&&(o[Cu]=l.__composerExtend(o)),R0(l,e,o),l.__setInstance(e,o)}return o}function w0(t,e,n){const i=yb();{const r=__VUE_I18N_LEGACY_API__&&e?i.run(()=>Su(t)):i.run(()=>Ou(t));if(r==null)throw Ne(z.UNEXPECTED_ERROR);return[i,r]}}function I0(t){{const e=Ff(t.isCE?b0:t.appContext.app.__VUE_I18N_SYMBOL__);if(!e)throw Ne(t.isCE?z.NOT_INSTALLED_WITH_PROVIDE:z.UNEXPECTED_ERROR);return e}}function T0(t,e){return ya(t)?"__i18n"in e?"local":"global":t.useScope?t.useScope:"local"}function C0(t){return t.mode==="composition"?t.global:t.global.__composer}function O0(t,e,n=!1){let i=null;const r=e.root;let a=S0(e,n);for(;a!=null;){const l=t;if(t.mode==="composition")i=l.__getInstance(a);else if(__VUE_I18N_LEGACY_API__){const o=l.__getInstance(a);o!=null&&(i=o.__composer,n&&i&&!i[pf]&&(i=null))}if(i!=null||r===a)break;a=a.parent}return i}function S0(t,e=!1){return t==null?null:e&&t.vnode.ctx||t.parent}function R0(t,e,n){let i=null;uE(()=>{if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&e.vnode.el){e.vnode.el.__VUE_I18N__=n,i=xo();const r=n;r[On]&&r[On](i),i.on("*",rr)}},e),cE(()=>{const r=n;(process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&e.vnode.el&&e.vnode.el.__VUE_I18N__&&(i&&i.off("*",rr),r[nr]&&r[nr](),delete e.vnode.el.__VUE_I18N__),t.__deleteInstance(e);const a=r[Cu];a&&(a(),delete r[Cu])},e)}function N0(t,e,n,i={}){const r=e==="local",a=Ef(null);if(r&&t.proxy&&!(t.proxy.$options.i18n||t.proxy.$options.__i18n))throw Ne(z.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const l=q(i.inheritLocale)?i.inheritLocale:!B(i.locale),o=ai(!r||l?n.locale.value:B(i.locale)?i.locale:ti),u=ai(!r||l?n.fallbackLocale.value:B(i.fallbackLocale)||le(i.fallbackLocale)||j(i.fallbackLocale)||i.fallbackLocale===!1?i.fallbackLocale:o.value),c=ai(qa(o.value,i)),d=ai(j(i.datetimeFormats)?i.datetimeFormats:{[o.value]:{}}),s=ai(j(i.numberFormats)?i.numberFormats:{[o.value]:{}}),h=r?n.missingWarn:q(i.missingWarn)||Ut(i.missingWarn)?i.missingWarn:!0,v=r?n.fallbackWarn:q(i.fallbackWarn)||Ut(i.fallbackWarn)?i.fallbackWarn:!0,O=r?n.fallbackRoot:q(i.fallbackRoot)?i.fallbackRoot:!0,I=!!i.fallbackFormat,P=ie(i.missing)?i.missing:null,_=ie(i.postTranslation)?i.postTranslation:null,S=r?n.warnHtmlMessage:q(i.warnHtmlMessage)?i.warnHtmlMessage:!0,g=!!i.escapeParameter,b=r?n.modifiers:j(i.modifiers)?i.modifiers:{},A=i.pluralRules||r&&n.pluralRules;function N(){return[o.value,u.value,c.value,d.value,s.value]}const C=It({get:()=>a.value?a.value.locale.value:o.value,set:F=>{a.value&&(a.value.locale.value=F),o.value=F}}),L=It({get:()=>a.value?a.value.fallbackLocale.value:u.value,set:F=>{a.value&&(a.value.fallbackLocale.value=F),u.value=F}}),x=It(()=>a.value?a.value.messages.value:c.value),X=It(()=>d.value),Me=It(()=>s.value);function W(){return a.value?a.value.getPostTranslationHandler():_}function ge(F){a.value&&a.value.setPostTranslationHandler(F)}function ze(){return a.value?a.value.getMissingHandler():P}function sn(F){a.value&&a.value.setMissingHandler(F)}function it(F){return N(),F()}function dn(...F){return a.value?it(()=>Reflect.apply(a.value.t,null,[...F])):it(()=>"")}function fn(...F){return a.value?Reflect.apply(a.value.rt,null,[...F]):""}function ea(...F){return a.value?it(()=>Reflect.apply(a.value.d,null,[...F])):it(()=>"")}function ta(...F){return a.value?it(()=>Reflect.apply(a.value.n,null,[...F])):it(()=>"")}function na(F){return a.value?a.value.tm(F):{}}function ot(F,Y){return a.value?a.value.te(F,Y):!1}function $i(F){return a.value?a.value.getLocaleMessage(F):{}}function Vi(F,Y){a.value&&(a.value.setLocaleMessage(F,Y),c.value[F]=Y)}function ia(F,Y){a.value&&a.value.mergeLocaleMessage(F,Y)}function ra(F){return a.value?a.value.getDateTimeFormat(F):{}}function aa(F,Y){a.value&&(a.value.setDateTimeFormat(F,Y),d.value[F]=Y)}function Oo(F,Y){a.value&&a.value.mergeDateTimeFormat(F,Y)}function la(F){return a.value?a.value.getNumberFormat(F):{}}function Ui(F,Y){a.value&&(a.value.setNumberFormat(F,Y),s.value[F]=Y)}function oa(F,Y){a.value&&a.value.mergeNumberFormat(F,Y)}const ua={get id(){return a.value?a.value.id:-1},locale:C,fallbackLocale:L,messages:x,datetimeFormats:X,numberFormats:Me,get inheritLocale(){return a.value?a.value.inheritLocale:l},set inheritLocale(F){a.value&&(a.value.inheritLocale=F)},get availableLocales(){return a.value?a.value.availableLocales:Object.keys(c.value)},get modifiers(){return a.value?a.value.modifiers:b},get pluralRules(){return a.value?a.value.pluralRules:A},get isGlobal(){return a.value?a.value.isGlobal:!1},get missingWarn(){return a.value?a.value.missingWarn:h},set missingWarn(F){a.value&&(a.value.missingWarn=F)},get fallbackWarn(){return a.value?a.value.fallbackWarn:v},set fallbackWarn(F){a.value&&(a.value.missingWarn=F)},get fallbackRoot(){return a.value?a.value.fallbackRoot:O},set fallbackRoot(F){a.value&&(a.value.fallbackRoot=F)},get fallbackFormat(){return a.value?a.value.fallbackFormat:I},set fallbackFormat(F){a.value&&(a.value.fallbackFormat=F)},get warnHtmlMessage(){return a.value?a.value.warnHtmlMessage:S},set warnHtmlMessage(F){a.value&&(a.value.warnHtmlMessage=F)},get escapeParameter(){return a.value?a.value.escapeParameter:g},set escapeParameter(F){a.value&&(a.value.escapeParameter=F)},t:dn,getPostTranslationHandler:W,setPostTranslationHandler:ge,getMissingHandler:ze,setMissingHandler:sn,rt:fn,d:ea,n:ta,tm:na,te:ot,getLocaleMessage:$i,setLocaleMessage:Vi,mergeLocaleMessage:ia,getDateTimeFormat:ra,setDateTimeFormat:aa,mergeDateTimeFormat:Oo,getNumberFormat:la,setNumberFormat:Ui,mergeNumberFormat:oa};function ca(F){F.locale.value=o.value,F.fallbackLocale.value=u.value,Object.keys(c.value).forEach(Y=>{F.mergeLocaleMessage(Y,c.value[Y])}),Object.keys(d.value).forEach(Y=>{F.mergeDateTimeFormat(Y,d.value[Y])}),Object.keys(s.value).forEach(Y=>{F.mergeNumberFormat(Y,s.value[Y])}),F.escapeParameter=g,F.fallbackFormat=I,F.fallbackRoot=O,F.fallbackWarn=v,F.missingWarn=h,F.warnHtmlMessage=S}return oE(()=>{if(t.proxy==null||t.proxy.$i18n==null)throw Ne(z.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const F=a.value=t.proxy.$i18n.__composer;e==="global"?(o.value=F.locale.value,u.value=F.fallbackLocale.value,c.value=F.messages.value,d.value=F.datetimeFormats.value,s.value=F.numberFormats.value):r&&ca(F)}),ua}const P0=["locale","fallbackLocale","availableLocales"],vh=["t","rt","d","n","tm","te"];function A0(t,e){const n=Object.create(null);return P0.forEach(r=>{const a=Object.getOwnPropertyDescriptor(e,r);if(!a)throw Ne(z.UNEXPECTED_ERROR);const l=Je(a.value)?{get(){return a.value.value},set(o){a.value.value=o}}:{get(){return a.get&&a.get()}};Object.defineProperty(n,r,l)}),t.config.globalProperties.$i18n=n,vh.forEach(r=>{const a=Object.getOwnPropertyDescriptor(e,r);if(!a||!a.value)throw Ne(z.UNEXPECTED_ERROR);Object.defineProperty(t.config.globalProperties,`$${r}`,a)}),()=>{delete t.config.globalProperties.$i18n,vh.forEach(r=>{delete t.config.globalProperties[`$${r}`]})}}if(zE(),__INTLIFY_JIT_COMPILATION__?gd(Xv):gd(Gv),$v(vv),Vv(hd),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const t=Nt();t.__INTLIFY__=!0,Rv(t.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;function k0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bh(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function D0(t,e,n){return e&&bh(t.prototype,e),n&&bh(t,n),t}function L0(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var w=function(){function t(){k0(this,t)}return D0(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.global.t(n,i)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ro;return E0({locale:n,globalInjection:!0,silentFallbackWarn:!0,missingWarn:!1,fallbackWarn:!1,silentTranslationWarn:!0})}},{key:"setLocale",value:function(n,i){this.$i18n.global.setLocaleMessage(n,i)}}]),t}();L0(w,"$i18n",w.resetI18n());function x0(t,e,n){var i=e.replace(/\[(\d)]/g,function(a,l){return"."+l}).split("."),r=!1;return i.reduce(function(a,l,o,u){var c=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,l)){ko("Can not set ".concat(e,"'s ").concat(l," property in current %o, Because there is no ").concat(l," property on the %o"),a,a);return}return o===u.length-1&&!Object.is(c[l],n)&&(c[l]=n,r=!0),c[l]}},t),r}var M0=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},F0={exports:{}};(function(t){(function(e){var n=function(_,S,g){if(!c(S)||s(S)||h(S)||v(S)||u(S))return S;var b,A=0,N=0;if(d(S))for(b=[],N=S.length;A<N;A++)b.push(n(_,S[A],g));else{b={};for(var C in S)Object.prototype.hasOwnProperty.call(S,C)&&(b[_(C,g)]=n(_,S[C],g))}return b},i=function(_,S){S=S||{};var g=S.separator||"_",b=S.split||/(?=[A-Z])/;return _.split(b).join(g)},r=function(_){return O(_)?_:(_=_.replace(/[\-_\s]+(.)?/g,function(S,g){return g?g.toUpperCase():""}),_.substr(0,1).toLowerCase()+_.substr(1))},a=function(_){var S=r(_);return S.substr(0,1).toUpperCase()+S.substr(1)},l=function(_,S){return i(_,S).toLowerCase()},o=Object.prototype.toString,u=function(_){return typeof _=="function"},c=function(_){return _===Object(_)},d=function(_){return o.call(_)=="[object Array]"},s=function(_){return o.call(_)=="[object Date]"},h=function(_){return o.call(_)=="[object RegExp]"},v=function(_){return o.call(_)=="[object Boolean]"},O=function(_){return _=_-0,_===_},I=function(_,S){var g=S&&"process"in S?S.process:S;return typeof g!="function"?_:function(b,A){return g(b,_,A)}},P={camelize:r,decamelize:l,pascalize:a,depascalize:l,camelizeKeys:function(_,S){return n(I(r,S),_)},decamelizeKeys:function(_,S){return n(I(l,S),_,S)},pascalizeKeys:function(_,S){return n(I(a,S),_)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=P:e.humps=P})(M0)})(F0);var Eh={};Object.defineProperty(Eh,"__esModule",{value:!0});function Lu(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Lu(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Lu(i)}return e}}var B0=Eh.default=Lu;function $0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mt(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":$0(t))==="object"?B0(t):t}function V0(t){return Object.prototype.toString.call(t)==="[object Object]"}function xu(t){return Array.isArray(t)}function U0(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Mu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function H0(t){if(Array.isArray(t))return Mu(t)}function wh(t,e,n,i,r,a,l){try{var o=t[a](l),u=o.value}catch(c){n(c);return}o.done?e(u):Promise.resolve(u).then(i,r)}function j0(t){return function(){var e=this,n=arguments;return new Promise(function(i,r){var a=t.apply(e,n);function l(u){wh(a,i,r,l,o,"next",u)}function o(u){wh(a,i,r,l,o,"throw",u)}l(void 0)})}}function W0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ih(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function q0(t,e,n){return e&&Ih(t.prototype,e),n&&Ih(t,n),t}function Th(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function K0(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function G0(){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 Fu(t){return H0(t)||K0(t)||X0(t)||G0()}function X0(t,e){if(!!t){if(typeof t=="string")return Mu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Mu(t,e)}}function z0(t,e){var n,i,r,a,l={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return a={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function o(c){return function(d){return u([c,d])}}function u(c){if(n)throw new TypeError("Generator is already executing.");for(;l;)try{if(n=1,i&&(r=c[0]&2?i.return:c[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,c[1])).done)return r;switch(i=0,r&&(c=[c[0]&2,r.value]),c[0]){case 0:case 1:r=c;break;case 4:return l.label++,{value:c[1],done:!1};case 5:l.label++,i=c[1],c=[0];continue;case 7:c=l.ops.pop(),l.trys.pop();continue;default:if(r=l.trys,!(r=r.length>0&&r[r.length-1])&&(c[0]===6||c[0]===2)){l=0;continue}if(c[0]===3&&(!r||c[1]>r[0]&&c[1]<r[3])){l.label=c[1];break}if(c[0]===6&&l.label<r[1]){l.label=r[1],r=c;break}if(r&&l.label<r[2]){l.label=r[2],l.ops.push(c);break}r[2]&&l.ops.pop(),l.trys.pop();continue}c=e.call(t,l)}catch(d){c=[6,d],i=0}finally{n=r=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var J0=function(){function t(){W0(this,t),Th(this,"_events",new Map),Th(this,"debug",!1)}return q0(t,[{key:"emit",value:function(n){for(var i=arguments.length,r=new Array(i>1?i-1:0),a=1;a<i;a++)r[a-1]=arguments[a];var l=this;return j0(function(){var o,u,c,d,s,h,v,O,I,P,_,S;return z0(this,function(g){switch(g.label){case 0:if(o=l._events.get(n),u=[],!o)return[3,10];c=o.slice(),d=!0,s=!1,h=void 0,g.label=1;case 1:g.trys.push([1,8,9,10]),v=c[Symbol.iterator](),g.label=2;case 2:if(d=(O=v.next()).done)return[3,7];if(I=O.value,!o.includes(I))return[3,6];g.label=3;case 3:return g.trys.push([3,5,,6]),l.debug&&Qs.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(I.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+I.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(r.map(function(){return"%o"}).join(","),"\u3002")].concat(Fu(r))),[4,I.apply(null,Fu(r))];case 4:return P=g.sent(),l.debug&&Qs.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(I.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+I.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(r.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Fu(r),[P])),u.push(P),P===!1?[3,7]:[3,6];case 5:return _=g.sent(),Og(String(_)+":"+String(_.stack)),[3,6];case 6:return d=!0,[3,2];case 7:return[3,10];case 8:return S=g.sent(),s=!0,h=S,[3,10];case 9:try{!d&&v.return!=null&&v.return()}finally{if(s)throw h}return[7];case 10:return[2,u]}})})()}},{key:"on",value:function(n,i){if(this._events.has(n)){var r;(r=this._events.get(n))===null||r===void 0||r.push(i)}else this._events.set(n,[i])}},{key:"off",value:function(n,i){if(this._events.has(n)){var r=this._events.get(n),a=r==null?void 0:r.indexOf(i);r==null||r.splice(a,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function Q0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ch(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Z0(t,e,n){return e&&Ch(t.prototype,e),n&&Ch(t,n),t}function Y0(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var p0=[{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"}],ew=function(){function t(){Q0(this,t)}return Z0(t,null,[{key:"getEventsFromKeys",value:function(n){var i=typeof n=="string"?[n]:n;return t.events.filter(function(r){return i.includes(r.key)})}},{key:"getEventsFromControl",value:function(n){var i=[],r=n.eventKeys;i=i.concat(t.events.filter(function(l){return r.includes(l.key)}));var a=n.customEvents.map(function(l){var o=l.key;return l.namespace!==void 0&&l.namespace!==null&&l.namespace!==""&&(o=l.namespace+":"+l.key),{key:o,code:l.key,name:l.name}});return i=i.concat(a),i}}]),t}();Y0(ew,"events",p0);function Bu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function tw(t){if(Array.isArray(t))return Bu(t)}function nw(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function iw(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Oh(t){return tw(t)||nw(t)||rw(t)||iw()}function rw(t,e){if(!!t){if(typeof t=="string")return Bu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Bu(t,e)}}function $u(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Sh(t,e,n){n!=="Runtime"&&(t.parent=e,$u(t,"parent"))}function aw(t,e,n){t.forEach(function(i){Sh(i,e,n)})}var Rh=Symbol("targetKey");function Nh(t){var e;return(e=t[Rh])!==null&&e!==void 0?e:t}function Ph(t,e,n){return aw(t,e,n),new Proxy(t,{get:function(r,a){for(var l=arguments.length,o=new Array(l>2?l-2:0),u=2;u<l;u++)o[u-2]=arguments[u];var c;return a===Rh?r:(c=Reflect).get.apply(c,[r,a].concat(Oh(o)))},set:function(r,a,l){for(var o=arguments.length,u=new Array(o>3?o-3:0),c=3;c<o;c++)u[c-3]=arguments[c];var d;if(xu(t)&&a==="length"&&l===t.length)return!0;var s=(d=Reflect).set.apply(d,[r,a,l].concat(Oh(u)));return V0(l)&&Sh(l,e,n),s}})}function Tt(t,e,n,i,r){var a=i!=null?i:t,l=Ph(Nh(n!=null?n:[]),a,r);Object.defineProperty(t,e,{get:function(){return l},set:function(u){l=Ph(Nh(u),a,r)},enumerable:!0})}function lw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ah(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function ow(t,e,n){return e&&Ah(t.prototype,e),n&&Ah(t,n),t}function Yt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var kh=[],Ka=function(){function t(e){lw(this,t),Yt(this,"registeredControlTypes",new Set),Yt(this,"controlConfigMap",new Map),Yt(this,"_controls",[]),Yt(this,"_type",void 0),this._type=e,this._initControls(e)}return ow(t,[{key:"registerControlConfig",value:function(n,i){return this.controlConfigMap.set(n,i),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||qi("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(r){return r.controlType===n.controlType});return i>-1&&(ko("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(i,1)),this.registeredControlTypes.add(n.controlType),this._controls.push(n),this}},{key:"isLayoutControl",value:function(n){return n.controlType===Rt.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===Rt.FORM}},{key:"isListControl",value:function(n){return n.controlType===Rt.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===Rt.COLUMN}},{key:"createControl",value:function(n,i){var r=this;if(Array.isArray(n))return n.map(function(d){return r.createControl(d,i)});if(n.children&&(n.children=n.children.map(function(d){return r.createControl(d,i)})),this.isListControl(n)){var a=n.props;a.headers&&(a.headers=a.headers.map(function(d){return r.createControl(d,i)}))}var l=this.getControlFormType(n.type);if(l){var o=n;if(typeof i=="function"){var u=i(o);u&&(o=u)}var c;return l.mode==="Runtime"?(c=o,c.fieldType=l.controlFieldType,this._setParentPrototypeToSchema(c,this)):c=new l(o),c}else qi("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(n,i){delete n.parent,Object.defineProperty(n,"parent",{configurable:!0,get:function(){return i}}),$u(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,i){i._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var a=n.id,l=i._controlParentIdMap,o=i.instanceMap;if(!(!l||!o)){var u=l[a],c=o[a];if(!(!u&&!c)){var d=c.findIndex(function(v){return v==n}),s=o[u]||[],h;return s.length!==c.length?h=s[0]:h=s[d],h}}}}),$u(n,"parent"))}},{key:"createControlInstance",value:function(n,i){var r=this.getControlFormType(n);if(r)return new r(i)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(i){return i.controlType===n})}},{key:"_initControls",value:function(n){var i=this;this.constructor.staticControls.forEach(function(r){i.register(r[n]),t.staticControlsRuntimeRules.set(r.Runtime.controlType,r.Property.RuntimeRules),r.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,i){var r=t.staticControlsRuntimeRules.get(n),a=[];if(r){var l=new r(i);a=Array.from(l)}return a}},{key:"register",value:function(n,i){var r=n.Designer,a=n.Runtime,l=n.Property;(!r||!a||!r.__is_control__||!a.__is_control__)&&qi("".concat(n," is can't register as a Control"));var o=this.staticControls.findIndex(function(u){return u.Designer.controlType===r.controlType});return o>-1&&(ko("The ".concat(r.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(o,1)),this.staticRegisteredTypes.add(r.controlType),this.staticControls.push(n),l.mode=i,this}}]),t}();Yt(Ka,"staticControlsRuntimeRules",new Map),Yt(Ka,"staticControls",kh),Yt(Ka,"staticRegisteredTypes",new Set(kh.map(function(t){return t.Designer.controlType}))),Yt(Ka,"staticRegisteredConfigs",new Map);function ce(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function H(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function E(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ga(t){return Ga=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ga(t)}function yt(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vu(t,e)}function uw(t,e){return e&&(cw(e)==="object"||typeof e=="function")?e:ce(t)}function Vu(t,e){return Vu=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},Vu(t,e)}function cw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function sw(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function _t(t){var e=sw();return function(){var i=Ga(t),r;if(e){var a=Ga(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return uw(this,r)}}var Ct=function t(e){H(this,t),E(this,"dataCode",void 0),E(this,"fieldCode",void 0),E(this,"fieldType",void 0),E(this,"aliasCode",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var r;this.fieldType=(r=e==null?void 0:e.fieldType)!==null&&r!==void 0?r:"",this.aliasCode=e==null?void 0:e.aliasCode},Dh=function t(e){H(this,t),E(this,"minWidth",void 0),E(this,"maxWidth",void 0),E(this,"flex",void 0);var n;this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth;var i;this.flex=(i=e==null?void 0:e.flex)!==null&&i!==void 0?i:1},Lh=function t(e){H(this,t),E(this,"rowHeightType",void 0),E(this,"minRows",void 0),E(this,"maxRows",void 0),E(this,"fiexdRow",void 0);var n;this.rowHeightType=(n=e==null?void 0:e.rowHeightType)!==null&&n!==void 0?n:"fixed";var i;this.minRows=(i=e==null?void 0:e.minRows)!==null&&i!==void 0?i:4;var r;this.maxRows=(r=e==null?void 0:e.maxRows)!==null&&r!==void 0?r:20;var a;this.fiexdRow=(a=e==null?void 0:e.fiexdRow)!==null&&a!==void 0?a:4},dw=function t(e){H(this,t),E(this,"pc",void 0),E(this,"mobile",void 0),this.pc=new Lh(e==null?void 0:e.pc),this.mobile=new Lh(e==null?void 0:e.mobile)},Uu=function(t){yt(n,t);var e=_t(n);function n(i){H(this,n);var r;r=e.call(this,i),E(ce(r),"width",void 0),E(ce(r),"widthType",void 0);var a;r.width=(a=i==null?void 0:i.width)!==null&&a!==void 0?a:240;var l;return r.widthType=(l=i==null?void 0:i.widthType)!==null&&l!==void 0?l:"auto",r}return n}(Dh),fw=function t(e){H(this,t),E(this,"pc",void 0),E(this,"mobile",void 0),this.pc=new Uu(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new Uu(e==null?void 0:e.mobile):new Uu({width:130,minWidth:180})},hw=function t(e){H(this,t),E(this,"type",void 0),E(this,"customOptions",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree";var i;this.customOptions=(i=e==null?void 0:e.customOptions)!==null&&i!==void 0?i:[]},fi=function t(e){H(this,t),E(this,"dataCode",void 0),E(this,"formKey",void 0),E(this,"appId",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"";var r;this.appId=(r=e==null?void 0:e.appId)!==null&&r!==void 0?r:""},mw=function(t){yt(n,t);var e=_t(n);function n(i){H(this,n);var r;r=e.call(this,i),E(ce(r),"primaryControlId",void 0);var a;return r.primaryControlId=(a=i==null?void 0:i.primaryControlId)!==null&&a!==void 0?a:"",r}return n}(fi),xh=function t(e){H(this,t),E(this,"fieldCode",void 0),E(this,"dataCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"";var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:""},Hu=function t(e){H(this,t);var n;E(this,"appId",void 0),E(this,"formKey",void 0),E(this,"headers",void 0);var i;this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"";var r;this.formKey=(r=e==null?void 0:e.formKey)!==null&&r!==void 0?r:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new xh(l)}))!==null&&a!==void 0?a:[]},yw=function t(e){H(this,t),E(this,"fieldName",void 0),E(this,"fieldCode",void 0),E(this,"fieldType",void 0);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var r;this.fieldType=(r=e==null?void 0:e.fieldType)!==null&&r!==void 0?r:D.VARCHAR},_w=function(t){yt(n,t);var e=_t(n);function n(i){H(this,n);var r;r=e.call(this,i),E(ce(r),"title",void 0),E(ce(r),"svcCode",void 0),E(ce(r),"isOpenFilter",void 0),E(ce(r),"filters",void 0);var a;r.title=(a=i==null?void 0:i.title)!==null&&a!==void 0?a:"";var l;r.svcCode=(l=i==null?void 0:i.svcCode)!==null&&l!==void 0?l:"";var o;r.isOpenFilter=(o=i==null?void 0:i.isOpenFilter)!==null&&o!==void 0?o:!1;var u;return r.filters=(u=i==null?void 0:i.filters)!==null&&u!==void 0?u:[],r}return n}(fi),gw=function t(e){H(this,t);var n,i;E(this,"type","sublist-page"),E(this,"formBind",void 0),E(this,"displayFields",void 0),E(this,"sublists",void 0),this.formBind=new fi(e==null?void 0:e.formBind);var r;this.displayFields=(r=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(l){return new yw(l)}))!==null&&r!==void 0?r:[];var a;this.sublists=(a=e==null||(i=e.sublists)===null||i===void 0?void 0:i.map(function(l){return new _w(l)}))!==null&&a!==void 0?a:[]},vw=function t(e){H(this,t),E(this,"type",void 0),E(this,"value",void 0),E(this,"dataCode",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value,this.dataCode=e==null?void 0:e.dataCode},ar=function t(e){H(this,t),E(this,"type",void 0),E(this,"value",void 0),E(this,"displayBos",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:[];var r;this.displayBos=(r=e==null?void 0:e.displayBos)!==null&&r!==void 0?r:[]},ju=function t(e){var n=this;H(this,t),E(this,"id",void 0),E(this,"ruleId",void 0),E(this,"type","conditions"),E(this,"level",void 0),E(this,"value",void 0),E(this,"children",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:vt();var r;this.ruleId=(r=e==null?void 0:e.ruleId)!==null&&r!==void 0?r:new Date().valueOf();var a;this.level=(a=e==null?void 0:e.level)!==null&&a!==void 0?a:0;var l;this.value=(l=e==null?void 0:e.value)!==null&&l!==void 0?l:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(o){if(o.children!==void 0){var u,c=new t(o);(u=n.children)===null||u===void 0||u.push(c)}else{var d,s=new Xa(o);(d=n.children)===null||d===void 0||d.push(s)}}))},Xa=function t(e){H(this,t),E(this,"id",void 0),E(this,"ruleId",void 0),E(this,"type","condition"),E(this,"symbol",void 0),E(this,"checked",void 0),E(this,"describe",void 0),E(this,"leftVariableBo",void 0),E(this,"rightVariableBo",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:vt();var i;this.ruleId=(i=e==null?void 0:e.ruleId)!==null&&i!==void 0?i:new Date().valueOf();var r;this.symbol=(r=e==null?void 0:e.symbol)!==null&&r!==void 0?r:"";var a;this.checked=(a=e==null?void 0:e.checked)!==null&&a!==void 0?a:!1;var l;this.describe=(l=e==null?void 0:e.describe)!==null&&l!==void 0?l:"",this.leftVariableBo=new vw(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new ar(e==null?void 0:e.rightVariableBo)},bw=function t(e){H(this,t),E(this,"aliasCode",void 0),E(this,"datasourceBind",void 0),E(this,"relationFields",void 0);var n;this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new He(e==null?void 0:e.datasourceBind);var i;this.relationFields=(i=e==null?void 0:e.relationFields)!==null&&i!==void 0?i:[]},Ye=function t(e){H(this,t),E(this,"controlId",void 0),E(this,"fieldCode",void 0),E(this,"fieldType",void 0),E(this,"propName",void 0);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var r;this.fieldType=(r=e==null?void 0:e.fieldType)!==null&&r!==void 0?r:"";var a;this.propName=(a=e==null?void 0:e.propName)!==null&&a!==void 0?a:""},Wu=function t(e){H(this,t),E(this,"type",void 0),E(this,"value",void 0),E(this,"fieldType",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:"",this.fieldType=e==null?void 0:e.fieldType},Ew=function t(e){H(this,t),E(this,"columnName",void 0),E(this,"desc",void 0);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var i;this.desc=(i=e.desc)!==null&&i!==void 0?i:!1};function qu(t){var e,n,i,r;this.filters=(r=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(o){return o.children!==void 0?new ju(o):new Xa(o)}))!==null&&r!==void 0?r:[];var a;this.viewFilters=(a=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(o){return o.children!==void 0?new ju(o):new Xa(o)}))!==null&&a!==void 0?a:[];var l;this.orders=(l=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(o){return new Ew(o)}))!==null&&l!==void 0?l:[]}var He=function t(e){var n=this;H(this,t),E(this,"dataCode",void 0),E(this,"valueFieldCode",void 0),E(this,"displayBoList",void 0),E(this,"keywordMapping",void 0),E(this,"svcCode",void 0),E(this,"appId",void 0),E(this,"filters",void 0),E(this,"viewFilters",void 0),E(this,"isOpenViewFilters",void 0),E(this,"orders",void 0),E(this,"showOrder",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var r;this.appId=(r=e==null?void 0:e.appId)!==null&&r!==void 0?r:"";var a;this.valueFieldCode=(a=e==null?void 0:e.valueFieldCode)!==null&&a!==void 0?a:"",this.displayBoList=[];var l;this.isOpenViewFilters=(l=e==null?void 0:e.isOpenViewFilters)!==null&&l!==void 0?l:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(d){var s;(s=n.displayBoList)===null||s===void 0||s.push(new Wu(d))}));var o;this.keywordMapping=(o=e==null?void 0:e.keywordMapping)!==null&&o!==void 0?o:"";var u;this.showOrder=(u=e==null?void 0:e.showOrder)!==null&&u!==void 0?u:!0;var c;this.svcCode=(c=e==null?void 0:e.svcCode)!==null&&c!==void 0?c:"",qu.call(this,e)},Ku=function t(e){H(this,t),E(this,"dataCode",void 0),E(this,"displayBoList",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.displayBoList=(i=e==null?void 0:e.displayBoList)!==null&&i!==void 0?i:[]},Lt=function t(e){H(this,t),E(this,"code",void 0),E(this,"color",void 0),E(this,"command",void 0),E(this,"confirmMessage",void 0),E(this,"defaultState",void 0),E(this,"formKey",void 0),E(this,"formType",void 0),E(this,"icon",void 0),E(this,"needConfirm",void 0),E(this,"openType",void 0),E(this,"priorityProcess",void 0);var n;this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view";var i;this.color=(i=e==null?void 0:e.color)!==null&&i!==void 0?i:"primary";var r;this.command=(r=e==null?void 0:e.command)!==null&&r!==void 0?r:"view";var a;this.confirmMessage=(a=e==null?void 0:e.confirmMessage)!==null&&a!==void 0?a:void 0;var l;this.defaultState=(l=e==null?void 0:e.defaultState)!==null&&l!==void 0?l:"default";var o;this.formKey=(o=e==null?void 0:e.formKey)!==null&&o!==void 0?o:void 0,this.formType=e==null?void 0:e.formType;var u;this.icon=(u=e==null?void 0:e.icon)!==null&&u!==void 0?u:"iconliulan1";var c;this.needConfirm=(c=e==null?void 0:e.needConfirm)!==null&&c!==void 0?c:!1;var d;this.openType=(d=e==null?void 0:e.openType)!==null&&d!==void 0?d:"modal";var s;this.priorityProcess=(s=e==null?void 0:e.priorityProcess)!==null&&s!==void 0?s:!0},Mh=function t(e){H(this,t);var n;E(this,"name",void 0),E(this,"key",void 0),E(this,"value",void 0);var i;this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"";var r;this.key=(r=e==null?void 0:e.key)!==null&&r!==void 0?r:"";var a;this.value=(a=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(l){return new Wu(l)}))!==null&&a!==void 0?a:[]},za=function(t){yt(n,t);var e=_t(n);function n(i){H(this,n);var r,a;r=e.call(this,i),E(ce(r),"attributes",void 0);var l;return r.attributes=(l=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(o){return new Mh(o)}))!==null&&l!==void 0?l:[],r}return n}(He),ww=function(t){yt(n,t);var e=_t(n);function n(i){H(this,n);var r,a;r=e.call(this,i),E(ce(r),"attributes",void 0),E(ce(r),"formCode",void 0);var l;r.attributes=(l=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(u){return new Mh(u)}))!==null&&l!==void 0?l:[];var o;return r.formCode=(o=i==null?void 0:i.formCode)!==null&&o!==void 0?o:"",r}return n}(He),Fh=function(t){yt(n,t);var e=_t(n);function n(i){H(this,n);var r;r=e.call(this,i),E(ce(r),"rootNode",void 0),E(ce(r),"filterCode",void 0),r.rootNode=new ar(i==null?void 0:i.rootNode);var a;return r.filterCode=(a=i==null?void 0:i.filterCode)!==null&&a!==void 0?a:"",r}return n}(za),Bh=function t(e){H(this,t);var n;E(this,"dataCode",void 0),E(this,"appId",void 0),E(this,"fillList",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var r;this.appId=(r=e==null?void 0:e.appId)!==null&&r!==void 0?r:"";var a;this.fillList=(a=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(l){return new Ye(l)}))!==null&&a!==void 0?a:[]},$h=function(t){yt(n,t);var e=_t(n);function n(i){H(this,n);var r;return r=e.call(this,i),E(ce(r),"filters",void 0),E(ce(r),"viewFilters",void 0),E(ce(r),"orders",void 0),qu.call(ce(r),i),r}return n}(Bh),Vh=function(t){yt(n,t);var e=_t(n);function n(i){H(this,n);var r;r=e.call(this,i),E(ce(r),"mode",void 0),E(ce(r),"multiple",void 0);var a;r.mode=(a=i==null?void 0:i.mode)!==null&&a!==void 0?a:"current";var l;return r.multiple=(l=i==null?void 0:i.multiple)!==null&&l!==void 0?l:!1,r}return n}(Bh),Uh=function t(e){H(this,t),E(this,"stencilName",void 0),E(this,"expression",void 0),E(this,"errMessage",void 0);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var i;this.expression=(i=e==null?void 0:e.expression)!==null&&i!==void 0?i:"";var r;this.errMessage=(r=e==null?void 0:e.errMessage)!==null&&r!==void 0?r:""},Iw=function t(e){H(this,t),E(this,"id",void 0),E(this,"label",void 0),E(this,"value",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:vt(8);var i;this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"";var r;this.value=(r=e==null?void 0:e.value)!==null&&r!==void 0?r:this.label};function xt(t){var e;return(e=t==null?void 0:t.map(function(n){return new Iw(n)}))!==null&&e!==void 0?e:[]}var Gu=function t(){H(this,t)},Tw=function(t){yt(n,t);var e=_t(n);function n(i){H(this,n);var r;return r=e.call(this),E(ce(r),"amount",void 0),E(ce(r),"currency",void 0),r.amount=new Ct(i==null?void 0:i.amount),r.currency=new Ct(i==null?void 0:i.currency),r}return n}(Gu),Cw=function t(e){H(this,t),E(this,"amount",void 0),E(this,"currency",void 0);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var i;this.currency=(i=e==null?void 0:e.currency)!==null&&i!==void 0?i:"CNY"},Ow=function(t){yt(n,t);var e=_t(n);function n(i){H(this,n);var r;return r=e.call(this),E(ce(r),"min",void 0),E(ce(r),"max",void 0),r.min=new Ct(i==null?void 0:i.min),r.max=new Ct(i==null?void 0:i.max),r}return n}(Gu),Sw=function t(e){H(this,t),E(this,"min",void 0),E(this,"max",void 0);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var i;this.max=(i=e==null?void 0:e.max)!==null&&i!==void 0?i:""},Rw=function t(e){H(this,t),E(this,"city",void 0),E(this,"cityDisplay",void 0),E(this,"district",void 0),E(this,"districtDisplay",void 0),E(this,"province",void 0),E(this,"provinceDisplay",void 0);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var i;this.cityDisplay=(i=e==null?void 0:e.cityDisplay)!==null&&i!==void 0?i:"";var r;this.district=(r=e==null?void 0:e.district)!==null&&r!==void 0?r:"";var a;this.districtDisplay=(a=e==null?void 0:e.districtDisplay)!==null&&a!==void 0?a:"";var l;this.province=(l=e==null?void 0:e.province)!==null&&l!==void 0?l:"";var o;this.provinceDisplay=(o=e==null?void 0:e.provinceDisplay)!==null&&o!==void 0?o:""},Nw=function(t){yt(n,t);var e=_t(n);function n(i){H(this,n);var r;return r=e.call(this),E(ce(r),"result",void 0),E(ce(r),"unit",void 0),r.result=new Ct(i==null?void 0:i.result),r.unit=new Ct(i==null?void 0:i.unit),r}return n}(Gu),Pw=function t(e){H(this,t),E(this,"result",void 0),E(this,"unit",void 0);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var i;this.unit=(i=e==null?void 0:e.unit)!==null&&i!==void 0?i:""},Xu;(function(t){t.CNY="CNY",t.USD="USD",t.JPY="JPY",t.EUR="EUR",t.INR="INR",t.IDR="IDR",t.BRL="BRL",t.AED="AED",t.AUD="AUD",t.CAD="CAD",t.EGP="EGP",t.GBP="GBP",t.ZAR="ZAR",t.KRW="KRW",t.MAD="MAD",t.MXN="MXN",t.MYR="MYR",t.PHP="PHP",t.PLN="PLN",t.RUB="RUB",t.SGD="SGD",t.THB="THB",t.TRY="TRY",t.TWD="TWD",t.VND="VND",t.HKD="HKD",t.IEP="IEP"})(Xu||(Xu={}));var f;(function(t){t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.IS_SHOW_WATERMARK="isShowWatermark",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions",t.IS_PASTE="isPaste",t.SORTABLE="sortable"})(f||(f={}));var zu;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(zu||(zu={}));var pt=function t(e){H(this,t),E(this,"isShow",void 0),E(this,"priorityProcess",void 0),E(this,"formKey",void 0),E(this,"content",void 0),E(this,"openType",void 0),E(this,"type",void 0);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var i;this.content=(i=e==null?void 0:e.content)!==null&&i!==void 0?i:"";var r;this.formKey=(r=e==null?void 0:e.formKey)!==null&&r!==void 0?r:"";var a;this.openType=(a=e==null?void 0:e.openType)!==null&&a!==void 0?a:"modal";var l;this.type=(l=e==null?void 0:e.type)!==null&&l!==void 0?l:"";var o;this.priorityProcess=(o=e==null?void 0:e.priorityProcess)!==null&&o!==void 0?o:!1},Aw=function t(e){H(this,t);var n;E(this,"id",void 0),E(this,"title",void 0),E(this,"filters",void 0),E(this,"viewFilters",void 0),E(this,"headers",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:vt(8);var r;this.title=(r=e==null?void 0:e.title)!==null&&r!==void 0?r:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new xh(l)}))!==null&&a!==void 0?a:[],qu.call(this,e)},kw=function t(e){H(this,t),E(this,"width",void 0),E(this,"height",void 0),E(this,"widthConfig",void 0),E(this,"heightConfig",void 0);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var i;this.height=(i=e==null?void 0:e.height)!==null&&i!==void 0?i:"";var r;this.widthConfig=(r=e==null?void 0:e.widthConfig)!==null&&r!==void 0?r:"fill";var a;this.heightConfig=(a=e==null?void 0:e.heightConfig)!==null&&a!==void 0?a:"fill"},Dw=function t(e){H(this,t),E(this,"optCode",void 0),E(this,"optType",void 0);var n;this.optCode=(n=e==null?void 0:e.optCode)!==null&&n!==void 0?n:"";var i;this.optType=(i=e==null?void 0:e.optType)!==null&&i!==void 0?i:""},Lw=function t(e){H(this,t);var n,i;E(this,"id",void 0),E(this,"name",void 0),E(this,"settings",void 0),E(this,"filters",void 0),E(this,"script",void 0);var r;this.id=(r=e==null?void 0:e.id)!==null&&r!==void 0?r:vt();var a;this.name=(a=e==null?void 0:e.name)!==null&&a!==void 0?a:"";var l;this.filters=(l=e==null||(n=e.filters)===null||n===void 0?void 0:n.map(function(u){return u.children!==void 0?new ju(u):new Xa(u)}))!==null&&l!==void 0?l:[];var o;this.settings=(e==null?void 0:e.settings)&&Array.isArray(e==null?void 0:e.settings)?(o=e==null||(i=e.settings)===null||i===void 0?void 0:i.map(function(u){return new xw(u)}))!==null&&o!==void 0?o:[]:[],this.script=e==null?void 0:e.script},xw=function t(e){H(this,t),E(this,"color",void 0),E(this,"fieldCodes",void 0),E(this,"type",void 0),E(this,"scope",void 0);var n;this.type=(n=e.type)!==null&&n!==void 0?n:"background";var i;this.fieldCodes=(i=e.fieldCodes)!==null&&i!==void 0?i:[];var r;this.color=(r=e.color)!==null&&r!==void 0?r:"theme";var a;this.scope=(a=e.scope)!==null&&a!==void 0?a:"row"},Mw=function t(e){H(this,t);var n;E(this,"type",void 0),E(this,"interval",void 0),E(this,"rules",void 0);var i;this.type=(i=e==null?void 0:e.type)!==null&&i!==void 0?i:"none";var r;this.interval=(r=e==null?void 0:e.interval)!==null&&r!==void 0?r:{color:""};var a;this.rules=(e==null?void 0:e.rules)&&Array.isArray(e==null?void 0:e.rules)?(a=e==null||(n=e.rules)===null||n===void 0?void 0:n.map(function(l){return new Lw(l)}))!==null&&a!==void 0?a:[]:[]};function Fw(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ju(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ja(t,e,n){return Hh()?Ja=Reflect.construct:Ja=function(r,a,l){var o=[null];o.push.apply(o,a);var u=Function.bind.apply(r,o),c=new u;return l&&or(c,l.prototype),c},Ja.apply(null,arguments)}function Mt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function lr(t){return lr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},lr(t)}function Bw(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&or(t,e)}function $w(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Vw(t,e){return e&&(Uw(e)==="object"||typeof e=="function")?e:Fw(t)}function or(t,e){return or=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},or(t,e)}function Uw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Qu(t){var e=typeof Map=="function"?new Map:void 0;return Qu=function(i){if(i===null||!$w(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,r)}function r(){return Ja(i,arguments,lr(this).constructor)}return r.prototype=Object.create(i.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),or(r,i)},Qu(t)}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(t){return!1}}function Hw(t){var e=Hh();return function(){var i=lr(t),r;if(e){var a=lr(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Vw(this,r)}}var Pe=function t(e){Ju(this,t),Mt(this,"isHide",{type:"boolean"})},Sn=function(t){Bw(n,t);var e=Hw(n);function n(i){return Ju(this,n),e.call(this)}return n}(Qu(Array)),Ae=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Ju(this,t),Mt(this,"isHide",void 0),Mt(this,"className",void 0),Mt(this,"style",void 0),Mt(this,"caption",void 0),Mt(this,"defaultState",void 0);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new kw(e==null?void 0:e.style);var r;this.caption=(r=e==null?void 0:e.caption)!==null&&r!==void 0?r:n};Mt(Ae,"mode",void 0),Mt(Ae,"Rules",Pe),Mt(Ae,"RuntimeRules",Sn);function Ot(){return Ot=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},Ot.apply(this,arguments)}function jw(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Zu(t){return Zu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zu(t)}function Qa(t,e){return Qa=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},Qa(t,e)}function Ww(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function Za(t,e,n){return Ww()?Za=Reflect.construct:Za=function(r,a,l){var o=[null];o.push.apply(o,a);var u=Function.bind.apply(r,o),c=new u;return l&&Qa(c,l.prototype),c},Za.apply(null,arguments)}function qw(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Yu(t){var e=typeof Map=="function"?new Map:void 0;return Yu=function(i){if(i===null||!qw(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,r)}function r(){return Za(i,arguments,Zu(this).constructor)}return r.prototype=Object.create(i.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Qa(r,i)},Yu(t)}var Kw=/%[sdj%]/g,jh=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(jh=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function pu(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var i=n.field;e[i]=e[i]||[],e[i].push(n)}),e}function et(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,r=e[0],a=e.length;if(typeof r=="function")return r.apply(null,e.slice(1));if(typeof r=="string"){var l=String(r).replace(Kw,function(o){if(o==="%%")return"%";if(i>=a)return o;switch(o){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(u){return"[Circular]"}break;default:return o}});return l}return r}function Gw(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function ke(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||Gw(e)&&typeof t=="string"&&!t)}function Xw(t,e,n){var i=[],r=0,a=t.length;function l(o){i.push.apply(i,o),r++,r===a&&n(i)}t.forEach(function(o){e(o,l)})}function Wh(t,e,n){var i=0,r=t.length;function a(l){if(l&&l.length){n(l);return}var o=i;i=i+1,o<r?e(t[o],a):n([])}a([])}function zw(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var qh=function(t){jw(e,t);function e(n,i){var r;return r=t.call(this,"Async Validation Error")||this,r.errors=n,r.fields=i,r}return e}(Yu(Error));function Jw(t,e,n,i){if(e.first){var r=new Promise(function(s,h){var v=function(P){return i(P),P.length?h(new qh(P,pu(P))):s()},O=zw(t);Wh(O,n,v)});return r.catch(function(s){return s}),r}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var l=Object.keys(t),o=l.length,u=0,c=[],d=new Promise(function(s,h){var v=function(I){if(c.push.apply(c,I),u++,u===o)return i(c),c.length?h(new qh(c,pu(c))):s()};l.length||(i(c),s()),l.forEach(function(O){var I=t[O];a.indexOf(O)!==-1?Wh(I,n,v):Xw(I,n,v)})});return d.catch(function(s){return s}),d}function Kh(t){return function(e){return e&&e.message?(e.field=e.field||t.fullField,e):{message:typeof e=="function"?e():e,field:e.field||t.fullField}}}function Gh(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];typeof i=="object"&&typeof t[n]=="object"?t[n]=Ot(Ot({},t[n]),i):t[n]=i}}return t}function Xh(t,e,n,i,r,a){t.required&&(!n.hasOwnProperty(t.field)||ke(e,a||t.type))&&i.push(et(r.messages.required,t.fullField))}function Qw(t,e,n,i,r){(/^\s+$/.test(e)||e==="")&&i.push(et(r.messages.whitespace,t.fullField))}var ec={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},ur={integer:function(e){return ur.number(e)&&parseInt(e,10)===e},float:function(e){return ur.number(e)&&!ur.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(n){return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!ur.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(ec.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(ec.url)},hex:function(e){return typeof e=="string"&&!!e.match(ec.hex)}};function Zw(t,e,n,i,r){if(t.required&&e===void 0){Xh(t,e,n,i,r);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=t.type;a.indexOf(l)>-1?ur[l](e)||i.push(et(r.messages.types[l],t.fullField,t.type)):l&&typeof e!==t.type&&i.push(et(r.messages.types[l],t.fullField,t.type))}function Yw(t,e,n,i,r){var a=typeof t.len=="number",l=typeof t.min=="number",o=typeof t.max=="number",u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=e,d=null,s=typeof e=="number",h=typeof e=="string",v=Array.isArray(e);if(s?d="number":h?d="string":v&&(d="array"),!d)return!1;v&&(c=e.length),h&&(c=e.replace(u,"_").length),a?c!==t.len&&i.push(et(r.messages[d].len,t.fullField,t.len)):l&&!o&&c<t.min?i.push(et(r.messages[d].min,t.fullField,t.min)):o&&!l&&c>t.max?i.push(et(r.messages[d].max,t.fullField,t.max)):l&&o&&(c<t.min||c>t.max)&&i.push(et(r.messages[d].range,t.fullField,t.min,t.max))}var hi="enum";function pw(t,e,n,i,r){t[hi]=Array.isArray(t[hi])?t[hi]:[],t[hi].indexOf(e)===-1&&i.push(et(r.messages[hi],t.fullField,t[hi].join(", ")))}function eI(t,e,n,i,r){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(et(r.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var a=new RegExp(t.pattern);a.test(e)||i.push(et(r.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var G={required:Xh,whitespace:Qw,type:Zw,range:Yw,enum:pw,pattern:eI};function tI(t,e,n,i,r){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(ke(e,"string")&&!t.required)return n();G.required(t,e,i,a,r,"string"),ke(e,"string")||(G.type(t,e,i,a,r),G.range(t,e,i,a,r),G.pattern(t,e,i,a,r),t.whitespace===!0&&G.whitespace(t,e,i,a,r))}n(a)}function nI(t,e,n,i,r){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(ke(e)&&!t.required)return n();G.required(t,e,i,a,r),e!==void 0&&G.type(t,e,i,a,r)}n(a)}function iI(t,e,n,i,r){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(e===""&&(e=void 0),ke(e)&&!t.required)return n();G.required(t,e,i,a,r),e!==void 0&&(G.type(t,e,i,a,r),G.range(t,e,i,a,r))}n(a)}function rI(t,e,n,i,r){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(ke(e)&&!t.required)return n();G.required(t,e,i,a,r),e!==void 0&&G.type(t,e,i,a,r)}n(a)}function aI(t,e,n,i,r){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(ke(e)&&!t.required)return n();G.required(t,e,i,a,r),ke(e)||G.type(t,e,i,a,r)}n(a)}function lI(t,e,n,i,r){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(ke(e)&&!t.required)return n();G.required(t,e,i,a,r),e!==void 0&&(G.type(t,e,i,a,r),G.range(t,e,i,a,r))}n(a)}function oI(t,e,n,i,r){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(ke(e)&&!t.required)return n();G.required(t,e,i,a,r),e!==void 0&&(G.type(t,e,i,a,r),G.range(t,e,i,a,r))}n(a)}function uI(t,e,n,i,r){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(e==null&&!t.required)return n();G.required(t,e,i,a,r,"array"),e!=null&&(G.type(t,e,i,a,r),G.range(t,e,i,a,r))}n(a)}function cI(t,e,n,i,r){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(ke(e)&&!t.required)return n();G.required(t,e,i,a,r),e!==void 0&&G.type(t,e,i,a,r)}n(a)}var sI="enum";function dI(t,e,n,i,r){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(ke(e)&&!t.required)return n();G.required(t,e,i,a,r),e!==void 0&&G[sI](t,e,i,a,r)}n(a)}function fI(t,e,n,i,r){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(ke(e,"string")&&!t.required)return n();G.required(t,e,i,a,r),ke(e,"string")||G.pattern(t,e,i,a,r)}n(a)}function hI(t,e,n,i,r){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(ke(e,"date")&&!t.required)return n();if(G.required(t,e,i,a,r),!ke(e,"date")){var o;e instanceof Date?o=e:o=new Date(e),G.type(t,o,i,a,r),o&&G.range(t,o.getTime(),i,a,r)}}n(a)}function mI(t,e,n,i,r){var a=[],l=Array.isArray(e)?"array":typeof e;G.required(t,e,i,a,r,l),n(a)}function tc(t,e,n,i,r){var a=t.type,l=[],o=t.required||!t.required&&i.hasOwnProperty(t.field);if(o){if(ke(e,a)&&!t.required)return n();G.required(t,e,i,l,r,a),ke(e,a)||G.type(t,e,i,l,r)}n(l)}function yI(t,e,n,i,r){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(ke(e)&&!t.required)return n();G.required(t,e,i,a,r)}n(a)}var cr={string:tI,method:nI,number:iI,boolean:rI,regexp:aI,integer:lI,float:oI,array:uI,object:cI,enum:dI,pattern:fI,date:hI,url:tc,hex:tc,email:tc,required:mI,any:yI};function nc(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var ic=nc();function en(t){this.rules=null,this._messages=ic,this.define(t)}en.prototype={messages:function(e){return e&&(this._messages=Gh(nc(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,i;for(n in e)e.hasOwnProperty(n)&&(i=e[n],this.rules[n]=Array.isArray(i)?i:[i])},validate:function(e,n,i){var r=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var a=e,l=n,o=i;if(typeof l=="function"&&(o=l,l={}),!this.rules||Object.keys(this.rules).length===0)return o&&o(),Promise.resolve();function u(I){var P,_=[],S={};function g(b){if(Array.isArray(b)){var A;_=(A=_).concat.apply(A,b)}else _.push(b)}for(P=0;P<I.length;P++)g(I[P]);_.length?S=pu(_):(_=null,S=null),o(_,S)}if(l.messages){var c=this.messages();c===ic&&(c=nc()),Gh(c,l.messages),l.messages=c}else l.messages=this.messages();var d,s,h={},v=l.keys||Object.keys(this.rules);v.forEach(function(I){d=r.rules[I],s=a[I],d.forEach(function(P){var _=P;typeof _.transform=="function"&&(a===e&&(a=Ot({},a)),s=a[I]=_.transform(s)),typeof _=="function"?_={validator:_}:_=Ot({},_),_.validator=r.getValidationMethod(_),_.field=I,_.fullField=_.fullField||I,_.type=r.getType(_),_.validator&&(h[I]=h[I]||[],h[I].push({rule:_,value:s,source:a,field:I}))})});var O={};return Jw(h,l,function(I,P){var _=I.rule,S=(_.type==="object"||_.type==="array")&&(typeof _.fields=="object"||typeof _.defaultField=="object");S=S&&(_.required||!_.required&&I.value),_.field=I.field;function g(N,C){return Ot(Ot({},C),{},{fullField:_.fullField+"."+N})}function b(N){N===void 0&&(N=[]);var C=N;if(Array.isArray(C)||(C=[C]),!l.suppressWarning&&C.length&&en.warning("async-validator:",C),C.length&&_.message!==void 0&&(C=[].concat(_.message)),C=C.map(Kh(_)),l.first&&C.length)return O[_.field]=1,P(C);if(!S)P(C);else{if(_.required&&!I.value)return _.message!==void 0?C=[].concat(_.message).map(Kh(_)):l.error&&(C=[l.error(_,et(l.messages.required,_.field))]),P(C);var L={};if(_.defaultField)for(var x in I.value)I.value.hasOwnProperty(x)&&(L[x]=_.defaultField);L=Ot(Ot({},L),I.rule.fields);for(var X in L)if(L.hasOwnProperty(X)){var Me=Array.isArray(L[X])?L[X]:[L[X]];L[X]=Me.map(g.bind(null,X))}var W=new en(L);W.messages(l.messages),I.rule.options&&(I.rule.options.messages=l.messages,I.rule.options.error=l.error),W.validate(I.value,I.rule.options||l,function(ge){var ze=[];C&&C.length&&ze.push.apply(ze,C),ge&&ge.length&&ze.push.apply(ze,ge),P(ze.length?ze:null)})}}var A;_.asyncValidator?A=_.asyncValidator(_,I.value,b,I.source,l):_.validator&&(A=_.validator(_,I.value,b,I.source,l),A===!0?b():A===!1?b(_.message||_.field+" fails"):A instanceof Array?b(A):A instanceof Error&&b(A.message)),A&&A.then&&A.then(function(){return b()},function(N){return b(N)})},function(I){u(I)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!cr.hasOwnProperty(e.type))throw new Error(et("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),i=n.indexOf("message");return i!==-1&&n.splice(i,1),n.length===1&&n[0]==="required"?cr.required:cr[this.getType(e)]||!1}},en.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");cr[e]=n},en.warning=jh,en.messages=ic,en.validators=cr;var _I={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 gI(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new en(t);return n.messages(Object.assign(_I,e)),n}var vI=new J0;function rc(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function bI(t){if(Array.isArray(t))return t}function EI(t){if(Array.isArray(t))return rc(t)}function zh(t,e,n,i,r,a,l){try{var o=t[a](l),u=o.value}catch(c){n(c);return}o.done?e(u):Promise.resolve(u).then(i,r)}function Jh(t){return function(){var e=this,n=arguments;return new Promise(function(i,r){var a=t.apply(e,n);function l(u){zh(a,i,r,l,o,"next",u)}function o(u){zh(a,i,r,l,o,"throw",u)}l(void 0)})}}function wI(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qh(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function II(t,e,n){return e&&Qh(t.prototype,e),n&&Qh(t,n),t}function te(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Zh(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Yh(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function TI(){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 CI(){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 ph(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),i.forEach(function(r){te(t,r,n[r])})}return t}function OI(t){return bI(t)||Yh(t)||em(t)||TI()}function ac(t){return EI(t)||Yh(t)||em(t)||CI()}function SI(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function em(t,e){if(!!t){if(typeof t=="string")return rc(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return rc(t,e)}}function tm(t,e){var n,i,r,a,l={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return a={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function o(c){return function(d){return u([c,d])}}function u(c){if(n)throw new TypeError("Generator is already executing.");for(;l;)try{if(n=1,i&&(r=c[0]&2?i.return:c[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,c[1])).done)return r;switch(i=0,r&&(c=[c[0]&2,r.value]),c[0]){case 0:case 1:r=c;break;case 4:return l.label++,{value:c[1],done:!1};case 5:l.label++,i=c[1],c=[0];continue;case 7:c=l.ops.pop(),l.trys.pop();continue;default:if(r=l.trys,!(r=r.length>0&&r[r.length-1])&&(c[0]===6||c[0]===2)){l=0;continue}if(c[0]===3&&(!r||c[1]>r[0]&&c[1]<r[3])){l.label=c[1];break}if(c[0]===6&&l.label<r[1]){l.label=r[1],r=c;break}if(r&&l.label<r[2]){l.label=r[2],l.ops.push(c);break}r[2]&&l.ops.pop(),l.trys.pop();continue}c=e.call(t,l)}catch(d){c=[6,d],i=0}finally{n=r=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var re=function(){function e(n){var i=this;wI(this,e),te(this,"id",void 0),te(this,"name",void 0),te(this,"icon",void 0),te(this,"type",void 0),te(this,"controlType",void 0),te(this,"props",void 0),te(this,"setting",[]),te(this,"fieldType",void 0),te(this,"eventKeys",[]),te(this,"customEvents",[]),te(this,"parent",null),te(this,"slots",void 0),te(this,"slotPosition",void 0),te(this,"updateSetting",im),te(this,"removeSetting",nm),this._callControlHooks("preInstance",n);var r=Zh(this,e)?this.constructor:void 0,a=r.controlName,l=r.controlIcon,o=r.controlType,u=r.controlFieldType,c=r.controlEventKeys,d=r.controlCustomEvents,s=r.name,h=r.setting,v=r.slots,O=r.slotPosition;a&&l&&o||Zs("The ".concat(s," controlName,controlIcon,controlType is not define"));var I;this.id=(I=n==null?void 0:n.id)!==null&&I!==void 0?I:vt(10),this.name=a,this.icon=l;var P;this.type=(P=n==null?void 0:n.type)!==null&&P!==void 0?P:o,this.props=new Ae(n==null?void 0:n.props,(Zh(this,e)?this.constructor:void 0).controlName);var _;this.controlType=(_=n==null?void 0:n.controlType)!==null&&_!==void 0?_:"base",this.setting=mt(h);var S;this.fieldType=(S=n==null?void 0:n.fieldType)!==null&&S!==void 0?S:u,this.eventKeys=mt(c),this.customEvents=mt(d),this.slots=mt(v),this.slotPosition=mt(O),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return II(e,[{key:"rules",get:function(){var i=this.props.constructor.Rules;return i?new i(this.props):{}}},{key:"_callControlHooks",value:function(){for(var i=arguments.length,r=new Array(i),a=0;a<i;a++)r[a]=arguments[a];var l,o=OI(r),u=o[0],c=o.slice(1);return(l=vI).emit.apply(l,[u,this].concat(ac(c)))}},{key:"preUpdate",value:function(i,r){this._callControlHooks("preUpdateProps",i,r)}},{key:"postUpdate",value:function(i,r){this._callControlHooks("postUpdateProps",i,r)}},{key:"updateProps",value:function(i,r){this.preUpdate(i,r),x0(this.props,i,r),this.postUpdate(i,r)}},{key:"preValidate",value:function(){var i=this;return Jh(function(){var r,a,l;return tm(this,function(o){switch(o.label){case 0:return r=ph({},i.rules),[4,i._callControlHooks("preValidate",r)];case 1:return a=o.sent(),l=a[a.length-1],[2,l===!1?void 0:l]}})})()}},{key:"validate",value:function(i,r){var a=this;return Jh(function(){var l,o,u,c;return tm(this,function(d){switch(d.label){case 0:return[4,a.preValidate()];case 1:l=d.sent(),o=l!==void 0?l:ph({},a.rules),Array.isArray(r)&&r.forEach(function(s){o.hasOwnProperty(s)&&delete o[s]}),u=gI(o,i),d.label=2;case 2:return d.trys.push([2,4,,5]),[4,u.validate(a.props)];case 3:return d.sent(),[2,!0];case 4:throw c=d.sent(),c.control||(c.control=a),c;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=this.fieldType,a=this.id,l=this.type,o=this.props,u=o.dataBind,c=o.datasourceBind,d=o.optionConfig,s=o.caption,h=o.required,v=o.maxLength,O=o.options,I=o.encrypted,P=o.encryptedMode;if(!(!r&&!u&&!c)){var _={parentId:i,fieldType:r,controlId:a,caption:s,type:l,props:{}};switch(u&&(_.dataBind=u),d){case"datasource":case void 0:c&&(_.datasourceBind=c);break;case"custom":_.props.options=O;break}return h!==void 0&&(_.required=h),v!==void 0&&(_.maxLength=v),I!==void 0&&(_.encrypted=I),P!==void 0&&(_.encryptedMode=P),_}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:mt(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(i,r){if(i==="setting"){if(r.add){var a;(a=this.setting).push.apply(a,ac(r.add))}r.remove&&this.removeSettingItem(r.remove),r.update}}}]),e}();te(re,"mode","Designer"),te(re,"slots",void 0),te(re,"slotPosition",void 0),te(re,"controlName","\u63A7\u4EF6"),te(re,"controlIcon","icon"),te(re,"controlType","control"),te(re,"controlFieldType",void 0),te(re,"controlEventKeys",[]),te(re,"controlCustomEvents",[]),te(re,"setting",[]),te(re,"__is_control__",!0),te(re,"removeSettingItem",nm),te(re,"updateSettingItem",im);function nm(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var r,a=typeof i!="string",l=(r=e.setting)===null||r===void 0?void 0:r.findIndex(function(c){return c.key===(a?i.key:i)});if(l!==-1){var o,u;a?e.setting[l].showItems=(o=e.setting[l].showItems)===null||o===void 0?void 0:o.filter(function(c){return!i.hideItems.includes(c)}):e.setting.splice(l,1),a&&!(!((u=e.setting[l].showItems)===null||u===void 0)&&u.length)&&e.setting.splice(l,1)}})}function im(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(r){var a=n.setting.find(function(c){return c.key===r});if(a){if(typeof e=="boolean")a.visible=e;else if((typeof e=="undefined"?"undefined":SI(e))==="object"){var l,o=(l=e.type)!==null&&l!==void 0?l:"replace";if(o==="replace")a.showItems=e.showItems;else{var u;(u=a.showItems).push.apply(u,ac(e.showItems))}}}})}function RI(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rm(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function NI(t,e,n){return e&&rm(t.prototype,e),n&&rm(t,n),t}function tt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function PI(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var De=function(){function e(n){RI(this,e),tt(this,"id",void 0),tt(this,"type",void 0),tt(this,"controlType",void 0),tt(this,"props",void 0),tt(this,"fieldType",void 0),tt(this,"customEvents",[]),tt(this,"pageStatus",void 0),tt(this,"parent",null);var i=PI(this,e)?this.constructor:void 0,r=i.controlType,a=i.controlFieldType,l=i.name,o=i.controlCustomEvents;r||Zs("The ".concat(l," controlType is not define"));var u;this.id=(u=n==null?void 0:n.id)!==null&&u!==void 0?u:vt(10);var c;this.type=(c=n==null?void 0:n.type)!==null&&c!==void 0?c:r,this.props=new Ae(n==null?void 0:n.props),this.customEvents=o;var d;this.controlType=(d=n==null?void 0:n.controlType)!==null&&d!==void 0?d:"base";var s;this.fieldType=(s=n==null?void 0:n.fieldType)!==null&&s!==void 0?s:a;var h;this.pageStatus=(h=n==null?void 0:n.pageStatus)!==null&&h!==void 0?h:zu.UNKNOWN}return NI(e,[{key:"rules",get:function(){var i=this.props.constructor.RuntimeRules;if(i){var r=new i(this.props);return Array.from(r)}return[]}}]),e}();tt(De,"mode","Runtime"),tt(De,"controlType","control"),tt(De,"controlFieldType",void 0),tt(De,"__is_control__",!0),tt(De,"controlCustomEvents",[]);function lc(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:w.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:w.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:w.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,i,r){i.length===0&&r(w.getMessage("optionIsRequired")),r()}},{type:"array",validator:function(n,i,r){var a=i.map(function(o){return o.value}),l=U0(a);a.length!==l.length?r(w.getMessage("optionIdIsRepeat")):r()},message:w.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:w.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:w.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:w.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:w.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:w.getMessage("isNotArray")},{type:"array",validator:function(n,i,r){i.length===0&&r(w.getMessage("pleaseBindAtLeastOneDisplayValue")),r()},message:w.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:w.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:w.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:w.getMessage("isNotBoolean")}}}}]}}])}function Ya(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:w.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:w.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:w.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:w.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:w.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:w.getMessage("isNotString")},key:{type:"string",required:!0,message:w.getMessage("isNotString")},value:[{type:"array",message:w.getMessage("isNotArray")},{type:"array",validator:function(r,a,l){a.length===0&&l(w.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),l()},message:w.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:w.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:w.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:w.getMessage("isNotBoolean")}}}}]}}]}function AI(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function me(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function pa(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ye(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function el(t){return el=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},el(t)}function tl(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&oc(t,e)}function kI(t,e){return e&&(DI(e)==="object"||typeof e=="function")?e:me(t)}function oc(t,e){return oc=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},oc(t,e)}function DI(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function LI(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function nl(t){var e=LI();return function(){var i=el(t),r;if(e){var a=el(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return kI(this,r)}}var Fe=function(t){tl(n,t);var e=nl(n);function n(i){pa(this,n);var r;r=e.call(this,i),ye(me(r),"dataBind",{}),ye(me(r),"caption",{type:"string",required:!0,message:w.getMessage("pleaseEnterCaption")}),ye(me(r),"isHideCaption",{type:"boolean"}),ye(me(r),"labelPosition",{type:"enum",enum:["top","left"]}),ye(me(r),"defaultState",{type:"enum",enum:["default","readonly"]}),ye(me(r),"required",{type:"boolean"}),ye(me(r),"captionTip",{type:"string",required:!1,message:w.getMessage("pleaseEnterCaptionTip")});var a={fieldCode:{type:"string",required:!0,message:w.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:w.getMessage("pleaseEnterFieldCode")}};if(AI(i.dataBind))r.dataBind={type:"object",required:!0,fields:mt(a),message:w.getMessage("pleaseEnterFieldCode")};else{var l={type:"object",required:!0,fields:{},message:w.getMessage("pleaseEnterFieldCode")};Object.keys(i.dataBind).forEach(function(o){l.fields[o]={type:"object",required:!0,fields:mt(a),message:w.getMessage("pleaseEnterFieldCode")}}),r.dataBind=l}return i.isShowCaptionTip&&(r.captionTip.required=!0),r}return n}(Pe),de=function(t){tl(n,t);var e=nl(n);function n(i){pa(this,n);var r;r=e.call(this,i);var a=i.isHide?!1:i.required;return a&&r.push({type:"string",required:a,message:i.requiredMessage!==""?i.requiredMessage:w.getMessage("runtimeRequired",{caption:i.caption})}),r}return n}(Sn),Q=function(t){tl(n,t);var e=nl(n);function n(i){pa(this,n);var r;r=e.call(this,i),ye(me(r),"caption",void 0),ye(me(r),"isHideCaption",void 0),ye(me(r),"isShowCaptionTip",void 0),ye(me(r),"captionTip",void 0),ye(me(r),"labelPosition",void 0),ye(me(r),"dataBind",void 0),ye(me(r),"defaultValue",void 0),ye(me(r),"placeholder",void 0),ye(me(r),"defaultState",void 0),ye(me(r),"required",void 0),ye(me(r),"requiredMessage",void 0);var a;r.caption=(a=i==null?void 0:i.caption)!==null&&a!==void 0?a:"";var l;r.isHideCaption=(l=i==null?void 0:i.isHideCaption)!==null&&l!==void 0?l:!1;var o;r.isShowCaptionTip=(o=i==null?void 0:i.isShowCaptionTip)!==null&&o!==void 0?o:!1;var u;r.captionTip=(u=i==null?void 0:i.captionTip)!==null&&u!==void 0?u:"";var c;r.defaultState=(c=i==null?void 0:i.defaultState)!==null&&c!==void 0?c:"default";var d;r.labelPosition=(d=i==null?void 0:i.labelPosition)!==null&&d!==void 0?d:"top";var s;r.placeholder=(s=i==null?void 0:i.placeholder)!==null&&s!==void 0?s:"";var h;r.required=(h=i==null?void 0:i.required)!==null&&h!==void 0?h:!1;var v;r.requiredMessage=(v=i==null?void 0:i.requiredMessage)!==null&&v!==void 0?v:"",r.dataBind=new Ct(i==null?void 0:i.dataBind);var O;return r.defaultValue=(O=i==null?void 0:i.defaultValue)!==null&&O!==void 0?O:"",r}return n}(Ae);ye(Q,"Rules",Fe),ye(Q,"RuntimeRules",de);var mi=function(t){tl(n,t);var e=nl(n);function n(i){pa(this,n);var r;return r=e.call(this,i),ye(me(r),"optionConfig",{type:"enum",enum:["custom","datasource"],message:w.getMessage("PleaseSelectTheCorrectOptionSettings")}),ye(me(r),"options",[{type:"array",message:w.getMessage("isNotArray")}]),ye(me(r),"datasourceBind",[{type:"object",message:w.getMessage("isNotObject")}]),lc.call(me(r),i),r}return n}(Fe);function uc(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xI(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function il(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function rl(t){return rl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rl(t)}function MI(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&cc(t,e)}function FI(t,e){return e&&(BI(e)==="object"||typeof e=="function")?e:uc(t)}function cc(t,e){return cc=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},cc(t,e)}function BI(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $I(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function VI(t){var e=$I();return function(){var i=rl(t),r;if(e){var a=rl(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return FI(this,r)}}var Z=function(t){MI(n,t);var e=VI(n);function n(i){xI(this,n);var r;return r=e.call(this,i),il(uc(r),"controlType","form"),il(uc(r),"props",void 0),r.props=new Q(i==null?void 0:i.props),r}return n}(re);il(Z,"controlEventKeys",["on_change","on_focus","on_blur"]),il(Z,"controlCustomAttributes",void 0);function al(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function UI(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ll(t){return ll=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ll(t)}function HI(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&dc(t,e)}function jI(t,e){return e&&(WI(e)==="object"||typeof e=="function")?e:al(t)}function dc(t,e){return dc=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},dc(t,e)}function WI(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function qI(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function KI(t){var e=qI();return function(){var i=ll(t),r;if(e){var a=ll(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return jI(this,r)}}var ee=function(t){HI(n,t);var e=KI(n);function n(i){UI(this,n);var r;return r=e.call(this,i),sc(al(r),"controlType","form"),sc(al(r),"props",void 0),sc(al(r),"value",void 0),r.props=new Q(i==null?void 0:i.props),r}return n}(De);function GI(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function XI(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ol(t){return ol=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ol(t)}function zI(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fc(t,e)}function JI(t,e){return e&&(QI(e)==="object"||typeof e=="function")?e:GI(t)}function fc(t,e){return fc=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},fc(t,e)}function QI(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ZI(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function YI(t){var e=ZI();return function(){var i=ol(t),r;if(e){var a=ol(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return JI(this,r)}}var _e=function(t){zI(n,t);var e=YI(n);function n(i){return XI(this,n),e.call(this,i)}return n}(Ae);function hc(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function pI(t){if(Array.isArray(t))return hc(t)}function Rn(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function am(t,e,n,i,r,a,l){try{var o=t[a](l),u=o.value}catch(c){n(c);return}o.done?e(u):Promise.resolve(u).then(i,r)}function eT(t){return function(){var e=this,n=arguments;return new Promise(function(i,r){var a=t.apply(e,n);function l(u){am(a,i,r,l,o,"next",u)}function o(u){am(a,i,r,l,o,"throw",u)}l(void 0)})}}function tT(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function lm(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function nT(t,e,n){return e&&lm(t.prototype,e),n&&lm(t,n),t}function tn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yi(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?yi=Reflect.get:yi=function(r,a,l){var o=dT(r,a);if(!!o){var u=Object.getOwnPropertyDescriptor(o,a);return u.get?u.get.call(l||r):u.value}},yi(t,e,n||t)}function nn(t){return nn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nn(t)}function iT(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&mc(t,e)}function rT(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function aT(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function lT(){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 oT(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),i.forEach(function(r){tn(t,r,n[r])})}return t}function uT(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,i)}return n}function cT(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):uT(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function sT(t,e){return e&&(fT(e)==="object"||typeof e=="function")?e:Rn(t)}function mc(t,e){return mc=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},mc(t,e)}function dT(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=nn(t),t!==null););return t}function om(t){return pI(t)||aT(t)||hT(t)||lT()}function fT(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function hT(t,e){if(!!t){if(typeof t=="string")return hc(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return hc(t,e)}}function mT(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function yT(t){var e=mT();return function(){var i=nn(t),r;if(e){var a=nn(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return sT(this,r)}}function _T(t,e){var n,i,r,a,l={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return a={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function o(c){return function(d){return u([c,d])}}function u(c){if(n)throw new TypeError("Generator is already executing.");for(;l;)try{if(n=1,i&&(r=c[0]&2?i.return:c[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,c[1])).done)return r;switch(i=0,r&&(c=[c[0]&2,r.value]),c[0]){case 0:case 1:r=c;break;case 4:return l.label++,{value:c[1],done:!1};case 5:l.label++,i=c[1],c=[0];continue;case 7:c=l.ops.pop(),l.trys.pop();continue;default:if(r=l.trys,!(r=r.length>0&&r[r.length-1])&&(c[0]===6||c[0]===2)){l=0;continue}if(c[0]===3&&(!r||c[1]>r[0]&&c[1]<r[3])){l.label=c[1];break}if(c[0]===6&&l.label<r[1]){l.label=r[1],r=c;break}if(r&&l.label<r[2]){l.label=r[2],l.ops.push(c);break}r[2]&&l.ops.pop(),l.trys.pop();continue}c=e.call(t,l)}catch(d){c=[6,d],i=0}finally{n=r=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var gT=1e4,ve=function(e){iT(i,e);var n=yT(i);function i(r){tT(this,i);var a;a=n.call(this,r),tn(Rn(a),"controlType","layout"),tn(Rn(a),"children",void 0),tn(Rn(a),"excludes",void 0),tn(Rn(a),"childrenMaxLength",void 0),tn(Rn(a),"props",void 0);var l=rT(this,i)?this.constructor:void 0,o=l.excludes,u=l.childrenMaxLength;return a.props=new _e(r==null?void 0:r.props),Tt(Rn(a),"children",r==null?void 0:r.children,void 0,"Designer"),a.excludes=mt(o),a.childrenMaxLength=u,a}return nT(i,[{key:"judgeExcludesChildren",value:function(a){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(a)}},{key:"judgeJoinChildren",value:function(a){var l=this.judgeExcludesChildren(a);return l&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(a,l){var o=this,u=this,c=function(){return yi(nn(i.prototype),"validate",o)};return eT(function(){return _T(this,function(d){switch(d.label){case 0:return[4,c().call(u,a,l)];case 1:return d.sent(),[4,Promise.all(u.children.map(function(s){return s.validate(a,l)}))];case 2:return d.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,l=yi(nn(i.prototype),"toDataBindModel",this).call(this),o=l?[l]:[];return this.children.reduce(function(u,c){var d=c.toDataBindModel(a);if(Array.isArray(d)){var s=d.filter(function(h){return!!h});return om(u).concat(om(s))}return d&&u.push(d),u},o)}},{key:"toSchema",value:function(){var a=yi(nn(i.prototype),"toSchema",this).call(this),l=this.children.map(function(o){var u=o.toSchema();return u});return cT(oT({},a),{children:l})}}]),i}(re);tn(ve,"excludes",!1),tn(ve,"childrenMaxLength",gT);function sr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vT(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ul(t){return ul=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ul(t)}function bT(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_c(t,e)}function ET(t,e){return e&&(wT(e)==="object"||typeof e=="function")?e:sr(t)}function _c(t,e){return _c=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},_c(t,e)}function wT(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function IT(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function TT(t){var e=IT();return function(){var i=ul(t),r;if(e){var a=ul(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return ET(this,r)}}var Te=function(t){bT(n,t);var e=TT(n);function n(i){vT(this,n);var r;return r=e.call(this,i),yc(sr(r),"controlType","layout"),yc(sr(r),"children",void 0),yc(sr(r),"props",void 0),r.props=new _e(i==null?void 0:i.props),Tt(sr(r),"children",i==null?void 0:i.children,void 0,"Runtime"),r}return n}(De);function Ft(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function CT(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function cl(t){return cl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cl(t)}function OT(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&gc(t,e)}function ST(t,e){return e&&(RT(e)==="object"||typeof e=="function")?e:Ft(t)}function gc(t,e){return gc=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},gc(t,e)}function RT(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function NT(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function PT(t){var e=NT();return function(){var i=cl(t),r;if(e){var a=cl(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return ST(this,r)}}var sl=function(t){OT(n,t);var e=PT(n);function n(i,r,a){CT(this,n);var l;l=e.call(this,r),_i(Ft(l),"headers",void 0),_i(Ft(l),"footers",void 0),_i(Ft(l),"pageIndex",void 0),_i(Ft(l),"pageSize",void 0),_i(Ft(l),"pageSizeOptions",void 0),_i(Ft(l),"totalCount",void 0),Tt(Ft(l),"headers",r==null?void 0:r.headers,i,a),Tt(Ft(l),"footers",r==null?void 0:r.footers,i);var o;l.pageIndex=(o=r==null?void 0:r.pageIndex)!==null&&o!==void 0?o:1;var u;l.pageSize=(u=r==null?void 0:r.pageSize)!==null&&u!==void 0?u:20;var c;l.pageSizeOptions=(c=r==null?void 0:r.pageSizeOptions)!==null&&c!==void 0?c:[20];var d;return l.totalCount=(d=r==null?void 0:r.totalCount)!==null&&d!==void 0?d:0,l}return n}(Ae);function vc(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function AT(t){if(Array.isArray(t))return vc(t)}function dl(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function um(t,e,n,i,r,a,l){try{var o=t[a](l),u=o.value}catch(c){n(c);return}o.done?e(u):Promise.resolve(u).then(i,r)}function kT(t){return function(){var e=this,n=arguments;return new Promise(function(i,r){var a=t.apply(e,n);function l(u){um(a,i,r,l,o,"next",u)}function o(u){um(a,i,r,l,o,"throw",u)}l(void 0)})}}function DT(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function cm(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function LT(t,e,n){return e&&cm(t.prototype,e),n&&cm(t,n),t}function fl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gi(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?gi=Reflect.get:gi=function(r,a,l){var o=VT(r,a);if(!!o){var u=Object.getOwnPropertyDescriptor(o,a);return u.get?u.get.call(l||r):u.value}},gi(t,e,n||t)}function rn(t){return rn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rn(t)}function xT(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&bc(t,e)}function MT(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function FT(){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 sm(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),i.forEach(function(r){fl(t,r,n[r])})}return t}function BT(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,i)}return n}function dm(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):BT(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function $T(t,e){return e&&(UT(e)==="object"||typeof e=="function")?e:dl(t)}function bc(t,e){return bc=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},bc(t,e)}function VT(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=rn(t),t!==null););return t}function fm(t){return AT(t)||MT(t)||HT(t)||FT()}function UT(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function HT(t,e){if(!!t){if(typeof t=="string")return vc(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return vc(t,e)}}function jT(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function WT(t){var e=jT();return function(){var i=rn(t),r;if(e){var a=rn(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return $T(this,r)}}function qT(t,e){var n,i,r,a,l={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return a={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function o(c){return function(d){return u([c,d])}}function u(c){if(n)throw new TypeError("Generator is already executing.");for(;l;)try{if(n=1,i&&(r=c[0]&2?i.return:c[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,c[1])).done)return r;switch(i=0,r&&(c=[c[0]&2,r.value]),c[0]){case 0:case 1:r=c;break;case 4:return l.label++,{value:c[1],done:!1};case 5:l.label++,i=c[1],c=[0];continue;case 7:c=l.ops.pop(),l.trys.pop();continue;default:if(r=l.trys,!(r=r.length>0&&r[r.length-1])&&(c[0]===6||c[0]===2)){l=0;continue}if(c[0]===3&&(!r||c[1]>r[0]&&c[1]<r[3])){l.label=c[1];break}if(c[0]===6&&l.label<r[1]){l.label=r[1],r=c;break}if(r&&l.label<r[2]){l.label=r[2],l.ops.push(c);break}r[2]&&l.ops.pop(),l.trys.pop();continue}c=e.call(t,l)}catch(d){c=[6,d],i=0}finally{n=r=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var Ec=function(t){xT(n,t);var e=WT(n);function n(i){DT(this,n);var r;return r=e.call(this,i),fl(dl(r),"controlType","list"),fl(dl(r),"props",void 0),r.props=new sl(dl(r),i==null?void 0:i.props,"Designer"),r}return LT(n,[{key:"validate",value:function(r,a){var l=this,o=this,u=function(){return gi(rn(n.prototype),"validate",l)};return kT(function(){return qT(this,function(c){switch(c.label){case 0:return[4,u().call(o,r)];case 1:return c.sent(),[4,Promise.all(o.props.headers.map(function(d){return d.validate(r,a)}))];case 2:return c.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var r=gi(rn(n.prototype),"toDataBindModel",this).call(this),a=r?[r]:[],l=this.id;return this.props.headers.reduce(function(o,u){var c=u.toDataBindModel(l);if(Array.isArray(c)){var d=c.filter(function(s){return!!s});return fm(o).concat(fm(d))}return c&&o.push(c),o},a)}},{key:"toSchema",value:function(){var r=gi(rn(n.prototype),"toSchema",this).call(this),a=this.props.headers.map(function(l){return l.toSchema()});return dm(sm({},r),{props:dm(sm({},this.props),{headers:a})})}}]),n}(re);fl(Ec,"controlFieldType",D.LIST);function vi(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function KT(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hm(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function GT(t,e,n){return e&&hm(t.prototype,e),n&&hm(t,n),t}function wc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function hl(t){return hl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hl(t)}function XT(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ic(t,e)}function zT(t,e){return e&&(JT(e)==="object"||typeof e=="function")?e:vi(t)}function Ic(t,e){return Ic=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},Ic(t,e)}function JT(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function QT(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ZT(t){var e=QT();return function(){var i=hl(t),r;if(e){var a=hl(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return zT(this,r)}}var mm=function(t){XT(n,t);var e=ZT(n);function n(i){KT(this,n);var r;return r=e.call(this,i),wc(vi(r),"controlType","list"),wc(vi(r),"children",void 0),wc(vi(r),"props",void 0),r.props=new sl(vi(r),i==null?void 0:i.props,"Runtime"),Tt(vi(r),"children",i==null?void 0:i.children,void 0,"Runtime"),r}return GT(n,[{key:"length",get:function(){return this.children.length}}]),n}(De);function xe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Tc(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Be(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ml(t){return ml=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ml(t)}function Cc(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Oc(t,e)}function YT(t,e){return e&&(pT(e)==="object"||typeof e=="function")?e:xe(t)}function Oc(t,e){return Oc=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},Oc(t,e)}function pT(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function eC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Sc(t){var e=eC();return function(){var i=ml(t),r;if(e){var a=ml(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return YT(this,r)}}var St=function(t){Cc(n,t);var e=Sc(n);function n(i){Tc(this,n);var r;return r=e.call(this,i),Be(xe(r),"caption",{type:"string",required:!0,message:w.getMessage("pleaseEnterCaption")}),Be(xe(r),"width",{type:"number",required:!1,message:w.getMessage("pleaseEnterColumnWidth")}),r.width.required=i.widthType==="px",r}return n}(Pe),Ce=function(t){Cc(n,t);var e=Sc(n);function n(i){Tc(this,n);var r;r=e.call(this,i),Be(xe(r),"widthType",void 0),Be(xe(r),"width",void 0),Be(xe(r),"caption",void 0),Be(xe(r),"dataBind",void 0),Be(xe(r),"autoWidth",void 0),Be(xe(r),"fixed",void 0),Be(xe(r),"sort",void 0),Be(xe(r),"align",void 0),Be(xe(r),"colSpan",void 0),Be(xe(r),"autoHeight",void 0),Be(xe(r),"children",void 0);var a;r.width=(a=i==null?void 0:i.width)!==null&&a!==void 0?a:150,r.widthType=(i==null?void 0:i.widthType)||"auto";var l;r.caption=(l=i==null?void 0:i.caption)!==null&&l!==void 0?l:"";var o;r.fixed=(o=i==null?void 0:i.fixed)!==null&&o!==void 0?o:"none",r.autoWidth=new Dh(i==null?void 0:i.autoWidth),r.dataBind=new Ct(i==null?void 0:i.dataBind);var u;r.sort=(u=i==null?void 0:i.sort)!==null&&u!==void 0?u:!0,r.align=i==null?void 0:i.align,r.colSpan=i==null?void 0:i.colSpan;var c;return r.autoHeight=(c=i==null?void 0:i.autoHeight)!==null&&c!==void 0?c:!1,r}return n}(Ae);Be(Ce,"Rules",St);var ym=function(t){Cc(n,t);var e=Sc(n);function n(i){Tc(this,n);var r;return r=e.call(this,i),Be(xe(r),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:w.getMessage("PleaseSelectTheCorrectOptionSettings")}),Be(xe(r),"options",[{type:"array",message:w.getMessage("isNotArray")}]),Be(xe(r),"datasourceBind",[{type:"object",message:w.getMessage("isNotObject")}]),lc.call(xe(r),i),r}return n}(St);function dr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _m(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function nC(t,e,n){return e&&_m(t.prototype,e),n&&_m(t,n),t}function yl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _l(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?_l=Reflect.get:_l=function(r,a,l){var o=uC(r,a);if(!!o){var u=Object.getOwnPropertyDescriptor(o,a);return u.get?u.get.call(l||r):u.value}},_l(t,e,n||t)}function bi(t){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bi(t)}function iC(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Rc(t,e)}function rC(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),i.forEach(function(r){yl(t,r,n[r])})}return t}function aC(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,i)}return n}function lC(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):aC(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function oC(t,e){return e&&(cC(e)==="object"||typeof e=="function")?e:dr(t)}function Rc(t,e){return Rc=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},Rc(t,e)}function uC(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=bi(t),t!==null););return t}function cC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function sC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function dC(t){var e=sC();return function(){var i=bi(t),r;if(e){var a=bi(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return oC(this,r)}}var $e=function(t){iC(n,t);var e=dC(n);function n(i){tC(this,n);var r;return r=e.call(this,i),yl(dr(r),"controlType","column"),yl(dr(r),"props",void 0),yl(dr(r),"children",void 0),r.props=new Ce(i==null?void 0:i.props),Tt(dr(r),"children",i==null?void 0:i.children,void 0,"Designer"),r}return nC(n,[{key:"toSchema",value:function(){var r=_l(bi(n.prototype),"toSchema",this).call(this);return lC(rC({},r),{children:this.children?this.children.map(function(a){return a.toSchema()}):[]})}}]),n}(re);function fr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gl(t){return gl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gl(t)}function hC(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Pc(t,e)}function mC(t,e){return e&&(yC(e)==="object"||typeof e=="function")?e:fr(t)}function Pc(t,e){return Pc=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},Pc(t,e)}function yC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _C(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function gC(t){var e=_C();return function(){var i=gl(t),r;if(e){var a=gl(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return mC(this,r)}}var Ve=function(t){hC(n,t);var e=gC(n);function n(i){fC(this,n);var r;return r=e.call(this,i),Nc(fr(r),"controlType","column"),Nc(fr(r),"props",void 0),Nc(fr(r),"children",void 0),r.props=new Ce(i==null?void 0:i.props),Tt(fr(r),"children",i==null?void 0:i.children,void 0,"Runtime"),r}return n}(De);function gm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bC(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function vl(t){return vl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vl(t)}function EC(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ac(t,e)}function wC(t,e){return e&&(IC(e)==="object"||typeof e=="function")?e:gm(t)}function Ac(t,e){return Ac=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},Ac(t,e)}function IC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function TC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function CC(t){var e=TC();return function(){var i=vl(t),r;if(e){var a=vl(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return wC(this,r)}}var kc=function(t){EC(n,t);var e=CC(n);function n(i){vC(this,n);var r;return r=e.call(this,i),bC(gm(r),"dataBind",void 0),r.dataBind=new Ct(i==null?void 0:i.dataBind),r}return n}(_e);function Dc(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function OC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function bl(t){return bl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bl(t)}function SC(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Lc(t,e)}function RC(t,e){return e&&(NC(e)==="object"||typeof e=="function")?e:Dc(t)}function Lc(t,e){return Lc=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},Lc(t,e)}function NC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}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(t){return!1}}function AC(t){var e=PC();return function(){var i=bl(t),r;if(e){var a=bl(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return RC(this,r)}}var kC=function(t){SC(n,t);var e=AC(n);function n(i){OC(this,n);var r;return r=e.call(this,i),vm(Dc(r),"controlType","search"),vm(Dc(r),"props",void 0),r.props=new kc(i==null?void 0:i.props),r}return n}(ve);function xc(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function DC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function El(t){return El=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},El(t)}function LC(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Mc(t,e)}function xC(t,e){return e&&(MC(e)==="object"||typeof e=="function")?e:xc(t)}function Mc(t,e){return Mc=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},Mc(t,e)}function MC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}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(t){return!1}}function BC(t){var e=FC();return function(){var i=El(t),r;if(e){var a=El(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return xC(this,r)}}var $C=function(t){LC(n,t);var e=BC(n);function n(i){DC(this,n);var r;return r=e.call(this,i),bm(xc(r),"controlType","search"),bm(xc(r),"props",void 0),r.props=new kc(i==null?void 0:i.props),r}return n}(Te);function VC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function UC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wl(t){return wl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wl(t)}function HC(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Fc(t,e)}function jC(t,e){return e&&(WC(e)==="object"||typeof e=="function")?e:VC(t)}function Fc(t,e){return Fc=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},Fc(t,e)}function WC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}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(t){return!1}}function KC(t){var e=qC();return function(){var i=wl(t),r;if(e){var a=wl(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return jC(this,r)}}var Bc=function(t){HC(n,t);var e=KC(n);function n(i){return UC(this,n),e.call(this,i)}return n}(_e);function $c(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function GC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Em(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Il(t){return Il=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Il(t)}function XC(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vc(t,e)}function zC(t,e){return e&&(JC(e)==="object"||typeof e=="function")?e:$c(t)}function Vc(t,e){return Vc=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},Vc(t,e)}function JC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}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(t){return!1}}function ZC(t){var e=QC();return function(){var i=Il(t),r;if(e){var a=Il(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return zC(this,r)}}var YC=function(t){XC(n,t);var e=ZC(n);function n(i){GC(this,n);var r;return r=e.call(this,i),Em($c(r),"controlType","wrap"),Em($c(r),"props",void 0),r.props=new Bc(i==null?void 0:i.props),r}return n}(ve);function Uc(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function pC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Tl(t){return Tl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tl(t)}function eO(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hc(t,e)}function tO(t,e){return e&&(nO(e)==="object"||typeof e=="function")?e:Uc(t)}function Hc(t,e){return Hc=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},Hc(t,e)}function nO(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function iO(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function rO(t){var e=iO();return function(){var i=Tl(t),r;if(e){var a=Tl(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return tO(this,r)}}var aO=function(t){eO(n,t);var e=rO(n);function n(i){pC(this,n);var r;return r=e.call(this,i),wm(Uc(r),"controlType","wrap"),wm(Uc(r),"props",void 0),r.props=new Bc(i==null?void 0:i.props),r}return n}(Te);function an(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:w.getMessage("pleaseEnterForm")}}}])}class jc extends Ae{constructor(e){var n,i,r,a,l,o;super(e),this.fontSize=(n=e==null?void 0:e.fontSize)!=null?n:"14px",this.color=(i=e==null?void 0:e.color)!=null?i:"#646A73",this.icon=(r=e==null?void 0:e.icon)!=null?r:"page-hint",this.showState=(a=e==null?void 0:e.showState)!=null?a:"text",this.content=(l=e==null?void 0:e.content)!=null?l:"\u8BF4\u660E\u6587\u5B57",this.align=(o=e==null?void 0:e.align)!=null?o:""}}class Im extends re{constructor(e){super(e),this.props=new jc(e==null?void 0:e.props)}static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}Im.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class lO extends De{constructor(e){super(e),this.props=new jc(e==null?void 0:e.props)}static get controlType(){return"text"}}var Tm={Designer:Im,Runtime:lO,Property:jc};class Wc extends Ae{constructor(e){var n,i,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",this.url=(i=e==null?void 0:e.url)!=null?i:"",this.openMode=(r=e==null?void 0:e.openMode)!=null?r:"new"}}class qc extends re{constructor(e){super(e),this.props=new Wc(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}qc.controlEventKeys=["on_click"],qc.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class oO extends De{constructor(e){super(e),this.props=new Wc(e==null?void 0:e.props)}static get controlType(){return"link"}}var Cm={Designer:qc,Runtime:oO,Property:Wc};class Xe extends Ae{constructor(e){var n,i,r,a,l,o,u,c,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"primary",this.showType=(r=e==null?void 0:e.showType)!=null?r:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(l=e==null?void 0:e.icon)!=null?l:"iconfenlei2",this.defaultState=(o=e==null?void 0:e.defaultState)!=null?o:"default",this.command=(u=e==null?void 0:e.command)!=null?u:"custom",this.isLoading=(c=e==null?void 0:e.isLoading)!=null?c:!1,this.optObj=new Dw((d=e==null?void 0:e.optObj)!=null?d:{})}}class je extends re{constructor(e){super(e),this.props=new Xe(e==null?void 0:e.props)}static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}je.slots=["grid-table-toolbar-slot","action-bar-slot",Ws.DEFAULT],je.controlEventKeys=["on_click"],je.setting=[{key:"button-content",visible:!0},{key:"button-opt-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE]},{key:"super-setting",visible:!0}];class nt extends De{constructor(e){super(e),this.props=new Xe(e==null?void 0:e.props)}static get controlType(){return"button"}}var Om={Designer:je,Runtime:nt,Property:Xe},ln=(t=>(t.ShowBizKey="is_show_biz_key",t.ShowSubmitUser="is_show_submit_user",t.ShowSubmitTime="is_show_submit_time",t.ShowSubmitDept="is_show_submit_dept",t.ShowCurrentApprovar="is_show_current_approvar",t.ShowTitle="is_show_title",t))(ln||{}),Sm=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(Sm||{}),Rm=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(Rm||{});class Cl{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:vt(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var Kc=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Kc||{});class Ol{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:vt(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var Gc=(t=>(t.SOLID="solid-line",t.DASHED="dashed-line",t.BOLD_SOLID="bold-solid-line",t.BOLD_DASHED="bold-dashed-line",t.DOUBLE_SOLID="double-solid-line",t.DOUBLE_DASHED="double-dashed-line",t))(Gc||{});class Xc{constructor(e){var n,i,r,a,l,o,u,c;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new ar((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(r=e==null?void 0:e.signatureType)!=null?r:[],this.telephone=(l=e==null?void 0:e.telephone)!=null?l:new ar((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(u=e==null?void 0:e.company)!=null?u:new ar((o=e==null?void 0:e.company)!=null?o:{type:"form"}),this.remark=(c=e==null?void 0:e.remark)!=null?c:""}}class Nm{constructor(e){var n,i,r,a,l,o;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(r=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(u=>new Xc(u)))!=null?r:[new Xc],this.statusControl=(a=e==null?void 0:e.statusControl)!=null?a:"",this.completeControl=(l=e==null?void 0:e.completeControl)!=null?l:"",this.completeTimeControl=(o=e==null?void 0:e.completeTimeControl)!=null?o:""}}class hr{constructor(e){var n,i,r,a,l,o,u;this.id=(n=e==null?void 0:e.id)!=null?n:vt(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(r=e==null?void 0:e.dataCode)!=null?r:"",this.svcCode=(a=e==null?void 0:e.svcCode)!=null?a:"",this.name=(l=e==null?void 0:e.name)!=null?l:"",this.fieldList=(o=e==null?void 0:e.fieldList)!=null?o:[],this.active=(u=e==null?void 0:e.active)!=null?u:!1}}class zc{constructor(e){var n,i;this.active=(n=e==null?void 0:e.active)!=null?n:!1,this.text=(i=e==null?void 0:e.text)!=null?i:""}}class Pm{constructor(e){var n,i,r,a;this.types=(n=e==null?void 0:e.types)!=null?n:["word","ppt","excel"],this.history=(i=e==null?void 0:e.history)!=null?i:!1,this.collaborativeRecord=(r=e==null?void 0:e.collaborativeRecord)!=null?r:!1,this.logicToDelete=(a=e==null?void 0:e.logicToDelete)!=null?a:!0,this.watermark=new zc(e==null?void 0:e.watermark),this.autoRename=new zc(e==null?void 0:e.autoRename)}}class Am{constructor(e){this.dataCode=e.dataCode}}class km{constructor(e){var n,i,r;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(r=(i=e==null?void 0:e.templateList)==null?void 0:i.map(a=>new Am(a)))!=null?r:[]}}class Dm{constructor(e){var n,i,r;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(r=(i=e==null?void 0:e.templateList)==null?void 0:i.map(a=>new hr(a)))!=null?r:[new hr({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}const Lm=480;function mr(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class xm{constructor(e){var n,i,r,a,l;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(i=e==null?void 0:e.fileName)!=null?i:"",this.ruleName=(r=e==null?void 0:e.ruleName)!=null?r:"",this.isDefault=(a=e.isDefault)!=null?a:!1,this.rules=(l=e.rules)!=null?l:[]}}class Mm{constructor(e){var n,i,r;this.direction=(n=e==null?void 0:e.direction)!=null?n:"row",this.justifyContent=(i=e==null?void 0:e.justifyContent)!=null?i:"flex-start",this.alignItems=(r=e==null?void 0:e.alignItems)!=null?r:"flex-start"}}var Fm=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(Fm||{}),Jc=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Jc||{}),Sl=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(Sl||{}),on=(t=>(t.ALL="all",t.ASSIGN="assign",t))(on||{}),Qc=(t=>(t.ALL="all",t.ADMIN="admin",t))(Qc||{});class Zc extends Ae{constructor(e){var n,i;super(e),this.color=(n=e==null?void 0:e.color)!=null?n:"#000",this.lineStyle=(i=e==null?void 0:e.lineStyle)!=null?i:Gc.SOLID}}class Bm extends re{constructor(e){super(e),this.props=new Zc(e==null?void 0:e.props)}static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}Bm.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE]}];class uO extends De{constructor(e){super(e),this.props=new Zc(e==null?void 0:e.props)}static get controlType(){return"divider"}}var $m={Designer:Bm,Runtime:uO,Property:Zc};class cO extends Pe{constructor(e){super(e),this.caption={type:"string",required:!0,message:w.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(ln.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:w.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:w.getMessage("bizKeyNotBindFiled")}},message:w.getMessage("bizKeyNotBindFiled")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:w.getMessage("pleaseSelectOneField")})}}class Rl extends Ae{constructor(e){var n,i,r,a;super(e),this.dataBind=new Ct(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[ln.ShowSubmitUser,ln.ShowSubmitDept,ln.ShowSubmitTime,ln.ShowCurrentApprovar,ln.ShowTitle],this.caption=(r=(i=e==null?void 0:e.caption)!=null?i:Ei==null?void 0:Ei.controlName)!=null?r:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}Rl.Rules=cO;class Ei extends re{constructor(e){super(e),this.props=new Rl(e==null?void 0:e.props)}static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}}Ei.controlFieldType=D.AUTO_NUMBER,Ei.setting=[{key:"common-setting",visible:!0,showItems:[f.IS_HIDE]},{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class sO extends De{constructor(e){super(e),this.props=new Rl(e==null?void 0:e.props)}static get controlType(){return"title"}}var Vm={Designer:Ei,Runtime:sO,Property:Rl};class dO extends Pe{constructor(e){super(e),this.formKey={type:"string",required:!0,message:w.getMessage("pleaseEnterForm")}}}class Nl extends Xe{constructor(e){var n,i,r,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:wi.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:wi.controlName,this.formKey=(r=e==null?void 0:e.formKey)!=null?r:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}Nl.Rules=dO;class wi extends je{constructor(e){super(e),this.props=new Nl(e==null?void 0:e.props)}static get controlName(){return"\u521B\u5EFA\u5355\u636E"}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}wi.slots=["grid-table-toolbar-slot"],wi.controlEventKeys=["on_click","on_click_finish"],wi.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}];class fO extends nt{constructor(e){super(e),this.props=new Nl(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var Um={Designer:wi,Runtime:fO,Property:Nl};class hO extends Pe{constructor(e){super(e),this.processKey=[{type:"string",message:w.getMessage("isNotString")},{type:"string",required:!0,message:w.getMessage("pleaseEnterProcess")}]}}class Pl extends Xe{constructor(e){var n,i,r,a,l,o;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Ii.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Ii.controlName,this.initiatorMode=(r=e==null?void 0:e.initiatorMode)!=null?r:"currentInitiator",this.processKey=(a=e==null?void 0:e.processKey)!=null?a:"",this.fieldCode=(l=e==null?void 0:e.fieldCode)!=null?l:"",this.employeeId=(o=e==null?void 0:e.employeeId)!=null?o:""}}Pl.Rules=hO;class Ii extends je{constructor(e){super(e),this.props=new Pl(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u63D0\u4EA4"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}Ii.slots=["grid-table-toolbar-slot"],Ii.controlEventKeys=["on_click","on_click_finish"],Ii.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}];class mO extends nt{constructor(e){super(e),this.props=new Pl(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var Hm={Designer:Ii,Runtime:mO,Property:Pl};class Yc extends Xe{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ti.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ti.controlIcon}}class Ti extends je{constructor(e){super(e),this.props=new Yc(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}Ti.slots=["grid-table-toolbar-slot"],Ti.controlEventKeys=["on_click"],Ti.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class yO extends nt{constructor(e){super(e),this.props=new Yc(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var jm={Designer:Ti,Runtime:yO,Property:Yc};class pc extends Xe{constructor(e){var n,i,r,a,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Ci.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Ci.controlName,this.templateType=(r=e==null?void 0:e.templateType)!=null?r:"system",this.templateList=(l=(a=e==null?void 0:e.templateList)==null?void 0:a.map(o=>new hr(o)))!=null?l:[new hr({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class Ci extends je{constructor(e){super(e),this.props=new pc(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u51FA"}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}Ci.slots=["grid-table-toolbar-slot"],Ci.controlEventKeys=["on_click","on_click_finish"],Ci.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}];class _O extends nt{constructor(e){super(e),this.props=new pc(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var Wm={Designer:Ci,Runtime:_O,Property:pc};class es extends Xe{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Oi.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Oi.controlIcon}}class Oi extends je{constructor(e){super(e),this.props=new es(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u51FA\u8BB0\u5F55"}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}Oi.slots=["grid-table-toolbar-slot"],Oi.controlEventKeys=["on_click"],Oi.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}];class gO extends nt{constructor(e){super(e),this.props=new es(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var qm={Designer:Oi,Runtime:gO,Property:es};class vO{constructor(e){this.dataCode=e.dataCode}}class ts extends Xe{constructor(e){var n,i,r,a,l;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Si.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Si.controlIcon,this.canImportList=(a=(r=e==null?void 0:e.canImportList)==null?void 0:r.map(o=>new vO(o)))!=null?a:[],this.templateType=(l=e==null?void 0:e.templateType)!=null?l:"system"}}class Si extends je{constructor(e){super(e),this.props=new ts(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u5165"}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}Si.slots=["grid-table-toolbar-slot"],Si.controlEventKeys=["on_click","on_click_finish"],Si.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}];class bO extends nt{constructor(e){super(e),this.props=new ts(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var Km={Designer:Si,Runtime:bO,Property:ts};function Al(){return{dataCode:{type:"string",required:!0,message:w.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:w.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:w.getMessage("pleaseSelectControl")}}}}}}class EO extends Pe{constructor(e){super(e),this.fillPayload={type:"object",fields:Vt({},Al())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:w.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:Vt({mode:{type:"string",required:!0,message:w.getMessage("pleaseSelectFillBackMode")}},Al())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:w.getMessage("pleaseSelectControl")})}}class kl extends Xe{constructor(e){var n,i,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:yr.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:yr.controlIcon,this.command=(r=e==null?void 0:e.command)!=null?r:"create",this.fillPayload=new $h(e==null?void 0:e.fillPayload),this.formBind=new mw(e==null?void 0:e.formBind),this.fillBack=new Vh(e==null?void 0:e.fillBack)}}kl.Rules=EO;class yr extends je{constructor(e){super(e),this.props=new kl(e==null?void 0:e.props)}static get controlName(){return"\u8868\u5355\u64CD\u4F5C"}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}yr.controlEventKeys=["on_click","on_click_finish"],yr.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class wO extends nt{constructor(e){super(e),this.props=new kl(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Gm={Designer:yr,Runtime:wO,Property:kl};class IO extends Pe{constructor(e){super(e),this.fillPayload={type:"object",fields:Vt({},Al())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:w.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:w.getMessage("pleaseSelectAtLeastOneColumn")}}},this.fillBack={type:"object",fields:Vt({mode:{type:"string",required:!0,message:w.getMessage("pleaseSelectFillBackMode")}},Al())}}}class Dl extends Xe{constructor(e){var n,i,r,a,l;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:_r.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:_r.controlIcon,this.fillPayload=new $h(e==null?void 0:e.fillPayload),this.listPageBind=new Hu(e==null?void 0:e.listPageBind),this.fillBack=new Vh(e==null?void 0:e.fillBack),this.showSelectedDetail=(r=e==null?void 0:e.showSelectedDetail)!=null?r:!1,this.selectedContentConfig=new Ku(e==null?void 0:e.selectedContentConfig),this.isSelectedRowFill=(a=e==null?void 0:e.isSelectedRowFill)!=null?a:!1,this.disableFilling=(l=e==null?void 0:e.disableFilling)!=null?l:!0}}Dl.Rules=IO;class _r extends je{constructor(e){super(e),this.props=new Dl(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u9009\u62E9"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}_r.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],_r.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class TO extends nt{constructor(e){super(e),this.props=new Dl(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var Xm={Designer:_r,Runtime:TO,Property:Dl};class CO extends Pe{constructor(e){super(e)}}class OO extends Sn{constructor(e){super(e)}}class gr extends Ae{constructor(e){super(e)}}gr.Rules=CO,gr.RuntimeRules=OO;class zm extends re{constructor(e){super(e),this.props=new gr(e==null?void 0:e.props)}static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}zm.setting=[];class SO extends De{constructor(e){super(e),this.props=new gr(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var Jm={Designer:zm,Runtime:SO,Property:gr};class RO extends Pe{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:w.getMessage("pleaseSelectDashboard")},this.caption={type:"string",required:!0,message:w.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:w.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ll extends Ae{constructor(e){var n,i,r,a,l,o;super(e),this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.isHideCaption=(r=e==null?void 0:e.isHideCaption)!=null?r:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(o=e==null?void 0:e.labelPosition)!=null?o:"top"}}Ll.Rules=RO;class Qm extends re{constructor(e){super(e),this.props=new Ll(e==null?void 0:e.props)}static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}Qm.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE,f.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class NO extends De{constructor(e){super(e),this.props=new Ll(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var Zm={Designer:Qm,Runtime:NO,Property:Ll};class PO extends Pe{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:w.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:w.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class xl extends Ae{constructor(e){var n,i,r;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(r=(i=e==null?void 0:e.viewList)==null?void 0:i.map(a=>new Aw(a)))!=null?r:[]}}xl.Rules=PO;class Ym extends re{constructor(e){super(e),this.props=new xl(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u89C6\u56FE"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}Ym.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class AO extends De{constructor(e){super(e),this.props=new xl(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var pm={Designer:Ym,Runtime:AO,Property:xl};class kO extends Pe{constructor(e){super(e),this.caption={type:"string",required:!0,message:w.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:w.getMessage("pleaseSelectOcrType")},this.fillList={type:"array",validator(n,i,r){if(i.every(l=>!l.controlId)){r(w.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}r()}},this.captionTip={type:"string",required:!1,message:w.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ml extends Xe{constructor(e){var n,i,r,a,l,o,u,c,d,s;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ri.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(r=e==null?void 0:e.isShowCaptionTip)!=null?r:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.content=(o=e==null?void 0:e.content)!=null?o:Ri.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Ri.controlIcon,this.ocrType=(c=e==null?void 0:e.ocrType)!=null?c:"",this.fillList=(s=(d=e==null?void 0:e.fillList)==null?void 0:d.map(h=>new Ye(h)))!=null?s:[]}}Ml.Rules=kO;class Ri extends je{constructor(e){super(e),this.props=new Ml(e==null?void 0:e.props)}static get controlName(){return"\u6587\u5B57\u8BC6\u522B"}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}Ri.controlEventKeys=["on_click","on_click_finish"],Ri.setting=[{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE,f.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class DO extends nt{constructor(e){super(e),this.props=new Ml(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var ey={Designer:Ri,Runtime:DO,Property:Ml};class LO extends Pe{constructor(e){super(e),this.caption={type:"string",required:!0,message:w.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,i,r){if(i.every(l=>!l.controlId)){r(w.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}r()}},this.captionTip={type:"string",required:!1,message:w.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Fl extends Xe{constructor(e){var n,i,r,a,l,o,u,c,d,s;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ni.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(r=e==null?void 0:e.isShowCaptionTip)!=null?r:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.content=(o=e==null?void 0:e.content)!=null?o:Ni.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Ni.controlIcon,this.invoiceCheck=(c=e==null?void 0:e.invoiceCheck)!=null?c:!0,this.fillList=(s=(d=e==null?void 0:e.fillList)==null?void 0:d.map(h=>new Ye(h)))!=null?s:[]}}Fl.Rules=LO;class Ni extends je{constructor(e){super(e),this.props=new Fl(e==null?void 0:e.props)}static get controlName(){return"\u53D1\u7968\u8BC6\u522B"}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}Ni.controlEventKeys=["on_click","on_click_finish"],Ni.setting=[{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE,f.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class xO extends nt{constructor(e){super(e),this.props=new Fl(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var ty={Designer:Ni,Runtime:xO,Property:Fl};class MO extends Pe{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:w.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class Bl extends Xe{constructor(e){var n,i,r,a,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Pi.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Pi.controlName,this.printTemplates=(a=(r=e==null?void 0:e.printTemplates)==null?void 0:r.map(o=>new xm(o)))!=null?a:[],this.autoSelectTemplate=(l=e==null?void 0:e.autoSelectTemplate)!=null?l:!1}}Bl.Rules=MO;class Pi extends je{constructor(e){super(e),this.props=new Bl(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u6253\u5370"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}Pi.slots=["grid-table-toolbar-slot"],Pi.controlEventKeys=["on_click","on_click_finish"],Pi.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}];class FO extends nt{constructor(e){super(e),this.props=new Bl(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var ny={Designer:Pi,Runtime:FO,Property:Bl};class ns extends Xe{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ai.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ai.controlIcon}}class Ai extends je{constructor(e){super(e),this.props=new ns(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u6253\u5370\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}Ai.slots=["grid-table-toolbar-slot"],Ai.controlEventKeys=["on_click"],Ai.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}];class BO extends nt{constructor(e){super(e),this.props=new ns(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var iy={Designer:Ai,Runtime:BO,Property:ns};class $O extends Pe{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:w.getMessage("pleaseEnterForm")})}}class $l extends Ae{constructor(e){var n,i,r,a,l;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.code=e==null?void 0:e.code,this.command=(i=e==null?void 0:e.command)!=null?i:"custom",this.color=(r=e==null?void 0:e.color)!=null?r:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(a=e==null?void 0:e.defaultState)!=null?a:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1}}$l.Rules=$O;class Vl extends re{constructor(e){super(e),this.props=new $l(e==null?void 0:e.props)}static get controlName(){return"\u64CD\u4F5C\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}Vl.controlEventKeys=["on_click"],Vl.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE]},{key:"super-setting",visible:!0}];class VO extends De{constructor(e){super(e),this.props=new $l(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var ry={Designer:Vl,Runtime:VO,Property:$l};class is extends Ae{constructor(e){var n,i,r,a,l,o,u,c,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:ki.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:ki.controlIcon,this.buttonType=(r=e==null?void 0:e.buttonType)!=null?r:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"iconText",this.color=(l=e==null?void 0:e.color)!=null?l:"danger",this.isHide=(o=e==null?void 0:e.isHide)!=null?o:!1,this.defaultState=(u=e==null?void 0:e.defaultState)!=null?u:"default",this.command=(c=e==null?void 0:e.command)!=null?c:"custom",this.isLoading=(d=e==null?void 0:e.isLoading)!=null?d:!1}}class ki extends re{constructor(e){super(e),this.props=new is(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u5220\u9664"}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}ki.slots=["grid-table-toolbar-slot"],ki.controlEventKeys=["on_click"],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:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE]},{key:"super-setting",visible:!0}];class UO extends De{constructor(e){super(e),this.props=new is(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var ay={Designer:ki,Runtime:UO,Property:is},HO=Object.freeze({__proto__:null,Text:Tm,Link:Cm,Button:Om,Divider:$m,Title:Vm,CreateFormListButton:Um,BatchSubmissionListButton:Hm,SubmissionRecordListButton:jm,ExportListButton:Wm,ExportRecordListButton:qm,ImportRecordListButton:Km,FormSelectButton:Gm,ListSelectButton:Xm,Pagination:Jm,Dashboard:Zm,ListViewSelect:pm,TextOcrButton:ey,InvoiceCheckButton:ty,BatchPrintListButton:ny,BatchPrintRecordListButton:iy,OperationButton:ry,BatchDeleteButton:ay});class jO extends Fe{constructor(e){super(e),this.maxLength={type:"number",min:0,message:w.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:w.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:w.getMessage("stringRangeError")},{pattern:"",message:""}],this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue[0].max=e.maxLength,this.defaultValue[0].min=e.minLength,this.defaultValue[0].message=w.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=mr(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class WO extends de{constructor(e){super(e),this.push({type:"string",message:w.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:w.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:mr(e.regularRules.expression),message:e.regularRules.errMessage})}}class Di extends Q{constructor(e){var n,i,r,a,l,o,u;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.regularRules=new Uh(e==null?void 0:e.regularRules),this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:Li.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165",this.encrypted=(o=e==null?void 0:e.encrypted)!=null?o:!1,this.encryptedMode=(u=e==null?void 0:e.encryptedMode)!=null?u:""}}Di.Rules=jO,Di.RuntimeRules=WO;class Li extends Z{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}Li.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Li.controlFieldType=D.VARCHAR,Li.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.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:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP,f.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class ly extends ee{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"input"}}ly.controlFieldType=D.VARCHAR;var oy={Designer:Li,Runtime:ly,Property:Di};class qO extends mi{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:w.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=r=>r==="unlimited"?void 0:r;this.limitMax.min=i(e.limitMin)}}class KO extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:typeof e.limitMax=="number"?e.limitMax:void 0,min:typeof e.limitMin=="number"?e.limitMin:void 0})}}class vr extends Q{constructor(e){var n,i,r,a,l,o,u,c,d,s,h,v,O;super(e),this.options=xt((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(r=e==null?void 0:e.optionConfig)!=null?r:"custom",this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.otherOption=(l=e==null?void 0:e.otherOption)!=null?l:!1,this.limitMin=(o=e==null?void 0:e.limitMin)!=null?o:"unlimited",this.limitMax=(u=e==null?void 0:e.limitMax)!=null?u:"unlimited",this.datasourceBind=new He(e==null?void 0:e.datasourceBind),this.interreaction=(c=e==null?void 0:e.interreaction)!=null?c:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:br.controlName,this.defaultValue=(s=e==null?void 0:e.defaultValue)!=null?s:[],this.optionsFormat=(h=e==null?void 0:e.optionsFormat)!=null?h:"horizontal",this.defaultShowOptions=(v=e==null?void 0:e.defaultShowOptions)!=null?v:!0,this.openMultistageFilling=(O=e==null?void 0:e.openMultistageFilling)!=null?O:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(I=>{var P;(P=this.multistageFilling)==null||P.push(new Ye(I))}))}}vr.Rules=qO,vr.RuntimeRules=KO;class br extends Z{constructor(e){super(e),this.props=new vr(e==null?void 0:e.props)}static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}br.controlEventKeys=["on_change","on_click"],br.controlFieldType=D.ARRAY,br.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.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:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class uy extends ee{constructor(e){super(e),this.props=new vr(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}uy.controlFieldType=D.ARRAY;var cy={Designer:br,Runtime:uy,Property:vr};class GO extends mi{constructor(e){super(e)}}class Ul extends Q{constructor(e){var n,i,r,a,l,o,u,c,d,s,h;super(e),this.options=xt((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(r=e==null?void 0:e.optionConfig)!=null?r:"custom",this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.optionsOrder=(l=e==null?void 0:e.optionsOrder)!=null?l:!1,this.defaultShowOptions=(o=e==null?void 0:e.defaultShowOptions)!=null?o:!0,this.optionsFormat=(u=e==null?void 0:e.optionsFormat)!=null?u:"horizontal",this.datasourceBind=new He(e==null?void 0:e.datasourceBind),this.interreaction=(c=e==null?void 0:e.interreaction)!=null?c:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:Er.controlName,this.defaultValue=(s=e==null?void 0:e.defaultValue)!=null?s:"",this.openMultistageFilling=(h=e==null?void 0:e.openMultistageFilling)!=null?h:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var O;(O=this.multistageFilling)==null||O.push(new Ye(v))}))}}Ul.Rules=GO;class Er extends Z{constructor(e){super(e),this.props=new Ul(e==null?void 0:e.props)}static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Er.controlEventKeys=["on_change","on_click"],Er.controlFieldType=D.VARCHAR,Er.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.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:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class sy extends ee{constructor(e){super(e),this.props=new Ul(e==null?void 0:e.props)}static get controlType(){return"radio"}}sy.controlFieldType=D.VARCHAR;var dy={Designer:Er,Runtime:sy,Property:Ul};class XO extends Fe{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:w.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}],this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=w.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:w.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=mr(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class zO extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.rangeMax!==""?e.rangeMax:void 0,i=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:n,min:i,message:w.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:mr(e.regularRules.expression),message:e.regularRules.errMessage})}}class wr extends Q{constructor(e){var n,i,r,a,l,o,u,c,d,s,h,v,O;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(r=e==null?void 0:e.numberType)!=null?r:"number",this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.micrometer=(l=e==null?void 0:e.micrometer)!=null?l:!1,this.precision=(o=e==null?void 0:e.precision)!=null?o:0,this.showUpperCase=(u=e==null?void 0:e.showUpperCase)!=null?u:!1,this.isShowUnit=(c=e==null?void 0:e.isShowUnit)!=null?c:!1,this.unitPosition=(d=e==null?void 0:e.unitPosition)!=null?d:"right",this.unit=(s=e==null?void 0:e.unit)!=null?s:"",this.caption=(h=e==null?void 0:e.caption)!=null?h:Ir.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u8F93\u5165",this.defaultValue=(O=e==null?void 0:e.defaultValue)!=null?O:"",this.regularRules=new Uh(e==null?void 0:e.regularRules)}}wr.Rules=XO,wr.RuntimeRules=zO;class Ir extends Z{constructor(e){super(e),this.props=new wr(e==null?void 0:e.props)}static get controlName(){return"\u6570\u5B57"}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:r}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=r}return n}}Ir.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ir.controlFieldType=D.DECIMAL,Ir.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.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:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_UNIT,f.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[f.SHOW_UPPER_CASE,f.MICROMETER,f.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class fy extends ee{constructor(e){super(e),this.props=new wr(e==null?void 0:e.props)}static get controlType(){return"number"}}fy.controlFieldType=D.DECIMAL;var hy={Designer:Ir,Runtime:fy,Property:wr};class rs extends Q{constructor(e){var n,i,r,a,l,o,u,c,d,s,h;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:rt.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(r=e==null?void 0:e.commonTimeSetting)!=null?r:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.caption=(l=e==null?void 0:e.caption)!=null?l:Hl.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u65E5\u671F",this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.limitDateList=(d=(c=e==null?void 0:e.limitDateList)==null?void 0:c.map(v=>new Cl(v)))!=null?d:[],this.allowDateRange=(s=e==null?void 0:e.allowDateRange)!=null?s:["",""],this.filterWeekend=(h=e==null?void 0:e.filterWeekend)!=null?h:!1}}class Hl extends Z{constructor(e){super(e),this.props=new rs(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F"}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}Hl.controlFieldType=D.TIMESTAMP,Hl.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.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:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class my extends ee{constructor(e){super(e),this.props=new rs(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}my.controlFieldType=D.TIMESTAMP;var yy={Designer:Hl,Runtime:my,Property:rs};class JO extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide&&this.push({type:"object",fields:{max:{type:"string",required:e.required,message:this[0].message},min:{type:"string",required:e.required,message:this[0].message}}})}}class jl extends Q{constructor(e){var n,i,r,a,l,o,u,c,d,s,h;super(e),this.dataBind=new Ow(e==null?void 0:e.dataBind),this.defaultValue=new Sw(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:rt.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(r=e==null?void 0:e.commonTimeSetting)!=null?r:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.rangeMin=(l=e==null?void 0:e.rangeMin)!=null?l:"",this.rangeMax=(o=e==null?void 0:e.rangeMax)!=null?o:"",this.placeholderStart=(u=e==null?void 0:e.placeholderStart)!=null?u:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(c=e==null?void 0:e.placeholderEnd)!=null?c:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",this.caption=(d=e==null?void 0:e.caption)!=null?d:Wl.controlName,this.limitDateList=(h=(s=e==null?void 0:e.limitDateList)==null?void 0:s.map(v=>new Cl(v)))!=null?h:[]}}jl.RuntimeRules=JO;class Wl extends Z{constructor(e){super(e),this.props=new jl(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}Wl.controlFieldType=D.TIMESCOPE,Wl.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[f.CAPTION,f.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:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class _y extends ee{constructor(e){super(e),this.props=new jl(e==null?void 0:e.props)}static get controlType(){return"date-range"}}_y.controlFieldType=D.TIMESCOPE;var gy={Designer:Wl,Runtime:_y,Property:jl};class QO extends Fe{constructor(e){super(e),this.maxLength={type:"number",min:0,message:w.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:w.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:w.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=w.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class ZO extends de{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:w.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Tr extends Q{constructor(e){var n,i,r,a,l;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:Cr.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165",this.rowHeightSetting=new dw(e==null?void 0:e.rowHeightSetting)}}Tr.Rules=QO,Tr.RuntimeRules=ZO;class Cr extends Z{constructor(e){super(e),this.props=new Tr(e==null?void 0:e.props)}static get controlName(){return"\u591A\u884C\u6587\u672C"}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}Cr.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Cr.controlFieldType=D.TEXT,Cr.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.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:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"row-height-setting",visible:!0},{key:"super-setting",visible:!0}];class vy extends ee{constructor(e){super(e),this.props=new Tr(e==null?void 0:e.props)}static get controlType(){return"textarea"}}vy.controlFieldType=D.TEXT;var by={Designer:Cr,Runtime:vy,Property:Tr};class YO extends Fe{constructor(e){super(e),this.maxLength={type:"number",min:0,message:w.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:w.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:w.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=w.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class pO extends de{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:w.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Or extends Q{constructor(e){var n,i,r,a,l;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:Sr.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165"}}Or.Rules=YO,Or.RuntimeRules=pO;class Sr extends Z{constructor(e){super(e),this.props=new Or(e==null?void 0:e.props)}static get controlName(){return"\u5BCC\u6587\u672C"}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}Sr.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Sr.controlFieldType=D.TEXT,Sr.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.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:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class Ey extends ee{constructor(e){super(e),this.props=new Or(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}Ey.controlFieldType=D.TEXT;var wy={Designer:Sr,Runtime:Ey,Property:Or};class eS extends mi{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:w.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class ql extends Q{constructor(e){var n,i,r,a,l,o,u,c,d,s;super(e),this.options=xt((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(r=e==null?void 0:e.optionConfig)!=null?r:"custom",this.datasourceBind=new He(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Kl.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u9009\u62E9",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:"",this.allowCopyOptions=(u=e==null?void 0:e.allowCopyOptions)!=null?u:!1,this.openMultistageFilling=(c=e==null?void 0:e.openMultistageFilling)!=null?c:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(h=>{var v;(v=this.multistageFilling)==null||v.push(new Ye(h))})),this.canViewForm=(d=e==null?void 0:e.canViewForm)!=null?d:!1,this.viewFormModelType=(s=e==null?void 0:e.viewFormModelType)!=null?s:"window",this.formBind=new fi(e==null?void 0:e.formBind)}}ql.Rules=eS;class Kl extends Z{constructor(e){super(e),this.props=new ql(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}Kl.controlFieldType=D.VARCHAR,Kl.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.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:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.DEFAULT_SHOW_OPTIONS,f.IS_SHOW_CAPTION_TIP,f.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[f.CAN_VIEW_FORM,f.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Iy extends ee{constructor(e){super(e),this.props=new ql(e==null?void 0:e.props)}static get controlType(){return"select"}}Iy.controlFieldType=D.VARCHAR;var Ty={Designer:Kl,Runtime:Iy,Property:ql};class tS extends mi{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:w.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class nS extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Rr extends Q{constructor(e){var n,i,r,a,l,o,u,c,d;super(e),this.options=xt((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(r=e==null?void 0:e.optionConfig)!=null?r:"custom",this.datasourceBind=new He(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Gl.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u9009\u62E9",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.openMultistageFilling=(u=e==null?void 0:e.openMultistageFilling)!=null?u:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(s=>{var h;(h=this.multistageFilling)==null||h.push(new Ye(s))})),this.canViewForm=(c=e==null?void 0:e.canViewForm)!=null?c:!1,this.viewFormModelType=(d=e==null?void 0:e.viewFormModelType)!=null?d:"window",this.formBind=new fi(e==null?void 0:e.formBind)}}Rr.Rules=tS,Rr.RuntimeRules=nS;class Gl extends Z{constructor(e){super(e),this.props=new Rr(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u591A\u9009"}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}Gl.controlFieldType=D.ARRAY,Gl.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.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:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.DEFAULT_SHOW_OPTIONS,f.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[f.CAN_VIEW_FORM,f.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Cy extends ee{constructor(e){super(e),this.props=new Rr(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}Cy.controlFieldType=D.ARRAY;var Oy={Designer:Gl,Runtime:Cy,Property:Rr};class iS extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Xl extends Q{constructor(e){var n,i,r,a,l,o,u,c,d;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(u=e==null?void 0:e.caption)!=null?u:zl.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.openMultistageFilling=(d=e==null?void 0:e.openMultistageFilling)!=null?d:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(s=>{var h;(h=this.multistageFilling)==null||h.push(new Ye(s))}))}}Xl.RuntimeRules=iS;class zl extends Z{constructor(e){super(e),this.props=new Xl(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}zl.controlFieldType=D.EMPLOYEES,zl.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.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:[f.REQUIRED,f.IS_HIDE,f.MULTIPLE,f.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class Sy extends ee{constructor(e){super(e),this.props=new Xl(e==null?void 0:e.props)}static get controlType(){return"employee"}}Sy.controlFieldType=D.EMPLOYEES;var Ry={Designer:zl,Runtime:Sy,Property:Xl};const rS=10485760,aS=104857600,lS=1048576e3;class oS extends Fe{constructor(e){super(e),this.maxSize={type:"number",min:0,max:lS,message:w.getMessage("attachmentMaxSize")}}}class uS extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:w.getMessage("attachmentLimitError",{max:e.maxLimit,min:e.minLimit})})}}class xi extends Q{constructor(e){var n,i,r,a,l,o,u,c,d,s,h;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.resultShowType=(r=e==null?void 0:e.resultShowType)!=null?r:"simple",this.attachmentAccept=(a=e==null?void 0:e.attachmentAccept)!=null?a:[],this.maxLimit=(l=e==null?void 0:e.maxLimit)!=null?l:10,this.minLimit=(o=e==null?void 0:e.minLimit)!=null?o:0,this.maxSize=(u=e==null?void 0:e.maxSize)!=null?u:aS,this.caption=(c=e==null?void 0:e.caption)!=null?c:Mi.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u4E0A\u4F20\u9644\u4EF6",this.isShowWatermark=(s=e==null?void 0:e.isShowWatermark)!=null?s:!1,this.watermarkFx=(h=e==null?void 0:e.watermarkFx)!=null?h:{}}}xi.Rules=oS,xi.RuntimeRules=uS;class Mi extends Z{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}Mi.controlEventKeys=["on_change"],Mi.controlFieldType=D.FILE,Mi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.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:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.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}];class as extends ee{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlType(){return"attachment"}}as.controlFieldType=D.FILE;var Ny={Designer:Mi,Runtime:as,Property:xi};const Py=class extends Mi{static get controlName(){return"\u56FE\u7247"}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}constructor(t){var e,n,i,r;super(t),this.props.showType="image",this.props.caption=(n=(e=t==null?void 0:t.props)==null?void 0:e.caption)!=null?n:Py.controlName,this.props.placeholder=(r=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?r:"\u4E0A\u4F20\u56FE\u7247"}};let ls=Py;ls.controlFieldType=D.IMAGE,ls.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.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:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP,f.IS_SHOW_WATERMARK]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class cS extends as{static get controlType(){return"image"}constructor(e){var n,i,r,a,l,o;super(e),this.props.showType="image",this.props.maxLimit=(i=(n=e==null?void 0:e.props)==null?void 0:n.maxLimit)!=null?i:9,this.props.caption=(a=(r=e==null?void 0:e.props)==null?void 0:r.caption)!=null?a:"\u56FE\u7247",this.props.placeholder=(o=(l=e==null?void 0:e.props)==null?void 0:l.placeholder)!=null?o:"\u4E0A\u4F20\u56FE\u7247"}}class sS extends xi{constructor(e){super(e)}}var Ay={Designer:ls,Runtime:cS,Property:sS};class dS extends mi{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:w.getMessage("pleaseEnterNumberRange")}]}},this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=n,this.defaultValue.fields.amount[0].min=i,this.defaultValue.fields.amount[0].message=w.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:w.getMessage("numberRangeSetError")})}}class fS extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object");const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.push({type:"object",fields:{amount:[fa(Vt({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:w.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}],currency:{type:"string"}}})}}class Nr extends Q{constructor(e){var n,i,r,a,l,o,u,c,d,s,h,v;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.optionConfig=(r=e==null?void 0:e.optionConfig)!=null?r:"datasource",this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:2,this.dataBind=new Tw(e==null?void 0:e.dataBind),this.datasourceBind=new He((o=e==null?void 0:e.datasourceBind)!=null?o:{displayBoList:[new Wu({value:"name"})]}),this.defaultValue=new Cw((u=e==null?void 0:e.defaultValue)!=null?u:{amount:"",currency:Xu.CNY}),this.unitPosition=(c=e==null?void 0:e.unitPosition)!=null?c:"right",this.options=xt(e==null?void 0:e.options),this.caption=(d=e==null?void 0:e.caption)!=null?d:Pr.controlName,this.placeholder=(s=e==null?void 0:e.placeholder)!=null?s:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(h=e==null?void 0:e.submitSelectCurrency)!=null?h:!1,this.showUpperCase=(v=e==null?void 0:e.showUpperCase)!=null?v:!1}}Nr.Rules=dS,Nr.RuntimeRules=fS;class Pr extends Z{constructor(e){super(e),this.props=new Nr(e==null?void 0:e.props)}static get controlName(){return"\u91D1\u989D"}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:r}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=r}return n}}Pr.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Pr.controlFieldType=D.MONEY,Pr.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[f.CAPTION,f.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:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.SUBMIT_SELECT_CURRENCY,f.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"unit-position",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[f.SHOW_UPPER_CASE,f.MICROMETER,f.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class ky extends ee{constructor(e){super(e),this.props=new Nr(e==null?void 0:e.props)}static get controlType(){return"amount"}}ky.controlFieldType=D.MONEY;var Dy={Designer:Pr,Runtime:ky,Property:Nr};class hS extends Fe{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:w.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:w.getMessage("theTotalScoreMustNotBeLessThan1")}],this.defaultValue={type:"number",min:0,max:5,message:w.getMessage("scoreDefaultValueRange")},this.defaultValue.max=e.totalScore,this.defaultValue.message=w.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:0})}}class mS extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:w.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class Ar extends Q{constructor(e){var n,i,r,a,l,o,u;super(e),this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(i=e==null?void 0:e.scoreType)!=null?i:Kc.STAR,this.isShowExplain=(r=e==null?void 0:e.isShowExplain)!=null?r:!0,this.explain=(l=(a=e==null?void 0:e.explain)==null?void 0:a.map(c=>new Ol(c)))!=null?l:Array(this.totalScore).fill(void 0).map(()=>new Ol),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:0,this.caption=(u=e==null?void 0:e.caption)!=null?u:kr.controlName}}Ar.Rules=hS,Ar.RuntimeRules=mS;class kr extends Z{constructor(e){super(e),this.props=new Ar(e==null?void 0:e.props)}static get controlName(){return"\u8BC4\u5206"}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}postUpdate(e,n){if(e==="totalScore"){if(n===this.props.explain.length)return;if(this.props.explain.length>n)this.props.explain=this.props.explain.slice(0,n);else{const i=n-this.props.explain.length,r=Array(i).fill(void 0).map(()=>new Ol);this.props.explain.push(...r)}}super.postUpdate(e,n)}}kr.controlEventKeys=["on_change","on_click"],kr.controlFieldType=D.DECIMAL,kr.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Ly extends ee{constructor(e){super(e),this.props=new Ar(e==null?void 0:e.props)}static get controlType(){return"score"}}Ly.controlFieldType=D.DECIMAL;var xy={Designer:kr,Runtime:Ly,Property:Ar};class yS extends de{constructor(e){if(super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message:w.getMessage("pleaseSelectProvince")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:w.getMessage("pleaseSelectCity")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:w.getMessage("pleaseSelectDistrict")}),this.push(n)}}}class Jl extends Q{constructor(e){var n,i,r,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ql.controlName,this.defaultValueType=(i=e==null?void 0:e.defaultValueType)!=null?i:"default",this.addressType=(r=e==null?void 0:e.addressType)!=null?r:["province","city","district"],this.defaultValue=new Rw((a=e==null?void 0:e.defaultValue)!=null?a:{}),this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u9009\u62E9\u5730\u5740"}}Jl.RuntimeRules=yS;class Ql extends Z{constructor(e){super(e),this.props=new Jl(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Ql.controlFieldType=D.ADDRESS,Ql.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.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:[f.REQUIRED,f.IS_HIDE,f.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class My extends ee{constructor(e){super(e),this.props=new Jl(e==null?void 0:e.props)}static get controlName(){return"\u7701\u5E02\u533A"}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}}My.controlFieldType=D.ADDRESS;var Fy={Designer:Ql,Runtime:My,Property:Jl};class _S extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Zl extends Q{constructor(e){var n,i,r,a,l,o,u,c,d,s,h;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(r=e==null?void 0:e.range)!=null?r:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(u=e==null?void 0:e.displayLevel)!=null?u:1,this.showSubDept=(c=e==null?void 0:e.showSubDept)!=null?c:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Dr.controlName,this.placeholder=(s=e==null?void 0:e.placeholder)!=null?s:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.openMultistageFilling=(h=e==null?void 0:e.openMultistageFilling)!=null?h:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var O;(O=this.multistageFilling)==null||O.push(new Ye(v))}))}}Zl.RuntimeRules=_S;class Dr extends Z{constructor(e){super(e),this.props=new Zl(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:r}=this.props;n.props.displayLevel=i,n.props.showSubDept=r}return n}}Dr.controlName="\u90E8\u95E8",Dr.controlFieldType=D.DEPARTMENTS,Dr.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.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:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.MULTIPLE,f.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class By extends ee{constructor(e){super(e),this.props=new Zl(e==null?void 0:e.props)}static get controlType(){return"department"}}By.controlFieldType=D.DEPARTMENTS;var $y={Designer:Dr,Runtime:By,Property:Zl};class os extends Q{constructor(e){var n,i,r;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:Lr.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class Lr extends Z{constructor(e){super(e),this.props=new os(e==null?void 0:e.props)}static get controlName(){return"\u81EA\u52A8\u7F16\u53F7"}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}Lr.controlEventKeys=["on_change"],Lr.controlFieldType=D.AUTO_NUMBER,Lr.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Vy extends ee{constructor(e){super(e),this.props=new os(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}Vy.controlFieldType=D.AUTO_NUMBER;var Uy={Designer:Lr,Runtime:Vy,Property:os};class gS extends Fe{constructor(e){super(e),this.dataBind.fields.result.required=!1,this.dataBind.fields.result.fields.fieldCode.required=!1,this.dataBind.fields.result.fields.dataCode.required=!1,this.dataBind.fields.unit.required=!1,this.dataBind.fields.unit.fields.fieldCode.required=!1,this.dataBind.fields.unit.fields.dataCode.required=!1}}class vS extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:w.getMessage("isNotObject"),fields:{result:[{type:"number",message:w.getMessage("isNotNumber")}],unit:{type:"string",message:w.getMessage("isNotString")}}})}}class xr extends Q{constructor(e){var n,i,r,a,l,o,u,c,d;super(e),this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(i=e==null?void 0:e.micrometer)!=null?i:!1,this.showUpperCase=(r=e==null?void 0:e.showUpperCase)!=null?r:!1,this.dataBind=new Nw(e==null?void 0:e.dataBind),this.defaultValue=new Pw(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:Mr.controlName,this.unitPosition=(l=e==null?void 0:e.unitPosition)!=null?l:"right",this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165",this.scriptEcho=(u=e==null?void 0:e.scriptEcho)!=null?u:[],this.scriptSrc=(c=e==null?void 0:e.scriptSrc)!=null?c:"",this.calcOnMounted=(d=e==null?void 0:e.calcOnMounted)!=null?d:!1}}xr.Rules=gS,xr.RuntimeRules=vS;class Mr extends Z{constructor(e){super(e),this.props=new xr(e==null?void 0:e.props)}static get controlName(){return"\u8BA1\u7B97\u516C\u5F0F"}static get controlType(){return"calc"}static get controlIcon(){return"iconcalculation_new"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:r}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=r}return n}}Mr.controlEventKeys=["on_change"],Mr.controlFieldType=D.CALC,Mr.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[f.CAPTION,f.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:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"unit-position",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[f.SHOW_UPPER_CASE,f.MICROMETER,f.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Hy extends ee{constructor(e){super(e),this.props=new xr(e==null?void 0:e.props)}static get controlType(){return"calc"}}Hy.controlFieldType=D.CALC;var jy={Designer:Mr,Runtime:Hy,Property:xr};class bS extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({validator(n,i){return e.required&&i.every(a=>!a)?Promise.reject(w.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class Yl extends Q{constructor(e){var n,i,r,a,l,o;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(r=e==null?void 0:e.rangeMax)!=null?r:"",this.placeholderStart=(a=e==null?void 0:e.placeholderStart)!=null?a:"\u6700\u5C0F\u503C",this.placeholderEnd=(l=e==null?void 0:e.placeholderEnd)!=null?l:"\u6700\u5927\u503C",this.caption=(o=e==null?void 0:e.caption)!=null?o:pl.controlName}}Yl.RuntimeRules=bS;class pl extends Z{constructor(e){super(e),this.props=new Yl(e==null?void 0:e.props)}static get controlName(){return"\u6570\u5B57\u533A\u95F4"}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}pl.controlFieldType=D.DECIMAL_RANGE,pl.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.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:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Wy extends ee{constructor(e){super(e),this.props=new Yl(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}Wy.controlFieldType=D.DECIMAL_RANGE;var qy={Designer:pl,Runtime:Wy,Property:Yl};class ES extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),e.required&&!e.isHide&&this.push({type:"array",fields:{0:{type:"string",required:e.required,message:this[0].message},1:{type:"string",required:e.required,message:this[0].message}}})}}class eo extends Q{constructor(e){var n,i,r,a,l,o,u,c,d,s,h,v;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:rt.DATE,this.dateFormat=(r=e==null?void 0:e.dateFormat)!=null?r:"",this.commonTimeSetting=(a=e==null?void 0:e.commonTimeSetting)!=null?a:[],this.setValueType=(l=e==null?void 0:e.setValueType)!=null?l:"custom",this.rangeMin=(o=e==null?void 0:e.rangeMin)!=null?o:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.placeholderStart=(c=e==null?void 0:e.placeholderStart)!=null?c:"\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(d=e==null?void 0:e.placeholderEnd)!=null?d:"\u7ED3\u675F\u65E5\u671F",this.caption=(s=e==null?void 0:e.caption)!=null?s:to.controlName,this.limitDateList=(v=(h=e==null?void 0:e.limitDateList)==null?void 0:h.map(O=>new Cl(O)))!=null?v:[]}}eo.RuntimeRules=ES;class to extends Z{constructor(e){super(e),this.props=new eo(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}to.controlFieldType=D.ARRAY,to.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.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:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Ky extends ee{constructor(e){super(e),this.props=new eo(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}Ky.controlFieldType=D.ARRAY;var Gy={Designer:to,Runtime:Ky,Property:eo};class wS extends Fe{constructor(e){super(e),this.dataBind={type:"any"}}}class IS extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class Fr extends Q{constructor(e){var n,i,r,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Fi.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(r=e==null?void 0:e.controlExportName)!=null?r:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(l=e==null?void 0:e.isInlineEdit)!=null?l:!1}}Fr.Rules=wS,Fr.RuntimeRules=IS;class Fi extends Z{constructor(e){super(e),this.props=new Fr(e==null?void 0:e.props)}static get controlName(){return"Vue\u5BB9\u5668"}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}Fi.controlFieldType=D.ANY,Fi.controlEventKeys=[],Fi.slots=["grid-table-toolbar-slot",Ws.DEFAULT],Fi.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE,f.IS_HIDE_CAPTION,f.REQUIRED,f.IS_SHOW_CAPTION_TIP,f.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class Xy extends ee{constructor(e){super(e),this.props=new Fr(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Xy.controlFieldType=D.ANY;var zy={Designer:Fi,Runtime:Xy,Property:Fr};class TS extends mi{constructor(e){super(e),this.listPageBind=[{type:"object",message:w.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:w.getMessage("isNotString")},{type:"string",required:!0,message:w.getMessage("pleaseEnterList")}]}}],this.formBind={type:"object",fields:{formKey:{type:"string",message:w.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class no extends Q{constructor(e){var n,i,r,a,l,o,u,c,d,s,h;super(e),this.options=xt((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new Hu(e==null?void 0:e.listPageBind),this.datasourceBind=new He(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:Br.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new Ku(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var O;(O=this.multistageFilling)==null||O.push(new Ye(v))})),this.canViewForm=(c=e==null?void 0:e.canViewForm)!=null?c:!1,this.viewFormModelType=(d=e==null?void 0:e.viewFormModelType)!=null?d:"window",this.formBind=new fi(e==null?void 0:e.formBind),this.optionDisplayConfig=(s=e==null?void 0:e.optionDisplayConfig)!=null?s:[],this.canSearch=(h=e==null?void 0:e.canSearch)!=null?h:!1}}no.Rules=TS;class Br extends Z{constructor(e){super(e),this.props=new no(e==null?void 0:e.props)}static get controlName(){return"\u5173\u8054\u5355\u9009"}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{optionDisplayConfig:i}=this.props;n.props.optionDisplayConfig=i}return n}}Br.controlFieldType=D.VARCHAR,Br.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.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:[f.REQUIRED,f.IS_HIDE,f.IS_SHOW_CAPTION_TIP,f.CAN_SEARCH]},{key:"relation-setting",visible:!0,showItems:[f.CAN_VIEW_FORM,f.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"option-config-setting",visible:!0},{key:"super-setting",visible:!0}],Br.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class Jy extends ee{constructor(e){super(e),this.props=new no(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}Jy.controlFieldType=D.VARCHAR;var Qy={Designer:Br,Runtime:Jy,Property:no};class us extends Di{constructor(e){super(e)}}class Zy extends Li{constructor(e){super(e),this.props=new us(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}Zy.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED]},{key:"super-setting",visible:!0}];class Yy extends ee{constructor(e){super(e),this.props=new us(e==null?void 0:e.props)}static get controlType(){return"search-input"}}Yy.controlFieldType=D.VARCHAR;var py={Designer:Zy,Runtime:Yy,Property:us};class CS extends Fe{constructor(e){super(e),this.datasourceBind=[{type:"object",message:w.getMessage("isNotObject")}],Ya.call(this,e,un.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:w.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:w.getMessage("rootNodeIsRequired")}}}])}}class OS extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class $r extends Q{constructor(e){var n,i,r,a,l,o,u,c,d,s,h,v,O,I,P,_,S,g,b;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:un.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:"\u8BF7\u9009\u62E9",this.multiple=(r=e==null?void 0:e.multiple)!=null?r:!1,this.canSearch=(a=e==null?void 0:e.canSearch)!=null?a:!0,this.levelType=(l=e==null?void 0:e.levelType)!=null?l:"all",this.optionalLevel=(o=e==null?void 0:e.optionalLevel)!=null?o:1,this.containsSubNode=(u=e==null?void 0:e.containsSubNode)!=null?u:!1,this.isShowFilterItem=(c=e==null?void 0:e.isShowFilterItem)!=null?c:!1,this.isShowIncludeSub=(d=e==null?void 0:e.isShowIncludeSub)!=null?d:!1,this.isDefaultCheckSub=(s=e==null?void 0:e.isDefaultCheckSub)!=null?s:!1,this.defaultCollapse=(h=e==null?void 0:e.defaultCollapse)!=null?h:"all",this.defaultCollapseLevel=(v=e==null?void 0:e.defaultCollapseLevel)!=null?v:1,this.datasourceBind=new Fh((O=e==null?void 0:e.datasourceBind)!=null?O:{attributes:un.controlCustomAttributes}),this.filterItemDatasourceBind=new Fh((I=e==null?void 0:e.filterItemDatasourceBind)!=null?I:{attributes:un.controlCustomAttributes}),this.openMultistageFilling=(P=e==null?void 0:e.openMultistageFilling)!=null?P:!1,this.defaultDisplay=(_=e==null?void 0:e.defaultDisplay)!=null?_:!1,this.multistageFilling=(g=(S=e==null?void 0:e.multistageFilling)==null?void 0:S.map(A=>new Ye(A)))!=null?g:[],this.defaultValue=(b=e==null?void 0:e.defaultValue)!=null?b:[]}}$r.Rules=CS,$r.RuntimeRules=OS;class un extends Z{constructor(e){super(e),this.props=new $r(e==null?void 0:e.props)}static get controlName(){return"\u6811"}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}un.controlEventKeys=["on_change","on_click"],un.controlFieldType=D.ARRAY,un.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.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:[f.REQUIRED,f.IS_HIDE,f.MULTIPLE,f.CAN_SEARCH,f.DEFAULT_DISPLAY,f.CONTAINS_SUB_NODE,f.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class e_ extends ee{constructor(e){super(e),this.props=new $r(e==null?void 0:e.props)}static get controlType(){return"tree"}}e_.controlFieldType=D.ARRAY;var t_={Designer:un,Runtime:e_,Property:$r};class SS extends Fe{constructor(e){super(e),this.datasourceBind=[{type:"object",message:w.getMessage("isNotObject")}],this.externalScope={type:"any"},Ya.call(this,e,Bi.controlCustomAttributes),e.externalType===on.ASSIGN&&(this.externalScope={type:"array",required:!0,message:w.getMessage("pleaseAssignExternal")})}}class RS extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Vr extends Q{constructor(e){var n,i,r,a,l,o,u,c,d,s,h,v,O,I;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(u=e==null?void 0:e.caption)!=null?u:Bi.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.datasourceBind=new za((d=e==null?void 0:e.datasourceBind)!=null?d:{attributes:Bi.controlCustomAttributes}),this.datasourceType=(s=e==null?void 0:e.datasourceType)!=null?s:Jc.INTERNAL,this.insideType=(h=e==null?void 0:e.insideType)!=null?h:Qc.ADMIN,this.externalType=(v=e==null?void 0:e.externalType)!=null?v:on.ALL,this.externalScope=(O=e==null?void 0:e.externalScope)!=null?O:[],this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(P=>{var _;(_=this.multistageFilling)==null||_.push(new Ye(P))}))}}Vr.Rules=SS,Vr.RuntimeRules=RS;class Bi extends Z{constructor(e){super(e),this.props=new Vr(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Bi.controlFieldType=D.EMPLOYEES,Bi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.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:[f.REQUIRED,f.IS_HIDE,f.MULTIPLE,f.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class n_ extends ee{constructor(e){super(e),this.props=new Vr(e==null?void 0:e.props)}static get controlType(){return"employee2"}}n_.controlFieldType=D.EMPLOYEES;var i_={Designer:Bi,Runtime:n_,Property:Vr};class NS extends Fe{constructor(e){super(e),this.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:e.signatureConfig.undersignedList.reduce((n,i,r)=>(n[r]={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(a,l,o){if(i.type==="public"&&xu(l.value)&&l.value.length===0){o("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}o()}},company:{type:"object",required:!0,validator(a,l,o){if(i.type==="public"&&i.signatureType.includes("company")&&xu(l.value)&&l.value.length===0){o("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}o()}}}},n),{})}}}}}class io extends Q{constructor(e){var n,i,r,a,l,o;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:Ur.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u53D1\u8D77\u7B7E\u7F72",this.buttonType=(r=e==null?void 0:e.buttonType)!=null?r:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"text",this.color=(l=e==null?void 0:e.color)!=null?l:"primary",this.icon=(o=e==null?void 0:e.icon)!=null?o:"iconfenlei2",this.signatureConfig=new Nm(e==null?void 0:e.signatureConfig)}}io.Rules=NS;class Ur extends Z{constructor(e){super(e),this.props=new io(e==null?void 0:e.props)}static get controlName(){return"\u7535\u5B50\u7B7E\u7AE0"}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}Ur.controlEventKeys=["on_click","on_click_finish"],Ur.controlFieldType=D.VARCHAR,Ur.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}];class r_ extends ee{constructor(e){super(e),this.props=new io(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}r_.controlFieldType=D.VARCHAR;var a_={Designer:Ur,Runtime:r_,Property:io};class PS extends Fe{constructor(e){super(e),this.content={type:"string",required:!0,message:w.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,r){if(i.active&&!i.text){r(w.getMessage("pleaseEnterWatermark"));return}r()}},autoRename:{type:"object",validator(n,i,r){if(i.active&&!i.text){r(w.getMessage("pleaseEnterFileName"));return}r()}}}},this.canAdd={type:"boolean",validator(n,i,r){if(e.canAdd&&!e.addLocal&&!e.addOnline){r(w.getMessage("pleaseChooseAtLeastOne"));return}r()}}}}class AS extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Hr extends Q{constructor(e){var n,i,r,a,l,o,u,c,d,s,h,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:jr.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u65B0\u5EFA\u6587\u6863",this.canAdd=(r=e==null?void 0:e.canAdd)!=null?r:!0,this.addLocal=(a=e==null?void 0:e.addLocal)!=null?a:!0,this.addOnline=(l=e==null?void 0:e.addOnline)!=null?l:!0,this.canEdit=(o=e==null?void 0:e.canEdit)!=null?o:!0,this.canDownload=(u=e==null?void 0:e.canDownload)!=null?u:!0,this.canExport=(c=e==null?void 0:e.canExport)!=null?c:!0,this.canDelete=(d=e==null?void 0:e.canDelete)!=null?d:!1,this.maxSize=(s=e==null?void 0:e.maxSize)!=null?s:rS,this.defaultValue=(h=e==null?void 0:e.defaultValue)!=null?h:[],this.wpsSetting=new Pm(e==null?void 0:e.wpsSetting),this.revisionsMode=(v=e==null?void 0:e.revisionsMode)!=null?v:!1}}Hr.Rules=PS,Hr.RuntimeRules=AS;class jr extends Z{constructor(e){super(e),this.props=new Hr(e==null?void 0:e.props)}static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}jr.controlEventKeys=["on_change","on_wps_open"],jr.controlFieldType=D.FILE,jr.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_SHOW_CAPTION_TIP,f.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}];class l_ extends ee{constructor(e){super(e),this.props=new Hr(e==null?void 0:e.props)}static get controlType(){return"wps"}}l_.controlFieldType=D.FILE;var o_={Designer:jr,Runtime:l_,Property:Hr};class kS extends Fe{constructor(e){super(e),this.datasourceBind=[{type:"object",message:w.getMessage("isNotObject")}],this.businessScope={type:"any"},Ya.call(this,e,Nn.controlCustomAttributes),e.businessType===on.ASSIGN&&(this.businessScope={type:"array",required:!0,message:w.getMessage("pleaseAssignBusiness")})}}class DS extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Wr extends Q{constructor(e){var n,i,r,a,l,o,u,c,d,s,h,v,O,I,P;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(r=e==null?void 0:e.range)!=null?r:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(u=e==null?void 0:e.displayLevel)!=null?u:1,this.showSubDept=(c=e==null?void 0:e.showSubDept)!=null?c:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Nn.controlName,this.placeholder=(s=e==null?void 0:e.placeholder)!=null?s:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new za((h=e==null?void 0:e.datasourceBind)!=null?h:{attributes:Nn.controlCustomAttributes}),this.datasourceType=(v=e==null?void 0:e.datasourceType)!=null?v:Sl.INTERNAL,this.businessScope=(O=e==null?void 0:e.businessScope)!=null?O:[],this.businessType=(I=e==null?void 0:e.businessType)!=null?I:on.ALL,this.openMultistageFilling=(P=e==null?void 0:e.openMultistageFilling)!=null?P:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var S;(S=this.multistageFilling)==null||S.push(new Ye(_))}))}}Wr.Rules=kS,Wr.RuntimeRules=DS;class Nn extends Z{constructor(e){super(e),this.props=new Wr(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:r}=this.props;n.props.displayLevel=i,n.props.showSubDept=r}return n}}Nn.controlName="\u90E8\u95E8",Nn.controlFieldType=D.DEPARTMENTS,Nn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.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:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.MULTIPLE,f.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class u_ extends ee{constructor(e){super(e),this.props=new Wr(e==null?void 0:e.props)}static get controlType(){return"department2"}}u_.controlFieldType=D.DEPARTMENTS;var c_={Designer:Nn,Runtime:u_,Property:Wr};class LS extends Fe{constructor(e){super(e),this.datasourceBind=[{type:"object",message:w.getMessage("isNotObject")}],this.businessScope={type:"any"},Ya.call(this,e,Pn.controlCustomAttributes),e.businessType===on.ASSIGN&&(this.businessScope={type:"array",required:!0,message:w.getMessage("pleaseAssignBusiness")})}}class xS extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class qr extends Q{constructor(e){var n,i,r,a,l,o,u,c,d,s,h,v,O,I,P,_,S,g;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(r=e==null?void 0:e.range)!=null?r:"all",this.listPageBind=new Hu(e==null?void 0:e.listPageBind),this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(u=e==null?void 0:e.displayLevel)!=null?u:1,this.showSubDept=(c=e==null?void 0:e.showSubDept)!=null?c:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Pn.controlName,this.placeholder=(s=e==null?void 0:e.placeholder)!=null?s:"\u8BF7\u9009\u62E9\u7EC4\u7EC7",this.datasourceBind=new ww((h=e==null?void 0:e.datasourceBind)!=null?h:{attributes:Pn.controlCustomAttributes}),this.datasourceType=(v=e==null?void 0:e.datasourceType)!=null?v:Sl.INTERNAL,this.businessScope=(O=e==null?void 0:e.businessScope)!=null?O:[],this.businessType=(I=e==null?void 0:e.businessType)!=null?I:on.ALL,this.organizingFunction=(P=e==null?void 0:e.organizingFunction)!=null?P:void 0,this.organizationView=(_=e==null?void 0:e.organizationView)!=null?_:void 0,this.showSelectedDetail=(S=e==null?void 0:e.showSelectedDetail)!=null?S:!1,this.selectedContentConfig=new Ku(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var A;(A=this.multistageFilling)==null||A.push(new Ye(b))}))}}qr.Rules=LS,qr.RuntimeRules=xS;class Pn extends Z{constructor(e){super(e),this.props=new qr(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"organization-selection"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:r}=this.props;n.props.displayLevel=i,n.props.showSubDept=r}return n}}Pn.controlName="\u4E1A\u52A1\u7EC4\u7EC7",Pn.controlFieldType=D.DEPARTMENTS,Pn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.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:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.MULTIPLE,f.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class s_ extends ee{constructor(e){super(e),this.props=new qr(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}s_.controlFieldType=D.DEPARTMENTS;var d_={Designer:Pn,Runtime:s_,Property:qr};class MS extends Fe{constructor(e){super(e),this.dataBind={type:"any"}}}class FS extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class Kr extends Q{constructor(e){var n,i,r,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Gr.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(r=e==null?void 0:e.controlExportName)!=null?r:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(l=e==null?void 0:e.isInlineEdit)!=null?l:!1}}Kr.Rules=MS,Kr.RuntimeRules=FS;class Gr extends Z{constructor(e){super(e),this.props=new Kr(e==null?void 0:e.props)}static get controlName(){return"Vue\u9875\u9762"}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return V.VUE_PAGE}}Gr.controlFieldType=D.ANY,Gr.controlEventKeys=[],Gr.setting=[];class f_ extends ee{constructor(e){super(e),this.props=new Kr(e==null?void 0:e.props)}static get controlType(){return V.VUE_PAGE}}f_.controlFieldType=D.ANY;var h_={Designer:Gr,Runtime:f_,Property:Kr},BS=Object.freeze({__proto__:null,Input:oy,Checkbox:cy,Radio:dy,Number:hy,DatePicker:yy,DateRange:gy,Textarea:by,RichText:wy,Select:Ty,SelectMultiple:Oy,Employee:Ry,Image:Ay,Attachment:Ny,Amount:Dy,Score:xy,Address:Fy,Department:$y,AutoNumber:Uy,Calc:jy,SearchNumberRange:qy,SearchDateRange:Gy,VueFormItem:zy,SelectRelation:Qy,SearchInput:py,Tree:t_,Employee2:i_,ElectronicSignature:a_,WPS:o_,Department2:c_,OrganizationSelection:d_,VuePage:h_});class m_ extends ve{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}m_.excludes=[V.GRID];class $S extends Te{static get controlType(){return"grid"}constructor(e){super(e)}}var y_={Designer:m_,Runtime:$S,Property:_e};const VS=24;class An extends _e{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:VS,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class Xr extends ve{constructor(e){super(e),this.props=new An(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}}Xr.excludes=[V.COL,V.SUBTABLE,V.SUBTABLE_COLUMN,V.GRID_LAYOUT_CONTAINER,V.DIVIDER],Xr.childrenMaxLength=1;class cs extends Te{constructor(e){super(e),this.props=new An(e==null?void 0:e.props)}static get controlType(){return"col"}}var __={Designer:Xr,Runtime:cs,Property:An};class ro extends _e{constructor(e){var n,i;super(e),this.layoutMode=(n=e==null?void 0:e.layoutMode)!=null?n:"select",this.gutter=(i=e==null?void 0:e.gutter)!=null?i:0}}class ao extends ve{constructor(e){super(e),this.props=new ro(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}ao.excludes=[V.ROW],ao.setting=[{key:"col-setting",visible:!0}];class g_ extends Te{constructor(e){super(e),this.props=new ro(e==null?void 0:e.props)}static get controlType(){return"row"}}var v_={Designer:ao,Runtime:g_,Property:ro};const US=4;class lo extends ao{static get controlName(){return"\u6805\u683C\u7B49\u5206\u884C"}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}lo.excludes=[V.GRID_ROW],lo.setting=[],lo.childrenMaxLength=US;class HS extends g_{static get controlType(){return"grid-row"}constructor(e){super(e)}}class jS extends ro{constructor(e){super(e)}}var b_={Designer:lo,Runtime:HS,Property:jS};class WS extends _e.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:w.getMessage("pleaseEnterCaption")}}}class oo extends _e{constructor(e){var n,i,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"\u5206\u7EC4",this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.collapse=(r=e==null?void 0:e.collapse)!=null?r:"none"}}oo.Rules=WS;class ss extends ve{constructor(e){super(e),this.props=new oo(e==null?void 0:e.props)}static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}ss.setting=[{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],ss.excludes=[V.CARD_GROUP];class qS extends Te{constructor(e){super(e),this.props=new oo(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var E_={Designer:ss,Runtime:qS,Property:oo};class KS extends Pe{constructor(e){super(e),this.caption={type:"string",required:!0,message:w.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:w.getMessage("pleaseEnterColumnWidth")},this.captionTip={type:"string",required:!1,message:w.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class uo extends _e{constructor(e){var n,i,r,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(i=e==null?void 0:e.fixed)!=null?i:!1,this.isShowCaptionTip=(r=e==null?void 0:e.isShowCaptionTip)!=null?r:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.isHideCaption=(l=e==null?void 0:e.isHideCaption)!=null?l:!1,this.metaAutoWidth=new fw(e==null?void 0:e.metaAutoWidth)}}uo.Rules=KS;class gt extends ve{constructor(e){super(e),this.props=new uo(e==null?void 0:e.props)}}gt.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",gt.controlType="subtable-column",gt.controlIcon="subtable-column",gt.childrenMaxLength=1,gt.excludes=[V.SUBTABLE,V.SUBTABLE_COLUMN,V.ROW,V.COL,V.CARD_GROUP,V.DIVIDER,V.TEXT],gt.setting=[{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"common-setting",showItems:[f.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class w_ extends Te{constructor(e){super(e),this.props=new uo(e==null?void 0:e.props)}}w_.controlType="subtable-column";var I_={Designer:gt,Runtime:w_,Property:uo};class ds extends _e{constructor(e){super(e)}}class kn extends ve{constructor(e){super(e),this.props=new ds(e==null?void 0:e.props)}}kn.controlName="\u660E\u7EC6\u5B50\u8868\u884C",kn.controlType="subtable-row",kn.controlIcon="subtable-row",kn.childrenMaxLength=1,kn.excludes=[V.SUBTABLE,V.SUBTABLE_COLUMN,V.SUBTABLE_ROW,V.ROW,V.COL,V.CARD_GROUP,V.DIVIDER,V.TEXT],kn.setting=[{key:"caption",showItems:[f.CAPTION],visible:!0}];class GS extends Te{constructor(e){super(e),this.props=new ds(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var T_={Designer:kn,Runtime:GS,Property:ds};class fs extends _e{constructor(e){var n,i,r,a,l,o,u,c,d,s;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(r=e==null?void 0:e.fixed)!=null?r:!1,this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.fieldType=(l=e==null?void 0:e.fieldType)!=null?l:D.VARCHAR,this.fieldName=(o=e==null?void 0:e.fieldName)!=null?o:"",this.datasourceBind=new He(e==null?void 0:e.datasourceBind),this.textCleanFormart=(u=e==null?void 0:e.textCleanFormart)!=null?u:!1,this.decimalKeepPrecision=(c=e==null?void 0:e.decimalKeepPrecision)!=null?c:0,this.timestampDateType=(d=e==null?void 0:e.timestampDateType)!=null?d:rt.DATE,this.departmentDisplayLevel=(s=e==null?void 0:e.departmentDisplayLevel)!=null?s:1}}class Dn extends ve{constructor(e){super(e),this.props=new fs(e==null?void 0:e.props)}}Dn.controlName="\u5217\u8868\u5355\u5143\u683C",Dn.controlType="gridtable-column",Dn.controlIcon="gridtable-column",Dn.childrenMaxLength=1,Dn.excludes=[V.GRID_TABLE,V.GRID_TABLE_COLUMN,V.ROW,V.COL,V.CARD_GROUP,V.DIVIDER,V.TEXT],Dn.setting=[{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class C_ extends Te{constructor(e){super(e),this.props=new fs(e==null?void 0:e.props)}}C_.controlType="gridtable-column";var O_={Designer:Dn,Runtime:C_,Property:fs};class hs extends _e{constructor(e){var n,i;super(e),this.childMinWidth=(n=e==null?void 0:e.childMinWidth)!=null?n:230,this.colGap=(i=e==null?void 0:e.colGap)!=null?i:24}}class ms extends ve{constructor(e){super(e),this.props=new hs(e==null?void 0:e.props)}static get controlName(){return"\u6362\u884C\u5BB9\u5668"}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"icona-huanhangrongqi1"}}ms.excludes=[V.GRID_LAYOUT_CONTAINER,V.CARD_GROUP,V.TAB],ms.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class XS extends Te{constructor(e){super(e),this.props=new hs(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var S_={Designer:ms,Runtime:XS,Property:hs};class ys extends _e{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class zS extends Pe{constructor(e){super(e),this.caption={type:"string",required:!0,message:w.getMessage("pleaseEnterCaption")}}}class co extends _e{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Jr.controlName}}co.Rules=zS;class zr extends ve{constructor(e){super(e),this.props=new co(e==null?void 0:e.props)}static get controlName(){return"\u6807\u7B7E\u5355\u5143"}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}zr.excludes=[V.TAB],zr.setting=[{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE]},{key:"super-setting",visible:!0}];class JS extends Te{constructor(e){super(e),this.props=new co(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var R_={Designer:zr,Runtime:JS,Property:co};class Jr extends ve{constructor(e){var n;super(e),this.props=new ys(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new zr,new zr]}static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}Jr.excludes=[V.TAB],Jr.controlEventKeys=["on_change_tab"],Jr.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class QS extends Te{constructor(e){super(e),this.props=new ys(e==null?void 0:e.props)}static get controlType(){return"tab"}}var N_={Designer:Jr,Runtime:QS,Property:ys};class P_ extends _e{constructor(e){super(e)}}class A_ extends ve{constructor(e){super(e),this.props=new P_({}),this.children=(e==null?void 0:e.children)||[new Xr({props:new An({span:12})}),new Xr({props:new An({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}A_.excludes=[V.GRID_ROW,V.ROW,V.GRID,V.SUBTABLE,V.TAB,V.TOOLBOX];class ZS extends Te{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new cs({props:new An({span:12})}),new cs({props:new An({span:12})})]}}var k_={Designer:A_,Runtime:ZS,Property:P_};class YS extends Sn{constructor(e){super(e),this.push({type:"object",fields:{}})}}class pS extends Pe{constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},this.joinRelation=[{type:"any"}],console.log("--ListViewControlPropertyRules--"),e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:w.getMessage("pleaseEnterFieldCode")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:w.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:w.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:w.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:w.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:w.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:w.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:w.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:w.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),lc.call(this,{optionConfig:"datasource",datasourceBind:e.datasourceBind,options:[]}),Array.isArray(this.datasourceBind)&&this.datasourceBind.length>1){const n=this.datasourceBind.find(i=>i.type==="object"&&i.fields);n&&(delete n.fields.valueFieldCode,delete n.fields.displayBoList)}}}class Qr extends _e{constructor(e){var n,i,r,a,l,o,u,c,d,s,h,v;super(e),this.datasourceBind=new He(e==null?void 0:e.datasourceBind),this.isLoading=(n=e==null?void 0:e.isLoading)!=null?n:!1,this.isShowSubList=(i=e==null?void 0:e.isShowSubList)!=null?i:!1,this.triggerType=(r=e==null?void 0:e.triggerType)!=null?r:1,this.triggerFieldCode=(a=e==null?void 0:e.triggerFieldCode)!=null?a:"",this.sublistPage=new gw(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(l=e==null?void 0:e.isShowJoinRelation)!=null?l:!1,this.joinRelation=new bw(e==null?void 0:e.joinRelation),this.showType=(o=e==null?void 0:e.showType)!=null?o:"stretch",this.showFullScreen=(u=e==null?void 0:e.showFullScreen)!=null?u:!1,this.selectionType=(c=e==null?void 0:e.selectionType)!=null?c:"multiple",this.isFixedHeader=(d=e==null?void 0:e.isFixedHeader)!=null?d:!1,this.isShowSelection=(s=e==null?void 0:e.isShowSelection)!=null?s:!1,this.isAllLoaded=(h=e==null?void 0:e.isAllLoaded)!=null?h:!0,this.countType=e==null?void 0:e.countType,this.countLimit=(v=e==null?void 0:e.countLimit)!=null?v:1e5,this.rowStyle=new Mw(e==null?void 0:e.rowStyle)}}Qr.Rules=pS,Qr.RuntimeRules=YS;class Zr extends ve{constructor(e){super(e),this.props=new Qr(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u5BB9\u5668"}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}Zr.slotPosition={left:"list-view-left-slot"},Zr.excludes=[V.ROW],Zr.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"],Zr.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}];class eR extends Te{constructor(e){super(e),this.props=new Qr(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var D_={Designer:Zr,Runtime:eR,Property:Qr};class tR extends Sn{constructor(e){super(e),this.push({type:"object",fields:{}})}}class so extends _e{constructor(e){var n,i,r,a,l,o;super(e),this.save=new pt((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new pt((i=e==null?void 0:e.cancel)!=null?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new pt((r=e==null?void 0:e.saveAs)!=null?r:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new pt((a=e==null?void 0:e.print)!=null?a:{content:"\u6253\u5370",type:"print",isShow:!1}),this.custom=((l=e==null?void 0:e.custom)!=null?l:[]).map(u=>new pt(u)),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.datasourceBind=new He(e==null?void 0:e.datasourceBind)}}so.RuntimeRules=tR;class L_ extends ve{constructor(e){super(e),this.props=new so(e==null?void 0:e.props)}static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}}L_.excludes=[];class nR extends Te{constructor(e){super(e),this.props=new so(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var x_={Designer:L_,Runtime:nR,Property:so};class iR extends ve{static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class rR extends Te{static get controlType(){return"page"}constructor(e){super(e)}}class aR extends _e{constructor(e){var n;super(e),this.background="#fff",this.minWidth="",this.maxWidth="",this.heightConfig="auto",this.hideHeader=(n=e==null?void 0:e.hideHeader)!=null?n:!1}}var M_={Designer:iR,Runtime:rR,Property:aR};class lR extends ve{static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class oR extends Te{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class uR extends _e{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new Mm(e==null?void 0:e.flexConfig)}}var F_={Designer:lR,Runtime:oR,Property:uR};class cR extends ve{static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class sR extends Te{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class dR extends _e{constructor(e){super(e)}}var B_={Designer:cR,Runtime:sR,Property:dR};class fR extends ve{static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class hR extends Te{static get controlType(){return"position"}constructor(e){super(e)}}class mR extends _e{constructor(e){var n,i,r,a;super(e),this.widthSpan=(n=e==null?void 0:e.widthSpan)!=null?n:12,this.heightSpan=(i=e==null?void 0:e.heightSpan)!=null?i:12,this.left=(r=e==null?void 0:e.left)!=null?r:0,this.top=(a=e==null?void 0:e.top)!=null?a:0}}var $_={Designer:fR,Runtime:hR,Property:mR};class _s extends _e{constructor(e){var n,i,r;super(e),this.position=(n=e==null?void 0:e.position)!=null?n:"bottom",this.opacity=(i=e==null?void 0:e.opacity)!=null?i:!0,this.align=(r=e==null?void 0:e.align)!=null?r:"right"}}class fo extends ve{constructor(e){var n;super(e),this.props=new _s((n=e==null?void 0:e.props)!=null?n:{})}static get controlName(){return"\u6309\u94AE\u64CD\u4F5C\u680F"}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}}fo.slotPosition={default:"action-bar-slot"},fo.excludes=[],fo.setting=[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE]},{key:"super-setting",visible:!0}];class yR extends Te{constructor(e){var n;super(e),this.props=new _s((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var V_={Designer:fo,Runtime:yR,Property:_s},_R=Object.freeze({__proto__:null,Grid:y_,Col:__,Row:v_,GridRow:b_,CardGroup:E_,SubTableColumn:I_,SubTableRow:T_,GridTableColumn:O_,GridLayoutContainer:S_,Tab:N_,TabPane:R_,Toolbox:k_,ListView:D_,DataView:x_,Page:M_,AdvancedContainer:F_,PositioningContainer:B_,Position:$_,ActionBar:V_});class gR extends Pe{constructor(e){super(e),this.caption={type:"string",required:!0,message:w.getMessage("pleaseEnterCaption")},this.limitRows=[{type:"number",required:!0,message:w.getMessage("isNotNumber")},{type:"number",min:0,message:w.getMessage("limitRowsCannotBeLessThan0")}],this.formKey={type:"string",required:!1,message:w.getMessage("pleaseEnterForm")},this.maxHeight={type:"number",required:!0,message:w.getMessage("pleaseEnterMaxHeight")},this.captionTip={type:"string",required:!1,message:w.getMessage("pleaseEnterCaptionTip")},this.mobileRowCaption={type:"string",required:!1,message:w.getMessage("pleaseEnterRowCaption")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0),e.mobileShowType==="tile"&&(this.mobileRowCaption.required=!0)}}class vR extends Sn{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:w.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,i,r){i.length<e.limitRows&&r(w.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),r()},message:w.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}const U_=class extends sl{constructor(t,e){var n,i,r,a,l,o,u,c,d,s,h,v,O,I,P,_,S,g,b,A,N,C,L,x,X,Me,W,ge,ze,sn,it,dn,fn;super(t,e,U_.mode),this.caption=(n=e==null?void 0:e.caption)!=null?n:pr.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.defaultState=(r=e==null?void 0:e.defaultState)!=null?r:"default",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.openType=(l=e==null?void 0:e.openType)!=null?l:"default",this.formKey=(o=e==null?void 0:e.formKey)!=null?o:"",this.useCustomHeight=(u=e==null?void 0:e.useCustomHeight)!=null?u:!1,this.maxHeight=(c=e==null?void 0:e.maxHeight)!=null?c:Lm,this.printMode=(d=e==null?void 0:e.printMode)!=null?d:"row",this.limitRows=(s=e==null?void 0:e.limitRows)!=null?s:1,this.maxRows=(h=e==null?void 0:e.maxRows)!=null?h:null,this.defaultRows=(v=e==null?void 0:e.defaultRows)!=null?v:1,this.datasourceBind=new He(e==null?void 0:e.datasourceBind),this.canAdd=(O=e==null?void 0:e.canAdd)!=null?O:!0,this.canDelete=(I=e==null?void 0:e.canDelete)!=null?I:!0,this.canCheck=(P=e==null?void 0:e.canCheck)!=null?P:!1,this.canEdit=(_=e==null?void 0:e.canEdit)!=null?_:!1,this.canImport=(S=e==null?void 0:e.canImport)!=null?S:!1,this.canExport=(g=e==null?void 0:e.canExport)!=null?g:!1,this.canClear=(b=e==null?void 0:e.canClear)!=null?b:!0,this.serverPagination=(A=e==null?void 0:e.serverPagination)!=null?A:!1,this.isShowCaptionTip=(N=e==null?void 0:e.isShowCaptionTip)!=null?N:!1,this.captionTip=(C=e==null?void 0:e.captionTip)!=null?C:"",this.mobileShowType=(L=e==null?void 0:e.mobileShowType)!=null?L:"list",this.mobileDefaultNum=(x=e==null?void 0:e.mobileDefaultNum)!=null?x:10,this.dataStorageDoc=(X=e==null?void 0:e.dataStorageDoc)!=null?X:new hw,this.fixedColumn=(Me=e==null?void 0:e.fixedColumn)!=null?Me:[],this.mobileRowCaption=(W=e==null?void 0:e.mobileRowCaption)!=null?W:"\u660E\u7EC6",this.mobileIsTile=(ge=e==null?void 0:e.mobileIsTile)!=null?ge:!1,this.isPaste=(ze=e==null?void 0:e.isPaste)!=null?ze:!1,this.pageSize=(sn=e==null?void 0:e.pageSize)!=null?sn:10,this.pageSizeOptions=(it=e==null?void 0:e.pageSizeOptions)!=null?it:[10,20,50,100],this.importConfig=new km(e==null?void 0:e.importConfig),this.exportConfig=new Dm(e==null?void 0:e.exportConfig),this.sortable=(dn=e==null?void 0:e.sortable)!=null?dn:!1,this.sortKey=(fn=e==null?void 0:e.sortKey)!=null?fn:{}}};let Yr=U_;Yr.Rules=gR,Yr.RuntimeRules=vR;class pr extends Ec{constructor(e){var n;super(e),this.props=new Yr(this,e==null?void 0:e.props),((n=e==null?void 0:e.props)==null?void 0:n.headers)===void 0&&(this.props.headers=[new gt,new gt,new gt])}static get controlName(){return"\u660E\u7EC6\u5B50\u8868"}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,n){const i=e!==void 0&&typeof e!="number"?e:new gt,r=typeof e=="number"?e:n;return r===void 0?this.props.headers.push(i):this.props.headers.splice(r,0,i),i}}pr.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],pr.slotPosition={toolbar:"subtable-toolbar-slot"},pr.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE,f.IS_SHOW_CAPTION_TIP,f.IS_PASTE,f.SERVER_PAGINATION,f.SORTABLE]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"max-rows",visible:!0},{key:"list-pager",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}];class bR extends mm{constructor(e){super(e),this.props=new Yr(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){qi("Method not implemented.")}getChildrenFormControl(){return[]}}var H_={Designer:pr,Runtime:bR,Property:Yr};class gs extends sl{constructor(e,n){var i,r,a,l,o;super(e,n),this.isFixedHeader=(i=n==null?void 0:n.isFixedHeader)!=null?i:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(r=n==null?void 0:n.isShowToolbar)!=null?r:!0,this.isShowSelection=(a=n==null?void 0:n.isShowSelection)!=null?a:!1,this.isShowCustomColumns=(l=n==null?void 0:n.isShowCustomColumns)!=null?l:!0,this.pageSizeOptions=(o=n==null?void 0:n.pageSizeOptions)!=null?o:[10,20,50,100,500]}}class ER extends St{constructor(e){super(e),this.caption.required=!1}}class ho extends Ce{constructor(e){var n,i,r,a,l,o,u,c;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(i=e==null?void 0:e.caption)!=null?i:Ln.controlName,this.width=(r=e==null?void 0:e.width)!=null?r:60,this.autoWidth.minWidth=(l=(a=e==null?void 0:e.autoWidth)==null?void 0:a.minWidth)!=null?l:60,this.autoWidth.flex=(u=(o=e==null?void 0:e.autoWidth)==null?void 0:o.flex)!=null?u:.4,this.widthType=(c=e==null?void 0:e.widthType)!=null?c:"px"}}ho.Rules=ER;class Ln extends $e{constructor(e){super(e),this.props=new ho(e==null?void 0:e.props)}}Ln.controlType="order-column",Ln.controlName="\u5E8F\u53F7",Ln.controlIcon="order-column",Ln.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}];class vs extends Ve{constructor(e){super(e),this.props=new ho(e==null?void 0:e.props)}}vs.controlType="order-column",vs.controlFieldType=D.DECIMAL;var j_={Designer:Ln,Runtime:vs,Property:ho};class bs extends Ce{constructor(e){var n,i,r,a,l,o;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(r=(i=e==null?void 0:e.autoWidth)==null?void 0:i.minWidth)!=null?r:84,this.caption=(a=e==null?void 0:e.caption)!=null?a:Bt.controlName,this.showType=(l=e==null?void 0:e.showType)!=null?l:"icon",this.limit=(o=e==null?void 0:e.limit)!=null?o:3}}class Bt extends $e{constructor(e){super(e),this.props=new bs(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Vl.controlType){const i=n;e.props[i.props.command]=i.props}}),e}validate(e,n){return Qn(this,null,function*(){return yield js(Bt.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Bt.controlType="operation-column",Bt.controlName="\u64CD\u4F5C",Bt.controlIcon="operation-column",Bt.setting=[{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}];class Es extends Ve{constructor(e){super(e),this.props=new bs(e==null?void 0:e.props)}}Es.controlType="operation-column",Es.controlFieldType=D.FILE;var W_={Designer:Bt,Runtime:Es,Property:bs};const wR=1e4;class xn extends Ec{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new gs(this,e==null?void 0:e.props),Tt(this,"children",e==null?void 0:e.children,void 0,"Designer"),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Ln,new Bt]),this.excludes=mt(n),this.childrenMaxLength=i}static get controlName(){return"\u8868\u683C"}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toSchema(){const e=super.toSchema(),n=this.children.map(i=>i.toSchema());return fa(Vt({},e),{children:n})}validate(e,n){return Qn(this,null,function*(){return yield js(xn.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}xn.slotPosition={toolbar:"grid-table-toolbar-slot"},xn.setting=[{key:"list-fixed-header",visible:!0}],xn.excludes=[],xn.childrenMaxLength=wR;class IR extends mm{constructor(e){super(e),this.props=new gs(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){qi("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var q_={Designer:xn,Runtime:IR,Property:gs},TR=Object.freeze({__proto__:null,SubTable:H_,GridTable:q_});class CR extends ym{constructor(e){super(e),an.call(this,e)}}class mo extends Ce{constructor(e){var n,i,r,a,l,o;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Mn.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new He(e==null?void 0:e.datasourceBind),this.options=xt((r=e==null?void 0:e.options)!=null?r:[{}]),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new Lt(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(l=e==null?void 0:e.lineEllipsis)!=null?l:1,this.dictionaryTagConfig=(o=e==null?void 0:e.dictionaryTagConfig)!=null?o:{isTag:!1}}}mo.Rules=CR;class Mn extends $e{constructor(e){super(e),this.props=new mo(e==null?void 0:e.props)}}Mn.controlType="varchar-column",Mn.controlName="\u77ED\u6587\u672C",Mn.controlIcon="varchar-column",Mn.controlFieldType=D.VARCHAR,Mn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}];class ws extends Ve{constructor(e){super(e),this.props=new mo(e==null?void 0:e.props)}}ws.controlType="varchar-column",ws.controlFieldType=D.VARCHAR;var K_={Designer:Mn,Runtime:ws,Property:mo};class OR extends St{constructor(e){super(e),an.call(this,e)}}class yo extends Ce{constructor(e){var n,i,r,a;super(e),this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!1,this.caption=(i=e==null?void 0:e.caption)!=null?i:Fn.controlName,this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1,this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new Lt(e==null?void 0:e.linkOperationOption)}}yo.Rules=OR;class Fn extends $e{constructor(e){super(e),this.props=new yo(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{escapeHTML:i}=this.props;n.props.escapeHTML=i}return n}}Fn.controlType="text-column",Fn.controlName="\u957F\u6587\u672C",Fn.controlIcon="text-column",Fn.controlFieldType=D.TEXT,Fn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}];class Is extends Ve{constructor(e){super(e),this.props=new yo(e==null?void 0:e.props)}}Is.controlType="text-column",Is.controlFieldType=D.TEXT;var G_={Designer:Fn,Runtime:Is,Property:yo};class SR extends St{constructor(e){super(e),an.call(this,e)}}class _o extends Ce{constructor(e){var n,i,r,a,l,o,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Bn.controlName,this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.optionConfig=(l=e==null?void 0:e.optionConfig)!=null?l:"none",this.datasourceBind=new He(e==null?void 0:e.datasourceBind),this.options=xt((o=e==null?void 0:e.options)!=null?o:[{}]),this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new Lt(e==null?void 0:e.linkOperationOption)}}_o.Rules=SR;class Bn extends $e{constructor(e){super(e),this.props=new _o(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:i,micrometer:r}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=r}return n}}Bn.controlType="decimal-column",Bn.controlName="\u6570\u503C",Bn.controlIcon="decimal-column",Bn.controlFieldType=D.DECIMAL,Bn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[f.MICROMETER,f.PRECISION,f.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}];class Ts extends Ve{constructor(e){super(e),this.props=new _o(e==null?void 0:e.props)}}Ts.controlType="decimal-column",Ts.controlFieldType=D.DECIMAL;var X_={Designer:Bn,Runtime:Ts,Property:_o};class RR extends St{constructor(e){super(e),an.call(this,e)}}class go extends Ce{constructor(e){var n,i,r;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:rt.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Lt(e==null?void 0:e.linkOperationOption),this.caption=(r=e==null?void 0:e.caption)!=null?r:$n.controlName}}go.Rules=RR;class $n extends $e{constructor(e){super(e),this.props=new go(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}$n.controlType="timescope-column",$n.controlName="\u65E5\u671F\u533A\u95F4",$n.controlIcon="timescope-column",$n.controlFieldType=D.TIMESCOPE,$n.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class Cs extends Ve{constructor(e){super(e),this.props=new go(e==null?void 0:e.props)}}Cs.controlType="timescope-column",Cs.controlFieldType=D.TIMESCOPE;var z_={Designer:$n,Runtime:Cs,Property:go};class NR extends St{constructor(e){super(e),an.call(this,e)}}class vo extends Ce{constructor(e){var n,i,r;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:rt.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Lt(e==null?void 0:e.linkOperationOption),this.caption=(r=e==null?void 0:e.caption)!=null?r:Vn.controlName}}vo.Rules=NR;class Vn extends $e{constructor(e){super(e),this.props=new vo(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}Vn.controlType="timestamp-column",Vn.controlName="\u65E5\u671F",Vn.controlIcon="timestamp-column",Vn.controlFieldType=D.TIMESTAMP,Vn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class Os extends Ve{constructor(e){super(e),this.props=new vo(e==null?void 0:e.props)}}Os.controlType="timestamp-column",Os.controlFieldType=D.TIMESTAMP;var J_={Designer:Vn,Runtime:Os,Property:vo};class PR extends ym{constructor(e){super(e),an.call(this,e)}}class bo extends Ce{constructor(e){var n,i,r,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Un.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new He(e==null?void 0:e.datasourceBind),this.showLinkOperation=(r=e==null?void 0:e.showLinkOperation)!=null?r:!1,this.linkOperationOption=new Lt(e==null?void 0:e.linkOperationOption),this.options=xt((a=e==null?void 0:e.options)!=null?a:[{}])}}bo.Rules=PR;class Un extends $e{constructor(e){super(e),this.props=new bo(e==null?void 0:e.props)}}Un.controlType="array-column",Un.controlName="\u6570\u7EC4",Un.controlIcon="array-column",Un.controlFieldType=D.ARRAY,Un.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class Ss extends Ve{constructor(e){super(e),this.props=new bo(e==null?void 0:e.props)}}Ss.controlType="array-column",Ss.controlFieldType=D.ARRAY;var Q_={Designer:Un,Runtime:Ss,Property:bo};class Rs extends Ce{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Hn.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class Hn extends $e{constructor(e){super(e),this.props=new Rs(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{displayLevel:i}=this.props;n.props.displayLevel=i}return n}}Hn.controlType="department-column",Hn.controlName="\u90E8\u95E8",Hn.controlIcon="department-column",Hn.controlFieldType=D.DEPARTMENTS,Hn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class Ns extends Ve{constructor(e){super(e),this.props=new Rs(e==null?void 0:e.props)}}Ns.controlType="department-column",Ns.controlFieldType=D.DEPARTMENTS;var Z_={Designer:Hn,Runtime:Ns,Property:Rs};class AR extends St{constructor(e){super(e),an.call(this,e)}}class Eo extends Ce{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:jn.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Lt(e==null?void 0:e.linkOperationOption)}}Eo.Rules=AR;class jn extends $e{constructor(e){super(e),this.props=new Eo(e==null?void 0:e.props)}}jn.controlType="auto-number-column",jn.controlName="\u81EA\u52A8\u7F16\u53F7",jn.controlIcon="auto-number-column",jn.controlFieldType=D.AUTO_NUMBER,jn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class Ps extends Ve{constructor(e){super(e),this.props=new Eo(e==null?void 0:e.props)}}Ps.controlType="auto-number-column",Ps.controlFieldType=D.AUTO_NUMBER;var Y_={Designer:jn,Runtime:Ps,Property:Eo};class As extends Ce{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Wn.controlName}}class Wn extends $e{constructor(e){super(e),this.props=new As(e==null?void 0:e.props)}}Wn.controlType="file-column",Wn.controlName="\u9644\u4EF6",Wn.controlIcon="file-column",Wn.controlFieldType=D.FILE,Wn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class ks extends Ve{constructor(e){super(e),this.props=new As(e==null?void 0:e.props)}}ks.controlType="file-column",ks.controlFieldType=D.FILE;var p_={Designer:Wn,Runtime:ks,Property:As};class Ds extends Ce{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:qn.controlName}}class qn extends $e{constructor(e){super(e),this.props=new Ds(e==null?void 0:e.props)}}qn.controlType="image-column",qn.controlName="\u56FE\u7247",qn.controlIcon="image-column",qn.controlFieldType=D.IMAGE,qn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Ls extends Ve{constructor(e){super(e),this.props=new Ds(e==null?void 0:e.props)}}Ls.controlType="image-column",Ls.controlFieldType=D.IMAGE;var eg={Designer:qn,Runtime:Ls,Property:Ds};class xs extends Ce{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Kn.controlName}}class Kn extends $e{constructor(e){super(e),this.props=new xs(e==null?void 0:e.props)}}Kn.controlType="people-column",Kn.controlName="\u4EBA\u5458",Kn.controlIcon="people-column",Kn.controlFieldType=D.EMPLOYEES,Kn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Ms extends Ve{constructor(e){super(e),this.props=new xs(e==null?void 0:e.props)}}Ms.controlType="people-column",Ms.controlFieldType=D.EMPLOYEES;var tg={Designer:Kn,Runtime:Ms,Property:xs};class kR extends St{constructor(e){super(e),an.call(this,e)}}class wo extends Ce{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Gn.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Lt(e==null?void 0:e.linkOperationOption)}}wo.Rules=kR;class Gn extends $e{constructor(e){super(e),this.props=new wo(e==null?void 0:e.props)}}Gn.controlType="location-column",Gn.controlName="\u5730\u5740",Gn.controlIcon="location-column",Gn.controlFieldType=D.ADDRESS,Gn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class Fs extends Ve{constructor(e){super(e),this.props=new wo(e==null?void 0:e.props)}}Fs.controlType="location-column",Fs.controlFieldType=D.ADDRESS;var ng={Designer:Gn,Runtime:Fs,Property:wo};class DR extends St{constructor(e){super(e),this.sortFieldCode={type:"string",message:w.getMessage("pleaseSelectSortFieldCode")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class Io extends Ce{constructor(e){var n,i,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:$t.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[],this.sortFieldCode=(r=e==null?void 0:e.sortFieldCode)!=null?r:""}}Io.Rules=DR;const LR=1;class $t extends $e{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new Io(e==null?void 0:e.props),Tt(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=mt(n),this.childrenMaxLength=i}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{fieldCodeList:i}=this.props;n.props.fieldCodeList=i}return n}}$t.controlType="custom-column",$t.controlName="\u81EA\u5B9A\u4E49",$t.controlIcon="custom-column",$t.slots=["column-column-slot"],$t.excludes=[],$t.childrenMaxLength=LR,$t.setting=[{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0}];class ig extends Ve{constructor(e){super(e),this.props=new Io(e==null?void 0:e.props),Tt(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}ig.controlType="custom-column";var rg={Designer:$t,Runtime:ig,Property:Io};class Bs extends Ce{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:cn.controlName,this.datasourceBind=new za((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:cn.controlCustomAttributes})}}class cn extends $e{constructor(e){super(e),this.props=new Bs(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}cn.controlType="employee-column",cn.controlName="\u4EBA\u5458",cn.controlIcon="employee-column",cn.controlFieldType=D.EMPLOYEES,cn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class $s extends Ve{constructor(e){super(e),this.props=new Bs(e==null?void 0:e.props)}}$s.controlType="employee-column",$s.controlFieldType=D.EMPLOYEES;var ag={Designer:cn,Runtime:$s,Property:Bs};class Vs extends Ce{constructor(e){var n,i,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xn.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Lt(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1}}class Xn extends $e{constructor(e){super(e),this.props=new Vs(e==null?void 0:e.props)}}Xn.controlType="approval-status-column",Xn.controlName="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Xn.controlIcon="approval-status-column",Xn.excludes=[],Xn.setting=[{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0}];class lg extends Ve{constructor(e){super(e),this.props=new Vs(e==null?void 0:e.props)}}lg.controlType="approval-status-column";var og={Designer:Xn,Runtime:lg,Property:Vs},xR=Object.freeze({__proto__:null,VarcharColumn:K_,TextColumn:G_,DecimalColumn:X_,TimescopeColumn:z_,TimestampColumn:J_,ArrayColumn:Q_,DepartmentColumn:Z_,AutoNumberColumn:Y_,FileColumn:p_,ImageColumn:eg,PeopleColumn:tg,LocationColumn:ng,CustomColumn:rg,OrderColumn:j_,OperationColumn:W_,EmployeeColumn:ag,ApprovalStatusColumn:og});class MR extends Sn{constructor(e){super(e),this.push({type:"object",fields:{}})}}class To extends kc{constructor(e){var n,i,r,a,l,o,u,c,d,s,h,v;super(e),this.searchType=(n=e==null?void 0:e.searchType)!=null?n:"model",this.labelPosition=(i=e==null?void 0:e.labelPosition)!=null?i:"top",this.viewType=(r=e==null?void 0:e.viewType)!=null?r:"mini",this.search=new pt((a=e==null?void 0:e.search)!=null?a:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new pt((l=e==null?void 0:e.cancel)!=null?l:{content:"\u91CD\u7F6E",isShow:!0}),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.custom=((u=e==null?void 0:e.custom)!=null?u:[]).map(O=>new pt(O)),this.queryTypeMap=(c=e==null?void 0:e.queryTypeMap)!=null?c:[],this.childMinWidth=(d=e==null?void 0:e.childMinWidth)!=null?d:230,this.colGap=(s=e==null?void 0:e.colGap)!=null?s:24,this.viewConfig=(h=e==null?void 0:e.viewConfig)!=null?h:[],this.simpleConfig=(v=e==null?void 0:e.simpleConfig)!=null?v:[]}}To.RuntimeRules=MR;class Co extends kC{constructor(e){super(e),this.props=new To(e==null?void 0:e.props)}}Co.controlType="simple-search",Co.slotPosition={default:"search"},Co.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0},{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE]},{key:"search-view-type",visible:!0}];class ug extends $C{constructor(e){var n;super(e),this.props=new To(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}ug.controlType="simple-search";var cg={Designer:Co,Runtime:ug,Property:To},FR=Object.freeze({__proto__:null,SimpleSearch:cg});class Us extends Bc{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class BR extends YC{constructor(e){super(e),this.props=new Us(e==null?void 0:e.props)}static get controlName(){return"\u6362\u884C\u5BB9\u5668Wrap"}static get controlIcon(){return"page"}static get controlType(){return"grid-layout-wrap"}}class $R extends aO{constructor(e){super(e),this.props=new Us(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function pR(t){return t}var VR={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:"\u5145\u6EE1\u6574\u884C",props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},sg={Designer:BR,Runtime:$R,Property:Us,Setting:VR},UR=Object.freeze({__proto__:null,GridLayoutWrap:sg});T.ActionBar=V_,T.Address=Fy,T.AdvancedContainer=F_,T.Amount=Dy,T.ApprovalStatusColumn=og,T.ArrayColumn=Q_,T.AssignType=on,T.Attachment=Ny,T.AutoNumber=Uy,T.AutoNumberColumn=Y_,T.BatchDeleteButton=ay,T.BatchPrintListButton=ny,T.BatchPrintRecordListButton=iy,T.BatchSubmissionListButton=Hm,T.Button=Om,T.Calc=jy,T.CardGroup=E_,T.Checkbox=cy,T.Col=__,T.CreateFormListButton=Um,T.CustomColumn=rg,T.DATE_CONFIG_TYPE=Sm,T.DATE_LIMIT_TYPE=Rm,T.Dashboard=Zm,T.DataView=x_,T.DatePicker=yy,T.DateRange=gy,T.DecimalColumn=X_,T.Department=$y,T.Department2=c_,T.DepartmentColumn=Z_,T.DepartmentType=Sl,T.Divider=$m,T.ElectronicSignature=a_,T.ElectronicSignatureConfig=Nm,T.Employee=Ry,T.Employee2=i_,T.EmployeeColumn=ag,T.EncryptTypeEnum=Fm,T.Explain=Ol,T.ExportConfig=Dm,T.ExportListButton=Wm,T.ExportRecordListButton=qm,T.ExportTemplate=hr,T.FileColumn=p_,T.FlexStyleConfig=Mm,T.FormSelectButton=Gm,T.Grid=y_,T.GridLayoutContainer=S_,T.GridLayoutWrap=sg,T.GridRow=b_,T.GridTable=q_,T.GridTableColumn=O_,T.Image=Ay,T.ImageColumn=eg,T.ImportConfig=km,T.ImportListBind=Am,T.ImportRecordListButton=Km,T.Input=oy,T.InternalType=Qc,T.InvoiceCheckButton=ty,T.LINE_STYLE=Gc,T.LimitDate=Cl,T.Link=Cm,T.ListSelectButton=Xm,T.ListView=D_,T.ListViewSelect=pm,T.LocationColumn=ng,T.Number=hy,T.OperationButton=ry,T.OperationColumn=W_,T.OrderColumn=j_,T.OrganizationSelection=d_,T.OrganizeType=Jc,T.Page=M_,T.Pagination=Jm,T.PeopleColumn=tg,T.Position=$_,T.PositioningContainer=B_,T.PrintTemplate=xm,T.Radio=dy,T.RichText=wy,T.Row=v_,T.SCORE_TYPE=Kc,T.SUBTABLE_DEFAULT_MAX_HEIGHT=Lm,T.Score=xy,T.SearchDateRange=Gy,T.SearchInput=py,T.SearchNumberRange=qy,T.Select=Ty,T.SelectMultiple=Oy,T.SelectRelation=Qy,T.SimpleSearch=cg,T.SubTable=H_,T.SubTableColumn=I_,T.SubTableRow=T_,T.SubmissionRecordListButton=jm,T.Tab=N_,T.TabPane=R_,T.Text=Tm,T.TextColumn=G_,T.TextOcrButton=ey,T.Textarea=by,T.TimescopeColumn=z_,T.TimestampColumn=J_,T.Title=Vm,T.TitleConfigEnum=ln,T.Toolbox=k_,T.Tree=t_,T.UndersignedPerson=Xc,T.VarcharColumn=K_,T.VueFormItem=zy,T.VuePage=h_,T.WPS=o_,T.WPSSetting=Pm,T.WpsOperationItem=zc,T.baseControls=HO,T.columnControls=xR,T.formControls=BS,T.initExpression=mr,T.layoutControls=_R,T.listControls=TR,T.searchControls=FR,T.wrapControls=UR,Object.defineProperty(T,"__esModule",{value:!0})});